]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Merge branch 'master' of ssh://sourceware.org/git/glibc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7f507ee1
AH
12014-01-03 Andrew Hunter <ahh@google.com>
2
3 * elf/dl-open.c (): New comment.
4 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
5 atomic_compare_and_exchange_bool_acq
6 (_dl_allocate_static_tls): Block signals.
7 * elf/dl-tls.c (allocate_and_init): Return void.
8 (_dl_update_slotinfo): Block signals, use atomic update.
9
7dd009d8
JM
102014-01-03 Joseph Myers <joseph@codesourcery.com>
11
24db925a
JM
12 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13
7dd009d8
JM
14 * math/auto-libm-test-in: Mark various tests with
15 xfail-rounding:ldbl-128ibm.
16 * math/auto-libm-test-out: Regenerated.
17
396e3ecf
JM
182014-01-02 Joseph Myers <joseph@codesourcery.com>
19
819e5d50
JM
20 [BZ #16386]
21 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22 numbers with subnormal high part when calculating exponent.
23
90b6a1e5
JM
24 [BZ #16385]
25 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26 fabs.
27
396e3ecf
JM
28 [BZ #16384]
29 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30 M_LN2l.
31 (__ieee754_acoshl): Use __log1pl not __log1p.
32
6c8dbf00
OB
332013-01-02 Ondřej Bílka <neleai@seznam.cz>
34
35 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
36 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
37 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
38 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
39 Convert to GNU style.
40 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
41 mem2mem_check, mem2chunk_check, top_check, realloc_check,
42 memalign_check, __malloc_set_state): Likewise.
43 * malloc/mallocbug.c (main): Likewise.
44 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
45 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
46 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
47 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
48 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
49 * malloc/malloc.h: Likewise.
50 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
51 memalignhook, reallochook, mabort): Likewise.
52 * malloc/mcheck.h: Likewise.
53 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
54 mmap64, mremap, munmap, dest): Likewise.
55 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56 * malloc/morecore.c (__default_morecore): Likewise.
57 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
59 _obstack_allocated_p, obstack_free, _obstack_memory_used,
60 print_and_abort): Likewise.
61 * malloc/obstack.h: Likewise.
62 * malloc/set-freeres.c (__libc_freeres): Likewise.
63 * malloc/tst-mallocstate.c (main): Likewise.
64 * malloc/tst-mtrace.c (main): Likewise.
65 * malloc/tst-realloc.c (do_test): Likewise.
66
d4124212
SP
672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68
9a3c6a6f
SP
69 [BZ #16366]
70 * nscd/netgroupcache.c (do_notfound): New function.
71 (addgetnetgrentX): Use it.
72
d4124212
SP
73 [BZ # 16365]
74 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
75 NSS_STATUS_NOTFOUND.
76
97b9a009
JM
772014-01-01 Joseph Myers <joseph@codesourcery.com>
78
79 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
d4697bc9
AM
822014-01-01 Allan McRae <allan@archlinux.org>
83
ddb3687f
AM
84 * scripts/update-copyrights: Update configure input file suffix.
85
88726d48
AM
86 * NEWS: Update copyright year.
87 * catgets/gencat.c: Likewise.
88 * csu/version.c: Likewise.
89 * debug/catchsegv.sh: Likewise.
90 * debug/pcprofiledump.c: Likewise.
91 * debug/xtrace.sh: Likewise.
92 * elf/ldconfig.c: Likewise.
93 * elf/ldd.bash.in: Likewise.
94 * elf/pldd.c: Likewise.
95 * elf/sotruss.ksh: Likewise.
96 * elf/sprof.c: Likewise.
97 * iconv/iconv_prog.c: Likewise.
98 * iconv/iconvconfig.c: Likewise.
99 * locale/programs/locale.c: Likewise.
100 * locale/programs/localedef.c: Likewise.
101 * login/programs/pt_chown.c: Likewise.
102 * malloc/memusage.sh: Likewise.
103 * malloc/memusagestat.c: Likewise.
104 * malloc/mtrace.pl: Likewise.
105 * manual/libc.texinfo: Likewise.
106 * nscd/nscd.c: Likewise.
107 * nss/getent.c: Likewise.
108 * nss/makedb.c: Likewise.
109 * posix/getconf.c: Likewise.
110 * scripts/test-installation.pl: Likewise.
111
d4697bc9
AM
112 * All files with FSF copyright notices: Update copyright dates
113 using scripts/update-copyrights.
114 * intl/plural.c: Regenerated.
115 * locale/programs/charmap-kw.h: Likewise.
116 * locale/programs/locfile-kw.h: Likewise.
117
c8590f9d
MF
1182013-12-31 Mike Frysinger <vapier@gentoo.org>
119
120 * sysdeps/unix/sysv/linux/configure: Regenerated.
121 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
122 the linux/fanotify.h header.
123 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
124 HAVE_LINUX_FANOTIFY_H is defined.
125
b19221b9
SP
1262013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
127
dd1d85e5
SP
128 * benchtests/cos-inputs: New inputs.
129 * benchtests/sin-inputs: Likewise.
130
1acbb90f
SP
131 * benchtests/atan-inputs: New inputs. Fix name of multiple
132 precision fallback inputs.
133
4c012ed3
SP
134 * benchtests/atanh-inputs: New inputs.
135 * benchtests/tanh-inputs: Likewise.
136
eff98324
SP
137 * benchtests/acosh-inputs: New inputs.
138 * benchtests/asinh-inputs: Likewise.
139
ce641152
SP
140 * benchtests/cosh-inputs: New inputs.
141 * benchtests/sinh-inputs: Likewise.
142
b19221b9
SP
143 * benchtests/acos-inputs: Add more inputs.
144 * benchtests/asin-inputs: Likewise.
145
030a4976 1462013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 147
030a4976 148 [BZ #16375]
9dcc8f11
VS
149 * manual/arith.texi: Fix spelling.
150 * manual/charset.texi: Likewise.
151 * manual/errno.texi: Likewise.
152 * manual/filesys.texi: Likewise.
153 * manual/lang.texi: Likewise.
154 * manual/llio.texi: Likewise.
155 * manual/locale.texi: Likewise.
156 * manual/message.texi: Likewise.
157 * manual/resource.texi: Likewise.
158 * manual/search.texi: Likewise.
159 * manual/setjmp.texi: Likewise.
160 * manual/stdio.texi: Likewise.
161 * manual/string.texi: Likewise.
162 * manual/sysinfo.texi: Likewise.
163 * manual/time.texi: Likewise.
164
11520a57
CD
1652013-12-27 Carlos O'Donell <carlos@redhat.com>
166
167 * po/sl.po: New file.
168
471103ae
MF
1692013-12-27 Mike Frysinger <vapier@gentoo.org>
170
171 * .gitignore: Add core/.gdbinit/.gdb_history.
172
6c9642ed
AM
1732013-12-27 Allan McRae <allan@archlinux.org>
174
175 [BZ #16369]
176 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
177 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
178
3f637079
BM
1792013-12-24 Brooks Moses <bmoses@google.com>
180
181 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
182 all compilers that claim C++98 compliance, not just GCC.
183 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
184 Likewise.
185
abc26e99
MK
1862013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
187
188 * NEWS: Restore accidentally deleted bug-fix entries.
189
362b47fe
MK
1902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
191 Ondřej Bílka <neleai@seznam.cz>
192
193 [BZ #15073]
194 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 195 have_lock.
362b47fe 196
b9bcbbcb
OB
1972013-12-23 Ondřej Bílka <neleai@seznam.cz>
198
199 [BZ #12986]
200 * manual/stdio.texi (String Input Conversions): Clarify that character
201 classes are not supported.
202
fb55fcd2
AZ
2032013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204
205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
206
ef7344f0
JM
2072013-12-22 Joseph Myers <joseph@codesourcery.com>
208
4f40e4b3
JM
209 [BZ #16337]
210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
211 Calculate results for small negative arguments directly rather
212 than using reflection formula with special underflow handling.
213
ef7344f0
JM
214 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
215 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
216 sysdeps/unix/bsd/bsd4.4/syscalls.list.
217 (fchflags): Likewise.
218 (revoke): Likewise.
219 (setlogin): Likewise.
220 (sigaltstack): Likewise.
221 (wait4): Likewise.
222 (sigblock): Remove.
223 (sigsetmask): Likewise.
224 (wait3): Likewise.
225 (waitpid): Likewise.
226 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
227 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
228 file.
229 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
230 * sysdeps/unix/bsd/Makefile: ... here.
231 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
232 * sysdeps/unix/bsd/Versions: ... here.
233 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
234 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
235 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
236 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
237 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
238 * sysdeps/unix/bsd/sigblock.c: ... here.
239 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
240 * sysdeps/unix/bsd/sigsetmask.c: ... here.
241 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
242 * sysdeps/unix/bsd/sigvec.c: ... here.
243 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
244 * sysdeps/unix/bsd/tcdrain.c: ... here.
245 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
246 * sysdeps/unix/bsd/tcgetattr.c: ... here.
247 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
248 * sysdeps/unix/bsd/tcsetattr.c: ... here.
249 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
250 * sysdeps/unix/bsd/wait.c: ... here.
251 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
252 * sysdeps/unix/bsd/wait3.c: ... here.
253 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
254 * sysdeps/unix/bsd/waitpid.c: ... here.
255
5b0626b9
JM
2562013-12-21 Joseph Myers <joseph@codesourcery.com>
257
258 [BZ #16356]
259 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
260 round-to-nearest for [!USE_AS_EXPM1L].
261 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
262 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
263 more tests of exp and exp10. Expect some exp10 tests to miss
264 exceptions or fail in directed rounding modes.
265 * math/auto-libm-test-out: Regenerated.
266 * math/libm-test.inc (exp10_tonearest_test_data): New array.
267 (exp10_test_tonearest): New function.
268 (exp10_towardzero_test_data): New array.
269 (exp10_test_towardzero): New function.
270 (exp10_downward_test_data): New array.
271 (exp10_test_downward): New function.
272 (exp10_upward_test_data): New array.
273 (exp10_test_upward): New function.
274 (main): Call the new functions.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
277
7fda5682
JM
2782013-12-20 Joseph Myers <joseph@codesourcery.com>
279
31e3a405
JM
280 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
281 asinh, atan, atan2, atanh, cbrt, cos and cosh.
282 * math/auto-libm-test-out: Regenerated.
283 * math/libm-test.inc (acosh_test_data): Add more tests.
284 (atanh_test_data): Likewise.
285 (ceil_test_data): Likewise.
286 (copysign_test_data): Likewise.
287 * sysdeps/i386/fpu/libm-test-ulps: Update.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289
85bff96a
JM
290 * timezone/checktab.awk: Update from tzcode 2013i.
291 * timezone/private.h: Likewise.
292 * timezone/scheck.c: Likewise.
293 * timezone/tzfile.h: Likewise.
294 * timezone/tzselect.ksh: Likewise.
295 * timezone/zdump.c: Likewise.
296 * timezone/zic.c: Likewise.
297
b7867a3b
JM
298 * math/auto-libm-test-in: Add tests of cpow.
299 * math/auto-libm-test-out: Regenerated.
300 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
301 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
302 mpc_cc_c.
303 (func_calc_desc): Add mpc_cc_c union field.
304 (test_functions): Add cpow.
305 (special_fill_2pi): New function.
306 (special_real_inputs): Add 2pi.
307 (calc_generic_results): Handle mpc_cc_c.
308 * sysdeps/i386/fpu/libm-test-ulps: Update.
309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310
7fda5682
JM
311 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
312 csqrt, ctan and ctanh.
313 * math/auto-libm-test-out: Regenerated.
314 * math/libm-test.inc (TEST_COND_x86_64): New macro.
315 (TEST_COND_x86): Likewise.
316 (ccos_test_data): Use AUTO_TESTS_c_c.
317 (ccosh_test_data): Likewise.
318 (cexp_test_data): Likewise.
319 (clog_test_data): Likewise.
320 (csqrt_test_data): Likewise.
321 (ctan_test_data): Likewise.
322 (ctan_tonearest_test_data): Likewise.
323 (ctan_towardzero_test_data): Likewise.
324 (ctan_downward_test_data): Likewise.
325 (ctan_upward_test_data): Likewise.
326 (ctanh_test_data): Likewise.
327 (ctanh_tonearest_test_data): Likewise.
328 (ctanh_towardzero_test_data): Likewise.
329 (ctanh_downward_test_data): Likewise.
330 (ctanh_upward_test_data): Likewise.
331 * math/gen-auto-libm-tests.c (func_calc_method): Add value
332 mpc_c_c.
333 (func_calc_desc): Add mpc_c_c union field.
334 (FUNC_mpc_c_c): New macro.
335 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
336 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
337 ctanh.
338 (special_fill_min_subnorm_p120): New function.
339 (special_real_inputs): Add min_subnorm_p120.
340 (calc_generic_results): Handle mpc_c_c.
341 * sysdeps/i386/fpu/libm-test-ulps: Update.
342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
343
5ff8d60e
SP
3442013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
345
392dd2de
SP
346 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
347 do_sin_slow): New functions.
348 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
349 cslow2, csloww1, csloww2): Use the new functions.
350
84ba214c
SP
351 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
352 Use M to change sign of result instead of X. Assume X is
353 positive.
354 (csloww1): Likewise.
355 (__sin): Adjust.
356 (__cos): Adjust.
357
975195e4
SP
358 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
359 arguments A and DA.
360 (__sin): Adjust.
361 (__cos): Likewise.
362
5ff8d60e
SP
363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
364 (__cos): Likewise.
365 (sloww1): Don't adjust sign of DX.
366 (csloww1): Likewise.
367 (sloww2): Use X directly and don't adjust sign of DX.
368 (csloww2): Likewise.
369
eb983568
JM
3702013-12-19 Joseph Myers <joseph@codesourcery.com>
371
64a17f1a
JM
372 * math/auto-libm-test-in: Add tests of cabs and carg.
373 * math/auto-libm-test-out: Regenerated.
374 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
375 (carg_test_data): Likewise.
376 * math/gen-auto-libm-tests.c (func_calc_method): Add value
377 mpc_c_f.
378 (func_calc_desc): Add mpc_c_f union field.
379 (test_functions): Add cabs and carg.
380 (calc_generic_results): Handle mpc_c_f.
381
eb983568
JM
382 * sysdeps/powerpc/powerpc32/libgcc-compat.S
383 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
384 as a macro and a compat symbol.
385 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
386 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
387 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
388 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
389 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
390 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
391 not use .hidden.
392 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
393 Likewise.
394 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
395 Likewise.
396 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
397 Likewise.
398 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
399 Likewise.
400 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
401 Likewise.
402 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
403 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
404 from GLIBC_2.3.2.
405
6eeb678a
AZ
4062013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407
408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
409
063b2acb
PP
4102013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
411
412 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
413 (__signal_safe_memalign, __signal_safe_free): Use it.
414 (__signal_safe_realloc): Likewise.
415
6f6fc482
JM
4162013-12-19 Joseph Myers <joseph@codesourcery.com>
417
21fea2e2
JM
418 * manual/texinfo.tex: Update to version 2013-11-26.10 with
419 trailing whitespace removed.
420 * scripts/config.guess: Update to version 2013-11-29.
421 * scripts/config.sub: Update to version 2013-10-01.
422
6f6fc482
JM
423 * math/auto-libm-test-in: Add tests of sincos.
424 * math/auto-libm-test-out: Regenerated.
425 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
426 * math/gen-auto-libm-tests.c (func_calc_method): Add value
427 mpfr_f_11.
428 (func_calc_desc): Add mpfr_f_11 union field.
429 (test_functions): Add sincos.
430 (calc_generic_results): Handle mpfr_f_11.
431 * sysdeps/i386/fpu/libm-test-ulps: Update.
432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433
83f5c32d
AS
4342013-12-19 Andreas Schwab <schwab@suse.de>
435
436 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
437 CALL_MCOUNT.
438 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
439 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
440 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
441
c688b419
JM
4422013-12-19 Joseph Myers <joseph@codesourcery.com>
443
335ee092
JM
444 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
445 * sysdeps/i386/fpu/libm-test-ulps: Update.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
447
f88acd39
JM
448 [BZ #16293]
449 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
450 round-to-nearest mode when using frndint.
451 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
452 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
454 Likewise.
455 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
456 sinh test to fail.
457 * math/auto-libm-test-out: Regenerated.
458 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
459 (TEST_COND_x86): Likewise.
460 (expm1_tonearest_test_data): New array.
461 (expm1_test_tonearest): New function.
462 (expm1_towardzero_test_data): New array.
463 (expm1_test_towardzero): New function.
464 (expm1_downward_test_data): New array.
465 (expm1_test_downward): New function.
466 (expm1_upward_test_data): New array.
467 (expm1_test_upward): New function.
468 (main): Run the new test functions.
469 * sysdeps/i386/fpu/libm-test-ulps: Update.
470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
471
c688b419
JM
472 * include/features.h: Update comment documenting feature test
473 macros. Mention _DEFAULT_SOURCE in comment.
474 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
475 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
476 _BSD_SOURCE and _SVID_SOURCE.
477 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
478 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
479 !_SVID_SOURCE]: Likewise.
480 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
481 (__USE_POSIX_IMPLICITLY): Define.
482 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
483 (_POSIX_SOURCE): Undefine and redefine.
484 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
485 (_POSIX_C_SOURCE): Likewise.
486 * manual/creature.texi (_DEFAULT_SOURCE): Document.
487 (Feature Test Macros): Update documentation of default features.
488
9f6e964c
RS
4892013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
490
491 * benchtests/Makefile: Add bench-strtok.
492 * benchtests/bench-strtok.c: New file: strtok benchtest.
493
ee0a148a
AM
4942013-12-19 Allan McRae <allan@archlinux.org>
495
496 * manual/install.texi: Suppress menu for plain text output.
497 * INSTALL: Regenerated.
498
1f33d36a
PP
4992013-12-18 Andrew Hunter <ahh@google.com>
500
501 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
502 (__signal_safe_malloc, __signal_safe_free): Likewise.
503 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
504 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
505 (__signal_safe_memalign, __signal_safe_malloc): New function.
506 (__signal_safe_free, __signal_safe_realloc): Likewise.
507 (__signal_safe_calloc): Likewise.
508 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
509 functions.
510 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
511
35e8f7ab
PP
5122013-12-18 Andrew Hunter <ahh@google.com>
513
514 * elf/Versions (ld): Add _dl_clear_dtv.
515 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
516 * elf/dl-tls.c (_dl_clear_dtv): New function.
517 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
518
69a17d9d
PP
5192013-12-18 Andrew Hunter <ahh@google.com>
520
521 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
522 (_dl_unmask_signals): Likewise.
523 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
524 (_dl_unmask_all_signals): Likewise.
525 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
526 (_dl_unmask_all_signals): Likewise.
527 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
528 (_dl_unmask_signals): Likewise.
529
b9ab448f
BM
5302013-12-18 Brooks Moses <bmoses@google.com>
531
532 [BZ #15846]
533 * misc/getauxval.c: Include errno.h.
534 (__getauxval): Set errno to ENOENT if the requested type is not
535 found.
536 * misc/sys/auxv.h (getauxval): Document that it may set errno;
537 don't declare with __attribute_const__.
538 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
539 * manual/startup.texi: Document that getauxval sets errno.
540
23776487
JM
5412013-12-18 Joseph Myers <joseph@codesourcery.com>
542
f889953b
JM
543 * math/auto-libm-test-in: Add tests of jn and yn.
544 * math/auto-libm-test-out: Regenerated.
545 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
546 (yn_test_data): Likewise.
547 * math/gen-auto-libm-tests.c (func_calc_method): Add value
548 mpfr_if_f.
549 (func_calc_desc): Add mpfr_if_f union field.
550 (FUNC_mpfr_if_f): New macro.
551 (test_functions): Add jn and yn.
552 (calc_generic_results): Assert type of second input for
553 mpfr_ff_f. Handle mpfr_if_f.
554 (output_for_one_input_case): Disable all checking for arguments
555 fitting floating-point types in case of an integer argument.
556 * sysdeps/i386/fpu/libm-test-ulps: Update.
557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
558
23776487
JM
559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
560 Don't expect fegetround reference in libm.so.
561
cb756c6d
MS
5622013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
563
564 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
565 $(config-cflags-nofma).
566
2dec468f
JM
5672013-12-18 Joseph Myers <joseph@codesourcery.com>
568
5953eb3a
JM
569 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
570 * math/auto-libm-test-out: Regenerated.
571
2dec468f
JM
572 [BZ #16338]
573 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
574 to determine exponent and adjust argument to have exponent of -1.
575 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
576 log2.
577 * math/auto-libm-test-out: Regenerated.
578 * sysdeps/i386/fpu/libm-test-ulps: Update.
579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580
4d84e6ad
OB
5812013-12-18 Ondřej Bílka <neleai@seznam.cz>
582
583 * manual/probes.texi: Remove cases when per-thread arenas are
584 disabled.
585
1818483b
AS
5862013-12-18 Andreas Schwab <schwab@suse.de>
587
588 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
589 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
590 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
591 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
592 * sysdeps/i386/i686/multiarch/Makefile: Update.
593 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
594
25de95bf
JM
5952013-12-17 Joseph Myers <joseph@codesourcery.com>
596
597 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
598 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
599
674762d9
PE
6002013-12-17 Paul Eggert <eggert@cs.ucla.edu>
601
0748546f
PE
602 Support TZ transition times < 00:00:00.
603 This is needed for version-3 tz-format files; it supports time
604 stamps past 2037 for America/Godthab (the only entry in the tz
605 database for which this change is relevant).
606 * manual/time.texi (TZ Variable): Document transition times
607 from -167:59:59 through -00:00:01.
608 * time/tzset.c (tz_rule): Time of day is now signed.
609 (__tzset_parse_tz): Parse negative time of day.
610
4480e934
PE
611 Document TZ transition times >= 25:00:00.
612 * manual/time.texi (TZ Variable): Document transition times from
613 25:00:00 through 167:59:59. These are already supported, and this
614 support will help with version-3 tz-format files.
615
69947401
PE
616 * manual/time.texi (TZ Variable): Modernize North America example
617 to reflect current (i.e., 2007-and-later) daylight saving rules.
618
674762d9
PE
619 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
620
7011c262
JM
6212013-12-17 Joseph Myers <joseph@codesourcery.com>
622
2fc6557e
JM
623 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
624 * sysdeps/unix/bsd/bits/stat.h: Likewise.
625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
627 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
628 * sysdeps/unix/bsd/bsdstat.h: Likewise.
629 * sysdeps/unix/bsd/clock.c: Likewise.
630 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
631 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
632 * sysdeps/unix/bsd/init-posix.c: Likewise.
633 * sysdeps/unix/bsd/poll.c: Likewise.
634 * sysdeps/unix/bsd/ptsname.c: Likewise.
635 * sysdeps/unix/bsd/seekdir.c: Likewise.
636 * sysdeps/unix/bsd/setegid.c: Likewise.
637 * sysdeps/unix/bsd/seteuid.c: Likewise.
638 * sysdeps/unix/bsd/setgid.c: Likewise.
639 * sysdeps/unix/bsd/setrgid.c: Likewise.
640 * sysdeps/unix/bsd/setruid.c: Likewise.
641 * sysdeps/unix/bsd/setsid.c: Likewise.
642 * sysdeps/unix/bsd/setuid.c: Likewise.
643 * sysdeps/unix/bsd/sigaction.c: Likewise.
644 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
645 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
646 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
647 * sysdeps/unix/bsd/telldir.c: Likewise.
648 * sysdeps/unix/bsd/times.c: Likewise.
649 * sysdeps/unix/bsd/usleep.c: Likewise.
650
029c7b25
JM
651 * misc/Makefile (install-lib): Remove libbsd-compat.a.
652 ($(objpfx)libbsd-compat.a): Remove rule.
653
7011c262
JM
654 * include/features.h (__FAVOR_BSD): Do not define.
655 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
656 features conflicting with POSIX.
657 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
658 (_BSD_SOURCE): Remove description of not being a subset of other
659 feature test macros.
660 * manual/job.texi (getpgrp): Do not document BSD version.
661 (getpgid): Do not document by reference to BSD getpgrp.
662 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
663 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
664 * signal/signal.h [__FAVOR_BSD]: Likewise.
665 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
666 instead of making contents conditional on [__FAVOR_BSD].
667 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
668
affb6f78
AZ
6692013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670
671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
672
c88769dd
JM
6732013-12-17 Joseph Myers <joseph@codesourcery.com>
674
6432a540
JM
675 [BZ #16314]
676 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
677 values below 2**-450, not 2**-500.
678 * math/auto-libm-test-in: Don't allow spurious underflow from
679 hypot.
680 * math/auto-libm-test-out: Regenerated.
681
c88769dd
JM
682 [BZ #16316]
683 [BZ #16330]
684 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
685 values of ha and hb and sort them after adjusting subnormal
686 arguments.
687 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
688 Likewise.
689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
690 values of ea and eb and sort them after adjusting subnormal
691 arguments.
692 * math/auto-libm-test-in: Do not expect some hypot tests of
693 subnormals to fail. Add more hypot tests.
694 * math/auto-libm-test-out: Regenerated.
695
29618f6b
KK
6962013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
697
698 [BZ #13304]
699 * sysdeps/sh/s_fma.c: New file.
700 * sysdeps/sh/s_fmaf.c: New file.
701 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
702 version.
703 * sysdeps/sh/Implies: Add sh/soft-fp.
704
eacfdfbf
RM
7052013-12-16 Roland McGrath <roland@hack.frob.com>
706
707 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
708 level of indirection to members `objname', `errstring', `malloced'.
709 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
710 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
711 it as the __longjmp argument (just pass 1 instead).
712 (_dl_catch_error): Initialize C with argument pointers and address of
713 volatile local ERRCODE rather than copying values out of C at return.
714
ff362e5b
JM
7152013-12-16 Joseph Myers <joseph@codesourcery.com>
716
717 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
718 * math/auto-libm-test-out: Regenerated.
719 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
720 (hypot_test_data): Likewise.
721 (pow_test_data): Likewise.
722 (pow_tonearest_test_data): Likewise.
723 * math/gen-auto-libm-tests.c (func_calc_method): Add value
724 mpfr_ff_f.
725 (func_calc_desc): Add mpfr_ff_f union field.
726 (FUNC_mpfr_ff_f): New macro.
727 (test_functions): Add atan2, hypot and pow.
728 (special_fill_min): New function.
729 (special_fill_minus_min): Likewise.
730 (special_fill_min_subnorm): Likewise.
731 (special_fill_minus_min_subnorm): Likewise.
732 (special_real_inputs): Add min, -min, min_subnorm and
733 -min_subnorm.
734 (calc_generic_results): Handle mpfr_ff_f.
735 * sysdeps/i386/fpu/libm-test-ulps: Update.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
737
5764c27f
WN
7382013-12-16 Will Newton <will.newton@linaro.org>
739
740 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
741 (Aligned Memory Blocks): Add documentation for aligned_alloc
742 and suggest it as an alternative to posix_memalign.
743 (Hooks for Malloc): Document __memalign_hook is also called
744 for aligned_alloc. (Summary of Malloc): Add summary for
745 aligned alloc. Document __memalign_hook is also called
746 for aligned_alloc.
747
0a096e44
WN
7482013-12-16 Will Newton <will.newton@linaro.org>
749
750 * manual/memory.texi (Malloc Examples): Clarify default
751 alignment documentation. Suggest posix_memalign rather
752 than memalign or valloc.
753 (Aligned Memory Blocks): Remove suggestion to use memalign
754 or valloc. Remove obsolete comment about BSD.
755 Document memalign errno values and mark the function obsolete.
756 Document posix_memalign returned error codes. Mark valloc
757 as obsolete. (Hooks for Malloc): __memalign_hook is also
758 called for posix_memalign and valloc.
759 (Summary of Malloc): Add posix_memalign to function summary.
760 __memalign_hook is also called for posix_memalign and valloc.
761
8d561986
SP
7622013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
763
764 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
765 TAYLOR_SIN.
766 (__sin): Adjust.
767 (__cos): Likewise.
768 (sloww): Use mynumber union. Expand ternary operator into
769 if-else statements.
770 (cslow): use mynumber union.
771
73616a74
AM
7722013-12-16 Allan McRae <allan@archlinux.org>
773
9e8ac24b
AM
774 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
775 * configure: Regenerated.
776
6f8e37eb
AM
777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
778
8894bad3
AM
779 [BZ #14120]
780 * configure.ac: Added --enable-maintainer-mode. Check for
781 autoconf when enabled.
782 * configure: Regenerated.
783
73616a74
AM
784 * nscd/nscd.service: New file.
785 * nscd/nscd.tmpfiles: New file.
786
584b18eb
OB
7872013-12-14 Ondřej Bílka <neleai@seznam.cz>
788
789 [BZ #12100]
790 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
791 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
792 * sysdeps/x86_64/multiarch/strstr.c: ... here.
793 (strstr): Add __strstr_sse2_unaligned ifunc.
794 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
795 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
796 (strcasestr): Remove __strcasestr_sse42 ifunc.
797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
800
8a5c7897
KK
8012013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
802
803 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
804 * sysdeps/sh/bits/fenv.h: ... here.
805 * sysdeps/sh/sh4/fpu/bits: Remove directory.
806
fd712ef3
AZ
8072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
810
42fcb46c
AZ
8112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
812
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
814 hypotf multiarch implementations.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
816 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
818 multiarch hypot for PPC64.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
822 multiarch hypotf for PPC64.
823
83efded4
AZ
8242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825
826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
827 modff multiarch implementations.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
831 multiarch modf for PPC64.
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
835 multiarch modff for PPC64.
836
43e246d2
AZ
8372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
840 and logl multiarch implementations.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
844 multiarch logb for PPC64.
845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
848 multiarch logb for PPC64.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
852 multiarch logb for PPC64.
853
8fdad123
AZ
8542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
855
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
857 isinff multiarch implementation.
858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
859 file.
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
862 multiarch isinf for PPC64.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
864 file.
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
866 multiarch isinff for PPC64.
867
1481d706
AZ
8682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
871 finitef multiarch implementation.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
873 file.
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
876 multiarch finite for PPC64.
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
878 file.
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
880 multiarch finitef for PPC64.
881
5ccd5fc8
AZ
8822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
883
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
885 lrint multiarch implementation.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
887 file.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
890 multiarch llrint for PPC64.
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
892 multiarch lrint for PPC64.
893
2568f3fa
AZ
8942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
895
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
897 copysignf multiarch implementation.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
899 file.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
901 file.
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
903 multiarch copysign for PPC64.
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
905 multiarch copysignf for PPC64.
906
1cb341fd
AZ
9072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
910 multiarch implementation.
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
912 file.
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
914 file.
915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
916 file.
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
918 file.
919 multiarch llround for PPC64.
920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
921 multiarch trunc for PPC64.
922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
923 multiarch truncf for PPC64.
924
59a3e194
AZ
9252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926
927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
928 multiarch implementation.
929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
930 file.
931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
932 file.
933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
934 file.
935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
936 file.
937 multiarch llround for PPC64.
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
939 multiarch round for PPC64.
940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
941 multiarch roundf for PPC64.
942
357fd3b4
AZ
9432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944
945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
946 multiarch implementation.
947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
948 file.
949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
950 file.
951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
952 file.
953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
954 file.
955 multiarch llround for PPC64.
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
957 multiarch floor for PPC64.
958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
959 multiarch floorf for PPC64.
960
96770f12
AZ
9612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
962
963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
964 multiarch implementation.
965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
966 file.
967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
968 file.
969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
970 file.
971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
972 file.
973 multiarch llround for PPC64.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
975 multiarch ceil for PPC64.
976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
977 multiarch ceilf for PPC64.
978
c3627f6e
AZ
9792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
980
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
982 multiarch implementation.
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
984 file.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
986 file.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
988 file.
989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
990 multiarch llround for PPC64.
991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
992 multiarch lround for PPC64.
993
b2284ad7
AZ
9942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
995
996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
997 multiarch implementation.
998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1001 file.
1002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1005 multiarch isnan for PPC64.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1007 multiarch isnanf for PPC64.
1008
69bbc63d
AZ
10092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010
1011 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1012 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1013 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1014 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1015 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1017
c24517c9
AZ
10182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019
1020 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1021 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1024
a52374e8
AZ
10252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026
1027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1028 multiarch implementations.
1029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1030 (__libc_ifunc_impl_list): Likewise.
1031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1032 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1033 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1034 multiarch stpcpy for PPC64.
1035
7f5ec113
AZ
10362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1039 multiarch implementations.
1040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1041 (__libc_ifunc_impl_list): Likewise.
1042 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1043 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1045 multiarch strcpy for PPC64.
1046
e28bcd42
AZ
10472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048
1049 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1050 redefine function name.
1051 (_wordcopy_fwd_dest_aligned): Likewise.
1052 (_wordcopy_bwd_aligned): Likewise.
1053 (_wordcopy_bwd_dest_aligned): Likewise.
1054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1055 multiarch implementations.
1056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1057 (__libc_ifunc_impl_list): Likewise.
1058 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1062 multiarch wcscpy for PPC64.
1063
92cacfce
AZ
10642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065
1066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1067 multiarch implementations.
1068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1069 (__libc_ifunc_impl_list): Likewise.
1070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1074 multiarch wcscpy for PPC64.
1075
7b714620
AZ
10762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077
1078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1079 multiarch implementations.
1080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1081 (__libc_ifunc_impl_list): Likewise.
1082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1084 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1085 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1086 multiarch wcsrchr for PPC64.
1087
16fd2ae3
AZ
10882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089
1090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1091 multiarch implementations.
1092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1093 (__libc_ifunc_impl_list): Likewise.
1094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1095 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1096 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1097 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1098 multiarch wcschr for PPC64.
1099
9ee2969b
AZ
11002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1101
1102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1103 multiarch implementations.
1104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1105 (__libc_ifunc_impl_list): Likewise.
1106 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1107 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1108 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1109 multiarch strchrnul for PPC64.
1110
372dc060
AZ
11112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1112
1113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1114 implementations.
1115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1116 (__libc_ifunc_impl_list): Likewise.
1117 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1118 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1119 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1120 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1121 strchr for PPC64.
1122
24c2c3b9
AZ
11232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1124
1125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1126 implementations.
1127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1128 (__libc_ifunc_impl_list): Likewise.
1129 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1132 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1133 strncmp for PPC64.
1134
1c92d9a0
AZ
11352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136
1137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1138 multiarch implementations.
1139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1140 (__libc_ifunc_impl_list): Likewise.
1141 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1142 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1143 strncasecmp for PPC64.
1144 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1145 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1146 multiarch strncasecmp_l for PPC64.
1147
17de3ee3
AZ
11482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1149
1150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1151 multiarch implementations.
1152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1153 (__libc_ifunc_impl_list): Likewise.
1154 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1156 multiarch strcasecmp for PPC64.
1157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1158 file.
1159 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1160 multiarch strcasecmp_l for PPC64.
1161
62982bf9
AZ
11622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163
1164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1165 implementations.
1166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1167 (__libc_ifunc_impl_list): Likewise.
1168 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1169 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1170 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1171 strnlen for PPC64.
1172
a65f4904
AZ
11732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174
1175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1176 implementations.
1177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1178 (__libc_ifunc_impl_list): Likewise.
1179 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1180 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1181 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1182 strlen for PPC64.
1183
1fd005ad
AZ
11842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185
1186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1187 implementations.
1188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1189 (__libc_ifunc_impl_list): Likewise.
1190 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1191 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1192 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1193 rawmemrchr for PPC64.
1194
cd05ba91
AZ
11952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196
1197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1198 implementation.
1199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1200 (__libc_ifunc_impl_list): Likewise.
1201 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1202 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1203 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1204 memrchr for PPC64.
1205
870f8676
AZ
12062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1207
1208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1209 implementation.
1210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1211 (__libc_ifunc_impl_list): Likewise.
1212 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1213 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1214 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1215 memchr for PPC64.
1216
f00be62b
AZ
12172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218
1219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1220 implementation.
1221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1222 (__libc_ifunc_impl_list): Likewise.
1223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1224 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1225 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1226 mempcpy for PPC64.
1227
8a29a3d0
AZ
12282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1229
1230 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1231 avoid cretion of __bzero symbol.
1232 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1233 Likewise.
1234 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1235 Likewise.
1236 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1237 Likewise.
1238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1239 multiarch implementations.
1240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1241 (__libc_ifunc_impl_list): Likewise.
1242 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1243 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1244 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1245 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1246 bzero for PPC32.
1247 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1248 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1249 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1250 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1251 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1252 memset for PPC64.
1253 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1254
07253fcf
AZ
12552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1256
1257 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1259 implementations.
1260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1261 (__libc_ifunc_impl_list): Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1263 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1264 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1265 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1266 memcmp for PPC64.
1267
b5beafbc
AZ
12682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1269
1270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1271 multiarch for POWER/PPC64.
1272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1273 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1278 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1279 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1280 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1281 memcpy for PPC64.
1282
5e6a4d4b
AZ
12832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284
1285 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1286 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1287 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1289 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1290 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1291 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1292 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1293 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1294 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1295 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1296 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1297 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1298 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1299 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1307
ddfab6dc
KK
13082013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1309
1310 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1311
19b5525e
SP
13122013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1313
1314 * benchtests/Makefile (bench): Add exp2 and log2.
1315 (LDLIBS-bench-exp2): Add -lm.
1316 (LDLIBS-bench-log2): Likewise.
1317 * benchtests/exp2-inputs: New inputs file.
1318 * benchtests/log2-inputs: New inputs file.
1319 * benchtests/log-inputs: Add new inputs.
1320 * benchtests/tan-inputs: Likewise.
1321
196f7f5d
SP
13222013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1323
7a74607f
SP
1324 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1325 definition...
1326 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1327 csloww1, csloww2): ... from here.
1328
196f7f5d
SP
1329 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1330 instead of structures.
1331 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1332 (POLYNOMIAL): Likewise.
1333 (TAYLOR_SLOW): Likewise.
1334 (__sin): Likewise.
1335 (__cos): Likewise.
1336 (slow1): Likewise.
1337 (slow2): Likewise.
1338 (sloww): Likewise.
1339 (sloww1); Likewise.
1340 (sloww2): Likewise.
1341 (bsloww1): Likewise.
1342 (bsloww2): Likewise.
1343 (cslow2): Likewise.
1344 (csloww): Likewise.
1345 (csloww1): Likewise.
1346 (csloww2): Likewise.
1347
0dfa665c
OB
13482013-12-10 Ondřej Bílka <neleai@seznam.cz>
1349
1350 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1351 (__malloc_assert, __libc_realloc, __libc_calloc,
1352 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1353 memcpy and memset.
1354 * malloc/hooks.c (realloc_check): Likewise.
1355
5782a80f
OB
13562013-12-10 Ondřej Bílka <neleai@seznam.cz>
1357
1358 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1359 * malloc/arena.c: Remove PER_THREAD conditional.
1360 [!PER_THREAD]: Remove code.
1361 (ptmalloc_unlock_all2): Likewise.
1362 (ptmalloc_init): Likewise.
1363 (_int_new_arena): Likewise.
1364 (arena_get2): Likewise.
1365 * malloc/hooks.c (__malloc_get_state): Likewise.
1366 (__malloc_set_state): Likewise.
1367 * malloc/malloc.c: Likewise.
1368 (struct malloc_state): Likewise.
1369 (struct malloc_par): Likewise.
1370 (__libc_realloc): Likewise.
1371 (__libc_mallopt): Likewise.
1372
aeb95445
AZ
13732013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374
1375 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1376
e8349efd
OB
13772013-12-09 Ondřej Bílka <neleai@seznam.cz>
1378
1379 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1380 macro to a function. Check for zero perturb_byte.
1381 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1382
f3eeb3fc
OB
13832013-12-09 Ondřej Bílka <neleai@seznam.cz>
1384
1385 * malloc/malloc.c: (force_reg): Remove.
1386 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1387 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1388 force_reg by atomic_forced_read.
1389 * malloc/arena.c (ptmalloc_init): Likewise.
1390 * malloc/hooks.c (top_check): Likewise.
1391
be2f9009
AZ
13922013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393
1394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1395
e7b914bd
MT
13962013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1397
1398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1399
9f0be4f8
JM
14002013-12-08 Joseph Myers <joseph@codesourcery.com>
1401
1402 * math/auto-libm-test-in: Add tests of lgamma.
1403 * math/auto-libm-test-out: Regenerated.
1404 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1405 (M_LOG_2_SQRT_PIl): Likewise.
1406 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1407 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1408 mpfr_f_f1.
1409 (func_calc_desc): Add mpfr_f_f1 union field.
1410 (ARGS1): New macro.
1411 (ARGS2): Likewise.
1412 (ARGS3): Likewise.
1413 (ARGS4): Likewise.
1414 (RET1): Likewise.
1415 (RET2): Likewise.
1416 (CALC): Likewise.
1417 (FUNC): Likewise.
1418 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1419 (test_functions): Add lgamma.
1420 (calc_generic_results): Handle mpfr_f_f1.
1421 * sysdeps/i386/fpu/libm-test-ulps: Update.
1422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1423
24eeafdb
AZ
14242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1425
1426 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1427 __mpn_add_n for PowerPC64/POWER7.
1428 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1429 __mpn_sub_n for PowerPC64/POWER7.
1430
4a2c0fd4
AZ
14312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1434 __mpn_addmul_1 for PowerPC64.
1435 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1436 __mpn_submul_1 for PowerPC64.
1437 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1438 for PowerPC64.
1439 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1440 for PowerPC64.
1441
4b5b548c
FS
14422013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1443
1444 [BZ #15089]
1445 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1446
0a3ac0aa
AZ
14472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448
1449 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1450
ccdc8438
AZ
14512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1452
1453 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1454 add multiarch folders.
1455 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1456 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1457 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1458 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1459 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1460 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1461 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1462 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1463 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1464 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1465 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1472
2e973d99
AZ
14732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1476 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1478 New file.
1479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1480 New file.
1481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1482 multiarch __ieee754_hypot for PowerPC32.
1483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1484 New file.
1485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1486 New file.
1487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1488 multiarch __ieee754_hypotf for PowerPC32.
1489
2d9470b2
AZ
14902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1491
1492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1493 long_double_symbol only if __logbl is defined.
1494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1495 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1497 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1499 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1501 path for implementation.
1502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1505 logb, and logbl multiarch implementations for PowerPC32.
1506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1507 file.
1508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1509 file.
1510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1511 multiarch logb for PowerPC32.
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1513 file.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1515 file.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1517 multiarch logbf for PowerPC32.
1518 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1520 file.
1521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1522 multiarch logbl implementation for PowerPC32.
1523
5212ffce
AZ
15242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1527 and modff multiarch implementations.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1529 New file.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1531 New file.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1533 multiarch modf for PowerPC32.
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1535 New file.
1536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1537 New file.
1538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1539 multiarch modff for PowerPC32.
1540
79dccf31
AZ
15412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1544 and lrintf multiarch implementations.
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1546 New file.
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1548 New file.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1550 multiarch lrint for PowerPC32.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1552 file: multiarch lrintf for PowerPC32.
1553
deb66480
AZ
15542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1557 and lroundf multiarch implementations.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1559 New file.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1561 New file.
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1563 New file.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1565 multiarch lround for PowerPC32.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1567 file: multiarch lroundf for PowerPC32.
1568
264b036b
AZ
15692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1572 copysign and copysignf multiarch implementations.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1574 New file.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1576 New file.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1578 file: multiarch copysign for PowerPC32.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1580 file: multiarch copysignf for PowerPC32.
1581
d47db6c9
AZ
15822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1583
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1585 and truncf multiarch implementations.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1587 New file.
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1589 file.
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1591 multiarch trunc for PowerPC32.
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1593 New file.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1595 New file.
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1597 multiarch truncf for PowerPC32.
1598
ddb60b5a
AZ
15992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1602 and roundf multiarch implementations.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1604 New file.
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1606 file.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1608 multiarch round for PowerPC32.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1610 New file.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1612 New file.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1614 multiarch roundf for PowerPC32.
1615
bedcf49b
AZ
16162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617
1618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1619 and floorf multiarch implementations.
1620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1621 New file.
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1623 file.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1625 multiarch floor for PowerPC32.
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1627 New file.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1629 New file.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1631 multiarch floorf for PowerPC32.
1632
35ae5b40
AZ
16332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634
1635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1636 and ceilf multiarch implementations.
1637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1638 New file.
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1640 file.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1642 multiarch ceil for PowerPC32.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1644 New file.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1646 file.
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1648 multiarch ceilf for PowerPC32.
1649
ae1a4cd9
AZ
16502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1653 is defined.
1654 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1655 FINITEF is defined.
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1657 and finitef multiarch implementations.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1659 New file.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1661 file.
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1663 multiarch finite for PowerPC32.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1665 New file.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1667 file: multiarch finitef for PowerPC32.
1668
64fffd65
AZ
16692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1670
1671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1672 and isinff multiarch implementations.
1673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1674 file.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1676 file.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1678 multiarch isinf for PowerPC32.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1680 New file.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1682 multiarch isinff for PowerPC32.
1683
8e4e7ba2
AZ
16842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1685
1686 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1687 alias when __isnan is defined.
1688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1689 and isnanf multiarch implementations.
1690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1691 file.
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1693 file.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1695 file.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1697 file.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1699 multiarch isnan for PowerPC32.
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1701 New file.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1703 New file.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1705 multiarch isnanf for PowerPC32.
1706
ddba588e
AZ
17072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1710 and sqrtf multiarch implementations.
1711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1712 file.
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1714 file.
1715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1716 multiarch sqrt for PowerPC32.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1718 file.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1720 file.
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1722 multiarch sqrtf for PowerPC32.
1723
0f96a2f0
AZ
17242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1727 and llroundf multiarch implementations.
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1729 New file.
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1731 New file.
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1733 New file.
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1735 file: multiarch llround for PowerPC32.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1737 file: multiarch llroundf for PowerPC32.
1738
c9b5d79e
AZ
17392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740
1741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1742 multiarch PowerPC32 fpu implementations.
1743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1744 New file.
1745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1746 New file.
1747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1748 multiarch llrint for PowerPC32.
1749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1750 New file.
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1752 New file.
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1754 file.
1755
9cbb3aab
AZ
17562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1759
ea5a72f8
AZ
17602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1761
1762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1763 file.
1764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1765 file.
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1767 file.
1768 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1769 multiarch wordcopy for PPC32.
1770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1771 wordcopy objects.
1772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1773 (__libc_ifunc_impl_list): Likewise.
1774 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1775 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1777 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1778 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1779 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1780
93be09e7
AZ
17812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782
1783 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1785 file.
1786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1787 file.
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1789 file.
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1791 multiarch wcscpy for PPC32.
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1793 multiarch objects.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1795 (__libc_ifunc_impl_list): Likewise.
1796 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1797 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1798 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1799 sysdeps/powerpc/power6/wcscpy.c.
1800
bb04e529
AZ
18012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1805 file.
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1807 file.
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1809 file.
1810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1811 multiarch wcsrchr for PPC32.
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1813 multiarch objects.
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1815 (__libc_ifunc_impl_list): Likewise.
1816 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1817 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1818 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1819 sysdeps/powerpc/power6/wcsrchr.c.
1820
05b5cd1c
AZ
18212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1824 file.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1826 file.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1829 multiarch wcschr for PPc32.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1831 multiarch objects.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1833 (__libc_ifunc_impl_list): Likewise.
1834 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1835 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1836 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1837 sysdeps/powerpc/power6/wcschr.c.
1838
ba964147
AZ
18392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1840
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1843 file.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1845 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1846 file: multiarch strchr for PPC32.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1848 multiarch objects.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1850 (__libc_ifunc_impl_list): Likewise.
1851
31c81aaa
AZ
18522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853
1854 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1855 name.
1856 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1857 file.
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1859 file.
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1861 multiarch strchrnul for PPC32.
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1863 multiarch objects.
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1865 (__libc_ifunc_impl_list): Likewise.
1866
0d0607d9
AZ
18672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1868
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1870 file.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1872 multiarch strncasecmp for PPC32.
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1874 file.
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1876 multiarch strncasecmp_l for PPC32.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1878 strncasecmp multiarch objects.
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1880 (__libc_ifunc_impl_list): Likewise.
1881
4dfd5c86
AZ
18822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1885 file.
1886 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1887 multiarch strncasecmp for PPC32.
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1889 New file.
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1891 multiarch strcasecmp_l for PPC32.
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1893 multiarch objects.
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1895 (__libc_ifunc_impl_list): Likewise.
1896
a19e01a3
AZ
18972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1900 file.
1901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1902 file.
1903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1904 multiarch strncmp for PPC32.
1905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1906 multiarch objects.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1908 (__libc_ifunc_impl_list): Likewise.
1909
ae9cf7a2
AZ
19102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911
1912 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1913 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1914 file.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1916 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1918 multiarch objects.
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1920 (__libc_ifunc_impl_list): Likewise.
1921
3148bb7d
AZ
19222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1925 file.
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1927 file.
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1930 multiarch objects.
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1932 (__libc_ifunc_impl_list): Likewise.
1933
7af8b946
AZ
19342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1937 file.
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1939 file.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1941 multiarch rawmemchr for PPC32.
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1943 multiarch objects.
1944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1945 (__libc_ifunc_impl_list): Likewise.
1946
03a6aa6a
AZ
19472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1948
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1950 file.
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1952 file.
1953 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1954 file: memrchr multiarch for PPC32.
1955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1956 multiarch objects.
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1958 (__libc_ifunc_impl_list): Likewise.
1959
1c62e6d9
AZ
19602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1961
1962 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1964 file.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1966 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1967 multiarch memchr for PPC32.
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1969 multiarch objects.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1971 (__libc_ifunc_impl_list): Likewise.
1972
87da8bdb
AZ
19732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974
1975 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1977 file.
1978 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1979 file.
1980 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1981 file: multiarch mempcpy for PPC32.
1982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1983 multiarch objects.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1985 (__libc_ifunc_impl_list): Likewise.
1986
20ed4714
AZ
19872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1993 multiarch bzero for PPC32.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1995 file.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1997 file.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1999 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2000 file: multiarch memset for PPC32.
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2003 memset multiarch objects.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2005 (__libc_ifunc_impl_list): Likewise.
2006
ab3e3a46
AZ
20072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2008
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2010 file.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2013 memcmp for PPC32.
2014 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2016 multiarch objects.
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2018 (__libc_ifunc_impl_list): Likewise.
2019
930de6f0
AZ
20202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2021
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2025 file.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2027 file.
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2029 file.
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2031 multiarch memcpy for PPC32.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2033 multiarch objects.
2034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2035 (__libc_ifunc_impl_list): Likewise.
2036
4c628e00
AZ
20372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2038
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2040 support multiarch for POWER/PPC32.
2041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2042 Likewise.
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2045 Implies file to make multiarch folder appers before the fpu and
2046 default folder for power4 configuration.
2047
f4479220
SP
20482013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
2050 * scripts/bench.pl: Append volatile keyword to type.
2051
8517800f
KK
20522013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2053
2054 * sysdeps/sh/sotruss-lib.c: New file.
2055 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2056
180138f1
AZ
20572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2060
bbf37bdc
JM
20612013-12-05 Joseph Myers <joseph@codesourcery.com>
2062
e47cc4e0
JM
2063 [BZ #6810]
2064 * math/w_tgamma.c: Include <errno.h>.
2065 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2066 * math/w_tgammaf.c: Include <errno.h>.
2067 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2068 * math/w_tgammal.c: Include <errno.h>.
2069 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2070 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2071 underflow. Add more tgamma tests.
2072 * math/auto-libm-test-out: Regenerated.
2073 * sysdeps/i386/fpu/libm-test-ulps: Update.
2074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2075
bbf37bdc
JM
2076 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2077 sin, sinh, tan, tanh, tgamma, y0 and y1.
2078 * math/auto-libm-test-out: Regenerated.
2079 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2080 (TEST_COND_x86): Likewise.
2081 (M_E2l): Remove macro.
2082 (M_E3l): Likewise.
2083 (M_2_SQRT_PIl): Likewise.
2084 (M_SQRT_PIl): Likewise.
2085 (M_1_DIV_El): Likewise.
2086 (log_test_data): Use AUTO_TESTS_f_f.
2087 (log10_test_data): Likewise.
2088 (log1p_test_data): Likewise.
2089 (log2_test_data): Likewise.
2090 (sin_test_data): Likewise.
2091 (sin_tonearest_test_data): Likewise.
2092 (sin_towardzero_test_data): Likewise.
2093 (sin_downward_test_data): Likewise.
2094 (sin_upward_test_data): Likewise.
2095 (sinh_test_data): Likewise.
2096 (sinh_tonearest_test_data): Likewise.
2097 (sinh_towardzero_test_data): Likewise.
2098 (sinh_downward_test_data): Likewise.
2099 (sinh_upward_test_data): Likewise.
2100 (tan_test_data): Likewise.
2101 (tan_tonearest_test_data): Likewise.
2102 (tan_towardzero_test_data): Likewise.
2103 (tan_downward_test_data): Likewise.
2104 (tan_upward_test_data): Likewise.
2105 (tanh_test_data): Likewise.
2106 (tgamma_test_data): Likewise.
2107 (y0_test_data): Likewise.
2108 (y1_test_data): Likewise.
2109 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2110 (special_real_inputs): Add pi/4.
2111 * sysdeps/i386/fpu/libm-test-ulps: Update.
2112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113
eb5ad6b9
AZ
21142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115
2116 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2117 "longjmp_target" static probes.
2118 (__longjmp): Rename to __longjmp_symbol.
2119 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2120 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2121 on which longjmp to generate.
2122 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2124 probe.
2125 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2126 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2127 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2128 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2129 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2130 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2132 __longjmp_symbol based on which __longjmp to generate.
2133 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2134 probe.
2135 (setjmp): Rename to setjmp_symbol.
2136 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2137 (_setjmp): Rename to _setjmp_symbol.
2138 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2139 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2140 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2141 which setjmp to generate.
2142 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2143 "longjmp_target" static probes.
2144
d136c6dc
SP
21452013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2146
9298ecba
SP
2147 * benchtests/README: Add note about output arguments.
2148 * benchtests/bench-sincos.c: Remove file.
2149 * benchtests/sincos-inputs: New file.
2150 * scripts/bench.pl: Identify output arguments and define
2151 static variables for them.
2152
232983e9
SP
2153 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2154
d136c6dc
SP
2155 [BZ #15941]
2156 * Makefile (INSTALL): Add install-plain.texi as the primary
2157 dependency.
2158 * manual/install-plain.texi: New file.
2159 * manual/install.texi: Include node directive only for
2160 non-plaintext output.
2161
699ff837
JM
21622013-12-04 Joseph Myers <joseph@codesourcery.com>
2163
ab07cea8
JM
2164 * stdlib/longlong.h: Update from GCC.
2165
699ff837
JM
2166 [BZ #6807]
2167 [BZ #15901]
2168 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2169 * math/w_j0f.c (y0f): Likewise.
2170 * math/w_j0l.c (__y0l): Likewise.
2171 * math/w_j1.c (y1): Likewise.
2172 * math/w_j1f.c (y1f): Likewise.
2173 * math/w_j1l.c (__y1l): Likewise
2174 * math/w_jn.c (yn): Likewise.
2175 * math/w_jnf.c (ynf): Likewise.
2176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2177 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2178 value for Bessel function domain errors outside _SVID_ mode.
2179 Adjust sign of return value for yn (negative integer, 0).
2180 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2181 by zero in return for negative x and set sign appropriately for
2182 negative n.
2183 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2184 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2185 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2186 expectations in error cases.
2187 (y1_test_data): Likewise.
2188 (yn_test_data): Likewise.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
5b118558
UW
21922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2193
2194 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2195 "64" to "64-v1". Add "64-v2".
2196 (abi-64-options): Rename to ...
2197 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2198 (abi-64-condition): Rename to ...
2199 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2200 (abi-64-ld-soname): Rename to ...
2201 (abi-64-v1-ld-soname): ... this.
2202 (abi-64-v2-options): Define.
2203 (abi-64-v2-condition): Likewise.
2204 (abi-64-v2-ld-soname): Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2206 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2210
61cd8fe4
UW
22112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2212 Alan Modra <amodra@gmail.com>
2213
2214 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2215 New versions for use with the ELFv2 ABI.
2216 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2217 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2218 declaration.
2219 (struct La_ppc64v2_retval): Likewise.
2220 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2221 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2222 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2223 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2224 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2225 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2226 Do not save or restore CR.
2227 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2228 (_dl_profile_resolve): Do no save or restore CR. Support extended
2229 return values for ELFv2 ABI. Fix location of FPR return registers.
2230 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2231 updated values for _CALL_ELF == 2.
2232 (La_regs, La_retval, int_retval): Likewise.
2233
8b8a692c
UW
22342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2235
2236 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2237 (FRAME_MIN_SIZE_PARM): Likewise.
2238 (FRAME_BACKCHAIN): Likewise.
2239 (FRAME_CR_SAVE): Likewise.
2240 (FRAME_LR_SAVE): Likewise.
2241 (FRAME_TOC_SAVE): Likewise.
2242 (FRAME_PARM_SAVE): Likewise.
2243 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2244 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2245 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2246 (call_mcount_parm_offset): New macro.
2247 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2248 (PROF): Use symbolic stack frame offsets.
2249 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2250 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2251 Redefine in terms of FRAME_MIN_SIZE.
2252 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2253 (_dl_profile_resolve): Likewise. Update comment.
2254 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2255 symbols stack frame offsets.
2256 (__sigsetjmp): Likewise.
2257 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2258 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2259 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2260 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2261
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2263 (FRAME_BACKCHAIN): Remove.
2264 (FRAME_CR_SAVE): Likewise.
2265 (FRAME_LR_SAVE): Likewise.
2266 (FRAME_COMPILER_DW): Likewise.
2267 (FRAME_LINKER_DW): Likewise.
2268 (FRAME_TOC_SAVE): Likewise.
2269 (FRAME_PARM_SAVE): Likewise.
2270 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2271 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2272 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2274 (CHECK_SP): Use symbolic stack frame offsets.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2276 zone" instead of caller's parameter save area for temp storage.
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2278 Likewise. Also, use symbolic stack frame offsets.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2280 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2281 our own stack frame instead of the caller's.
2282 (__socket): Use symbolic stack frame offsets.
2283
122b66de
UW
22842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2285 Alan Modra <amodra@gmail.com>
2286
2287 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2288 Define.
2289 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2290 PPC64_LOCAL_ENTRY_OFFSET): Define.
2291 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2292 New function.
2293 (elf_machine_fixup_plt): Call it.
2294 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2295 reloc arguments.
2296 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2297 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2298 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2299 r2 before calling target.
2300
696caf1d
UW
23012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2302 Alan Modra <amodra@gmail.com>
2303
2304 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2305 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2306 versions of macros to support ELFv2 ABI.
2307 (LOCALENTRY): New macro.
2308 (ENTRY, EALIGN): Use it.
2309 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2310 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2311 fall through into ENTRY entry point.
2312 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2313 Only define if _CALL_ELF != 2.
2314
2315 (elf_machine_matches_host): Verify ABI version matches.
2316 (RTLD_START): Use LOCALENTRY.
2317 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2318 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2319 (PLT_ENTRY_WORDS): New macro.
2320 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2321 (elf_machine_runtime_setup): Support ELFv2 ABI.
2322 (elf_machine_fixup_plt): Likewise.
2323 (elf_machine_plt_conflict): Likewise.
2324 (resolve_ifunc): Likewise.
2325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2327 Likewise.
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2329 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2331 (makecontext): Support ELFv2 ABI.
2332 * elf/elf.h (EF_PPC64_ABI): Define.
2333
d31beafa
UW
23342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2335
2336 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2337 New assembler macro.
2338 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2339 [ASSEMBLER] (ENTRY): ... but instead here ...
2340 [ASSEMBLER] (EALIGN): ... and here.
2341 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2342 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2343 [!ASSEMBLER] (ENTRY_2): Use it.
2344 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2345 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2346 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2347 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2348 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2350 Use PPC64_LOAD_FUNCPTR.
2351
b525166b
UW
23522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2353
2354 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2355
7ec07d9a
AM
23562013-12-04 Alan Modra <amodra@gmail.com>
2357
2358 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2359 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2360 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2361 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2362
2363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2364 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2365 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2366 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2367 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2368 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2369
5162e7dd
UW
23702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2371
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2373 (__makecontext): Fix incorrect CFI when backtracing out of
2374 context created via makecontext.
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2376 (__setcontext): Fix incorrect CFI during switch to new context.
2377 (__novec_setcontext): Likewise.
2378
19e3372b
OB
23792013-12-04 Ondřej Bílka <neleai@seznam.cz>
2380
2381 [BZ #4772]
2382 * time/strptime_l.c (__strptime_internal): Allow modifiers
2383 in strptime.
2384 * time/tst-strptime.c (day_tests): Add testcase.
2385
2386
ecaf142d
SP
23872013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2388
2389 * scripts/bench.pl: Skip over blank lines.
2390
fbf964ae
PE
23912013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2392
2393 [BZ #926]
2394 * manual/time.texi (Calendar Time): Clarify what timezone functions
2395 use.
2396
fa60a674
AZ
23972013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2400
d674f0ef
OB
24012013-12-04 Ondřej Bílka <neleai@seznam.cz>
2402
2403 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2404 implementation.
2405 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2406 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2407 * debug/memset_chk.c (__memset_chk): Likewise.
2408 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2409 * debug/strncpy_chk.c: Likewise.
2410
17dea188
JM
24112013-12-03 Joseph Myers <joseph@codesourcery.com>
2412
749008ff
JM
2413 [BZ #15268]
2414 [BZ #15425]
2415 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2416 (__ieee754_exp): For possibly underflowing results, check size of
2417 result and force underflow exception if required.
2418 * math/auto-libm-test-in: Add more tests of exp.
2419 * math/auto-libm-test-out: Regenerated.
2420 * sysdeps/i386/fpu/libm-test-ulps: Update.
2421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2422
17dea188
JM
2423 [BZ #16283]
2424 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2425 * math/w_exp2f.c (__exp2f): Likewise.
2426 * math/w_exp2l.c (__exp2l): Likewise.
2427 * math/auto-libm-test-in: Do not allow missing errno on exp2
2428 underflow.
2429 * math/auto-libm-test-out: Regenerated.
2430
b20de2c3
OB
24312013-12-03 Ondřej Bílka <neleai@seznam.cz>
2432
2433 [BZ #16274]
2434 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2435 handle filename validation.
2436 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2437 (do_open): Delete.
2438
d8e2dbe3
JM
24392013-12-03 Joseph Myers <joseph@codesourcery.com>
2440
34e16df5
JM
2441 [BZ #6786]
2442 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2443 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2444 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2445 <float.h>.
2446 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2447 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2450 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2452 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2453 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2454 Add more erfc tests.
2455 * math/auto-libm-test-out: Regenerated.
2456 * sysdeps/i386/fpu/libm-test-ulps: Update.
2457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2458
d8e2dbe3
JM
2459 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2460 exp2, expm1, j0 and j1.
2461 * math/auto-libm-test-out: Regenerated.
2462 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2463 (erfc_test_data): Likewise.
2464 (exp_test_data): Likewise.
2465 (exp_tonearest_test_data): Likewise.
2466 (exp_towardzero_test_data): Likewise.
2467 (exp_downward_test_data): Likewise.
2468 (exp_upward_test_data): Likewise.
2469 (exp10_test_data): Likewise.
2470 (exp2_test_data): Likewise.
2471 (expm1_test_data): Likewise.
2472 (j0_test_data): Likewise.
2473 (j1_test_data): Likewise.
2474 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2475 (input_flag_type): Add flag_xfail_rounding.
2476 (input_flags): Add xfail-rounding.
2477 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2478 (output_for_one_input_case): Handle flag_xfail_rounding.
2479 * sysdeps/i386/fpu/libm-test-ulps: Update.
2480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2481
18d14251
AJ
24822013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2483
3d2e6075 2484 [BZ #16289]
18d14251
AJ
2485 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2486 division by 0.
2487
520d437b
SP
24882013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2489
2490 [BZ #16195]
2491 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2492 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2493 (STAP_PROBE0): New macro.
2494 (STAP_PROBE1): Likewise.
2495 (STAP_PROBE2): Likewise.
2496 (STAP_PROBE3): Likewise.
2497 (STAP_PROBE4): Likewise.
2498
416e0145
OB
24992013-12-02 Ondřej Bílka <neleai@seznam.cz>
2500
2501 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2502
9d17796a
SE
25032013-12-02 Steve Ellcey <sellcey@mips.com>
2504
2505 * benchtests/Makefile (bench): Add sqrt.
2506 (LDLIBS-bench-sqrt): New.
2507 * benchtests/sqrt-input: New.
2508
f524d6a8
PS
25092013-12-02 Pavel Simerda <psimerda@redhat.com>
2510
639a0ef8
PS
2511 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2512 (GAIH_EAI): Likewise.
2513 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2514 (gaih_inet): Likewise.
2515 (getaddrinfo): Don't use GAIH_EAI.
2516
f524d6a8
PS
2517 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2518 (struct gaih): Remove definition.
2519
df3aedaf
SP
25202013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2521
2522 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2523 Use HERRNOP directly.
2524
1ab19dec
AZ
25252013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526
b42ad38d 2527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2528
176b0c79
JM
25292013-11-30 Joseph Myers <joseph@codesourcery.com>
2530
2531 * math/gen-auto-libm-tests.c (test_functions): Add more
2532 single-argument functions.
2533 (special_fill_pi_2): New function.
2534 (special_fill_minus_pi_2): Likewise.
2535 (special_fill_pi_6): Likewise.
2536 (special_fill_minus_pi_6): Likewise.
2537 (special_fill_pi_3): Likewise.
2538 (special_fill_2pi_3): Likewise.
2539 (special_fill_e): Likewise.
2540 (special_fill_1_e): Likewise.
2541 (special_fill_e_minus_1): Likewise.
2542 (special_real_inputs): Add more special inputs.
2543 (output_for_one_input_case): Do not require ERANGE on underflow to
2544 zero if round-to-nearest result does not underflow to zero, unless
2545 exact results required.
2546 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2547 atan, atanh, cbrt, cos and cosh.
2548 * math/auto-libm-test-out: Regenerated.
2549 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2550 (acos_tonearest_test_data): Likewise.
2551 (acos_towardzero_test_data): Likewise.
2552 (acos_downward_test_data): Likewise.
2553 (acos_upward_test_data): Likewise.
2554 (acosh_test_data): Likewise.
2555 (asin_test_data): Likewise.
2556 (asin_tonearest_test_data): Likewise.
2557 (asin_towardzero_test_data): Likewise.
2558 (asin_upward_test_data): Likewise.
2559 (asinh_test_data): Likewise.
2560 (atan_test_data): Likewise.
2561 (atanh_test_data): Likewise.
2562 (cbrt_test_data): Likewise.
2563 (cos_test_data): Likewise.
2564 (cos_tonearest_test_data): Likewise.
2565 (cos_towardzero_test_data): Likewise.
2566 (cos_downward_test_data): Likewise.
2567 (cos_upward_test_data): Likewise.
2568 (cosh_test_data): Likewise.
2569 (cosh_tonearest_test_data): Likewise.
2570 (cosh_towardzero_test_data): Likewise.
2571 (cosh_downward_test_data): Likewise.
2572 (cosh_upward_test_data): Likewise.
2573 * sysdeps/i386/fpu/libm-test-ulps: Update.
2574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2575
ffb536d0
JM
25762013-11-29 Joseph Myers <joseph@codesourcery.com>
2577
2a77a467
JM
2578 [BZ #6787]
2579 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2580 * math/w_exp10f.c (__exp10f): Likewise.
2581 * math/w_exp10l.c (__exp10l): Likewise.
2582 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2583 errno settings in existing tests.
2584
ea3bc4e8
JM
2585 [BZ #14032]
2586 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2587 precision control set to double precision.
2588 * sysdeps/i386/fpu/w_sqrt.c: New file.
2589 * math/auto-libm-test-in: Add more tests.
2590 * math/auto-libm-test-out: Update.
2591
0712c9d8
JM
2592 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2593 (sqrt_test_tonearest): New function.
2594 (sqrt_towardzero_test_data): New variable.
2595 (sqrt_test_towardzero): New function.
2596 (sqrt_downward_test_data): New variable.
2597 (sqrt_test_downward): New function.
2598 (sqrt_upward_test_data): New variable.
2599 (sqrt_test_upward): New function.
2600 (main): Call the new functions.
2601
ffb536d0
JM
2602 * math/gen-auto-libm-tests.c: New file.
2603 * math/auto-libm-test-in: Likewise.
2604 * math/auto-libm-test-out: New generated file.
2605 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2606 variables.
2607 (%beautify): Add generated representations of zero.
2608 (top level): Set $auto_input and call parse_auto_input.
2609 (beautify): Remove trailing "f" from hex float constants.
2610 (parse_args): Handle XFAIL_TEST.
2611 (convert_condition): New function.
2612 (or_value): Likewise.
2613 (or_cond_value): Likewise.
2614 (generate_testfile): Handle AUTO_TESTS_* lines.
2615 (parse_auto_input): New function.
2616 * math/libm-test.inc (XFAIL_TEST): New macro.
2617 (ERRNO_UNCHANGED): Update value.
2618 (ERRNO_EDOM): Likewise.
2619 (ERRNO_ERANGE): Likewise.
2620 (IGNORE_RESULT): Likewise.
2621 (TEST_COND_flt_32): New macro.
2622 (TEST_COND_dbl_64): Likewise.
2623 (TEST_COND_ldbl_96_intel): Likewise.
2624 (TEST_COND_ldbl_96_m68k): Likewise.
2625 (TEST_COND_ldbl_128): Likewise.
2626 (TEST_COND_ldbl_128ibm): Likewise.
2627 (TEST_COND_long32): Likewise.
2628 (TEST_COND_long64): Likewise.
2629 (TEST_COND_before_rounding): Likewise.
2630 (TEST_COND_after_rounding): Likewise.
2631 (enable_test): Handle XFAIL_TEST flag.
2632 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2633 with finite results.
2634 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2635 auto-libm-test-out.
2636
acd98a8e
AK
26372013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2638 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2639
2640 [BZ #16214]
2641 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2642 __tls_get_addr_internal instead of __tls_get_offset in order to
2643 avoid GOT pointer dependency. Make rtld export
2644 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2645 __tls_get_addr since we are a __tls_get_offset platform.
2646 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2647 GOT pointer being set up before.
2648 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2649
3c1c46a6
JM
26502013-11-28 Joseph Myers <joseph@codesourcery.com>
2651
7475aef5
JM
2652 * manual/math.texi (Errors in Math Functions): Document accuracy
2653 goals.
2654
8bca7cd8
JM
2655 [BZ #15004]
2656 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2657 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2659 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2660 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2662 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2663 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2664 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2665 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2666 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2668 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2669 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2672
91a1f3fe
JM
2673 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2674 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2675 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2676 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2678 Likewise.
2679 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2680 Likewise.
2681 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2682 Likewise.
2683 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2684 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2685 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2686 atomic-feupdateenv and flt-rounds.
2687 * sysdeps/powerpc/nofpu/Versions (libc): Add
2688 __atomic_feholdexcept, __atomic_feclearexcept,
2689 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2690 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2691 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2692 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2693 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2694 here.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2696 Update.
2697
c5df7609
JM
2698 * manual/arith.texi (FP Exceptions): Document that exceptions may
2699 not be raised when matherr is used.
2700 (Math Error Reporting): Document overflow in directed rounding
2701 modes. Document that errno may not be set when finite values are
2702 returned on overflow. Document intent to set errno on underflow
2703 only for underflow to zero.
2704
3c1c46a6
JM
2705 [BZ #16271]
2706 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2707 round-to-nearest then adjust result for other rounding modes.
2708 * include/fenv.h (fegetround): Use libm_hidden_proto.
2709 * math/fegetround.c (fegetround): Use libm_hidden_def.
2710 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2711 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2712 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2713 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2714 Likewise.
2715 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2717 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2718 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2719
5a4c6d53
SP
27202013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
2722 [BZ #16077]
2723 * nss/Versions (libnss_files): Add
2724 _nss_files_gethostbyname3_r.
2725 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2726 New function.
2727 (HOST_DB_LOOKUP): Remove macro.
2728 (_nss_files_gethostbyname_r): Implement function without the
2729 HOST_DB_LOOKUP macro.
2730 (_nss_files_gethostbyname2_r): Likewise.
2731
897b98ba
OB
27322013-11-28 Ondřej Bílka <neleai@seznam.cz>
2733
2734 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2735
6f476861
UB
27362013-11-26 Uros Bizjak <ubizjak@gmail.com>
2737
2738 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2739 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2740 warning.
2741
bd12ab55
AZ
27422013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743
2744 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2745 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2746 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2747 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2748 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2749 __fe_nomask_env_priv and attribute_hidden.
2750 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2751 (libc_feupdateenv_test_ppc): Likewise.
2752 (libc_feresetround_ppc): Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2754 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2755 compat_symbol macro.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2757 (__fe_nomask_env): Likewise.
2758 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2759
52bb6543
OB
27602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2761
2762 * string/Makefile: Remove ifunc tests.
2763 * string/test-string.h: Define TEST_IFUNC.
2764 * string/test-bcopy-ifunc.c: Remove.
2765 * string/test-bzero-ifunc.c: Likewise.
2766 * string/test-memccpy-ifunc.c: Likewise.
2767 * string/test-memchr-ifunc.c: Likewise.
2768 * string/test-memcmp-ifunc.c: Likewise.
2769 * string/test-memcpy-ifunc.c: Likewise.
2770 * string/test-memmem-ifunc.c: Likewise.
2771 * string/test-memmove-ifunc.c: Likewise.
2772 * string/test-mempcpy-ifunc.c: Likewise.
2773 * string/test-memrchr-ifunc.c: Likewise.
2774 * string/test-memset-ifunc.c: Likewise.
2775 * string/test-rawmemchr-ifunc.c: Likewise.
2776 * string/test-stpcpy-ifunc.c: Likewise.
2777 * string/test-stpncpy-ifunc.c: Likewise.
2778 * string/test-strcasecmp-ifunc.c: Likewise.
2779 * string/test-strcasestr-ifunc.c: Likewise.
2780 * string/test-strcat-ifunc.c: Likewise.
2781 * string/test-strchr-ifunc.c: Likewise.
2782 * string/test-strchrnul-ifunc.c: Likewise.
2783 * string/test-strcmp-ifunc.c: Likewise.
2784 * string/test-strcpy-ifunc.c: Likewise.
2785 * string/test-strcspn-ifunc.c: Likewise.
2786 * string/test-strlen-ifunc.c: Likewise.
2787 * string/test-strncasecmp-ifunc.c: Likewise.
2788 * string/test-strncat-ifunc.c: Likewise.
2789 * string/test-strncmp-ifunc.c: Likewise.
2790 * string/test-strncpy-ifunc.c: Likewise.
2791 * string/test-strnlen-ifunc.c: Likewise.
2792 * string/test-strpbrk-ifunc.c: Likewise.
2793 * string/test-strrchr-ifunc.c: Likewise.
2794 * string/test-strspn-ifunc.c: Likewise.
2795 * string/test-strstr-ifunc.c: Likewise.
2796
ab260039 27972013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2798
2799 * benchtests/Makefile: Remove ifunc tests.
2800 * benchtests/bench-string.h: Define TEST_IFUNC.
2801 * benchtests/bench-bcopy-ifunc.c: Remove.
2802 * benchtests/bench-bzero-ifunc.c: Likewise.
2803 * benchtests/bench-memccpy-ifunc.c: Likewise.
2804 * benchtests/bench-memchr-ifunc.c: Likewise.
2805 * benchtests/bench-memcmp-ifunc.c: Likewise.
2806 * benchtests/bench-memcpy-ifunc.c: Likewise.
2807 * benchtests/bench-memmem-ifunc.c: Likewise.
2808 * benchtests/bench-memmove-ifunc.c: Likewise.
2809 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2810 * benchtests/bench-memrchr-ifunc.c: Likewise.
2811 * benchtests/bench-memset-ifunc.c: Likewise.
2812 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2813 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2814 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2815 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2816 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2817 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2818 * benchtests/bench-strcat-ifunc.c: Likewise.
2819 * benchtests/bench-strchr-ifunc.c: Likewise.
2820 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2821 * benchtests/bench-strcmp-ifunc.c: Likewise.
2822 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2823 * benchtests/bench-strcpy-ifunc.c: Likewise.
2824 * benchtests/bench-strcspn-ifunc.c: Likewise.
2825 * benchtests/bench-strlen-ifunc.c: Likewise.
2826 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2827 * benchtests/bench-strncat-ifunc.c: Likewise.
2828 * benchtests/bench-strncmp-ifunc.c: Likewise.
2829 * benchtests/bench-strncpy-ifunc.c: Likewise.
2830 * benchtests/bench-strnlen-ifunc.c: Likewise.
2831 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2832 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2833 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2834 * benchtests/bench-strspn-ifunc.c: Likewise.
2835 * benchtests/bench-strstr-ifunc.c: Likewise.
2836
28372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2838
ab260039
OB
2839 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2840
d1d9eaf4 28412013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2842
d1d9eaf4
OB
2843 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2844 * rt/aio.h: Likewise.
2845 * sysdeps/gnu/bits/utmp.h: Likewise.
2846 * sysdeps/gnu/bits/utmpx.h: Likewise.
2847 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2848 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2849 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2850 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2851 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2852 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2853 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2854 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2855 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2856 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2857 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2858 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2862 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2863 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2864 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2865 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2866 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2867 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2868 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2869 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2870 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2873 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2875 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2877 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2879 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2881 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2883 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2884 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2885 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2886 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2887 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2888 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2889
a7624ed9
CD
28902013-11-25 Carlos O'Donell <carlos@redhat.com>
2891
2892 [BZ #16245]
2893 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2894 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2895
63cfe52b
JM
28962013-11-25 Joseph Myers <joseph@codesourcery.com>
2897
2898 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2899 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2900 Likewise.
2901
41e8926a
AZ
29022013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903
2904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2905 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2906 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2907 (__fesetround): Remove define.
2908 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2909 rounding and exceptions handling.
2910 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2911 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2912 (__fe_nomask_env): Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2914 __fegetround instead of fegetround.
2915 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2917
6851bd4d
RM
29182013-11-21 Roland McGrath <roland@hack.frob.com>
2919
070906ff
RM
2920 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2921 it's there.
2922
6851bd4d
RM
2923 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2924
84ae135d
MI
29252013-11-21 Meador Inge <meadori@codesourcery.com>
2926
2927 [BZ #11157]
2928 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2929 (encrypt_r): Likewise.
2930 * malloc/obstack.h (obstack_free): Likewise.
2931 * posix/unistd.h (encrypt): Likewise.
2932
daf75146
GM
29332013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2934
2935 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2936 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2937 DL_CALL_DT_FINI() that call the functions directly.
2938 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2939 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2940 * elf/dl-fini.c: Likewise.
2941
10ad46bc
OB
29422013-11-20 Ondřej Bílka <neleai@seznam.cz>
2943
2944 * malloc/hooks.c (memalign_check): Add alignment rounding.
2945 * malloc/malloc.c (_mid_memalign): New function.
2946 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2947 Implement by calling _mid_memalign.
2948 * manual/probes.texi (Memory Allocation Probes): Remove
2949 memory_valloc_retry and memory_pvalloc_retry.
2950
f3fd2628
SP
29512013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2952
4712799f
SP
2953 * locale/programs/locarchive.c (open_archive): Add const
2954 qualifier to ARCHIVEFNAME and copy default fname to
2955 DEFAULT_FNAME.
2956
0417b20f
SP
2957 [BZ #15601]
2958 * libio/tst-widetext.input: Rename Oriya to Odia.
2959 * locale/iso-639.def: Likewise.
2960
f3fd2628
SP
2961 * manual/probes.texi (Mathematical Function Probes): Add
2962 documentation for sin, cos, asin and acos probes.
2963 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2964 (__sin32): Add slowasin probe.
2965 (__cos32): Add slowacos probe.
2966 (__mpsin): Add slowsin probe.
2967 (__mpcos): Add slowcos probe.
2968
73c1ce4f
JM
29692013-11-19 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #15483]
2972 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2973 thread-local __sim_exceptions_thread and global
2974 __sim_exceptions_global.
2975 (__sim_disabled_exceptions): Change to thread-local
2976 __sim_disabled_exceptions_thread and global
2977 __sim_disabled_exceptions_global.
2978 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2979 and global __sim_round_mode_global.
2980 (__simulate_exceptions): Use thread-local floating-point state and
2981 set global state from it as needed.
2982 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2983 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2984 __sim_round_mode_thread.
2985 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2986 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2987 and global __sim_exceptions_global.
2988 (__sim_disabled_exceptions): Change to thread-local
2989 __sim_disabled_exceptions_thread and global
2990 __sim_disabled_exceptions_global.
2991 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2992 and global __sim_round_mode_global.
2993 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2994 (SIM_SET_GLOBAL): Likewise.
2995 * sysdeps/powerpc/soft-fp/sfp-machine.h
2996 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2997 __sim_round_mode_thread.
2998 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2999 __sim_disabled_exceptions_thread.
3000 (__sim_exceptions): Change to __sim_exceptions_thread.
3001 (__sim_disabled_exceptions): Change to
3002 __sim_disabled_exceptions_thread.
3003 (__sim_round_mode): Change to __sim_round_mode_thread.
3004 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3005 thread-local floating-point state and set global state from it as
3006 needed.
3007 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3008 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3009 (__sim_disabled_exceptions): Remove extern declaration.
3010 (feenableexcept): Use thread-local floating-point state and set
3011 global state from it as needed.
3012 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3013 extern declaration.
3014 (__sim_disabled_exceptions): Likewise.
3015 (__sim_round_mode): Likewise.
3016 (__fegetenv): Use thread-local floating-point state.
3017 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3018 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3019 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3020 floating-point state and set global state from it as needed.
3021 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3022 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3023 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3024 Likewise.
3025 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3026 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3027 Likewise.
3028 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3029 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3030 Use __sim_round_mode_thread.
3031 * math/test-fenv-tls.c: New file.
3032 * math/Makefile (tests): Add test-fenv-tls.
3033 ($(objpfx)test-fenv-tls): Depend on
3034 $(common-objpfx)nptl/libpthread.so.
3035
b5449b12
AS
30362013-11-19 Andreas Schwab <schwab@suse.de>
3037
3038 * locale/programs/locale.c (show_info): Decode wordarray elements.
3039 * locale/categories.def (LC_MONETARY): Add element for
3040 _NL_MONETARY_CRNCYSTR.
3041 * locale/C-monetary.c (conversion_rate): New variable.
3042 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3043 element.
3044
e186536b
CM
30452013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3046
3047 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3048 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3049
5c349950
PP
30502013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3051
3052 * elf/Makefile (tst-auxv): New test.
3053 * elf/tst-auxv.c: New
3054 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3055
699df45b
JM
30562013-11-18 Joseph Myers <joseph@codesourcery.com>
3057
3058 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3059 (hidden_proto): Caller changed.
3060 (hidden_tls_proto): New macro.
3061 (libc_hidden_tls_proto): Likewise.
3062 (rtld_hidden_tls_proto): Likewise.
3063 (libm_hidden_tls_proto): Likewise.
3064 (libresolv_hidden_tls_proto): Likewise.
3065 (librt_hidden_tls_proto): Likewise.
3066 (libdl_hidden_tls_proto): Likewise.
3067 (libnss_files_hidden_tls_proto): Likewise.
3068 (libnsl_hidden_tls_proto): Likewise.
3069 (libnss_nisplus_hidden_tls_proto): Likewise.
3070 (libutil_hidden_tls_proto): Likewise.
3071
b7589107
OB
30722013-11-18 Ondřej Bílka <neleai@seznam.cz>
3073
3074 [BZ #10253]
3075 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3076 (decompose_rpath): Defer expansion to fillin_rpath.
3077 (_dl_init_paths): Pass linkmap to fillin_rpath.
3078
250c23bd
RS
30792013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3080
3081 * benchtests/Makefile: Add strsep.
3082 * benchtests/bench-strsep.c: New file: strsep benchtest.
3083 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3084
a7931fcf
AS
30852013-11-18 Andreas Schwab <schwab@suse.de>
3086
3087 * locale/programs/locale.c (show_info) [case byte]: Check for
3088 '\377' instead of '\177'.
3089 * locale/C-monetary.c (not_available): Always use "\377".
3090 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3091 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3092 detect unavailable sign_posn locale elements.
3093 * locale/localeconv.c (__localeconv): For grouping and
3094 mon_grouping handle "\177" and "\377" like no grouping.
3095 (INT_ELEM): New macro. Use it to set all numeric members.
3096 * locale/programs/ld-monetary.c (monetary_read)
3097 <tok_mon_grouping>: Normalize single -1 to the empty string.
3098 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3099 Likewise.
3100
728dab0e
OB
31012013-11-07 Ondřej Bílka <neleai@seznam.cz>
3102
3103 [BZ #16055]
3104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3105 when we match (nil).
3106 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3107
66294491
JM
31082013-11-16 Joseph Myers <joseph@codesourcery.com>
3109
ce665817
JM
3110 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3111 (NO_TEST_INLINE): Update value.
3112 (ERRNO_UNCHANGED): Likewise.
3113 (ERRNO_EDOM): Likewise.
3114 (ERRNO_ERANGE): Likewise.
3115 (IGNORE_RESULT): Likewise.
3116 (check_float_internal): Check signs of NaN results if
3117 TEST_NAN_SIGN used.
3118 (check_complex): Pass TEST_NAN_SIGN flag through to second
3119 check_float_internal call.
3120 (copysign_test_data): Add tests with quiet NaNs as second
3121 argument. Use TEST_NAN_SIGN.
3122 (fabs_test_data): Add test of negative quiet NaN argument. Use
3123 TEST_NAN_SIGN.
3124 (signbit_test_data): Add tests of quiet NaN argument.
3125 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3126
ee1466a9
JM
3127 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3128 $ignore_result.
3129 (parse_args): Handle function results specified as IGNORE.
3130 * math/libm-test.inc (IGNORE_RESULT): New macro.
3131 (check_float_internal): Do not check numerical result if flag
3132 IGNORE_RESULT set.
3133 (check_complex): Pass through IGNORE_RESULT to second
3134 check_float_internal call.
3135 (check_int): Do not check numerical result if flag IGNORE_RESULT
3136 set.
3137 (check_long): Likewise.
3138 (check_bool): Likewise.
3139 (check_longlong): Likewise.
3140 (lrint_test_data): Add tests of infinite and NaN arguments.
3141 (lrint_tonearest_test_data): Likewise.
3142 (lrint_towardzero_test_data): Likewise.
3143 (lrint_downward_test_data): Likewise.
3144 (lrint_upward_test_data): Likewise.
3145 (llrint_test_data): Likewise.
3146 (llrint_tonearest_test_data): Likewise.
3147 (llrint_towardzero_test_data): Likewise.
3148 (llrint_downward_test_data): Likewise.
3149 (llrint_upward_test_data): Likewise.
3150 (lround_test_data): Likewise.
3151 (llround_test_data): Likewise.
3152
14407b7e
JM
3153 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3154 (ERRNO_UNCHANGED): Update value.
3155 (ERRNO_EDOM): Likewise.
3156 (ERRNO_ERANGE): Likewise.
3157 (NO_TEST_INLINE_FLOAT): New macro.
3158 (NO_TEST_INLINE_DOUBLE): Likewise.
3159 (enable_test): New function.
3160 (RUN_TEST_f_f): Check enable_test before running test.
3161 (RUN_TEST_2_f): Likewise.
3162 (RUN_TEST_fff_f): Likewise.
3163 (RUN_TEST_c_f): Likewise.
3164 (RUN_TEST_f_f1): Likewise.
3165 (RUN_TEST_fF_f1): Likewise.
3166 (RUN_TEST_fI_f1): Likewise.
3167 (RUN_TEST_ffI_f1): Likewise.
3168 (RUN_TEST_c_c): Likewise.
3169 (RUN_TEST_cc_c): Likewise.
3170 (RUN_TEST_f_i): Likewise.
3171 (RUN_TEST_f_i_tg): Likewise.
3172 (RUN_TEST_ff_i_tg): Likewise.
3173 (RUN_TEST_f_b): Likewise.
3174 (RUN_TEST_f_b_tg): Likewise.
3175 (RUN_TEST_f_l): Likewise.
3176 (RUN_TEST_f_L): Likewise.
3177 (RUN_TEST_fFF_11): Likewise.
3178 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3179 conditionals.
3180 (cosh_test_data): Likewise.
3181 (exp_test_data): Likewise.
3182 (expm1_test_data): Likewise.
3183 (hypot_test_data): Likewise.
3184 (pow_test_data): Likewise.
3185 (sinh_test_data): Likewise.
3186 (tanh_test_data): Likewise.
3187 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3188 flags argument.
3189
ca07f197
JM
3190 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3191 tests with quiet NaN input and output.
3192 (acosh_test_data): Likewise.
3193 (asin_test_data): Likewise.
3194 (asinh_test_data): Likewise.
3195 (atan_test_data): Likewise.
3196 (atanh_test_data): Likewise.
3197 (atan2_test_data): Likewise.
3198 (cbrt_test_data): Likewise.
3199 (cos_test_data): Likewise.
3200 (cosh_test_data): Likewise.
3201 (erf_test_data): Likewise.
3202 (erfc_test_data): Likewise.
3203 (exp_test_data): Likewise.
3204 (exp10_test_data): Likewise.
3205 (exp2_test_data): Likewise.
3206 (expm1_test_data): Likewise.
3207 (hypot_test_data): Likewise.
3208 (j0_test_data): Likewise.
3209 (j1_test_data): Likewise.
3210 (jn_test_data): Likewise.
3211 (lgamma_test_data): Likewise.
3212 (log_test_data): Likewise.
3213 (log10_test_data): Likewise.
3214 (log1p_test_data): Likewise.
3215 (log2_test_data): Likewise.
3216 (pow_test_data): Likewise.
3217 (scalb_test_data): Likewise.
3218 (sin_test_data): Likewise.
3219 (sincos_test_data): Likewise.
3220 (sinh_test_data): Likewise.
3221 (tan_test_data): Likewise.
3222 (tanh_test_data): Likewise.
3223 (tgamma_test_data): Likewise.
3224 (y0_test_data): Likewise.
3225 (y1_test_data): Likewise.
3226 (yn_test_data): Likewise.
3227
66294491
JM
3228 [BZ #16167]
3229 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3230 argument being NaN and avoid computations with second argument in
3231 that case.
3232 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3233 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3234 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3235
1820b143
CL
32362013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3237
3238 * locale/iso-639.def: Add Chitwani Tharu (the).
3239
714bd261
AS
32402013-11-14 Andreas Schwab <schwab@suse.de>
3241
3242 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3243 word instead of empty string.
3244
7ab44563
AZ
32452013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3246
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3248 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3250 (__fe_nomask_env): Likewise.
3251
e8470ea2
SE
32522013-11-13 Steve Ellcey <sellcey@mips.com>
3253
3254 * benchtests/bench-timing.h: Include time.h.
3255
17c1d9f0
L
32562013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 [BZ #15997]
3259 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3260 to 3.4.0 for x32.
3261 * sysdeps/unix/sysv/linux/configure: Regenerated.
3262
9310c284
JM
32632013-11-13 Joseph Myers <joseph@codesourcery.com>
3264
3265 [BZ #16151]
3266 * stdlib/strtod_l.c (round_and_return): Do not consider
3267 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3268 exponent one less than half the least subnormal exponent.
3269 * stdlib/test-strtod-round-data: Add more tests.
3270 * stdlib/tst-strtod-round.c (tests): Regenerated.
3271
7a2ad8cf
AZ
32722013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273
3274 [BZ #14143]
3275 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3276 (__fe_mask_env): Likewise.
3277 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3278 libm_hidden_proto and add function prototype.
3279 (__fe_mask_env): Add function prototype.
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3281 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3283 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3285 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3286
50727aa7
MS
32872013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3288
b2f386c1 3289 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3290 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3291
a615be46
MS
32922013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3293
3294 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3295 of htab_find_slot().
3296
7ddace62
DM
32972013-11-11 David S. Miller <davem@davemloft.net>
3298
3299 [BZ #16150]
3300 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3301 symbol in the non-vis3 case in static builds.
3302 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3303 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3304 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3305 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3306
9182aa67
JK
33072013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3308
3309 [BZ #387]
3310 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3311 it is empty.
3312
450a2e2d
AZ
33132013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3314
b2f386c1
SP
3315 * benchtests/Makefile: Add bench-strtod.
3316 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3317
8ec3f656
AS
33182013-11-11 Andreas Schwab <schwab@suse.de>
3319
3320 [BZ #16153]
3321 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3322 terminating NUL in key length.
3323
76a9b998
AZ
33242013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325
3326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3327 Add artificial ODP entry for vDSO symbol for PPC64.
3328 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3329 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3330
e4368156
OB
33312013-11-07 Ondřej Bílka <neleai@seznam.cz>
3332
3333 [BZ #15374]
3334 * nss/getent.c (services_keys): Recognize services starting with digit.
3335
8d6bb57c
DM
33362013-11-06 David S. Miller <davem@davemloft.net>
3337
3338 [BZ #15985]
3339 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3340 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3341
e256c421
WN
33422013-11-06 Will Newton <will.newton@linaro.org>
3343
3344 * manual/memory.texi (Malloc Examples): Remove register
3345 keyword from examples.
3346
f6e12daa 33472013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3348
f6e12daa 3349 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3350
9d880655
AS
33512013-11-04 Joseph Myers <joseph@codesourcery.com>
3352
3353 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3354 depending on [__GCC_IEC_559 > 0].
3355 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3356 depending on [__GCC_IEC_559_COMPLEX > 0].
3357
ae129d3c
CL
33582013-11-03 Chris Leonard <cjl@sugarlabs.org>
3359
3360 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3361 to iso-639.def.
3362
4a15c2a4 33632013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3364
3365 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3366
8b35e35d
OB
33672013-11-01 Ondřej Bílka <neleai@seznam.cz>
3368
3369 [BZ #16112]
3370 * malloc/malloc (malloc_info): Do not handle first bin as
3371 special case.
3372
1d70fd6c
CL
33732013-11-01 Chris Leonard <cjl@sugarlabs.org>
3374
3375 * locale/iso-639.def: Add Central Nahuatl (nhn).
3376
8c5c2600
BH
33772013-11-01 Bruno Haible <bruno@clisp.org>
3378
3379 [BZ #7003]
3380 * manual/math.texi (BSD Random): Specify range upper bound as
3381 in POSIX.
3382
da5579c2
CL
33832013-10-31 Chris Leonard <cjl@sugarlabs.org>
3384
3385 * locale/iso-639.def: Add Meadow Mari (mhr).
3386
5d30d853
OB
33872013-10-31 Ondřej Bílka <neleai@seznam.cz>
3388
3389 [BZ #14752], [BZ #15763]
3390 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3391 Validate name.
3392 * rt/tst_shm.c: Add test for escaping directory.
3393
a4966c61
AS
33942013-10-31 Andreas Schwab <schwab@suse.de>
3395
8a43e768 3396 [BZ #15917]
a4966c61
AS
3397 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3398 followed by 'x' as part of digit sequence.
3399 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3400
28d708c4
MAP
34012013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3402
3403 [BZ #16037]
3404 * configure.ac: allow GNU Make 4.0 and greater.
3405 * configure: Regenerated.
3406
a56ee40b
WN
34072013-10-30 Will Newton <will.newton@linaro.org>
3408
3409 [BZ #16038]
3410 * malloc/hooks.c (memalign_check): Limit alignment to the
3411 maximum representable power of two.
3412 * malloc/malloc.c (__libc_memalign): Likewise.
3413 * malloc/tst-memalign.c (do_test): Add test for very
3414 large alignment values.
3415 * malloc/tst-posix_memalign.c (do_test): Likewise.
3416
c6e4925d
OB
34172013-10-30 Ondřej Bílka <neleai@seznam.cz>
3418
3419 [BZ #11087]
3420 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3421 (munmap_chunk): Likewise.
3422 (mremap_chunk): Likewise.
3423
34242013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3425
8a43e768 3426 [BZ #15799]
bbea82f7
OB
3427 * stdlib/div.c (div): Remove obsolete code.
3428 * stdlib/ldiv.c (ldiv): Likewise.
3429 * stdlib/lldiv.c (lldiv): Likewise.
3430
977f4b31
SP
34312013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 [BZ #16071]
3434 * nss/nss_files/files-XXX.c (get_contents_ret): New
3435 enumerator.
3436 (get_contents): New function.
3437 (internal_getent): Use it. Expand size of LINEBUFLEN.
3438
cb8a6dbd
MF
34392013-10-30 Mike Frysinger <vapier@gentoo.org>
3440
3441 * configure.in: Moved to ...
3442 * configure.ac: ... here. Change reference to configure.in
3443 to configure.ac.
3444 * sysdeps/arm/preconfigure.ac: ... here.
3445 configure.in to configure.ac.
3446 * sysdeps/gnu/configure.in: Moved to ...
3447 * sysdeps/gnu/configure.ac: ... here.
3448 * sysdeps/i386/configure.in: Moved to ...
3449 * sysdeps/i386/configure.ac: ... here.
3450 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3451 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3452 * sysdeps/mach/configure.in: Moved to ...
3453 * sysdeps/mach/configure.ac: ... here.
3454 * sysdeps/mach/hurd/configure.in: Moved to ...
3455 * sysdeps/mach/hurd/configure.ac: ... here.
3456 * sysdeps/powerpc/configure.in: Moved to ...
3457 * sysdeps/powerpc/configure.ac: ... here.
3458 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3459 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3460 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3461 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3462 * sysdeps/s390/s390-32/configure.in: Moved to ...
3463 * sysdeps/s390/s390-32/configure.ac: ... here.
3464 * sysdeps/s390/s390-64/configure.in: Moved to ...
3465 * sysdeps/s390/s390-64/configure.ac: ... here.
3466 * sysdeps/sh/configure.in: Moved to ...
3467 * sysdeps/sh/configure.ac: ... here.
3468 * sysdeps/sparc/configure.in: Moved to ...
3469 * sysdeps/sparc/configure.ac: ... here.
3470 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3471 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3472 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3473 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3474 * sysdeps/x86_64/configure.in: Moved to ...
3475 * sysdeps/x86_64/configure.ac: ... here.
3476 * sysdeps/x86_64/preconfigure.in: Moved to ...
3477 * sysdeps/x86_64/preconfigure.ac: ... here.
3478 * aclocal.m4: Change reference to configure.in to configure.ac.
3479 * config.h.in: Likewise.
3480 * manual/install.texi: Likewise.
3481 * manual/maint.texi: Likewise.
3482 * Makefile: Likewise.
3483 * malloc/Makefile: Likewise.
3484 * nscd/Makefile: Likewise.
3485 * Makeconfig: Change reference to configure.in and
3486 preconfigure.in to configure.ac and preconfigure.ac
3487 respectively.
3488 * INSTALL: Regenerated.
3489 * configure: Likewise.
3490 * sysdeps/gnu/configure: Likewise.
3491 * sysdeps/i386/configure: Likewise.
3492 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3493 * sysdeps/mach/configure: Likewise.
3494 * sysdeps/mach/hurd/configure: Likewise.
3495 * sysdeps/powerpc/configure: Likewise.
3496 * sysdeps/powerpc/powerpc32/configure: Likewise.
3497 * sysdeps/powerpc/powerpc64/configure: Likewise.
3498 * sysdeps/s390/s390-32/configure: Likewise.
3499 * sysdeps/s390/s390-64/configure: Likewise.
3500 * sysdeps/sh/configure: Likewise.
3501 * sysdeps/sparc/configure: Likewise.
3502 * sysdeps/unix/sysv/linux/configure: Likewise.
3503 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3504 * sysdeps/x86_64/configure: Likewise.
3505 * sysdeps/x86_64/preconfigure: Likewise.
3506
36a4953a
AS
35072013-10-29 Andreas Schwab <schwab@suse.de>
3508
3509 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3510
c79a1204
SP
35112013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3512
dfa1b402
SP
3513 * benchtests/pow-inputs: Add new inputs.
3514
54f73d9c
SP
3515 * benchtests/exp-inputs: Add new inputs.
3516
c79a1204
SP
3517 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3518 conditional check for return value.
3519 (__cos32): Likewise.
3520
67beb545 35212013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3522
3523 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3524 to provide a boost for large inputs with word alignment.
3525 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3526 implementation based on optimized PPC64 strcpy.
3527 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3528 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3529 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3530 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3531
151659f6
OB
35322013-10-25 Ondřej Bílka <neleai@seznam.cz>
3533
482a077e 3534 [BZ #2801]
151659f6
OB
3535 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3536
10b0f26b
OB
35372013-10-25 Ondřej Bílka <neleai@seznam.cz>
3538
3539 [BZ #14876]
3540 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3541 * time/tst-strptime.c (day_tests): Add testcase.
3542
ca42d35e
OB
35432013-10-25 Ondřej Bílka <neleai@seznam.cz>
3544
482a077e 3545 [BZ #14029]
ca42d35e
OB
3546 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3547
52e6d801
FB
35482013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3549
3550 [BZ #16074]
3551 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3552 MAP_FAILED on error.
3553
7cbcdb36
SP
35542013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3555
3556 [BZ #16072]
3557 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3558 heap for large requests.
3559
894f3f10
AM
35602013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3561
3562 [BZ #9954]
3563 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3564 result if the result has no associated interface.
3565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3566 interface for all 127.X.Y.Z addresses.
3567
b85545a6
CL
35682013-10-24 Chris Leonard <cjl@sugarlabs.org>
3569
3570 * locale/iso-639.def: Add Ligurian (lij)
3571
d1f23d46
OB
35722013-10-21 Ondřej Bílka <neleai@seznam.cz>
3573
3574 [BZ #15825]
3575 * sunrpc/rpc_main.c: Document rpcgen -5.
3576
4db5b08f
MS
35772013-10-19 Michael Stahl <mstahl@redhat.com>
3578
3579 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3580
a471e96a
OB
35812013-10-19 Ondřej Bílka <neleai@seznam.cz>
3582
d1f23d46 3583 [BZ #10278]
a471e96a
OB
3584 * posix/glob.c: Match only directories when trailing slash is present.
3585 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3586 (main): Add testcase.
3587
45c30c61
OB
35882013-10-19 Ondřej Bílka <neleai@seznam.cz>
3589
3590 [BZ #15670]
3591 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3592
484c12fb
CD
35932013-10-18 Carlos O'Donell <carlos@redhat.com>
3594
3d7dc513
CD
3595 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3596 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3597 AUTH_DES and cindex for FIPS 140-2.
3598 (DES Encryption): Add cindex FIPS 46-3.
3599
484c12fb
CD
3600 * locale/locarchive.h (struct locarhandle): Add fname.
3601 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3602 if an optional argument was specified to --list-archive,
3603 otherwise NULL.
3604 * locale/programs/locarchive.c (show_archive_content): Take new
3605 argument fname and pass it via ah.fname to open_archive.
3606 * locale/programs/localedef.h: Update decl.
3607 (open_archive): If AH->fname is non-null, open that file
3608 rather than the default file name, and don't ignore ENOENT.
3609 (create_archive): Set AH.fname to NULL.
3610 (delete_locales_from_archive): Likewise.
3611 (add_locales_to_archive): Likewise.
3612 * locale/programs/locfile.c (write_all_categories): Likewise.
3613
3c8325fb
JM
36142013-10-18 Joseph Myers <joseph@codesourcery.com>
3615 Aldy Hernandez <aldyh@redhat.com>
3616
3617 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3618 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3624 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3625 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3627 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3628 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3629 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3630 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3631 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3632 Likewise.
3633 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3634 Likewise.
3635 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3636 Likewise.
3637 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3638 Likewise.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3640 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3641 Likewise.
3642 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3643 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3644 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3645 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3646 Likewise.
3647 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3648 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3649 * sysdeps/powerpc/preconfigure: Likewise.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3651 Likewise.
3652 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3653 Replace contents of file by #include of <fenv_libc.h>.
3654 * sysdeps/powerpc/soft-fp/sfp-machine.h
3655 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3656 and <sys/prctl.h>.
3657 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3670 Allow copysignl PLT reference to be missing.
3671
5abe0682
RS
36722013-10-18 Richard Sandiford <richard@codesourcery.com>
3673 Joseph Myers <joseph@codesourcery.com
3674
3675 [BZ #15948]
3676 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3677 single character.
3678 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3679
c7738d08
SP
36802013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3681
3682 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3683 * elf/tst-tls1.c: Likewise.
3684 * elf/tst-tls10.h: Likewise.
3685 * elf/tst-tls14.c: Likewise.
3686 * elf/tst-tls2.c: Likewise.
3687 * elf/tst-tls3.c: Likewise.
3688 * elf/tst-tls4.c: Likewise.
3689 * elf/tst-tls5.c: Likewise.
3690 * elf/tst-tls6.c: Likewise.
3691 * elf/tst-tls7.c: Likewise.
3692 * elf/tst-tls8.c: Likewise.
3693 * elf/tst-tls9.c: Likewise.
3694 * elf/tst-tlsmod1.c: Likewise.
3695 * elf/tst-tlsmod13.c: Likewise.
3696 * elf/tst-tlsmod13a.c: Likewise.
3697 * elf/tst-tlsmod14a.c: Likewise.
3698 * elf/tst-tlsmod16a.c: Likewise.
3699 * elf/tst-tlsmod16b.c: Likewise.
3700 * elf/tst-tlsmod2.c: Likewise.
3701 * elf/tst-tlsmod3.c: Likewise.
3702 * elf/tst-tlsmod4.c: Likewise.
3703 * elf/tst-tlsmod5.c: Likewise.
3704 * elf/tst-tlsmod6.c: Likewise.
3705
0bfcf2c7
OB
37062013-10-18 Ondřej Bílka <neleai@seznam.cz>
3707
3708 [BZ #12486]
3709 * malloc/malloc.c: remove checks for statistics.
3710
264aad1e
OB
37112013-10-17 Ondřej Bílka <neleai@seznam.cz>
3712
3713 [BZ #15277]
3714 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3715 * inet/tst-network.c: Add testcase.
3716
b957ced8
AS
37172013-10-17 Andreas Schwab <schwab@suse.de>
3718
3719 [BZ #15218]
3720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3721 to determine canonical name.
3722
c5d5d574
OB
37232013-10-17 Ondřej Bílka <neleai@seznam.cz>
3724
3725 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3726 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3749 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3750 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3783
e5c2c2d0
JM
37842013-10-17 Joseph Myers <joseph@codesourcery.com>
3785
3786 [BZ #16041]
3787 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3788 make result into a quiet NaN.
3789
51ca9e29
JM
37902013-10-16 Joseph Myers <joseph@codesourcery.com>
3791
3792 * soft-fp/adddf3.c: Fix horizontal whitespace.
3793 * soft-fp/addsf3.c: Likewise.
3794 * soft-fp/addtf3.c: Likewise.
3795 * soft-fp/divdf3.c: Likewise.
3796 * soft-fp/divsf3.c: Likewise.
3797 * soft-fp/divtf3.c: Likewise.
3798 * soft-fp/double.h: Likewise.
3799 * soft-fp/eqdf2.c: Likewise.
3800 * soft-fp/eqsf2.c: Likewise.
3801 * soft-fp/eqtf2.c: Likewise.
3802 * soft-fp/extenddftf2.c: Likewise.
3803 * soft-fp/extended.h: Likewise.
3804 * soft-fp/extendsfdf2.c: Likewise.
3805 * soft-fp/extendsftf2.c: Likewise.
3806 * soft-fp/extendxftf2.c: Likewise.
3807 * soft-fp/fixdfdi.c: Likewise.
3808 * soft-fp/fixdfsi.c: Likewise.
3809 * soft-fp/fixdfti.c: Likewise.
3810 * soft-fp/fixsfdi.c: Likewise.
3811 * soft-fp/fixsfsi.c: Likewise.
3812 * soft-fp/fixsfti.c: Likewise.
3813 * soft-fp/fixtfdi.c: Likewise.
3814 * soft-fp/fixtfsi.c: Likewise.
3815 * soft-fp/fixtfti.c: Likewise.
3816 * soft-fp/fixunsdfdi.c: Likewise.
3817 * soft-fp/fixunsdfsi.c: Likewise.
3818 * soft-fp/fixunsdfti.c: Likewise.
3819 * soft-fp/fixunssfdi.c: Likewise.
3820 * soft-fp/fixunssfsi.c: Likewise.
3821 * soft-fp/fixunssfti.c: Likewise.
3822 * soft-fp/fixunstfdi.c: Likewise.
3823 * soft-fp/fixunstfsi.c: Likewise.
3824 * soft-fp/fixunstfti.c: Likewise.
3825 * soft-fp/floatdidf.c: Likewise.
3826 * soft-fp/floatdisf.c: Likewise.
3827 * soft-fp/floatditf.c: Likewise.
3828 * soft-fp/floatsidf.c: Likewise.
3829 * soft-fp/floatsisf.c: Likewise.
3830 * soft-fp/floatsitf.c: Likewise.
3831 * soft-fp/floattidf.c: Likewise.
3832 * soft-fp/floattisf.c: Likewise.
3833 * soft-fp/floattitf.c: Likewise.
3834 * soft-fp/floatundidf.c: Likewise.
3835 * soft-fp/floatundisf.c: Likewise.
3836 * soft-fp/floatunditf.c: Likewise.
3837 * soft-fp/floatunsidf.c: Likewise.
3838 * soft-fp/floatunsisf.c: Likewise.
3839 * soft-fp/floatunsitf.c: Likewise.
3840 * soft-fp/floatuntidf.c: Likewise.
3841 * soft-fp/floatuntisf.c: Likewise.
3842 * soft-fp/floatuntitf.c: Likewise.
3843 * soft-fp/fmadf4.c: Likewise.
3844 * soft-fp/fmasf4.c: Likewise.
3845 * soft-fp/fmatf4.c: Likewise.
3846 * soft-fp/gedf2.c: Likewise.
3847 * soft-fp/gesf2.c: Likewise.
3848 * soft-fp/getf2.c: Likewise.
3849 * soft-fp/ledf2.c: Likewise.
3850 * soft-fp/lesf2.c: Likewise.
3851 * soft-fp/letf2.c: Likewise.
3852 * soft-fp/muldf3.c: Likewise.
3853 * soft-fp/mulsf3.c: Likewise.
3854 * soft-fp/multf3.c: Likewise.
3855 * soft-fp/negdf2.c: Likewise.
3856 * soft-fp/negsf2.c: Likewise.
3857 * soft-fp/negtf2.c: Likewise.
3858 * soft-fp/op-1.h: Likewise.
3859 * soft-fp/op-2.h: Likewise.
3860 * soft-fp/op-4.h: Likewise.
3861 * soft-fp/op-8.h: Likewise.
3862 * soft-fp/op-common.h: Likewise.
3863 * soft-fp/quad.h: Likewise.
3864 * soft-fp/single.h: Likewise.
3865 * soft-fp/soft-fp.h: Likewise.
3866 * soft-fp/sqrtdf2.c: Likewise.
3867 * soft-fp/sqrtsf2.c: Likewise.
3868 * soft-fp/sqrttf2.c: Likewise.
3869 * soft-fp/subdf3.c: Likewise.
3870 * soft-fp/subsf3.c: Likewise.
3871 * soft-fp/subtf3.c: Likewise.
3872 * soft-fp/truncdfsf2.c: Likewise.
3873 * soft-fp/trunctfdf2.c: Likewise.
3874 * soft-fp/trunctfsf2.c: Likewise.
3875 * soft-fp/trunctfxf2.c: Likewise.
3876 * soft-fp/unorddf2.c: Likewise.
3877 * soft-fp/unordsf2.c: Likewise.
3878 * soft-fp/unordtf2.c: Likewise.
3879
9ebb0332
JM
38802013-10-15 Joseph Myers <joseph@codesourcery.com>
3881
3882 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3883 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3884
4b1a6d8b
OB
38852013-10-15 Ondřej Bílka <neleai@seznam.cz>
3886
3887 * elf/dl-libc.c: Clear initfini list after freeing.
3888
1e145589
JM
38892013-10-14 Joseph Myers <joseph@codesourcery.com>
3890
3891 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3892 * soft-fp/addsf3.c: Likewise.
3893 * soft-fp/addtf3.c: Likewise.
3894 * soft-fp/divdf3.c: Likewise.
3895 * soft-fp/divsf3.c: Likewise.
3896 * soft-fp/divtf3.c: Likewise.
3897 * soft-fp/double.h: Likewise.
3898 * soft-fp/eqdf2.c: Likewise.
3899 * soft-fp/eqsf2.c: Likewise.
3900 * soft-fp/eqtf2.c: Likewise.
3901 * soft-fp/extenddftf2.c: Likewise.
3902 * soft-fp/extended.h: Likewise.
3903 * soft-fp/extendsfdf2.c: Likewise.
3904 * soft-fp/extendsftf2.c: Likewise.
3905 * soft-fp/extendxftf2.c: Likewise.
3906 * soft-fp/fixdfdi.c: Likewise.
3907 * soft-fp/fixdfsi.c: Likewise.
3908 * soft-fp/fixdfti.c: Likewise.
3909 * soft-fp/fixsfdi.c: Likewise.
3910 * soft-fp/fixsfsi.c: Likewise.
3911 * soft-fp/fixsfti.c: Likewise.
3912 * soft-fp/fixtfdi.c: Likewise.
3913 * soft-fp/fixtfsi.c: Likewise.
3914 * soft-fp/fixtfti.c: Likewise.
3915 * soft-fp/fixunsdfdi.c: Likewise.
3916 * soft-fp/fixunsdfsi.c: Likewise.
3917 * soft-fp/fixunsdfti.c: Likewise.
3918 * soft-fp/fixunssfdi.c: Likewise.
3919 * soft-fp/fixunssfsi.c: Likewise.
3920 * soft-fp/fixunssfti.c: Likewise.
3921 * soft-fp/fixunstfdi.c: Likewise.
3922 * soft-fp/fixunstfsi.c: Likewise.
3923 * soft-fp/fixunstfti.c: Likewise.
3924 * soft-fp/floatdidf.c: Likewise.
3925 * soft-fp/floatdisf.c: Likewise.
3926 * soft-fp/floatditf.c: Likewise.
3927 * soft-fp/floatsidf.c: Likewise.
3928 * soft-fp/floatsisf.c: Likewise.
3929 * soft-fp/floatsitf.c: Likewise.
3930 * soft-fp/floattidf.c: Likewise.
3931 * soft-fp/floattisf.c: Likewise.
3932 * soft-fp/floattitf.c: Likewise.
3933 * soft-fp/floatundidf.c: Likewise.
3934 * soft-fp/floatundisf.c: Likewise.
3935 * soft-fp/floatunsidf.c: Likewise.
3936 * soft-fp/floatunsisf.c: Likewise.
3937 * soft-fp/floatuntidf.c: Likewise.
3938 * soft-fp/floatuntisf.c: Likewise.
3939 * soft-fp/floatuntitf.c: Likewise.
3940 * soft-fp/fmadf4.c: Likewise.
3941 * soft-fp/fmasf4.c: Likewise.
3942 * soft-fp/fmatf4.c: Likewise.
3943 * soft-fp/gedf2.c: Likewise.
3944 * soft-fp/gesf2.c: Likewise.
3945 * soft-fp/getf2.c: Likewise.
3946 * soft-fp/ledf2.c: Likewise.
3947 * soft-fp/lesf2.c: Likewise.
3948 * soft-fp/letf2.c: Likewise.
3949 * soft-fp/muldf3.c: Likewise.
3950 * soft-fp/mulsf3.c: Likewise.
3951 * soft-fp/multf3.c: Likewise.
3952 * soft-fp/negdf2.c: Likewise.
3953 * soft-fp/negsf2.c: Likewise.
3954 * soft-fp/negtf2.c: Likewise.
3955 * soft-fp/op-1.h: Likewise.
3956 * soft-fp/op-2.h: Likewise.
3957 * soft-fp/op-4.h: Likewise.
3958 * soft-fp/op-8.h: Likewise.
3959 * soft-fp/op-common.h: Likewise.
3960 * soft-fp/quad.h: Likewise.
3961 * soft-fp/single.h: Likewise.
3962 * soft-fp/soft-fp.h: Likewise.
3963 * soft-fp/sqrtdf2.c: Likewise.
3964 * soft-fp/sqrtsf2.c: Likewise.
3965 * soft-fp/sqrttf2.c: Likewise.
3966 * soft-fp/subdf3.c: Likewise.
3967 * soft-fp/subsf3.c: Likewise.
3968 * soft-fp/subtf3.c: Likewise.
3969 * soft-fp/truncdfsf2.c: Likewise.
3970 * soft-fp/trunctfdf2.c: Likewise.
3971 * soft-fp/trunctfsf2.c: Likewise.
3972 * soft-fp/trunctfxf2.c: Likewise.
3973 * soft-fp/unorddf2.c: Likewise.
3974 * soft-fp/unordsf2.c: Likewise.
3975 * soft-fp/unordtf2.c: Likewise.
3976
17c48a60
OB
39772013-10-14 Ondřej Bílka <neleai@seznam.cz>
3978
3979 [BZ #15672]
3980 * misc/error.c (error_tail): Fix possible buffer overflow.
3981
cabba934
OB
39822013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3983
3984 [BZ #13028]
3985 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3986 address.
3987
94bf958a
PM
39882013-10-14 P. J. McDermott <pj@pehjota.net>
3989
3990 [BZ #832]
3991 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3992 testing pipefail option.
3993
71b4dea7
JM
39942013-10-12 Joseph Myers <joseph@codesourcery.com>
3995
3996 * soft-fp/double.h: Indent preprocessor directives inside #if.
3997 * soft-fp/extended.h: Likewise.
3998 * soft-fp/op-2.h: Likewise.
3999 * soft-fp/op-4.h: Likewise.
4000 * soft-fp/op-common.h: Likewise.
4001 * soft-fp/quad.h: Likewise.
4002 * soft-fp/single.h: Likewise.
4003 * soft-fp/soft-fp.h: Likewise.
4004
55602758
YC
40052013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4006
4007 * iconv/iconv_prog.c: Fix typos.
4008 * stdio-common/psiginfo-data.h: Likewise.
4009
9cd83302
RT
40102013-10-12 Reuben Thomas <rrt@sc3d.org>
4011
4012 [BZ #15764]
4013 * locale/setlocale.c: Fix typo.
4014
99fd9f47
JM
40152013-10-12 Joseph Myers <joseph@codesourcery.com>
4016
b7ea74f0
JM
4017 [BZ #16036]
4018 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4019 signaling NaN arguments.
4020 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4021 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4022
8a509447
JM
4023 [BZ #14910]
4024 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4025 unordered operands.
4026 * soft-fp/gesf2.c (__gesf2): Likewise.
4027 * soft-fp/getf2.c (__getf2): Likewise.
4028 * soft-fp/ledf2.c (__ledf2): Likewise.
4029 * soft-fp/lesf2.c (__lesf2): Likewise.
4030 * soft-fp/letf2.c (__letf2): Likewise.
4031
98998e9f
JM
4032 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4033 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4034 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4035 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4036 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4037 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4038 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4039 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4040 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4041 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4042 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4043 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4044 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4045 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4046 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4047 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4048 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4049 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4050 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4051 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4052 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4053 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4054 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4055 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4056 * soft-fp/floattidf.c (__floattidf): Likewise.
4057 * soft-fp/floattisf.c (__floattisf): Likewise.
4058 * soft-fp/floattitf.c (__floattitf): Likewise.
4059 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4060 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4061 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4062 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4063 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4064 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4065 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4066 * soft-fp/gesf2.c (__gesf2): Likewise.
4067 * soft-fp/getf2.c (__getf2): Likewise.
4068 * soft-fp/ledf2.c (__ledf2): Likewise.
4069 * soft-fp/lesf2.c (__lesf2): Likewise.
4070 * soft-fp/letf2.c (__letf2): Likewise.
4071
8edc4a11
JM
4072 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4073 Undefine and redefine.
4074 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4075 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4076 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4077 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4078 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4079 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4080 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4081 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4082 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4083 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4084 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4085 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4086 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4087 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4088 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4089
8399acaf
JM
4090 [BZ #16032]
4091 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4092 without decrementing exponent if mantissa >= that for the
4093 denominator, not >.
4094 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4095 denominator, not >. Decrement exponent in < case instead of
4096 incrementing in >= case.
4097 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4098 without decrementing exponent if mantissa >= that for the
4099 denominator, not >.
4100
99fd9f47
JM
4101 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4102 computing saturated result for unsigned overflow.
4103
10e1cf6b
SP
41042013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4105 Jeff Law <law@redhat.com>
4106
4107 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4108 (atan2Mp): Add systemtap probe marker.
4109 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4110 (__ieee754_log): Add systemtap probe marker.
4111 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4112 (atanMp): Add systemtap probe marker.
4113 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4114 (tanMp): Add systemtap probe marker.
4115 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4116 (__slowexp): Add systemtap probe marker.
4117 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4118 (__slowpow): Add systemtap probe marker.
4119 * manual/probes.texi: Document probes.
4120
3d110c7c
EB
41212013-10-11 Eric Biggers <ebiggers3@gmail.com>
4122
4123 [BZ #15362]
4124 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4125 written.
4126 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4127 written.
4128 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4129 written to buffer but not flushed.
4130 * libio/iofwrite_u.c: Likewise.
4131 * libio/iopadn.c: Return bytes returned even if EOF was
4132 encountered.
4133 * libio/iowpadn.c: Likewise.
4134 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4135 if _IO_padn does not write the whole buffer.
4136 [!COMPILE_WPRINTF] (PAD): Likewise.
4137
75b4202a
DM
41382013-10-10 David S. Miller <davem@davemloft.net>
4139
4140 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4141 directory block.
4142
6c6352e6
JM
41432013-10-10 Joseph Myers <joseph@codesourcery.com>
4144
33b853c3
JM
4145 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4146 instead of FSF address.
4147 * soft-fp/fixdfti.c: Likewise.
4148 * soft-fp/fixsfti.c: Likewise.
4149 * soft-fp/fixtfti.c: Likewise.
4150 * soft-fp/fixunsdfti.c: Likewise.
4151 * soft-fp/fixunssfti.c: Likewise.
4152 * soft-fp/fixunstfti.c: Likewise.
4153 * soft-fp/floattidf.c: Likewise.
4154 * soft-fp/floattisf.c: Likewise.
4155 * soft-fp/floattitf.c: Likewise.
4156 * soft-fp/floatuntidf.c: Likewise.
4157 * soft-fp/floatuntisf.c: Likewise.
4158 * soft-fp/floatuntitf.c: Likewise.
4159 * soft-fp/trunctfxf2.c: Likewise.
4160
6c6352e6
JM
4161 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4162 * soft-fp/fixdfti.c: Likewise.
4163 * soft-fp/fixsfti.c: Likewise.
4164 * soft-fp/fixtfti.c: Likewise.
4165 * soft-fp/fixunsdfti.c: Likewise.
4166 * soft-fp/fixunssfti.c: Likewise.
4167 * soft-fp/fixunstfti.c: Likewise.
4168 * soft-fp/floattidf.c: Likewise.
4169 * soft-fp/floattisf.c: Likewise.
4170 * soft-fp/floattitf.c: Likewise.
4171 * soft-fp/floatuntidf.c: Likewise.
4172 * soft-fp/floatuntisf.c: Likewise.
4173 * soft-fp/floatuntitf.c: Likewise.
4174 * soft-fp/trunctfxf2.c: Likewise.
4175
3bf78b71
DM
41762013-10-10 David S. Miller <davem@davemloft.net>
4177
4178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4179
6f10289e
JM
41802013-10-10 Joseph Myers <joseph@codsourcery.com>
4181
bd878fc0
JM
4182 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4183 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4184 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4185 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4186 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4187 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4188 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4189
6f10289e
JM
4190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4191 for NaNs before doing comparisons on argument.
4192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4193 Likewise.
4194
321e2684
WN
41952013-10-10 Will Newton <will.newton@linaro.org>
4196
4197 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4198 passed to _int_memalign does not overflow.
4199
40fefba1
TR
42002013-10-10 Torvald Riegel <triegel@redhat.com>
4201
4202 * scripts/bench.pl: Add include-sources directive.
4203 * benchtests/README: Update documentation.
4204
2ae21ed2
JM
42052013-10-10 Joseph Myers <joseph@codesourcery.com>
4206
dcc2dd3f
JM
4207 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4208 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4209 instead of FP_INIT_ROUNDMODE.
4210 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4211 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4212
2ae21ed2
JM
4213 [BZ #16034]
4214 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4215 copy class of input value.
4216 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4217 not handle exceptions.
4218 * soft-fp/negsf2.c (__negsf2): Likewise.
4219 * soft-fp/negtf2.c (__negtf2): Likewise.
4220 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4221
cb8f9562
JM
42222013-10-09 Joseph Myers <joseph@codesourcery.com>
4223
4224 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4225 semicolon. From Linux kernel.
4226
5b60c59d
AB
42272013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4228
4229 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4230
b86835ca
YC
42312013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4232
4233 [BZ #156]
4234 * manual/socket.texi: Added statement about buffer
4235 for gethostbyname2_r.
4236
e7044ea7
OB
42372013-10-08 Ondřej Bílka <neleai@seznam.cz>
4238
4239 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4240 Use .p2align directive instead, throughout.
4241 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4242 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4243 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4246 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4247 * sysdeps/x86_64/strchr.S: Likewise.
4248 * sysdeps/x86_64/strrchr.S: Likewise.
4249
09544cbc
SP
42502013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4251
88576635
SP
4252 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4253
e7b2d1dd
SP
4254 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4255
09544cbc
SP
4256 * sysdeps/generic/math_private.h (__mpsin1): Remove
4257 declaration.
4258 (__mpcos1): Likewise.
4259 (__mpsin): New argument __range_reduce.
4260 (__mpcos): Likewise.
4261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4262 (slow): Use __mpsin and __mpcos.
4263 (slow1): Likewise.
4264 (slow2): Likewise.
4265 (sloww): Likewise.
4266 (sloww1): Likewise.
4267 (sloww2): Likewise.
4268 (bsloww): Likewise.
4269 (bsloww1): Likewise.
4270 (bsloww2): Likewise.
4271 (cslow2): Likewise.
4272 (csloww): Likewise.
4273 (csloww1): Likewise.
4274 (csloww2): Likewise.
4275 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4276 range_reduce. Merge in __mpsin1.
4277 (__mpcos): Likewise.
4278 (__mpsin1): Remove.
4279 (__mpcos1): Likewise.
4280
7602d070
JM
42812013-10-07 Joseph Myers <joseph@codesourcery.com>
4282
4283 * locale/loadlocale.c (_nl_intern_locale_data): Use
4284 LOCFILE_ALIGNED_P.
4285 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4286 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4287 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4288 obstack data is appropriately aligned.
4289 (obstack_int32_grow_fast): Likewise.
4290 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4291 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4292 (add_locale_uint32_array): Likewise.
4293
a357259b
SP
42942013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4295
4296 * benchtests/Makefile: Remove ARGLIST and RET variables.
4297 ($(objpfx)bench-%.c): Pass only function name to the script.
4298 * benchtests/README: Update documentation.
4299 * benchtests/acos-inputs: Add new directives.
4300 * benchtests/acosh-inputs: Likewise.
4301 * benchtests/asin-inputs: Likewise.
4302 * benchtests/asinh-inputs: Likewise.
4303 * benchtests/atan-inputs: Likewise.
4304 * benchtests/atanh-inputs: Likewise.
4305 * benchtests/cos-inputs: Likewise.
4306 * benchtests/cosh-inputs: Likewise.
4307 * benchtests/exp-inputs: Likewise.
4308 * benchtests/log-inputs: Likewise.
4309 * benchtests/pow-inputs: Likewise.
4310 * benchtests/rint-inputs: Likewise.
4311 * benchtests/sin-inputs: Likewise.
4312 * benchtests/sinh-inputs: Likewise.
4313 * benchtests/tan-inputs: Likewise.
4314 * benchtests/tanh-inputs: Likewise.
4315 * scripts/bench.pl: Add support for new directives.
4316
9ec1b13d
AM
43172013-10-07 Alan Modra <amodra@gmail.com>
4318
4319 * README: Fix careless merge.
4320
8b7d57cd
AM
43212013-10-05 Alan Modra <amodra@gmail.com>
4322
4323 * NEWS: Mention powerpc64le support and bugs fixed.
4324 * README: Both big-endian and little-endian powerpc64 supported.
4325
7b7bab13
ST
43262013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4327
4328 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4329 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4330 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4331 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4332
d39baad1
RA
43332013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4334
4335 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4336 match prototype.
4337
cd78f7e7
JM
43382013-10-04 Joseph Myers <joseph@codesourcery.com>
4339
29d73d86
JM
4340 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4341 Move -mhard-float appending from
4342 ports/sysdeps/powerpc/powerpc32/Makefile.
4343 [$(with-fp) = yes] (ASFLAGS): Likewise.
4344 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4345 * sysdeps/powerpc/nofpu: Move directory from
4346 ports/sysdeps/powerpc/nofpu.
4347 * sysdeps/powerpc/soft-fp: Move directory from
4348 ports/sysdeps/powerpc/soft-fp.
4349 * sysdeps/powerpc/powerpc32/405: Move directory from
4350 ports/sysdeps/powerpc/powerpc32/405.
4351 * sysdeps/powerpc/powerpc32/440: Move directory from
4352 ports/sysdeps/powerpc/powerpc32/440.
4353 * sysdeps/powerpc/powerpc32/464: Move directory from
4354 ports/sysdeps/powerpc/powerpc32/464.
4355 * sysdeps/powerpc/powerpc32/476: Move directory from
4356 ports/sysdeps/powerpc/powerpc32/476.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4362 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4364 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4367 * README: Update for powerpc-*-linux-gnu software floating point
4368 support in libc.
4369
e246b347
JM
4370 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4371 case to powerpc/powerpc32*.
4372 * sysdeps/unix/sysv/linux/configure: Regenerated.
4373
89c2003e
JM
4374 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4375 (_FPU_MASK_OM): Define as 0x04.
4376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4378 0x00c10080.
4379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4380 0x0000003c.
4381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4382
cd78f7e7
JM
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4384 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4385 getcontext_e500.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4387 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4388 setcontext_e500.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4390 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4391 and setcontext_e500.
4392
c755294d
CL
43932013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4394
4395 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4396
e16d221c
SP
43972013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4398
4399 * manual/threads.texi (Default Thread Attributes): Fix typo.
4400
215c7d43
WN
44012013-10-04 Will Newton <will.newton@linaro.org>
4402
4403 * malloc/Makefile: Add tst-memalign.
4404 * malloc/tst-memalign.c: New file.
4405
27d0461b
WN
4406 * malloc/tst-posix_memalign.c: Add comments.
4407 (do_test): Add comments and call free on all potentially
4408 allocated pointers. Add space after cast.
4409
1bc92709
WN
4410 * malloc/tst-pvalloc.c: Add comments.
4411 (do_test): Add comments and call free on all potentially
4412 allocated pointers. Remove duplicate check for NULL pointer.
4413 Add space after cast.
4414
66a9be9d
WN
4415 * malloc/tst-valloc.c: Add comments.
4416 (do_test): Add comments and call free on all potentially
4417 allocated pointers. Remove duplicate check for NULL pointer.
4418 Add space after cast.
4419
4cb81307
AM
44202013-10-04 Alan Modra <amodra@gmail.com>
4421
4422 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4423 Use stdint types in rather than __attribute__((mode())).
4424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4425
f8e3e9f3
AM
44262013-10-04 Alan Modra <amodra@gmail.com>
4427
4428 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4429 Correct handling of unaligned relocs for little-endian.
4430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4431
8f9ebb08
AM
44322013-10-04 Alan Modra <amodra@gmail.com>
4433
4434 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4435 * configure: Regenerate.
4436 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4437 * shlib-versions: Likewise.
4438
0edf96c2
AM
44392013-10-04 Alan Modra <amodra@gmail.com>
4440
4441 * string/tester.c (test_memrchr): Increment reported test cycle.
4442
e0f7a380
AM
44432013-10-04 Alan Modra <amodra@gmail.com>
4444
4445 * string/test-memcpy.c (do_one_test): When reporting errors, print
4446 string address and don't overrun end of string.
4447
466b0393
AM
44482013-10-04 Alan Modra <amodra@gmail.com>
4449
4450 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4451 insrdi. Make better use of reg selection to speed exit slightly.
4452 Schedule entry path a little better. Remove useless "are we done"
4453 checks on entry to main loop. Handle wrapping around zero address.
4454 Correct main loop count. Handle single left-over word from main
4455 loop inline rather than by using loop_small. Remove extra word
4456 case in loop_small caused by wrong loop count. Add little-endian
4457 support.
4458 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4460 cache hint.
4461 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4463 support. Avoid rlwimi.
4464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4465
3be87c77
AM
44662013-10-04 Alan Modra <amodra@gmail.com>
4467
4468 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4469 insrdi. Formatting.
3be87c77
AM
4470 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4471 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4472 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4473 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4474 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4475 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4476
759cfef3
AM
44772013-10-04 Alan Modra <amodra@gmail.com>
4478
4479 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4481 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4482 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4484 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4485 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4486 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4488 use of regs. Use power7 mtocrf. Tidy function tails.
4489
fe6e95d7
AM
44902013-10-04 Alan Modra <amodra@gmail.com>
4491
4492 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4493 Formatting. Consistently use rXXX register defines or rN defines.
4494 Use early exit labels that avoid restoring unused non-volatile regs.
4495 Make cr field use more consistent with rWORDn compares. Rename
4496 regs used as shift registers for unaligned loop, using rN defines
4497 for short lifetime/multiple use regs.
4498 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4500 addi 1,1,64 to pop stack frame. Simplify return value code.
4501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4502
664318c3
AM
45032013-10-04 Alan Modra <amodra@gmail.com>
4504
4505 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4506 support. Correct typos, formatting. Optimize tail. Use insrdi
4507 rather than rlwimi.
4508 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4509 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4510 little-endian support. Correct typos.
4511 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4512 rather than rlwimi.
4513 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4514 in loop and entry code to keep "and." results.
4515 (strchr): Add little-endian support. Comment. Move cntlzd
4516 earlier in tail.
4517 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4518
43b84013
AM
45192013-10-04 Alan Modra <amodra@gmail.com>
4520
4521 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4522 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4523 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4524 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4525
8a7413f9
AM
45262013-10-04 Alan Modra <amodra@gmail.com>
4527
4528 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4529 (rTMP): Define as r11.
4530 (strcmp): Add little-endian support. Optimise tail.
4531 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4532 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4533 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4534 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4535 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4538
33ee81de
AM
45392013-10-04 Alan Modra <amodra@gmail.com>
4540
4541 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4542 little-endian support. Remove unnecessary "are we done" tests.
4543 Handle "s" wrapping around zero and extremely large "size".
4544 Correct main loop count. Handle single left-over word from main
4545 loop inline rather than by using small_loop. Correct comments.
4546 Delete "zero" tail, use "end_max" instead.
4547 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4548
db9b4570
AM
45492013-10-04 Alan Modra <amodra@gmail.com>
4550
4551 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4552 support. Don't branch over align.
4553 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4554 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4555 support. Rearrange tmp reg use to suit. Comment.
4556 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4557
f7c399cf
AM
45582013-10-04 Alan Modra <amodra@gmail.com>
4559
4560 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4561
0b2c2ace
AM
45622013-10-04 Alan Modra <amodra@gmail.com>
4563
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4565 conditional form of branch and link when obtaining pc.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4567
02f04a6c
AM
45682013-10-04 Alan Modra <amodra@gmail.com>
4569
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4571 HIWORD/LOWORD.
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4574
9b874b2f
AM
45752013-10-04 Alan Modra <amodra@gmail.com>
4576
4577 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4578 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4579 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4580 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4581 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4582 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4583 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4584 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4585 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4586 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4587
be1e5d31
AB
45882013-10-04 Anton Blanchard <anton@au1.ibm.com>
4589 Alistair Popple <alistair@ozlabs.au.ibm.com>
4590 Alan Modra <amodra@gmail.com>
4591
4592 [BZ #15723]
4593 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4594 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4595 _dl_hwcap access for little-endian.
4596 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4597 destroy vmx regs when saving unaligned.
4598 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4600 destroy vmx regs when saving unaligned.
4601
fef13a78
AM
46022013-10-04 Alan Modra <amodra@gmail.com>
4603
4604 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4605 Don't use a union to pack hi/low value.
4606
76a66d51
AB
46072013-10-04 Anton Blanchard <anton@au1.ibm.com>
4608
4609 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4610 for little-endian.
4611 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4613 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4614 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4615 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4616
6a31fe7f
AM
46172013-10-04 Alan Modra <amodra@gmail.com>
4618
4619 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4620 constants to usual value for .cst8 section, and remove redundant
4621 high address load.
4622 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4623 constant for 0x1p52. Load little-endian words of double from
4624 correct stack offsets.
4625
7b88401f
AM
46262013-10-04 Alan Modra <amodra@gmail.com>
4627
4628 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4629 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4630 words of double from correct stack offsets.
4631 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4638 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4639 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4645 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4646 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4647 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4648
9c008155
AM
46492013-10-04 Alan Modra <amodra@gmail.com>
4650
4651 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4652 64-bit int/double union.
4653 (_FPU_SETCW): Likewise.
4654 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4655 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4656
da13146d
AM
46572013-10-04 Alan Modra <amodra@gmail.com>
4658
4659 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4660 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4661
603e8410
AM
46622013-10-04 Alan Modra <amodra@gmail.com>
4663
4664 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4665 use vector int constants.
4666 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4667
4a28b3ca
AB
46682013-10-04 Anton Blanchard <anton@au1.ibm.com>
4669
4670 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4671 array with long long.
4672 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4673 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4674 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4675 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4676 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4677 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4678 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4679 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4680 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4681 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4682 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4683 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4684 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4685
2ca85d2b
AB
46862013-10-04 Anton Blanchard <anton@au1.ibm.com>
4687
4688 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4689 (__signbit): Likewise. Correct for little-endian.
4690 (__signbitl): Call __signbit.
4691 (lrint): Correct for little-endian.
4692 (lrintf): Call lrint.
4693
62a728ae
AM
46942013-10-04 Alan Modra <amodra@gmail.com>
4695
4696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4697 union 32-bit int array member with 64-bit int array.
4698 (t515, tm256): Double rather than long double.
4699 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4700
32c301df
AM
47012013-10-04 Alan Modra <amodra@gmail.com>
4702
4703 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4704 Delete.
4705 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4707 version of math_ldbl.h.
4708
650ef4bd
AM
47092013-10-04 Alan Modra <amodra@gmail.com>
4710
4711 [BZ #15734], [BZ #15735]
4712 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4713 all uses of ieee875 long double macros and unions. Simplify test
4714 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4715 ldbl_extract_mantissa value for ix,iy exponents. Properly
4716 normalize after ldbl_extract_mantissa, and don't add hidden bit
4717 already handled. Don't treat low word of ieee854 mantissa like
4718 low word of IBM long double and mask off bit when testing for
4719 zero.
4720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4721 all uses of ieee875 long double macros and unions. Simplify tests
4722 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4723 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4724 two1022, instead use their values. Recognise that tests for large
4725 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4727 Rewrite all uses of ieee875 long double macros and unions. Simplify
4728 test for 0.0L and nan. Correct negation.
4729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4730 ieee875 long double macros and unions. Correct output for large
4731 magnitude x. Correct absolute value calculation.
4732 (__erfcl): Likewise.
4733 * math/libm-test.inc: Add tests for errors discovered in IBM long
4734 double versions of fmodl, remainderl, erfl and erfcl.
4735
765714ca
AM
47362013-10-04 Alan Modra <amodra@gmail.com>
4737
4738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4739 all uses of ieee854 long double macros and unions. Simplify tests
4740 for long doubles that are fully specified by the high double.
4741 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4742 Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4744 Remove dead code too.
4745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4746 (__ieee754_ynl): Likewise.
4747 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4750 Remove dead code too.
4751 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4753 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4754 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4755 Simplify.
4756 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4757 Simplify.
4758 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4761 Comment on variable precision.
4762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4764 Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4770
4ebd120c
AM
47712013-10-04 Alan Modra <amodra@gmail.com>
4772
4773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4775 all uses of ieee854 long double macros and unions.
4776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4782 Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4789 Simplify sign and nan test too.
4790 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4794 Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4796 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4797 Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4804
1b6adf88
AM
48052013-10-04 Alan Modra <amodra@gmail.com>
4806
4807 * stdio-common/printf_size.c (__printf_size): Don't use
4808 union ieee854_long_double in fpnum union.
4809 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4810 signbit macro to retrieve sign from long double.
4811 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4812 retrieve sign from long double.
4813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4814 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4815 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4816 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4817 * math/test-misc.c (main): Don't use union ieee854_long_double.
4818
4cf69995
AM
48192013-10-04 Alan Modra <amodra@gmail.com>
4820
4821 [BZ #15680]
4822 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4823 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4824 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4825 calculation. Remove unnecessary test for denormal exponent.
4826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4827 Correct handling of denormals. Avoid undefined shift behaviour.
4828 Correct normalisation of low mantissa when low double is denormal.
4829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4830 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4831 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4832 Correct normalisation of low mantissa. Test for overflow of high
4833 mantissa and normalise.
4834 (ldbl_nearbyint): Use more readable constant for two52.
4835 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4836 (__mpn_construct_long_double): Fix test for overflow of high
4837 mantissa and correct normalisation. Avoid undefined shift.
4838
9605ca6c
AM
48392013-10-04 Alan Modra <amodra@gmail.com>
4840
4841 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4842 (union ibm_extended_long_double): Define as an array of ieee754_double.
4843 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4845 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4846 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4850 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4854
975569d0
JM
48552013-10-03 Joseph Myers <joseph@codesourcery.com>
4856
d3d23756
JM
4857 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4858 page size instead of calling getpagesize.
4859
975569d0
JM
4860 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4861 (LOCFILE_ALIGN_MASK): Likewise.
4862 (LOCFILE_ALIGN_UP): Likewise.
4863 (LOCFILE_ALIGNED_P): Likewise.
4864 * locale/programs/ld-collate.c (collate_output): Use the new
4865 macros instead of __alignof__ (int32_t).
4866 * locale/weight.h (findidx): Likewise.
4867
b1fe1f2b
OB
48682013-10-03 Ondřej Bílka <neleai@seznam.cz>
4869
4870 [BZ #431]
4871 * manual/string.texi: Fix strncat and wcsncat.
4872
5f855e35
BM
48732013-10-03 Brooks Moses <bmoses@google.com>
4874
4875 [BZ #15915]
4876 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4877 * Makerules: ...here, and adjust associated comments.
4878
3cef6009
WN
48792013-10-02 Will Newton <will.newton@linaro.org>
4880
4881 * malloc/Makefile: Add tst-pvalloc.
4882 * malloc/tst-pvalloc.c: New file.
4883
7815420b
WN
48842013-10-02 Will Newton <will.newton@linaro.org>
4885
4886 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4887 improve test coverage.
4888
4868b204
WN
48892013-10-02 Will Newton <will.newton@linaro.org>
4890
4891 * malloc/Makefile: Add tst-posix_memalign.
4892 * malloc/tst-posix_memalign.c: New file.
4893
29c793b3
EB
48942013-10-01 Eric Blake <eblake@redhat.com>
4895
4896 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4897 Use __THROWNL rather than __THROW on static functions.
4898
fd967522
PM
48992013-09-30 Petr Machata <pmachata@redhat.com>
4900
4901 * elf/elf.h (R_AARCH64_ABS16): New macro.
4902 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4903 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4904 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4905 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4906 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4907 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4908 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4909 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4910 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4911 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4912 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4913 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4914 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4915 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4916 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4917 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4918 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4919 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4920 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4921 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4922 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4923 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4924 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4925 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4926 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4927 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4928 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4929 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4930 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4931 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4932 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4933 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4934 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4935 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4936 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4937 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4938 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4939 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4940 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4941 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4942 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4943 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4944 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4945 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4946 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4947 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4948 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4949 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4950 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4951 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4952 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4953 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4954 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4955 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4956 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4957 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4958 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4959 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4960 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4961 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4962 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4963 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4964 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4965 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4966 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4967 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4968 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4969 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4970 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4971 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4972 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4973 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4974 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4975 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4976 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4977 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4978 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4979 (R_AARCH64_TLSDESC_LDR): Likewise.
4980 (R_AARCH64_TLSDESC_ADD): Likewise.
4981 (R_AARCH64_TLSDESC_CALL): Likewise.
4982
b2179107
AS
49832013-09-30 Andreas Schwab <schwab@suse.de>
4984
4985 [BZ #15048]
4986 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4987 the nss database lookup.
4988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4990
47f28d0a
MF
49912013-09-28 Mike Frysinger <vapier@gentoo.org>
4992
4993 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4994
49952013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4996
4997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4998 ${Bash-specific parameter/pattern/string} parameter expansion.
4999 * sysdeps/unix/make-syscalls.sh: Likewise.
5000
f4518a17
KK
50012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5002
5003 * sysdeps/sh/stackguard-macros.h: New file.
5004
dc1a95c7
OB
50052013-09-26 Ondřej Bílka <neleai@seznam.cz>
5006
5007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5009 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5010 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5011 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5012 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5013
5ebbff8f
AZ
50142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5015
5016 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5017 Fix thread ID register.
5018
4fd2cf9f
JM
50192013-09-25 Joseph Myers <joseph@codesourcery.com>
5020
5021 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5022 [POSIX || UNIX98]: Require rather than permitting all symbols from
5023 <time.h>.
5024 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5025 element of struct sched_param.
5026 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5027 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5028 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5029 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5030 constant.
5031
12c22bc4
OL
50322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5033
5034 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5035 argument calculation.
5036
a03d8ea7
JM
50372013-09-24 Joseph Myers <joseph@codesourcery.com>
5038
5039 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5040 Expect macro.
5041 [POSIX] (pthread_attr_t): Do not require type.
5042 [POSIX] (pthread_cond_t): Likewise.
5043 [POSIX] (pthread_condattr_t): Likewise.
5044 [POSIX] (pthread_key_t): Likewise.
5045 [POSIX] (pthread_mutex_t): Likewise.
5046 [POSIX] (pthread_mutexattr_t): Likewise.
5047 [POSIX] (pthread_once_t): Likewise.
5048 [POSIX] (pthread_t): Likewise.
5049 [POSIX-based standards] (pthread_atfork): Expect function.
5050
6055173a
JM
50512013-09-24 Joseph Myers <joseph@codesourcery.com>
5052 Richard Sandiford <richard@codesourcery.com>
5053
5054 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5055 (swap_endianness_p): New extern variable.
5056 (set_big_endian): New inline function.
5057 (maybe_swap_uint32): Likewise.
5058 (maybe_swap_uint32_array): Likewise.
5059 (maybe_swap_uint32_obstack): Likewise.
5060 * locale/programs/locfile.c: Include <stdbool.h>.
5061 (swap_endianness_p): New variable.
5062 (add_locale_uint32): Call maybe_swap_uint32.
5063 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5064 (write_locale_data): Call maybe_swap_uint32_array.
5065 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5066 maybe_swap_uint32.
5067 (obstack_int32_grow_fast): Likewise.
5068 (output_weightwc): Call maybe_swap_uint32_obstack.
5069 (collate_output): Likewise.
5070 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5071 (OPT_LITTLE_ENDIAN): Likewise.
5072 (options): Add --little-endian and --big-endian options.
5073 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5074 * locale/programs/locarchive.c: Include "locfile.h".
5075 (GET): New macro.
5076 (SET): Likewise.
5077 (INC): Likewise.
5078 (create_archive): Use the new macros to access fields of
5079 structures directly mapped from or written to locale archives.
5080 (oldlocrecentcmp): Likewise.
5081 (enlarge_archive): Likewise.
5082 (insert_name): Likewise.
5083 (add_alias): Likewise.
5084 (add_locale): Likewise.
5085 (delete_locales_from_archive): Likewise.
5086 (show_archive_content): Likewise.
5087 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5088 locale data.
5089
39bf0bb4
RM
50902013-09-24 Roland McGrath <roland@hack.frob.com>
5091
5092 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5093 http://www.gnu.org/doc/freemanuals.texi.
5094 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5095
f02eed10
WN
50962013-09-24 Will Newton <will.newton@linaro.org>
5097
5098 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5099 macro.
5100
a3a6c312
JM
51012013-09-23 Joseph Myers <joseph@codesourcery.com>
5102
5103 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5104 unsigned char.
5105
107375ac
MR
51062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5107
5108 * manual/threads.texi (POSIX Threads): Fix a typo.
5109
141f3a77
SP
51102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5111
303e567a
SP
5112 [BZ #14547]
5113 * string/tst-strcoll-overflow.c: New test case.
5114 * string/Makefile (xtests): Add tst-strcoll-overflow.
5115 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5116 cache if string sizes may cause integer overflow.
5117
141f3a77
SP
5118 [BZ #14547]
5119 * string/strcoll_l.c (coll_seq): New members rule, idx,
5120 save_idx and back_us.
5121 (get_next_seq_nocache): New function.
5122 (do_compare_nocache): New function.
5123 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5124 when malloc fails.
5125
c61b4d41
CD
51262013-09-23 Carlos O'Donell <carlos@redhat.com>
5127
0b1f8e35
CD
5128 [BZ #15754]
5129 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5130 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5131 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5132
c61b4d41
CD
5133 [BZ #15754]
5134 * elf/Makefile (tests): Add tst-ptrguard1.
5135 (tests-static): Add tst-ptrguard1-static.
5136 (tst-ptrguard1-ARGS): Define.
5137 (tst-ptrguard1-static-ARGS): Define.
5138 * elf/tst-ptrguard1.c: New file.
5139 * elf/tst-ptrguard1-static.c: New file.
5140 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5141 * sysdeps/i386/stackguard-macros.h: Likewise.
5142 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5143 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5144 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5145 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5146 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5147 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5148
51492013-09-23 Hector Marco <hecmargi@upv.es>
5150 Ismael Ripoll <iripoll@disca.upv.es>
5151 Carlos O'Donell <carlos@redhat.com>
5152
5153 [BZ #15754]
5154 * sysdeps/generic/stackguard-macros.h: Define
5155 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5156 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5157 Define __pointer_chk_guard_local.
5158 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5159 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5160
f5f4e7b4
VV
51612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5162
5163 [BZ #15859]
5164 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5165
5bb43a43
AS
51662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5167
5168 * include/string.h (__ffs): Declare as hidden.
5169 * string/ffs.c (__ffs): Define as hidden.
5170 * sysdeps/i386/ffs.c (__ffs): Likewise.
5171 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5172 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5173 * sysdeps/s390/ffs.c (__ffs): Likewise.
5174 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5175
3ea5be54
AO
51762013-09-20 Alexandre Oliva <aoliva@redhat.com>
5177
ffb89e53
AO
5178 * NEWS: Mention malloc probes.
5179
322dea08
AO
5180 * malloc/arena.c (new_heap): New memory_heap_new probe.
5181 (grow_heap): New memory_heap_more probe.
5182 (shrink_heap): New memory_heap_less probe.
5183 (heap_trim): New memory_heap_free probe.
5184 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5185 (systrim): New memory_sbrk_less probe.
5186 * manual/probes.texi: Document them.
5187
655673f3
AO
5188 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5189 * manual/probes.texi: Document it.
5190
35fed6f1
AO
5191 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5192 (__libc_realloc): Add memory_realloc_retry probe.
5193 (__libc_memalign): Add memory_memalign_retry probe.
5194 (__libc_valloc): Add memory_valloc_retry probe.
5195 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5196 (__libc_calloc): Add memory_calloc_retry probe.
5197 * manual/probes.texi: Document them.
5198
6999d38c
AO
5199 * malloc/arena.c (get_free_list): Add probe
5200 memory_arena_reuse_free_list.
5201 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5202 and memory_arena_reuse.
5203 (arena_get2) [!PER_THREAD]: Likewise.
5204 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5205 memory_arena_reuse_realloc.
5206 * manual/probes.texi: Document them.
5207
0653427f
AO
5208 * malloc/malloc.c (__libc_free): Add
5209 memory_mallopt_free_dyn_thresholds probe.
5210 (__libc_mallopt): Add multiple memory_mallopt probes.
5211 * manual/probes.texi: Document them.
5212
3ea5be54
AO
5213 * malloc/malloc.c: Include stap-probe.h.
5214 (__libc_mallopt): Add memory_mallopt probe.
5215 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5216 * manual/probes.texi: New.
5217 * manual/Makefile (chapters): Add probes.
5218 * manual/threads.texi: Set next node.
5219
e35696c3 52202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5221
e35696c3
CL
5222 [BZ #15963, #13985]
5223 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5224 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5225 Add `Chinese' to `nan' entry name.
5226
4aafb73c
SP
52272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5228
5229 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5230 (POLYNOMIAL): Likewise.
5231 (TAYLOR_SINCOS): Likewise.
5232 (TAYLOR_SLOW): Likewise.
5233 (__sin): Use TAYLOR_SINCOS.
5234 (__cos): Likewise.
5235 (slow): Use TAYLOR_SLOW.
5236 (sloww): Likewise.
5237 (bsloww): Likewise.
5238 (csloww): Likewise.
5239
d84f25c7
LD
52402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5241
5242 * stdlib/strtod_l.c: Fix buffer overrun.
5243
5eea0404
SP
52442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5245
7849ff93
SP
5246 * benchtests/Makefile (bench): Add sincos.
5247 * benchtests/bench-sincos.c: New file.
5248
cfa3c886
SP
5249 * math/libm-test.inc (cos_test_data): New test inputs.
5250 (sin_test_data): Likewise.
5251
b348e1e3
SP
5252 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5253 macro.
5254 (__sin): Use it.
5255 (__cos): Likewise.
5256 (slow1): Likewise.
5257 (slow2): Likewise.
5258 (sloww1): Likewise.
5259 (sloww2): Likewise.
5260 (bsloww1): Likewise.
5261 (bsloww2): Likewise.
5262 (cslow2): Likewise.
5263 (csloww1): Likewise.
5264 (csloww2): Likewise.
5265
6cce25f8
SP
5266 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5267 function.
5268 (__sin): Use it.
5269 (__cos): Likewise.
5270
5eea0404
SP
5271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5272 gotos.
5273 (__cos): Likewise.
5274
9c21573c
MR
52752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5276
5277 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5278 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5279 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5280 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5281 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5282 * elf/cache.c (print_entry): Handle the new cache flags.
5283
24d22e65
JM
52842013-09-18 Joseph Myers <joseph@codesourcery.com>
5285 Aldy Hernandez <aldyh@redhat.com>
5286
5287 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5288 Change condition to [_SOFT_FLOAT].
5289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5301 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5304 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5305 declaration.
5306
d13ef066
JM
53072013-09-18 Joseph Myers <joseph@codesourcery.com>
5308
2e071de0
JM
5309 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5310 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5311 (__longjmp): Use LOAD_GP to load saved GPRs.
5312 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5313 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5314 (__sigsetjmp): Use SAVE_GP to save GPRs.
5315
d13ef066
JM
5316 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5317 Do not append -msoft-float.
5318 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5319
97a0650b
SP
53202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5321
5322 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5323
11ca09e9
JM
53242013-09-17 Joseph Myers <joseph@codesourcery.com>
5325
5326 [BZ #15966]
5327 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5328 (_FPU_GETCW): Use initial "__" on variable and field names but not
5329 on macro parameter name.
5330 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5331 parentheses around reference to macro parameter.
5332
08ffcf34
RS
53332013-09-13 Richard Sandiford <richard@codesourcery.com>
5334
5335 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5336 prototype.
5337 (ctype_startup): Use uint32_t in cast and sizeof for
5338 ctype->charnames.
5339
ae7080d3
JL
53402013-09-11 Jia Liu <proljc@gmail.com>
5341
5342 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5343 __daddr_t_defined.
5344 [__FreeBSD__]: Likewise.
5345
5905e7b3
OB
53462013-09-11 Ondřej Bílka <neleai@seznam.cz>
5347
5348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5349 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5350 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5351 (strchr): Remove __strchr_sse42 ifunc selection.
5352 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5353 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5354
b987c776
WN
53552013-09-11 Will Newton <will.newton@linaro.org>
5356
5357 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5358 parameter to RES. Remove hardcoded 1000 value.
5359 * benchtests/bench-skeleton.c (main): Pass RES parameter
5360 to TIMING_INIT and multiply result by 1000.
5361
ddf985af
AZ
53622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5363
5364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5365
ffdd3181
AS
53662013-09-11 Andreas Schwab <schwab@suse.de>
5367
5368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5369 if not defined.
5370 (O_TMPFILE) [__USE_GNU]: Define.
5371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5372 Define.
5373
b73ed247
WN
53742013-09-11 Will Newton <will.newton@linaro.org>
5375
5376 [BZ #15857]
5377 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5378 does not overflow.
5379
55e17aad
WN
53802013-09-11 Will Newton <will.newton@linaro.org>
5381
5382 [BZ #15856]
5383 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5384 does not overflow.
5385
1159a193
WN
53862013-09-11 Will Newton <will.newton@linaro.org>
5387
5388 [BZ #15855]
5389 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5390 does not overflow.
5391
5905e7b3 53922013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5393
5394 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5399
cdfc721b
AM
54002013-09-10 Allan McRae <allan@archlinux.org>
5401
aa04af00
AM
5402 [BZ #15748]
5403 * manual/arith.texi (Parsing of Floats): Clarify
5404 cross-reference.
5405
cdfc721b
AM
5406 [BZ #15849]
5407 * manual/install.texi (Running make install): Mention
5408 --enable-pt-chown.
5409 * INSTALL: Regenerated.
5410
95e7cf29
MR
54112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5412
5413 * csu/init-first.c (_init): Remove the !SHARED condition around
5414 FPU control word initialization.
5415 * elf/dl-support.c (_dl_fpu_control): New variable.
5416 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5417 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5418 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5419 * math/test-fpucw-static.c: New file.
5420 * math/test-fpucw-ieee.c: New file.
5421 * math/test-fpucw-ieee-static.c: New file.
5422 * math/Makefile (tests): Add `test-fpucw-ieee' and
5423 `$(tests-static)'.
5424 (tests-static): New variable.
5425 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5426 dependency to...
5427 [($(build-shared),yes)]
5428 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5429 ... this.
5430 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5431 New dependency.
5432
83e43bf0
AM
54332013-09-09 Allan McRae <allan@archlinux.org>
5434
a9f5ce09
AM
5435 [BZ #15939]
5436 * manual/string.texi (Collation Functions): Fix typo in
5437 strcoll example.
5438 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5439
34829bc2
AM
5440 [BZ #15893]
5441 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5442
3932737d
AM
5443 [BZ #15892]
5444 * libio/memstream.c (open_memstream): Fix memory leak.
5445 * libio/wmemstream.c (open_wmemstream): Likewise.
5446
83e43bf0
AM
5447 [BZ #15895]
5448 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5449
0c66b8e9
WN
54502013-09-09 Will Newton <will.newton@linaro.org>
5451
5452 * malloc/Makefile: Add tst-realloc to tests.
5453 * malloc/tst-realloc.c: New file.
5454
f6b00fd1
AM
54552013-09-09 Allan McRae <allan@archlinux.org>
5456
5457 [BZ #15844]
5458 * COPYING: Update from GNU website to fix FSF address.
5459 * COPYING.LIB: Likewise.
5460
eec55e16
DM
54612013-09-06 David S. Miller <davem@davemloft.net>
5462
5463 * po/zh_TW.po: Update Chinese (traditional) translation from
5464 translation project.
5465
1ecbb381
RS
54662013-09-06 Richard Sandiford <richard@codesourcery.com>
5467 Joseph Myers <joseph@codesourcery.com>
5468
5469 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5470 "localeinfo.h".
5471 (obstack_chunk_alloc): New macro.
5472 (obstack_chunk_free): Likewise.
5473 (record_offset): New function.
5474 (init_locale_data): Likewise.
5475 (align_locale_data): Likewise.
5476 (add_locale_empty): Likewise.
5477 (add_locale_raw_data): Likewise.
5478 (add_locale_raw_obstack): Likewise.
5479 (add_locale_string): Likewise.
5480 (add_locale_wstring): Likewise.
5481 (add_locale_uint32): Likewise.
5482 (add_locale_uint32_array): Likewise.
5483 (add_locale_char): Likewise.
5484 (start_locale_structure): Likewise.
5485 (end_locale_structure): Likewise.
5486 (start_locale_prelude): Likewise.
5487 (end_locale_prelude): Likewise.
5488 (write_locale_data): Take locale_file structure rather than an
5489 iovec.
5490 * locale/programs/locfile.h: Include "obstack.h".
5491 (struct locale_file): Change to store locale file contents instead
5492 of header.
5493 (init_locale_data): New prototype.
5494 (align_locale_data): Likewise.
5495 (add_locale_empty): Likewise.
5496 (add_locale_raw_data): Likewise.
5497 (add_locale_raw_obstack): Likewise.
5498 (add_locale_string): Likewise.
5499 (add_locale_wstring): Likewise.
5500 (add_locale_uint32): Likewise.
5501 (add_locale_uint32_array): Likewise.
5502 (add_locale_char): Likewise.
5503 (start_locale_structure): Likewise.
5504 (end_locale_structure): Likewise.
5505 (start_locale_prelude): Likewise.
5506 (end_locale_prelude): Likewise.
5507 (write_locale_data): Update prototype.
5508 * locale/programs/3level.h (struct TABLE): Remove result field.
5509 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5510 Use new locale_file interface.
5511 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5512 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5513 * locale/programs/ld-address.c (address_output): Use new
5514 locale_file interface.
5515 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5516 NO_ADD_LOCALE.
5517 (collate_finish): Don't call collseq_table_finalize.
5518 (collate_output): Use new locale_file interface.
5519 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5520 in file.
5521 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5522 (TABLE): Move defines earlier in file.
5523 (ELEMENT): Likewise.
5524 (DEFAULT): Likewise.
5525 (wctrans_table_add): Move macro and inline function earlier in
5526 file.
5527 (struct wctype_table): Move type earlier in file.
5528 (add_locale_wctype_table): New static prototype.
5529 (struct locale_ctype_t): Use logical types instead of struct iovec
5530 pointers for members.
5531 (ctype_output): Use new locale_file interface.
5532 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5533 new locale_file interface.
5534 (allocate_arrays): Update for use of new locale_file interface.
5535 * locale/programs/ld-identification.c (identification_output): Use
5536 new locale_file interface.
5537 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5538 * locale/programs/ld-messages.c (messages_output): Likewise.
5539 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5540 * locale/programs/ld-name.c (name_output): Likewise.
5541 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5542 * locale/programs/ld-paper.c (paper_output): Likewise.
5543 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5544 * locale/programs/ld-time.c (time_output): Likewise.
5545
e029e2e5
AZ
55462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547
5548 * benchtests/Makefile: Add memrchr benchmark.
5549 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5550 benchmark as memrchr.
5551 * benchtests/bench-memrchr-ifunc.c: New file.
5552 * benchtests/bench-memrchr.c: New file.
5553
bbf6e8e4
WN
55542013-09-06 Will Newton <will.newton@linaro.org>
5555
5556 * benchtests/Makefile (string-bench): Add memcpy.
5557
6c82a2f8
CD
55582013-09-05 Carlos O'Donell <carlos@redhat.com>
5559 Cong Wang <amwang@redhat.com>
5560
5561 * sysdeps/unix/sysv/linux/bits/in.h
5562 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5563 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5564 before __USE_KERNEL_IPV6_DEFS uses.
5565 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5566 IPPROTO_BEETPH.
5567 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5568 sockaddr_in6, or ipv6_mreq.
5569
5430fc65
AZ
55702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5573 memory access for final bytes in some large inputs.
5574 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5575
4660856c
AZ
55762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * string/test-memrchr.c: New file.
5579 * string/test-memrchr-ifunc.c: New file.
5580 * string/Makefile: Add new memrchr testcase.
5581
bb8ea713
MF
55822013-09-05 Mike Frysinger <vapier@gentoo.org>
5583
5584 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5585 fanotify_init returns EPERM.
5586
b92a20b5
JM
55872013-09-04 Joseph Myers <joseph@codesourcery.com>
5588
5589 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5590 errors.
5591 (top level): Treat second token from macro or constant entries for
5592 allowed headers as allowed.
5593 * include/complex.h: Condition internal declarations on
5594 [!_ISOMAC].
5595 * include/fenv.h: Condition include of <stdbool.h> and internal
5596 declarations on [!_ISOMAC].
7447ccd9
CL
5597
55982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5599
3e181dda 5600 [BZ #15923]
7447ccd9
CL
5601 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5602
3f2e46a4
JM
56032013-09-04 Joseph Myers <joseph@codesourcery.com>
5604
5605 * configure.in (--enable-versioning): Remove configure option.
5606 (libc_cv_asm_symver_directive): Remove configure test.
5607 (libc_cv_ld_version_script_option): Likewise.
5608 (VERSIONING): Remove variable and AC_SUBST.
5609 (DO_VERSIONING): Remove AC_DEFINE.
5610 * configure: Regenerated.
5611 * config.h.in (DO_VERSIONING): Remove macro.
5612 * Makerules [$(versioning) = yes]: Change conditionals to
5613 [$(build-shared) = yes].
5614 * config.make.in (versioning): Remove variable.
5615 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5616 [$(build-shared) = yes].
5617 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5618 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5619 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5620 [$(build-shared) = yes].
5621 * extra-lib.mk [$(versioning) = yes]: Likewise.
5622 * hurd/Makefile [$(versioning) = yes]: Likewise.
5623 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5624 [SHARED].
5625 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5626 [SHARED].
5627 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5628 [SHARED && !NO_HIDDEN].
5629 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5630 [SHARED].
5631 [SHARED && DO_VERSIONING]: Likewise..
5632 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5633 [$(build-shared) = yes].
5634 * manual/install.texi (--disable-versioning): Remove
5635 documentation.
5636 * INSTALL: Regenerated.
5637 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5638 to [SHARED].
5639 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5640 [$(build-shared) = yes].
5641 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5642 * sysdeps/i386/i686/multiarch/strstr-c.c
5643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5644 [SHARED && !NO_HIDDEN].
5645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5646 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5647 * sysdeps/powerpc/powerpc32/dl-machine.c
5648 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5649 * sysdeps/powerpc/powerpc32/sysdep.h
5650 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5651 to [SHARED && PIC && !NO_HIDDEN].
5652 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5653 conditional to [SHARED].
5654
44558701
WN
56552013-09-04 Will Newton <will.newton@linaro.org>
5656
5657 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5658 * benchtests/bench-string.h: Include bench-timing.h instead
5659 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5660 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5661 call to HP_TIMING_DIFF_INIT.
5662 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5663 instead of hp-timing.h macros.
5664 * benchtests/bench-memchr.c: Likewise.
5665 * benchtests/bench-memcmp.c: Likewise.
5666 * benchtests/bench-memcpy.c: Likewise.
5667 * benchtests/bench-memmem.c: Likewise.
5668 * benchtests/bench-memmove.c: Likewise.
5669 * benchtests/bench-memset.c: Likewise.
5670 * benchtests/bench-rawmemchr.c: Likewise.
5671 * benchtests/bench-strcasecmp.c: Likewise.
5672 * benchtests/bench-strcasestr.c: Likewise.
5673 * benchtests/bench-strcat.c: Likewise.
5674 * benchtests/bench-strchr.c: Likewise.
5675 * benchtests/bench-strcmp.c: Likewise.
5676 * benchtests/bench-strcpy.c: Likewise.
5677 * benchtests/bench-strcpy_chk.c: Likewise.
5678 * benchtests/bench-strlen.c: Likewise.
5679 * benchtests/bench-strncasecmp.c: Likewise.
5680 * benchtests/bench-strncat.c: Likewise.
5681 * benchtests/bench-strncmp.c: Likewise.
5682 * benchtests/bench-strncpy.c: Likewise.
5683 * benchtests/bench-strnlen.c: Likewise.
5684 * benchtests/bench-strpbrk.c: Likewise.
5685 * benchtests/bench-strrchr.c: Likewise.
5686 * benchtests/bench-strspn.c: Likewise.
5687 * benchtests/bench-strstr.c: Likewise.
5688
cae16d66
WN
56892013-09-04 Will Newton <will.newton@linaro.org>
5690
5691 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5692
ffa3cd7f
JM
56932013-09-03 Joseph Myers <joseph@codesourcery.com>
5694
5695 [BZ #15427]
5696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5697 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5698 * math/libm-test.inc (lgamma_test_data): Add more tests.
5699 * sysdeps/i386/fpu/libm-test-ulps: Update.
5700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5701
8f02859f
OB
57022013-09-03 Ondřej Bílka <neleai@seznam.cz>
5703
5704 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5706 Add ifunc.
5707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5708 Add strcmp-sse2-unaligned
5709 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5710
18d43716
MF
57112013-09-02 Mike Frysinger <vapier@gentoo.org>
5712
5713 * Versions.def (libc): Add GLIBC_2.19.
5714
ac444012
MF
57152013-09-02 Mike Frysinger <vapier@gentoo.org>
5716
5717 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5718 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5719
b7835e32
JM
57202013-09-02 Joseph Myers <joseph@codesourcery.com>
5721
5722 [BZ #14155]
5723 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5724 intermediate calculations in recurrence.
5725 (__ieee754_ynf): Likewise.
5726 * math/libm-test.inc (jn_test_data): Do not allow spurious
5727 underflow exception. Add more tests.
5728 (yn_test_data): Add more tests.
5729 * sysdeps/i386/fpu/libm-test-ulps: Update.
5730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5731
8220f4f0
OB
57322013-09-02 Ondřej Bílka <neleai@seznam.cz>
5733
5734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5735
f24a6d08
OB
57362013-08-30 Ondřej Bílka <neleai@seznam.cz>
5737
5738 * csu/init-first.c: Fix then/than typos.
5739 * locale/programs/ld-collate.c: Likewise.
5740 * locale/programs/linereader.h: Likewise.
5741 * manual/charset.texi: Likewise.
5742 * manual/filesys.texi: Likewise.
5743 * manual/stdio.texi: Likewise.
5744 * manual/string.texi: Likewise.
5745 * stdlib/fmtmsg.c: Likewise.
5746 * sysdeps/i386/stpncpy.S: Likewise.
5747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5748 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5751
382466e0
OB
57522013-08-30 Ondřej Bílka <neleai@seznam.cz>
5753
5754 * elf/dl-open.c: Fix typos.
5755 * iconvdata/gbbig5.c: Likewise.
5756 * iconvdata/iso-2022-jp.c: Likewise.
5757 * iconv/gconv_int.h: Likewise.
5758 * iconv/loop.c: Likewise.
5759 * nis/rpcsvc/nis.h: Likewise.
5760 * resolv/ns_name.c: Likewise.
5761 * stdio-common/vfscanf.c: Likewise.
5762 * streams/stropts.h: Likewise.
5763 * sunrpc/rpc_thread.c: Likewise.
5764 * sysdeps/i386/strpbrk.S: Likewise.
5765 * sysdeps/ieee754/k_standard.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5768 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5769 * sysdeps/mach/hurd/profil.c: Likewise.
5770 * sysdeps/s390/dl-procinfo.h: Likewise.
5771 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5772 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5773 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5774 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5776
0186c6e9
OB
57772013-08-30 Ondřej Bílka <neleai@seznam.cz>
5778
5779 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5781
d4e16af1
OB
57822013-08-29 Ondřej Bílka <neleai@seznam.cz>
5783
5784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5785 aix specific files.
5786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5790 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5791 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5792 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5793 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5794
88335980
TS
57952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5796 Roland McGrath <roland@hack.frob.com>
5797
5798 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5800
ed479b02
ST
58012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5802
5803 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5804 __executable_start symbol instead of _start.
5805
f1cc4c86
TS
58062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5807
d821f07c
TS
5808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5809 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5810 Move macros to...
5811 * sysdeps/gnu/ldsodefs.h: ... this new file.
5812
c54290cf
TS
5813 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5814 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5815 instead of ELFOSABI_LINUX.
5816
0007fc9b 5817 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5818 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5819 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5820 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5821 Likewise.
5822 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5823 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5825 Likewise.
5826 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5827 (ibm_extended_long_double): Add ieee_nan member.
5828 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5829 (do_test): New function.
5830
f1cc4c86
TS
5831 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5832 TEST_TRUNC.
5833 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5834 functions, renamed from truncdfsf_test, trunctfsf_test,
5835 trunctfdf_test.
5836 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5837 functions.
5838 (do_test): Run all these.
5839
6f65e668
OB
58402013-08-29 Ondřej Bílka <neleai@seznam.cz>
5841
5842 * argp/argp-help.c: Fix typos.
5843 * argp/argp-parse.c: Likewise.
5844 * debug/backtracesyms.c: Likewise.
5845 * elf/elf.h: Likewise.
5846 * malloc/malloc.c: Likewise.
5847 * nis/nis_print.c: Likewise.
5848 * resolv/res_comp.c: Likewise.
5849 * stdlib/stdlib.h: Likewise.
5850 * sunrpc/clnt_tcp.c: Likewise.
5851 * sunrpc/clnt_udp.c: Likewise.
5852 * sunrpc/clnt_unix.c: Likewise.
5853 * sysdeps/unix/bsd/ptsname.c: Likewise.
5854 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5855 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5857 Likewise.
5858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5859 Likewise.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5861 Likewise.
6f65e668
OB
5862 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5863
3a309239
SP
58642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5865
5866 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5868
3b813b29
MF
58692013-08-27 Mike Frysinger <vapier@gentoo.org>
5870
5871 [BZ #15897]
5872 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5873 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5874 ($(objpfx)bug-dl-leaf): New rule.
5875 ($(objpfx)bug-dl-leaf.so): Likewise.
5876 ($(objpfx)bug-dl-leaf.out): Likewise.
5877 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5878 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5879 * dlfcn/bug-dl-leaf.c: New test.
5880 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5881 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5882 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5883 (dlclose): Likewise.
5884 (dlmopen): Likewise.
5885
8cc3269f
RM
58862013-08-27 Roland McGrath <roland@hack.frob.com>
5887
7f9d0034
RM
5888 * include/netdb.h [!_ISOMAC]:
5889 Don't include <tls.h>.
5890 (h_errno, __libc_h_errno): Move declaration and macros out of
5891 [_LIBC_REENTRANT].
5892
fb431262
RM
5893 * include/resolv.h [_RESOLV_H_]:
5894 Don't include <tls.h>.
5895 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5896 * resolv/res_libc.c: Don't include <tls.h>.
5897 (_res): Use __attribute__ ((nocommon)) in place of
5898 __attribute__ ((section (".bss"))).
5899
bd81123a
RM
5900 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5901 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5902
c4e42566
RM
5903 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5904
f890a59b
RM
5905 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5906 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5907
5908 * resolv/res_mkquery.c: Include <sys/time.h>.
5909
5d1f0a09
RM
5910 * inet/ifreq.c: Moved to ...
5911 * sysdeps/unix/ifreq.c: ... here.
5912 * inet/ifreq.c: New file, true stub version.
5913
6fcf28b3
RM
5914 * socket/sa_len.c: New file.
5915 * socket/Makefile (aux): Add it.
5916 * sysdeps/unix/sysv/linux/Makefile
5917 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5918 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5919 and #include <socket/sa_len.c>.
5920 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5921 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5922
e041fb8b
RM
5923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5924 * bits/socket.h: ... here.
5925
8cc3269f
RM
5926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5927 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5928 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5929
5d228a43
AS
59302013-08-27 Andreas Schwab <schwab@suse.de>
5931
45b8accc
AS
5932 [BZ #15736]
5933 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5934 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5935 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5936 * string/test-strcasecmp.c (test_main): Run tests in several
5937 locales.
5938 * string/test-strncasecmp.c (test_main): Likewise.
5939
5d228a43
AS
5940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5941 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5942 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5944 (__strncasecmp_ssse3) [PIC]: Likewise.
5945
59d112a4
RM
59462013-08-26 Roland McGrath <roland@hack.frob.com>
5947
53234cc3
RM
5948 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5949
59d112a4
RM
5950 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5951 instead of explicitly declaring xdecrypt.
5952 * nis/nss_nis/nis-publickey.c: Likewise.
5953
595aba70
SP
59542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5955
5956 [BZ #15890]
5957 * nscd/aicache.c: Include res_hconf.h.
5958 (addhstaiX): Initialize res_hconf.
5959
ffabd393
AS
59602013-08-26 Andreas Schwab <schwab@suse.de>
5961
5962 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5963 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5964
e0a69f5c
SP
59652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5966
5967 * nscd/aicache.c (addhstaiX): Fix indentation.
5968
8c12f01d
MF
59692013-08-25 Mike Frysinger <vapier@gentoo.org>
5970
5971 * configure.ac: Quote $build_pt_chown test.
5972 * configure: Regenerated.
5973
8fe89494
JM
59742013-08-23 Joseph Myers <joseph@codesourcery.com>
5975
5976 [BZ #15532]
5977 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5978 * math/s_cexpf.c (__cexpf): Likewise.
5979 * math/s_cexpl.c (__cexpl): Likewise.
5980 * math/libm-test.inc (cexp_test_data): Correct expected return
5981 value for NaN + i0. Add another test.
5982
75b181d6
DM
59832013-08-22 David S. Miller <davem@davemloft.net>
5984
5985 * po/ca.po: Update Catalan translation from translation project.
936241e4 5986 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5987
acd06bb1
JM
59882013-08-21 Joseph Myers <joseph@codesourcery.com>
5989
5990 [BZ #15797]
5991 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5992 is infinite, not alongside NaN test.
5993 * math/s_fdimf.c (__fdimf): Likewise.
5994 * math/s_fdiml.c (__fdiml): Likewise.
5995 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5996 errno is unchanged.
5997
c0c3f78a
OB
59982013-08-21 Ondřej Bílka <neleai@seznam.cz>
5999
6000 * argp/argp-help.c: Fix typos.
6001 * crypt/speeds.c: Likewise.
6002 * csu/check_fds.c: Likewise.
6003 * elf/dl-load.c: Likewise.
6004 * elf/dl-open.c: Likewise.
6005 * elf/reldep3.c: Likewise.
6006 * elf/reldep.c: Likewise.
6007 * elf/sprof.c: Likewise.
6008 * iconv/iconv_charmap.c: Likewise.
6009 * iconv/skeleton.c: Likewise.
6010 * iconv/strtab.c: Likewise.
6011 * io/lockf64.c: Likewise.
6012 * libio/libioP.h: Likewise.
6013 * resolv/gai_notify.c: Likewise.
6014 * resolv/ns_name.c: Likewise.
6015 * resolv/ns_samedomain.c: Likewise.
6016 * resolv/res_send.c: Likewise.
6017 * stdlib/random.c: Likewise.
6018 * sunrpc/rpc/xdr.h: Likewise.
6019 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6027 * sysdeps/mach/hurd/check_fds.c: Likewise.
6028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6033 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6034 * sysdeps/pthread/aio_notify.c: Likewise.
6035 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6036 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6039 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6040
46ed1038
LD
60412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6042
6043 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6044 version if bit_Slow_SSE4_2 is set.
6045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6047
d400dcac
AZ
60482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049
6050 [BZ #15867]
6051 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6052 trampoline stack frame information.
6053 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6055 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6056 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6057 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6059 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6060 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6061 sa_flags value.
6062 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6063 interrupting a syscall and set with option SA_SIGINFO.
6064
42c8fdd8
JM
60652013-08-20 Joseph Myers <joseph@codesourcery.com>
6066
c980f2f4
JM
6067 [BZ #15531]
6068 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6069 argument is infinite.
6070 * math/s_cprojf.c (__cprojf): Likewise.
6071 * math/s_cprojl.c (__cprojl): Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6073 * math/libm-test.inc (cproj_test_data): Add more tests.
6074
0716c4fc
JM
6075 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6076
42c8fdd8
JM
6077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6078 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6079 size. Use __ffs to determine corresponding shift.
6080
b31469d0
JM
60812013-08-20 Joseph Myers <joseph@codesourcery.com>
6082 Roland McGrath <roland@hack.frob.com>
6083
6084 * Makefile (INSTALL): Remove trailing blank lines from output of
6085 makeinfo.
6086
4e39af6e
AK
60872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6088
6089 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6090 Align 32 bit compat elf_greg to 8 bytes.
6091
f315524e
AA
60922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6093
6094 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6095
1326ba1a
SP
60962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6097
6098 * string/strcoll_l.c (coll_seq): New structure.
6099 (get_next_seq_cached): New function.
6100 (get_next_seq): New function.
6101 (do_compare): New function.
6102 (STRCOLL): Use GNU style definition. Simplify implementation
6103 by using get_next_seq, get_next_seq_cached and do_compare.
6104
91ce4085
FW
61052013-08-16 Florian Weimer <fweimer@redhat.com>
6106
6107 [BZ #14699]
6108 CVE-2013-4237
6109 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6110 member.
6111 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6112 member.
6113 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6114 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6115 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6116 conditional.
6117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6118 GETDENTS_64BIT_ALIGNED.
6119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6120 * manual/filesys.texi (Reading/Closing Directory): Document
6121 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6122 strongly.
6123 * manual/conf.texi (Limits for Files): Add portability note to
6124 NAME_MAX, PATH_MAX.
6125 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6126
ca0a6bc4
AS
61272013-08-13 Andreas Schwab <schwab@suse.de>
6128
6129 [BZ #15749]
6130 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6131 of fabs.
6132 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6133 LDBL_MAX_EXP >= 16384]: Add tests for it.
6134
6c1fd795
DM
61352013-08-12 David S. Miller <davem@davemloft.net>
6136
6137 * version.h (RELEASE): Set to "development".
6138 (VERSION): Set to "2.18.90".
6139 * NEWS: Add 2.19 section.
6140
31ad488d
DM
61412013-08-03 David S. Miller <davem@davemloft.net>
6142
6143 * po/ko.po: Update Korean translation from translation project.
6144
db24e684
DM
61452013-08-01 David S. Miller <davem@davemloft.net>
6146
6147 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6148 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6149 Bilka.
6150
f723285b
DM
61512013-07-30 David S. Miller <davem@davemloft.net>
6152
6153 * po/fr.po: Update French translation from translation project.
6154
3cbc52db
DM
61552013-07-28 David S. Miller <davem@davemloft.net>
6156
30bbc0cc
DM
6157 * po/cs.po: Update Czech translation from translation project.
6158
3cbc52db
DM
6159 * po/sv.po: Update Swedish translation from translation project.
6160
d492e6d0
DM
61612013-07-27 David S. Miller <davem@davemloft.net>
6162
f1a7f492
DM
6163 * po/eo.po: Update Esperanto translation from translation project.
6164
90e62a4a
DM
6165 * po/vi.po: Update Vietnamese translation from translation project.
6166
d492e6d0
DM
6167 * po/de.po: Update German translation from translation project.
6168
d4baa62d
DM
61692013-07-26 David S. Miller <davem@davemloft.net>
6170
641aa7b4
DM
6171 * po/bg.po: Update Bulgarian translation from translation project.
6172
d4baa62d
DM
6173 * po/nl.po: Update Dutch translation from translation project.
6174 * po/pl.po: Update Polish translation from translation project.
6175 * po/ru.po: Update Russian translation from translation project.
6176
61a9dcb9
DM
61772013-07-24 David S. Miller <davem@davemloft.net>
6178
6179 * po/libc.pot: Update.
6180
7b1f8b58
AZ
61812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6182
6183 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6184 variable page size.
6185 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6186 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6187 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6188
a8fc7a03
AK
61892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6190
6191 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6192
e4608715
CD
61932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6194 Andreas Schwab <schwab@suse.de>
6195 Roland McGrath <roland@hack.frob.com>
6196 Joseph Myers <joseph@codesourcery.com>
6197 Carlos O'Donell <carlos@redhat.com>
6198
6199 [BZ #15755]
6200 * config.h.in: Define HAVE_PT_CHOWN.
6201 * config.make.in (build-pt-chown): New variable.
6202 * configure.in (--enable-pt_chown): New configure option.
6203 * configure: Regenerate.
6204 * login/Makefile: Include Makeconfig. Build pt_chown only if
6205 build-pt-chown is enabled.
6206 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6207 pt_chown to fix pty ownership.
6208 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6209 CLOSE_ALL_FDS.
6210 * manual/install.texi (Configuring and compiling): Mention
6211 --enable-pt_chown. Add @findex for grantpt.
6212 * INSTALL: Regenerate.
6213
da2d62df
DM
62142013-07-20 David S. Miller <davem@davemloft.net>
6215
6216 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6217 difference between 32-bit and 64-bit.
6218
d7e06450
CD
62192013-07-15 Carlos O'Donell <carlos@redhat.com>
6220
6221 [BZ #15711]
6222 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6223 Avoid system header dependency with -ffreestanding.
6224 ($(objpfx)bits/syscall%d): Likewise.
6225
f959cfd7
DM
62262013-07-13 David S. Miller <davem@davemloft.net>
6227
6228 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6229 underflows from atanl/atan2l due to bug 15319.
6230 (casinh_test_data): Likewise.
6231
c61f8513
DM
62322013-07-07 David S. Miller <davem@davemloft.net>
6233
6234 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6235
72c90ed0
JA
62362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6237
6238 * sysdeps/i386/fpu/libm-test-ulps: Update.
6239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6240
52dfbe13
SP
62412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6242
6243 * configure.in (--enable-lock-elision): Fix message text.
6244 * INSTALL: Regenerate.
6245 * configure: Regenerate.
6246
3f169543
AZ
62472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248
6249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6250
521c6785
AJ
62512013-07-03 Andreas Jaeger <aj@suse.de>
6252
6253 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6254 define.
6255 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6256 (ptrace_peeksiginfo_args): Add.
6257 (__ptrace_peeksiginfo_flags): Add.
6258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6261
d2cc15cb
AM
62622013-07-03 Allan McRae <allan@archlinux.org>
6263
6264 * sysdeps/i386/fpu/libm-test-ulps: Update.
6265
3aaeeca7
DM
62662013-07-02 David S. Miller <davem@davemloft.net>
6267
6268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6269
5314ed1a
MT
62702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6271
6272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6273
67338156
JM
62742013-07-02 Joseph Myers <joseph@codesourcery.com>
6275
6276 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6278
1717da59
AK
62792013-07-02 Andi Kleen <ak@linux.intel.com>
6280
6281 * config.h.in (ENABLE_LOCK_ELISION): Add.
6282 * configure.in (--enable-lock-elision): Add option.
6283 * manual/install.texi: Document --enable lock elision.
6284 * configure: Regenerate
6285 * INSTALL: Regenerate.
6286
1c81621c
L
62872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6288
6289 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6290 SSE4.2 strcasecmp for libc.a.
6291 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6292
77f01ab5
JM
62932013-07-02 Joseph Myers <joseph@codesourcery.com>
6294
6295 [BZ #13304]
6296 * soft-fp/op-common.h (_FP_FMA): New macro.
6297 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6298 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6299 (_FP_MUL_MEAT_1_imm): ... here.
6300 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6301 (_FP_MUL_MEAT_1_wide): ... here.
6302 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6303 (_FP_MUL_MEAT_1_hard): ... here.
6304 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6305 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6306 (_FP_MUL_MEAT_2_wide): ... here.
6307 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6308 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6309 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6310 (_FP_MUL_MEAT_2_gmp): ... here.
6311 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6312 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6313 (_FP_MUL_MEAT_4_wide): ... here.
6314 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6315 (_FP_MUL_MEAT_4_gmp): ... here.
6316 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6317 (_FP_WFRACBITS_DW_S): Likewise.
6318 (_FP_WFRACXBITS_DW_S): Likewise.
6319 (_FP_HIGHBIT_DW_S): Likewise.
6320 (FP_FMA_S): Likewise.
6321 (_FP_FRAC_HIGH_DW_S): Likewise.
6322 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6323 (_FP_WFRACBITS_DW_D): Likewise.
6324 (_FP_WFRACXBITS_DW_D): Likewise.
6325 (_FP_HIGHBIT_DW_D): Likewise.
6326 (FP_FMA_D): Likewise.
6327 (_FP_FRAC_HIGH_DW_D): Likewise.
6328 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6329 (_FP_WFRACBITS_DW_E): Likewise.
6330 (_FP_WFRACXBITS_DW_E): Likewise.
6331 (_FP_HIGHBIT_DW_E): Likewise.
6332 (FP_FMA_E): Likewise.
6333 (_FP_FRAC_HIGH_DW_E): Likewise.
6334 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6335 (_FP_WFRACBITS_DW_Q): Likewise.
6336 (_FP_WFRACXBITS_DW_Q): Likewise.
6337 (_FP_HIGHBIT_DW_Q): Likewise.
6338 (FP_FMA_Q): Likewise.
6339 (_FP_FRAC_HIGH_DW_Q): Likewise.
6340 * soft-fp/fmasf4.c: New file.
6341 * soft-fp/fmadf4.c: Likewise.
6342 * soft-fp/fmatf4.c: Likewise.
6343
6308fd9a
LD
63442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6345
6346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6347 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6348 Silvermont.
6349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6350 macro.
6351 (index_Slow_SSE4_2): Likewise.
6352 (index_Prefer_PMINUB_for_stringop): Likewise.
6353 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6354 bit_Slow_SSE4_2 is set.
6355 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6357
89cd9569
RA
63582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6359
6360 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6361 rtld_global._dl_hwcap2.
6362 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6363 POWER8.
6364 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6365 POWER8 feature descriptions defined in _dl_hwcap2.
6366 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6367 string handling for POWER8 feature bits.
6368 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6369 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6370 _dl_powerpc_cap_flags.
6371 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6372 * sysdeps/powerpc/rtld-global-offsets.sym
6373 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6374 _dl_hwcap2 in the rtld_global_ro structure.
6375
1ae8bfe0
RA
63762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6377
6378 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6379 hardware capabilities in support of AT_HWCAP2.
6380 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6381 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6382 GLRO(dl_hwcap2).
6383 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6384 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6385 explicitly the unknown a_type display mechanism is used.
6386 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6387 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6388 struct member.
6389 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6390 to macro prototype for AT_HWCAP2 support.
6391 * sysdeps/i386/dl-procinfo.h: Likewise.
6392 * sysdeps/s390/dl-procinfo.h: Likewise.
6393 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6394 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6395 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6396 return -1 for unknown a_type display fallback.
6397 * sysdeps/sparc/dl-procinfo.h: Likewise.
6398 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6399 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6400
8fbec010
JM
64012013-06-28 Joseph Myers <joseph@codesourcery.com>
6402
6403 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6404 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6405
0432680e
PY
64062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6407
6408 [BZ #12492]
6409 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6410 mprotect making __stack_prot writable.
6411
ce61a2ad
NF
64122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6413 Joseph Myers <joseph@codesourcery.com>
6414
6415 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6416 as being properly aligned.
6417
f91f1c0f
MR
64182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6419
3d0f5d0c
MR
6420 * dlfcn/modstatic5.c: New file.
6421 * dlfcn/tststatic5.c: New file.
6422 * dlfcn/Makefile (tests): Add tststatic5.
6423 (tests-static): Likewise.
6424 (modules-names): Add modstatic5.
6425 (tststatic5-ENV): New variable.
6426 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6427
f91f1c0f
MR
6428 [BZ #15022]
6429 * elf/dl-support.c (_dl_main_map): New variable.
6430 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6431 (_dl_nns, _dl_load_adds): Set to 1.
6432 (_dl_initial_searchlist): Refer to _dl_main_map.
6433 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6434 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6435 call to _dl_get_origin.
6436 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6437 around call_map.
6438 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6439 * dlfcn/modstatic3.c: New file.
6440 * dlfcn/tststatic3.c: New file.
6441 * dlfcn/tststatic4.c: New file.
6442 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6443 (tests-static): Likewise.
6444 (modules-names): Add modstatic3.
6445 (tststatic3-ENV, tststatic4-ENV): New variables.
6446 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6447 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6448
cbe7d24b
JM
64492013-06-26 Joseph Myers <joseph@codesourcery.com>
6450
6451 * configure.in (CC): Require GCC version 4.4 or later.
6452 * configure: Regenerated.
6453 * manual/install.texi (Tools for Compilation): Update GCC version
6454 requirement.
6455 * INSTALL: Regenerated.
6456
11b8a0e1
LD
64572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6458
6459 [BZ #15674]
bb5bb87c
L
6460 * string/test-memcmp.c (check2): New.
6461 (main): Call check2.
6462
11b8a0e1
LD
6463 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6464
b0037103
MR
64652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6466
6467 [BZ #15022]
6468 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6469 over to...
6470 (dl_open_worker) [!SHARED]: ... here.
6471
c18c701d
RA
64722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6473
6474 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6475
1d17fa5f
RH
64762013-06-25 Richard Henderson <rth@redhat.com>
6477
6478 * locale/programs/locarchive.c: Include <libc-internal.h>
6479
8fcb833a
JM
64802013-06-25 Joseph Myers <joseph@codesourcery.com>
6481
6482 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6483 trailing whitespace removed.
6484
17db6e8d
MF
64852013-06-24 Mike Frysinger <vapier@gentoo.org>
6486
6487 [BZ #10283]
17db6e8d
MF
6488 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6489 * locale/programs/locarchive.c: Include libc-mmap.h.
6490 (prepare_address_space): Take two new outputs (the mmap base and len).
6491 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6492 values.
6493 (create_archive): Declare new mmap base and len values for
6494 prepare_address_space, and store the result in ah.
6495 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6496 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6498 Declare new mmap base and len values for
6499 prepare_address_space, and store the result in new_ah.
6500 (open_archive): Declare new mmap base and len values for
6501 prepare_address_space, and store the result in ah.
6502 (close_archive): If ah->mmap_base is not NULL, use that and
6503 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6504 * sysdeps/generic/libc-mmap.h: New file.
6505
d605071e
MF
65062013-06-24 Mike Frysinger <vapier@gentoo.org>
6507
6508 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6509 (ALIGN_UP): Likewise.
6510 (PTR_ALIGN_DOWN): Likewise.
6511 (PTR_ALIGN_UP): Likewise.
6512
2f063a6e
RA
65132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6514
6515 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6516 entry mapped to PPC_PLATFORM_POWER8.
6517 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6518 POWER8.
6519 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6520 (_dl_string_platform): Add case for exporting platform position for
6521 POWER8.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6523 search path to sysdeps/powerpc/powerpc32/power8 directory.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6525 search path to sysdeps/powerpc/powerpc64/power8 directory.
6526 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6527 power7 directories.
6528 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6529 power7 directories.
6530
a31ee4b3
SP
65312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6532
a74ca98f
SP
6533 * INSTALL: Regenerate.
6534
a31ee4b3
SP
6535 * nscd/connections.c (nscd_init): Fix comment.
6536
695c378f
JM
65372013-06-22 Joseph Myers <joseph@codesourcery.com>
6538
d8412221
JM
6539 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6540
695c378f
JM
6541 [BZ #15667]
6542 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6543 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6544
d1d54715
MR
65452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6546
6547 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6548 DL_DST_REQ_STATIC.
6549 (DL_DST_REQ_STATIC): Remove macro.
6550
8fdda7af
JM
65512013-06-21 Joseph Myers <joseph@codesourcery.com>
6552
6553 [BZ #7006]
6554 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6555 with a shift of 0 bits.
6556
f3bc5e5a
MR
65572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6558
6559 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6560 $(tststatic-ENV).
6561
be09e8c9
KK
65622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6563
6564 [BZ #15655]
6565 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6566
85c2e611
AZ
65672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6568
6569 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6570 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6571 accepts -fno-tree-loop-distribute-patterns.
6572 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6573 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6574 recursive call.
6575 * string/memset.c (memset): Likewise.
6576 * string/test-memmove.c (simple_memmove): Disable loop transformation
6577 to library calls.
6578 * string/test-memset.c (simple_memset): Likewise.
6579 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6580 * benchtests/bench-memset.c (simple_memset): Likewise.
6581 * configure: Regenerated.
6582
c91e0825
JM
65832013-06-20 Joseph Myers <joseph@codesourcery.com>
6584
b8c792af
JM
6585 * math/test-misc.c (main): Ignore fesetround failure when failures
6586 of subsequent rounding tests would be ignored.
6587
c91e0825
JM
6588 [BZ #15654]
6589 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6590 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6591 * math/fegetenv.c (__fegetenv): Return 0.
6592 * math/fegetexcept.c (fegetexcept): Return 0.
6593 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6594 FE_TONEAREST.
6595 * math/feholdexcpt.c (feholdexcept): Return 0.
6596 * math/fesetenv.c (__fesetenv): Return 0.
6597 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6598 argument FE_TONEAREST.
6599 * math/feupdateenv.c (__feupdateenv): Return 0.
6600 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6601
bfcacbde
RM
66022013-06-18 Roland McGrath <roland@hack.frob.com>
6603
6604 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6605 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6606 ($(objpfx)rtld-%.os rules): Use them.
6607
e55a9b25
AZ
66082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6609
6610 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6611 fields.
6612
346d65b3
RM
66132013-06-17 Roland McGrath <roland@hack.frob.com>
6614
12086fb4
RM
6615 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6616 length of target pattern, then descending length of dependency pattern.
6617 * configure.in (AWK): Require gawk 3.1.2 or newer.
6618 * manual/install.texi (Tools for Compilation): Say that we do.
6619 * configure: Regenerated.
6620
346d65b3
RM
6621 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6622 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6623 * scripts/sysd-rules.awk: ... this new script.
6624 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6625 than a glob-style pattern.
6626
1a846317
JM
66272013-06-17 Joseph Myers <joseph@codesourcery.com>
6628
6629 * math/test-misc.c (main): Do not treat incorrectly rounded
6630 conversions as failure unless ROUNDING_TESTS passes.
6631
8fc75e6f
JM
66322013-06-15 Joseph Myers <joseph@codesourcery.com>
6633
3711a167
JM
6634 [BZ #15631]
6635 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6636 restore exception state around main square root computation, then
6637 check for inexactness explicitly.
6638
8fc75e6f
JM
6639 * math/libm-test.inc (fma_test_data): Add another test.
6640
61dd6208
SP
66412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6642
adf23d2c
SP
6643 * manual/threads.texi (Non-POSIX Extensions): New document
6644 node. Document pthread_getattr_default_np and
6645 pthread_setattr_default_np.
6646
61dd6208
SP
6647 * Versions.def (libpthread): Add GLIBC_2.18.
6648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6650 Likewise.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6652 Likewise.
6653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6654 Likewise.
6655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6656 Likewise.
6657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6658 Likewise.
6659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6660 Likewise.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6662 Likewise.
6663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6664 Likewise.
6665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6666 Likewise.
6667
d086fc7b
LD
66682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6669
6670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6671 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6672
747ef469
SP
66732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6674 H.J. Lu <hjl.tools@gmail.com>
6675
6676 [BZ #15627]
6677 * sysdeps/x86_64/rtld-memset.c: Remove file.
6678 * sysdeps/x86_64/rtld-memset.S: New file.
6679
1b2feed2
JM
66802013-06-14 Joseph Myers <joseph@codesourcery.com>
6681
6682 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6683 (test_in_one_mode): Take arguments for whether the rounding mode
6684 is supported for each floating-point type.
6685 (do_test): Pass new arguments to test_in_one_mode using
6686 ROUNDING_TESTS.
6687
a58ad3f8
RM
66882013-06-13 Roland McGrath <roland@hack.frob.com>
6689
6690 * posix/tst-waitid.c (do_test): Distinguish different instances of
6691 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6692 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6693 before entering the kernel for waitpid.
6694
c204ab28
SP
66952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6696
6697 * NEWS: Fix note on clock function precision. Text by Roland
6698 McGrath.
6699
f4a29fba
RM
67002013-06-13 Roland McGrath <roland@hack.frob.com>
6701
6702 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6703 it into place only when and if the sanity check passes.
6704
1f24b9ad
JM
67052013-06-13 Joseph Myers <joseph@codesourcery.com>
6706
6707 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6708 output for whether conversion result is exact. Take argument
6709 indicating whether type is IBM long double.
6710 (round_for_all): Change need_exact field to ibm_ld.
6711 * stdlib/tst-strtod-round.c (struct exactness): New type.
6712 (struct test): Change bool ld_ok field to struct exactness exact.
6713 (TEST): Update all definitions for change to field.
6714 (tests): Regenerate array contents.
6715 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6716 field value. Check for IBM long double here.
6717 (do_test): Update calls to test_in_one_mode.
6718
58206c68
SP
67192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6720
6721 [BZ #12515]
6722 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6723 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6724
2d6f4c5b 67252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6726
6727 [BZ #15605]
6728 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6729 generated by the compiler on loop optimizations.
6730 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6731 general definitions.
6732
94f2c076
JM
67332013-06-12 Joseph Myers <joseph@codesourcery.com>
6734
6735 * math/bug-nextafter.c: Include <math-tests.h>.
6736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6737 the relevant type.
6738 * math/bug-nexttoward.c: Include <math-tests.h>.
6739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6740 the relevant type.
6741 * math/test-misc.c: Include <math-tests.h>.
6742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6743 the relevant type.
6744
e0e50a0a
AJ
67452013-06-12 Andreas Jaeger <aj@suse.de>
6746
6747 * po/ia.po: Update Interlingua translation from translation
6748 project.
6749
25061094
SP
67502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6751
6752 * include/fenv.h: Include stdbool.h.
6753 (struct rm_ctx): New structure.
6754 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6755 Define macro.
6756 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6757 (SET_RESTORE_ROUNDF): Likewise.
6758 (SET_RESTORE_ROUNDL): Likewise.
6759 (SET_RESTORE_ROUND_NOEX): Likewise.
6760 (SET_RESTORE_ROUND_NOEXF): Likewise.
6761 (SET_RESTORE_ROUND_NOEXL): Likewise.
6762 (SET_RESTORE_ROUND_53BIT): Likewise.
6763 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6764 (libc_feresetround_noexf_ctx): Likewise.
6765 (libc_feresetround_noexl_ctx): Likewise.
6766 (libc_feholdsetround_53bit_ctx): Likewise.
6767 (libc_feresetround_53bit_ctx): Likewise.
6768 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6769 (libc_feholdexcept_setround_sse_ctx): New function.
6770 (libc_fesetenv_sse_ctx): Likewise.
6771 (libc_feupdateenv_sse_ctx): Likewise.
6772 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6773 (libc_feholdexcept_setround_387_ctx): Likewise.
6774 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6775 (libc_feholdsetround_387_prec_ctx): Likewise.
6776 (libc_feholdsetround_387_ctx): Likewise.
6777 (libc_feholdsetround_387_53bit_ctx): Likewise.
6778 (libc_feholdsetround_sse_ctx): Likewise.
6779 (libc_feresetround_sse_ctx): Likewise.
6780 (libc_feresetround_387_ctx): Likewise.
6781 (libc_feupdateenv_387_ctx): Likewise.
6782 (libc_feholdexcept_setroundf_ctx): Define macro.
6783 (libc_fesetenvf_ctx): Likewise.
6784 (libc_feupdateenvf_ctx): Likewise.
6785 (libc_feholdsetroundf_ctx): Likewise.
6786 (libc_feresetroundf_ctx): Likewise.
6787 (libc_feholdexcept_setround_ctx): Likewise.
6788 (libc_fesetenv_ctx): Likewise.
6789 (libc_feupdateenv_ctx): Likewise.
6790 (libc_feholdsetround_ctx): Likewise.
6791 (libc_feresetround_ctx): Likewise.
6792 (libc_feholdexcept_setroundl_ctx): Likewise.
6793 (libc_feupdateenvl_ctx): Likewise.
6794 (libc_feholdsetroundl_ctx): Likewise.
6795 (libc_feresetroundl_ctx): Likewise.
6796 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6797 (libc_feresetround_53bit_ctx): Likewise.
6798
59b30555
SP
67992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6800
6801 * locale/iso-639.def: Convert to UTF-8.
6802
f1d73d30
JM
68032013-06-11 Joseph Myers <joseph@codesourcery.com>
6804
6805 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6806 (EXCEPTION_TESTS_double): Likewise.
6807 (EXCEPTION_TESTS_long_double): Likewise.
6808 (EXCEPTION_TESTS): Likewise.
6809 * math/libm-test.inc (test_exceptions): Only test exceptions if
6810 EXCEPTION_TESTS (FLOAT).
6811
94aca5e7
SP
68122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6813
6814 * benchtests/Makefile (string-bench): Add strcpy_chk and
6815 stpcpy_chk.
6816 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6817 * benchtests/bench-stpcpy_chk.c: New file.
6818 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6819 * benchtests/bench-strcpy_chk.c: New file.
6820 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6821 code.
6822 (do_test): Likewise.
6823
fac0c5f2
RA
68242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6825
6826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6827 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6828 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6829 with tabs where appropriate.
6830 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6831 dl-procinfo.h.
6832 [PPC_PLATFORM_PPC440]: Likewise.
6833 [PPC_PLATFORM_PPC464]: Likewise.
6834 [PPC_PLATFORM_PPC476]: Likewise.
6835 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6836 ppc464, and ppc476 platform strings merging from ports/
6837 dl-procinfo.h.
6838
f22bc486
AS
68392013-06-11 Andreas Schwab <schwab@suse.de>
6840
6841 [BZ #14991]
6842 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6843 (from_ucs4_idx): Regenerate.
6844 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6845 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6846 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6847 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6848 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6849 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6850 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6851 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6852 from FROM_LOOP and TO_LOOP specific macros.
6853 (BODY): Handle combining characters.
6854 * iconvdata/BIG5HKSCS.irreversible: Update.
6855 * iconvdata/BIG5HKSCS.precomposed: New file.
6856 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6857 characters.
6858 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6859
c1f75dc3
SP
68602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6861
4eacded2
SP
6862 * include/sys/time.h: Fix indentation and add copyright header.
6863
fec799f8
SP
6864 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6865 (do_test): Likewise.
6866 * string/test-memchr.c (do_one_test): Likewise.
6867 (do_test): Likewise.
6868 * string/test-memcmp.c (do_one_test): Likewise.
6869 (do_test): Likewise.
6870 * string/test-memcpy.c (do_one_test): Likewise.
6871 (do_test): Likewise.
6872 * string/test-memmem.c (do_one_test): Likewise.
6873 (do_test): Likewise.
6874 (do_random_tests): Likewise.
6875 * string/test-memmove.c (do_one_test): Likewise.
6876 (do_test): Likewise.
6877 * string/test-memset.c (do_one_test): Likewise.
6878 (do_test): Likewise.
6879 * string/test-rawmemchr.c (do_one_test): Likewise.
6880 (do_test): Likewise.
6881 * string/test-strcasecmp.c (do_one_test): Likewise.
6882 (do_test): Likewise.
6883 * string/test-strcasestr.c (do_one_test): Likewise.
6884 (do_test): Likewise.
6885 * string/test-strcat.c (do_one_test): Likewise.
6886 (do_test): Likewise.
6887 * string/test-strchr.c (do_one_test): Likewise.
6888 (do_test): Likewise.
6889 * string/test-strcmp.c (do_one_test): Likewise.
6890 (do_test): Likewise.
6891 * string/test-strcpy.c (do_one_test): Likewise.
6892 (do_test): Likewise.
6893 * string/test-string.h: Likewise.
6894 (test_init): Likewise.
6895 * string/test-strlen.c (do_one_test): Likewise.
6896 (do_test): Likewise.
6897 * string/test-strncasecmp.c (do_one_test): Likewise.
6898 (do_test): Likewise.
6899 * string/test-strncat.c (do_one_test): Likewise.
6900 (do_test): Likewise.
6901 * string/test-strncmp.c (do_one_test): Likewise.
6902 (do_test_limit): Likewise.
6903 (do_test): Likewise.
6904 * string/test-strncpy.c (do_one_test): Likewise.
6905 (do_test): Likewise.
6906 * string/test-strnlen.c (do_one_test): Likewise.
6907 (do_test): Likewise.
6908 * string/test-strpbrk.c (do_one_test): Likewise.
6909 (do_test): Likewise.
6910 * string/test-strrchr.c (do_one_test): Likewise.
6911 (do_test): Likewise.
6912 * string/test-strspn.c (do_one_test): Likewise.
6913 (do_test): Likewise.
6914 * string/test-strstr.c (do_one_test): Likewise.
6915 (do_test): Likewise.
6916
97020474
SP
6917 * benchtests/Makefile (string-bench): Add string benchmarks.
6918 * benchtests/bench-bcopy-ifunc.c: New file.
6919 * benchtests/bench-bcopy.c: New file.
6920 * benchtests/bench-bzero-ifunc.c: New file.
6921 * benchtests/bench-bzero.c: New file.
6922 * benchtests/bench-memccpy-ifunc.c: New file.
6923 * benchtests/bench-memccpy.c: New file.
6924 * benchtests/bench-memchr-ifunc.c: New file.
6925 * benchtests/bench-memchr.c: New file.
6926 * benchtests/bench-memcmp-ifunc.c: New file.
6927 * benchtests/bench-memcmp.c: New file.
6928 * benchtests/bench-memmem-ifunc.c: New file.
6929 * benchtests/bench-memmem.c: New file.
6930 * benchtests/bench-memmove-ifunc.c: New file.
6931 * benchtests/bench-memmove.c: New file.
6932 * benchtests/bench-mempcpy-ifunc.c: New file.
6933 * benchtests/bench-mempcpy.c: New file.
6934 * benchtests/bench-memset-ifunc.c: New file.
6935 * benchtests/bench-memset.c: New file.
6936 * benchtests/bench-rawmemchr-ifunc.c: New file.
6937 * benchtests/bench-rawmemchr.c: New file.
6938 * benchtests/bench-stpcpy-ifunc.c: New file.
6939 * benchtests/bench-stpcpy.c: New file.
6940 * benchtests/bench-stpncpy-ifunc.c: New file.
6941 * benchtests/bench-stpncpy.c: New file.
6942 * benchtests/bench-strcasecmp-ifunc.c: New file.
6943 * benchtests/bench-strcasecmp.c: New file.
6944 * benchtests/bench-strcasestr-ifunc.c: New file.
6945 * benchtests/bench-strcasestr.c: New file.
6946 * benchtests/bench-strcat-ifunc.c: New file.
6947 * benchtests/bench-strcat.c: New file.
6948 * benchtests/bench-strchr-ifunc.c: New file.
6949 * benchtests/bench-strchr.c: New file.
6950 * benchtests/bench-strchrnul-ifunc.c: New file.
6951 * benchtests/bench-strchrnul.c: New file.
6952 * benchtests/bench-strcmp-ifunc.c: New file.
6953 * benchtests/bench-strcmp.c: New file.
6954 * benchtests/bench-strcpy-ifunc.c: New file.
6955 * benchtests/bench-strcpy.c: New file.
6956 * benchtests/bench-strcspn-ifunc.c: New file.
6957 * benchtests/bench-strcspn.c: New file.
6958 * benchtests/bench-strlen-ifunc.c: New file.
6959 * benchtests/bench-strlen.c: New file.
6960 * benchtests/bench-strncasecmp-ifunc.c: New file.
6961 * benchtests/bench-strncasecmp.c: New file.
6962 * benchtests/bench-strncat-ifunc.c: New file.
6963 * benchtests/bench-strncat.c: New file.
6964 * benchtests/bench-strncmp-ifunc.c: New file.
6965 * benchtests/bench-strncmp.c: New file.
6966 * benchtests/bench-strncpy-ifunc.c: New file.
6967 * benchtests/bench-strncpy.c: New file.
6968 * benchtests/bench-strnlen-ifunc.c: New file.
6969 * benchtests/bench-strnlen.c: New file.
6970 * benchtests/bench-strpbrk-ifunc.c: New file.
6971 * benchtests/bench-strpbrk.c: New file.
6972 * benchtests/bench-strrchr-ifunc.c: New file.
6973 * benchtests/bench-strrchr.c: New file.
6974 * benchtests/bench-strspn-ifunc.c: New file.
6975 * benchtests/bench-strspn.c: New file.
6976 * benchtests/bench-strstr-ifunc.c: New file.
6977 * benchtests/bench-strstr.c: New file.
6978
c1f75dc3
SP
6979 * benchtests/Makefile: Disable parallel execution of targets.
6980 (string-bench): Add memcpy.
6981 (benchset): New variable to store a list of benchmark sets.
6982 (bench-func): Renamed from bench.
6983 (bench-set): New target.
6984 (bench): Depend on bench-func and bench-set.
6985 * benchtests/README: Add section on benchmark sets.
6986 * benchtests/bench-memcpy-ifunc.c: New file.
6987 * benchtests/bench-memcpy.c: New file.
6988 * benchtests/bench-string.h: New file.
6989
50fd745b
AS
69902013-06-11 Andreas Schwab <schwab@suse.de>
6991
6992 [BZ #15577]
6993 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6994 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6995 values in the triple.
6996 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6997 terminator in the group key.
6998
3ee7e9fe
AJ
69992013-06-11 Andreas Jaeger <aj@suse.de>
7000
7001 * po/zh_TW.po: Update Chinese (traditional) translation from
7002 translation project.
7003
89fb6835
SP
70042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7005
7006 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7007 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7008 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7010 (clock_getcpuclockid): Likewise.
7011 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7012 Add weak_alias and libc_hidden_def.
7013 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7014 * rt/clock_gettime.c (clock_gettime): Rename to
7015 __clock_gettime. Add weak_alias and libc_hidden_def.
7016 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7017 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7018 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7019 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7020 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7021 Likewise.
7022 * rt/clock_settime.c (clock_settime): Rename to
7023 __clock_settime. Add weak_alias and libc_hidden_def.
7024 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7025
0efa6f8b
JM
70262013-06-10 Joseph Myers <joseph@codesourcery.com>
7027
b8c61b4b
JM
7028 * mach/err_boot.sub: Remove trailing whitespace.
7029 * mach/err_ipc.sub: Likewise.
7030 * mach/err_mach.sub: Likewise.
7031
0efa6f8b
JM
7032 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7033 (ROUNDING_TESTS_double): Likewise.
7034 (ROUNDING_TESTS_long_double): Likewise.
7035 (ROUNDING_TESTS): Likewise.
7036 * math/libm-test.inc: Include <math-tests.h>.
7037 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7038 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7041
50b818bf
SP
70422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7043
7044 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7045 of assigning.
7046
60d2f8f3
JM
70472013-06-08 Joseph Myers <joseph@codesourcery.com>
7048
4902d2c3
JM
7049 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7050 otherwise empty TRANS lines.
7051 * sysdeps/gnu/errlist.c: Regenerated.
7052
60d2f8f3
JM
7053 * catgets/gencat.c (error_print): Use (void) in function
7054 definition.
7055 * crypt/crypt_util.c (__init_des): Likewise.
7056 * crypt/speeds.c (Stop): Likewise.
7057 (main): Likewise.
7058 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7059 * inet/ruserpass.c (token): Likewise.
7060 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7061 * intl/localealias.c (extend_alias_table): Likewise.
7062 * intl/plural-exp.c (init_germanic_plural): Likewise.
7063 * libio/fcloseall.c (__fcloseall): Likewise.
7064 * libio/genops.c (_IO_flush_all): Likewise.
7065 (_IO_flush_all_linebuffered): Likewise.
7066 (_IO_cleanup): Likewise.
7067 (_IO_iter_begin): Likewise.
7068 (_IO_iter_end): Likewise.
7069 (_IO_list_lock): Likewise.
7070 (_IO_list_unlock): Likewise.
7071 (_IO_list_resetlock): Likewise.
7072 * libio/getchar.c (getchar): Likewise.
7073 * libio/getchar_u.c (getchar_unlocked): Likewise.
7074 * libio/getwchar.c (getwchar): Likewise.
7075 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7076 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7077 * login/getpt.c (__getpt): Likewise.
7078 * login/tst-utmp.c (main): Likewise.
7079 * malloc/hooks.c (__malloc_check_init): Likewise.
7080 * malloc/malloc.c (__malloc_stats): Likewise.
7081 * malloc/mtrace.c (tr_break): Likewise.
7082 (mtrace): Likewise.
7083 (muntrace): Likewise.
7084 * misc/fstab.c (endfsent): Likewise.
7085 * misc/getclktck.c (__getclktck): Likewise.
7086 * misc/getdtsz.c (__getdtablesize): Likewise.
7087 * misc/gethostid.c (gethostid): Likewise.
7088 * misc/getpagesize.c (__getpagesize): Likewise.
7089 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7090 (__get_nprocs): Likewise.
7091 (__get_phys_pages): Likewise.
7092 (__get_avphys_pages): Likewise.
7093 * misc/getttyent.c (getttyent): Likewise.
7094 (setttyent): Likewise.
7095 (endttyent): Likewise.
7096 * misc/getusershell.c (getusershell): Likewise.
7097 (endusershell): Likewise.
7098 (setusershell): Likewise.
7099 (initshells): Likewise.
7100 * misc/hsearch.c (__hdestroy): Likewise.
7101 * misc/sync.c (sync): Likewise.
7102 * misc/syslog.c (closelog_internal): Likewise.
7103 (closelog): Likewise.
7104 * misc/ttyslot.c (ttyslot): Likewise.
7105 * misc/vhangup.c (vhangup): Likewise.
7106 * posix/fork.c (__fork): Likewise.
7107 * posix/getegid.c (__getegid): Likewise.
7108 * posix/geteuid.c (__geteuid): Likewise.
7109 * posix/getgid.c (__getgid): Likewise.
7110 * posix/getpid.c (__getpid): Likewise.
7111 * posix/getppid.c (__getppid): Likewise.
7112 * posix/getuid.c (__getuid): Likewise.
7113 * posix/pause.c (pause): Likewise.
7114 * posix/setpgrp.c (setpgrp): Likewise.
7115 * posix/setsid.c (__setsid): Likewise.
7116 * posix/test-vfork.c (noop): Likewise.
7117 * resolv/gethnamaddr.c (_endhtent): Likewise.
7118 (_gethtent): Likewise.
7119 (ht_endhostent): Likewise.
7120 (gethostent): Likewise.
7121 (dns_service): Likewise.
7122 * stdlib/drand48.c (drand48): Likewise.
7123 * stdlib/lrand48.c (lrand48): Likewise.
7124 * stdlib/mrand48.c (mrand48): Likewise.
7125 * stdlib/rand.c (rand): Likewise.
7126 * stdlib/random.c (__random): Likewise.
7127 * stdlib/setenv.c (clearenv): Likewise.
7128 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7129 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7130 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7131 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7132 (__get_nprocs): Likewise.
7133 (__get_phys_pages): Likewise.
7134 (__get_avphys_pages): Likewise.
7135 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7136 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7137 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7138 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7139 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7140 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7141 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7142 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7143 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7144 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7145 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7146 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7147 * sysdeps/posix/clock.c (clock): Likewise.
7148 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7149 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7150 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7151 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7152 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7154 (__get_nprocs_conf): Likewise.
7155 (__get_phys_pages): Likewise.
7156 (__get_avphys_pages): Likewise.
7157 * time/clock.c (clock): Likewise.
7158 * time/tzset.c (__tzname_max): Likewise.
7159
2e09a79a
JM
71602013-06-07 Joseph Myers <joseph@codesourcery.com>
7161
7162 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7163 (__bswap_32): Do not use "register".
7164 * crypt/crypt.c (_ufc_doit_r): Likewise.
7165 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7166 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7167 * gmon/gmon.c (__monstartup): Likewise.
7168 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7169 * hurd/hurdmalloc.c (more_memory): Likewise.
7170 (malloc): Likewise.
7171 (free): Likewise.
7172 (realloc): Likewise.
7173 (malloc_fork_prepare): Likewise.
7174 (malloc_fork_parent): Likewise.
7175 (malloc_fork_child): Likewise.
7176 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7177 (_svcauth_des): Likewise.
7178 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7179 * inet/inet_net.c (inet_network): Likewise.
7180 * inet/inet_netof.c (inet_netof): Likewise.
7181 * inet/rcmd.c (__validuser2_sa): Likewise.
7182 * io/fts.c (fts_open): Likewise.
7183 (fts_load): Likewise.
7184 (fts_close): Likewise.
7185 (fts_read): Likewise.
7186 (fts_children): Likewise.
7187 (fts_build): Likewise.
7188 (fts_stat): Likewise.
7189 (fts_sort): Likewise.
7190 (fts_alloc): Likewise.
7191 (fts_lfree): Likewise.
7192 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7193 (_IO_file_xsgetn): Likewise.
7194 (_IO_file_xsgetn_mmap): Likewise.
7195 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7196 (_IO_cookie_write): Likewise.
7197 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7198 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7199 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7200 * malloc/obstack.c (_obstack_begin): Likewise.
7201 (_obstack_begin_1): Likewise.
7202 (_obstack_newchunk): Likewise.
7203 (_obstack_allocated_p): Likewise.
7204 (obstack_free): Likewise.
7205 (_obstack_memory_used): Likewise.
7206 * misc/getttyent.c (getttynam): Likewise.
7207 (getttyent): Likewise.
7208 (skip): Likewise.
7209 (value): Likewise.
7210 * misc/getusershell.c (initshells): Likewise.
7211 * misc/syslog.c (__vsyslog_chk): Likewise.
7212 * misc/ttyslot.c (ttyslot): Likewise.
7213 * nis/nis_hash.c (__nis_hash): Likewise.
7214 * posix/fnmatch_loop.c (FCT): Likewise.
7215 * posix/getconf.c (print_all): Likewise.
7216 (main): Likewise.
7217 * posix/getopt.c (exchange): Likewise.
7218 * posix/glob.c (globfree): Likewise.
7219 (prefix_array): Likewise.
7220 (__glob_pattern_type): Likewise.
7221 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7222 (NS_GET32): Likewise.
7223 (NS_PUT16): Likewise.
7224 (NS_PUT32): Likewise.
7225 * resolv/gethnamaddr.c (getanswer): Likewise.
7226 (gethostbyname2): Likewise.
7227 (gethostbyaddr): Likewise.
7228 (_gethtent): Likewise.
7229 (_gethtbyname2): Likewise.
7230 (_gethtbyaddr): Likewise.
7231 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7232 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7233 * resolv/res_init.c (__res_vinit): Likewise.
7234 (net_mask): Likewise.
7235 * resolv/res_mkquery.c (outchar): Likewise.
7236 (PRINT): Likewise.
7237 * stdio-common/printf_fp.c (outchar): Likewise.
7238 (PRINT): Likewise.
7239 * stdio-common/printf_fphex.c (outchar): Likewise.
7240 (PRINT): Likewise.
7241 * stdio-common/printf_size.c (outchar): Likewise.
7242 (PRINT): Likewise.
7243 * stdio-common/test_rdwr.c (main): Likewise.
7244 * stdio-common/tfformat.c (matches): Likewise.
7245 * stdio-common/vfprintf.c (outchar): Likewise.
7246 (printf_unknown): Likewise.
7247 (buffered_vfprintf): Likewise.
7248 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7249 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7250 (ReadFile): Likewise.
7251 * stdlib/qsort.c (SWAP): Likewise.
7252 (_quicksort): Likewise.
7253 * stdlib/setenv.c (__add_to_environ): Likewise.
7254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7255 * stdlib/strtol_l.c (__strtol_l): Likewise.
7256 * stdlib/tst-strtod.c (main): Likewise.
7257 * stdlib/tst-strtol.c (main): Likewise.
7258 * stdlib/tst-strtoll.c (main): Likewise.
7259 * string/bits/string2.h (__strcmp_cc): Likewise.
7260 (__strcmp_cg): Likewise.
7261 (__strcspn_c1): Likewise.
7262 (__strcspn_c2): Likewise.
7263 (__strcspn_c3): Likewise.
7264 (__strspn_c1): Likewise.
7265 (__strspn_c2): Likewise.
7266 (__strspn_c3): Likewise.
7267 (__strsep_1c): Likewise.
7268 (__strsep_2c): Likewise.
7269 (__strsep_3c): Likewise.
7270 * string/memccpy.c (__memccpy): Likewise.
7271 * string/stpcpy.c (__stpcpy): Likewise.
7272 * string/strcmp.c (strcmp): Likewise.
7273 * string/strrchr.c (strrchr): Likewise.
7274 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7275 Likewise.
7276 * sysdeps/mach/hurd/getcwd.c
7277 (_hurd_canonicalize_directory_name_internal): Likewise.
7278 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7279 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7280 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7281 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7282 Likewise, in both definitions.
7283 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7284 definitions.
7285 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7286 64] (__bswap_64): Likewise.
7287 * time/test_time.c (main): Likewise.
7288 * time/tzfile.c (__tzfile_read): Likewise.
7289 (__tzfile_compute): Likewise.
7290 * time/tzset.c (__tzset_parse_tz): Likewise.
7291 (tzset_internal): Likewise.
7292 (compute_change): Likewise.
7293 * wcsmbs/wcscat.c (__wcscat): Likewise.
7294 * wcsmbs/wcschr.c (wcschr): Likewise.
7295 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7296 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7297 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7298 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7299 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7300 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7301 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7302 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7303 * wcsmbs/wmemset.c (wmemset): Likewise.
7304
9e54314b
JM
73052013-06-06 Joseph Myers <joseph@codesourcery.com>
7306
7307 * scripts/config.guess: Update to version 2013-05-16.
7308 * scripts/config.sub: Update to version 2013-04-24.
7309 * scripts/install-sh: Update to version 2011-11-20.07.
7310 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7311 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7312
350635a5
OB
73132013-06-06 Ondřej Bílka <neleai@seznam.cz>
7314
7315 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7316 * elf/sln.c: Likewise.
7317 * hurd/hurd/ioctl.h: Likewise.
7318 * hurd/hurdmalloc.c: Likewise.
7319 * hurd/xattr.c: Likewise.
7320 * include/shlib-compat.h: Likewise.
7321 * inet/ruserpass.c: Likewise.
7322 * libio/iofgets_u.c: Likewise.
7323 * libio/iofgetws_u.c: Likewise.
7324 * locale/programs/ld-identification.c: Likewise.
7325 * locale/programs/ld-time.c: Likewise.
7326 * mach/msg-destroy.c: Likewise.
7327 * nss/nss_files/files-netgrp.c: Likewise.
7328 * resolv/res_data.c: Likewise.
7329 * soft-fp/op-1.h: Likewise.
7330 * soft-fp/op-2.h: Likewise.
7331 * soft-fp/op-4.h: Likewise.
7332 * soft-fp/op-common.h: Likewise.
7333 * stdio-common/printf_fphex.c: Likewise.
7334 * stdlib/strtod_l.c: Likewise.
7335 * sunrpc/rpc/clnt.h: Likewise.
7336 * sysdeps/generic/framestate.c: Likewise.
7337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7338 * sysdeps/i386/bsd-setjmp.S: Likewise.
7339 * sysdeps/i386/__longjmp.S: Likewise.
7340 * sysdeps/i386/setjmp.S: Likewise.
7341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7342 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7359 * sysdeps/ieee754/support.c: Likewise.
7360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7361 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7362 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7363 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7364 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7365 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7366 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7367 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7368 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7369 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7370 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7371 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7375 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7378
44a988af
OB
73792013-06-05 Ondřej Bílka <neleai@seznam.cz>
7380
25506f09 7381 * posix/transbug.c: Remove executable mode.
44a988af 7382
9c84384c
JM
73832013-06-05 Joseph Myers <joseph@codesourcery.com>
7384
7385 * crypt/speeds.c: Remove trailing whitespace.
7386 * dlfcn/default.c: Likewise.
7387 * elf/ifuncdep2.c: Likewise.
7388 * elf/ifuncmain1.c: Likewise.
7389 * elf/ifuncmain1vis.c: Likewise.
7390 * elf/testobj.h: Likewise.
7391 * elf/tst-stackguard1.c: Likewise.
7392 * gmon/sys/gmon.h: Likewise.
7393 * hurd/hurdmsg.c: Likewise.
7394 * hurd/new-fd.c: Likewise.
7395 * hurd/ports-get.c: Likewise.
7396 * iconvdata/ibm1008_420.c: Likewise.
7397 * inet/tst-getni1.c: Likewise.
7398 * inet/tst-getni2.c: Likewise.
7399 * libio/ioungetc.c: Likewise.
7400 * libio/wfiledoalloc.c: Likewise.
7401 * manual/libm-err-tab.pl: Likewise.
7402 * math/w_dremf.c: Likewise.
7403 * misc/ftruncate.c: Likewise.
7404 * posix/bug-glob2.c: Likewise.
7405 * posix/tst-pcre.c: Likewise.
7406 * posix/wait4.c: Likewise.
7407 * resolv/README: Likewise.
7408 * resolv/res_debug.h: Likewise.
7409 * resolv/tst-inet_ntop.c: Likewise.
7410 * setjmp/bug269-setjmp.c: Likewise.
7411 * soft-fp/extended.h: Likewise.
7412 * soft-fp/op-1.h: Likewise.
7413 * soft-fp/op-2.h: Likewise.
7414 * soft-fp/op-4.h: Likewise.
7415 * soft-fp/op-8.h: Likewise.
7416 * soft-fp/testit.c: Likewise.
7417 * stdio-common/bug16.c: Likewise.
7418 * stdlib/random.c: Likewise.
7419 * sunrpc/rpcsvc/rquota.x: Likewise.
7420 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7449 * sysdeps/ieee754/s_lib_version.c: Likewise.
7450 * sysdeps/mach/hurd/check_fds.c: Likewise.
7451 * sysdeps/mach/hurd/getsockname.c: Likewise.
7452 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7453 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7454 * sysdeps/powerpc/bits/link.h: Likewise.
7455 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7456 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7457 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7458 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7459 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7460 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7461 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7462 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7463 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7464 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7466 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7467 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7468 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7469 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7476 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7489 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7491 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7493 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7495 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7496 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7497 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7503 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7504 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7509 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7510 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7517 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7519 * sysdeps/powerpc/sysdep.h: Likewise.
7520 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7521 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7522 * sysdeps/sh/dl-trampoline.S: Likewise.
7523 * sysdeps/sh/memset.S: Likewise.
7524 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7525 * sysdeps/sh/strlen.S: Likewise.
7526 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7527 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7528 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7529 * sysdeps/sparc/sparc32/rem.S: Likewise.
7530 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7531 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7532 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7533 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7534 * sysdeps/sparc/sparc32/urem.S: Likewise.
7535 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7537 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7538 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7540 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7541 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7542 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7543 * sysdeps/unix/bsd/times.c: Likewise.
7544 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7545 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7551 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7554 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7556 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7559 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7560 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7561 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7562 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7563 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7564 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7565 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7566 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7567 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7568 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7569 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7572 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7573 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7574 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7575 * sysdeps/x86_64/strcspn.S: Likewise.
7576
869378a5
RA
75772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7578
7579 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7580 generated file. Regenerate properly from gen-translit.pl.
7581 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7582 locale/C-translit.h.
7583
840e2943
AS
75842013-06-05 Andreas Schwab <schwab@suse.de>
7585
7586 [BZ #15100]
7587 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7588 week as 6 instead of -1.
7589 * time/tst-strptime.c (day_tests): Add test case.
7590
4c60cb0c
SP
75912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7592
7593 * sysdeps/generic/math_private.h
7594 (libc_feholdexcept_setround_53bit): Replace with
7595 libc_feholdsetround_53bit.
7596 (libc_feupdateenv_53bit): Replace with
7597 libc_feresetround_53bit.
7598 (SET_RESTORE_ROUND_53BIT): Adjust.
7599
d180203e
SP
76002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7601
96df079a
SP
7602 * string/test-strchrnul.c: Add copyright header.
7603
d180203e
SP
7604 * posix/tst-getaddrinfo4.c: Increase test timeout.
7605
8b0ccb2d
CD
76062013-06-03 Carlos O'Donell <carlos@redhat.com>
7607
7608 [BZ #15536]
7609 * math/libm-test.inc (MAX_EXP): Remove
7610 (MIN_EXP): Define.
7611 (ulp): Use MIN_EXP - MANT_DIG.
7612 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7613
3b3c4d40
CD
76142013-05-31 Carlos O'Donell <carlos@redhat.com>
7615
7616 * po/be.po: Revert last change.
7617 * po/zh_CN.po: Likewise.
7618 * po/header.pot: Likewise.
7619
fab7ce3f
JM
76202013-05-31 Joseph Myers <joseph@codesourcery.com>
7621
7622 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7623 link-libc-deps to empty as target-specific variable.
7624 * Makerules (link-libc-args): New variable.
7625 (libc-for-link): Likewise.
7626 (link-libc-deps): Likewise.
7627 (lib%.so): Depend on $(link-libc-deps). Link with
7628 $(link-libc-args).
7629 (build-module): Link with $(link-libc-args).
7630 (build-module-asneeded): Likewise.
7631 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7632 list of objects.
7633 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7634 target-specific variable.
7635 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7636 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7637 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7638 libc.
7639 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7640 libc and ld.so.
7641 ($(objpfx)libpcprofile.so): Likewise.
7642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7643 libc_nonshared.a.
7644 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7645 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7646 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7647 $(link-libc-deps).
7648 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7649 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7650 * login/Makefile ($(objpfx)libutil.so): Likewise.
7651 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7652 * math/Makefile ($(objpfx)libm.so): Likewise.
7653 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7654 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7655 variable instead of depending directly on libc.
7656 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7657 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7658 $(link-libc-deps).
7659 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7660 libc.
7661 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7662 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7663 ($(objpfx)libanl.so): Likewise.
7664 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7665 ld.so.
7666 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7667 $(link-libc-deps).
7668 * sysdeps/i386/fpu/Makefile: Remove file.
7669 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7670 ($(objpfx)libm.so): Remove dependency on ld.so.
7671
eca5920c
PF
76722013-05-30 Patsy Franklin <pfrankli@redhat.com>
7673
7674 [BZ # 15553]
7675 * nis/yp_xdr.c (XDRMAXNAME): Define.
7676 (XDRMAXRECORD): Define.
7677 (xdr_domainname): Use XDRMAXNAME.
7678 (xdr_mapname): Likewise.
7679 (xdr_peername): Likewise.
7680 (xdr_keydat): Use XDRMAXRECORD.
7681 (xdr_valdat): Likewise.
7682
76832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7684
7685 [BZ #14256]
7686 * manual/errno.texi (ESTALE): Update to account for more than
7687 just NFS file systems.
7688 * sysdeps/gnu/errlist.c: Regenerated.
7689
b9375348
SP
76902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7691
7692 [BZ #15465]
7693 * elf/Makefile (tests): Add tst-null-argv.
7694 (modules-names): Add tst-null-argv-lib.
7695 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7696 (tst-null-argv-ENV): Set environment for tst-null-argv.
7697 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7698 (RTLD_PROGNAME): New macro.
7699 * elf/tst-null-argv.c: New test case.
7700 * elf/tst-null-argv-lib.c: Library for test case.
7701 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7702 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7703 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7704 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7705 * elf/dl-init.c (call_init): Likewise.
7706 (_dl_init): Likewise.
7707 * elf/dl-load.c (print_search_path): Likewise.
7708 (_dl_map_object): Likewise.
7709 * elf/dl-lookup.c (do_lookup_x): Likewise.
7710 (add_dependency): Likewise.
7711 (_dl_lookup_symbol_x): Likewise.
7712 (_dl_debug_bindings): Likewise.
7713 * elf/dl-open.c (_dl_show_scope): Likewise.
7714 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7715 * elf/dl-version.c (match_symbol): Likewise.
7716 (_dl_check_map_versions): Likewise.
7717 * elf/rtld.c (dl_main): Likewise.
7718 (print_unresolved): Use RTLD_PROGNAME.
7719 (print_missing_version): Likewise.
7720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7721 (elf_machine_rela): Likewise.
7722 * sysdeps/powerpc/powerpc32/dl-machine.c
7723 (__process_machine_rela): Likewise.
7724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7725 Likewise.
7726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7727 Likewise.
7728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7729 Likewise.
7730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7732 Likewise.
7733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7734 Likewise.
7735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7736
8a9f20c8
CD
77372013-05-28 Carlos O'Donell <carlos@redhat.com>
7738
7739 * po/be.po: Add descriptive title.
7740 * po/zh_CN.po: Likewise.
7741 * po/header.pot: Likewise.
7742
0e60d68e
MF
77432013-05-28 Mike Frysinger <vapier@gentoo.org>
7744
7745 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7746 error message.
7747 (enlarge_archive): Likewise.
7748
56b672e9
BN
77492013-05-28 Ben North <ben@redfrontdoor.org>
7750
7751 * manual/arith.texi (frexp): It is the magnitude of the return
7752 value which lies in [0.5, 1), not the return value itself.
7753
5e056687
AZ
77542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7755
7756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7757
2b66ef5d
TS
77582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7759
528c2405
TS
7760 * stdio-common/bug26.c (main): Correct fscanf template.
7761
07b4c13d
TS
7762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7763 declare _dl_skip_args.
7764
ec9dd97c
TS
7765 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7766 Don't declare.
7767
2b66ef5d
TS
7768 * manual/platform.texi: Add missing @end deftypefun.
7769
4f8dfe27
JM
77702013-05-24 Joseph Myers <joseph@codesourcery.com>
7771
0323d086
JM
7772 [BZ #15529]
7773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7774 bit of mantissa of 2^16382.
7775 * math/libm-test.inc (hypot_test_data): Add more tests.
7776
dd4259b9
JM
7777 * math/libm-test.inc: Add drem and pow10 to list of tested
7778 functions.
7779 (pow10_test): New function.
7780 (drem_test): Likewise.
7781 (drem_test_tonearest): Likewise.
7782 (drem_test_towardzero): Likewise.
7783 (drem_test_downward): Likewise.
7784 (drem_test_upward): Likewise.
7785 (main): Call the new functions.
7786
4f8dfe27
JM
7787 * math/libm-test.inc (finite_test_data): Remove.
7788 (finite_test): Run tests from isfinite_test_data.
7789 (gamma_test_data): Remove.
7790 (gamma_test): Run tests from lgamma_test_data.
7791 * sysdeps/i386/fpu/libm-test-ulps: Update.
7792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7793
d116b7c4
AZ
77942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7795
7796 * manual/platform.texi: Add PowerPC PPR function set documentation.
7797 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7798 implementation.
7799
e96e3767
CD
78002013-05-24 Carlos O'Donell <carlos@redhat.com>
7801
7802 * math/libm-test.inc (MAX_EXP): Define.
7803 (ULPDIFF): Define.
7804 (ulp): New function.
7805 (check_float_internal): Use ULPDIFF.
7806 (cpow_test): Disable failing test.
7807 (check_ulp): Test ulp() implemetnation.
7808 (main): Call check_ulp before starting tests.
7809
b679a606
JM
78102013-05-24 Joseph Myers <joseph@codesourcery.com>
7811
e8bdba36
JM
7812 * math/gen-libm-test.pl (generate_testfile): Do not handle
7813 START_DATA and END_DATA.
7814 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7815 END_DATA.
7816 (acos_tonearest_test_data): Likewise.
7817 (acos_towardzero_test_data): Likewise.
7818 (acos_downward_test_data): Likewise.
7819 (acos_upward_test_data): Likewise.
7820 (acosh_test_data): Likewise.
7821 (asin_test_data): Likewise.
7822 (asin_tonearest_test_data): Likewise.
7823 (asin_towardzero_test_data): Likewise.
7824 (asin_downward_test_data): Likewise.
7825 (asin_upward_test_data): Likewise.
7826 (asinh_test_data): Likewise.
7827 (atan_test_data): Likewise.
7828 (atanh_test_data): Likewise.
7829 (atan2_test_data): Likewise.
7830 (cabs_test_data): Likewise.
7831 (cacos_test_data): Likewise.
7832 (cacosh_test_data): Likewise.
7833 (carg_test_data): Likewise.
7834 (casin_test_data): Likewise.
7835 (casinh_test_data): Likewise.
7836 (catan_test_data): Likewise.
7837 (catanh_test_data): Likewise.
7838 (cbrt_test_data): Likewise.
7839 (ccos_test_data): Likewise.
7840 (ccosh_test_data): Likewise.
7841 (ceil_test_data): Likewise.
7842 (cexp_test_data): Likewise.
7843 (cimag_test_data): Likewise.
7844 (clog_test_data): Likewise.
7845 (clog10_test_data): Likewise.
7846 (conj_test_data): Likewise.
7847 (copysign_test_data): Likewise.
7848 (cos_test_data): Likewise.
7849 (cos_tonearest_test_data): Likewise.
7850 (cos_towardzero_test_data): Likewise.
7851 (cos_downward_test_data): Likewise.
7852 (cos_upward_test_data): Likewise.
7853 (cosh_test_data): Likewise.
7854 (cosh_tonearest_test_data): Likewise.
7855 (cosh_towardzero_test_data): Likewise.
7856 (cosh_downward_test_data): Likewise.
7857 (cosh_upward_test_data): Likewise.
7858 (cpow_test_data): Likewise.
7859 (cproj_test_data): Likewise.
7860 (creal_test_data): Likewise.
7861 (csin_test_data): Likewise.
7862 (csinh_test_data): Likewise.
7863 (csqrt_test_data): Likewise.
7864 (ctan_test_data): Likewise.
7865 (ctan_tonearest_test_data): Likewise.
7866 (ctan_towardzero_test_data): Likewise.
7867 (ctan_downward_test_data): Likewise.
7868 (ctan_upward_test_data): Likewise.
7869 (ctanh_test_data): Likewise.
7870 (ctanh_tonearest_test_data): Likewise.
7871 (ctanh_towardzero_test_data): Likewise.
7872 (ctanh_downward_test_data): Likewise.
7873 (ctanh_upward_test_data): Likewise.
7874 (erf_test_data): Likewise.
7875 (erfc_test_data): Likewise.
7876 (exp_test_data): Likewise.
7877 (exp_tonearest_test_data): Likewise.
7878 (exp_towardzero_test_data): Likewise.
7879 (exp_downward_test_data): Likewise.
7880 (exp_upward_test_data): Likewise.
7881 (exp10_test_data): Likewise.
7882 (exp2_test_data): Likewise.
7883 (expm1_test_data): Likewise.
7884 (fabs_test_data): Likewise.
7885 (fdim_test_data): Likewise.
7886 (finite_test_data): Likewise.
7887 (floor_test_data): Likewise.
7888 (fma_test_data): Likewise.
7889 (fma_towardzero_test_data): Likewise.
7890 (fma_downward_test_data): Likewise.
7891 (fma_upward_test_data): Likewise.
7892 (fmax_test_data): Likewise.
7893 (fmin_test_data): Likewise.
7894 (fmod_test_data): Likewise.
7895 (fpclassify_test_data): Likewise.
7896 (frexp_test_data): Likewise.
7897 (gamma_test_data): Likewise.
7898 (hypot_test_data): Likewise.
7899 (ilogb_test_data): Likewise.
7900 (isfinite_test_data): Likewise.
7901 (isgreater_test_data): Likewise.
7902 (isgreaterequal_test_data): Likewise.
7903 (isinf_test_data): Likewise.
7904 (isless_test_data): Likewise.
7905 (islessequal_test_data): Likewise.
7906 (islessgreater_test_data): Likewise.
7907 (isnan_test_data): Likewise.
7908 (isnormal_test_data): Likewise.
7909 (issignaling_test_data): Likewise.
7910 (isunordered_test_data): Likewise.
7911 (j0_test_data): Likewise.
7912 (j1_test_data): Likewise.
7913 (jn_test_data): Likewise.
7914 (ldexp_test_data): Likewise.
7915 (lgamma_test_data): Likewise.
7916 (lrint_test_data): Likewise.
7917 (lrint_tonearest_test_data): Likewise.
7918 (lrint_towardzero_test_data): Likewise.
7919 (lrint_downward_test_data): Likewise.
7920 (lrint_upward_test_data): Likewise.
7921 (llrint_test_data): Likewise.
7922 (llrint_tonearest_test_data): Likewise.
7923 (llrint_towardzero_test_data): Likewise.
7924 (llrint_downward_test_data): Likewise.
7925 (llrint_upward_test_data): Likewise.
7926 (log_test_data): Likewise.
7927 (log10_test_data): Likewise.
7928 (log1p_test_data): Likewise.
7929 (log2_test_data): Likewise.
7930 (logb_test_data): Likewise.
7931 (logb_downward_test_data): Likewise.
7932 (lround_test_data): Likewise.
7933 (llround_test_data): Likewise.
7934 (modf_test_data): Likewise.
7935 (nearbyint_test_data): Likewise.
7936 (nextafter_test_data): Likewise.
7937 (nexttoward_test_data): Likewise.
7938 (pow_test_data): Likewise.
7939 (pow_tonearest_test_data): Likewise.
7940 (pow_towardzero_test_data): Likewise.
7941 (pow_downward_test_data): Likewise.
7942 (pow_upward_test_data): Likewise.
7943 (remainder_test_data): Likewise.
7944 (remainder_tonearest_test_data): Likewise.
7945 (remainder_towardzero_test_data): Likewise.
7946 (remainder_downward_test_data): Likewise.
7947 (remainder_upward_test_data): Likewise.
7948 (remquo_test_data): Likewise.
7949 (rint_test_data): Likewise.
7950 (rint_tonearest_test_data): Likewise.
7951 (rint_towardzero_test_data): Likewise.
7952 (rint_downward_test_data): Likewise.
7953 (rint_upward_test_data): Likewise.
7954 (round_test_data): Likewise.
7955 (scalb_test_data): Likewise.
7956 (scalbn_test_data): Likewise.
7957 (scalbln_test_data): Likewise.
7958 (signbit_test_data): Likewise.
7959 (sin_test_data): Likewise.
7960 (sin_tonearest_test_data): Likewise.
7961 (sin_towardzero_test_data): Likewise.
7962 (sin_downward_test_data): Likewise.
7963 (sin_upward_test_data): Likewise.
7964 (sincos_test_data): Likewise.
7965 (sinh_test_data): Likewise.
7966 (sinh_tonearest_test_data): Likewise.
7967 (sinh_towardzero_test_data): Likewise.
7968 (sinh_downward_test_data): Likewise.
7969 (sinh_upward_test_data): Likewise.
7970 (sqrt_test_data): Likewise.
7971 (tan_test_data): Likewise.
7972 (tan_tonearest_test_data): Likewise.
7973 (tan_towardzero_test_data): Likewise.
7974 (tan_downward_test_data): Likewise.
7975 (tan_upward_test_data): Likewise.
7976 (tanh_test_data): Likewise.
7977 (tgamma_test_data): Likewise.
7978 (trunc_test_data): Likewise.
7979 (y0_test_data): Likewise.
7980 (y1_test_data): Likewise.
7981 (yn_test_data): Likewise.
7982 (significand_test_data): Likewise.
7983
b679a606
JM
7984 * math/gen-libm-test.pl (@functions): Remove variable.
7985 (generate_testfile): Don't handle START and END lines.
7986 * math/libm-test.inc (START): New macro.
7987 (END): Likewise.
7988 (END_COMPLEX): Likewise.
7989 (acos_test): Use END macro without arguments.
7990 (acos_test_tonearest): Likewise.
7991 (acos_test_towardzero): Likewise.
7992 (acos_test_downward): Likewise.
7993 (acos_test_upward): Likewise.
7994 (acosh_test): Likewise.
7995 (asin_test): Likewise.
7996 (asin_test_tonearest): Likewise.
7997 (asin_test_towardzero): Likewise.
7998 (asin_test_downward): Likewise.
7999 (asin_test_upward): Likewise.
8000 (asinh_test): Likewise.
8001 (atan_test): Likewise.
8002 (atanh_test): Likewise.
8003 (atan2_test): Likewise.
8004 (cabs_test): Likewise.
8005 (cacos_test): Use END_COMPLEX macro without arguments.
8006 (cacosh_test): Likewise.
8007 (carg_test): Use END macro without arguments.
8008 (casin_test): Use END_COMPLEX macro without arguments.
8009 (casinh_test): Likewise.
8010 (catan_test): Likewise.
8011 (catanh_test): Likewise.
8012 (cbrt_test): Use END macro without arguments.
8013 (ccos_test): Use END_COMPLEX macro without arguments.
8014 (ccosh_test): Likewise.
8015 (ceil_test): Use END macro without arguments.
8016 (cexp_test): Use END_COMPLEX macro without arguments.
8017 (cimag_test): Use END macro without arguments.
8018 (clog_test): Use END_COMPLEX macro without arguments.
8019 (clog10_test): Likewise.
8020 (conj_test): Likewise.
8021 (copysign_test): Use END macro without arguments.
8022 (cos_test): Likewise.
8023 (cos_test_tonearest): Likewise.
8024 (cos_test_towardzero): Likewise.
8025 (cos_test_downward): Likewise.
8026 (cos_test_upward): Likewise.
8027 (cosh_test): Likewise.
8028 (cosh_test_tonearest): Likewise.
8029 (cosh_test_towardzero): Likewise.
8030 (cosh_test_downward): Likewise.
8031 (cosh_test_upward): Likewise.
8032 (cpow_test): Use END_COMPLEX macro without arguments.
8033 (cproj_test): Likewise.
8034 (creal_test): Use END macro without arguments.
8035 (csin_test): Use END_COMPLEX macro without arguments.
8036 (csinh_test): Likewise.
8037 (csqrt_test): Likewise.
8038 (ctan_test): Likewise.
8039 (ctan_test_tonearest): Likewise.
8040 (ctan_test_towardzero): Likewise.
8041 (ctan_test_downward): Likewise.
8042 (ctan_test_upward): Likewise.
8043 (ctanh_test): Likewise.
8044 (ctanh_test_tonearest): Likewise.
8045 (ctanh_test_towardzero): Likewise.
8046 (ctanh_test_downward): Likewise.
8047 (ctanh_test_upward): Likewise.
8048 (erf_test): Use END macro without arguments.
8049 (erfc_test): Likewise.
8050 (exp_test): Likewise.
8051 (exp_test_tonearest): Likewise.
8052 (exp_test_towardzero): Likewise.
8053 (exp_test_downward): Likewise.
8054 (exp_test_upward): Likewise.
8055 (exp10_test): Likewise.
8056 (exp2_test): Likewise.
8057 (expm1_test): Likewise.
8058 (fabs_test): Likewise.
8059 (fdim_test): Likewise.
8060 (finite_test): Likewise.
8061 (floor_test): Likewise.
8062 (fma_test): Likewise.
8063 (fma_test_towardzero): Likewise.
8064 (fma_test_downward): Likewise.
8065 (fma_test_upward): Likewise.
8066 (fmax_test): Likewise.
8067 (fmin_test): Likewise.
8068 (fmod_test): Likewise.
8069 (fpclassify_test): Likewise.
8070 (frexp_test): Likewise.
8071 (gamma_test): Likewise.
8072 (hypot_test): Likewise.
8073 (ilogb_test): Likewise.
8074 (isfinite_test): Likewise.
8075 (isgreater_test): Likewise.
8076 (isgreaterequal_test): Likewise.
8077 (isinf_test): Likewise.
8078 (isless_test): Likewise.
8079 (islessequal_test): Likewise.
8080 (islessgreater_test): Likewise.
8081 (isnan_test): Likewise.
8082 (isnormal_test): Likewise.
8083 (issignaling_test): Likewise.
8084 (isunordered_test): Likewise.
8085 (j0_test): Likewise.
8086 (j1_test): Likewise.
8087 (jn_test): Likewise.
8088 (ldexp_test): Likewise.
8089 (lgamma_test): Likewise.
8090 (lrint_test): Likewise.
8091 (lrint_test_tonearest): Likewise.
8092 (lrint_test_towardzero): Likewise.
8093 (lrint_test_downward): Likewise.
8094 (lrint_test_upward): Likewise.
8095 (llrint_test): Likewise.
8096 (llrint_test_tonearest): Likewise.
8097 (llrint_test_towardzero): Likewise.
8098 (llrint_test_downward): Likewise.
8099 (llrint_test_upward): Likewise.
8100 (log_test): Likewise.
8101 (log10_test): Likewise.
8102 (log1p_test): Likewise.
8103 (log2_test): Likewise.
8104 (logb_test): Likewise.
8105 (logb_test_downward): Likewise.
8106 (lround_test): Likewise.
8107 (llround_test): Likewise.
8108 (modf_test): Likewise.
8109 (nearbyint_test): Likewise.
8110 (nextafter_test): Likewise.
8111 (nexttoward_test): Likewise.
8112 (pow_test): Likewise.
8113 (pow_test_tonearest): Likewise.
8114 (pow_test_towardzero): Likewise.
8115 (pow_test_downward): Likewise.
8116 (pow_test_upward): Likewise.
8117 (remainder_test): Likewise.
8118 (remainder_test_tonearest): Likewise.
8119 (remainder_test_towardzero): Likewise.
8120 (remainder_test_downward): Likewise.
8121 (remainder_test_upward): Likewise.
8122 (remquo_test): Likewise.
8123 (rint_test): Likewise.
8124 (rint_test_tonearest): Likewise.
8125 (rint_test_towardzero): Likewise.
8126 (rint_test_downward): Likewise.
8127 (rint_test_upward): Likewise.
8128 (round_test): Likewise.
8129 (scalb_test): Likewise.
8130 (scalbn_test): Likewise.
8131 (scalbln_test): Likewise.
8132 (signbit_test): Likewise.
8133 (sin_test): Likewise.
8134 (sin_test_tonearest): Likewise.
8135 (sin_test_towardzero): Likewise.
8136 (sin_test_downward): Likewise.
8137 (sin_test_upward): Likewise.
8138 (sincos_test): Likewise.
8139 (sinh_test): Likewise.
8140 (sinh_test_tonearest): Likewise.
8141 (sinh_test_towardzero): Likewise.
8142 (sinh_test_downward): Likewise.
8143 (sinh_test_upward): Likewise.
8144 (sqrt_test): Likewise.
8145 (tan_test): Likewise.
8146 (tan_test_tonearest): Likewise.
8147 (tan_test_towardzero): Likewise.
8148 (tan_test_downward): Likewise.
8149 (tan_test_upward): Likewise.
8150 (tanh_test): Likewise.
8151 (tgamma_test): Likewise.
8152 (trunc_test): Likewise.
8153 (y0_test): Likewise.
8154 (y1_test): Likewise.
8155 (yn_test): Likewise.
8156 (significand_test): Likewise.
8157
bae143d2
OB
81582013-05-24 Ondřej Bílka <neleai@seznam.cz>
8159
8160 [BZ #15381]
8161 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8162
9323d39b
EM
81632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8164
d4ea44a0 8165 [BZ #14894]
9323d39b
EM
8166 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8167 __ppc_mdoio and __ppc_mdoom.
8168 * manual/platform.texi: Document new functions __ppc_yield,
8169 __ppc_mdoio and __ppc_mdoom.
8170
13e23af7
CD
81712013-05-22 Carlos O'Donell <carlos@redhat.com>
8172
8173 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8174 (main): Mention "tls" pseudo-hwcap is legacy.
8175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8176
351fe550
JM
81772013-05-22 Joseph Myers <joseph@codesourcery.com>
8178
8179 * math/gen-libm-test.pl (parse_args): Output only string of
8180 arguments as text for test name, not full call or descriptions of
8181 tests for extra outputs.
8182 (generate_testfile): Do not pass function name to parse_args.
8183 Generate this_func variable from START.
8184 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8185 field to arg_str.
8186 (struct test_ff_f_data): Likewise.
8187 (test_ff_f_data_nexttoward): Likewise.
8188 (struct test_fi_f_data): Likewise.
8189 (struct test_fl_f_data): Likewise.
8190 (struct test_if_f_data): Likewise.
8191 (struct test_fff_f_data): Likewise.
8192 (struct test_c_f_data): Likewise.
8193 (struct test_f_f1_data): Likewise. Remove field extra_name.
8194 (struct test_fF_f1_data): Likewise.
8195 (struct test_ffI_f1_data): Likewise.
8196 (struct test_c_c_data): Rename test_name field to arg_str.
8197 (struct test_cc_c_data): Likewise.
8198 (struct test_f_i_data): Likewise.
8199 (struct test_ff_i_data): Likewise.
8200 (struct test_f_l_data): Likewise.
8201 (struct test_f_L_data): Likewise.
8202 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8203 and extra2_name.
8204 (COMMON_TEST_SETUP): New macro.
8205 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8206 (COMMON_TEST_CLEANUP): Likewise.
8207 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8208 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8209 macros.
8210 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8211 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8212 macros.
8213 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8214 (RUN_TEST_fff_f): Take argument string. Call new setup and
8215 cleanup macros.
8216 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8217 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8218 macros.
8219 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8220 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8221 macros.
8222 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8223 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8224 cleanup macros.
8225 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8226 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8227 cleanup macros.
8228 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8229 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8230 cleanup macros.
8231 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8232 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8233 macros.
8234 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8235 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8236 macros.
8237 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8238 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8239 macros.
8240 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8241 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8242 cleanup macros.
8243 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8244 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8245 cleanup macros.
8246 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8247 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8248 macros.
8249 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8250 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8251 cleanup macros.
8252 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8253 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8254 macros.
8255 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8256 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8257 macros.
8258 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8259 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8260 cleanup macros.
8261 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8262
85118d4d
EBM
82632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8264
8265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8266 to _sifields.sigfault.
8267 (si_addr_lsb): Define new macro.
8268 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8271
7a44c18f
CD
82722013-05-03 Carlos O'Donell <carlos at redhat.com>
8273
8274 [BZ #15441]
8275 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8276 returns -1.
8277 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8278 null return -1.
8279 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8280 loading the domain.
8281
b50a7181
JM
82822013-05-22 Joseph Myers <joseph@codesourcery.com>
8283
8284 * math/gen-libm-test.pl (parse_args): Do not include expected
8285 result in test name.
8286 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8292
051063c8
SP
82932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8294
3ce9e010
SP
8295 * benchtests/Makefile: Sort function entries.
8296
051063c8
SP
8297 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8298 tanh, asinh, acosh, atanh.
8299 * benchtests/acos-inputs: New file.
8300 * benchtests/acosh-inputs: New file.
8301 * benchtests/asin-inputs: New file.
8302 * benchtests/asinh-inputs: New file.
8303 * benchtests/atanh-inputs: New file.
8304 * benchtests/cosh-inputs: New file.
8305 * benchtests/log-inputs: New file.
8306 * benchtests/sinh-inputs: New file.
8307 * benchtests/tanh-inputs: New file.
8308
47c22455
DL
83092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8310
8311 [BZ #15339]
8312 * posix/tst-getaddrinfo4.c: New test.
8313 * posix/Makefile (tests): Add it.
8314
3d04f5db
SP
83152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8316
8317 [BZ #15339]
8318 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8319 when no services were used.
8320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8321 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8322
d5dd6189
AS
83232013-05-21 Andreas Schwab <schwab@suse.de>
8324
8325 [BZ #15014]
8326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8327 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8328 successful.
8329 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8330 redundant variable declarations and reallocation of buffer when
8331 parsing as IPv6 address. Always set NSS status when called from
8332 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8333 buffer too small. Correct computation of needed size.
8334 * nss/Makefile (tests): Add test-digits-dots.
8335 * nss/test-digits-dots.c: New test.
8336
fef94eab
SP
83372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
8339 * benchtests/Makefile: Remove instructions for adding
8340 benchmark tests.
8341 * benchtests/README: New file to explain how to execute and
8342 enhance the benchmark tests.
8343
e39adf43
AS
83442013-05-21 Andreas Schwab <schwab@suse.de>
8345
8346 [BZ #15493]
8347 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8348 * setjmp/tst-sigsetjmp.c: New test.
8349
b2b671b6
OB
83502013-05-20 Ondřej Bílka <neleai@seznam.cz>
8351
8352 * sysdeps/x86_64/memset.S (memset): New implementation.
8353 (__bzero): Likewise.
8354 (__memset_tail): New function.
8355
2d48b41c
OB
83562013-05-20 Ondřej Bílka <neleai@seznam.cz>
8357
8358 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8359 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8360 __memcpy_sse2_unaligned ifunc selection.
8361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8362 Add memcpy-sse2-unaligned.S.
8363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8364 Add: __memcpy_sse2_unaligned.
8365
f16cc3eb
JM
83662013-05-19 Joseph Myers <joseph@codesourcery.com>
8367
3e694268
JM
8368 [BZ #15490]
8369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8370 math_force_eval before restoring floating-point envrionment.
8371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8373 Likewise.
8374 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8375 <math_private.h>.
8376 (__nearbyintl): Use math_force_eval before restoring
8377 floating-point environment.
8378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8379
db62a907
JM
8380 * math/gen-libm-test.pl (special_functions): Remove.
8381 (parse_args): Don't handle TEST_extra. Handle functions with no
8382 return value.
8383 * math/libm-test.inc (struct test_sincos_data): Replace with
8384 struct test_fFF_11_data.
8385 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8386 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8387 (sincos_test_data): Change element type to struct
8388 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8389 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8390 RUN_TEST_LOOP_sincos.
8391 * math/README.libm-test: Don't mention special handling of
8392 individual functions.
8393 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399
f16cc3eb
JM
8400 * math/gen-libm-test.pl (get_variable): Remove function.
8401 (parse_args): Don't show pointer parameters to call in test
8402 names. Use "extra output N" in test names for extra outputs
8403 rather than naming variables.
8404
3779b5b6
JM
84052013-05-18 Joseph Myers <joseph@codesourcery.com>
8406
2ee094ff
JM
8407 [BZ #15488]
8408 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8409 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8410 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8411 double tests.
8412 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8413 disable.
8414 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8415 check_long_double.
8416
3779b5b6
JM
8417 * math/gen-libm-test.pl (@tests): Remove variable.
8418 ($count): Likewise.
8419 (new_test): Remove function.
8420 (show_exceptions): New function.
8421 (special_functions): Use show_exceptions instead of new_test.
8422 (parse_args): Likewise.
8423 (generate_testfile): Pass only function name in generated call to
8424 print_max_error or print_complex_max_error.
8425 (get_ulps): Do not handle complex tests specially.
8426 (output_test): Rename to ...
8427 (get_all_ulps_for_test): ... this. Return a string rather than
8428 printing to a file. Require ulps to be present.
8429 (output_ulps): Generate arrays rather than #defines.
8430 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8431 (struct ulp_data): New type.
8432 (BUILD_COMPLEX_ULP): Remove macro.
8433 (compare_ulp_data): New function.
8434 (find_ulps): Likewise.
8435 (find_test_ulps): Likewise.
8436 (find_function_ulps): Likewise.
8437 (find_complex_function_ulps): Likewise.
8438 (print_max_error): Determine allowed ulps using
8439 find_function_ulps.
8440 (print_complex_max_error): Determine allowed ulps using
8441 find_complex_function_ulps.
8442 (check_float_internal): Determine max ulps using find_test_ulps.
8443 (check_float): Do not take max_ulp parameter. Update call to
8444 check_float_internal.
8445 (check_complex): Likewise.
8446 (check_int): Do not take max_ulp parameter.
8447 (check_long): Likewise.
8448 (check_bool): Likewise.
8449 (check_longlong): Likewise.
8450 (struct test_f_f_data): Remove max_ulp field.
8451 (struct test_ff_f_data): Likewise.
8452 (struct test_ff_f_data_nexttoward): Likewise.
8453 (struct test_fi_f_data): Likewise.
8454 (struct test_fl_f_data): Likewise.
8455 (struct test_if_f_data): Likewise.
8456 (struct test_fff_f_data): Likewise.
8457 (struct test_c_f_data): Likewise.
8458 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8459 (struct test_fF_f1_data): Likewise.
8460 (struct test_ffI_f1_data): Likewise.
8461 (struct test_c_c_data): Remove max_ulp field.
8462 (struct test_cc_c_data): Likewise.
8463 (struct test_f_i_data): Likewise.
8464 (struct test_ff_i_data): Likewise.
8465 (struct test_f_l_data): Likewise.
8466 (struct test_f_L_data): Likewise.
8467 (struct test_sincos_data): Likewise.
8468 (RUN_TEST_f_f): Do not handle ulps.
8469 (RUN_TEST_LOOP_f_f): Likewise.
8470 (RUN_TEST_2_f): Likewise.
8471 (RUN_TEST_LOOP_2_f): Likewise.
8472 (RUN_TEST_fff_f): Likewise.
8473 (RUN_TEST_LOOP_fff_f): Likewise.
8474 (RUN_TEST_c_f): Likewise.
8475 (RUN_TEST_LOOP_c_f): Likewise.
8476 (RUN_TEST_f_f1): Likewise.
8477 (RUN_TEST_LOOP_f_f1): Likewise.
8478 (RUN_TEST_fF_f1): Likewise.
8479 (RUN_TEST_LOOP_fF_f1): Likewise.
8480 (RUN_TEST_fI_f1): Likewise.
8481 (RUN_TEST_LOOP_fI_f1): Likewise.
8482 (RUN_TEST_ffI_f1): Likewise.
8483 (RUN_TEST_LOOP_ffI_f1): Likewise.
8484 (RUN_TEST_c_c): Likewise.
8485 (RUN_TEST_LOOP_c_c): Likewise.
8486 (RUN_TEST_cc_c): Likewise.
8487 (RUN_TEST_LOOP_cc_c): Likewise.
8488 (RUN_TEST_f_i): Likewise.
8489 (RUN_TEST_LOOP_f_i): Likewise.
8490 (RUN_TEST_f_i_tg): Likewise.
8491 (RUN_TEST_LOOP_f_i_tg): Likewise.
8492 (RUN_TEST_ff_i_tg): Likewise.
8493 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8494 (RUN_TEST_f_b): Likewise.
8495 (RUN_TEST_LOOP_f_b): Likewise.
8496 (RUN_TEST_f_b_tg): Likewise.
8497 (RUN_TEST_LOOP_f_b_tg): Likewise.
8498 (RUN_TEST_f_l): Likewise.
8499 (RUN_TEST_LOOP_f_l): Likewise.
8500 (RUN_TEST_f_L): Likewise.
8501 (RUN_TEST_LOOP_f_L): Likewise.
8502 (RUN_TEST_sincos): Likewise.
8503 (RUN_TEST_LOOP_sincos): Likewise.
8504
8269107f
JM
85052013-05-17 Joseph Myers <joseph@codesourcery.com>
8506
bb38759d
JM
8507 [BZ #15480]
8508 [BZ #15485]
8509 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8510 main case of finite arguments, set rounding mode to FE_TONEAREST
8511 and discard exceptions.
8512 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8513 exceptions.
8514 (remainder_tonearest_test_data): New variable.
8515 (remainder_test_tonearest): New function.
8516 (remainder_towardzero_test_data): New variable.
8517 (remainder_test_towardzero): New function.
8518 (remainder_downward_test_data): New variable.
8519 (remainder_test_downward): New function.
8520 (remainder_upward_test_data): New variable.
8521 (remainder_test_upward): New function.
8522 (main): Call the new test functions.
8523
a00bdcf0
JM
8524 * math/libm-test.inc (struct test_f_f1_data): Remove field
8525 extra_init.
8526 (struct test_fF_f1_data): Likewise.
8527 (struct test_ffI_f1_data): Likewise.
8528 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8529 based on value of EXTRA_EXPECTED.
8530 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8531 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8532 EXTRA_VAR based on value of EXTRA_EXPECTED.
8533 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8534 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8535 EXTRA_VAR based on value of EXTRA_EXPECTED.
8536 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8537 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8538 EXTRA_VAR based on value of EXTRA_EXPECTED.
8539 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8540 * math/gen-libm-test.pl (parse_args): Don't output initializers
8541 for extra output values.
8542
de407f79
JM
8543 * math/libm-test.inc (check_int): Expect result to be exactly
8544 equal to expected value and do not handle ulps.
8545 (check_long): Likewise.
8546 (check_longlong): Likewise.
8547
8269107f
JM
8548 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8549 exceptions.
8550 (cimag_test_data): Likewise.
8551 (conj_test_data): Likewise.
8552 (copysign_test_data): Likewise.
8553 (cproj_test_data): Likewise.
8554 (creal_test_data): Likewise.
8555 (fabs_test_data): Likewise.
8556 (fdim_test_data): Likewise.
8557 (finite_test_data): Likewise.
8558 (floor_test_data): Likewise.
8559 (fmax_test_data): Likewise.
8560 (fmin_test_data): Likewise.
8561 (fmod_test_data): Likewise.
8562 (fpclassify_test_data): Likewise.
8563 (frexp_test_data): Likewise.
8564 (ilogb_test_data): Likewise.
8565 (isfinite_test_data): Likewise.
8566 (isgreater_test_data): Likewise.
8567 (isgreaterequal_test_data): Likewise.
8568 (isinf_test_data): Likewise.
8569 (isless_test_data): Likewise.
8570 (islessequal_test_data): Likewise.
8571 (islessgreater_test_data): Likewise.
8572 (isnan_test_data): Likewise.
8573 (isnormal_test_data): Likewise.
8574 (issignaling_test_data): Likewise.
8575 (isunordered_test_data): Likewise.
8576 (ldexp_test_data): Likewise.
8577 (lrint_test_data): Likewise.
8578 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8579 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8580 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8581 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8582 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8583 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8584 test input.
8585 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8586 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8587 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8588 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8589 that test input.
8590 (lrint_downward_test_data): Test for "inexact" exceptions.
8591 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8592 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8593 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8594 test input.
8595 (lrint_upward_test_data): Test for "inexact" exceptions.
8596 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8597 test input.
8598 (llrint_test_data): Test for "inexact" exceptions.
8599 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8600 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8601 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8602 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8603 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8604 (llrint_downward_test_data): Test for "inexact" exceptions.
8605 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8606 (llrint_upward_test_data): Test for "inexact" exceptions.
8607 (logb_test_data): Likewise.
8608 (logb_downward_test_data): Likewise.
8609 (nextafter_test_data): Likewise.
8610 (nexttoward_test_data): Likewise.
8611 (remainder_test_data): Likewise.
8612 (remquo_test_data): Likewise.
8613 (scalbn_test_data): Likewise.
8614 (scalbln_test_data): Likewise.
8615 (signbit_test_data): Likewise.
8616 (sqrt_test_data): Likewise.
8617 (significand_test_data): Likewise.
8618
48a18de1
SP
86192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8620
8621 [BZ #15424]
8622 * benchtests/bench-modf.c (struct args): Mark arg0 as
8623 volatile.
8624 * scripts/bench.pl: Mark members of struct args as volatile.
8625
13d3b41a
AZ
86262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8627
68191c1d 8628 [BZ # 15497]
13d3b41a
AZ
8629 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8630 negative infinity on POWER6 or lower.
8631 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8632
2848b105
MR
86332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8634
8635 [BZ #15442]
8636 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8637 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8638 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8639 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8640 (_FP_SETQNAN): New macro.
8641 (_FP_SETQNAN_SEMIRAW): Likewise.
8642 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8643 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8644 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8645 (FP_EXTEND): Use _FP_FRAC_SNANP.
8646 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8647 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8648 into account.
8649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8650 New macro.
8651 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8652 Likewise.
8653
323e5cb7
JM
86542013-05-16 Joseph Myers <joseph@codesourcery.com>
8655
c58b274f
JM
8656 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8657 with DIVIDE_BY_ZERO_EXCEPTION.
8658 (gamma_test_data): Likewise.
8659 (lgamma_test_data): Likewise.
8660 (log_test_data): Likewise.
8661 (log10_test_data): Likewise.
8662 (log2_test_data): Likewise.
8663 (tgamma_test_data): Likewise.
8664
0ab34904
JM
8665 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8666 (acos_test_tonearest): Likewise.
8667 (acos_test_towardzero): Likewise.
8668 (acos_test_downward): Likewise.
8669 (acos_test_upward): Likewise.
8670 (acosh_test): Likewise.
8671 (asin_test): Likewise.
8672 (asin_test_tonearest): Likewise.
8673 (asin_test_towardzero): Likewise.
8674 (asin_test_downward): Likewise.
8675 (asin_test_upward): Likewise.
8676 (asinh_test): Likewise.
8677 (atan_test): Likewise.
8678 (atanh_test): Likewise.
8679 (atan2_test): Likewise.
8680 (cabs_test): Likewise.
8681 (cacos_test): Likewise.
8682 (cacosh_test): Likewise.
8683 (casin_test): Likewise.
8684 (casinh_test): Likewise.
8685 (catan_test): Likewise.
8686 (catanh_test): Likewise.
8687 (cbrt_test): Likewise.
8688 (ccos_test): Likewise.
8689 (ccosh_test): Likewise.
8690 (cexp_test): Likewise.
8691 (clog_test): Likewise.
8692 (clog10_test): Likewise.
8693 (cos_test): Likewise.
8694 (cos_test_tonearest): Likewise.
8695 (cos_test_towardzero): Likewise.
8696 (cos_test_downward): Likewise.
8697 (cos_test_upward): Likewise.
8698 (cosh_test): Likewise.
8699 (cosh_test_tonearest): Likewise.
8700 (cosh_test_towardzero): Likewise.
8701 (cosh_test_downward): Likewise.
8702 (cosh_test_upward): Likewise.
8703 (cpow_test): Likewise.
8704 (csin_test): Likewise.
8705 (csinh_test): Likewise.
8706 (csqrt_test): Likewise.
8707 (ctan_test): Likewise.
8708 (ctan_test_tonearest): Likewise.
8709 (ctan_test_towardzero): Likewise.
8710 (ctan_test_downward): Likewise.
8711 (ctan_test_upward): Likewise.
8712 (ctanh_test): Likewise.
8713 (ctanh_test_tonearest): Likewise.
8714 (ctanh_test_towardzero): Likewise.
8715 (ctanh_test_downward): Likewise.
8716 (ctanh_test_upward): Likewise.
8717 (erf_test): Likewise.
8718 (erfc_test): Likewise.
8719 (exp_test): Likewise.
8720 (exp_test_tonearest): Likewise.
8721 (exp_test_towardzero): Likewise.
8722 (exp_test_downward): Likewise.
8723 (exp_test_upward): Likewise.
8724 (exp10_test): Likewise.
8725 (exp2_test): Likewise.
8726 (expm1_test): Likewise.
8727 (fmod_test): Likewise.
8728 (gamma_test): Likewise.
8729 (hypot_test): Likewise.
8730 (j0_test): Likewise.
8731 (j1_test): Likewise.
8732 (jn_test): Likewise.
8733 (lgamma_test): Likewise.
8734 (log_test): Likewise.
8735 (log10_test): Likewise.
8736 (log1p_test): Likewise.
8737 (log2_test): Likewise.
8738 (logb_test_downward): Likewise.
8739 (pow_test): Likewise.
8740 (pow_test_tonearest): Likewise.
8741 (pow_test_towardzero): Likewise.
8742 (pow_test_downward): Likewise.
8743 (pow_test_upward): Likewise.
8744 (remainder_test): Likewise.
8745 (remquo_test): Likewise.
8746 (sin_test): Likewise.
8747 (sin_test_tonearest): Likewise.
8748 (sin_test_towardzero): Likewise.
8749 (sin_test_downward): Likewise.
8750 (sin_test_upward): Likewise.
8751 (sincos_test): Likewise.
8752 (sinh_test): Likewise.
8753 (sinh_test_tonearest): Likewise.
8754 (sinh_test_towardzero): Likewise.
8755 (sinh_test_downward): Likewise.
8756 (sinh_test_upward): Likewise.
8757 (sqrt_test): Likewise.
8758 (tan_test): Likewise.
8759 (tan_test_tonearest): Likewise.
8760 (tan_test_towardzero): Likewise.
8761 (tan_test_downward): Likewise.
8762 (tan_test_upward): Likewise.
8763 (tanh_test): Likewise.
8764 (tgamma_test): Likewise.
8765 (y0_test): Likewise.
8766 (y1_test): Likewise.
8767 (yn_test): Likewise.
8768
323e5cb7
JM
8769 * math/gen-libm-test.pl (adjust_arg): Remove function.
8770 (special_function): Remove argument $in_func. Only handle
8771 generating output for tables of tests, not inside functions.
8772 (parse_args): Likewise.
8773 (generate_testfile): Remove variable $in_func. Update call to
8774 parse_args.
8775 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8776 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8777 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8778 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8779 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8780 (MAX_VALUE_INIT): Rename macro to max_value.
8781 (MIN_VALUE_INIT): Rename macro to min_value.
8782 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8783 (plus_zero): Remove variable.
8784 (minus_zero): Likewise.
8785 (plus_infty): Likewise.
8786 (minus_infty): Likewise.
8787 (qnan_value): Likewise.
8788 (max_value): Likewise.
8789 (min_value): Likewise.
8790 (min_subnorm_value): Likewise.
8791
e054f494
RA
87922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8793
8794 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8795 uint64_t or uint32_t usage.
8796 * crypt/sha256-block.c: Likewise.
8797 * crypt/sha256-crypt.c: Likewise.
8798 * crypt/sha256.c: Likewise.
8799 * crypt/sha512-block.c: Likewise.
8800 * crypt/sha512-crypt.c: Likewise.
8801 * crypt/sha512.c: Likewise.
8802 * debug/backtrace-tst.c: Likewise.
8803 * debug/pcprofiledump.c: Likewise.
8804 * elf/cache.c: Likewise.
8805 * elf/dl-cache.c: Likewise.
8806 * elf/dl-misc.c: Likewise.
8807 * elf/dl-profile.c: Likewise.
8808 * elf/dl-support.c: Likewise.
8809 * elf/ldconfig.c: Likewise.
8810 * elf/sprof.c: Likewise.
8811 * iconv/dummy-repertoire.c: Likewise.
8812 * iconv/iconv_charmap.c: Likewise.
8813 * iconv/skeleton.c: Likewise.
8814 * iconvdata/8bit-generic.c: Likewise.
8815 * iconvdata/cp737.h: Likewise.
8816 * iconvdata/cp775.h: Likewise.
8817 * iconvdata/ibm1008.h: Likewise.
8818 * iconvdata/ibm1025.h: Likewise.
8819 * iconvdata/ibm1046.h: Likewise.
8820 * iconvdata/ibm1097.h: Likewise.
8821 * iconvdata/ibm1112.h: Likewise.
8822 * iconvdata/ibm1122.h: Likewise.
8823 * iconvdata/ibm1123.h: Likewise.
8824 * iconvdata/ibm1124.h: Likewise.
8825 * iconvdata/ibm1129.h: Likewise.
8826 * iconvdata/ibm1130.h: Likewise.
8827 * iconvdata/ibm1132.h: Likewise.
8828 * iconvdata/ibm1133.h: Likewise.
8829 * iconvdata/ibm1137.h: Likewise.
8830 * iconvdata/ibm1140.h: Likewise.
8831 * iconvdata/ibm1141.h: Likewise.
8832 * iconvdata/ibm1142.h: Likewise.
8833 * iconvdata/ibm1143.h: Likewise.
8834 * iconvdata/ibm1144.h: Likewise.
8835 * iconvdata/ibm1145.h: Likewise.
8836 * iconvdata/ibm1146.h: Likewise.
8837 * iconvdata/ibm1147.h: Likewise.
8838 * iconvdata/ibm1148.h: Likewise.
8839 * iconvdata/ibm1149.h: Likewise.
8840 * iconvdata/ibm1153.h: Likewise.
8841 * iconvdata/ibm1154.h: Likewise.
8842 * iconvdata/ibm1155.h: Likewise.
8843 * iconvdata/ibm1156.h: Likewise.
8844 * iconvdata/ibm1157.h: Likewise.
8845 * iconvdata/ibm1158.h: Likewise.
8846 * iconvdata/ibm1160.h: Likewise.
8847 * iconvdata/ibm1161.h: Likewise.
8848 * iconvdata/ibm1162.h: Likewise.
8849 * iconvdata/ibm1163.h: Likewise.
8850 * iconvdata/ibm1164.h: Likewise.
8851 * iconvdata/ibm1166.h: Likewise.
8852 * iconvdata/ibm1167.h: Likewise.
8853 * iconvdata/ibm12712.h: Likewise.
8854 * iconvdata/ibm1390.h: Likewise.
8855 * iconvdata/ibm1399.h: Likewise.
8856 * iconvdata/ibm16804.h: Likewise.
8857 * iconvdata/ibm4517.h: Likewise.
8858 * iconvdata/ibm4899.h: Likewise.
8859 * iconvdata/ibm4909.h: Likewise.
8860 * iconvdata/ibm4971.h: Likewise.
8861 * iconvdata/ibm5347.h: Likewise.
8862 * iconvdata/ibm803.h: Likewise.
8863 * iconvdata/ibm856.h: Likewise.
8864 * iconvdata/ibm901.h: Likewise.
8865 * iconvdata/ibm902.h: Likewise.
8866 * iconvdata/ibm9030.h: Likewise.
8867 * iconvdata/ibm9066.h: Likewise.
8868 * iconvdata/ibm921.h: Likewise.
8869 * iconvdata/ibm922.h: Likewise.
8870 * iconvdata/ibm9448.h: Likewise.
8871 * iconvdata/isiri-3342.h: Likewise.
8872 * iconvdata/jis0201.h: Likewise.
8873 * include/link.h: Likewise.
8874 * include/netdb.h: Likewise.
8875 * inet/check_native.c: Likewise.
8876 * inet/check_pf.c: Likewise.
8877 * inet/getipv4sourcefilter.c: Likewise.
8878 * inet/getnameinfo.c: Likewise.
8879 * inet/getsourcefilter.c: Likewise.
8880 * inet/htonl.c: Likewise.
8881 * inet/setipv4sourcefilter.c: Likewise.
8882 * inet/setsourcefilter.c: Likewise.
8883 * inet/test-inet6_opt.c: Likewise.
8884 * inet/tst-network.c: Likewise.
8885 * locale/C-collate.c: Likewise.
8886 * locale/C-ctype.c: Likewise.
8887 * locale/C-time.c: Likewise.
8888 * locale/C-translit.h: Likewise.
8889 * locale/loadarchive.c: Likewise.
8890 * locale/programs/3level.h: Likewise.
8891 * locale/programs/charmap.c: Likewise.
8892 * locale/programs/charmap.h: Likewise.
8893 * locale/programs/ld-address.c: Likewise.
8894 * locale/programs/ld-collate.c: Likewise.
8895 * locale/programs/ld-ctype.c: Likewise.
8896 * locale/programs/ld-identification.c: Likewise.
8897 * locale/programs/ld-measurement.c: Likewise.
8898 * locale/programs/ld-messages.c: Likewise.
8899 * locale/programs/ld-monetary.c: Likewise.
8900 * locale/programs/ld-name.c: Likewise.
8901 * locale/programs/ld-numeric.c: Likewise.
8902 * locale/programs/ld-paper.c: Likewise.
8903 * locale/programs/ld-telephone.c: Likewise.
8904 * locale/programs/ld-time.c: Likewise.
8905 * locale/programs/linereader.c: Likewise.
8906 * locale/programs/locale.c: Likewise.
8907 * locale/programs/locarchive.c: Likewise.
8908 * locale/programs/locfile.h: Likewise.
8909 * locale/programs/repertoire.c: Likewise.
8910 * locale/programs/simple-hash.c: Likewise.
8911 * locale/programs/simple-hash.h: Likewise.
8912 * malloc/memusage.c: Likewise.
8913 * malloc/memusagestat.c: Likewise.
8914 * nis/nis_defaults.c: Likewise.
8915 * nis/nis_hash.c: Likewise.
8916 * nis/nis_print.c: Likewise.
8917 * nis/nis_xdr.c: Likewise.
8918 * nscd/connections.c: Likewise.
8919 * nscd/hstcache.c: Likewise.
8920 * nscd/nscd_gethst_r.c: Likewise.
8921 * nscd/nscd_getserv_r.c: Likewise.
8922 * nscd/nscd_helper.c: Likewise.
8923 * nscd/servicescache.c: Likewise.
8924 * nss/makedb.c: Likewise.
8925 * nss/nss_db/db-XXX.c: Likewise.
8926 * nss/nss_db/db-initgroups.c: Likewise.
8927 * nss/nss_db/db-netgrp.c: Likewise.
8928 * nss/nss_files/files-network.c: Likewise.
8929 * nss/nss_files/files-parse.c: Likewise.
8930 * posix/bug-regex5.c: Likewise.
8931 * posix/fnmatch_loop.c: Likewise.
8932 * posix/regcomp.c: Likewise.
8933 * posix/regexec.c: Likewise.
8934 * posix/tst-rfc3484-2.c: Likewise.
8935 * posix/tst-rfc3484-3.c: Likewise.
8936 * posix/tst-rfc3484.c: Likewise.
8937 * resolv/nss_dns/dns-canon.c: Likewise.
8938 * resolv/nss_dns/dns-network.c: Likewise.
8939 * resolv/res_init.c: Likewise.
8940 * resolv/res_mkquery.c: Likewise.
8941 * resolv/tst-aton.c: Likewise.
8942 * stdlib/cxa_atexit.c: Likewise.
8943 * stdlib/cxa_finalize.c: Likewise.
8944 * stdlib/gen-fpioconst.c: Likewise.
8945 * stdlib/strtol_l.c: Likewise.
8946 * string/tst-endian.c: Likewise.
8947 * sunrpc/auth_des.c: Likewise.
8948 * sunrpc/clnt_udp.c: Likewise.
8949 * sunrpc/rtime.c: Likewise.
8950 * sunrpc/svcauth_des.c: Likewise.
8951 * sunrpc/xdr.c: Likewise.
8952 * sunrpc/xdr_intXX_t.c: Likewise.
8953 * sunrpc/xdr_rec.c: Likewise.
8954 * sysdeps/generic/ldconfig.h: Likewise.
8955 * sysdeps/generic/ldsodefs.h: Likewise.
8956 * sysdeps/generic/memusage.h: Likewise.
8957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8967 * sysdeps/posix/getaddrinfo.c: Likewise.
8968 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8969 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8970 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8972 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8973 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8974 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8975 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8976 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8978 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8979 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8980 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8981 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8983 * sysdeps/x86_64/dl-tls.h: Likewise.
8984 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8985 * time/alt_digit.c: Likewise.
8986 * time/era.c: Likewise.
8987 * wcsmbs/tst-c16c32-1.c: Likewise.
8988
8c75f674
JM
89892013-05-16 Joseph Myers <joseph@codesourcery.com>
8990
8991 * math/libm-test.inc (struct test_sincos_data): New type.
8992 (RUN_TEST_LOOP_sincos): New macro.
8993 (sincos_test_data): New variable.
8994 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8995
e6e49e59
RH
89962013-05-16 Richard Henderson <rth@redhat.com>
8997
8998 * math/atest-exp2.c (LIMB64): New macro.
8999 (CONSTSZ): New macro.
9000 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9001 (hexdig): Move ...
9002 (print_mpn_fp): ... to function scope.
9003 (read_mpn_hex): Remove.
9004 (get_log2): Remove.
9005 (exp2_mpn): Use mp_log2.
9006 (main): Use mp_exp1.
9007
15c7c18d
JM
90082013-05-16 Joseph Myers <joseph@codesourcery.com>
9009
105a07df
JM
9010 * math/libm-test.inc: Remove comment about not testing "inexact"
9011 exceptions.
9012 (INEXACT_EXCEPTION): New macro.
9013 (NO_INEXACT_EXCEPTION): Likewise.
9014 (INVALID_EXCEPTION_OK): Update value.
9015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9016 (OVERFLOW_EXCEPTION_OK): Likewise.
9017 (UNDERFLOW_EXCEPTION_OK): Likewise.
9018 (IGNORE_ZERO_INF_SIGN): Likewise.
9019 (ERRNO_UNCHANGED): Likewise.
9020 (ERRNO_EDOM): Likewise.
9021 (ERRNO_ERANGE): Likewise.
9022 (test_exceptions): Handle testing "inexact" exceptions.
9023 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9024 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9025 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9026 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9027 INEXACT_EXCEPTION.
9028 (rint_towardzero_test_data): Likewise.
9029 (rint_downward_test_data): Likewise.
9030 (rint_upward_test_data): Likewise.
9031
e9eee333
JM
9032 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9033 with OVERFLOW_EXCEPTION.
9034 (exp10_test_data): Likewise.
9035 (exp2_test_data): Likewise.
9036 (expm1_test_data): Likewise.
9037 (lgamma_test_data): Likewise.
9038 (pow_test_data): Likewise.
9039 (tgamma_test_data): Likewise.
9040 (yn_test_data): Remove duplicate test of overflow.
9041
1c38ff73
JM
9042 * math/libm-test.inc (struct test_cc_c_data): New type.
9043 (RUN_TEST_LOOP_cc_c): New macro.
9044 (cpow_test_data): New variable.
9045 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9046
15c7c18d
JM
9047 * math/libm-test.inc (struct test_f_L_data): New type.
9048 (RUN_TEST_LOOP_f_L): New macro.
9049 (llrint_test_data): New variable.
9050 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9051 (llrint_tonearest_test_data): New variable.
9052 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9053 (llrint_towardzero_test_data): New variable.
9054 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9055 (llrint_downward_test_data): New variable.
9056 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9057 (llrint_upward_test_data): New variable.
9058 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9059 (llround_test_data): New variable.
9060 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9061
f137ff13
PC
90622013-05-13 Peter Collingbourne <pcc@google.com>
9063
9064 * math/atest-exp2.c (get_log2): Remove const attribute.
9065
3608cb24
JM
90662013-05-15 Joseph Myers <joseph@codesourcery.com>
9067
9068 * math/libm-test.inc (struct test_f_l_data): New type.
9069 (RUN_TEST_LOOP_f_l): New macro.
9070 (lrint_test_data): New variable.
9071 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9072 (lrint_tonearest_test_data): New variable.
9073 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9074 (lrint_towardzero_test_data): New variable.
9075 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9076 (lrint_downward_test_data): New variable.
9077 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9078 (lrint_upward_test_data): New variable.
9079 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9080 (lround_test_data): New variable.
9081 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9082
39b1f617
PC
90832013-05-15 Peter Collingbourne <pcc@google.com>
9084
1deff3dc
PC
9085 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9086 (EXTRACT_WORDS64) Use where appropriate.
9087 (INSERT_WORDS64) Likewise.
9088
791f3ba0
PC
9089 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9090 constraints with x constraints.
9091 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9092
39b1f617
PC
9093 * malloc/obstack.c (_obstack_compat): Add initializer.
9094
12fba011
EM
90952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9096
9097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9098 si_trapno and add si_addr_lsb to _sifields.sigfault.
9099 (si_trapno): Remove macro.
9100 (si_addr_lsb): Define new macro.
9101 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9102
d369f531
JM
91032013-05-15 Joseph Myers <joseph@codesourcery.com>
9104
b861c6c4
JM
9105 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9106 instead of TEST_f_l.
9107 (llrint_test_tonearest): Likewise.
9108 (llrint_test_towardzero): Likewise.
9109 (llrint_test_downward): Likewise.
9110 (llrint_test_upward): Likewise.
9111 (llround_test): Likewise.
9112
7abeee12
JM
9113 * math/libm-test.inc (struct test_f_i_data): Add comment.
9114 (RUN_TEST_LOOP_f_b): New macro.
9115 (RUN_TEST_LOOP_f_b_tg): Likewise.
9116 (finite_test_data): New variable.
9117 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9118 (isfinite_test_data): New variable.
9119 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9120 (isinf_test_data): New variable.
9121 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9122 (isnan_test_data): New variable.
9123 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9124 (isnormal_test_data): New variable.
9125 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9126 (issignaling_test_data): New variable.
9127 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9128 (signbit_test_data): New variable.
9129 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9130
cbe8c4d3
JM
9131 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9132 with INVALID_EXCEPTION.
9133 (acosh_test_data): Likewise.
9134 (asin_test_data): Likewise.
9135 (atanh_test_data): Likewise.
9136 (fmod_test_data): Likewise.
9137 (log_test_data): Likewise.
9138 (log10_test_data): Likewise.
9139 (log2_test_data): Likewise.
9140 (pow_test_data): Likewise.
9141 (sqrt_test_data): Likewise.
9142 (y0_test_data): Likewise.
9143 (y1_test_data): Likewise.
9144 (yn_test_data): Likewise.
9145
5575c0e5
JM
9146 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9147 function contents.
9148
d369f531
JM
9149 * math/libm-test.inc (struct test_ff_i_data): New type.
9150 (RUN_TEST_LOOP_ff_i_tg): New macro.
9151 (isgreater_test_data): New variable.
9152 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9153 (isgreaterequal_test_data): New variable.
9154 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9155 (isless_test_data): New variable.
9156 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9157 (islessequal_test_data): New variable.
9158 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9159 (islessgreater_test_data): New variable.
9160 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9161 (isunordered_test_data): New variable.
9162 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9163
781fd748
DM
91642013-05-14 David S. Miller <davem@davemloft.net>
9165
9166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9167
87aa21df
JM
91682013-05-14 Joseph Myers <joseph@codesourcery.com>
9169
5e908270
JM
9170 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9171
f71172e5
JM
9172 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9173 extra_test to int.
9174 (struct test_f_i_data): Change type of max_ulp to int.
9175
8cfa635a
JM
9176 * math/libm-test.inc (test_ffI_f1_data): New type.
9177 (RUN_TEST_LOOP_ffI_f1): New macro.
9178 (remquo_test_data): New variable.
9179 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9180
2bcb36b2
JM
9181 * setjmp/tst-setjmp-fp.c: New file.
9182 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9183 (link-libm): New variable.
9184 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9185
acbd839a
JM
9186 * math/libm-test.inc (struct test_f_i_data): New type.
9187 (RUN_TEST_LOOP_f_i): New macro.
9188 (RUN_TEST_LOOP_f_i_tg): Likewise.
9189 (fpclassify_test_data): New variable.
9190 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9191 (ilogb_test_data): New variable.
9192 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9193
e414d745
JM
9194 * math/libm-test.inc (scalbln_test): Correct function name in END
9195 call.
9196
d9c2a0fd
JM
9197 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9198 (RUN_TEST_LOOP_fI_f1): New macro.
9199 (frexp_test_data): New variable.
9200 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9201
9dc9095d
JM
9202 * math/libm-test.inc (struct test_fF_f1_data): New type.
9203 (RUN_TEST_LOOP_fF_f1): New macro.
9204 (modf_test_data): New variable.
9205 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9206
87aa21df
JM
9207 * math/libm-test.inc (struct test_f_f1_data): New type.
9208 (RUN_TEST_LOOP_f_f1): New macro.
9209 (gamma_test_data): New variable.
9210 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9211 (lgamma_test_data): New variable.
9212 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9213
141af660
CD
92142013-05-13 Carlos O'Donell <carlos@redhat.com>
9215
9216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9217 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9218 (main): Comment "tls" pseudo-hwcap.
9219
6d33265c
JM
92202013-05-13 Joseph Myers <joseph@codesourcery.com>
9221
68fc074c
JM
9222 * math/libm-test.inc (struct test_fl_f_data): New type.
9223 (RUN_TEST_LOOP_fl_f): New variable.
9224 (scalbln_test_data): New variable.
9225 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9226
243216e1
JM
9227 * math/libm-test.inc (struct test_fi_f_data): New type.
9228 (RUN_TEST_LOOP_fi_f): New macro.
9229 (ldexp_test_data): New variable.
9230 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9231 (scalbn_test_data): New variable.
9232 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9233
6a1992e2
JM
9234 * math/libm-test.inc (struct test_c_f_data): New type.
9235 (RUN_TEST_LOOP_c_f): New macro.
9236 (cabs_test_data): New variable.
9237 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9238 (carg_test_data): New variable.
9239 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9240 (cimag_test_data): New variable.
9241 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9242 (creal_test_data): New variable.
9243 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9244
0e400df5
JM
9245 * math/libm-test.inc (struct test_if_f_data): New type.
9246 (RUN_TEST_LOOP_if_f): New macro.
9247 (jn_test_data): New variable.
9248 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9249 (yn_test_data): New variable.
9250 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9251
6d33265c
JM
9252 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9253
f98ece5f
AZ
92542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9255
9256 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9257 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9258
0f7d347b
SP
92592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9260
43fe811b
SP
9261 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9262 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9263 (bench-deps): Add bench-timing.h.
9264 * benchtests-bench-skeleton.c: Include bench-timing.h.
9265 (main): Use TIMING_* macros instead of clock_gettime.
9266 * benchtests/bench-timing.h: New file.
9267
0f7d347b
SP
9268 [BZ #14582]
9269 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9270 Renamed from _LIB_VERSION.
9271 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9272
601a3a5f
JM
92732013-05-12 Joseph Myers <joseph@codesourcery.com>
9274
4f184d30
JM
9275 * math/libm-test.inc (struct test_fff_f_data): New type.
9276 (RUN_TEST_LOOP_fff_f): New macro.
9277 (fma_test_data): New variable.
9278 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9279 (fma_towardzero_test_data): New variable.
9280 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9281 (fma_downward_test_data): New variable.
9282 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9283 (fma_upward_test_data): New variable.
9284 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9285
08198877
JM
9286 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9287 (struct test_c_c_data): New type.
9288 (RUN_TEST_LOOP_c_c): New macro.
9289 (cacos_test_data): New variable.
9290 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9291 (cacosh_test_data): New variable.
9292 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9293 (casin_test_data): New variable.
9294 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9295 (casinh_test_data): New variable.
9296 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9297 (catan_test_data): New variable.
9298 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9299 (catanh_test_data): New variable.
9300 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9301 (ccos_test_data): New variable.
9302 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9303 (ccosh_test_data): New variable.
9304 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9305 (cexp_test_data): New variable.
9306 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9307 (clog_test_data): New variable.
9308 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9309 (clog10_test_data): New variable.
9310 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9311 (conj_test_data): New variable.
9312 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9313 (cproj_test_data): New variable.
9314 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9315 (csin_test_data): New variable.
9316 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9317 (csinh_test_data): New variable.
9318 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9319 (csqrt_test_data): New variable.
9320 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9321 (ctan_test_data): New variable.
9322 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9323 (ctan_tonearest_test_data): New variable.
9324 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9325 (ctan_towardzero_test_data): New variable.
9326 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9327 (ctan_downward_test_data): New variable.
9328 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9329 (ctan_upward_test_data): New variable.
9330 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9331 (ctanh_test_data): New variable.
9332 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9333 (ctanh_tonearest_test_data): New variable.
9334 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9335 (ctanh_towardzero_test_data): New variable.
9336 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9337 (ctanh_downward_test_data): New variable.
9338 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9339 (ctanh_upward_test_data): New variable.
9340 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9341 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9342 of BUILD_COMPLEX.
9343
601a3a5f
JM
9344 * math/libm-test.inc (struct test_ff_f_data): New type.
9345 (struct test_ff_f_data_nexttoward): Likewise.
9346 (RUN_TEST_LOOP_2_f): New macro.
9347 (RUN_TEST_LOOP_ff_f): Likewise.
9348 (atan2_test_data): New variable.
9349 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9350 (copysign_test_data): New variable.
9351 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9352 (fdim_test_data): New variable.
9353 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9354 (fmax_test_data): New variable.
9355 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9356 (fmin_test_data): New variable.
9357 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9358 (fmod_test_data): New variable.
9359 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9360 (hypot_test_data): New variable.
9361 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9362 (nextafter_test_data): New variable.
9363 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9364 (nexttoward_test_data): New variable.
9365 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9366 (pow_test_data): New variable.
9367 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9368 (pow_tonearest_test_data): New variable.
9369 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9370 (pow_towardzero_test_data): New variable.
9371 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9372 (pow_downward_test_data): New variable.
9373 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9374 (pow_upward_test_data): New variable.
9375 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9376 (remainder_test_data): New variable.
9377 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9378 (scalb_test_data): New variable.
9379 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9381
74c57478
JM
93822013-05-11 Joseph Myers <joseph@codesourcery.com>
9383
8329e4da
JM
9384 * math/libm-test.inc (fma_test): Use max_value instead of local
9385 variable fltmax.
9386 (nextafter_test): Likewise.
9387
74c57478
JM
9388 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9389 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9390 (acos_downward_test_data): New variable.
9391 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9392 (acos_upward_test_data): New variable.
9393 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9394 (acosh_test_data): New variable.
9395 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9396 (asin_test_data): New variable.
9397 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9398 (asin_tonearest_test_data): New variable.
9399 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9400 (asin_towardzero_test_data): New variable.
9401 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9402 (asin_downward_test_data): New variable.
9403 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9404 (asin_upward_test_data): New variable.
9405 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9406 (asinh_test_data): New variable.
9407 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9408 (atan_test_data): New variable.
9409 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9410 (atanh_test_data): New variable.
9411 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9412 (cbrt_test_data): New variable.
9413 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9414 (ceil_test_data): New variable.
9415 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9416 (cos_test_data): New variable.
9417 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9418 (cos_tonearest_test_data): New variable.
9419 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9420 (cos_towardzero_test_data): New variable.
9421 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9422 (cos_downward_test_data): New variable.
9423 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9424 (cos_upward_test_data): New variable.
9425 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9426 (cosh_test_data): New variable.
9427 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9428 (cosh_tonearest_test_data): New variable.
9429 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9430 (cosh_towardzero_test_data): New variable.
9431 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9432 (cosh_downward_test_data): New variable.
9433 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9434 (cosh_upward_test_data): New variable.
9435 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9436 (erf_test_data): New variable.
9437 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9438 (erfc_test_data): New variable.
9439 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9440 (exp_test_data): New variable.
9441 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9442 (exp_tonearest_test_data): New variable.
9443 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9444 (exp_towardzero_test_data): New variable.
9445 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9446 (exp_downward_test_data): New variable.
9447 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9448 (exp_upward_test_data): New variable.
9449 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9450 (exp10_test_data): New variable.
9451 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9452 (exp2_test_data): New variable.
9453 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9454 (expm1_test_data): New variable.
9455 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9456 (fabs_test_data): New variable.
9457 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9458 (floor_test_data): New variable.
9459 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9460 (j0_test_data): New variable.
9461 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9462 (j1_test_data): New variable.
9463 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9464 (log_test_data): New variable.
9465 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9466 (log10_test_data): New variable.
9467 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9468 (log1p_test_data): New variable.
9469 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9470 (log2_test_data): New variable.
9471 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9472 (logb_test_data): New variable.
9473 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9474 (logb_downward_test_data): New variable.
9475 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9476 (nearbyint_test_data): New variable.
9477 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9478 (rint_test_data): New variable.
9479 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9480 (rint_tonearest_test_data): New variable.
9481 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9482 (rint_towardzero_test_data): New variable.
9483 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9484 (rint_downward_test_data): New variable.
9485 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9486 (rint_upward_test_data): New variable.
9487 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9488 (round_test_data): New variable.
9489 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9490 (sin_test_data): New variable.
9491 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9492 (sin_tonearest_test_data): New variable.
9493 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9494 (sin_towardzero_test_data): New variable.
9495 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9496 (sin_downward_test_data): New variable.
9497 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9498 (sin_upward_test_data): New variable.
9499 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9500 (sinh_test_data): New variable.
9501 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9502 (sinh_tonearest_test_data): New variable.
9503 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9504 (sinh_towardzero_test_data): New variable.
9505 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9506 (sinh_downward_test_data): New variable.
9507 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9508 (sinh_upward_test_data): New variable.
9509 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9510 (sqrt_test_data): New variable.
9511 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9512 (tan_test_data): New variable.
9513 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9514 (tan_tonearest_test_data): New variable.
9515 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9516 (tan_towardzero_test_data): New variable.
9517 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9518 (tan_downward_test_data): New variable.
9519 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9520 (tan_upward_test_data): New variable.
9521 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9522 (tanh_test_data): New variable.
9523 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9524 (tgamma_test_data): New variable.
9525 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9526 (trunc_test_data): New variable.
9527 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9528 (y0_test_data): New variable.
9529 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9530 (y1_test_data): New variable.
9531 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9532 (significand_test_data): New variable.
9533 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9534
7187d844
CG
95352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9536
9537 [BZ #12387]
9538 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9539
f63fae73
PT
95402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9541
9542 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9543
8a67a4b3
AJ
95442013-05-10 Andreas Jaeger <aj@suse.de>
9545
9546 [BZ #15448]
9547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9548 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9549
51df539d
JM
95502013-05-10 Joseph Myers <joseph@codesourcery.com>
9551
9552 * math/gen-libm-test.pl (adjust_arg): New function.
9553 (special_functions): Handle generating output in both functions
9554 and arrays.
9555 (parse_args): Likewise.
9556 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9557 $in_func argument to parse_args.
9558 * math/libm-test.inc (struct test_f_f_data): New type.
9559 (IF_ROUND_INIT_): New macro.
9560 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9561 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9564 (ROUND_RESTORE_): Likewise.
9565 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9566 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9567 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9568 (ROUND_RESTORE_FE_UPWARD): Likewise.
9569 (RUN_TEST_LOOP_f_f): New macro.
9570 (acos_test_data): New variable.
9571 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9572 (acos_tonearest_test_data): New variable.
9573 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9574
5c637fe5
SP
95752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9576
9577 * benchtests/bench-skeleton.c (startup): Fix coding style.
9578
ab2b9461
JM
95792013-05-10 Joseph Myers <joseph@codesourcery.com>
9580
9581 [BZ #6809]
9582 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9583 negative infinity argument.
9584 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9585 negative infinity argument.
9586 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9587 negative infinity argument.
9588 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9589 domain errors.
9590
4c0fe6fe
FW
95912013-05-10 Florian Weimer <fweimer@redhat.com>
9592
9593 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9594 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9595 * iconv/iconv_prog.c (main): Likewise.
9596 * locale/programs/charmap-dir.c (charmap_readdir)
9597 (fopen_uncompressed): Likewise.
9598 * locale/programs/locfile.c (siblings_uncached)
9599 (write_locale_data): Use lstat64 instead of lstat.
9600 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9601 stat.
9602
a3375d29
AJ
96032013-05-10 Andreas Jaeger <aj@suse.de>
9604
9605 [BZ #15395]
9606 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9607 localization.
9608 Include <locale.h>.
9609
36129722
CD
96102013-05-09 Carlos O'Donell <carlos@redhat.com>
9611
9612 * elf/dl-close.c (_dl_close_worker): Add comments.
9613
faa7f811
JM
96142013-05-09 Joseph Myers <joseph@codesourcery.com>
9615
ed41ffef
JM
9616 [BZ #15359]
9617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9618 high part of pi/2.
9619 (__ieee754_rem_pio2l): Update comments.
9620
d0213cd0
JM
9621 [BZ #15429]
9622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9623 high part of pi/2.
9624 (__ieee754_rem_pio2l): Update comments.
9625
0d3e777a
JM
9626 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9627 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9628
24f56066
JM
9629 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9630 M_PI_4l.
9631
faa7f811
JM
9632 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9633 (M_PI_34_LOG10El): Likewise.
9634 (M_PI2_LOG10El): Likewise.
9635 (M_PI4_LOG10El): Likewise.
9636 (M_PI_LOG10El): Likewise.
9637
e9a5e0fd
AZ
96382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9639
9640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9641
d8cd06db
JM
96422013-05-08 Joseph Myers <joseph@codesourcery.com>
9643
a0d9f9d7
JM
9644 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9645 (MINUS_ZERO_INIT): Likewise.
9646 (PLUS_INFTY_INIT): Likewise.
9647 (MINUS_INFTY_INIT): Likewise.
9648 (QNAN_VALUE_INIT): Likewise.
9649 (MAX_VALUE_INIT): Likewise.
9650 (MIN_VALUE_INIT): Likewise.
9651 (MIN_SUBNORM_VALUE_INIT): Likewise.
9652 (plus_zero): Initialize with PLUS_ZERO_INIT.
9653 (minus_zero): Initialize with MINUS_ZERO_INIT.
9654 (plus_infty): Initialize with PLUS_INFTY_INIT.
9655 (minus_infty): Initialize with MINUS_INFTY_INIT.
9656 (qnan_value): Initialize with QNAN_VALUE_INIT.
9657 (max_value): Initialize with MAX_VALUE_INIT.
9658 (min_value): Initialize with MIN_VALUE_INIT.
9659 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9660
ae08db3b
JM
9661 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9662 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9663 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9664 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9665
f44bf14a
JM
9666 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9667 (RUN_TEST_2_f): Likewise.
9668 (RUN_TEST_ff_f): Likewise.
9669 (RUN_TEST_fi_f): Likewise.
9670 (RUN_TEST_fl_f): Likewise.
9671 (RUN_TEST_fff_f): Likewise.
9672 (RUN_TEST_c_f): Likewise.
9673 (RUN_TEST_f_f1): Likewise.
9674 (RUN_TEST_fF_f1): Likewise.
9675 (RUN_TEST_fI_f1): Likewise.
9676 (RUN_TEST_ffI_f1): Likewise.
9677 (RUN_TEST_c_c): Likewise.
9678 (RUN_TEST_cc_c): Likewise.
9679 (RUN_TEST_f_i): Likewise.
9680 (RUN_TEST_f_i_tg): Likewise.
9681 (RUN_TEST_ff_i_tg): Likewise.
9682 (RUN_TEST_f_b): Likewise.
9683 (RUN_TEST_f_b_tg): Likewise.
9684 (RUN_TEST_f_l): Likewise.
9685 (RUN_TEST_f_L): Likewise.
9686 (RUN_TEST_sincos): Likewise.
9687 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9688 whether to show exceptions. Do not include ");\n" in return
9689 value.
9690 (special_functions): Output call to RUN_TEST_sincos instead of
9691 check_float calls. Update calls to new_test.
9692 (parse_args): Output call to single RUN_TEST_* macro instead of
9693 check_* calls and other assignments. Update calls to new_test.
9694
d8cd06db
JM
9695 [BZ #2546]
9696 [BZ #2560]
9697 [BZ #5159]
9698 [BZ #15426]
9699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9700 input to result for tgamma overflow.
9701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9702 (gamma_coeff): New variable.
9703 (NCOEFF): New macro.
9704 (gamma_positive): New function.
9705 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9706 underflow here. Use gamma_positive instead of exp (lgamma) for
9707 other arguments.
9708 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9709 (gamma_coeff): New variable.
9710 (NCOEFF): New macro.
9711 (gammaf_positive): New function.
9712 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9713 underflow here. Use gamma_positive instead of exp (lgamma) for
9714 other arguments.
9715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9716 (gamma_coeff): New variable.
9717 (NCOEFF): New macro.
9718 (gammal_positive): New function.
9719 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9720 underflow here. Use gamma_positive instead of exp (lgamma) for
9721 other arguments.
9722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9723 (gamma_coeff): New variable.
9724 (NCOEFF): New macro.
9725 (gammal_positive): New function.
9726 (__ieee754_gammal_r): Handle positive infinity, overflow and
9727 underflow here. Handle NaN the same as positive infinity. Remove
9728 check x < 0xffffffff for negative integers. Use gamma_positive
9729 instead of exp (lgamma) for other arguments.
9730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9731 (gamma_coeff): New variable.
9732 (NCOEFF): New macro.
9733 (gammal_positive): New function.
9734 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9735 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9739 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9740 * sysdeps/generic/math_private.h (__gamma_productf): New
9741 prototype.
9742 (__gamma_product): Likewise.
9743 (__gamma_productl): Likewise.
9744 * math/Makefile (libm-calls): Add gamma_product.
9745 * math/libm-test.inc (tgamma_test): Add more tests.
9746 * sysdeps/i386/fpu/libm-test-ulps: Update.
9747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9748
bb7cf681
OB
97492013-05-08 Ondřej Bílka <neleai@seznam.cz>
9750
9751 * benchtests/bench-skeleton.c (main): Preheat CPU.
9752
ba853947
AJ
97532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9754
9755 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9756
8347c74c
RM
97572013-05-07 Roland McGrath <roland@hack.frob.com>
9758
9759 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9760 and _dl_skip_args_internal.
9761
e8dd4791
CD
97622013-05-07 Carlos O'Donell <carlos@redhat.com>
9763
9764 * manual/message.texi (Message Translation): Talk about users.
9765 Message to key mapping impacts design.
9766
c7405830
RM
97672013-05-06 Roland McGrath <roland@hack.frob.com>
9768
a9173057
RM
9769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9770
976e2f03
RM
9771 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9772
9723ffc5
RM
9773 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9774 * sysdeps/wordsize-64/glob64.c: ... here.
9775
962e6658
RM
9776 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9777 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9778 New macros.
9779
ee586a6d
RM
9780 * debug/getlogin_r_chk.c: Moved to ...
9781 * login/getlogin_r_chk.c: ... here.
9782 * debug/Makefile (routines): Move getlogin_r_chk to ...
9783 * login/Makefile (routines): ... here.
9784 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9785 * login/Versions (libc: GLIBC_2.4): ... here.
9786
355f9165
RM
9787 * io/poll.c (__poll): Renamed from poll.
9788 Add libc_hidden_def.
9789 (poll): Define as weak alias.
9790
bd9ffde6
RM
9791 * debug/ptsname_r_chk.c: Moved to ...
9792 * login/ptsname_r_chk.c: ... here.
9793 * debug/Makefile (routines): Move ptsname_r_chk to ...
9794 * login/Makefile (routines): ... here.
9795 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9796 * login/Versions (libc: GLIBC_2.4): ... here.
9797
8fb16a04
RM
9798 * posix/getlogin.c: Moved to ...
9799 * login/getlogin.c: ... here.
9800 * posix/getlogin_r.c: Moved to ...
9801 * login/getlogin_r.c: ... here.
9802 * posix/getlogin_r.c: Moved to ...
9803 * login/getlogin_r.c: ... here.
9804 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9805 * login/Makefile (routines): ... here.
9806 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9807 * login/Versions (libc: GLIBC_2.0): ... here.
9808
b99b892f
RM
9809 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9810 (setrlimit): Define as weak alias.
9811
c7405830
RM
9812 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9813 Call __ names for open, ftruncate, and close.
9814 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9815 (truncate): Define as weak alias.
9816
5bf96de5
JM
98172013-05-06 Joseph Myers <joseph@codesourcery.com>
9818
9ea3513c
JM
9819 * math/gen-libm-test.pl (parse_args): Initialize x before each
9820 test of frexp, modf and remquo.
9821
5bf96de5
JM
9822 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9823 test signgam value.
9824
16e616a7
AZ
98252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9826
9827 [BZ #15418]
9828 [BZ #15419]
9829 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9830 internal tests.
9831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9832
d5e82754
RM
98332013-05-06 Roland McGrath <roland@hack.frob.com>
9834
9835 * elf/dl-writev.h: New file.
9836 * elf/dl-misc.c: Include it.
9837 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9838 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9839
a7548d41
JM
98402013-05-04 Joseph Myers <joseph@codesourcery.com>
9841
b7dab1e4
JM
9842 * math/libm-test.inc (noXFails): Remove variable.
9843 (noXPasses): Likewise.
9844 (BUILD_COMPLEX_INT): Remove macro.
9845 (print_screen): Remove xfail argument.
9846 (print_screen_max_error): Likewise.
9847 (update_stats): Likewise.
9848 (print_max_error): Likewise. Update calls to other affected
9849 functions.
9850 (print_complex_max_error): Likewise.
9851 (test_single_exception): Update calls to print_screen.
9852 (test_single_errno): Likewise.
9853 (check_float_internal): Remove xfail argument. Update calls to
9854 other affected functions.
9855 (check_float): Likewise.
9856 (check_complex): Likewise.
9857 (check_int): Likewise.
9858 (check_long): Likewise.
9859 (check_bool): Likewise.
9860 (check_longlong): Likewise.
9861 (main): Don't print noXFails and noXPasses.
9862 * math/gen-libm-test.pl (top level): Don't mention expected
9863 failure handling in comment.
9864 (new_test): Don't handle expected failures.
9865 (parse_args): Don't mention expected failure handling in comment.
9866 (generate_testfile): Don't handle expected failures.
9867 (parse_ulps): Likewise.
9868 (print_ulps_file): Likewise.
9869 (get_failure): Remove function.
9870 (output_test): Don't handle expected failures.
9871 * make/README.libm-test: Don't mention expected failure handling.
9872
a7548d41
JM
9873 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9874 (minus_zero): Likewise.
9875 (plus_infty): Likewise.
9876 (minus_infty): Likewise.
9877 (qnan_value): Likewise.
9878 (max_value): Likewise.
9879 (min_value): Likewise.
9880 (min_subnorm_value): Likewise.
9881 (initialize): Do not initialize those variables dynamically.
9882
60bfd54c
RM
98832013-05-03 Roland McGrath <roland@hack.frob.com>
9884
cc0e6ed8
RM
9885 * io/open.c (__open_2): Moved to ...
9886 * io/open_2.c: ... this new file.
9887 * io/open64.c (__open64_2): Moved to ...
9888 * io/open64_2.c: ... this new file.
9889 * io/openat.c (__openat_2): Moved to ...
9890 * io/openat_2.c: ... this new file.
9891 * io/openat64.c (__openat64_2): Moved to ...
9892 * io/openat64_2.c: ... this new file.
9893 * io/Makefile (routines): Add them.
9894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9895 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9896 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9897 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9898 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9899 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9900 (__openat64): Add hidden_ver.
9901 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9902 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9903
60bfd54c
RM
9904 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9905 Separately conditionalize setting of GLRO(dl_sysinfo) so
9906 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9907 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9908
83e7640f
AZ
99092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9910
9911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9913 definition.
9914 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9915 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9916 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9917 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9918 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9919
d5dc2af3
JM
99202013-05-03 Joseph Myers <joseph@codesourcery.com>
9921
c31a5b1e
JM
9922 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9923 test signgam value.
9924
d5dc2af3
JM
9925 * math/libm-test.inc (hypot_test): Do not use
9926 IGNORE_ZERO_INF_SIGN.
9927
164fd39d
AJ
99282013-05-03 Andreas Jaeger <aj@suse.de>
9929
9930 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9931 Linux 3.9.
9932 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9933 (PF_MAX): Adjust for VSOCK change.
9934
8237f48c
AZ
99352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9936
9937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9938
9df02941
CD
99392013-05-02 Carlos O'Donell <carlos@redhat.com>
9940
9941 [BZ #15264]
9942 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9943 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9944 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9945
d422395e
DM
99462013-05-02 David S. Miller <davem@davemloft.net>
9947
9948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9949
a07c5731
OB
99502013-05-01 Ondřej Bílka <neleai@seznam.cz>
9951
9952 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9953
1324e37f
RM
99542013-05-01 Roland McGrath <roland@hack.frob.com>
9955
9956 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9957
0695940b
RS
99582013-05-01 Richard Smith <richard@metafoo.co.uk>
9959
bb5f27ad 9960 [BZ #14952]
0695940b
RS
9961 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9962 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9963 Use __attribute__ ((__gnu_inline__)).
9964 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9965 Don't use __attribute__ ((__gnu_inline__)).
9966
10de07f5
JM
99672013-05-01 Joseph Myers <joseph@codesourcery.com>
9968
9969 [BZ #15423]
9970 * math/s_catan.c (__catan): Handle small real or imaginary part of
9971 input specially to avoid spurious underflow.
9972 * math/s_catanf.c (__catanf): Likewise.
9973 * math/s_catanh.c (__catanh): Likewise.
9974 * math/s_catanhf.c (__catanhf): Likewise.
9975 * math/s_catanhl.c (__catanhl): Likewise.
9976 * math/s_catanl.c (__catanl): Likewise.
9977 * math/libm-test.inc (catan_test): Add more tests.
9978 (catanh_test): Likewise.
9979 * sysdeps/i386/fpu/libm-test-ulps: Update.
9980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9981
cb4d5414
AZ
99822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9983
9984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9985
caf84319
JM
99862013-04-30 Joseph Myers <joseph@codesourcery.com>
9987
9988 [BZ #15416]
9989 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9990 accurately for denominator in atan2.
9991 * math/s_catanf.c (__catanf): Likewise.
9992 * math/s_catanh.c (__catanh): Likewise.
9993 * math/s_catanhf.c (__catanhf): Likewise.
9994 * math/s_catanhl.c (__catanhl): Likewise.
9995 * math/s_catanl.c (__catanl): Likewise.
9996 * math/libm-test.inc (catan_test): Add more tests.
9997 (catanh_test): Likewise.
9998 * sysdeps/i386/fpu/libm-test-ulps: Update.
9999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10000
d569c6ee
SP
100012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10002
6dbe713d
SP
10003 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10004
f0ee064b
SP
10005 * benchtests/Makefile (bench): Remove slow benchmarks.
10006 * benchtests/atan-inputs: Add slow benchmark inputs.
10007 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10008 (BENCH_FUNC): Accept variant offset.
10009 (VARIANT): Define.
10010 * benchtests/bench-skeleton.c (main): Run benchmark for each
10011 variant.
10012 * benchtests/cos-inputs: Add slow benchmark inputs.
10013 * benchtests/exp-inputs: Likewise.
10014 * benchtests/pow-inputs: Likewise.
10015 * benchtests/sin-inputs: Likewise.
10016 * benchtests/slowatan-inputs: Remove.
10017 * benchtests/slowatan.c: Remove.
10018 * benchtests/slowcos-inputs: Remove.
10019 * benchtests/slowcos.c: Remove.
10020 * benchtests/slowexp-inputs: Remove.
10021 * benchtests/slowexp.c: Remove.
10022 * benchtests/slowpow-inputs: Remove.
10023 * benchtests/slowpow.c: Remove.
10024 * benchtests/slowsin-inputs: Remove.
10025 * benchtests/slowsin.c: Remove.
10026 * benchtests/slowtan-inputs: Remove.
10027 * benchtests/slowtan.c: Remove.
10028 * benchtests/tan-inputs: Add slow benchmark inputs.
10029 * scripts/bench.pl: Parse comments and directives.
10030
d569c6ee
SP
10031 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10032 in CPPFLAGS.
10033 ($(objpfx)bench-%.c): Remove *-ITER.
10034 * benchtests/bench-modf.c: Remove definition of ITER.
10035 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10036 (main): Loop for DURATION seconds instead of fixed number of
10037 iterations.
10038 * scripts/bench.pl: Don't expect iterations in parameters.
10039
a6a242fe
RM
100402013-04-29 Roland McGrath <roland@hack.frob.com>
10041
10042 * io/fchdir.c (__fchdir): Renamed from fchdir.
10043 (fchdir): Define as weak alias.
10044
f2da7793
JM
100452013-04-29 Joseph Myers <joseph@codesourcery.com>
10046
10047 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10048 (ERRNO_EDOM): Likewise.
10049 (ERRNO_ERANGE): Likewise.
10050 (noErrnoTests): New variable.
10051 (init_max_error): Set errno to 0.
10052 (test_single_errno): New function.
10053 (test_errno): Likewise.
10054 (check_float_internal): Call test_errno. Set errno to 0.
10055 (check_complex): Refer to errno tests in comment.
10056 (check_int): Call test_errno. Set errno to 0.
10057 (check_long): Likewise.
10058 (check_bool): Likewise.
10059 (check_longlong): Likewise.
10060 (cos_test): Use ERRNO_* flags for errno tests instead of
10061 check_int.
10062 (expm1_test): Likewise.
10063 (fmod_test): Likewise.
10064 (ilogb_test): Likewise.
10065 (lgamma_test): Likewise.
10066 (pow_test): Likewise.
10067 (remainder_test): Likewise.
10068 (sin_test): Likewise.
10069 (tan_test): Likewise.
10070 (yn_test): Likewise.
10071 (initialize): Set errno to 0.
10072 (main): Print number of errno tests.
10073 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10074
b1a36ceb
AJ
100752013-04-29 Andreas Jaeger <aj@suse.de>
10076
c3ed8088
AJ
10077 [BZ #15084]
10078 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10079 and RES_USEVC.
10080
f1a24198
AJ
10081 [BZ #15085]
10082 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10083 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10084 unimplemented.
10085
9ce3b2cb
AJ
10086 [BZ #15380]
10087 * stdlib/random.c (__initstate): Return NULL if
10088 __initstate fails.
10089
f1a24198 10090 [BZ #15086]
b1a36ceb
AJ
10091 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10092 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10093 RES_SNGLKUPREOP.
10094
7e7b6f36
AZ
100952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096
10097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10098
4d14f449
JM
100992013-04-29 Joseph Myers <joseph@codesourcery.com>
10100
10101 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10102 of individual tests.
10103 (casin_test): Likewise.
10104 (casinh_test): Likewise.
10105
5b4217d7
JM
101062013-04-27 Joseph Myers <joseph@codesourcery.com>
10107
10108 [BZ #15409]
10109 * math/s_catan.c (__catan): Handle arguments with large real or
10110 imaginary part separately without squaring.
10111 * math/s_catanf.c (__catanf): Likewise.
10112 * math/s_catanh.c (__catanh): Likewise.
10113 * math/s_catanhf.c (__catanhf): Likewise.
10114 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10115 and redefine.
10116 (__catanhl): Handle arguments with large real or imaginary part
10117 separately without squaring.
10118 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10119 and redefine.
10120 (__catanl): Handle arguments with large real or imaginary part
10121 separately without squaring.
10122 * math/libm-test.inc (catan_test): Add more tests.
10123 (catanh_test): Likewise.
10124 * sysdeps/i386/fpu/libm-test-ulps: Update.
10125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10126
4220c3ef
AJ
101272013-04-27 Andreas Jaeger <aj@suse.de>
10128
10129 [BZ #15007]
10130 * stdlib/stdlib.h: Update guards for qecvt.
10131 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10132 <stdlib.h>.
10133
4721b2d1
AM
101342013-04-27 Allan McRae <allan@archlinux.org>
10135
10136 * sysdeps/i386/fpu/libm-test-ulps: Update.
10137
f0302940
JM
101382013-04-26 Joseph Myers <joseph@codesourcery.com>
10139
9457fd95
JM
10140 [BZ #15406]
10141 * math/s_catan.c: Include <float.h>.
10142 (__catan): Ensure underflow exception occurs for underflowed
10143 result.
10144 * math/s_catanf.c: Include <float.h>.
10145 (__catanf): Ensure underflow exception occurs for underflowed
10146 result.
10147 * math/s_catanh.c: Include <float.h>.
10148 (__catanh): Ensure underflow exception occurs for underflowed
10149 result.
10150 * math/s_catanhf.c: Include <float.h>.
10151 (__catanhf): Ensure underflow exception occurs for underflowed
10152 result.
10153 * math/s_catanhl.c: Include <float.h>.
10154 (__catanhl): Ensure underflow exception occurs for underflowed
10155 result.
10156 * math/s_catanl.c: Include <float.h>.
10157 (__catanl): Ensure underflow exception occurs for underflowed
10158 result.
10159 * math/libm-test.inc (catan_test): Add more tests.
10160 (catanh_test): Likewise.
10161
f0302940
JM
10162 [BZ #15405]
10163 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10164 underflowed result.
10165 * math/s_ccoshf.c (__ccoshf): Likewise.
10166 * math/s_ccoshl.c (__ccoshl): Likewise.
10167 * math/s_csin.c (__csin): Likewise.
10168 * math/s_csinf.c (__csinf): Likewise.
10169 * math/s_csinh.c (__csinh): Likewise.
10170 * math/s_csinhf.c (__csinhf): Likewise.
10171 * math/s_csinhl.c (__csinhl): Likewise.
10172 * math/s_csinl.c (__csinl): Likewise.
10173 * math/libm-test.inc (ccos_test): Add more tests.
10174 (ccosh_test): Likewise.
10175 (csin_test): Likewise.
10176 (csinh_test): Likewise.
10177
aa630f59
AZ
101782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10179
10180 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10181 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10182 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10183 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10184 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10185 powerpc/power5+/fpu folders.
10186 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10187
10188
1b835983
MT
101892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10190
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10192
73709b26
JM
101932013-04-25 Joseph Myers <joseph@codesourcery.com>
10194
10195 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10196 additions to variable.
10197 [$(config-machine) = x86_64] (modules-names): Likewise.
10198 ($(objpfx)tst-audit3): Remove dependency.
10199 ($(objpfx)tst-audit3.out): Likewise.
10200 ($(objpfx)tst-audit4): Likewise.
10201 ($(objpfx)tst-audit4.out): Likewise.
10202 ($(objpfx)tst-audit5): Likewise.
10203 ($(objpfx)tst-audit5.out): Likewise.
10204 ($(objpfx)tst-audit6): Likewise.
10205 ($(objpfx)tst-audit6.out): Likewise.
10206 ($(objpfx)tst-audit7): Likewise.
10207 ($(objpfx)tst-audit7.out): Likewise.
10208 (tst-audit3-ENV): Remove variable.
10209 (tst-audit4-ENV): Likewise.
10210 (tst-audit5-ENV): Likewise.
10211 (tst-audit6-ENV): Likewise.
10212 (tst-audit7-ENV): Likewise.
10213 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10214 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10215 addition to variable.
10216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10221 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10222 tst-audit3, tst-audit4 and tst-audit5.
10223 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10224 tst-audit6 and tst-audit7.
10225 [$(subdir) = elf] (modules-names): Add audit modules for those
10226 tests.
10227 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10228 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10229 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10230 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10231 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10232 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10233 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10234 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10235 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10236 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10237 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10238 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10239 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10240 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10241 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10242 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10243 Likewise.
10244 [$(subdir) = elf && $(config-cflags-avx) = yes]
10245 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10246 [$(subdir) = elf && $(config-cflags-avx) = yes]
10247 (CFLAGS-tst-auditmod4a.c): Likewise.
10248 [$(subdir) = elf && $(config-cflags-avx) = yes]
10249 (CFLAGS-tst-auditmod4b.c): Likewise.
10250 [$(subdir) = elf && $(config-cflags-avx) = yes]
10251 (CFLAGS-tst-auditmod6b.c): Likewise.
10252 [$(subdir) = elf && $(config-cflags-avx) = yes]
10253 (CFLAGS-tst-auditmod6c.c): Likewise.
10254 [$(subdir) = elf && $(config-cflags-avx) = yes]
10255 (CFLAGS-tst-auditmod7b.c): Likewise.
10256 * elf/tst-audit3.c: Move to ...
10257 * sysdeps/x86_64/tst-audit3.c: ... here.
10258 * elf/tst-audit4.c: Move to ...
10259 * sysdeps/x86_64/tst-audit4.c: ... here.
10260 * elf/tst-audit5.c: Move to ...
10261 * sysdeps/x86_64/tst-audit5.c: ... here.
10262 * elf/tst-audit6.c: Move to ...
10263 * sysdeps/x86_64/tst-audit6.c: ... here.
10264 * elf/tst-audit7.c: Move to ...
10265 * sysdeps/x86_64/tst-audit7.c: ... here.
10266 * elf/tst-auditmod3a.c: Move to ...
10267 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10268 * elf/tst-auditmod3b.c: Move to ...
10269 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10270 * elf/tst-auditmod4a.c: Move to ...
10271 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10272 * elf/tst-auditmod4b.c: Move to ...
10273 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10274 * elf/tst-auditmod5a.c: Move to ...
10275 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10276 * elf/tst-auditmod5b.c: Move to ...
10277 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10278 * elf/tst-auditmod6a.c: Move to ...
10279 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10280 * elf/tst-auditmod6b.c: Move to ...
10281 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10282 * elf/tst-auditmod6c.c: Move to ...
10283 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10284 * elf/tst-auditmod7a.c: Move to ...
10285 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10286 * elf/tst-auditmod7b.c: Move to ...
10287 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10288
1ef74943
PP
102892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10290
10291 [BZ #15366]
10292 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10293 define unconditionally.
10294 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10295 define unconditionally.
10296 (INT8_C, INT16_C, etc.): Likewise.
10297
93fd48c5
MR
102982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10299
ae9552cf
MR
10300 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10301 __ehdr_start with hidden visibility.
10302
93fd48c5
MR
10303 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10304
418601aa
CD
103052013-04-24 Carlos O'Donell <carlos@redhat.com>
10306
10307 * math/libm-test.inc (cos_test): Use accurate hex constants.
10308 (sincost_test): Likewise.
10309
2f38fbfe
JM
103102013-04-24 Joseph Myers <joseph@codesourcery.com>
10311
5e221800
JM
10312 * math/libm-test.inc (catan_test): Add more tests.
10313 (catanh_test): Likewise.
10314
77f143fd
JM
10315 * math/s_catanf.c (__catanf): Use suffixed floating-point
10316 constants.
10317 * math/s_catanhf.c (__catanhf): Likewise.
10318 * math/s_catanhl.c (__catanhl): Likewise.
10319 * math/s_catanl.c (__catanl): Likewise.
10320
2f38fbfe
JM
10321 [BZ #15394]
10322 * math/s_catan.c (__catan): Calculate imaginary part of result
10323 with log1p not log unless computing log of number close to 0.
10324 * math/s_catanf.c (__catanf): Likewise.
10325 * math/s_catanl.c (__catanl): Likewise.
10326 * math/s_catanh.c (__catanh): Calculate real part of result with
10327 log1p not log unless computing log of number close to 0.
10328 * math/s_catanhf.c (__catanhf): Likewise.
10329 * math/s_catanhl.c (__catanhl): Likewise.
10330 * math/libm-test.inc (catan_test): Add more tests.
10331 (catanh_test): Likewise.
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10334
45d69176
SP
103352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10336
10337 * benchtests/Makefile: Mention files in which fast and slow
10338 paths of math functions are implemented.
10339
87f51853
RM
103402013-04-23 Roland McGrath <roland@hack.frob.com>
10341
10342 * sysdeps/posix/timespec_get.c: New file.
10343
3c026539
AZ
103442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10345
10346 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10347 POWER.
10348 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10349 for POWER.
10350 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10351 powerpc/power5/fpu folders.
10352 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10353 * benchtests/Makefile: Add modf testcase.
10354 * benchtests/bench-modf.c: New file: Benchmark test for mo
10355
ff491d14
SP
103562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10357
10358 [BZ #14888]
10359 * time/Makefile (tests): Add tst-strptime-whitespace.
10360 * time/strptime_l.c (get_number): Use ISSPACE.
10361 (__strptime_internal): Likewise.
10362 * time/tst-strptime-whitespace.c: New test case.
10363
7ed3f4e8
AS
103642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10365
10366 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10367 member.
10368 (_nss_files_init): Set it here.
10369
5c95f7b6
HC
103702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10371
10372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10373 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10374 unsigned.
10375
d34c9158
JBG
103762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10377
10378 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10379
2169712d
SP
103802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10381
10382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10383 size just once.
10384
29c5de99
DM
103852013-04-21 David S. Miller <davem@davemloft.net>
10386
10387 * po/ru.po: Update Russion translation from translation project.
10388
ccdad15d
AC
103892013-04-17 Adam Conrad <adconrad@0c3.net>
10390
10391 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10392 and setfsgid.
10393
0f122b8d
CD
103942013-04-17 Carlos O'Donell <carlos@redhat.com>
10395
5c5b07da 10396 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10397 * configure: Regenerate.
5c5b07da 10398 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10399 Add example to error message.
10400 * sysdeps/i386/configure: Regenerate.
10401
037714dd
SP
104022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10403
10404 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10405 slowtan.
10406 * benchtests/cos-inputs: New file.
10407 * benchtests/slowcos-inputs: New file.
10408 * benchtests/slowcos.c: New file.
10409 * benchtests/slowtan-inputs: New file.
10410 * benchtests/slowtan.c: New file.
10411 * benchtests/tan-inputs: New file.
10412
e913141d
RM
104132013-04-16 Roland McGrath <roland@hack.frob.com>
10414
10415 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10416 considered kosher.
10417
a2964074
SP
104182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10419
4856bcd2
SP
10420 * benchtests/Makefile: Include cppflags-iterator.mk to add
10421 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10422
a2964074
SP
10423 * Makefile.in (bench-clean): New target.
10424 * benchtests/Makefile (bench-clean): Likewise.
10425
9fbf9aca
DH
104262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10427
10428 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10429
207d1e2a
TS
104302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10431
10432 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10433
306dfba9
AS
104342013-04-15 Andreas Schwab <schwab@suse.de>
10435
10436 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10438 * nscd/pwdcache.c (cache_addpw): Likewise.
10439 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10440 more than recsize.
10441
206a6699
SP
104422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
10444 * benchtests/Makefile (bench): Write all output to
10445 bench-out.tmp together.
10446
0582f6b3
AS
104472013-04-15 Andreas Schwab <schwab@suse.de>
10448
10449 * nscd/nscd.c (main): Don't fork again after closing files.
10450
acb4325f
SP
104512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
5cb26d0a
SP
10453 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10454
acb4325f
SP
10455 * benchtests/Rules (bench-deps): Collect dependencies into a
10456 single variable. Add Makefile to dependencies.
10457 ($(objpfx)bench-%.c): Depend on bench-deps.
10458
47792506
RM
104592013-04-12 Roland McGrath <roland@hack.frob.com>
10460 Xavier Roche <roche+kml2@exalead.com>
10461
10462 [BZ #15361]
10463 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10464 just that it's a file descriptor.
10465 * manual/llio.texi (Synchronizing AIO Operations): Update description
10466 for EBADF error from aio_fsync.
10467
8fc1bee5
SP
104682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
10470 * Rules (bench): Move target definition...
10471 * benchtests/Makefile: ... here.
10472
aba5e333
CD
104732013-04-11 Carlos O'Donell <carlos@redhat.com>
10474
10475 * math/libm-test.inc (cos_test): Fix PI/2 test.
10476 (sincos_test): Likewise.
10477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10478 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10479
273cdee8
AS
104802013-04-11 Andreas Schwab <schwab@suse.de>
10481
6ecec3b6
AS
10482 [BZ #13988]
10483 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10484 accept exponent character only when digits were seen.
10485 * stdio-common/Makefile (tests): Add bug26.
10486 * stdio-common/bug26.c: New file.
10487
273cdee8
AS
10488 [BZ #14293]
10489 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10490 non-freeable.
10491
8da491f5
SP
104922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10493
01dc6df9
SP
10494 * Makeconfig (rtld-prefix): Define built linker prefix.
10495 * Rules (run-bench): Use it.
10496 * math/Makefile (run-regen-ulps): Likewise.
10497
8da491f5
SP
10498 * Rules (bench): Remove eval.
10499
abe7f530
SP
105002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10501 Roland McGrath <roland@hack.frob.com>
10502 Ondrej Bilka <neleai@seznam.cz>
10503
10504 [BZ #15346]
10505 * time/getdate.c: Include ctype.h and alloca.h.
10506 (__getdate_r): Trim leading and trailing spaces of input.
10507 * time/tst-getdate.c (tests): Add tests with leading and
10508 trailing spaces.
10509
61c23e62
RM
105102013-04-08 Roland McGrath <roland@hack.frob.com>
10511
10512 [BZ #14280]
10513 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10514 when computing value.
10515
7208a313
CD
105162013-04-06 Carlos O'Donell <carlos@redhat.com>
10517
085b2d41
CD
10518 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10519 Use testrun.sh to run libm tests.
10520
7208a313
CD
10521 [BZ #15309]
10522 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10523
872c0acd
MM
105242013-04-06 Marko Myllynen <myllynen@redhat.com>
10525
10526 [BZ #15264]
10527 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10528
26510bdd
CD
105292013-04-06 Carlos O'Donell <carlos@redhat.com>
10530
10531 * Makefile.in (regen-ulps): New target.
10532 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10533 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10534 [ifneq (no,$(PERL)] (regen-ulps): New target.
10535 [ifeq (no,$(PERL)] (regen-ulps): New target.
10536 * math/libm-test.inc (ulps_file_name): Define.
10537 (output_dir): New variable.
10538 (options): Add "output-dir" option.
10539 (parse_opt): Handle 'o' case.
10540 (main): If output_dir is non-NULL use it as a prefix
10541 otherwise use "".
10542 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10543
a01f19c8
CD
105442013-04-06 Carlos O'Donell <carlos@redhat.com>
10545
10546 [BZ #10060, #10062]
10547 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10548 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10549 fail configure if __sync_val_compare_and_swap is not inlined.
10550 * sysdeps/i386/configure: Regenerate.
10551 * configure.in: Build for i686 when configured for i386.
10552 * configure: Regenerate.
10553 * README: Remove i386 reference.
10554
b7a329a5
CD
105552013-04-06 Carlos O'Donell <carlos@redhat.com>
10556
10557 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10558 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10559
bf0f50df
TS
105602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10561
ee091edf
TS
10562 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10563 (lmsnanval): New variables.
10564 (F): Add conversion tests.
10565 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10566 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10567
a8b792d6
TS
10568 * stdio-common/tstdiomisc.c (F): Properly collect individual
10569 tests' results.
10570
a1cbf437
TS
10571 [BZ #14686, #15336]
10572 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10574 Instead, use input NaN values or generate a qNaN by arithmetic
10575 operation. Also fix bugs to comply with the standard.
10576 * math/libm-test.inc (remainder_test): Add more tests.
10577
8b43a0c9
TS
10578 [BZ #15335, #15342]
10579 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10581 input NaN values or generate a qNaN by arithmetic operation.
10582
d91da4ce
TS
10583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10584 unreachable code.
10585
bf0f50df
TS
10586 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10587 definitions.
10588
05e166c8
JM
105892013-04-03 Joseph Myers <joseph@codesourcery.com>
10590
10591 [BZ #14478]
10592 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10593 underflowed result.
10594 * math/s_cexpf.c (__cexpf): Likewise.
10595 * math/s_cexpl.c (__cexpl): Likewise.
10596 * math/libm-test.inc (cexp_test): Add more tests.
10597
1cef1b19
AS
105982013-04-03 Andreas Schwab <schwab@suse.de>
10599
10600 [BZ #15330]
10601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10602 order arrays from heap if bigger than alloca cutoff.
10603
74d87055
TS
106042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10605
10606 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10607 (SNAN_TESTS_double): Refer to GCC PR56831.
10608 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10609 GCC PR56828.
10610
d755bba4
SP
106112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
90d5d5bb
SP
10613 * Rules (bench): Move bench.out after the run is complete.
10614
73e0cd5d
SP
10615 * Rules (bench): Echo currently running benchmark.
10616
64aabd4b
SP
10617 * benchtests/Makefile (bench): Add atan and slowatan.
10618 * benchtests/atan-inputs: New file.
10619 * benchtests/slowatan-inputs: New file.
10620 * benchtests/slowatan.c: New file.
10621
c871eccd
SP
10622 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10624 its value.
10625
d755bba4
SP
10626 [BZ #15305]
10627 * sysdeps/unix/sysv/linux/kernel-features.h
10628 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10629 __ASSUME_XFS_RESTRICTED_CHOWN.
10630 * sysdeps/unix/sysv/linux/pathconf.c
10631 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10632 Save and restore errno.
10633
52ce4860
JM
106342013-04-02 Joseph Myers <joseph@codesourcery.com>
10635
10636 [BZ #15327]
10637 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10638 arguments using __kernel_casinh.
10639 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10640 arguments using __kernel_casinhf.
10641 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10642 arguments using __kernel_casinhl.
10643 * math/libm-test.inc (cacosh_test): Add more tests.
10644 * sysdeps/i386/fpu/libm-test-ulps: Update.
10645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10646
81f311c2
SP
106472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10648
e7906a47
SP
10649 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10651
92e3664b
SP
10652 * bench/Makefile (bench): Add sin and slowsin.
10653 * benchtests/sin-inputs: New file.
10654 * benchtests/slowsin-inputs: New file.
10655 * benchtests/slowsin.c: New file.
10656
81f311c2
SP
10657 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10658 (bench): Add slowexp and slowpow.
10659 (exp-ITER): Increase iterations.
10660 (pow-ITER): Likewise.
10661 * benchtests/exp-inputs: Change input.
10662 * benchtests/pow-inputs: Likewise.
10663 * benchtests/slowexp-inputs: New file.
10664 * benchtests/slowexp.c: New file.
10665 * benchtests/slowpow-inputs: New file.
10666 * benchtests/slowpow.c: New file.
10667
ab0f1aa9
AZ
106682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10669
10670 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10671 instructions.
10672 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10673 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10674 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10675 * benchtests/Makefile: Add rint benchtest.
10676 * benchtests/rint-inputs: Input for rint benchtest.
10677
57267616
TS
106782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10679
10680 * Versions.def (libm): Add GLIBC_2.18.
10681 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10682 hidden libm prototypes.
10683 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10684 * math/Makefile (libm-calls): Add s_issignaling.
10685 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10686 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10687 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10688 declaration.
10689 * math/math.h [__USE_GNU] (issignaling): New macro.
10690 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10691 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10693 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10696 * manual/arith.texi (issignaling): New section.
10697 * manual/libm-err-tab.pl (@all_functions): Update comment.
10698 * math/gen-libm-test.pl (parse_args): Apply special handling for
10699 issignaling.
10700 * math/libm-test.inc (print_float, issignaling_test): New
10701 functions.
10702 (check_float_internal): Add issignaling checks.
10703 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10704 default definition.
10705 * sysdeps/powerpc/math-tests.h: New file.
10706 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10707 tests.
10708 * math/test-snan.c (TEST_FUNC): Likewise.
10709
6142896d
DM
107102013-03-30 David S. Miller <davem@davemloft.net>
10711
10712 * po/de.po: Update from translation team.
10713
ccc8cadf
JM
107142013-03-30 Joseph Myers <joseph@codesourcery.com>
10715
10716 [BZ #10357]
10717 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10718 imaginary part less than 1.0 and real part less than 0.5
10719 specially.
10720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10722 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10723 (cacos_test): Add more tests.
10724 (casin_test): Likewise.
10725 (casinh_test): Likewise.
10726 * sysdeps/i386/fpu/libm-test-ulps: Update.
10727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10728
0f6a8d4b
SP
107292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10730
0d1029de
SP
10731 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10732 ONE with its value.
10733
c2d94018
SP
10734 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10735 (__pow_mp): Replace ONE and MONE with their values.
10736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10739 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10742
27ec37f1
SP
10743 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10744
a64d7e0e
SP
10745 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10746 (__pow_mp): Replace ZERO and MZERO with their values.
10747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10752 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10753 (__sqr): Likewise.
10754
d26dd3eb
SP
10755 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10756
0f6a8d4b
SP
10757 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10758
e57b0c61
RM
107592013-03-28 Roland McGrath <roland@hack.frob.com>
10760
10761 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10762 Declare with __attribute__ ((weak)).
10763 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10764 Call __call_tls_dtors only if it's not NULL.
10765
356b3480
RM
107662013-03-28 Roland McGrath <roland@hack.frob.com>
10767
288f7d79
RM
10768 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10769 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10770 magic __ehdr_start linker symbol if it's defined.
10771 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10772 them up here if it was already done.
10773
dc0a0263
RM
10774 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10775 (_dl_aux_init): Use const in cast when setting it.
10776 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10777 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10778 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10779
3d3436ae
RM
10780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10781 Declare them here.
10782 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10783 * csu/libc-tls.c: Nor here.
10784 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10785
356b3480
RM
10786 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10787 (__libc_message): Never call vsyslog.
10788
b0f1246a
AM
107892013-03-28 Alan Modra <amodra@gmail.com>
10790
10791 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10792 Define as empty.
10793 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10794 Likewise.
10795
fbbe2b9a
AZ
107962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797
10798 [BZ #15214]
10799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10800 underflow.
10801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10802
1728ab37
SP
108032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10804
7a86be6e
SP
10805 [BZ #15304]
10806 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10807 Don't add gid passed as argument.
10808
1728ab37
SP
10809 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10810
3a7182a1
JM
108112013-03-27 Joseph Myers <joseph@codesourcery.com>
10812
10813 [BZ #15307]
10814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10815 imaginary part between 1.0 and 1.5 and real part less than 0.5
10816 specially.
10817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10819 * math/libm-test.inc (cacos_test): Add more tests.
10820 (casin_test): Likewise.
10821 (casinh_test): Likewise.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824
6f2e90e7
SP
108252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10826
5739f705
SP
10827 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10828 constants.
10829 (norm): Likewise.
10830 (denorm): Likewise.
10831 (__dbl_mp): Likewise.
10832 (add_magnitudes): Likewise.
10833 (sub_magnitudes): Likewise.
10834 (__add): Likewise.
10835 (__sub): Likewise.
10836 (__mul): Likewise.
10837 (__sqr): Likewise.
10838 (__inv): Likewise.
10839 (__dvd): Likewise.
10840
e375e83d
SP
10841 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10842 commented code.
10843 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10844 (__dubcos): Likewise.
10845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10846 (__ieee754_acos): Likewise.
10847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10849 (__exp1): Likewise.
10850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10852 (log1): Likewise.
10853 (my_log2): Likewise.
10854 (checkint): Likewise.
10855 * sysdeps/ieee754/dbl-64/e_remainder.c
10856 (__ieee754_remainder): Likewise.
10857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10859 (bsloww): Likewise.
10860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10861
6f2e90e7
SP
10862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10864 MANTISSA_STORE_T to store computations on mantissa. Use
10865 macros for rounding and division.
10866 (denorm): Likewise.
10867 (__dbl_mp): Likewise.
10868 (add_magnitudes): Likewise.
10869 (sub_magnitudes): Likewise.
10870 (__mul): Likewise.
10871 (__sqr): Likewise.
10872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10873 powers of two in terms of TWOPOW macro.
10874 (mp_no): Make type of mantissa as MANTISSA_T.
10875 [!RADIXI]: Define RADIXI.
10876 [!TWO52]: Define TWO52.
10877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10878
fce14d4e
AZ
108792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10880
10881 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10882 llroundl symbol when building for PPC32.
10883
9ad027fb
MW
108842013-03-24 Mark H Weaver <mhw@netris.org>
10885
10886 * manual/arith.texi (Normalization Functions): Fix prototypes for
10887 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10888
e42a38dd
AZ
108892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10890
10891 [BZ #13889]
10892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10893 high value to check if expl overflow.
10894 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10895 to check for underflow and overflow.
10896 * math/libm-test.inc: Add exp test.
10897
2e0fb521
DL
108982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10899
10900 [BZ #11120]
10901 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10902 with NOT_IN_libc.
10903
b5784d95
AZ
109042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10905
10906 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10907 symbol.
10908
5aa4a1a1
TS
109092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10910
bdef0be7
TS
10911 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10912 wrap blocks consisting of several statements.
10913
5aa4a1a1
TS
10914 * sysdeps/generic/math-tests.h: New file.
10915 * sysdeps/i386/fpu/math-tests.h: Likewise.
10916 * math/test-snan.c: Include it.
10917 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10918
98c48fe5
JM
109192013-03-21 Joseph Myers <joseph@codesourcery.com>
10920
10921 [BZ #15285]
10922 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10923 (__ieee754_j0l): Do not improve calculations using cos of twice
10924 input for inputs above LDBL_MAX / 2.0L.
10925 (__ieee754_y0l): Likewise.
10926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10927 (__ieee754_j1l): Do not improve calculations using cos of twice
10928 input for inputs above LDBL_MAX / 2.0L.
10929 (__ieee754_y1l): Likewise.
10930 * math/libm-test.inc (j0_test): Add another test.
10931 (j1_test): Likewise.
10932 (y0_test): Likewise.
10933 (y1_test): Likewise.
10934 * sysdeps/i386/fpu/libm-test-ulps: Update.
10935
3775a8bc
SP
109362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10937
10938 * Rules ($(objpfx)bench-%.c): Include code from a C source
10939 file.
10940
0a1b2ae6
JM
109412013-03-21 Joseph Myers <joseph@codesourcery.com>
10942
10943 [BZ #15287]
10944 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10945 imaginary part 1.0 and real part less than 0.5 specially.
10946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10948 * math/libm-test.inc (cacos_test): Add more tests.
10949 (casin_test): Likewise.
10950 (casinh_test): Likewise.
10951 * sysdeps/i386/fpu/libm-test-ulps: Update.
10952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10953
b33d4ce4
SP
109542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10955
10956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10957 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10958
bef0b507
JM
109592013-03-20 Joseph Myers <joseph@codesourcery.com>
10960
10961 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10962 * config.make.in (config-cflags-sse4): Remove variable.
10963 (config-cflags-avx): Likewise.
10964 (config-cflags-sse2avx): Likewise.
10965 (config-cflags-novzeroupper): Likewise.
10966 (config-asflags-i686): Likewise.
10967 (have-mfma4): Likewise.
10968 (have-as-vis3): Likewise.
10969 (MIG): Likewise.
10970 * configure.in (MIG): Do not AC_SUBST.
10971 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10972 (libc_cv_cc_sse4): Do not AC_SUBST.
10973 (libc_cv_cc_avx): Likewise.
10974 (libc_cv_cc_sse2avx): Likewise.
10975 (libc_cv_cc_novzeroupper): Likewise.
10976 (libc_cv_cc_fma4): Likewise.
10977 (libc_cv_as_i686): Likewise.
10978 (libc_cv_sparc_as_vis3): Likewise.
10979 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10980 LIBC_CONFIG_VAR.
10981 (config-asflags-i686): Likewise.
10982 (config-cflags-avx): Likewise.
10983 (config-cflags-sse2avx): Likewise.
10984 (have-mfma4): Likewise.
10985 (config-cflags-novzeroupper): Likewise.
10986 * sysdeps/mach/configure.in (MIG): Likewise.
10987 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10988 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10989 LIBC_CONFIG_VAR.
10990 (config-cflags-avx): Likewise.
10991 (config-cflags-sse2avx): Likewise.
10992 (have-mfma4): Likewise.
10993 (config-cflags-novzeroupper): Likewise.
10994 * configure: Regenerated.
10995 * sysdeps/i386/configure: Likewise.
10996 * sysdeps/mach/configure: Likewise.
10997 * sysdeps/sparc/configure: Likewise.
10998 * sysdeps/x86_64/configure: Likewise.
10999
912cc4b3
RM
110002013-03-20 Roland McGrath <roland@hack.frob.com>
11001
11002 [BZ #14812]
11003 * locale/programs/localedef.c (options): Put N_ translation marker
11004 on argument names, not just descriptions.
11005
04eed2b0
MS
110062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11007
11008 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11009
a065ceff
OB
110102013-03-20 Ondřej Bílka <neleai@seznam.cz>
11011
9bb2a810 11012 [BZ #14176]
a065ceff
OB
11013 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11014
a600e5ce
RM
110152013-03-19 Roland McGrath <roland@hack.frob.com>
11016
11017 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11018 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11019 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11020 [!BEFORE_ABORT] (before_abort): New function.
11021 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11022 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11023 (writev_for_fatal): New function.
11024 (WRITEV_FOR_FATAL): New macro; call that.
11025 (backtrace_and_maps): New function.
11026 (BEFORE_ABORT): New macro; call that.
11027 (struct str_list): Type removed.
11028 (__libc_message, __libc_fatal): Functions removed.
11029 Include <sysdeps/posix/libc_fatal.c> instead.
11030
6b18bea6
JM
110312013-03-19 Joseph Myers <joseph@codesourcery.com>
11032
11033 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11034 constants.
11035 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11036 double constants.
11037
aaa8cb4b
AS
110382013-03-19 Andreas Schwab <schwab@suse.de>
11039
44673770
AS
11040 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11041 * sysdeps/gnu/configure: Regenerate.
11042
aaa8cb4b
AS
11043 * configure.in: Substitute libc_cv_rtlddir.
11044 * configure: Regenerate.
11045 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11046 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11047 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11048 * elf/Makefile (install-others, CFLAGS-interp.c)
11049 (ldso_install, common-ldd-rewrite): Likewise.
11050 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11051 $(inst_slibdir)/$(rtld-installed-name).
11052 * scripts/rellns-sh: Add -p option.
11053 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11054 for source.
11055
d3cfc668
SP
110562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11057
11058 * manual/nptl.texi: Renamed to ...
11059 * manual/threads.texi: ... this.
11060 * manual/Makefile (chapters): Update.
11061
0e2b9cdd
RM
110622013-03-18 Roland McGrath <roland@hack.frob.com>
11063
11064 [BZ #14812]
11065 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11066 on argument names, not just descriptions.
0e2b9cdd
RM
11067 * malloc/memusagestat.c (options): Likewise.
11068 * nss/getent.c (options): Likewise.
63270c24
RM
11069
110702013-03-18 Benno Schulenberg <bensberg@justemail.net>
11071
11072 [BZ #14812]
11073 * iconv/iconv_prog.c (options): Put N_ translation marker
11074 on argument names, not just descriptions.
11075 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11076
b2e1393c
OB
110772013-03-18 Ondrej Bilka <neleai@seznam.cz>
11078
11079 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11080 implementation which is faster on all x86_64 architectures.
11081 Tested on AMD, Intel Nehalem, SNB, IVB.
11082 * sysdeps/x86_64/strnlen.S: Likewise.
11083
11084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11085 Remove all multiarch strlen and strnlen versions.
11086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11087 Remove strlen and strnlen related parts.
11088
11089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11090 Inline strlen part.
11091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11092
11093 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11096 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11097 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11098 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11099
ec4ff04d
CD
111002013-03-17 Carlos O'Donell <carlos@redhat.com>
11101
11102 * manual/memory.texi (Malloc Tunable Parameters):
11103 Sort parameters alphabetically. Add comments for missing entries.
11104
cd18e90a
DM
111052013-03-17 David S. Miller <davem@davemloft.net>
11106
11107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11108
2a185d32
JM
111092013-03-16 Joseph Myers <joseph@codesourcery.com>
11110
d2f9799e
JM
11111 [BZ #15283]
11112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11113 for arguments at most half maximum finite value.
11114 * math/libm-test.inc (j0_test): Add more tests.
11115 (j1_test): Likewise.
11116 (y0_test): Likewise.
11117 (y1_test): Likewise.
11118 * sysdeps/i386/fpu/libm-test-ulps: Update.
11119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11120
2a185d32
JM
11121 [BZ #14155]
11122 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11123 1 / x and functions P and Q for arguments above 0x1p256L.
11124 (__ieee754_y0l): Likewise.
11125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11126 (__ieee754_y1l): Likewise.
11127 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11128 (j1_test): Likewise.
11129 (y0_test): Likewise.
11130 (y1_test): Likewise.
11131
6cbec759
TS
111322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11133
11134 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11135 variable.
11136
bc16e260
RM
111372013-03-15 Roland McGrath <roland@hack.frob.com>
11138
aefc9b8c
RM
11139 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11140 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11141 zero since it's initialized to EXEC_PAGESIZE.
11142
bc16e260
RM
11143 * sysdeps/unix/sysv/linux/ldsodefs.h
11144 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11145 * sysdeps/generic/ldsodefs.h: ... here.
11146
a57da955
TS
111472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11148
af00a34d
TS
11149 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11150
495ded2c
TS
11151 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11152 math/test-snan.c.
11153 * math/test-snan.c: Renamed from
11154 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11155 * math/Makefile (tests): Add test-snan.
11156 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11157 test-powerpc-snan.
11158
777b0332
TS
11159 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11160 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11161 functions.
11162 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11163 __builtin_nan family of functions.
11164 * math/libm-test.inc (initialize): Initialize qnan_value with
11165 __builtin_nan family of functions.
11166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11167 Remove variables.
11168 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11169 Remove functions.
11170 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11171 storage class. Initialize qNaN_var and sNaN_var with
11172 __builtin_nan and __builtin_nans families of functions,
11173 respectively.
11174
64d063b8
TS
11175 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11176 (sqrt_test): Remove duplicate test with qNaN input.
11177 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11178 (round_test, signbit_test, significand_test): Note missing +/-Inf
11179 as well as qNaN tests.
11180
67e971f1
TS
11181 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11182 qNaN_var. Fix a few strings, too.
11183 * math/libm-test.inc (nan_value): Rename to qnan_value.
11184 * math/gen-libm-test.pl (%beautify): Adjust to that.
11185 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11186 * math/test-misc.c (main): Likewise.
11187 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11188 to __qnan_bytes, and __qnan_union, respectively.
11189 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11190 Likewise.
11191 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11192 and lqnanval, respectively.
11193 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11194 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11196 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11197
64487e12
TS
11198 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11199 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11200 doubles.
11201
e015e27b
TS
11202 * math/test-misc.c (main): Fix copy'n'pastos.
11203 * misc/tst-efgcvt.c (special): Likewise.
11204
a57da955
TS
11205 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11206 Remove declarations.
11207
1e380345
SP
112082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11209
11210 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11211 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11212 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11213 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11214
ef26eece
AZ
112152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216
11217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11218 macro to return vdso values correctly in IFUNC implementations.
11219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11220 Optimization by using IFUNC.
11221
8cfdb7e0
SP
112222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11223 Richard Henderson <rth@redhat.com>
11224 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11225
11226 * Makefile.in (bench): New target.
11227 * NEWS: Mention the benchmark framework.
11228 * Rules (bench): Likewise.
11229 (binaries-bench): Generate binaries for functions to
11230 benchmark.
11231 * benchtests/Makefile: New makefile for benchmark tests.
11232 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11233 programs.
11234 * benchtests/exp-inputs: New input file for EXP function.
11235 * benchtests/pow-inputs: New input file for POW function.
11236 * scripts/bench.pl: New script to generate source files for
11237 benchmark programs.
11238
bcda9880
SP
112392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11240
d22ca8cd
SP
11241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11243 computations on mantissa. Use macros for rounding and
11244 division.
11245 (denorm): Likewise.
11246 (__dbl_mp): Likewise.
11247 (add_magnitudes): Likewise.
11248 (sub_magnitudes): Likewise.
11249 (__mul): Likewise.
11250 (__sqr): Likewise.
11251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11252 powers of two in terms of TWOPOW macro.
11253 (mp_no): Make type of mantissa as MANTISSA_T.
11254 [!RADIXI]: Define RADIXI.
11255 [!TWO52]: Define TWO52.
11256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11257
bcda9880
SP
11258 * manual/nptl.texi (cindex): Modify threads to pthreads.
11259
06d5adfb
JM
112602013-03-15 Joseph Myers <joseph@codesourcery.com>
11261
11262 * sysdeps/x86_64/preconfigure: Regenerated.
11263
41c7328e
JM
112642013-03-14 Joseph Myers <joseph@codesourcery.com>
11265
11266 [BZ #14155]
11267 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11268 0x1p28 and above.
11269 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11270 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11271 0x1p28 and above.
11272 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11273 * math/libm-test.inc (j0_test): Do not allow one spurious
11274 underflow exception.
11275 (y1_test): Likewise.
11276
e25cfa60
SP
112772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11278
0409959c
SP
11279 * manual/Makefile (chapters): Add nptl.
11280 * manual/debug.texi (Debugging Support): Add link to Threads
11281 chapter.
11282 * manual/nptl.texi: New file.
11283
e25cfa60
SP
11284 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11285
58a1335e
PB
112862013-03-14 Petr Baudis <pasky@ucw.cz>
11287
11288 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11289 for non-NULL pointer before the memory validity test. Pointed
11290 out by Holger Brunck <holger.brunck@keymile.com>.
11291
9dc7c64f
AS
112922013-03-13 Andreas Schwab <schwab@suse.de>
11293
11294 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11295 instead of .os.
11296
54206aa6
JM
112972013-03-13 Joseph Myers <joseph@codesourcery.com>
11298
11299 * timezone/zic.c: Update from tzcode 2013b.
11300
e98cdb38
CD
113012013-03-12 Carlos O'Donell <carlos@redhat.com>
11302
11303 * manual/install.texi (Configuring and compiling):
11304 Mention i686 and i586.
11305 * INSTALL: Regenerate.
11306
9967e003
RM
113072013-03-12 Roland McGrath <roland@hack.frob.com>
11308
11309 * sysdeps/init_array/elf-init.c: New file.
11310 * csu/elf-init.c
11311 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11312 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11313
11314 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11315 __gmon_start__ as global, but as static with a .preinit_array pointer.
11316 * sysdeps/init_array/gmon-start.c: New file. Use that.
11317 * sysdeps/init_array/crti.S: New file, empty except for comments.
11318 * sysdeps/init_array/crtn.S: Likewise.
11319
e6b5a293 113202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11321
11322 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11323 definining bcopy.
80f844c9
OB
11324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11325 Remove Prefer_SSE_for_memop.
11326 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11327 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11328 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11330 memset-x86-64.
80f844c9 11331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11332 Remove bzero, memset ifunc support.
80f844c9
OB
11333 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11334 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11337
fb6b0fcb
AS
113382013-03-11 Andreas Schwab <schwab@suse.de>
11339
11340 [BZ #15234]
11341 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11342 by SHLIB_COMPAT.
11343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11344 (GLIBC_2.16): Remove pthread_atfork.
11345
3e6bd4b1
PP
113462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11347
11348 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11349 (ptestcases.h): Likewise.
11350
222d7f00
RM
113512013-03-08 Roland McGrath <roland@hack.frob.com>
11352
11353 * Makeconfig ($(common-objpfx)config.status): Depend on
11354 sysdeps/*/preconfigure{,.in} too.
11355
1ba4f030
JM
113562013-03-08 Joseph Myers <joseph@codesourcery.com>
11357
a222d91a
JM
11358 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11359 (__free_hook): Use void * instead of __malloc_ptr_t.
11360 (__malloc_hook): Likewise.
11361 (__realloc_hook): Likewise.
11362 (__memalign_hook): Likewise.
11363 (__after_morecore_hook): Likewise.
11364 * malloc/arena.c (save_malloc_hook): Likewise.
11365 (save_free_hook): Likewise.
11366 * malloc/hooks.c (malloc_hook_ini): Likewise.
11367 (realloc_hook_ini): Likewise.
11368 (memalign_hook_ini): Likewise.
11369 * malloc/malloc.c (malloc_hook_ini): Likewise.
11370 (realloc_hook_ini): Likewise.
11371 (memalign_hook_ini): Likewise.
11372 (__free_hook): Likewise.
11373 (__malloc_hook): Likewise.
11374 (__realloc_hook): Likewise.
11375 (__memalign_hook): Likewise.
11376 (__libc_malloc): Likewise.
11377 (__libc_free): Likewise.
11378 (__libc_realloc): Likewise.
11379 (__libc_memalign): Likewise.
11380 (__libc_valloc): Likewise.
11381 (__libc_pvalloc): Likewise.
11382 (__libc_calloc): Likewise.
11383 (__posix_memalign): Likewise.
11384 * malloc/morecore.c (__sbrk): Likewise.
11385 (__default_morecore): Likewise.
11386
5cc45e10
JM
11387 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11388
dd54b864
JM
11389 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11390 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11391 __malloc_ptrdiff_t.
11392
1ba4f030
JM
11393 * malloc/malloc.h (__malloc_size_t): Remove macro.
11394 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11395 __malloc_size_t.
11396 (old_memalign_hook): Likewise.
11397 (old_realloc_hook): Likewise.
11398 (struct hdr): Likewise.
11399 (flood): Likewise.
11400 (mallochook): Likewise.
11401 (memalignhook): Likewise.
11402 (reallochook): Likewise.
11403 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11404 (tr_old_realloc_hook): Likewise.
11405 (tr_old_memalign_hook): Likewise.
11406 (tr_mallochook): Likewise.
11407 (tr_reallochook): Likewise.
11408 (tr_memalignhook): Likewise.
11409
edf66e57
AZ
114102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11411
11412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11413 default_ldbl_pack and using as default implementation.
11414 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11415 implementation.
11416 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11417 redundant definition.
11418 (ldbl_insert_mantissa): Likewise.
11419 (ldbl_canonicalize): Likewise.
11420 (ldbl_nearbyint): Likewise.
11421 (ldbl_pack): Rename to ldbl_pack_ppc.
11422 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11423 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11424 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11425
6d9145d8
SP
114262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11427
11428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11429 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11431 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11434 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11435 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11436
4dd4e157
AJ
114372013-03-07 Andreas Jaeger <aj@suse.de>
11438
11439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11440 bits/mman-linux.h.
11441
adbb8027
SP
114422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11443
ce544b5b
SP
11444 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11445 Include mpa.h and declare __MPEXP.
11446 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11447 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11448 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11450 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11453
4cc149fd
SP
11454 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11455 (__slowpow): Use long double EXPL and LOGL functions to
11456 compute POW.
11457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11458 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11463
e6ebd4a7
SP
11464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11465 intermediate variable to calculate exponent.
11466 (__sqr): Likewise.
11467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11468 Likewise.
11469 (__sqr): Likewise.
11470
82a9811d
SP
11471 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11472 [!NO__SQR]: Define __sqr.
11473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11474 and NO__SQR. Remove all code except __mul and __sqr. Include
11475 sysdeps/ieee754/dbl-64/mpa.c.
11476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11477
adbb8027
SP
11478 [BZ #12723]
11479 * posix/Makefile (tests): Add tst-pathconf.
11480 * posix/tst-pathconf.c: New test case.
11481 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11482 _PC_PIPE_BUF.
11483 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11484
39120df9
PF
114852013-03-06 Patsy Franklin <pfrankli@redhat.com>
11486
11487 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11488
67525cb8
AJ
114892013-03-06 Andreas Jaeger <aj@suse.de>
11490
664a9ce4
AJ
11491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11492 definition via __MAP_ANONYMOUS.
11493
8e39047d
AJ
11494 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11495 it's not part of Linux headers.
11496
67525cb8
AJ
11497 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11498 (MAP_HUGE_MASK): Define.
11499
11500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11501 Define.
11502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11504 Define.
11505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11507 Define.
11508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11510 Define.
11511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11512
11513 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11514 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11516 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11517 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11519
11520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11521 Handle f2fs.
11522
11523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11524 Handle f2fs and efivarfs.
11525
11526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11527 f2fs.
11528
11529 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11530 (EFIVARFS_MAGIC): Add.
11531 (F2FS_LINK_MAX): Add.
11532
e1b42695
PP
115332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11534
11535 * stdio-common/vfprintf.c: Replace __builtin_expect with
11536 __glibc_unlikely.
11537
2d67d91a
JM
115382013-03-06 Joseph Myers <joseph@codesourcery.com>
11539
11540 [BZ #13550]
11541 * sysdeps/generic/bp-sym.h: Remove file.
11542 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11543 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11544 <bp-sym.h> and <bp-asm.h>.
11545 (__longjmp): Don't use BP_SYM.
11546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11547 and <bp-asm.h>.
11548 (memcpy): Don't use BP_SYM.
11549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11550 <bp-sym.h> and <bp-asm.h>.
11551 (memcpy): Don't use BP_SYM.
11552 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11553 <bp-asm.h>.
11554 (memcpy): Don't use BP_SYM.
11555 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11556 <bp-asm.h>.
11557 (memset): Don't use BP_SYM.
11558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11560 (__bzero): Don't use BP_SYM.
11561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11564 <bp-sym.h> and <bp-asm.h>.
11565 (memcmp): Don't use BP_SYM. Remove comment about bounded
11566 pointers.
11567 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11568 <bp-sym.h> and <bp-asm.h>.
11569 (memcpy): Don't use BP_SYM.
11570 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11571 <bp-sym.h> and <bp-asm.h>.
11572 (memset): Don't use BP_SYM.
11573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11575 (__bzero): Don't use BP_SYM.
11576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11579 <bp-sym.h> and <bp-asm.h>.
11580 (strncmp): Don't use BP_SYM. Remove comment about bounded
11581 pointers.
11582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11583 <bp-sym.h> and <bp-asm.h>.
11584 (memcpy): Don't use BP_SYM.
11585 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11586 <bp-sym.h> and <bp-asm.h>.
11587 (memset): Don't use BP_SYM.
11588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11590 (__bzero): Don't use BP_SYM.
11591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11594 <bp-sym.h> and <bp-asm.h>.
11595 (__memchr): Don't use BP_SYM.
11596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11597 <bp-sym.h> and <bp-asm.h>.
11598 (memcmp): Don't use BP_SYM. Remove comment about bounded
11599 pointers.
11600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11601 <bp-sym.h> and <bp-asm.h>.
11602 (memcpy): Don't use BP_SYM.
11603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11604 <bp-sym.h> and <bp-asm.h>.
11605 (__mempcpy): Don't use BP_SYM.
11606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11607 <bp-sym.h> and <bp-asm.h>.
11608 (__memrchr): Don't use BP_SYM.
11609 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11610 <bp-sym.h> and <bp-asm.h>.
11611 (memset): Don't use BP_SYM.
11612 (__bzero): Likewise.
11613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11614 <bp-sym.h> and <bp-asm.h>.
11615 (__rawmemchr): Don't use BP_SYM.
11616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11617 <bp-sym.h> and <bp-asm.h>.
11618 (__STRCMP): Don't use BP_SYM.
11619 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11620 <bp-sym.h> and <bp-asm.h>.
11621 (strchr): Don't use BP_SYM.
11622 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11623 <bp-sym.h> and <bp-asm.h>.
11624 (__strchrnul): Don't use BP_SYM.
11625 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11626 <bp-sym.h> and <bp-asm.h>.
11627 (strlen): Don't use BP_SYM.
11628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11629 <bp-sym.h> and <bp-asm.h>.
11630 (strncmp): Don't use BP_SYM. Remove comment about bounded
11631 pointers.
11632 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11633 <bp-sym.h> and <bp-asm.h>.
11634 (__strnlen): Don't use BP_SYM.
11635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11636 <bp-sym.h> and <bp-asm.h>.
11637 (__GI__setjmp): Don't use BP_SYM.
11638 (_setjmp): Likewise.
11639 (__sigsetjmp): Likewise.
11640 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11641 (L(start_addresses)): Don't use BP_SYM.
11642 (_start): Likewise.
11643 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11644 <bp-asm.h>.
11645 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11646 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11647 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11648 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11649 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11650 <bp-asm.h>.
11651 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11652 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11653 about bounded pointers.
11654 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11655 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11656 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11657 <bp-asm.h>.
11658 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11659 about bounded pointers. Remove GKM FIXME comments.
11660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11661 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11662 <bp-asm.h>.
11663 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11664 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11665 Remove GKM FIXME comments.
11666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11668 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11669 <bp-asm.h>.
11670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11671 about bounded pointers. Remove GKM FIXME comment.
11672 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11673 and <bp-asm.h>.
11674 (strncmp): Don't use BP_SYM. Remove comment about bounded
11675 pointers.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11677 <bp-sym.h> and <bp-asm.h>.
11678 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11680 <bp-sym.h> and <bp-asm.h>.
11681 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11682 comment.
11683
cdcf361f
PP
116842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11685
11686 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11687 call free(NULL).
11688
3c4a2b15
DM
116892013-03-05 David S. Miller <davem@davemloft.net>
11690
11691 * po/es.po: Update from translation team.
11692
cdcf361f 116932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11694
11695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11696 <bits/mman-linux.h>.
11697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11698 is fine.
11699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11700 <bits/mman-linux.h> to end of file.
11701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11702 is fine.
11703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11704 <bits/mman-linux.h> to end of file.
11705 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11706 is fine.
11707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11708 <bits/mman-linux.h> to end of file.
11709
11710 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11711 (MCL_CURRENT, MCL_FUTURE): Define here.
11712
5f67c04f
AK
117132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11714
8a4473cc 11715 [BZ #15232]
5f67c04f
AK
11716 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11717 attribute_hidden.
11718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11719
c3e94a95
AK
117202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11721
11722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11723 fourth parameter needed for rt_sigprocmask syscall.
11724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11726 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11728 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11729 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11730
cfb6382a
JM
117312013-03-04 Joseph Myers <joseph@codesourcery.com>
11732
11733 [BZ #13550]
11734 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11735 comment about bounded pointers.
11736 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11737 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11738
539d8e01
AJ
117392013-03-04 Andreas Jaeger <aj@suse.de>
11740
11741 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11742 common definitions.
11743
11744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11745 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11747 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11750
2e167a70 117512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11752
11753 [BZ #15055]
11754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11755 __ieee754_sqrl instead of __sqrl.
11756
68508633
JM
117572013-03-01 Joseph Myers <joseph@codesourcery.com>
11758
11759 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11760 * sysdeps/powerpc/fpu_control.h: ... here.
11761 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11762 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11763 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11764 * sysdeps/powerpc/bits/mathinline.h: ... here.
11765
7775448e
RM
117662013-03-01 Roland McGrath <roland@hack.frob.com>
11767
11768 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11769 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11770 to just [NEED_DL_SYSINFO_DSO].
11771 * elf/dl-support.c: Likewise.
11772 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11773 * elf/rtld.c (dl_main): Likewise.
11774 * elf/setup-vdso.h (setup_vdso): Likewise.
11775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11776 * sysdeps/unix/sysv/linux/dl-sysdep.c
11777 (_dl_discover_osversion): Likewise.
11778
4e9b5995
CD
117792013-03-01 Carlos O'Donell <carlos@redhat.com>
11780
11781 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11783
e23872c8
SP
117842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11785
e5c74c63
SP
11786 * NEWS: Mention libm performance improvements and non-x86 PI
11787 futex support.
11788
e23872c8
SP
11789 * csu/libc-start.c (__pthread_initialize_minimal): Change
11790 function arguments.
11791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11792
b5510883
JM
117932013-02-28 Joseph Myers <joseph@codesourcery.com>
11794
11795 [BZ #13550]
11796 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11798 <bp-sym.h> and <bp-asm.h>.
11799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11801 and <bp-asm.h>.
11802 (memcpy): Don't use BP_SYM.
11803 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11804 <bp-asm.h>.
11805 (__mpn_add_n): Don't use BP_SYM.
11806 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11807 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11808 and <bp-asm.h>.
11809 (__mpn_addmul_1): Don't use BP_SYM.
11810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11812 <bp-sym.h>.
11813 (_setjmp): Don't use BP_SYM.
11814 (__novmx_setjmp): Likewise.
11815 (__GI__setjmp): Likewise.
11816 (__vmx_setjmp): Likewise.
11817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11818 <bp-sym.h>.
11819 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11820 (__bzero): Don't use BP_SYM.
11821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (memcpy): Don't use BP_SYM.
11826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11827 <bp-sym.h> and <bp-asm.h>.
11828 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11829 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11830 <bp-sym.h> and <bp-asm.h>.
11831 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11832 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11833 <bp-asm.h>.
11834 (__mpn_lshift): Don't use BP_SYM.
11835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11836 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11837 <bp-asm.h>.
11838 (memset): Don't use BP_SYM.
11839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11841 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11842 <bp-asm.h>.
11843 (__mpn_mul_1): Don't use BP_SYM.
11844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11846 <bp-sym.h> and <bp-asm.h>.
11847 (memcmp): Don't use BP_SYM.
11848 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11849 <bp-sym.h> and <bp-asm.h>.
11850 (memcpy): Don't use BP_SYM.
11851 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11852 <bp-sym.h> and <bp-asm.h>.
11853 (memset): Don't use BP_SYM.
11854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11855 <bp-sym.h> and <bp-asm.h>.
11856 (strncmp): Don't use BP_SYM.
11857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11858 <bp-sym.h> and <bp-asm.h>.
11859 (memcpy): Don't use BP_SYM.
11860 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11861 <bp-sym.h> and <bp-asm.h>.
11862 (memset): Don't use BP_SYM.
11863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11864 <bp-sym.h> and <bp-asm.h>.
11865 (__memchr): Don't use BP_SYM.
11866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11867 <bp-sym.h> and <bp-asm.h>.
11868 (memcmp): Don't use BP_SYM.
11869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11870 <bp-sym.h> and <bp-asm.h>.
11871 (memcpy): Don't use BP_SYM.
11872 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (__mempcpy): Don't use BP_SYM.
11875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (__memrchr): Don't use BP_SYM.
11878 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (memset): Don't use BP_SYM.
11881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11882 <bp-sym.h> and <bp-asm.h>.
11883 (__rawmemchr): Don't use BP_SYM.
11884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11885 <bp-sym.h> and <bp-asm.h>.
11886 (__STRCMP): Don't use BP_SYM.
11887 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11888 <bp-sym.h> and <bp-asm.h>.
11889 (strchr): Don't use BP_SYM.
11890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (__strchrnul): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (strlen): Don't use BP_SYM.
11896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11897 <bp-sym.h> and <bp-asm.h>.
11898 (strncmp): Don't use BP_SYM.
11899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11900 <bp-sym.h> and <bp-asm.h>.
11901 (__strnlen): Don't use BP_SYM.
11902 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11903 <bp-asm.h>.
11904 (__mpn_rshift): Don't use BP_SYM.
11905 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11907 <bp-sym.h> and <bp-asm.h>.
11908 (__sigsetjmp): Don't use BP_SYM.
11909 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11910 (L(start_addresses)): Don't use BP_SYM.
11911 (_start): Likewise.
11912 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11913 <bp-asm.h>.
11914 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11915 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11916 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11917 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11918 <bp-asm.h>.
11919 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11920 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11921 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11922 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11923 <bp-asm.h>.
11924 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11925 comments.
11926 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11927 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11928 <bp-asm.h>.
11929 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11930 FIXME comments.
11931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11933 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11934 <bp-asm.h>.
11935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11936 comment.
11937 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11938 and <bp-asm.h>.
11939 (strncmp): Don't use BP_SYM,
11940 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11941 <bp-asm.h>.
11942 (__mpn_sub_n): Don't use BP_SYM.
11943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11944 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11945 and <bp-asm.h>.
11946 (__mpn_submul_1): Don't use BP_SYM.
11947 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11949 <bp-sym.h> and <bp-asm.h>.
11950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11952 <bp-sym.h> and <bp-asm.h>.
11953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11954 comment.
11955
8d19fe64
SP
119562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11957
11958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11959 Use ZK to minimize writes to Z.
11960 (sub_magnitudes): Simplify code a bit.
11961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11962 Use ZK to minimize writes to Z.
11963 (sub_magnitudes): Simplify code a bit.
11964
85bd816a
RM
119652013-02-27 Roland McGrath <roland@hack.frob.com>
11966
11967 * csu/gmon-start.c: Add special exception to license text.
11968
b5977bf2
RH
119692013-02-27 Richard Henderson <rth@redhat.com>
11970
11971 * scripts/config.guess: Update from config.git.
11972 * scripts/config.sub: Likewise.
11973
11d6e2f2
SP
119742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11975
09c14ed2
SP
11976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11977
a688864e
SP
11978 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11979
6295157a
SP
11980 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11981
b8de2202
SP
11982 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11983
11d6e2f2
SP
11984 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11985
7e80ddb8
RM
119862013-02-26 Roland McGrath <roland@hack.frob.com>
11987
11988 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11989 [$(build-shared = yes].
7e80ddb8 11990
7da6d9ed
SP
119912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11992
45f05884
SP
11993 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11994 (__mul): Reduce iterations for calculating mantissa.
11995
2236d359
SP
11996 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11997 MPTWO.
11998 (__mpranred): Likewise.
11999
7da6d9ed
SP
12000 [BZ #15160]
12001 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12002 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12003
b7688c42
PE
120042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12005
12006 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12007 Define __attribute__.
12008
53a5c423
SP
120092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12010
12011 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12012 unused.
12013 * posix/regex_internal.h (__attribute): Remove.
12014 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12015 (re_string_context_at): Likewise.
12016 (bitset_not): Use __attribute__ and mark function as possibly
12017 unused.
12018 (bitset_merge): Likewise.
12019 (bitset_mask): Likewise.
12020 (re_string_char_size_at): Likewise.
12021 (re_string_wchar_at): Likewise.
12022 (re_string_elem_size_at): Likewise.
12023
60f5a8b5
SP
120242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12025
2a983a2e
SP
12026 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12027 code.
12028 (cc32): Likewise.
12029
e69804d1
SP
12030 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12031 (__acr): Likewise.
12032 (__cpy): Likewise.
12033 (norm): Likewise.
12034 (denorm): Likewise.
12035 (__dbl_mp): Likewise.
12036 (add_magnitudes): Likewise.
12037 (sub_magnitudes): Likewise.
12038 (__mul): Likewise.
12039 (__inv): Likewise.
12040
2f22a1e8
SP
12041 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12042 style.
12043
8930ddc7
SP
12044 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12045 style.
12046
dc60cb11
SP
12047 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12048 code.
12049
60f5a8b5
SP
12050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12051 up changes with default code.
12052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12053 Likewise.
12054
b4d1fd33
AM
120552013-02-24 Allan McRae <allan@archlinux.org>
12056
faf6f8bc
AM
12057 * manual/socket.texi (The Internet Namespace): Order menu items
12058 to match that in the file.
12059
b4d1fd33
AM
12060 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12061 node listing of the info page menu.
12062
2366713d
JM
120632013-02-21 Joseph Myers <joseph@codesourcery.com>
12064
12065 [BZ #13550]
12066 * sysdeps/i386/bp-asm.h: Remove file.
12067 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12068 (PARMS): Do not use macros from bp-asm.h.
12069 (S1): Likewise.
12070 (S2): Likewise.
12071 (SIZE): Likewise.
12072 (__mpn_add_n): Do not use BP_SYM
12073 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12074 "bp-asm.h".
12075 (PARMS): Do not use macros from bp-asm.h.
12076 (S1): Likewise.
12077 (SIZE): Likewise.
12078 (__mpn_addmul_1): Do not use BP_SYM
12079 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12080 "bp-asm.h".
12081 (PARMS): Do not use macros from bp-asm.h.
12082 (SIGMSK): Likewise.
12083 (_setjmp): Likewise. Do not use BP_SYM.
12084 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12085 "bp-asm.h".
12086 (PARMS): Do not use macros from bp-asm.h.
12087 (SIGMSK): Likewise.
12088 (setjmp): Likewise. Do not use BP_SYM.
12089 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12090 "bp-asm.h".
12091 (PARMS): Do not use macros from bp-asm.h.
12092 (__frexp): Do not use BP_SYM.
12093 (frexp): Likewise.
12094 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12095 "bp-asm.h".
12096 (PARMS): Do not use macros from bp-asm.h.
12097 (__frexpf): Do not use BP_SYM.
12098 (frexpf): Likewise.
12099 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12100 "bp-asm.h".
12101 (PARMS): Do not use macros from bp-asm.h.
12102 (__frexpl): Do not use BP_SYM.
12103 (frexpl): Likewise.
12104 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12105 "bp-asm.h".
12106 (PARMS): Do not use macros from bp-asm.h.
12107 (__remquo): Do not use BP_SYM.
12108 (remquo): Likewise.
12109 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12110 "bp-asm.h".
12111 (PARMS): Do not use macros from bp-asm.h.
12112 (__remquof): Do not use BP_SYM.
12113 (remquof): Likewise.
12114 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12115 "bp-asm.h".
12116 (PARMS): Do not use macros from bp-asm.h.
12117 (__remquol): Do not use BP_SYM.
12118 (remquol): Likewise.
12119 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12120 "bp-asm.h".
12121 (PARMS): Do not use macros from bp-asm.h.
12122 (DEST): Likewise.
12123 (SRC): Likewise.
12124 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12125 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12126 "bp-asm.h".
12127 (PARMS): Do not use macros from bp-asm.h.
12128 (strlen): Do not use BP_SYM.
12129 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12130 "bp-asm.h".
12131 (PARMS): Do not use macros from bp-asm.h.
12132 (S1): Likewise.
12133 (S2): Likewise.
12134 (SIZE): Likewise.
12135 (__mpn_add_n): Do not use BP_SYM.
12136 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12137 "bp-asm.h".
12138 (PARMS): Do not use macros from bp-asm.h.
12139 (S1): Likewise.
12140 (SIZE): Likewise.
12141 (__mpn_addmul_1): Do not use BP_SYM.
12142 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12143 weak_alias.
12144 (bzero): Likewise.
12145 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12146 "bp-asm.h".
12147 (PARMS): Do not use macros from bp-asm.h.
12148 (S): Likewise.
12149 (SIZE): Likewise.
12150 (__mpn_lshift): Do not use BP_SYM.
12151 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12152 "bp-asm.h".
12153 (PARMS): Do not use macros from bp-asm.h.
12154 (DEST): Likewise.
12155 (SRC): Likewise.
12156 (LEN): Likewise.
12157 (memcpy): Likewise. Do not use BP_SYM.
12158 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12159 libc_hidden_def and weak_alias.
12160 (mempcpy): Do not use BP_SYM in weak_alias.
12161 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12162 "bp-asm.h".
12163 (PARMS): Do not use macros from bp-asm.h.
12164 (DEST): Likewise.
12165 (LEN): Likewise.
12166 [!BZERO_P] (CHR): Likewise.
12167 (memset): Likewise. Do not use BP_SYM.
12168 * sysdeps/i386/i586/mul_1.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 (SIZE): Likewise.
12173 (__mpn_mul_1): Do not use BP_SYM.
12174 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12175 "bp-asm.h".
12176 (PARMS): Do not use macros from bp-asm.h.
12177 (S): Likewise.
12178 (SIZE): Likewise.
12179 (__mpn_rshift): Do not use BP_SYM.
12180 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12181 "bp-asm.h".
12182 (PARMS): Do not use macros from bp-asm.h.
12183 (STR): Likewise.
12184 (CHR): Likewise.
12185 (strchr): Likewise. Do not use BP_SYM.
12186 (index): Do not use BP_SYM in weak_alias.
12187 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12188 "bp-asm.h".
12189 (PARMS): Do not use macros from bp-asm.h.
12190 (DEST): Likewise.
12191 (SRC): Likewise.
12192 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12193 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12194 "bp-asm.h".
12195 (PARMS): Do not use macros from bp-asm.h.
12196 (strlen): Do not use BP_SYM.
12197 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12198 "bp-asm.h".
12199 (PARMS): Do not use macros from bp-asm.h.
12200 (S1): Likewise.
12201 (S2): Likewise.
12202 (SIZE): Likewise.
12203 (__mpn_sub_n): Do not use BP_SYM.
12204 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12205 "bp-asm.h".
12206 (PARMS): Do not use macros from bp-asm.h.
12207 (S1): Likewise.
12208 (SIZE): Likewise.
12209 (__mpn_submul_1): Do not use BP_SYM.
12210 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12211 "bp-asm.h".
12212 (PARMS): Do not use macros from bp-asm.h.
12213 (S1): Likewise.
12214 (S2): Likewise.
12215 (SIZE): Likewise.
12216 (__mpn_add_n): Do not use BP_SYM.
12217 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12218 weak_alias.
12219 (bzero): Likewise.
12220 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12221 "bp-asm.h".
12222 (PARMS): Do not use macros from bp-asm.h.
12223 (BLK2): Likewise.
12224 (LEN): Likewise.
12225 (memcmp): Do not use BP_SYM.
12226 (bcmp): Do not use BP_SYM in weak_alias.
12227 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12228 "bp-asm.h".
12229 (PARMS): Do not use macros from bp-asm.h.
12230 (DEST): Likewise.
12231 (SRC): Likewise.
12232 (LEN): Likewise.
12233 (memcpy): Likewise. Do not use BP_SYM.
12234 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12235 "bp-asm.h".
12236 (PARMS): Do not use macros from bp-asm.h.
12237 (DEST): Likewise.
12238 (SRC): Likewise.
12239 (LEN): Likewise.
12240 (memmove): Likewise. Do not use BP_SYM.
12241 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12242 "bp-asm.h".
12243 (PARMS): Do not use macros from bp-asm.h.
12244 (DEST): Likewise.
12245 (SRC): Likewise.
12246 (LEN): Likewise.
12247 (__mempcpy): Likewise. Do not use BP_SYM.
12248 (mempcpy): Do not use BP_SYM in weak_alias.
12249 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12250 "bp-asm.h".
12251 (PARMS): Do not use macros from bp-asm.h.
12252 (DEST): Likewise.
12253 (LEN): Likewise.
12254 [!BZERO_P] (CHR): Likewise.
12255 (memset): Likewise. Do not use BP_SYM.
12256 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12257 "bp-asm.h".
12258 (PARMS): Do not use macros from bp-asm.h.
12259 (STR2): Likewise.
12260 (strcmp): Do not use BP_SYM.
12261 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12262 "bp-asm.h".
12263 (PARMS): Do not use macros from bp-asm.h.
12264 (STR): Likewise.
12265 (DELIM): Likewise.
12266 [USE_AS_STRTOK_R] (SAVE): Likewise.
12267 (FUNCTION): Likewise. Do not use BP_SYM.
12268 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12269 aliases.
12270 (strtok_r): Likewise.
12271 (__GI___strtok_r): Likewise.
12272 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12273 (PARMS): Do not use macros from bp-asm.h.
12274 (S): Likewise.
12275 (SIZE): Likewise.
12276 (__mpn_lshift): Do not use BP_SYM.
12277 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12278 (PARMS): Do not use macros from bp-asm.h.
12279 (STR): Likewise.
12280 (CHR): Likewise.
12281 (__memchr): Do not use BP_SYM.
12282 (memchr): Do not use BP_SYM in weak_alias.
12283 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12284 (PARMS): Do not use macros from bp-asm.h.
12285 (BLK2): Likewise.
12286 (LEN): Likewise.
12287 (memcmp): Do not use BP_SYM.
12288 (bcmp): Do not use BP_SYM in weak_alias.
12289 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12290 (PARMS): Do not use macros from bp-asm.h.
12291 (S1): Likewise.
12292 (SIZE): Likewise.
12293 (__mpn_mul_1): Do not use BP_SYM.
12294 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12295 "bp-asm.h".
12296 (PARMS): Do not use macros from bp-asm.h.
12297 (STR): Likewise.
12298 (CHR): Likewise.
12299 (__rawmemchr): Do not use BP_SYM.
12300 (rawmemchr): Do not use BP_SYM in weak_alias.
12301 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12302 (PARMS): Do not use macros from bp-asm.h.
12303 (S): Likewise.
12304 (SIZE): Likewise.
12305 (__mpn_rshift): Do not use BP_SYM.
12306 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12307 (PARMS): Do not use macros from bp-asm.h.
12308 (SIGMSK): Likewise.
12309 (__sigsetjmp): Likewise. Do not use BP_SYM.
12310 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12311 (_start): Do not use BP_SYM.
12312 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12313 (PARMS): Do not use macros from bp-asm.h.
12314 (DEST): Likewise.
12315 (SRC): Likewise.
12316 (__stpcpy): Likewise. Do not use BP_SYM.
12317 (stpcpy): Do not use BP_SYM in weak_alias.
12318 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12319 "bp-asm.h".
12320 (PARMS): Do not use macros from bp-asm.h.
12321 (DEST): Likewise.
12322 (SRC): Likewise.
12323 (LEN): Likewise.
12324 (__stpncpy): Likewise. Do not use BP_SYM.
12325 (stpncpy): Do not use BP_SYM in weak_alias.
12326 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12327 (PARMS): Do not use macros from bp-asm.h.
12328 (STR): Likewise.
12329 (CHR): Likewise.
12330 (strchr): Likewise. Do not use BP_SYM.
12331 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12332 "bp-asm.h".
12333 (PARMS): Do not use macros from bp-asm.h.
12334 (STR): Likewise.
12335 (CHR): Likewise.
12336 (__strchrnul): Likewise. Do not use BP_SYM.
12337 (strchrnul): Do not use BP_SYM in weak_alias.
12338 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12339 "bp-asm.h".
12340 (PARMS): Do not use macros from bp-asm.h.
12341 (STOP): Likewise.
12342 (strcspn): Do not use BP_SYM.
12343 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12344 "bp-asm.h".
12345 (PARMS): Do not use macros from bp-asm.h.
12346 (STR): Likewise.
12347 (STOP): Likewise.
12348 (strpbrk): Likewise. Do not use BP_SYM.
12349 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12350 "bp-asm.h".
12351 (PARMS): Do not use macros from bp-asm.h.
12352 (STR): Likewise.
12353 (CHR): Likewise.
12354 (strrchr): Likewise. Do not use BP_SYM.
12355 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12356 (PARMS): Do not use macros from bp-asm.h.
12357 (SKIP): Likewise.
12358 (strspn): Do not use BP_SYM.
12359 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12360 (PARMS): Do not use macros from bp-asm.h.
12361 (STR): Likewise.
12362 (DELIM): Likewise.
12363 (SAVE): Likewise.
12364 (FUNCTION): Likewise. Do not use BP_SYM.
12365 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12366 aliases.
12367 (strtok_r): Likewise.
12368 (__GI___strtok_r): Likewise.
12369 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12370 (PARMS): Do not use macros from bp-asm.h.
12371 (S1): Likewise.
12372 (S2): Likewise.
12373 (SIZE): Likewise.
12374 (__mpn_sub_n): Do not use BP_SYM.
12375 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12376 "bp-asm.h".
12377 (PARMS): Do not use macros from bp-asm.h.
12378 (S1): Likewise.
12379 (SIZE): Likewise.
12380 (__mpn_submul_1): Do not use BP_SYM.
12381 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12382 <bp-sym.h>.
12383 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12384 and <bp-asm.h>.
12385 (PARMS): Do not use macros from bp-asm.h.
12386 (FLAGS): Likewise.
12387 (PTID): Likewise.
12388 (TLS): Likewise.
12389 (CTID): Likewise.
12390 (__clone): Do not use BP_SYM.
12391 (clone): Do not use BP_SYM in weak_alias.
12392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12393 and <bp-asm.h>.
12394 (PARMS): Do not use macros from bp-asm.h.
12395 (LEN): Likewise.
12396 (__mmap64): Do not use BP_SYM.
12397 (mmap64): Do not use BP_SYM in weak_alias.
12398 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12399 <bp-sym.h> and <bp-asm.h>.
12400 (PARMS): Do not use macros from bp-asm.h.
12401 (__posix_fadvise64_l64): Do not use BP_SYM.
12402 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12403 (PARMS): Do not use macros from bp-asm.h.
12404 (NSOPS): Likewise.
12405 (semtimedop): Do not use BP_SYM.
12406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12407 and <bp-asm.h>.
12408
582a3cff
AM
124092013-02-21 Allan McRae <allan@archlinux.org>
12410
12411 * manual/message.texi (Charset conversion in gettext):
12412 Move @end statement to beginning of line.
12413
bab8a695
SP
124142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12415
80945231
SP
12416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12417 static.
12418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12419 Likewise.
12420
bab8a695
SP
12421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12422 (denorm): Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12425
e21d7aa7
AK
124262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12427
12428 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12429 tail-call to the resolved function if pltexit isn't needed.
12430
4c7a4263
SP
124312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12432
12433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12434 or Y being zero as being unlikely.
12435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12436 Likewise.
12437
41f49342
CD
124382013-02-20 Carlos O'Donell <carlos@redhat.com>
12439
12440 * manual/nss.texi (System Databases and Name Service Switch):
12441 Remove frobnicate @pxref.
12442
50022a93
TS
124432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12444
12445 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12446 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12447
08cbd996
PM
124482013-02-20 Petr Machata <pmachata@redhat.com>
12449
12450 * elf/elf.h (R_ARM_TARGET1): New macro.
12451 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12452 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12453 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12454 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12455 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12456 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12457 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12458 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12459 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12460 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12461 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12462 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12463 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12464 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12465 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12466 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12467 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12468 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12469 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12470 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12471 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12472 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12473 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12474 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12475 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12476 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12477 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12478 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12479 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12480 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12481 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12482 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12483 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12484 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12485 (R_ARM_THM_GOT_BREL12): Likewise.
12486 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12487 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12488 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12489 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12490 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12491 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12492 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12493 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12494 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12495
c7b275d6
TS
124962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12497
12498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12499 __attribute_used__ to __attribute__ ((unused)).
12500
20cd7fb3
SP
125012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12502
12503 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12504 powerpc mpa.c.
12505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12506 comment formatting.
12507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12508
92945b52
JM
125092013-02-19 Joseph Myers <joseph@codesourcery.com>
12510
12511 [BZ #13550]
12512 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12513 Remove macro.
12514 (ENTER): Remove both macro definitions.
12515 (LEAVE): Likewise.
12516 (CHECK_BOUNDS_LOW): Likewise.
12517 (CHECK_BOUNDS_HIGH): Likewise.
12518 (CHECK_BOUNDS_BOTH): Likewise.
12519 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12520 (RETURN_BOUNDED_POINTER): Likewise.
12521 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12522 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12523 (POP_ERRNO_LOCATION_RETURN): Likewise.
12524 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12526 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12527 macros.
12528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12529 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12530 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12531 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12532 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12533 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12534 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12535 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12536 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12537 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12538 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12539 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12541 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12542 removed macros.
12543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12544 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12545 macros.
12546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12547 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12548 * sysdeps/i386/i586/memset.S (memset): Likewise.
12549 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12551 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12552 macros.
12553 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12554 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12555 Change uses of L(2) to L(out).
12556 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12557 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12558 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12560 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12561 removed macros.
12562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12563 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12564 macros.
12565 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12566 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12567 (RETURN): Do not use macro LEAVE.
12568 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12569 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12570 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12571 * sysdeps/i386/i686/memset.S (memset): Likewise.
12572 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12573 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12574 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12575 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12576 Likewise.
12577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12578 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12579 L(1_2) and L(1_3) into L(1).
12580 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12581 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12583 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12584 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12585 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12586 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12587 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12588 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12589 macros.
12590 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12591 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12592 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12593 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12594 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12595 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12596 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12597 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12598 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12599 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12600 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12601 * sysdeps/i386/strspn.S (strspn): Likewise.
12602 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12603 conditional code.
12604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12605 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12606 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12607 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12608 L(1_3) into L(1_1).
12609 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12610 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12611 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12612 macros.
12613 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12614
2389741a
JJ
126152013-02-19 Jakub Jelinek <jakub@redhat.com>
12616
12617 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12618 macro.
12619
2016b3cd
SP
126202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12621
e4f22324
SP
12622 * math/atest-exp.c (exp_mpn): Remove ROUND.
12623 * math/atest-exp2.c (exp_mpn): Likewise.
12624 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12625
2016b3cd
SP
12626 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12627 * stdlib/tst-tls-atexit-lib.c: Likewise.
12628 * stdlib/tst-tls-atexit.c: Likewise.
12629
4be9b544
MF
126302013-02-18 Mike Frysinger <vapier@gentoo.org>
12631
12632 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12633 and __attribute_alloc_size__.
12634
2f62b9ee
MF
126352013-02-18 Mike Frysinger <vapier@gentoo.org>
12636
12637 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12638 __attribute_alloc_size__.
12639 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12640 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12641
6ff444c4
MF
126422013-02-18 Mike Frysinger <vapier@gentoo.org>
12643
12644 * include/programs/xmalloc.h: New file.
12645 * catgets/gencat.c: Include it.
12646 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12647 * elf/pldd.c: Likewise.
12648 * iconv/iconv_charmap.c: Likewise.
12649 * iconv/iconvconfig.c: Likewise.
12650 * iconv/strtab.c: Likewise.
12651 * locale/programs/locale.c: Likewise.
12652 * locale/programs/localedef.h: Likewise.
12653 * locale/programs/simple-hash.c: Likewise.
12654 * nscd/nscd.h: Likewise.
12655 * nss/makedb.c: Likewise.
12656 * sysdeps/generic/ldconfig.h: Likewise.
12657
be179c8a
SP
126582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12659
ba384f6e
SP
12660 * Versions.def: Add GLIBC_2.18.
12661 * include/link.h (struct link_map): New member l_tls_dtor_count.
12662 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12663 (__call_tls_dtors): Likewise.
12664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12665 __cxa_thread_atexit_impl.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12667 Likewise.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12669 Likewise.
12670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12671 Likewise.
12672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12673 Likewise.
12674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12676 Likewise.
12677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12678 Likewise.
12679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12681 Likewise.
12682 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12683 (tests): Add test case tst-tls-atexit.
12684 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12685 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12686 (GLIBC_PRIVATE): Add __call_tls_dtors.
12687 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12688 for libstdc++.
12689 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12690 * stdlib/tst-tls-atexit.c: New test case.
12691 * stdlib/tst-tls-atexit-lib.c: New test case.
12692
ffaa74cf 12693 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12694
be179c8a
SP
12695 * elf/Versions (ld): Add _dl_find_dso_for_object.
12696 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12697 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12698 (dl_open_worker): Use _dl_find_dso_for_object.
12699 * elf/dl-sym.c (do_sym): Likewise.
12700 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12701
f78b5caa
AK
127022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12703
12704 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12705 Syntactic changes only.
12706 (_dl_runtime_profile): Do a tail-call to the resolved function.
12707
29691210
JM
127082013-02-17 Joseph Myers <joseph@codesourcery.com>
12709
12710 [BZ #13550]
12711 * sysdeps/x86_64/bp-asm.h: Remove file.
12712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12713 <bp-sym.h> and <bp-asm.h>.
12714 (__clone): Do not use BP_SYM.
12715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12716 <bp-sym.h> and <bp-asm.h>.
12717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12718 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12719 "bp-asm.h".
12720 (_setjmp): Do not use BP_SYM.
12721 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12722 "bp-asm.h".
12723 (setjmp): Do not use BP_SYM.
12724 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12725 libc_hidden_def.
12726 (mempcpy): Do not use BP_SYM in weak_alias.
12727 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12728 "bp-asm.h".
12729 (strchr): Do not use BP_SYM.
12730 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12731 "bp-asm.h".
12732 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12733 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12734 (_start): Do not use BP_SYM.
12735 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12736 "bp-asm.h".
12737 (strcat): Do not use BP_SYM.
12738 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12739 "bp-asm.h".
12740 (STRCMP): Do not use BP_SYM.
12741 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12742 "bp-asm.h".
12743 (STRCPY): Do not use BP_SYM.
12744 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12745 "bp-asm.h".
12746 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12747 "bp-asm.h".
12748 (FUNCTION): Do not use BP_SYM.
12749 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12750 weak_alias.
12751 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12752
f238fd19
AJ
127532013-02-17 Andreas Jaeger <aj@suse.de>
12754
12755 * time/Versions: Sort entries.
12756 * string/Versions: Likewise.
12757 * resolv/Versions: Likewise.
12758 * posix/Versions: Likewise.
12759 * iconv/Versions: Likewise.
12760 * elf/Versions: Likewise.
12761 * wcsmbs/Versions: Likewise.
12762
bd07f23c 127632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12764
22af19f9
SP
12765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12766 loop termination condition.
12767
4709fe76
SP
12768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12769 variable to calculate EZ.
12770 (__sqr): Likewise.
2d0e0f29
SP
12771
12772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12773 the lower precision input.
12774
daaa7713
JM
127752013-02-15 Joseph Myers <joseph@codesourcery.com>
12776
12777 [BZ #13550]
12778 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12779 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12780 (run-via-rtld-prefix): Do not handle %-bp tests.
12781 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12782 (all-object-suffixes): Remove .ob.
12783 (bppfx): Remove variable.
12784 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12785 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12786 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12787 [$(build-bounded) = yes] (libtype.ob): Likewise.
12788 * Makerules (elide-routines.ob): Remove variable.
12789 (do-tests-clean): Do not handle *-bp.out.
12790 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12791 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12792 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12793 (tests): Do not include $(tests-bp.out).
12794 (xtests): Do not include $(xtests-bp.out).
12795 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12796 [$(build-bounded) = yes] ($(addprefix
12797 $(objpfx),$(binaries-bounded))): Remove rule.
12798 ($(objpfx)%-bp.out): Remove rule.
12799 * config.make.in (build-bounded): Remove variable.
12800 * crypt/Makefile [$(build-bounded) = yes]
12801 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12802 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12803 append to variable.
12804 [$(build-bounded) = yes] (install-lib): Likewise.
12805 [$(build-bounded) = yes] (generated): Likewise.
12806 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12807 Remove rule.
12808 * intl/Makefile [$(build-bounded) = yes]
12809 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12810 * math/Makefile [$(build-bounded) = yes]
12811 ($(tests:%=$(objpfx)%-bp): Likewise.
12812 * misc/Makefile [$(build-bounded) = yes]
12813 ($(objpfx)tst-tsearch-bp): Likewise.
12814 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12815 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12816 Remove dependency.
12817 * string/Makefile (o-objects.ob): Remove variable.
12818 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12819 (CFLAGS-.ob): Remove variable.
12820 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12821 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12822 both definitions of variable.
12823 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12824 (ASFLAGS-.ob): Remove variable.
12825
e97ed6dd
JM
128262013-02-14 Joseph Myers <joseph@codesourcery.com>
12827
2bdd4ca6
JM
12828 [BZ #13550]
12829 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12830 Remove __BOUNDED_POINTERS__ from condition.
12831 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12832 * string/bits/string2.h [!__NO_STRING_INLINES &&
12833 !__BOUNDED_POINTERS__]: Likewise.
12834 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12837 Remove conditional code.
12838 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12839 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12840 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12841 condition.
12842
e97ed6dd
JM
12843 [BZ #13550]
12844 * csu/libc-start.c: Do not include <bp-sym.h>.
12845 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12846 * elf/dl-open.c: Do not include <bp-sym.h>.
12847 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12848 * math/fegetenv.c: Do not include <bp-sym.h>.
12849 (fegetenv): Do not use BP_SYM in versioned symbols.
12850 * nptl/sysdeps/pthread/bits/libc-lockP.h
12851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12852 <bp-sym.h>.
12853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12854 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12856 (__pthread_mutex_destroy): Likewise.
12857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12858 (__pthread_mutex_lock): Likewise.
12859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12860 (__pthread_mutex_trylock): Likewise.
12861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12862 (__pthread_mutex_unlock): Likewise.
12863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12864 (__pthread_mutexattr_init): Likewise.
12865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12866 (__pthread_mutexattr_destroy): Likewise.
12867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12868 (__pthread_mutexattr_settype): Likewise.
12869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12870 (__pthread_rwlock_init): Likewise.
12871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12872 (__pthread_rwlock_destroy): Likewise.
12873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12874 (__pthread_rwlock_rdlock): Likewise.
12875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12876 (__pthread_rwlock_tryrdlock): Likewise.
12877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12878 (__pthread_rwlock_wrlock): Likewise.
12879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12880 (__pthread_rwlock_trywrlock): Likewise.
12881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12882 (__pthread_rwlock_unlock): Likewise.
12883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12884 (__pthread_key_create): Likewise.
12885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12886 (__pthread_setspecific): Likewise.
12887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12888 (__pthread_getspecific): Likewise.
12889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12890 Likewise.
12891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12892 (_pthread_cleanup_push_defer): Likewise.
12893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12894 (_pthread_cleanup_pop_restore): Likewise.
12895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12896 (pthread_setcancelstate): Likewise.
12897 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12898 <bp-sym.h>.
12899 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12900 (memchr): Do not use BP_SYM in weak_alias.
12901 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12902 (fegetenv): Do not use BP_SYM in versioned symbols.
12903 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12904 (fesetenv): Do not use BP_SYM in versioned symbols.
12905 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12906 (feupdateenv): Do not use BP_SYM in versioned symbols.
12907 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12909 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12910 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12911 (open64): Do not use BP_SYM in weak_alias.
12912 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12913 (fegetenv): Do not use BP_SYM in versioned symbols.
12914 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12915 (fesetenv): Do not use BP_SYM in versioned symbols.
12916 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12917 (feupdateenv): Do not use BP_SYM in versioned symbols.
12918 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12919 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12920 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12921 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12922 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12923 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12925 <bp-sym.h>.
12926 (__libc_start_main): Do not use BP_SYM.
12927
d6752ccd
SP
129282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12929
cb57ce60
SP
12930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12931 redundant return line.
12932 (norm): Likewise.
12933 (denorm): Likewise.
12934 (dbl_mp): Likewise.
12935 (sub_magnitudes): Likewise.
12936 (__add): Likewise.
12937 (__sub): Likewise.
12938 (__mul): Likewise.
12939 (__inv): Likewise.
12940 (__dvd): Likewise.
12941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12942 (norm): Likewise.
12943 (denorm): Likewise.
12944 (dbl_mp): Likewise.
12945 (sub_magnitudes): Likewise.
12946 (__add): Likewise.
12947 (__sub): Likewise.
12948 (__mul): Likewise.
12949 (__inv): Likewise.
12950 (__dvd): Likewise.
12951
f414520d
SP
12952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12953 instead of __mul.
12954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12956 (cc32): Likewise.
12957
d6752ccd
SP
12958 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12959 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12961 of __mul for squares.
12962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12963 function
12964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12965 Likewise.
12966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12968
70d9946a
JM
129692013-02-13 Joseph Myers <joseph@codesourcery.com>
12970
12971 [BZ #13550]
12972 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12973 code.
12974 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12975 prototype or function definition. Rename ubp_* variables and
12976 parameters. Remove argv definitions conditional on
12977 [__BOUNDED_POINTERS__].
12978 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12979 * elf/dl-runtime.c (_dl_fixup): Likewise.
12980 * include/set-hooks.h (RUN_HOOK): Likewise.
12981 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12982 definition.
12983 * string/strcpy.c (strcpy): Do not use __unbounded.
12984 * sysdeps/generic/frame.h (struct layout): Likewise.
12985 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12986 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12987 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12988 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12989 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12990 (__backtrace): Likewise.
12991 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12992 use __ptrvalue.
12993 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12994 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12995 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12996 Likewise.
12997 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12998 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13000 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13001 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13002 Do not use __unbounded.
13003 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13004 Rename __unboundedrlimits parameter to rlimits in prototype.
13005 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13006 Do not use __unbounded.
13007 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13008 not use __ptrvalue.
13009 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13010 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13013 __ptrvalue or __unbounded.
13014 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13015 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13016 use __unbounded.
13017 (__new_msgctl): Do not use __ptrvalue.
13018 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13019 __unbounded.
13020 (__libc_msgrcv): Do not use __ptrvalue.
13021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13022 startup_info): Do not use __unbounded.
13023 (__libc_start_main): Likewise. Rename ubp_* variables and
13024 parameters. Remove argv definitions conditional on
13025 [__BOUNDED_POINTERS__].
13026 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13027 __ptrvalue.
13028 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13029 use __unbounded.
13030 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13031 or __ptrvalue.
13032 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13033 use __unbounded.
13034 (__new_shmctl): Do not use __ptrvalue.
13035 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13036 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13037 Likewise.
13038 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13040 (__libc_sigaction): Likewise.
13041 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13043 Likewise.
13044 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13045
cc7834d6
OB
130462013-02-13 Ondřej Bílka <neleai@seznam.cz>
13047
ffb1ec7b 13048 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13049
13050 * string/mempcpy.c: Implement by calling memcpy.
13051
bdf02814
SP
130522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13053
c2af38aa
SP
13054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13055
4e92d59e
SP
13056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13057 evaluation.
13058
909279a5
SP
13059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13060 values in the mantissa.
13061
bdf02814
SP
13062 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13063 minimize writes to Z.
13064 (sub_magnitudes): Simplify code a bit.
13065
cd525923
RM
130662013-02-12 Roland McGrath <roland@hack.frob.com>
13067
13068 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13069 from the message. The linker prefixes all warnings with that already.
13070
7e2f0d2d
AS
130712013-02-12 Andreas Schwab <schwab@suse.de>
13072
a445af0b
AS
13073 [BZ #15078]
13074 * posix/regexec.c (extend_buffers): Add parameter min_len.
13075 (check_matching): Pass minimum needed length.
13076 (clean_state_log_if_needed): Likewise.
13077 (get_subexp): Likewise.
13078 * posix/Makefile (tests): Add bug-regex34.
13079 (bug-regex34-ENV): Define.
13080 * posix/bug-regex34.c: New file.
13081
7e2f0d2d
AS
13082 [BZ #11561]
13083 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13084 elements compare against the byte sequence of it, not its name.
13085 * posix/Makefile (tests): Add bug-regex35.
13086 (bug-regex35-ENV): Define.
13087 * posix/bug-regex35.c: New file.
13088
a175b684
TV
130892013-02-11 Tom de Vries <tom@codesourcery.com>
13090
13091 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13092 comment.
13093 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13094 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13095 (CHECK_EOL): Add undef.
13096
310998fe 130972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13098
13099 * bits/stdlib-bsearch.h: New file.
13100 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13101 * stdlib/stdlib.h: Likewise.
41eda41d 13102
8ded91fb
RM
131032013-02-11 Roland McGrath <roland@hack.frob.com>
13104
13105 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13106 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13107 declaration.
13108 * manual/search.texi (Array Search Function): Add missing const in
13109 lfind prototype.
13110 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13111 declaration to use rlim_t.
13112 (Basic Scheduling Functions): Remove erroneous const from
13113 sched_getparam prototype. Remove erroneous * from
13114 sched_get_priority_max and sched_get_priority_min prototypes.
13115 (Resource Usage): Fix summary @comment on vtimes to refer to
13116 sys/vtimes.h rather than vtimes.h.
13117 Add missing *s in vtimes prototype.
13118 (Limits on Resources): Fix ulimit prototype to return long int.
13119 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13120 prototypes to use long int rather than double.
13121 (BSD Random): Fix initstate and setstate to use char *, not void *.
13122 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13123 prototype to make second argument 'struct aiocb64 *const[]'.
13124 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13125 (Status of AIO Operations): Remove erroneous const in aio_return and
13126 aio_return64 prototypes.
13127 (Synchronizing I/O): Fix sync prototype to return void.
13128 * manual/startup.texi (Suboptions): Remove an erroneous const in
13129 getsubopt prototype.
13130 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13131 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13132 use size_t rather than int.
13133 (Scanning All Users): Likewise for getpwent_r.
13134 (Setting Groups): Add missing const to setgroups prototype.
13135 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13136 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13137 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13138 'const void *' rather than 'const char *'.
13139 (Host Address Functions): Likewise for inet_ntop.
13140 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13141 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13142 ssize_t for return value.
13143 (Sending Data): Likewise for send, sendto, sendmsg.
13144 (Socket Option Functions): Add a missing const in setsockopt prototype.
13145 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13146 use wchar_t for the argument.
13147 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13148 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13149 take no arguments.
13150 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13151 double/float/long double for second argument.
13152 Fix return types of significand, significandf, significandl.
13153 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13154 argument in fchmod prototype.
13155 (File Owner): Use uid_t and gid_t in fchown prototype.
13156 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13157 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13158 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13159 use 'const struct dirent **' as argument types to CMP function pointer
13160 argument.
13161 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13162 (File Times): Fix summary magic @comment for struct utimbuf and utime
13163 to refer to utime.h, not time.h.
13164 * manual/string.texi (Argz Functions): Add missing const in
13165 argz_extract and argz_next prototypes.
13166 (Finding Tokens in a String): Likewise for basename.
13167 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13168 (Copying and Concatenation): Fix typo in wmemmove prototype.
13169 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13170 (Signal Stack): Remove erroneous const in sigstack prototype.
13171 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13172 prototype.
13173 (Simple Calendar Time): Likewise for stime.
13174 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13175 prototype.
13176 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13177 say sys/sysctl.h instead.
13178 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13179 and vsyslog prototypes.
13180
fe77fe6d
TV
131812013-02-11 Tom de Vries <tom@codesourcery.com>
13182
13183 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13184 Remove.
13185
3a09b620
RM
131862013-02-11 Roland McGrath <roland@hack.frob.com>
13187
13188 * misc/sys/mman.h: Fix typo in mremap comment.
13189
550a0b89
RM
131902013-02-08 Roland McGrath <roland@hack.frob.com>
13191
13192 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13193 the '\0' terminator.
13194
a2da1673
JM
131952013-02-08 Joseph Myers <joseph@codesourcery.com>
13196
13197 [BZ #13550]
13198 * debug/segfault.c: Don't include <bp-checks.h>.
13199 * sysdeps/generic/bp-checks.h: Remove file.
13200 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13201 (__GETDENTS): Don't use CHECK_N.
13202 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13203 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13204 (__getgroups): Don't use CHECK_N.
13205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13206 (setgroups): Don't use CHECK_N.
13207 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13209 (__libc_msgrcv): Don't use CHECK_N.
13210 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13211 (__libc_msgsnd): Don't use CHECK_N.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13213 <bp-checks.h>.
13214 (__libc_pread): Don't use CHECK_N.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13216 include <bp-checks.h>.
13217 (__libc_pread64): Don't use CHECK_N.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13219 include <bp-checks.h>.
13220 (__libc_pwrite): Don't use CHECK_N.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13222 include <bp-checks.h>.
13223 (__libc_pwrite64): Don't use CHECK_N.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13225 <bp-checks.h>.
13226 (__libc_pread): Don't use CHECK_N.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13228 include <bp-checks.h>.
13229 (__libc_pread64): Don't use CHECK_N.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13231 include <bp-checks.h>.
13232 (__libc_pwrite): Don't use CHECK_N.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13234 include <bp-checks.h>.
13235 (__libc_pwrite64): Don't use CHECK_N.
13236 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13237 (do_pread): Don't use CHECK_N.
13238 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13239 (do_pread64): Don't use CHECK_N.
13240 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13241 (do_pwrite): Don't use CHECK_N.
13242 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13243 (do_pwrite64): Don't use CHECK_N.
13244 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13245 (__libc_readv): Don't use CHECK_N.
13246 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13247 (semop): Don't use CHECK_N.
13248 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13249 <bp-checks.h>.
13250 (semtimedop): Don't use CHECK_N.
13251 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13252 (__libc_pread): Don't use CHECK_N.
13253 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13254 <bp-checks.h>.
13255 (__libc_pread64): Don't use CHECK_N.
13256 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13257 <bp-checks.h>.
13258 (__libc_pwrite): Don't use CHECK_N.
13259 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13260 <bp-checks.h>.
13261 (__libc_pwrite64): Don't use CHECK_N.
13262 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13263 <bp-checks.h>.
13264 (__libc_msgrcv): Don't use CHECK_N.
13265 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13266 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13267 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13268 (__libc_writev): Don't use CHECK_N.
13269
b84660a8
RM
132702013-02-08 Roland McGrath <roland@hack.frob.com>
13271
7f3e75f8
RM
13272 * string/strcpy.c: Removed unused variable.
13273
b84660a8
RM
13274 * Makeconfig (+sysdep-includes): Define with := rather than =.
13275 Use an existing include/ subdir of each sysdeps dir before it.
13276
471514d3
CD
132772013-02-08 Carlos O'Donell <carlos@redhat.com>
13278
13279 * nscd/connection.c (register_traced_file): Comment function.
13280 [HAVE_INOTIFY] (union __inev): Define.
13281 [HAVE_INOTIFY] (inotify_check_files): New function.
13282 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13283 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13284 clear_db_cache.
13285 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13286
b2d3c3be
CD
132872013-02-08 Carlos O'Donell <carlos@redhat.com>
13288
13289 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13290 loaded if not already and that a failure is permanent.
13291
b39949d2
CD
132922013-02-08 Carlos O'Donell <carlos@redhat.com>
13293
ddacd1db 13294 [BZ #15006]
b39949d2
CD
13295 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13296 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13297
b2c9eff4
JM
132982013-02-08 Joseph Myers <joseph@codesourcery.com>
13299
f3aae3f3
JM
13300 [BZ #13550]
13301 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13302 (CHECK_1_NULL_OK): Likewise.
13303 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13304 (__fxstat): Do not use CHECK_1.
13305 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13306 <bp-checks.h>.
13307 (___fxstat64): Do not use CHECK_1.
13308 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13309 <bp-checks.h>.
13310 (__fxstatat): Do not use CHECK_1.
13311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13312 <bp-checks.h>.
13313 (__fxstatat64): Do not use CHECK_1.
13314 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13315 <bp-checks.h>.
13316 (__fxstat): Do not use CHECK_1.
13317 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13318 <bp-checks.h>.
13319 (__fxstatat): Do not use CHECK_1.
13320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13321 <bp-checks.h>.
13322 (__getresgid): Do not use CHECK_1.
13323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13324 <bp-checks.h>.
13325 (__getresuid): Do not use CHECK_1.
13326 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13327 <bp-checks.h>.
13328 (__lxstat): Do not use CHECK_1.
13329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13330 <bp-checks.h>.
13331 (__old_msgctl): Do not use CHECK_1.
13332 (__new_msgctl): Likewise.
13333 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13334 <bp-checks.h>.
13335 (__new_setrlimit): Do not use CHECK_1.
13336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13337 <bp-checks.h>.
13338 (__old_shmctl): Do not use CHECK_1.
13339 (__new_shmctl): Likewise.
13340 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13341 <bp-checks.h>.
13342 (__xstat): Do not use CHECK_1.
13343 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13344 (__lxstat): Do not use CHECK_1.
13345 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13346 <bp-checks.h>.
13347 (___lxstat64): Do not use CHECK_1.
13348 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13349 (__old_msgctl): Do not use CHECK_1.
13350 (__new_msgctl): Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13352 <bp-checks.h>.
13353 (__gettimeofday): Do not use CHECK_1.
13354 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13355 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13357 <bp-checks.h>.
13358 (__gettimeofday): Do not use CHECK_1.
13359 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13360 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13361 (__new_shmctl): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13363 <bp-checks.h>.
13364 (do_sigtimedwait): Do not use CHECK_1.
13365 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13366 <bp-checks.h>.
13367 (do_sigwaitinfo): Do not use CHECK_1.
13368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13369 <bp-checks.h>.
13370 (msgctl): Do not use CHECK_1.
13371 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13372 <bp-checks.h>.
13373 (shmctl): Do not use CHECK_1.
13374 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13375 (ustat): Do not use CHECK_1.
13376 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13377 <bp-checks.h>.
13378 (__fxstat): Do not use CHECK_1.
13379 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13380 <bp-checks.h>.
13381 (__fxstatat): Do not use CHECK_1.
13382 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13383 <bp-checks.h>.
13384 (__lxstat): Do not use CHECK_1.
13385 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13386 <bp-checks.h>.
13387 (__xstat): Do not use CHECK_1.
13388 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13389 (__xstat): Do not use CHECK_1.
13390 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13391 (___xstat64): Do not use CHECK_1.
13392
b2c9eff4
JM
13393 [BZ #13550]
13394 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13395 definitions.
13396 (CHECK_BOUNDS_HIGH): Likewise.
13397 * string/strcpy.c: Do not include <bp-checks.h>.
13398 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13399
f1d70dad
RM
134002013-02-07 Roland McGrath <roland@hack.frob.com>
13401
13402 * nscd/nscd-client.h (__nscd_drop_map_ref):
13403 Add __attribute__ ((unused)).
13404 * nis/nss-nisplus.h (niserr2nss): Likewise.
13405
13406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13407 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13408
13409 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13410 Remove inline keyword.
13411 * include/rounding-mode.h (round_away): Likewise.
13412 * libio/wfileops.c (adjust_wide_data): Likewise.
13413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13414 (__m128i_strloadu_tolower): Likewise.
13415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13416 (__m128i_strloadu_tolower): Likewise.
13417 * time/mktime.c (ydhms_diff): Likewise.
13418 * locale/elem-hash.h (elem_hash): Likewise.
13419 * locale/setlocale.c (setdata): Likewise.
13420 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13421 (re_string_wchar_at): Likewise.
13422 (bitset_not, bitset_merge, bitset_mask): Likewise.
13423 [!(__GNUC__ > 3)] (inline): Remove macro.
13424 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13425 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13426 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13427 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13428 * string/memcmp.c (memcmp_bytes): Likewise.
13429 * locale/programs/locarchive.c (compute_hashval): Likewise.
13430 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13431 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13432 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13433 * nss/getent.c (print_rpc, print_protocols): Likewise.
13434 (print_passwd, print_group, print_aliases): Likewise.
13435 * nis/nss-nisplus.h (niserr2nss): Likewise.
13436 * nscd/connections.c (restart_p): Likewise.
13437 Change return type to bool.
13438
eab55bfb
RM
134392013-02-05 Roland McGrath <roland@hack.frob.com>
13440
7bd642f5
RM
13441 * Makeconfig (all-Depend-files): Add existing
13442 $(sorted-subdirs:=/Depend) files.
13443 (all-subdirs): Remove nss.
13444 * sysdeps/unix/inet/Subdirs: Add it here instead.
13445 * hesiod/Depend: New file.
13446
573c29b2
RM
13447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13448 instead of calling alloca.
13449
b2e25af0
RM
13450 * io/lseek.c (__lseek): Rename to __libc_lseek.
13451 Define __lseek as an alias.
13452
eab55bfb
RM
13453 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13454
9a0d1941
CD
134552013-02-04 Carlos O'Donell <carlos@redhat.com>
13456
13457 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13458 else clause and remove check for non-standard endianness.
13459
b83bbec4
DM
134602013-02-04 David S. Miller <davem@davemloft.net>
13461
13462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13463
6277fdab
JM
134642013-02-04 Joseph Myers <joseph@codesourcery.com>
13465
13466 [BZ #13550]
13467 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13468 (__ubp_memchr): Remove prototype.
13469 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13470 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13471 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13472 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13473 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13474 Remove alias.
13475 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13476 (__ubp_memchr): Likewise.
13477 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13478 (__ubp_memchr): Likewise.
13479 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13480 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13481 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13482 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13483 CHECK_STRING.
13484 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13485 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13486 (__getcwd): Do not use CHECK_STRING.
13487 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13488 <bp-checks.h>.
13489 (__real_chown): Do not use CHECK_STRING.
13490 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13491 <bp-checks.h>.
13492 (fchownat): Do not use CHECK_STRING.
13493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13494 CHECK_STRING.
13495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13496 <bp-checks.h>.
13497 (__lchown): Do not use CHECK_STRING.
13498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13499 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13500 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13501 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13503 include <bp-checks.h>.
13504 (truncate64): Do not use CHECK_STRING.
13505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13506 <bp-checks.h>.
13507 (__real_chown): Do not use CHECK_STRING.
13508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13509 <bp-checks.h>.
13510 (__lchown): Do not use CHECK_STRING.
13511 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13512 <bp-checks.h>.
13513 (__chown): Do not use CHECK_STRING.
13514 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13515 <bp-checks.h>.
13516 (truncate64): Do not use CHECK_STRING.
13517 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13518 Likewise.
13519 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13520 (__xmknod): Do not use CHECK_STRING.
13521 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13522 <bp-checks.h>.
13523 (__xmknodat): Do not use CHECK_STRING.
13524 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13525 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13526
903ae060
AS
135272013-02-04 Andreas Schwab <schwab@suse.de>
13528
13529 [BZ #14142]
13530 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13531 * include/netdb.h: Likewise for h_errno.
13532 * elf/tst-stackguard1.c: Include <tls.h>.
13533
542f9466
JK
135342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13535
13536 * elf/link.h (struct link_map): Extend the l_addr comment.
13537 * include/link.h (struct link_map): Likewise.
13538
e782a927
JM
135392013-02-01 Joseph Myers <joseph@codesourcery.com>
13540
13541 [BZ #13550]
13542 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13543 (BOUNDED_1): Remove macro.
13544 * debug/backtrace.c: Don't include <bp-checks.h>.
13545 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13546 (__backtrace): Likewise.
13547 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13548 <bp-checks.h>.
13549 (__backtrace): Don't use BOUNDED_1.
13550 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13551 <bp-checks.h>.
13552 (__backtrace): Don't use BOUNDED_1.
13553 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13554 (__backtrace): Don't use BOUNDED_1.
13555 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13556 (shmat): Don't use BOUNDED_N.
13557
8cf28c5e
JM
135582013-01-31 Joseph Myers <joseph@codesourcery.com>
13559
3a7ac8a0
JM
13560 [BZ #13550]
13561 * sysdeps/generic/bp-start.h: Remove file.
13562 * csu/libc-start.c: Don't include <bp-start.h>.
13563 (LIBC_START_MAIN): Set up __environ directly instead of using
13564 INIT_ARGV_and_ENVIRON.
13565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13566 <bp-start.h>.
13567
f3499f95
JM
13568 [BZ #13550]
13569 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13570 definitions.
13571 (CHECK_FCNTL): Likewise.
13572 (CHECK_N_PAGES): Likewise.
13573
32a45bea
JM
13574 [BZ #13550]
13575 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13576 definitions.
13577 (CHECK_SIGSET_NULL_OK): Likewise.
13578 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13579 <bp-checks.h>.
13580 (sigpending): Don't use CHECK_SIGSET.
13581 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13582 <bp-checks.h>.
13583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13584 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13585 <bp-checks.h>.
13586 (do_sigsuspend): Don't use CHECK_SIGSET.
13587 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13588 use CHECK_SIGSET.
13589 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13590 (do_sigwait): Don't use CHECK_SIGSET.
13591 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13592 use CHECK_SIGSET.
13593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13594 include <bp-checks.h>.
13595 (sigpending): Don't use CHECK_SIGSET.
13596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13597 include <bp-checks.h>.
13598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13599 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13600 <bp-checks.h>.
13601 (sigpending): Don't use CHECK_SIGSET.
13602 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13603 <bp-checks.h>.
13604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13605
2e8a5c8c
JM
13606 [BZ #13550]
13607 * sysdeps/generic/bp-semctl.h: Remove file.
13608 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13609 <bp-checks.h> and <bp-semctl.h>.
13610 (__old_semctl): Don't use CHECK_SEMCTL.
13611 (__new_semctl): Likewise.
13612 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13613 and <bp-semctl.h>.
13614 (__old_semctl): Don't use CHECK_SEMCTL.
13615 (__new_semctl): Likewise.
13616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13617 <bp-checks.h> and <bp-semctl.h>.
13618 (__old_semctl): Don't use CHECK_SEMCTL.
13619 (__new_semctl): Likewise.
13620 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13621 <bp-checks.h> and <bp-semctl.h>.
13622 (semctl): Don't use CHECK_SEMCTL.
13623
c2d54929
JM
13624 [BZ #13550]
13625 * Makerules (elide-bp-thunks): Remove variable.
13626 (elide-routines.oS): Don't use $(elide-bp-thunks).
13627 (elide-routines.os): Likewise.
13628 (elide-routines.o): Likewise.
13629 (elide-routines.op): Likewise.
13630 (elide-routines.og): Likewise.
13631 (objects): Don't use $(bp-thunks).
13632 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13633 include.
13634 (common-generated): Do not add s-proto-bp.d.
13635 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13636 (int): Likewise.
13637 (typ): Likewise.
13638 Do not generate makefile rules for bounded-pointer thunks.
13639 * sysdeps/generic/bp-thunks.h: Remove file.
13640 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13641 * sysdeps/unix/s-proto-bp.S: Likewise.
13642
8cf28c5e
JM
13643 [BZ #15062]
13644 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13645 parts of result separately when argument is not close to line from
13646 -i to i and one part of argument is small.
13647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13649 * math/libm-test.inc (cacos_test): Add more tests.
13650 (casin_test): Likewise.
13651 (casinh_test): Likewise.
13652 * sysdeps/i386/fpu/libm-test-ulps: Update.
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13654
c4e33b8d
DM
136552013-01-31 David S. Miller <davem@davemloft.net>
13656
13657 * po/de.po: Update from translation team.
13658
3b60b421
MK
136592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13660
13661 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13662
bb931195
TS
136632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13664
b5a5da23
TS
13665 * configure.in (_AC_PROG_CC_C89): New definition.
13666 * configure: Regenerate.
13667
bb931195
TS
13668 * configure.in (AC_PROG_CPP): New definition.
13669 * configure: Regenerate.
13670
8c53a12c
JM
136712013-01-23 Joseph Myers <joseph@codesourcery.com>
13672
13673 * debug/tst-backtrace.h: New file.
13674 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13675 (ret): Remove variable.
13676 (x): Likewise.
13677 (FAIL): Remove macro.
13678 (NO_INLINE): Likewise.
13679 (fn1): Use match function instead of strstr.
13680 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13681 (ret): Remove variable.
13682 (x): Likewise.
13683 (FAIL): Remove macro.
13684 (NO_INLINE): Likewise.
13685 (fn): Use match function instead of strstr.
13686 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13687 (ret): Remove variable.
13688 (x): Likewise.
13689 (FAIL): Remove macro.
13690 (NO_INLINE): Likewise.
13691 (handle_signal): Use match function instead of strstr.
13692 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13693 (ret): Remove variable.
13694 (x): Likewise.
13695 (FAIL): Remove macro.
13696 (NO_INLINE): Likewise.
13697 (handle_signal): Use match function instead of strstr.
13698
4858fa2a
RM
136992013-01-23 Roland McGrath <roland@hack.frob.com>
13700
13701 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13702
bae8e7f5
DM
137032013-01-23 David S. Miller <davem@davemloft.net>
13704
13705 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13706 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13707 argument of CAS if possible.
13708 * sysdeps/sparc/sparc64/bits/atomic.h
13709 (__arch_compare_and_exchange_val_32_acq): Likewise.
13710 (__arch_compare_and_exchange_val_64_acq): Likewise.
13711
9cbbc4ae
PT
137122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13713
13714 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13715 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13716 Include <limits.h>.
67b3f58c 13717 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13718
5655a0b5
AC
137192013-01-23 Adam Conrad <adconrad@0c3.net>
13720
13721 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13722 (LDFLAGS-tst-array5): Likewise.
13723
052aff95
JM
137242013-01-23 Joseph Myers <joseph@codesourcery.com>
13725
13726 [BZ #15036]
13727 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13728 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13729 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13731
7c1e01aa
DM
137322013-01-21 David S. Miller <davem@davemloft.net>
13733
13734 * sysdeps/sparc/backtrace.c: New file.
13735 * sysdeps/sparc/sparc32/backtrace.h: New file.
13736 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13737 * sysdeps/sparc/sparc64/backtrace.h: New file.
13738 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13739 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13740 -funwind-tables.
13741
ab087e0a
AS
137422013-01-21 Andreas Schwab <schwab@suse.de>
13743
13744 [BZ #15020]
13745 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13746 closed its stdout.
13747
ed689c2f
AS
137482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13749
13750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13751 "mpa2.h".
13752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13753
31d470ac
JM
137542013-01-18 Joseph Myers <joseph@codesourcery.com>
13755 Mark Mitchell <mark@codesourcery.com>
13756 Tom de Vries <tom@codesourcery.com>
13757 Paul Pluzhnikov <ppluzhnikov@google.com>
13758
13759 * debug/tst-backtrace2.c: New file.
13760 * debug/tst-backtrace3.c: Likewise.
13761 * debug/tst-backtrace4.c: Likewise.
13762 * debug/tst-backtrace5.c: Likewise.
13763 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13764 (CFLAGS-tst-backtrace3.c): Likewise.
13765 (CFLAGS-tst-backtrace4.c): Likewise.
13766 (CFLAGS-tst-backtrace5.c): Likewise.
13767 (LDFLAGS-tst-backtrace2): Likewise.
13768 (LDFLAGS-tst-backtrace3): Likewise.
13769 (LDFLAGS-tst-backtrace4): Likewise.
13770 (LDFLAGS-tst-backtrace5): Likewise.
13771 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13772 tst-backtrace4 and tst-backtrace5.
13773
90567f30 137742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13775 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13776
13777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13778 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13780 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13782 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13783 "+r" and remove output regs list as redundant. Add explicit inline
13784 asm to specify register of return val to work around compiler codegen
13785 bug. Remove (int) cast on return value. Add return type parameter to
13786 use in macro so that this macro does not truncate return value for
13787 64-bit values.
13788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13789 pass to INTERNAL_VSYSCALL_NCS.
13790 (INLINE_VSYSCALL): Add 'long int' as return type to
13791 INTERNAL_VSYSCALL_NCS macro invocation.
13792 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13793 INTERNAL_VSYSCALL_NCS macro invocation.
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13795
d3b9ea61
SP
137962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13797
0b57daeb
SP
13798 [BZ #14496]
13799 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13800 Fix application of SIMD FP exception mask.
13801
caa99d06
SP
13802 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13803 mp_no from a power of two.
13804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13805 __mpexp_twomm1. Use __pow_mp.
13806
d3b9ea61
SP
13807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13808 multiplication.
13809
1dbaee3c
DM
138102013-01-17 David S. Miller <davem@davemloft.net>
13811
13812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13813
728d7b43
JM
138142013-01-17 Joseph Myers <joseph@codesourcery.com>
13815
13816 [BZ #15023]
13817 * include/complex.h: Condition contents on [!_COMPLEX_H].
13818 (__kernel_casinhf): New prototype.
13819 (__kernel_casinh): Likewise.
13820 (__kernel_casinhl): Likewise.
13821 * math/Makefile (libm_calls): Add k_casinh.
13822 * math/k_casinh.c: New file.
13823 * math/k_casinhf.c: Likewise.
13824 * math/k_casinhl.c: Likewise.
13825 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13826 finite nonzero arguments.
13827 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13828 finite nonzero arguments.
13829 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13830 finite nonzero arguments.
13831 * math/s_casinh.c: Do not include <float.h>.
13832 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13833 * math/s_casinhf.c: Do not include <float.h>.
13834 (__casinhf): Move code for finite nonzero arguments to
13835 k_casinhf.c.
13836 * math/s_casinhl.c: Do not include <float.h>.
13837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13838 redefine.
13839 (__casinhl): Move code for finite nonzero arguments to
13840 k_casinhl.c.
13841 * math/libm-test.inc (cacos_test): Add more tests.
13842 * sysdeps/i386/fpu/libm-test-ulps: Update.
13843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13844
2a26ef3a
PT
138452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13846
13847 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13848 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13849 [!HAVE_MREMAP]: Remove [defined linux] case.
13850 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13851
a897655d
SP
138522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13853
13854 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13855
881ebe89 138562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13857
13858 * elf/elf.h (R_386_SIZE32): New relocation.
13859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13860 R_386_SIZE32.
13861 (elf_machine_rela): Likewise.
13862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13863 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13864
59981e9b
JM
138652013-01-17 Joseph Myers <joseph@codesourcery.com>
13866
13867 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13868 (FP_FAST_FMA): Do not define.
13869 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13870 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13871 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13872 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13873 !_SOFT_FLOAT]: Likewise.
13874 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13876 value.
13877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13878 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13881 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13882 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13883 file.
13884
cfa8054f
AS
138852013-01-16 Andreas Schwab <schwab@suse.de>
13886
13887 [BZ #14327]
13888 * include/stdlib.h (__mktemp): Add declaration.
13889 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13890 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13891
dd930cc5
SP
138922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13893
881ebe89
SP
13894 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13895 definitions.
13896 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13897 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13898 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13899 definitions here.
13900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13901 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13902 definitions.
13903 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13904 and ONE.
13905 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13906 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13908 definitions.
13909 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13910 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13911 definitions.
13912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13913
dd930cc5
SP
13914 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13915
c19a9f89
DM
139162013-01-15 David S. Miller <davem@davemloft.net>
13917
1aa61767
DM
13918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13919 trunc{,f} to libm-sysdep_routes.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13922 file.
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13925 file.
13926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13927 file.
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13934 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13935 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13936
c42d5e98
DM
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13938 nearbyint{,f} to libm-sysdep_routes.
13939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13941 New file.
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13943 file.
13944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13945 New file.
13946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13947 file.
13948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13951 file.
13952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13954 file.
13955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13956 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13957 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13958
c19a9f89
DM
13959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13960 libc_feholdexcept and libc_fesetenv.
13961
357679d2
MF
139622013-01-15 Mike Frysinger <vapier@gentoo.org>
13963
13964 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13965
65a82e3d
DM
139662013-01-14 David S. Miller <davem@davemloft.net>
13967
8b954ab9
DM
13968 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13969 (SPARC_ASM_VIS2_IFUNC): Likewise.
13970 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13972 use of 'siam' instruction.
13973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13974 Likewise.
13975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13976 Likewise.
13977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13978 Likewise.
13979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13984 file.
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13986 file.
13987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13988 file.
13989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13990 file.
13991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13996 new VIS2 routines.
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14000 Likewise.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14006 routines to libm-sysdep_routines.
14007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14008
65a82e3d
DM
14009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14010 fdim/fdimf to libm-sysdep_routines.
14011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14012 file.
14013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14015 file.
14016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14019 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14020 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14021 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14022 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14023
e34ab705
SP
140242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14025
2a91b573
SP
14026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14027 to optimize copies.
14028
1066a534
SP
14029 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14032
e34ab705
SP
14033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14034 local variable MPTWO.
14035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14036 Likewise.
14037
aba5e596
MF
140382013-01-13 Mike Frysinger <vapier@gentoo.org>
14039
14040 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14041 GLOB_NOESCAPE.
14042
e557e9e5
MF
140432013-01-13 Mike Frysinger <vapier@gentoo.org>
14044
14045 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14046
0428cec9
MF
140472013-01-13 Mike Frysinger <vapier@gentoo.org>
14048
14049 * manual/pattern.texi (glob_t): Document gl_flags.
14050 (glob64_t): Likewise.
14051
8794a964
DM
140522013-01-11 David S. Miller <davem@davemloft.net>
14053
66438c3f
RM
14054 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14055 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14056 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14057 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14058 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14059 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14060 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14061 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14062 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14063 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14064 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14065 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14066 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14067
4ae4244d
DM
14068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14069 sparc V9 rather than using V8 code.
14070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14072
8794a964
DM
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14074 Move to...
14075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14076 Here.
14077
6270516e
RM
140782013-01-11 Roland McGrath <roland@hack.frob.com>
14079
14080 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14081 not in the main loop.
14082 * configure: Regenerated.
14083
6a57d931
JM
140842013-01-11 Joseph Myers <joseph@codesourcery.com>
14085
14086 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14087 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14088 to just #else.
14089 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14090 [!__GLIBC_HAVE_LONG_LONG] case.
14091 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14092 condition to just #else.
14093 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14094 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14095 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14096 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14097 unconditional.
14098 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14099 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14100 #elif condition to just #else.
14101 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14102 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14103 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14104 #elif condition to just #else.
14105
0e8529e9
SE
141062013-01-11 Steve Ellcey <sellcey@mips.com>
14107
14108 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14109 (EF_MIPS_ARCH_64): Fix value.
14110 (EF_MIPS_ARCH_32R2): New.
14111 (EF_MIPS_ARCH_64R2): New.
14112
740b3dbe
L
141132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14114
14115 * Makeconfig (+link-pie-before-libc): New.
14116 (+link-pie-after-libc): Likewise.
14117 (+link-pie-tests): Likewise.
14118 (+link-pie): Rewritten.
14119 (link-before-libc): Remove $(config-LDFLAGS).
14120 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14121 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14122 (config-LDFLAGS): Renamed to ...
14123 (rtld-LDFLAGS): This.
14124 (rtld-tests-LDFLAGS): New macro.
14125 (link-libc-rpath-link): Likewise.
14126 (link-libc-tests-rpath-link): Likewise.
14127 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14128 (link-libc): Prepand $(link-libc-rpath-link).
14129 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14130 (test-program-prefix): New macro.
14131 (test-via-rtld-prefix): Likewise.
14132 (test-program-cmd): Likewise.
14133 (host-test-program-cmd): Likewise.
14134 * Makefile ($(common-objpfx)testrun.sh): Replace
14135 $(run-program-prefix) with $(test-program-prefix).
14136 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14137 $(rtld-LDFLAGS).
14138 ($(common-objpfx)shlib.lds): Likewise.
14139 (build-module-helper): Likewise.
14140 ($(common-objpfx)format.lds): Likewise.
14141 * Rules (binaries-pie-tests): New.
14142 (binaries-pie-notests): Likewise.
14143 (binaries-pie): Rewritten.
14144 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14145 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14146 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14147 (make-test-out): Replace $(host-built-program-cmd) with
14148 $(host-test-program-cmd).
14149 * config.make.in (build-hardcoded-path-in-tests): New variable.
14150 * configure.in (--enable-hardcoded-path-in-tests): New configure
14151 option.
14152 (hardcoded_path_in_tests): New AC_SUBST.
14153 * configure: Regenerated.
14154 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14155 $(built-program-cmd) with $(test-program-cmd).
14156 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14157 (test_program_cmd): This.
14158 * elf/Makefile ($(objpfx)order.out): Run test with
14159 $(test-program-prefix).
14160 ($(objpfx)order2.out): Likewise.
14161 ($(objpfx)tst-initorder.out): Likewise.
14162 ($(objpfx)tst-initorder2.out): Likewise.
14163 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14164 $(test-program-cmd).
14165 ($(objpfx)tst-array1-static.out): Likewise.
14166 ($(objpfx)tst-array2.out): Likewise.
14167 ($(objpfx)tst-array3.out): Likewise.
14168 ($(objpfx)tst-array4.out): Likewise.
14169 ($(objpfx)tst-array5.out): Likewise.
14170 ($(objpfx)tst-array5-static.out): Likewise.
14171 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14172 $(test-program-cmd).
14173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14174 $(run-program-prefix) with $(test-program-prefix).
14175 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14176 (test_program_prefix): This.
14177 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14178 $(run-program-prefix) with $(test-program-prefix).
14179 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14180 (test_program_prefix): This.
14181 * iconvdata/tst-tables.sh: Likewise.
14182 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14183 $(run-program-prefix) with $(test-program-prefix).
14184 ($(objpfx)tst-translit.out): Likewise.
14185 ($(objpfx)tst-gettext2.out): Likewise.
14186 ($(objpfx)tst-gettext4.out): Likewise.
14187 ($(objpfx)tst-gettext6.out): Likewise.
14188 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14189 (test_program_prefix): This.
14190 * intl/tst-gettext2.sh: Likewise.
14191 * intl/tst-gettext4.sh Likewise.
14192 * intl/tst-gettext6.sh: Likewise.
14193 * intl/tst-translit.sh: Likewise.
14194 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14195 with $(test-program-cmd).
14196 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14197 $(run-program-prefix) with $(test-program-prefix).
14198 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14199 (test_program_prefix): This.
14200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14201 $(run-program-prefix) with $(test-program-prefix).
14202 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14203 (test_program_prefix): This.
14204 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14205 * posix/Makefile ($(objpfx)globtest.out): Replace
14206 $(run-via-rtld-prefix) and $(test-wrapper) with
14207 $(test-program-prefix) and $(test-via-rtld-prefix).
14208 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14209 $(test-program-prefix).
14210 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14211 $(host-test-program-cmd).
14212 (tst-spawn-ARGS): Likewise.
14213 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14214 $(test-program-prefix).
14215 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14216 (test_via_rtld_prefix): This.
14217 (test_wrapper): Renamed to ...
14218 (test_program_prefix): This.
14219 (run_program_prefix): Replaced by test_program_prefix.
14220 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14221 (test_program_prefix): This.
14222 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14223 with $(host-test-program-cmd).
14224 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14225 $(run-program-prefix) with $(test-program-prefix).
14226 ($(objpfx)tst-printf.out): Likewise.
14227 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14228 $(test-program-cmd).
14229 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14230 (test_program_prefix): This.
14231 * stdio-common/tst-unbputc.sh: Likewise.
14232 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14233 $(run-program-prefix) with $(test-program-prefix).
14234 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14235 (test_program_prefix): This.
14236 * string/Makefile ($(objpfx)tst-svc.out): Replace
14237 $(built-program-cmd) with $(test-program-cmd).
14238
c6fe55cf
AJ
142392013-01-11 Andreas Jaeger <aj@suse.de>
14240
14241 [BZ #15003]
14242 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14243 value. Sync with Linux 3.7.
14244
9e6919c8
DM
142452013-01-10 David S. Miller <davem@davemloft.net>
14246
14247 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14248 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14249 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14250
1c9f1a02
RM
142512013-01-10 Roland McGrath <roland@hack.frob.com>
14252
14253 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14254 never set.
14255 * configure: Regenerated.
14256
b9de2dde
DM
142572013-01-10 David S. Miller <davem@davemloft.net>
14258
14259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14260 sparc V9 rather than using V8 code.
14261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14263
e7f68ef4
RM
142642013-01-10 Roland McGrath <roland@hack.frob.com>
14265
14266 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14267 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14268 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14269 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14270 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14271 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14272 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14273 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14274 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14275 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14276 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14277 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14278 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14279 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14280 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14281 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14282 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14283 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14284 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14285 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14286 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14287 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14288 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14289 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14290 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14291 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14292 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14293
5a47cc9c
DM
142942013-01-10 David S. Miller <davem@davemloft.net>
14295
14296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14297
4cf8f209
L
142982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14299
14300 * posix/Makefile (tests-static): New variable.
14301 (tests): Add $(tests-static).
14302 (tst-exec-static-ARGS): New variable.
14303 (tst-spawn-static-ARGS): Likewise.
14304 * posix/tst-exec-static.c: New file.
14305 * posix/tst-spawn-static.c: Likewise.
14306 * posix/tst-exec.c: Support run directly.
14307 * posix/tst-spawn.c: Likewise.
14308
fed0faa1
JM
143092013-01-10 Joseph Myers <joseph@codesourcery.com>
14310
828beb13
JM
14311 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14312 long.
14313 * math/bits/mathcalls.h (llrint): Likewise.
14314 (llround): Likewise.
14315 * stdlib/stdlib.h (struct drand48_data): Likewise.
14316 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14317 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14318 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14319 Likewise.
14320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14321 Likewise.
14322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14323 (elf_greg_t): Likewise.
14324 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14325 (__jmp_buf): Likewise.
14326 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14327 definitions.
14328 (llrint): Likewise, for all definitions.
14329 (llrintl): Likewise.
14330
fed0faa1
JM
14331 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14332 Remove [__GNUC__] condition.
14333 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14334 condition to just [__USE_ISOC99].
14335 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14336
1a20cb20
L
143372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14338
14339 [BZ #14200]
14340 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14341 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14342 defined.
14343 (_POSIX_V6_ILP32_OFF32): Likewise.
14344 (_XBS5_ILP32_OFF32): Likewise.
14345 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14346 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14347
751b85f7
SP
143482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14349
7490eb81
SP
14350 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14351
751b85f7
SP
14352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14353 doubles __mpexp_twomm1. Adjust usage.
14354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14355 Remove.
14356
988197f0
AS
143572013-01-10 Andreas Schwab <schwab@suse.de>
14358
14359 [BZ #14964]
14360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14361 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14362
e83d7298
DM
143632013-01-09 David S. Miller <davem@davemloft.net>
14364
034ed64b 14365 [BZ #15003]
e83d7298
DM
14366 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14367 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14368 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14369 TCP_FASTOPEN): Define.
14370 (tcp_repair_opt): New structure.
14371 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14372 enum values.
14373 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14374 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14375 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14376 (tcp_cookie_transactions): New structure.
14377
d5e0b9bd
AB
143782013-01-09 Anton Blanchard <anton@samba.org>
14379
14380 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14384
0c07e3ea
JM
143852013-01-09 Joseph Myers <joseph@codesourcery.com>
14386
14387 * include/features.h (__USE_ANSI): Remove.
14388
232f7002
RM
143892013-01-09 Roland McGrath <roland@hack.frob.com>
14390
ad98e30c
RM
14391 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14392
232f7002
RM
14393 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14394
950c99ca
SP
143952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14396
b5792741
SP
14397 * sysdeps/s390/fpu/libm-test-ulps: Update.
14398
47cf2278
SP
14399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14400
950c99ca
SP
14401 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14402 (__acr): Likewise.
14403 (__cpy): Likewise.
14404 (norm): Likewise.
14405 (denorm): Likewise.
14406 (__mp_dbl): Likewise.
14407 (__dbl_mp): Likewise.
14408 (add_magnitudes): Likewise.
14409 (sub_magnitudes): Likewise.
14410 (__add): Likewise.
14411 (__sub): Likewise.
14412 (__mul): Likewise.
14413 (__inv): Likewise.
14414 (__dvd): Likewise.
14415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14416 (__acr): Likewise.
14417 (__cpy): Likewise.
14418 (norm): Likewise.
14419 (denorm): Likewise.
14420 (__mp_dbl): Likewise.
14421 (__dbl_mp): Likewise.
14422 (add_magnitudes): Likewise.
14423 (sub_magnitudes): Likewise.
14424 (__add): Likewise.
14425 (__sub): Likewise.
14426 (__mul): Likewise.
14427 (__inv): Likewise.
14428 (__dvd): Likewise.
14429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14430 (__acr): Likewise.
14431 (__cpy): Likewise.
14432 (norm): Likewise.
14433 (denorm): Likewise.
14434 (__mp_dbl): Likewise.
14435 (__dbl_mp): Likewise.
14436 (add_magnitudes): Likewise.
14437 (sub_magnitudes): Likewise.
14438 (__add): Likewise.
14439 (__sub): Likewise.
14440 (__mul): Likewise.
14441 (__inv): Likewise.
14442 (__dvd): Likewise.
14443
eede9df9
JM
144442013-01-08 Joseph Myers <joseph@codesourcery.com>
14445
14446 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14447 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14448 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14449 2 && __USE_EXTERN_INLINES]: Likewise.
14450
c40ea3d9
AJ
144512013-01-08 Andreas Jaeger <aj@suse.de>
14452
14453 [BZ# 14985]
14454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14455 Remove.
14456 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14457 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14458
2ccdea26
AB
144592013-01-07 Anton Blanchard <anton@samba.org>
14460
14461 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14463 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14465 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14467 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14485 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14494 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14495 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14504
a9708fed
JM
145052013-01-07 Joseph Myers <joseph@codesourcery.com>
14506
375607b9
JM
14507 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14508 (__MALLOC_PMT): Likewise.
14509 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14510 [__GNUC__], only on [_LIBC].
14511 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14512 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14513 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14514 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14515 forward declaration.
14516 (realloc_hook_ini): Likewise.
14517 (memalign_hook_ini): Likewise.
14518 (__libc_memalign): Do not use __MALLOC_PMT in variable
14519 declaration.
14520 (__libc_valloc): Likewise.
14521 (__libc_pvalloc): Likewise.
14522 (__libc_calloc): Likewise.
14523 (__posix_memalign): Likewise.
14524
a9708fed
JM
14525 [BZ #14996]
14526 * math/s_casinh.c: Include <float.h>.
14527 (__casinh): Do not do computation with squaring and square root
14528 for large arguments.
14529 * math/s_casinhf.c: Include <float.h>.
14530 (__casinhf): Do not do computation with squaring and square root
14531 for large arguments.
14532 * math/s_casinhl.c: Include <float.h>.
14533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14534 (__casinhl): Do not do computation with squaring and square root
14535 for large arguments.
14536 * math/libm-test.inc (casin_test): Add more tests.
14537 (casinh_test): Likewise.
14538 * sysdeps/i386/fpu/libm-test-ulps: Update.
14539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14540
afec409a
L
145412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14542
14543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14544 (__x86_64_raw_data_cache_size): Likewise.
14545 (__x86_64_data_cache_size_half): Likewise.
14546 (__x86_64_raw_data_cache_size_half): Likewise.
14547 (__x86_64_shared_cache_size): Likewise.
14548 (__x86_64_raw_shared_cache_size): Likewise.
14549 (__x86_64_shared_cache_size_half): Likewise.
14550 (__x86_64_raw_shared_cache_size_half): Likewise.
14551 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14552 to ...
14553 (__x86_data_cache_size): This.
14554 (__x86_64_raw_data_cache_size): Renamed to ...
14555 (__x86_raw_data_cache_size): This.
14556 (__x86_64_data_cache_size_half): Renamed to ...
14557 (__x86_data_cache_size_half): This.
14558 (__x86_64_raw_data_cache_size_half): Renamed to ...
14559 (__x86_raw_data_cache_size_half): This.
14560 (__x86_64_shared_cache_size): Renamed to ...
14561 (__x86_shared_cache_size): This.
14562 (__x86_64_raw_shared_cache_size): Renamed to ...
14563 (__x86_raw_shared_cache_size): This.
14564 (__x86_64_shared_cache_size_half): Renamed to ...
14565 (__x86_shared_cache_size_half): This.
14566 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14567 (__x86_raw_shared_cache_size_half): This.
14568 * sysdeps/x86_64/memcpy.S: Updated.
14569 * sysdeps/x86_64/memset.S: Likewise.
14570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14573
0b3986d0
DM
145742013-01-04 David S. Miller <davem@davemloft.net>
14575
14576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14577
e47686e9
AS
145782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14579
d643bac1
AS
14580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14581 1 to avoid redefinition warning.
14582 (__USE_GNU): Don't define.
14583 (init_signaling_nan): Protoize.
14584
e47686e9
AS
14585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14586
b18decba
SP
145872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14588
fffb407f
SP
14589 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14591 (__cpymn): Likewise.
14592 (norm): Remove commented code.
14593 (denorm): Likewise.
14594 (__mp_dbl): Likewise.
14595 (__inv): Likewise.
14596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14597 (__cpymn): Likewise.
14598 (norm): Remove commented code.
14599 (denorm): Likewise.
14600 (__mp_dbl): Likewise.
14601 (__inv): Likewise.
14602
b18decba
SP
14603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14604 mp_no value for 1.0 and 2.0.
14605 (norm): Use RADIXI instead of radixi.d.
14606 (denorm): Likewise.
14607 (__mul): Use 0.0 instead of zero.d.
14608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14609 mp_no value for 1.0 and 2.0.
14610 (norm): Use RADIXI instead of radixi.d.
14611 (denorm): Likewise.
14612 (__mul): Use 0.0 instead of zero.d.
14613
cdc1c96f
JM
146142013-01-04 Joseph Myers <joseph@codesourcery.com>
14615
14616 [BZ #14994]
14617 * math/s_casinh.c (__casinh): Reduce finite argument to first
14618 quadrant then set signs of results at the end.
14619 * math/s_casinhf.c (__casinhf): Likewise.
14620 * math/s_casinhl.c (__casinhl): Likewise.
14621 * math/libm-test.inc (casin_test): Add more tests.
14622 (casinh_test): Likewise.
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14625
302913e1
SP
146262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14627
6420d207
SP
14628 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14629
a9e48ab4
SP
14630 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14631
b7837264
SP
14632 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14633 declarations.
14634 (denorm): Likewise.
14635 (__mp_dbl): Likewise.
14636 (__inv): Likewise.
14637
f8af25d2
SP
14638 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14639 and adjust the header comment.
14640
302913e1
SP
14641 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14642 variable name from declaration.
14643
5d7dd1ca
L
146442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14645
14646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14647 Initialize COMMON_CPUID_INDEX_7 element.
14648 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14649 (CPUID_RTM): Likewise.
14650 (HAS_RTM): Likewise.
14651 (COMMON_CPUID_INDEX_7): New enum.
14652
2f5f40f4
AS
146532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14654
14655 [BZ #14981]
14656 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14657 size is zero, record memory as freed.
14658
4056f4a0
AJ
146592013-01-03 Andreas Jaeger <aj@suse.de>
14660
14661 * po/ia.po: Add new Interlingua translation.
14662
ab15736f 146632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14664
14665 * locale/programs/localedef.c: Fix description of '--posix' flag.
14666
568035b7
JM
146672013-01-02 Joseph Myers <joseph@codesourcery.com>
14668
e6898b8d
JM
14669 * NEWS: Update dates in second copyright notice.
14670 * README: Update copyright dates in example.
14671 * manual/libc.texinfo: Update copyright dates.
14672 * scripts/test-installation.pl: Update copyright date in --version
14673 output.
14674
0e2f9562
JM
14675 * hurd/ctty-input.c: Fix copyright notice formatting.
14676 * hurd/ctty-output.c: Likewise.
14677 * hurd/dtable.c: Likewise.
14678 * hurd/hurd-raise.c: Likewise.
14679 * hurd/hurdprio.c: Likewise.
14680 * hurd/msgportdemux.c: Likewise.
14681 * misc/sys/file.h: Likewise.
14682 * misc/sys/ioctl.h: Likewise.
14683 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14684 * sysdeps/mach/hurd/chdir.c: Likewise.
14685 * sysdeps/mach/hurd/fchdir.c: Likewise.
14686 * sysdeps/mach/hurd/rename.c: Likewise.
14687 * sysdeps/mach/hurd/rmdir.c: Likewise.
14688 * sysdeps/mach/hurd/seekdir.c: Likewise.
14689 * sysdeps/mach/hurd/setsid.c: Likewise.
14690 * sysdeps/posix/wait3.c: Likewise.
14691
568035b7
JM
14692 * All files with FSF copyright notices: Update copyright dates
14693 using scripts/update-copyrights.
14694 * intl/plural.c: Regenerated.
14695 * locale/programs/charmap-kw.h: Likewise.
14696 * locale/programs/locfile-kw.h: Likewise.
14697
da08f647
SP
146982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14699
0f5477af
SP
14700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14701 four values.
14702
44e0d4c2
SP
14703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14704 calculation loop and add branch prediction.
14705
4d55b4e5
SP
14706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14707 check access beyond bounds of m1np.
14708
da08f647
SP
14709 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14710 MPTWO.
14711 (__inv): Remove local variable MPTWO to use the global
14712 constant.
14713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14715 variable MPTWO.
14716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14717 MP3HALFS static const.
14718
8e051029
DM
147192013-01-01 David S. Miller <davem@davemloft.net>
14720
14721 * po/ca.po: Update from translation team.
14722
f4cf5f2d
JM
147232013-01-01 Joseph Myers <joseph@codesourcery.com>
14724
14725 * scripts/update-copyrights: New file.
14726 * Makeconfig: Reformat copyright notice.
14727 * ctype/ctype.h: Likewise.
14728 * debug/swprintf_chk.c: Likewise.
14729 * elf/dl-cache.c: Likewise.
14730 * elf/dl-debug.c: Likewise.
14731 * elf/dl-object.c: Likewise.
14732 * grp/initgroups.c: Likewise.
14733 * hurd/Makefile: Likewise.
14734 * hurd/hurd/signal.h: Likewise.
14735 * hurd/hurdfault.c: Likewise.
14736 * hurd/hurdioctl.c: Likewise.
14737 * hurd/hurdlookup.c: Likewise.
14738 * hurd/intr-msg.c: Likewise.
14739 * iconv/gconv_open.c: Likewise.
14740 * libio/swprintf.c: Likewise.
14741 * locale/lc-ctype.c: Likewise.
14742 * locale/nl_langinfo.c: Likewise.
14743 * mach/Machrules: Likewise.
14744 * mach/Makefile: Likewise.
14745 * malloc/obstack.h: Likewise.
14746 * manual/Makefile: Likewise.
14747 * manual/tsort.awk: Likewise.
14748 * misc/bits/stab.def: Likewise.
14749 * nis/nis_print_group_entry.c: Likewise.
14750 * nis/nis_table.c: Likewise.
14751 * nis/nss_compat/compat-pwd.c: Likewise.
14752 * nis/nss_compat/compat-spwd.c: Likewise.
14753 * po/Makefile: Likewise.
14754 * posix/fnmatch.c: Likewise.
14755 * posix/regex.h: Likewise.
14756 * resolv/Makefile: Likewise.
14757 * resolv/nss_dns/dns-network.c: Likewise.
14758 * resolv/res_hconf.c: Likewise.
14759 * scripts/gen-sorted.awk: Likewise.
14760 * soft-fp/soft-fp.h: Likewise.
14761 * stdio-common/printf.h: Likewise.
14762 * stdlib/monetary.h: Likewise.
14763 * stdlib/random.c: Likewise.
14764 * stdlib/random_r.c: Likewise.
14765 * sysdeps/generic/Makefile: Likewise.
14766 * sysdeps/gnu/Makefile: Likewise.
14767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14795 * sysdeps/mach/hurd/errnos.awk: Likewise.
14796 * sysdeps/mach/hurd/fork.c: Likewise.
14797 * sysdeps/mach/hurd/getcwd.c: Likewise.
14798 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14799 * sysdeps/mach/hurd/mmap.c: Likewise.
14800 * sysdeps/mach/hurd/utimes.c: Likewise.
14801 * sysdeps/mach/hurd/xmknod.c: Likewise.
14802 * sysdeps/posix/profil.c: Likewise.
14803 * sysdeps/posix/readdir_r.c: Likewise.
14804 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14805 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14807 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14809 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14815 * sysdeps/pthread/lio_listio.c: Likewise.
14816 * sysdeps/sparc/dl-procinfo.h: Likewise.
14817 * sysdeps/unix/i386/sysdep.S: Likewise.
14818 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14819 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14820 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14821 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14823 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14824 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14825 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14826 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14827 * sysdeps/wordsize-32/divdi3.c: Likewise.
14828 * time/sys/time.h: Likewise.
14829 * wcsmbs/Makefile: Likewise.
14830
0549fbba
DM
148312013-01-01 David S. Miller <davem@davemloft.net>
14832
a141f1a7
DM
14833 * po/fr.po: Update from translation team.
14834
0549fbba
DM
14835 * catgets/gencat.c: Update copyright year.
14836 * csu/version.c: Likewise.
14837 * debug/catchsegv.sh: Likewise.
14838 * debug/pcprofiledump.c: Likewise.
14839 * debug/xtrace.sh: Likewise.
14840 * elf/ldconfig.c: Likewise.
14841 * elf/ldd.bash.in: Likewise.
14842 * elf/pldd.c: Likewise.
14843 * elf/sotruss.ksh: Likewise.
14844 * elf/sprof.c: Likewise.
14845 * iconv/iconv_prog.c: Likewise.
14846 * iconv/iconvconfig.c: Likewise.
14847 * locale/programs/locale.c: Likewise.
14848 * locale/programs/localedef.c: Likewise.
14849 * login/programs/pt_chown.c: Likewise.
14850 * malloc/memusage.sh: Likewise.
14851 * malloc/memusagestat.c: Likewise.
14852 * malloc/mtrace.pl: Likewise.
14853 * nscd/nscd.c: Likewise.
14854 * nss/getent.c: Likewise.
14855 * nss/makedb.c: Likewise.
14856 * posix/getconf.c: Likewise.
14857
18ea052c
SP
148582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14859
14860 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14861 numbers.
14862
9c89fca6
MF
148632012-12-30 Mike Frysinger <vapier@gentoo.org>
14864
14865 * math/bits/mathcalls.h (modf): Use __nonnull.
14866
085ec079
SP
148672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14868
14869 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14870 (split): Use macro CN instead of the bare value.
14871 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14872 could be used.
14873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14874 instead of the bare value.
14875 (power1): Likewise.
14876
6d9f97e1
SP
148772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14878
d63f73be
SP
14879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14880 __ATAN_TWOM.
14881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14882
6d9f97e1
SP
14883 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14884 their values.
14885 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14887 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14889
4c4febf5
AJ
148902012-12-28 Andreas Jaeger <aj@suse.de>
14891
af5843ef
AJ
14892 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14893 values are from Linux 3.7.
14894
4c4febf5
AJ
14895 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14896 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14897
99136f82
SP
148982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14899
2f216c3c 14900 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14901 TRUE case.
14902
99136f82
SP
14903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14904 (norm): Likewise.
14905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14906 variables with preprocessor constants.
14907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14908 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14910
7fffbdff
BH
149112012-12-27 Bruno Haible <bruno@clisp.org>
14912
14913 [BZ #14317]
14914 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14915 only if needed.
14916
b76eb5f0
SP
149172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14918
31a7fe5c
SP
14919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14920 and use variable directly.
14921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14922
b76eb5f0
SP
14923 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14924 MPONE.
14925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14927 variable MPONE.
14928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14930 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14931 include directive. Remove local variable MPONE.
14932 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14935
2c8bfe7d
DM
149362012-12-25 David S. Miller <davem@davemloft.net>
14937
14938 * version.h (RELEASE): Set to "development".
14939 (VERSION): Set to "2.17.90".
14940 * NEWS: Add 2.18 section.
14941
147d03b0
DM
149422012-12-21 David S. Miller <davem@davemloft.net>
14943
14944 * po/hr.po: Update from translation team.
14945
a8ebb2b9
AK
149462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14947
14948 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14949
95b4f1b6
SE
149502012-12-19 Steve Ellcey <sellcey@mips.com>
14951
b2d94007 14952 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14953
cedb2a90
MS
149542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14955
14956 * manual/contrib.texi (Contributors): Spelling correction.
14957
bbf527d6
DM
149582012-12-15 David S. Miller <davem@davemloft.net>
14959
14960 * po/ru.po: Update from translation team.
14961
bc38c906
DM
149622012-12-13 David S. Miller <davem@davemloft.net>
14963
85429b1a
DM
14964 * NEWS: Mention IFUNC testsuite enhancements.
14965
d283e353
DM
14966 * po/pl.po: Update from translation team.
14967 * po/bg.po: Likewise.
14968
bc38c906
DM
14969 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14970 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14971
a181b0d7
DM
149722012-12-11 David S. Miller <davem@davemloft.net>
14973
4641d57e
DM
14974 * po/sv.po: Update from translation team.
14975
f7bc6495
DM
14976 * po/vi.po: Update from translation team.
14977
6fc9048f
DM
14978 * po/cs.po: Update from translation team.
14979
a181b0d7
DM
14980 * po/de.po: Update from translation team.
14981 * po/eo.po: Likewise.
14982 * po/nl.po: Likewise.
14983
f70bfe80
SP
149842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14985
3c8b4190
SP
14986 [BZ #14246]
14987 * manual/argp.texi (Argp Helper Functions): Move node to follow
14988 Argp Parsing State.
14989
f70bfe80
SP
14990 [BZ #14872]
14991 * manual/conf.texi (Limits on File System Capacity): Mention if
14992 terminating null is included in the max size.
14993
188f0adf
AJ
149942012-12-10 Andreas Jaeger <aj@suse.de>
14995
14996 * po/cs.po: Update from translation team.
14997
56e7d3ad
SP
149982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14999
15000 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15001 void pointer and cast to uintptr_t.
15002 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15003 path.
15004 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15005 * sysdeps/s390/s390-64/memset.S: Likewise.
15006
76f2d2ea 150072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15008
15009 [BZ #14833]
15010 * menual/message.texi (Message Translation): Fix typos.
15011 (Helper programs for gettext): Likewise.
15012
67cbf9a2
AS
150132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15014
15015 [BZ #14898]
15016 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15017 Change to -1.
15018
682d0e9a
DM
150192012-12-07 David S. Miller <davem@davemloft.net>
15020
15021 * po/libc.pot: Update.
15022
573cd484
RH
150232012-12-07 Richard Henderson <rth@redhat.com>
15024
7e9da188 15025 [BZ #10114]
573cd484
RH
15026 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15027 normal/normal case to before the switch.
15028 (_FP_DIV): Likewise.
15029
e933a943
MF
150302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15031 Mike Frysinger <vapier@gentoo.org>
15032
15033 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15034 check for __NR_fadvise64_64.
15035
82123268
CM
150362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15037
15038 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15039 0, not just to plain "0" as a statement.
15040 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15041 with cw.
15042
d9814526
JM
150432012-12-06 Joseph Myers <joseph@codesourcery.com>
15044
15045 * NEWS: Use sourceware.org in Bugzilla URL.
15046
7728c574
SP
150472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15048
f16946dd
SP
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15051
5704bbcb
SP
15052 * stdio-common/tst-put-error.c (do_test): Add newline to the
15053 padded test to ensure flush.
15054
17aa0516
JL
150552012-12-05 Jeff Law <law@redhat.com>
15056
15057 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15058
363313b5
JM
150592012-12-05 Joseph Myers <joseph@codesourcery.com>
15060
effbd42a
JM
15061 * README: Don't refer to ports add-on as distributed separately.
15062 Mention AArch64 in list of systems supported in the ports add-on.
15063
87600365
JM
15064 * LICENSES: Add more non-FSF copyright and license notices.
15065
a0d7066a
JM
15066 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15067 ((unused)).
15068
66ca5a5b
JM
15069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15070
363313b5
JM
15071 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15072 10000 as width of padded output.
15073
b37984ad
JM
150742012-12-04 Joseph Myers <joseph@codesourcery.com>
15075
9003570a
JM
15076 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15077
b37984ad
JM
15078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15079 variable LX with __attribute__ ((unused)).
15080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15081 Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15085 with __attribute__ ((unused)).
15086
c8df52ec
DM
150872012-12-04 David S. Miller <davem@abraco.davemloft.net>
15088
15089 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15090
b3b099af
JM
150912012-12-04 Joseph Myers <joseph@codesourcery.com>
15092
c33aa6e3
JM
15093 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15094 (CFLAGS-nldbl-acos.c): New variable.
15095 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15096 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15097 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15098 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15099 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15100 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15101 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15102 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15103 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15109 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15111 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15112 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15113 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15114 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15115 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15116 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15192
20f0018d
JM
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15194 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15195
b3b099af
JM
15196 [BZ #14914]
15197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15198 whole low double instead of just low 47 bits when splitting values
15199 into two parts.
15200
029264d1
AM
152012012-12-03 Allan McRae <allan@archlinux.org>
15202
15203 * manual/stdio.texi (Predefined Printf Handlers): Remove
15204 @hsep and @vsep usage.
15205
c9d6789e
MF
152062012-12-03 Mike Frysinger <vapier@gentoo.org>
15207
15208 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15209 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15210
4b7634a5
JL
152112012-12-03 Jeff Law <law@redhat.com>
15212
15213 * time/sys/time.h (settimeofday): Do not mark TV argument
15214 as __nonnull.
15215
eb6cbd24
MF
152162012-12-01 Mike Frysinger <vapier@gentoo.org>
15217
15218 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15219 when currently writing and seek to current position when not.
15220 * libio/Makefile (tests): Remove bug-fclose1.
15221 * libio/bug-fclose1.c: Delete.
15222
f638872a
JM
152232012-12-01 Joseph Myers <joseph@codesourcery.com>
15224
15225 * manual/arith.texi (feenableexcept): Fix typo.
15226 (fedisableexcept): Likewise.
15227
48085d14
RM
152282012-11-30 Roland McGrath <roland@hack.frob.com>
15229
15230 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15231 second, differently-typed declaration, rather than a cast.
15232
1a538b9f
SP
152332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15234
15235 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15236 * include/rpc/svc.h: ... here.
15237
d07f2ff1 152382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15239
15240 [BZ #13013]
15241 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15242 depending n and resplen2 to catch cases where answer
15243 equals answerp2.
15244
c93ec1f0
CD
152452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15246
15247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15248 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15249
37db69de
MF
152502012-11-29 Mike Frysinger <vapier@gentoo.org>
15251
15252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15253
e10c4e4f
RM
152542012-11-29 Roland McGrath <roland@hack.frob.com>
15255
15256 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15257
2af1b328
JL
152582012-11-28 Jeff Law <law@redhat.com>
15259
15260 [BZ #13761]
15261 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15262 dataset_temporary. Track alloca usage into alloca_used.
15263 If dataset is large allocate and release it via malloc/free.
15264
111db5b1
FW
152652012-06-04 Florian Weimer <fweimer@redhat.com>
15266
f06cc227 15267 [BZ #14197]
111db5b1
FW
15268 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15269
dd694abd
DM
152702012-11-28 David S. Miller <davem@davemloft.net>
15271
15272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15273
9984dd01
JM
152742012-11-28 Joseph Myers <joseph@codesourcery.com>
15275
15276 [BZ #14803]
15277 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15278 of pi/2 rounded to nearest to 64 bits.
15279 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15280 nearest to 64 bits.
15281 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15282 bits.
15283
14bc93a9
JL
152842012-11-28 Jeff Law <law@redhat.com>
15285 Martin Osvald <mosvald@redhat.com>
15286
15287 [BZ #14889]
15288 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15289 * sunrpc/svc.c: Include time.h.
15290 (__svc_accept_failed): New function.
15291 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15292 any reason other than EINTR, call __svc_accept_failed.
15293 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15294 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15295
e3c6aa3a
AS
152962012-11-28 Andreas Schwab <schwab@suse.de>
15297
15298 * scripts/abilist.awk: Also handle indirect functions in .opd
15299 section.
15300
1bead169
JM
153012012-11-28 Joseph Myers <joseph@codesourcery.com>
15302
15303 [BZ #13881]
15304 * sysdeps/x86/fpu/powl_helper.c: New file.
15305 * sysdeps/x86/fpu/Makefile: Likewise.
15306 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15307 (p3): New object.
15308 (__ieee754_powl): Use __powl_helper for finite arguments except
15309 integer exponents below 8.
15310 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15311 (p3): New object.
15312 (__ieee754_powl): Use __powl_helper for finite arguments except
15313 integer exponents below 8.
15314 * math/libm-test.inc (pow_test): Add more tests and enable some
15315 previously disabled tests.
15316 * sysdeps/i386/fpu/libm-test-ulps: Update.
15317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15318
0817d63d
SP
153192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15320 Carlos O'Donell <carlos_odonell@mentor.com>
15321
15322 * nss/makedb.c (is_prime): Assert that input is odd and greater
15323 than 4. Note that fact in a comment too.
15324 (next_prime): Add 4 to input.
15325
de2fd463
SP
153262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15327
15328 [BZ #11741]
15329 * libio/Makefile (tests): Add test case tst-fwrite-error.
15330 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15331 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15332 * libio/tst-fwrite-error.c: New test case.
15333
c515fb51
L
153342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15335
15336 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15337 before casting to void *.
15338 * include/libc-internal.h (__pointer_type): New macro.
15339 (__integer_if_pointer_type_sub): Likewise.
15340 (__integer_if_pointer_type): Likewise.
15341 (cast_to_integer): Likewise.
15342 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15343 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15344 before casting to atomic64_t.
15345 (atomic_exchange_acq): Likewise.
15346 (__arch_exchange_and_add_body): Likewise.
15347 (__arch_add_body): Likewise.
15348 (atomic_add_negative): Likewise.
15349 (atomic_add_zero): Likewise.
15350
4cf77aa9
JM
153512012-11-26 Joseph Myers <joseph@codesourcery.com>
15352
15353 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15354 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15355 (add_fdes): Likewise.
15356 (linear_search_fdes): Likewise.
15357 (binary_search_unencoded_fdes): Likewise.
15358
d260b3b4
AS
153592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15360
15361 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15362
67060746
AC
153632012-11-24 Adam Conrad <adconrad@0c3.net>
15364
15365 * configure.in: Autodetect C++ header directories.
15366 * configure: Regenerated.
15367
800938a1
MF
153682012-11-23 Mike Frysinger <vapier@gentoo.org>
15369
15370 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15371
4e6e34e6
AS
153722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15373
15374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15375
7c7feb47
JM
153762012-11-22 Joseph Myers <joseph@codesourcery.com>
15377
7184dcdf
JM
15378 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15379 LDBL_MANT_DIG == 106]: Disable some tests.
15380 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15381 Likewise.
15382 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15383 Likewise.
15384
0a42601f
JM
15385 [BZ #14871]
15386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15387 input for small inputs. Return +/- pi/2 for large inputs.
15388 * math/libm-test.inc (atan_test): Add more tests.
15389
79c9b9fe
JM
15390 * sysdeps/generic/unwind-dw2-fde-glibc.c
15391 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15392 __attribute__ ((unused)).
15393
c60d3bf2
JM
15394 [BZ #14645]
15395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15396 x * y if x and y are nonzero and z is zero.
15397
ef1e0867
JM
15398 [BZ #14811]
15399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15400 nonzero exponents with absolute value below 0x1p-117 to +/-
15401 0x1p-117.
15402
1468ded3
JM
15403 [BZ #14869]
15404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15405 up arguments below 2**-450, not just those below 2**-500.
15406 * math/libm-test.inc (hypot_test): Add another test.
15407
8e27e3cc
JM
15408 [BZ #14868]
15409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15410 Return a+b for ratio over 2**120, not 2**60.
15411 * math/libm-test.inc (hypot_test): Add another test.
15412
c9c0279b
JM
15413 * math/libm-test.inc (clog_test): Use
15414 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15415 (clog10_test): Likewise.
15416
7c7feb47
JM
15417 [BZ #6778]
15418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15419
fff1530e
AS
154202012-11-22 Andreas Schwab <schwab@suse.de>
15421
15422 * sysdeps/i386/fpu/libm-test-ulps: Update.
15423
94558d30
PT
154242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15425
15426 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15427 printf output with newline.
15428
7e1be741
L
154292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15430
6bfea974
L
15431 [BZ #14865]
15432 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15433 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15434 -z nodlopen, -z initfirst and -z execstack support.
15435 * configure: Regenerated.
15436
7e1be741
L
15437 * elf/elf.h (DF_1_NODIRECT): New macro.
15438 (DF_1_IGNMULDEF): Likewise.
15439 (DF_1_NOKSYMS): Likewise.
15440 (DF_1_NOHDR): Likewise.
15441 (DF_1_EDITED): Likewise.
15442 (DF_1_NORELOC): Likewise.
15443 (DF_1_SYMINTPOSE): Likewise.
15444 (DF_1_GLOBAUDIT): Likewise.
15445 (DF_1_SINGLETON): Likewise.
15446 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15447 DT_1_SUPPORTED_MASK bits.
15448 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15449
105ce2ce
CD
154502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15451
15452 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15453
123be9de
TS
154542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15455
d072f3f7
TS
15456 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15457 macro.
15458
123be9de
TS
15459 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15460 (sendmmsg): Move declarations...
15461 * socket/sys/socket.h: ... here.
15462 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15463 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15464 include it from...
15465 * socket/recvmmsg.c: ... this new file.
15466 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15467 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15468 definition of __sendmmsg hidden.
15469 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15470 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15471 Move ENOSYS stub into and include it from...
15472 * socket/sendmmsg.c: ... this new file.
15473 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15474 (sysdep_routines): Move recvmmsg and sendmmsg...
15475 * socket/Makefile (routines): ... here.
15476 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15477 (GLIBC_PRIVATE): Add __sendmmsg.
15478 * include/sys/socket.h (__sendmmsg): Add declarations.
15479 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15480 sendmmsg.
15481
cf9a5d18
JM
154822012-11-20 Joseph Myers <joseph@codesourcery.com>
15483
15484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15485 variable I1 with __attribute__ ((unused)).
15486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15487
ecd4caf9
JM
154882012-11-19 Joseph Myers <joseph@codesourcery.com>
15489
be14d48f
JM
15490 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15491 DUMMY variables with __attribute__ ((unused)).
15492
ecd4caf9
JM
15493 * bits/byteswap.h: Include <bits/types.h>.
15494 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15495
986cab95
PT
154962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15497
15498 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15499 string_t. Do not manually set errno.
15500 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15501 length with __strnlen. Make sure to both set errno and return it on
15502 failure.
15503
6d33cc9d
DM
155042012-11-19 David S. Miller <davem@davemloft.net>
15505
15506 With help from Joseph Myers.
15507 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15508 very large arguments properly.
15509 * math/libm-test.inc (atan_test): New tests.
15510 (atan2_test): New tests.
15511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15513
ee663277
JM
155142012-11-19 Joseph Myers <joseph@codesourcery.com>
15515
877f2d8e
JM
15516 [BZ #14856]
15517 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15518 Define to 3.
15519
116fc08a
JM
15520 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15521 [POSIX] (EADDRNOTAVAIL): Likewise.
15522 [POSIX] (EAFNOSUPPORT): Likewise.
15523 [POSIX] (EALREADY): Likewise.
15524 [POSIX] (ECONNABORTED): Likewise.
15525 [POSIX] (ECONNREFUSED): Likewise.
15526 [POSIX] (ECONNRESET): Likewise.
15527 [POSIX] (EDESTADDRREQ): Likewise.
15528 [POSIX] (EDQUOT): Likewise.
15529 [POSIX] (EHOSTUNREACH): Likewise.
15530 [POSIX] (EIDRM): Likewise.
15531 [POSIX] (EISCONN): Likewise.
15532 [POSIX] (ELOOP): Likewise.
15533 [POSIX] (EMULTIHOP): Likewise.
15534 [POSIX] (ENETDOWN): Likewise.
15535 [POSIX] (ENETUNREACH): Likewise.
15536 [POSIX] (ENOBUFS): Likewise.
15537 [POSIX] (ENODATA): Likewise.
15538 [POSIX] (ENOLINK): Likewise.
15539 [POSIX] (ENOMSG): Likewise.
15540 [POSIX] (ENOPROTOOPT): Likewise.
15541 [POSIX] (ENOSR): Likewise.
15542 [POSIX] (ENOSTR): Likewise.
15543 [POSIX] (ENOTCONN): Likewise.
15544 [POSIX] (ENOTSOCK): Likewise.
15545 [POSIX] (EOPNOTSUPP): Likewise.
15546 [POSIX] (EOVERFLOW): Likewise.
15547 [POSIX] (EPROTO): Likewise.
15548 [POSIX] (EPROTONOSUPPORT): Likewise.
15549 [POSIX] (EPROTOTYPE): Likewise.
15550 [POSIX] (ESTALE): Likewise.
15551 [POSIX] (ETIME): Likewise.
15552 [POSIX] (ETXTBSY): Likewise.
15553 [POSIX] (EWOULDBLOCK): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15555 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15556 [POSIX] (SEEK_CUR): Likewise.
15557 [POSIX] (SEEK_END): Likewise.
15558 [POSIX || UNIX98] (mode_t): Do not require.
15559 [POSIX] (off_t): Likewise.
15560 [POSIX] (pid_t): Likewise.
15561 [POSIX] (sys/stat.h): Do not allow header.
15562 [POSIX] (unistd.h): Likewise.
15563 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15564 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15565 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15566 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15567 require.
15568 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15569 sigevent): Specify elements.
15570 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15571 entry.
15572 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15573 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15574
a483863f
JM
15575 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15576 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15577 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15578 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15579 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15580 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15581 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15583 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15584 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15585 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15586 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15587 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15589 Likewise.
15590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15591 Likewise.
15592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15593 Likewise.
15594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15595 Likewise.
15596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15601 Specify lower bound on value.
15602 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15603 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15608 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15609 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15610 value.
15611 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15612 as optional.
15613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15614 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15615 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15616 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15617 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15620 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15622 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15623 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15629 entry.
15630 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15631 optional.
15632 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15634 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15638 Likewise.
15639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15644 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15646 as optional.
15647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15651 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15652 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15653 specify as optional.
15654 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15657 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15658 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15659 [XPG3] (NL_LANGMAX): Likewise.
15660 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15661 [POSIX || XPG3] (NL_NMAX): Likewise.
15662 [POSIX || XPG3] (NL_SETMAX): Likewise.
15663 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15664 [XPG3] (NZERO): Likewise.
15665 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15666 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15667 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15668 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15669 (REG_ERANGE): Expect.
15670 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15671 optional-constant.
15672 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15673 Use (void) in prototype.
15674 [POSIX] (*_t): Allow.
15675 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15676 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15677 (WRDE_BADVAL): Expect.
15678
5ba924e3
JM
15679 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15680 expect.
15681 [XPG3 || XPG4] (O_RSYNC): Likewise.
15682 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15683 Likewise.
15684 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15685 [XPG3 || XPG4] (sigqueue): Likewise.
15686 [XPG3 || XPG4] (sigtimedwait): Likewise.
15687 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15688 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15689 [XPG3 || XPG4] (vsnprintf): Likewise.
15690 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15691 Likewise.
15692 [XPG3 || XPG4] (blksize_t): Likewise.
15693 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15694 Likewise.
15695 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15696 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15697 [XPG3 || XPG4] (struct itimerspec): Likewise.
15698 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15699 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15700 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15701 [XPG3 || XPG4] (clockid_t): Likewise.
15702 [XPG3 || XPG4] (timer_t): Likewise.
15703 [XPG3 || XPG4] (clock_getres): Likewise.
15704 [XPG3 || XPG4] (clock_gettime): Likewise.
15705 [XPG3 || XPG4] (clock_settime): Likewise.
15706 [XPG3 || XPG4] (nanosleep): Likewise.
15707 [XPG3 || XPG4] (timer_create): Likewise.
15708 [XPG3 || XPG4] (timer_delete): Likewise.
15709 [XPG3 || XPG4] (timer_gettime): Likewise.
15710 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15711 [XPG3 || XPG4] (timer_settime): Likewise.
15712 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15713 [XPG3 || XPG4] (getlogin_r): Likewise.
15714 [XPG3 || XPG4] (pread): Likewise.
15715 [XPG3 || XPG4] (pthread_atfork): Likewise.
15716 [XPG3 || XPG4] (pwrite): Likewise.
15717
ee663277
JM
15718 [BZ #14835]
15719 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15720 <bits/siginfo.h>.
15721
942caa16
PT
157222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15723
e19af380
PT
15724 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15725 finalizing MALLSTREAM.
15726
942caa16
PT
15727 * sysdeps/mach/hurd/syncfs.c: New file.
15728
cfde9b46
SP
157292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15730
15731 [BZ #14719]
15732 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15733 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15734 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15735 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15736 (_nss_dns_gethostbyname4_r): Likewise.
15737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15738 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15739
f6da27e5
PH
157402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15741
15742 [BZ #13763]
15743 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15744
6665d4a2
SM
157452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15746
1f51ee92
SM
15747 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15748 * elf/cache.c (print_entry): Print ",AArch64" for
15749 FLAG_AARCH64_LIB64
15750
6665d4a2
SM
15751 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15752 * elf/cache.c (print_entry): Print ",hard-float" for
15753 FLAG_ARM_LIBHF.
15754
05b227bd
DM
157552012-11-18 David S. Miller <davem@davemloft.net>
15756
15757 With help from Joseph Myers.
15758 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15759 cutoff to 2**-13.
15760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15761 cutoff to 2**-25.
15762 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15763 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15764 small.
15765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15766 * math/libm-test.inc (y0_test): New tests.
15767 (y1_test): New tests.
15768 * sysdeps/i386/fpu/libm-test-ulps: Update.
15769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15771
786b0b67
AS
157722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15773
15774 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15775 64-bit targets.
15776 * configure: Regenerated.
15777
8e18b86d
DM
157782012-11-17 David S. Miller <davem@davemloft.net>
15779
15780 [BZ #14811]
15781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15782 nonzero exponents with absolute value below 0x1p-128 to +/-
15783 0x1p-128.
15784
531f1ae0
JM
157852012-11-17 Joseph Myers <joseph@codesourcery.com>
15786
12df29e2
JM
15787 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15788
150dc1a0
JM
15789 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15790
531f1ae0
JM
15791 * posix/getconf-speclist.c: New file.
15792 * posix/posix-envs.def: Likewise.
15793 * posix/confstr.c (START_ENV_GROUP): New macro.
15794 (END_ENV_GROUP): Likewise.
15795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15796 (KNOWN_PRESENT_ENV_STRING): Likewise.
15797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15798 (UNKNOWN_ENVIRONMENT): Likewise.
15799 (confstr): Include posix-envs.def instead of handling
15800 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15801 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15802 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15803 (END_ENV_GROUP): Likewise.
15804 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15805 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15806 (UNKNOWN_ENVIRONMENT): Likewise.
15807 (__sysconf): Include posix-envs.def instead of handling associated
15808 cases directly here.
15809 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15810 preprocessing getconf-speclist.c rather than running getconf or
15811 generating empty file.
15812
a93f9cbc
PT
158132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15814
15815 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15816
d64d9f87
AL
158172012-11-16 Andrej Lajovic <natrij@gmail.com>
15818
15819 [BZ #14672]
15820 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15821
447885eb
DM
158222012-11-16 David S. Miller <davem@davemloft.net>
15823
15824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15825 smaller than LDBL_EPSILON/2.0L, just return xm1.
15826
bcbf9830
L
158272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15828
15829 * elf/tst-array1.c (init): Set constructor priority to 1000.
15830 (fini): Set destructor priority to 1000.
15831 * elf/tst-array2dep.c: Likewise.
15832
2b766585
SP
158332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15834
15835 [BZ #11741]
15836 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15837 (_IO_new_file_xsputn): Also return EOF if none of the input
15838 data was written when overflow failed.
15839 * libio/iopadn.c (_IO_padn): Likewise.
15840 * libio/iowpadn.c (_IO_wpadn): Likewise.
15841 * stdio-common/tst-put-error.c: Add copyright notice.
15842 (do_test): Add case for printing padded string.
15843 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15844 _IO_padn returned error.
15845 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15846 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15847 return EOF.
15848
b1848fde
SP
158492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15850
15851 * libio/libioP.h: Add comment note that the references to C++
15852 bits are now obsolete.
15853
2fd89785
MS
158542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15855
15856 * math/libm-test.inc (check_complex): Use asprintf.
15857
e3ea5409
JM
158582012-11-14 Joseph Myers <joseph@codesourcery.com>
15859
15860 * debug/pcprofiledump.c (print_version): Update copyright year.
15861 * malloc/memusagestat.c (print_version): Likewise.
15862
2e64d265
L
158632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15864
15865 [BZ #14831]
15866 * elf/Makefile (tests): Add tst-audit8.
15867 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15868 ($(objpfx)tst-audit8.out): New target.
15869 (tst-audit8-ENV): New variable.
15870 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15871 audit if l_reloc_result is NULL.
15872 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15873 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15874 * elf/tst-audit8.c: New file.
15875
c485e4d2
MS
158762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15877
15878 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15879 * misc/Makefile (CFLAGS-select.c): Define.
15880 * posix/Makefile (CFLAGS-pause.c): Define.
15881
3a0d900a
DM
158822012-11-13 David S. Miller <davem@davemloft.net>
15883
15884 * crypt/Makefile: Move test targets after toplevel Rules
15885 inclusion. Grab any necessary sysdep routines when linking.
15886 * crypt/md5.c (md5_process_block): Remove define, we will always
15887 name it __md5_process_block.
15888 (md5_finish_ctx): Update md5_process_block call.
15889 (md5_stream): Likewise.
15890 (md5_process_bytes): Likewise.
15891 (md5_process_block): Rename to __md5_process_block and move to ...
15892 * crypt/md5-block.c: ... here.
15893 * crypt/sha256.c (sha256_process_block): Move to ...
15894 * crypt/sha256-block.c: ... here.
15895 * crypt/sha512.c (sha512_process_block): Move to ...
15896 * crypt/sha512-block.c: ... here.
15897 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15898 path.
15899 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15900 * sysdeps/sparc/sparc64/multiarch/Makefile
15901 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15902 crypt subdir.
15903 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15905 multiarch changes.
15906 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15907 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15908 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15909 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15910 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15911 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15912 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15913 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15915 file.
15916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15918 file.
15919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15920
8ca89318
JM
159212012-11-13 Joseph Myers <joseph@codesourcery.com>
15922
e27d476a
JM
15923 * timezone/tzselect.ksh: Update from tzcode git revision
15924 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15925 * timezone/zdump.c: Likewise.
15926 * timezone/zic.c: Likewise.
15927 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15928 in TZVERSION setting, not $(PKGVERSION).
15929 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15930 REPORT_BUGS_TO settings.
15931
8ca89318
JM
15932 [BZ #14838]
15933 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15934 macro.
15935
47594329
MS
159362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15937
15938 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15939 detection to immediately after _FP_ROUND().
15940 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15941 bits are 0.
15942
640ac3f1
DM
159432012-11-11 David S. Miller <davem@davemloft.net>
15944
15945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15946 inttypes.h
15947 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15948 __close rather than their public counterparts.
15949
3d2577bb
JM
159502012-11-10 Joseph Myers <joseph@codesourcery.com>
15951
15952 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15953 file.
15954 [UNIX98] (sem_timedwait): Do not expect.
15955 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15956 [XPG4 || UNIX98] (sockatmark): Do not expect.
15957 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15958 (clock_getcpuclockid): Do not expect.
15959 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15960 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15961 Do not expect.
15962 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15963 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15964 [UNIX98] (vwscanf): Likewise.
15965 [UNIX98] (vswscanf): Likewise.
15966
fb1ae1ee
JM
159672012-11-09 Joseph Myers <joseph@codesourcery.com>
15968
9ec6f8bd
JM
15969 * timezone/version.h: Remove file.
15970 * timezone/README: Do not refer to version.h.
15971 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15972 $(objpfx)version.h.
15973 ($(objpfx)zdump.o): Likewise.
c3f81911 15974 ($(objpfx)version.h): New target.
9ec6f8bd 15975
0aa8f8a1
JM
15976 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15977 2012i.
15978 * timezone/README: Don't mention modification to tzselect.ksh.
15979 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15980 work on unmodified tzselect.ksh. Substitute version numbers in
15981 tzselect.ksh.
15982
4e87147f
JM
15983 * Makefile (format-me): Remove.
15984 (INSTALL): Adjust indentation. Use commands directly instead of
15985 using $(format-me).
15986
8b748aed
JM
15987 * aclocal.m4 (ACX_PKGVERSION): New macro.
15988 (ACX_BUGURL): Likewise.
15989 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15990 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15991 (REPORT_BUGS_TO): Likewise.
15992 * configure: Regenerated.
15993 * config.h.in (PKGVERSION): New macro.
15994 (REPORT_BUGS_TO): Likewise.
15995 * config.make.in (PKGVERSION): New variable.
15996 (PKGVERSION_TEXI): Likewise.
15997 (REPORT_BUGS_TO): Likewise.
15998 (REPORT_BUGS_TEXI): Likewise.
15999 * Makefile (format-me): Use -I$(common-objpfx)manual.
16000 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16001 ($(common-objpfx)manual/%): New target.
16002 (manual/%): Remove target.
16003 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16004 (print_version): Use PKGVERSION.
16005 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16006 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16007 and REPORT_BUGS_TO.
16008 ($(objpfx)xtrace): Likewise.
16009 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16010 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16011 (print_version): Use PKGVERSION.
16012 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16013 (do_version): Use PKGVERSION.
16014 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16015 REPORT_BUGS_TO.
16016 (common-ldd-rewrite): Likewise.
16017 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16018 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16019 (print_version): Use PKGVERSION.
16020 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16021 * elf/pldd.c (argp_program_bug_address): Remove variable.
16022 (more_help): New function.
16023 (argp): Use more_help.
16024 (print_version): Use PKGVERSION.
16025 * elf/sln.c (main): Use PKGVERSION.
16026 (usage): Use REPORT_BUGS_TO.
16027 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16028 (top level): Use PKGVERSION.
16029 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16030 (print_version): Use PKGVERSION.
16031 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16032 (print_version): Use PKGVERSION.
16033 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16034 (print_version): Use PKGVERSION.
16035 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16036 (print_version): Use PKGVERSION.
16037 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16038 (print_version): Use PKGVERSION.
16039 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16040 (print_version): Use PKGVERSION.
16041 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16042 and BUGURL.
16043 ($(objpfx)memusage): Likewise.
16044 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16045 (do_version): Use PKGVERSION.
16046 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16047 (print_version): Use PKGVERSION.
16048 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16049 ($PKGVERSION): New variable.
16050 ($REPORT_BUGS_TO): Likewise.
16051 (usage): Use $REPORT_BUGS_TO.
16052 (top level): Use $PKGVERSION.
16053 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16054 ($(objpfx)pkgvers.texi): New rule.
16055 ($(objpfx)stamp-pkgvers): Likewise.
16056 * manual/install.texi: Include pkgvers.texi.
16057 (--with-pkgversion): Document new configure option.
16058 (--with-bugurl): Likewise.
16059 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16060 than necessarily for this particular distribution. Use
16061 REPORT_BUGS_TO for where to report bugs.
16062 * INSTALL: Regenerated.
16063 * manual/libc.texinfo: Include pkgvers.texi.
16064 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16065 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16066 (print_version): Use PKGVERSION.
16067 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16068 (print_version): Use PKGVERSION.
16069 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16070 (print_version): Use PKGVERSION.
16071 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16072 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16073 macro.
16074 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16075 (print_version): Use PKGVERSION.
16076 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16077 (print_version): Use PKGVERSION.
16078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16079 and PKGVERSION.
16080
92e4b6a9
JM
16081 * timezone/checktab.awk: Update from tzcode 2012i.
16082 * timezone/ialloc.c: Likewise.
16083 * timezone/private.h: Likewise.
16084 * timezone/scheck.c: Likewise.
16085 * timezone/tzfile.h: Likewise.
16086 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16087 (TZVERSION): Hardcode tzcode version number.
16088 * timezone/zdump.c: Update from tzcode 2012i.
16089 * timezone/zic.c: Likewise.
16090 * timezone/version.h: New file.
16091 * timezone/README: Describe version.h. Update upstream location.
16092
9bde902c
JM
16093 [BZ #14824]
16094 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16095 (mktemp): Enable declaration.
16096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16100 Likewise.
16101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16102 Likewise.
16103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16104 Likewise.
16105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16106 Likewise.
16107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16108 Likewise.
16109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16110 Likewise.
16111
fb1ae1ee
JM
16112 [BZ #14821]
16113 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16114 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16115 for copies of such integer values.
16116 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16117 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16118
2c1adbcb
AJ
161192012-11-09 Andreas Jaeger <aj@suse.de>
16120
16121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16122 definitions and declarations that are provided by
16123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16124
d0f8457e
AK
161252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16126
3a235abb 16127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16128 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16129 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16130 definition.
16131
57241e26
MS
161322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16133
16134 * elf/elf.h: Update comment before AArch64 relocations.
16135
60e8270d
DM
161362012-11-07 David S. Miller <davem@davemloft.net>
16137
16138 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16139 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16140 (__start_context): Declare.
16141 (__makecontext_ret): Delete.
16142 (__makecontext): Hook up __start_context instead of
16143 __makecontext_ret.
16144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16145 (sysdep_routines): Add __start_context when in stdlib.
16146
0fbb0fbc
JM
161472012-11-07 Joseph Myers <joseph@codesourcery.com>
16148
16149 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16150 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16151 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16152 hardcoded "nm".
16153 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16154 (READELF): New variable. Use it instead of hardcoded "readelf".
16155
eb48db7e
L
161562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16157
16158 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16159 * sysdeps/x86/Makefile: Here.
16160 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16161 * sysdeps/x86/tst-xmmymm.sh: This.
16162
05bcf62a
JM
161632012-11-07 Joseph Myers <joseph@codesourcery.com>
16164
c4b6cf53
JM
16165 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16166 expectations.
16167 [UNIX98] (pthread_barrier_t): Do not expect.
16168 [UNIX98] (pthread_barrierattr_t): Likewise.
16169 [UNIX98] (pthread_spinlock_t): Likewise.
16170 [UNIX98] (pthread_barrier_destroy): Likewise.
16171 [UNIX98] (pthread_barrier_init): Likewise.
16172 [UNIX98] (pthread_barrier_wait): Likewise.
16173 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16174 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16175 [UNIX98] (pthread_barrierattr_init): Likewise.
16176 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16177 [UNIX98] (pthread_getcpuclockid): Likewise.
16178 [UNIX98] (pthread_mutex_timedlock): Likewise.
16179 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16180 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16181 [UNIX98] (pthread_sigmask): Likewise.
16182 [UNIX98] (pthread_spin_destroy): Likewise.
16183 [UNIX98] (pthread_spin_init): Likewise.
16184 [UNIX98] (pthread_spin_lock): Likewise.
16185 [UNIX98] (pthread_spin_trylock): Likewise.
16186 [UNIX98] (pthread_spin_unlock): Likewise.
16187 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16188 Do not expect.
16189 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16191 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16192 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16193 [XPG3 || XPG4] (pthread_key_t): Likewise.
16194 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16195 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16196 [XPG3 || XPG4] (pthread_once_t): Likewise.
16197 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16198 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16199 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16200 [XPG3 || XPG4] (pthread_t): Likewise.
16201
cbe6e120
JM
16202 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16203 not expect.
16204 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16205
1b126443
JM
16206 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16207 Change function return type to int.
16208
b961a573
JM
16209 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16210 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16211 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16212 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16213 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16214 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16215 [!POSIX] (posix_madvise): Likewise.
16216 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16217 && !UNIX98].
16218 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16219 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16220 (mode_t): Likewise.
16221 (posix_mem_offset): Likewise.
16222 (posix_typed_mem_get_info): Likewise.
16223 (posix_typed_mem_open): Likewise.
16224
9e188909
JM
16225 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16226 Change condition to [XOPEN2K8].
16227
05bcf62a
JM
16228 * conform/conformtest.pl: Preprocess allow-header data with -x c
16229 instead of from stdin.
16230 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16231 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16232 [C99-based standards] (cerfc): Likewise.
16233 [C99-based standards] (cexp2): Likewise.
16234 [C99-based standards] (cexpm1): Likewise.
16235 [C99-based standards] (clog10): Likewise.
16236 [C99-based standards] (clog1p): Likewise.
16237 [C99-based standards] (clog2): Likewise.
16238 [C99-based standards] (clgamma): Likewise.
16239 [C99-based standards] (ctgamma): Likewise.
16240 [C99-based standards] (cerff): Likewise.
16241 [C99-based standards] (cerfcf): Likewise.
16242 [C99-based standards] (cexp2f): Likewise.
16243 [C99-based standards] (cexpm1f): Likewise.
16244 [C99-based standards] (clog10f): Likewise.
16245 [C99-based standards] (clog1pf): Likewise.
16246 [C99-based standards] (clog2f): Likewise.
16247 [C99-based standards] (clgammaf): Likewise.
16248 [C99-based standards] (ctgammaf): Likewise.
16249 [C99-based standards] (cerfl): Likewise.
16250 [C99-based standards] (cerfcl): Likewise.
16251 [C99-based standards] (cexp2l): Likewise.
16252 [C99-based standards] (cexpm1l): Likewise.
16253 [C99-based standards] (clog10l): Likewise.
16254 [C99-based standards] (clog1pl): Likewise.
16255 [C99-based standards] (clog2l): Likewise.
16256 [C99-based standards] (clgammal): Likewise.
16257 [C99-based standards] (ctgammal): Likewise.
16258 * conform/data/inttypes.h-data [C99-based standards]: Include
16259 stdint.h-data. Remove all expectations for stdint.h contents.
16260 [C99-based standards] (PRI*): Do not allow.
16261 [C99-based standards] (SCN*): Likewise.
16262 [C99-based standards] (*_t): Likewise.
16263 [C99-based-standards] (PRId8): Expect macro.
16264 [C99-based-standards] (PRIi8): Likewise.
16265 [C99-based-standards] (PRIo8): Likewise.
16266 [C99-based-standards] (PRIu8): Likewise.
16267 [C99-based-standards] (PRIx8): Likewise.
16268 [C99-based-standards] (PRIX8): Likewise.
16269 [C99-based-standards] (SCNd8): Likewise.
16270 [C99-based-standards] (SCNi8): Likewise.
16271 [C99-based-standards] (SCNo8): Likewise.
16272 [C99-based-standards] (SCNu8): Likewise.
16273 [C99-based-standards] (SCNx8): Likewise.
16274 [C99-based-standards] (PRIdLEAST8): Likewise.
16275 [C99-based-standards] (PRIiLEAST8): Likewise.
16276 [C99-based-standards] (PRIoLEAST8): Likewise.
16277 [C99-based-standards] (PRIuLEAST8): Likewise.
16278 [C99-based-standards] (PRIxLEAST8): Likewise.
16279 [C99-based-standards] (PRIXLEAST8): Likewise.
16280 [C99-based-standards] (SCNdLEAST8): Likewise.
16281 [C99-based-standards] (SCNiLEAST8): Likewise.
16282 [C99-based-standards] (SCNoLEAST8): Likewise.
16283 [C99-based-standards] (SCNuLEAST8): Likewise.
16284 [C99-based-standards] (SCNxLEAST8): Likewise.
16285 [C99-based-standards] (PRIdFAST8): Likewise.
16286 [C99-based-standards] (PRIiFAST8): Likewise.
16287 [C99-based-standards] (PRIoFAST8): Likewise.
16288 [C99-based-standards] (PRIuFAST8): Likewise.
16289 [C99-based-standards] (PRIxFAST8): Likewise.
16290 [C99-based-standards] (PRIXFAST8): Likewise.
16291 [C99-based-standards] (SCNdFAST8): Likewise.
16292 [C99-based-standards] (SCNiFAST8): Likewise.
16293 [C99-based-standards] (SCNoFAST8): Likewise.
16294 [C99-based-standards] (SCNuFAST8): Likewise.
16295 [C99-based-standards] (SCNxFAST8): Likewise.
16296 [C99-based-standards] (PRId16): Likewise.
16297 [C99-based-standards] (PRIi16): Likewise.
16298 [C99-based-standards] (PRIo16): Likewise.
16299 [C99-based-standards] (PRIu16): Likewise.
16300 [C99-based-standards] (PRIx16): Likewise.
16301 [C99-based-standards] (PRIX16): Likewise.
16302 [C99-based-standards] (SCNd16): Likewise.
16303 [C99-based-standards] (SCNi16): Likewise.
16304 [C99-based-standards] (SCNo16): Likewise.
16305 [C99-based-standards] (SCNu16): Likewise.
16306 [C99-based-standards] (SCNx16): Likewise.
16307 [C99-based-standards] (PRIdLEAST16): Likewise.
16308 [C99-based-standards] (PRIiLEAST16): Likewise.
16309 [C99-based-standards] (PRIoLEAST16): Likewise.
16310 [C99-based-standards] (PRIuLEAST16): Likewise.
16311 [C99-based-standards] (PRIxLEAST16): Likewise.
16312 [C99-based-standards] (PRIXLEAST16): Likewise.
16313 [C99-based-standards] (SCNdLEAST16): Likewise.
16314 [C99-based-standards] (SCNiLEAST16): Likewise.
16315 [C99-based-standards] (SCNoLEAST16): Likewise.
16316 [C99-based-standards] (SCNuLEAST16): Likewise.
16317 [C99-based-standards] (SCNxLEAST16): Likewise.
16318 [C99-based-standards] (PRIdFAST16): Likewise.
16319 [C99-based-standards] (PRIiFAST16): Likewise.
16320 [C99-based-standards] (PRIoFAST16): Likewise.
16321 [C99-based-standards] (PRIuFAST16): Likewise.
16322 [C99-based-standards] (PRIxFAST16): Likewise.
16323 [C99-based-standards] (PRIXFAST16): Likewise.
16324 [C99-based-standards] (SCNdFAST16): Likewise.
16325 [C99-based-standards] (SCNiFAST16): Likewise.
16326 [C99-based-standards] (SCNoFAST16): Likewise.
16327 [C99-based-standards] (SCNuFAST16): Likewise.
16328 [C99-based-standards] (SCNxFAST16): Likewise.
16329 [C99-based-standards] (PRId32): Likewise.
16330 [C99-based-standards] (PRIi32): Likewise.
16331 [C99-based-standards] (PRIo32): Likewise.
16332 [C99-based-standards] (PRIu32): Likewise.
16333 [C99-based-standards] (PRIx32): Likewise.
16334 [C99-based-standards] (PRIX32): Likewise.
16335 [C99-based-standards] (SCNd32): Likewise.
16336 [C99-based-standards] (SCNi32): Likewise.
16337 [C99-based-standards] (SCNo32): Likewise.
16338 [C99-based-standards] (SCNu32): Likewise.
16339 [C99-based-standards] (SCNx32): Likewise.
16340 [C99-based-standards] (PRIdLEAST32): Likewise.
16341 [C99-based-standards] (PRIiLEAST32): Likewise.
16342 [C99-based-standards] (PRIoLEAST32): Likewise.
16343 [C99-based-standards] (PRIuLEAST32): Likewise.
16344 [C99-based-standards] (PRIxLEAST32): Likewise.
16345 [C99-based-standards] (PRIXLEAST32): Likewise.
16346 [C99-based-standards] (SCNdLEAST32): Likewise.
16347 [C99-based-standards] (SCNiLEAST32): Likewise.
16348 [C99-based-standards] (SCNoLEAST32): Likewise.
16349 [C99-based-standards] (SCNuLEAST32): Likewise.
16350 [C99-based-standards] (SCNxLEAST32): Likewise.
16351 [C99-based-standards] (PRIdFAST32): Likewise.
16352 [C99-based-standards] (PRIiFAST32): Likewise.
16353 [C99-based-standards] (PRIoFAST32): Likewise.
16354 [C99-based-standards] (PRIuFAST32): Likewise.
16355 [C99-based-standards] (PRIxFAST32): Likewise.
16356 [C99-based-standards] (PRIXFAST32): Likewise.
16357 [C99-based-standards] (SCNdFAST32): Likewise.
16358 [C99-based-standards] (SCNiFAST32): Likewise.
16359 [C99-based-standards] (SCNoFAST32): Likewise.
16360 [C99-based-standards] (SCNuFAST32): Likewise.
16361 [C99-based-standards] (SCNxFAST32): Likewise.
16362 [C99-based-standards] (PRId64): Likewise.
16363 [C99-based-standards] (PRIi64): Likewise.
16364 [C99-based-standards] (PRIo64): Likewise.
16365 [C99-based-standards] (PRIu64): Likewise.
16366 [C99-based-standards] (PRIx64): Likewise.
16367 [C99-based-standards] (PRIX64): Likewise.
16368 [C99-based-standards] (SCNd64): Likewise.
16369 [C99-based-standards] (SCNi64): Likewise.
16370 [C99-based-standards] (SCNo64): Likewise.
16371 [C99-based-standards] (SCNu64): Likewise.
16372 [C99-based-standards] (SCNx64): Likewise.
16373 [C99-based-standards] (PRIdLEAST64): Likewise.
16374 [C99-based-standards] (PRIiLEAST64): Likewise.
16375 [C99-based-standards] (PRIoLEAST64): Likewise.
16376 [C99-based-standards] (PRIuLEAST64): Likewise.
16377 [C99-based-standards] (PRIxLEAST64): Likewise.
16378 [C99-based-standards] (PRIXLEAST64): Likewise.
16379 [C99-based-standards] (SCNdLEAST64): Likewise.
16380 [C99-based-standards] (SCNiLEAST64): Likewise.
16381 [C99-based-standards] (SCNoLEAST64): Likewise.
16382 [C99-based-standards] (SCNuLEAST64): Likewise.
16383 [C99-based-standards] (SCNxLEAST64): Likewise.
16384 [C99-based-standards] (PRIdFAST64): Likewise.
16385 [C99-based-standards] (PRIiFAST64): Likewise.
16386 [C99-based-standards] (PRIoFAST64): Likewise.
16387 [C99-based-standards] (PRIuFAST64): Likewise.
16388 [C99-based-standards] (PRIxFAST64): Likewise.
16389 [C99-based-standards] (PRIXFAST64): Likewise.
16390 [C99-based-standards] (SCNdFAST64): Likewise.
16391 [C99-based-standards] (SCNiFAST64): Likewise.
16392 [C99-based-standards] (SCNoFAST64): Likewise.
16393 [C99-based-standards] (SCNuFAST64): Likewise.
16394 [C99-based-standards] (SCNxFAST64): Likewise.
16395 [C99-based-standards] (PRIdMAX): Likewise.
16396 [C99-based-standards] (PRIiMAX): Likewise.
16397 [C99-based-standards] (PRIoMAX): Likewise.
16398 [C99-based-standards] (PRIuMAX): Likewise.
16399 [C99-based-standards] (PRIxMAX): Likewise.
16400 [C99-based-standards] (PRIXMAX): Likewise.
16401 [C99-based-standards] (SCNdMAX): Likewise.
16402 [C99-based-standards] (SCNiMAX): Likewise.
16403 [C99-based-standards] (SCNoMAX): Likewise.
16404 [C99-based-standards] (SCNuMAX): Likewise.
16405 [C99-based-standards] (SCNxMAX): Likewise.
16406 [C99-based-standards] (PRIdPTR): Likewise.
16407 [C99-based-standards] (PRIiPTR): Likewise.
16408 [C99-based-standards] (PRIoPTR): Likewise.
16409 [C99-based-standards] (PRIuPTR): Likewise.
16410 [C99-based-standards] (PRIxPTR): Likewise.
16411 [C99-based-standards] (PRIXPTR): Likewise.
16412 [C99-based-standards] (SCNdPTR): Likewise.
16413 [C99-based-standards] (SCNiPTR): Likewise.
16414 [C99-based-standards] (SCNoPTR): Likewise.
16415 [C99-based-standards] (SCNuPTR): Likewise.
16416 [C99-based-standards] (SCNxPTR): Likewise.
16417 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16418 allow.
16419 * conform/data/stdint.h-data: Update comments to clarify
16420 requirements.
16421 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16422 type.
16423 [C99-based standards] (INT8_MAX): Likewise.
16424 [C99-based standards] (INT16_MIN): Likewise.
16425 [C99-based standards] (INT16_MAX): Likewise.
16426 [C99-based standards] (INT32_MIN): Likewise.
16427 [C99-based standards] (INT32_MAX): Likewise.
16428 [C99-based standards] (INT64_MIN): Likewise.
16429 [C99-based standards] (INT64_MAX): Likewise.
16430 [C99-based standards] (UINT8_MAX): Likewise.
16431 [C99-based standards] (UINT16_MAX): Likewise.
16432 [C99-based standards] (UINT32_MAX): Likewise.
16433 [C99-based standards] (UINT64_MAX): Likewise.
16434 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16435 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16436 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16437 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16438 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16439 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16440 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16441 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16442 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16443 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16444 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16445 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16446 [C99-based standards] (INT_FAST8_MIN): Likewise.
16447 [C99-based standards] (INT_FAST8_MAX): Likewise.
16448 [C99-based standards] (INT_FAST16_MIN): Likewise.
16449 [C99-based standards] (INT_FAST16_MAX): Likewise.
16450 [C99-based standards] (INT_FAST32_MIN): Likewise.
16451 [C99-based standards] (INT_FAST32_MAX): Likewise.
16452 [C99-based standards] (INT_FAST64_MIN): Likewise.
16453 [C99-based standards] (INT_FAST64_MAX): Likewise.
16454 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16455 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16456 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16457 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16458 [C99-based standards] (INTPTR_MIN): Likewise.
16459 [C99-based standards] (INTPTR_MAX): Likewise.
16460 [C99-based standards] (UINTPTR_MAX): Likewise.
16461 [C99-based standards] (INTMAX_MIN): Likewise.
16462 [C99-based standards] (INTMAX_MAX): Likewise.
16463 [C99-based standards] (UINTMAX_MAX): Likewise.
16464 [C99-based standards] (PTRDIFF_MIN): Likewise.
16465 [C99-based standards] (PTRDIFF_MAX): Likewise.
16466 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16467 [C99-based standards] (SIZE_MAX): Likewise.
16468 [C99-based standards] (WCHAR_MAX): Likewise.
16469 [C99-based standards] (WINT_MAX): Likewise.
16470 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16471 constraint on value.
16472 [C99-based standards] (WCHAR_MIN): Likewise.
16473 [C99-based standards] (WINT_MIN): Likewise.
16474 [C99-based standards] (*_t): Allow.
16475 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16476 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16477 Include math.h-data and complex.h-data. Remove all expectations
16478 of math.h and complex.h contents.
16479 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16480 at end of line.
16481 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16482 (struct tm): Expect tag.
16483 [C99-based-standards] (wcstof): Expect function.
16484 [C99-based-standards] (wcstold): Likewise.
16485 [C99-based-standards] (wcstoll): Likewise.
16486 [C99-based-standards] (wcstoull): Likewise.
16487 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16488 macro-int-constant. Specify type.
16489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16490 constraint on value.
16491 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16492 Specify type.
16493 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16494 Specify value.
16495 [ISO C standards]: Do not allow headers.
16496 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16497 wcs[abcdefghijklmnopqrstuvwxyz]*.
16498 [ISO C standards] (*_t): Do not allow.
16499 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16500 Expect function.
16501 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16502 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16503 Specify type.
16504 [ISO C standards]: Do not allow headers.
16505 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16506 is[abcdefghijklmnopqrstuvwxyz]*.
16507 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16508 to[abcdefghijklmnopqrstuvwxyz]*.
16509 [ISO C standards] (*_t): Do not allow.
16510 * conform/data/stdalign.h-data: New file.
16511 * conform/data/stdbool.h-data: Likewise.
16512 * conform/data/stdnoreturn.h-data: Likewise.
16513
7514feb8
RM
165142012-11-07 Roland McGrath <roland@hack.frob.com>
16515
16516 [BZ #14815]
16517 * manual/filesys.texi (Directory Entries): Typo fix.
16518 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16519
19b2ecfc
MS
165202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16521
16522 * elf/elf.h (EM_AARCH64): New macro.
16523 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16524 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16525 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16526 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16527 (R_AARCH64_TLSDESC): Likewise.
16528 (NT_ARM_TLS): Likewise.
16529 (NT_ARM_HW_BREAK): Likewise.
16530 (NT_ARM_HW_WATCH): Likewise.
16531
60e235ee
JM
165322012-11-07 Joseph Myers <joseph@codesourcery.com>
16533
16534 [BZ #14811]
16535 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16536 (__ieee754_powl): Saturate nonzero exponents with absolute value
16537 below 0x1p-79 to +/- 0x1p-79.
16538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16539 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16540 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16541 nonzero exponents with absolute value below 0x1p-32 to +/-
16542 0x1p-32.
16543 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16544 (__ieee754_powl): Saturate nonzero exponents with absolute value
16545 below 0x1p-79 to +/- 0x1p-79.
16546 * math/libm-test.inc (pow_test): Add more tests.
16547
0ab234b7
AK
165482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16549
16550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16551 _dl_s390_cap_flags with kernel. Increase string length.
16552 (_dl_s390_platforms): Add z196 and zEC12.
16553
45832f74
JM
165542012-11-07 Joseph Myers <joseph@codesourcery.com>
16555
16556 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16557 Change XOPEN21K to XOPEN2K.
16558
19218757
MK
165592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16560
16561 * string/memmove.c: Use memcpy when possible.
16562
c5f45721
AJ
165632012-11-06 Andreas Jaeger <aj@suse.de>
16564
16565 * po/eo.po: Update from translation team.
16566
82477c28
JM
165672012-11-06 Joseph Myers <joseph@codesourcery.com>
16568
16569 [BZ #14793]
16570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16571 exponent and small x and y exponents, scale x or y up. Increase
16572 by 2 the exponent used in scaling up.
16573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16575 * math/libm-test.inc (fma_test): Add more tests.
16576 (fma_test_towardzero): Likewise.
16577 (fma_test_downward): Likewise.
16578 (fma_test_upward): Likewise.
16579
99252c8c
JM
165802012-11-05 Joseph Myers <joseph@codesourcery.com>
16581
acfa885f
JM
16582 [BZ #14805]
16583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16584 fenv_t *.
16585
99252c8c
JM
16586 [BZ #14801]
16587 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16588 namespace for names of struct fields.
16589 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16590 fenv_t fields.
16591 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16592 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16593
d6d98dea
ST
165942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16595
16596 [BZ #3665]
16597 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16598
e10bb107
TS
165992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16600
16601 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16602 PTR_DEMANGLE.
16603
16604 [BZ #5246]
16605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16606 PTR_DEMANGLE.
16607
a0c2940d
JM
166082012-11-04 Joseph Myers <joseph@codesourcery.com>
16609
16610 [BZ #14797]
16611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16612 definitely overflow as x * y not x * y + z.
16613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16615 * math/libm-test.inc (fma_test): Add more tests.
16616 (fma_test_towardzero): Likewise.
16617 (fma_test_downward): Likewise.
16618 (fma_test_upward): Likewise.
16619
b830319d
TS
166202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16621
16622 [BZ #157]
16623
16624 * include/stub-tag.h: Remove file.
16625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16626 '#include' of it.
16627 * manual/maint.texi (Porting): Don't reference it.
16628 * Makerules ($(objpfx)stubs): Likewise.
16629 * dirent/closedir.c: Don't include <stub-tag.h>.
16630 * dirent/dirfd.c: Likewise.
16631 * dirent/fdopendir.c: Likewise.
16632 * dirent/getdents.c: Likewise.
16633 * dirent/getdents64.c: Likewise.
16634 * dirent/opendir.c: Likewise.
16635 * dirent/readdir.c: Likewise.
16636 * dirent/readdir64.c: Likewise.
16637 * dirent/readdir64_r.c: Likewise.
16638 * dirent/readdir_r.c: Likewise.
16639 * dirent/rewinddir.c: Likewise.
16640 * dirent/seekdir.c: Likewise.
16641 * dirent/telldir.c: Likewise.
16642 * gmon/profil.c: Likewise.
16643 * grp/setgroups.c: Likewise.
16644 * inet/if_index.c: Likewise.
16645 * io/access.c: Likewise.
16646 * io/chdir.c: Likewise.
16647 * io/chmod.c: Likewise.
16648 * io/chown.c: Likewise.
16649 * io/close.c: Likewise.
16650 * io/dup.c: Likewise.
16651 * io/dup2.c: Likewise.
16652 * io/dup3.c: Likewise.
16653 * io/euidaccess.c: Likewise.
16654 * io/faccessat.c: Likewise.
16655 * io/fchdir.c: Likewise.
16656 * io/fchmod.c: Likewise.
16657 * io/fchmodat.c: Likewise.
16658 * io/fchown.c: Likewise.
16659 * io/fchownat.c: Likewise.
16660 * io/fcntl.c: Likewise.
16661 * io/flock.c: Likewise.
16662 * io/fstatfs.c: Likewise.
16663 * io/fstatfs64.c: Likewise.
16664 * io/fstatvfs.c: Likewise.
16665 * io/fstatvfs64.c: Likewise.
16666 * io/futimens.c: Likewise.
16667 * io/fxstat.c: Likewise.
16668 * io/fxstat64.c: Likewise.
16669 * io/fxstatat.c: Likewise.
16670 * io/fxstatat64.c: Likewise.
16671 * io/getcwd.c: Likewise.
16672 * io/isatty.c: Likewise.
16673 * io/lchmod.c: Likewise.
16674 * io/lchown.c: Likewise.
16675 * io/link.c: Likewise.
16676 * io/linkat.c: Likewise.
16677 * io/lseek.c: Likewise.
16678 * io/lseek64.c: Likewise.
16679 * io/lxstat64.c: Likewise.
16680 * io/mkdir.c: Likewise.
16681 * io/mkdirat.c: Likewise.
16682 * io/mkfifo.c: Likewise.
16683 * io/mkfifoat.c: Likewise.
16684 * io/open.c: Likewise.
16685 * io/open64.c: Likewise.
16686 * io/openat.c: Likewise.
16687 * io/openat64.c: Likewise.
16688 * io/pipe.c: Likewise.
16689 * io/pipe2.c: Likewise.
16690 * io/poll.c: Likewise.
16691 * io/posix_fadvise.c: Likewise.
16692 * io/posix_fadvise64.c: Likewise.
16693 * io/posix_fallocate.c: Likewise.
16694 * io/posix_fallocate64.c: Likewise.
16695 * io/read.c: Likewise.
16696 * io/readlink.c: Likewise.
16697 * io/readlinkat.c: Likewise.
16698 * io/rmdir.c: Likewise.
16699 * io/sendfile.c: Likewise.
16700 * io/sendfile64.c: Likewise.
16701 * io/statfs.c: Likewise.
16702 * io/statfs64.c: Likewise.
16703 * io/statvfs.c: Likewise.
16704 * io/statvfs64.c: Likewise.
16705 * io/symlink.c: Likewise.
16706 * io/symlinkat.c: Likewise.
16707 * io/ttyname.c: Likewise.
16708 * io/ttyname_r.c: Likewise.
16709 * io/umask.c: Likewise.
16710 * io/unlink.c: Likewise.
16711 * io/unlinkat.c: Likewise.
16712 * io/utime.c: Likewise.
16713 * io/utimensat.c: Likewise.
16714 * io/write.c: Likewise.
16715 * io/xmknod.c: Likewise.
16716 * io/xmknodat.c: Likewise.
16717 * io/xstat.c: Likewise.
16718 * io/xstat64.c: Likewise.
16719 * login/getpt.c: Likewise.
16720 * login/grantpt.c: Likewise.
16721 * login/unlockpt.c: Likewise.
16722 * math/e_acoshl.c: Likewise.
16723 * math/e_acosl.c: Likewise.
16724 * math/e_asinl.c: Likewise.
16725 * math/e_atan2l.c: Likewise.
16726 * math/e_atanhl.c: Likewise.
16727 * math/e_coshl.c: Likewise.
16728 * math/e_expl.c: Likewise.
16729 * math/e_fmodl.c: Likewise.
16730 * math/e_gammal_r.c: Likewise.
16731 * math/e_hypotl.c: Likewise.
16732 * math/e_j0l.c: Likewise.
16733 * math/e_j1l.c: Likewise.
16734 * math/e_jnl.c: Likewise.
16735 * math/e_lgammal_r.c: Likewise.
16736 * math/e_log10l.c: Likewise.
16737 * math/e_log2l.c: Likewise.
16738 * math/e_logl.c: Likewise.
16739 * math/e_powl.c: Likewise.
16740 * math/e_rem_pio2l.c: Likewise.
16741 * math/e_sinhl.c: Likewise.
16742 * math/e_sqrtl.c: Likewise.
16743 * math/fclrexcpt.c: Likewise.
16744 * math/fedisblxcpt.c: Likewise.
16745 * math/feenablxcpt.c: Likewise.
16746 * math/fegetenv.c: Likewise.
16747 * math/fegetexcept.c: Likewise.
16748 * math/fegetround.c: Likewise.
16749 * math/feholdexcpt.c: Likewise.
16750 * math/fesetenv.c: Likewise.
16751 * math/fesetround.c: Likewise.
16752 * math/feupdateenv.c: Likewise.
16753 * math/fgetexcptflg.c: Likewise.
16754 * math/fraiseexcpt.c: Likewise.
16755 * math/fsetexcptflg.c: Likewise.
16756 * math/ftestexcept.c: Likewise.
16757 * math/k_cosl.c: Likewise.
16758 * math/k_rem_pio2l.c: Likewise.
16759 * math/k_sinl.c: Likewise.
16760 * math/k_tanl.c: Likewise.
16761 * math/s_asinhl.c: Likewise.
16762 * math/s_atanl.c: Likewise.
16763 * math/s_cbrtl.c: Likewise.
16764 * math/s_erfl.c: Likewise.
16765 * math/s_expm1l.c: Likewise.
16766 * math/s_log1pl.c: Likewise.
16767 * math/s_tanhl.c: Likewise.
16768 * misc/acct.c: Likewise.
16769 * misc/brk.c: Likewise.
16770 * misc/chflags.c: Likewise.
16771 * misc/chroot.c: Likewise.
16772 * misc/fchflags.c: Likewise.
16773 * misc/fgetxattr.c: Likewise.
16774 * misc/flistxattr.c: Likewise.
16775 * misc/fremovexattr.c: Likewise.
16776 * misc/fsetxattr.c: Likewise.
16777 * misc/fsync.c: Likewise.
16778 * misc/ftruncate.c: Likewise.
16779 * misc/futimes.c: Likewise.
16780 * misc/futimesat.c: Likewise.
16781 * misc/getdomain.c: Likewise.
16782 * misc/getdtsz.c: Likewise.
16783 * misc/gethostid.c: Likewise.
16784 * misc/gethostname.c: Likewise.
16785 * misc/getloadavg.c: Likewise.
16786 * misc/getpagesize.c: Likewise.
16787 * misc/getsysstats.c: Likewise.
16788 * misc/getxattr.c: Likewise.
16789 * misc/gtty.c: Likewise.
16790 * misc/ioctl.c: Likewise.
16791 * misc/lgetxattr.c: Likewise.
16792 * misc/listxattr.c: Likewise.
16793 * misc/llistxattr.c: Likewise.
16794 * misc/lremovexattr.c: Likewise.
16795 * misc/lsetxattr.c: Likewise.
16796 * misc/lutimes.c: Likewise.
16797 * misc/madvise.c: Likewise.
16798 * misc/mincore.c: Likewise.
16799 * misc/mlock.c: Likewise.
16800 * misc/mlockall.c: Likewise.
16801 * misc/mmap.c: Likewise.
16802 * misc/mprotect.c: Likewise.
16803 * misc/msync.c: Likewise.
16804 * misc/munlock.c: Likewise.
16805 * misc/munlockall.c: Likewise.
16806 * misc/munmap.c: Likewise.
16807 * misc/preadv.c: Likewise.
16808 * misc/preadv64.c: Likewise.
16809 * misc/ptrace.c: Likewise.
16810 * misc/pwritev.c: Likewise.
16811 * misc/pwritev64.c: Likewise.
16812 * misc/readv.c: Likewise.
16813 * misc/reboot.c: Likewise.
16814 * misc/remap_file_pages.c: Likewise.
16815 * misc/removexattr.c: Likewise.
16816 * misc/revoke.c: Likewise.
16817 * misc/select.c: Likewise.
16818 * misc/setdomain.c: Likewise.
16819 * misc/setegid.c: Likewise.
16820 * misc/seteuid.c: Likewise.
16821 * misc/sethostid.c: Likewise.
16822 * misc/sethostname.c: Likewise.
16823 * misc/setregid.c: Likewise.
16824 * misc/setreuid.c: Likewise.
16825 * misc/setxattr.c: Likewise.
16826 * misc/sstk.c: Likewise.
16827 * misc/stty.c: Likewise.
16828 * misc/swapoff.c: Likewise.
16829 * misc/swapon.c: Likewise.
16830 * misc/sync.c: Likewise.
16831 * misc/syncfs.c: Likewise.
16832 * misc/syscall.c: Likewise.
16833 * misc/truncate.c: Likewise.
16834 * misc/ualarm.c: Likewise.
16835 * misc/usleep.c: Likewise.
16836 * misc/ustat.c: Likewise.
16837 * misc/utimes.c: Likewise.
16838 * misc/vhangup.c: Likewise.
16839 * misc/writev.c: Likewise.
16840 * posix/_exit.c: Likewise.
16841 * posix/alarm.c: Likewise.
16842 * posix/execve.c: Likewise.
16843 * posix/fexecve.c: Likewise.
16844 * posix/fork.c: Likewise.
16845 * posix/fpathconf.c: Likewise.
16846 * posix/getaddrinfo.c: Likewise.
16847 * posix/getegid.c: Likewise.
16848 * posix/geteuid.c: Likewise.
16849 * posix/getgid.c: Likewise.
16850 * posix/getgroups.c: Likewise.
16851 * posix/getlogin.c: Likewise.
16852 * posix/getlogin_r.c: Likewise.
16853 * posix/getpgid.c: Likewise.
16854 * posix/getpid.c: Likewise.
16855 * posix/getppid.c: Likewise.
16856 * posix/getresgid.c: Likewise.
16857 * posix/getresuid.c: Likewise.
16858 * posix/getsid.c: Likewise.
16859 * posix/getuid.c: Likewise.
16860 * posix/glob64.c: Likewise.
16861 * posix/nanosleep.c: Likewise.
16862 * posix/pathconf.c: Likewise.
16863 * posix/pause.c: Likewise.
16864 * posix/posix_madvise.c: Likewise.
16865 * posix/pread.c: Likewise.
16866 * posix/pread64.c: Likewise.
16867 * posix/pwrite.c: Likewise.
16868 * posix/pwrite64.c: Likewise.
16869 * posix/sched_getaffinity.c: Likewise.
16870 * posix/sched_getp.c: Likewise.
16871 * posix/sched_gets.c: Likewise.
16872 * posix/sched_primax.c: Likewise.
16873 * posix/sched_primin.c: Likewise.
16874 * posix/sched_rr_gi.c: Likewise.
16875 * posix/sched_setaffinity.c: Likewise.
16876 * posix/sched_setp.c: Likewise.
16877 * posix/sched_sets.c: Likewise.
16878 * posix/sched_yield.c: Likewise.
16879 * posix/setgid.c: Likewise.
16880 * posix/setlogin.c: Likewise.
16881 * posix/setpgid.c: Likewise.
16882 * posix/setresgid.c: Likewise.
16883 * posix/setresuid.c: Likewise.
16884 * posix/setsid.c: Likewise.
16885 * posix/setuid.c: Likewise.
16886 * posix/sleep.c: Likewise.
16887 * posix/spawni.c: Likewise.
16888 * posix/sysconf.c: Likewise.
16889 * posix/times.c: Likewise.
16890 * posix/wait.c: Likewise.
16891 * posix/wait3.c: Likewise.
16892 * posix/wait4.c: Likewise.
16893 * posix/waitpid.c: Likewise.
16894 * resolv/gai_sigqueue.c: Likewise.
16895 * resource/getpriority.c: Likewise.
16896 * resource/getrlimit.c: Likewise.
16897 * resource/getrusage.c: Likewise.
16898 * resource/nice.c: Likewise.
16899 * resource/setpriority.c: Likewise.
16900 * resource/setrlimit.c: Likewise.
16901 * resource/ulimit.c: Likewise.
16902 * rt/aio_cancel.c: Likewise.
16903 * rt/aio_fsync.c: Likewise.
16904 * rt/aio_read.c: Likewise.
16905 * rt/aio_sigqueue.c: Likewise.
16906 * rt/aio_suspend.c: Likewise.
16907 * rt/aio_write.c: Likewise.
16908 * rt/clock_getres.c: Likewise.
16909 * rt/clock_gettime.c: Likewise.
16910 * rt/clock_nanosleep.c: Likewise.
16911 * rt/clock_settime.c: Likewise.
16912 * rt/lio_listio.c: Likewise.
16913 * rt/mq_close.c: Likewise.
16914 * rt/mq_getattr.c: Likewise.
16915 * rt/mq_notify.c: Likewise.
16916 * rt/mq_open.c: Likewise.
16917 * rt/mq_receive.c: Likewise.
16918 * rt/mq_send.c: Likewise.
16919 * rt/mq_setattr.c: Likewise.
16920 * rt/mq_timedreceive.c: Likewise.
16921 * rt/mq_timedsend.c: Likewise.
16922 * rt/mq_unlink.c: Likewise.
16923 * rt/shm_open.c: Likewise.
16924 * rt/shm_unlink.c: Likewise.
16925 * rt/timer_create.c: Likewise.
16926 * rt/timer_delete.c: Likewise.
16927 * rt/timer_getoverr.c: Likewise.
16928 * rt/timer_gettime.c: Likewise.
16929 * rt/timer_settime.c: Likewise.
16930 * setjmp/__longjmp.c: Likewise.
16931 * setjmp/setjmp.c: Likewise.
16932 * signal/kill.c: Likewise.
16933 * signal/killpg.c: Likewise.
16934 * signal/raise.c: Likewise.
16935 * signal/sigaction.c: Likewise.
16936 * signal/sigaltstack.c: Likewise.
16937 * signal/sigblock.c: Likewise.
16938 * signal/sigignore.c: Likewise.
16939 * signal/sigintr.c: Likewise.
16940 * signal/signal.c: Likewise.
16941 * signal/sigpause.c: Likewise.
16942 * signal/sigpending.c: Likewise.
16943 * signal/sigqueue.c: Likewise.
16944 * signal/sigreturn.c: Likewise.
16945 * signal/sigset.c: Likewise.
16946 * signal/sigsetmask.c: Likewise.
16947 * signal/sigstack.c: Likewise.
16948 * signal/sigsuspend.c: Likewise.
16949 * signal/sigtimedwait.c: Likewise.
16950 * signal/sigvec.c: Likewise.
16951 * signal/sigwait.c: Likewise.
16952 * signal/sigwaitinfo.c: Likewise.
16953 * signal/sysv_signal.c: Likewise.
16954 * socket/accept.c: Likewise.
16955 * socket/accept4.c: Likewise.
16956 * socket/bind.c: Likewise.
16957 * socket/connect.c: Likewise.
16958 * socket/getpeername.c: Likewise.
16959 * socket/getsockname.c: Likewise.
16960 * socket/getsockopt.c: Likewise.
16961 * socket/isfdtype.c: Likewise.
16962 * socket/listen.c: Likewise.
16963 * socket/recv.c: Likewise.
16964 * socket/recvfrom.c: Likewise.
16965 * socket/recvmsg.c: Likewise.
16966 * socket/send.c: Likewise.
16967 * socket/sendmsg.c: Likewise.
16968 * socket/sendto.c: Likewise.
16969 * socket/setsockopt.c: Likewise.
16970 * socket/shutdown.c: Likewise.
16971 * socket/sockatmark.c: Likewise.
16972 * socket/socket.c: Likewise.
16973 * socket/socketpair.c: Likewise.
16974 * stdio-common/ctermid.c: Likewise.
16975 * stdio-common/cuserid.c: Likewise.
16976 * stdio-common/remove.c: Likewise.
16977 * stdio-common/rename.c: Likewise.
16978 * stdio-common/renameat.c: Likewise.
16979 * stdio-common/tempname.c: Likewise.
16980 * stdlib/getcontext.c: Likewise.
16981 * stdlib/makecontext.c: Likewise.
16982 * stdlib/setcontext.c: Likewise.
16983 * stdlib/swapcontext.c: Likewise.
16984 * stdlib/system.c: Likewise.
16985 * streams/fattach.c: Likewise.
16986 * streams/fdetach.c: Likewise.
16987 * streams/getmsg.c: Likewise.
16988 * streams/getpmsg.c: Likewise.
16989 * streams/putmsg.c: Likewise.
16990 * streams/putpmsg.c: Likewise.
16991 * sysdeps/unix/bsd/getpt.c: Likewise.
16992 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16993 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16994 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16998 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16999 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17000 * sysvipc/msgctl.c: Likewise.
17001 * sysvipc/msgget.c: Likewise.
17002 * sysvipc/msgrcv.c: Likewise.
17003 * sysvipc/msgsnd.c: Likewise.
17004 * sysvipc/semctl.c: Likewise.
17005 * sysvipc/semget.c: Likewise.
17006 * sysvipc/semop.c: Likewise.
17007 * sysvipc/semtimedop.c: Likewise.
17008 * sysvipc/shmat.c: Likewise.
17009 * sysvipc/shmctl.c: Likewise.
17010 * sysvipc/shmdt.c: Likewise.
17011 * sysvipc/shmget.c: Likewise.
17012 * termios/tcdrain.c: Likewise.
17013 * termios/tcflow.c: Likewise.
17014 * termios/tcflush.c: Likewise.
17015 * termios/tcgetattr.c: Likewise.
17016 * termios/tcgetpgrp.c: Likewise.
17017 * termios/tcsendbrk.c: Likewise.
17018 * termios/tcsetattr.c: Likewise.
17019 * termios/tcsetpgrp.c: Likewise.
17020 * time/adjtime.c: Likewise.
17021 * time/clock.c: Likewise.
17022 * time/getitimer.c: Likewise.
17023 * time/gettimeofday.c: Likewise.
17024 * time/setitimer.c: Likewise.
17025 * time/settimeofday.c: Likewise.
17026 * time/stime.c: Likewise.
17027 * time/time.c: Likewise.
17028
170292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17030
a20492cf
PT
17031 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17032 /usr/old/bin.
17033
72e182e3
PT
17034 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17035 instead of spaces.
17036 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17037
fbeafede
JM
170382012-11-03 Joseph Myers <joseph@codesourcery.com>
17039
5b5b04d6
JM
17040 [BZ #14796]
17041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17042 FE_TONEAREST before applying Dekker multiplication and Knuth
17043 addition. Clear inexact exceptions and check for exact zero
17044 results afterwards.
17045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17048 * math/libm-test.inc (fma_test): Add more tests.
17049 (fma_test_towardzero): Likewise.
17050 (fma_test_downward): Likewise.
17051 (fma_test_upward): Likewise.
17052 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17053 function.
17054 (libc_fesetround): New macro.
17055 (libc_fesetroundf): Likewise.
17056 (libc_fesetroundl): Likewise.
17057 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17058 function.
17059 (libc_fesetround_387): Likewise.
17060 (libc_fesetroundf): New macro.
17061 (libc_fesetround): Likewise.
17062 (libc_fesetroundl): Likewise.
17063 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17064 function.
17065 (libc_fesetroundf): New macro.
17066 (libc_fesetround): Likewise.
17067 (libc_fesetroundl): Likewise.
17068 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17069 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17070 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17071 libm_hidden_ver.
17072 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17073 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17074 libm_hidden_def.
17075 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17076 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17077 libm_hidden_ver.
17078 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17079 libm_hidden_def.
17080
fbeafede
JM
17081 [BZ #3439]
17082 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17083 integer constant usable in #if and use that to give value to enum
17084 constant.
17085 (FE_DIVBYZERO): Likewise.
17086 (FE_UNDERFLOW): Likewise.
17087 (FE_OVERFLOW): Likewise.
17088 (FE_INVALID): Likewise.
17089 (FE_INVALID_SNAN): Likewise.
17090 (FE_INVALID_ISI): Likewise.
17091 (FE_INVALID_IDI): Likewise.
17092 (FE_INVALID_ZDZ): Likewise.
17093 (FE_INVALID_IMZ): Likewise.
17094 (FE_INVALID_COMPARE): Likewise.
17095 (FE_INVALID_SOFTWARE): Likewise.
17096 (FE_INVALID_SQRT): Likewise.
17097 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17098 (FE_TONEAREST): Likewise.
17099 (FE_TOWARDZERO): Likewise.
17100 (FE_UPWARD): Likewise.
17101 (FE_DOWNWARD): Likewise.
17102 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17103 (FE_DIVBYZERO): Likewise.
17104 (FE_OVERFLOW): Likewise.
17105 (FE_UNDERFLOW): Likewise.
17106 (FE_INEXACT): Likewise.
17107 (FE_TONEAREST): Likewise.
17108 (FE_DOWNWARD): Likewise.
17109 (FE_UPWARD): Likewise.
17110 (FE_TOWARDZERO): Likewise.
17111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17112 (FE_UNDERFLOW): Likewise.
17113 (FE_OVERFLOW): Likewise.
17114 (FE_DIVBYZERO): Likewise.
17115 (FE_INVALID): Likewise.
17116 (FE_TONEAREST): Likewise.
17117 (FE_TOWARDZERO): Likewise.
17118 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17119 (FE_OVERFLOW): Likewise.
17120 (FE_UNDERFLOW): Likewise.
17121 (FE_DIVBYZERO): Likewise.
17122 (FE_INEXACT): Likewise.
17123 (FE_TONEAREST): Likewise.
17124 (FE_TOWARDZERO): Likewise.
17125 (FE_UPWARD): Likewise.
17126 (FE_DOWNWARD): Likewise.
17127 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17128 (FE_DIVBYZERO): Likewise.
17129 (FE_OVERFLOW): Likewise.
17130 (FE_UNDERFLOW): Likewise.
17131 (FE_INEXACT): Likewise.
17132 (FE_TONEAREST): Likewise.
17133 (FE_DOWNWARD): Likewise.
17134 (FE_UPWARD): Likewise.
17135 (FE_TOWARDZERO): Likewise.
17136
105ca950
CM
171372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17138
17139 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17140
a542b389
AS
171412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17142
17143 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17144 commands. Quote $PWD.
17145 (blacklist_exports): Don't use remove_newlines. Replace "declare
17146 -x" by "export".
17147 (remove_newlines): Remove.
17148
f62c8abc
L
171492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17150
17151 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17152 * stdlib/stdlib.h (atof): Moved to ...
17153 * include/bits/stdlib-float.h: Here. New file.
17154 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17155 * stdlib/bits/stdlib-float.h: New file.
17156 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17157 -mno-sse -mno-mmx.
17158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17159 <xmmintrin.h>.
17160
0155d5b2
JM
171612012-11-02 Joseph Myers <joseph@codesourcery.com>
17162
a68d0680
JM
17163 * conform/conformtest.pl (@headers): Add fenv.h.
17164 * conform/data/fenv.h-data: New file.
17165 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17166 include of <math/fenv.h>.
17167
caf7f573
JM
17168 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17169 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17170 && !UNIX98]. Enables tests for XOPEN2K8.
17171 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17172 POSIX2008]: Likewise.
17173
6c073ad6
JM
17174 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17175 (struct rusage): Do not expect type or its members.
17176
0155d5b2
JM
17177 [BZ #3439]
17178 * math/math.h (FP_NAN): Define macro to integer constant usable in
17179 #if and use that to give value to enum constant.
17180 (FP_INFINITE): Likewise.
17181 (FP_ZERO): Likewise.
17182 (FP_SUBNORMAL): Likewise.
17183 (FP_NORMAL): Likewise.
17184
b5dcacb4
AS
171852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17186
17187 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17188 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17189 arguments.
17190
f7934be8
RM
171912012-11-02 Roland McGrath <roland@hack.frob.com>
17192
17193 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17194 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17195 autoconf-time if not.
17196 * configure.in: Remove AC_PREREQ.
17197
d7d08bde
TMQMF
171982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17199
17200 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17201 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17202 of the internal implementation.
17203
dcdae19a
JM
172042012-11-02 Joseph Myers <joseph@codesourcery.com>
17205
17206 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17207 except include of <misc/sys/syslog.h>.
17208
d6cffd3e
AS
172092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17210
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17212 function returns with a NULL context exit with zero.
17213
b3563932
TMQMF
172142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17215
17216 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17217
b288a93d
L
172182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17219
17220 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17221 (run_program_cmd): This.
17222 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17223 (tst_langinfo): New variable. Use it.
17224
a2421a68
SAS
172252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17226
17227 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17228 floating point opcodes.
17229
6f796e1b
TS
172302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17231
7402596b
TS
17232 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17233 variable.
17234
d0d4f868
TS
17235 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17236
6f796e1b
TS
17237 * sysdeps/mach/hurd/powerpc: Remove directory.
17238 * sysdeps/mach/powerpc: Likewise.
17239
4da224a2
AS
172402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17241
17242 * scripts/check-local-headers.sh: Ignore c++ headers.
17243
341dd673
TS
172442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17245
17246 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17247 __libc_cleanup_region_start argument.
17248
473611b2
JM
172492012-11-01 Joseph Myers <joseph@codesourcery.com>
17250
17251 [BZ #14784]
17252 [BZ #14785]
17253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17254 x * y using scaling, not as x * y + z.
17255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17257 * math/libm-test.inc (fma_test): Add more tests.
17258 (fma_test_towardzero): Likewise.
17259 (fma_test_downward): Likewise.
17260 (fma_test_upward): Likewise.
17261
4078da3d
TS
172622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17263
17264 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17265
903252aa
JM
172662012-10-31 Joseph Myers <joseph@codesourcery.com>
17267
17268 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17269 New variable.
17270
cbc818d0
TS
172712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17272
17273 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17274
5a03cb1e
AS
172752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17276
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17278 Fix sort order.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17280 Likewise.
17281
90aff2ff
TMQMF
172822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17283
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17285 Fix the order of the list for glibc 2.17.
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17287 Likewise.
17288
1818fcb7
AS
172892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17290
17291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17292
ef82f4da
JM
172932012-10-31 Joseph Myers <joseph@codesourcery.com>
17294
16a0e2ec
JM
17295 [BZ #14610]
17296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17297 for low part of x being zero before using __atanl (y).
17298 * math/libm-test.inc (atan2_test): Add another test.
17299
0eb69512
JM
17300 * manual/install.texi (Configuring and compiling): Document
17301 general use of test-wrapper and test-wrapper-env.
17302 * INSTALL: Regenerated.
17303
ef82f4da
JM
17304 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17305 (__fma): Do not extract and scale down low bits on after-rounding
17306 systems when result rounded to normal precision would have normal
17307 exponent.
17308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17309 (__fmal): Do not extract and scale down low bits on after-rounding
17310 systems when result rounded to normal precision would have normal
17311 exponent.
17312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17313 (__fmal): Do not extract and scale down low bits on after-rounding
17314 systems when result rounded to normal precision would have normal
17315 exponent.
17316 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17317 macro.
17318 (fma_test): Add more tests.
17319 (fma_test_towardzero): Likewise.
17320 (fma_test_downward): Likewise.
17321 (fma_test_upward): Likewise.
17322
954ef0d9
L
173232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17324
17325 * sysdeps/i386/tininess.h: Renamed to ...
17326 * sysdeps/x86/tininess.h: This.
17327 * sysdeps/x86_64/tininess.h: Removed.
17328
df61ffb2
JM
173292012-10-30 Joseph Myers <joseph@codesourcery.com>
17330
17331 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17332 input. Use $(build-program-cmd).
17333 ($(objpfx)tst-array1-static.out): Likewise.
17334 ($(objpfx)tst-array2.out): Likewise.
17335 ($(objpfx)tst-array3.out): Likewise.
17336 ($(objpfx)tst-array4.out): Likewise.
17337 ($(objpfx)tst-array5.out): Likewise.
17338 ($(objpfx)tst-array5-static.out): Likewise.
17339
01767843
CM
173402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17341
47cc1490
CM
17342 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17343 if defined.
17344
01767843
CM
17345 * nss/nsswitch.h (nss_interface_function): Provide new
17346 macro for use with NSS functions.
17347 * grp/initgroups.c: Use new macro.
17348 * nss/getXXbyYY.c: Likewise.
17349 * nss/getXXbyYY_r.c: Likewise.
17350 * nss/getXXent.c: Likewise.
17351 * nss/getXXent_r.c: Likewise.
17352 * sysdeps/posix/getaddrinfo.c: Likewise.
17353
8321aa97
AJ
173542012-10-30 Andreas Jaeger <aj@suse.de>
17355
17356 * po/ru.po: Update Russion translation from translation project.
17357
2a27fd6d
JM
173582012-10-30 Joseph Myers <joseph@codesourcery.com>
17359
8627a232
JM
17360 [BZ #14152]
17361 [BZ #14783]
17362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17363 result and shift together with sticky bit instead of replicating
17364 round-to-nearest rounding.
17365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17367 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17368 missing underflow exceptions.
17369 (fma_test_towardzero): Add more tests.
17370 (fma_test_downward): Likewise.
17371 (fma_test_upward): Likewise.
17372
2a27fd6d
JM
17373 [BZ #14047]
17374 * sysdeps/generic/tininess.h: New file.
17375 * sysdeps/i386/tininess.h: Likewise.
17376 * sysdeps/sh/tininess.h: Likewise.
17377 * sysdeps/x86_64/tininess.h: Likewise.
17378 * stdlib/tst-strtod-underflow.c: Likewise.
17379 * stdlib/tst-tininess.c: Likewise.
17380 * stdlib/strtod_l.c: Include <tininess.h>.
17381 (round_and_return): Do not set errno for exact underflow cases.
17382 Force an underflow exception when setting errno for underflow.
17383 Determine underflow based on rounding to normal precision if
17384 TININESS_AFTER_ROUNDING.
17385 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17386 ERANGE for exact underflow cases.
17387 * stdlib/Makefile (tests): Add tst-tininess and
17388 tst-strtod-underflow.
17389 ($(objpfx)tst-tininess): Use $(link-libm).
17390 ($(objpfx)tst-strtod-underflow): Likewise.
17391
e7170363
AJ
173922012-10-30 Andreas Jaeger <aj@suse.de>
17393
e5088dc6
AJ
17394 [BZ#14767]
17395 * elf/Makefile (tests): Remove conditional for have-initfini-array
17396 since this is now always required and the variable does not exist
17397 anymore.
17398 (tests-static): Likewise.
17399 (modules-names): Likewise.
17400
e7170363 17401 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17402
17403 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17404 merged with constructor/destructor.
17405 (init_array): Likewise.
17406 * elf/tst-array2dep.c (fini_array): Likewise.
17407 (init_array): Likewise.
17408
60457d8a
MF
174092012-10-29 Mike Frysinger <vapier@gentoo.org>
17410
17411 * manual/message.texi: Delete @cartouche tags.
17412
8bece752
PT
174132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17414
94ce799f
PT
17415 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17416 EOPNOTSUPP.
17417 * sysdeps/mach/hurd/fsync.c: Likewise.
17418
8bece752
PT
17419 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17420 [_POSIX_REALTIME_SIGNALS]: Change condition to
17421 [_POSIX_REALTIME_SIGNALS > 0].
17422
86ebe6b1
AJ
174232012-10-27 Andreas Jaeger <aj@suse.de>
17424
17425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17426 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17428 [__WORDSIZE != 64]: Likewise.
17429
54399c08
L
174302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17431
17432 * iconvdata/tst-table.sh: Remove ${SHELL}.
17433 * iconvdata/tst-tables.sh: Likewise.
17434
e2211bed
DM
174352012-10-25 David S. Miller <davem@davemloft.net>
17436
17437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17438 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17439 of strtoull.
17440
f303f97c
DM
17441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17442 ifunc-impl-list.c
17443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17444 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17445 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17446 file.
17447
1e9d84cd
RM
174482012-10-25 Roland McGrath <roland@hack.frob.com>
17449
17450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17451 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17452 __getdirentries.
17453
df381762
JM
174542012-10-25 Joseph Myers <joseph@codesourcery.com>
17455 Jim Blandy <jimb@codesourcery.com>
17456
17457 * scripts/cross-test-ssh.sh: New file.
17458 * manual/install.texi (Configuring and compiling): Document use of
17459 cross-test-ssh.sh.
17460 * INSTALL: Regenerated.
17461
bff64913
PT
174622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17463
17464 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17465 EOPNOTSUPP.
17466
25fe8932
JM
174672012-10-25 Joseph Myers <joseph@codesourcery.com>
17468
17469 * Makeconfig (run-program-prefix): Fix comment.
17470
cc1290d0
JM
174712012-10-24 Joseph Myers <joseph@codesourcery.com>
17472 Jim Blandy <jimb@codesourcery.com>
17473
17474 * Makeconfig (test-wrapper): New variable,
17475 (test-wrapper-env): Likewise.
17476 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17477 (run-built-tests): Define to yes.
17478 (run-program-prefix): Use $(test-wrapper).
17479 (built-program-cmd): Likewise.
17480 * Rules (make-test-out): Use $(test-wrapper-env) and
17481 $(host-built-program-cmd).
17482 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17483 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17484 tst-pathopt.sh.
17485 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17486 $(test-wrapper-env) to tst-rtld-load-self.sh.
17487 ($(objpfx)order2.out): Use $(test-wrapper).
17488 ($(objpfx)tst-initorder.out): Likewise.
17489 ($(objpfx)tst-initorder2.out): Likewise.
17490 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17491 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17492 (test_wrapper_env): New variable. Use it to run ld.so.
17493 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17494 Use it to run ld.so.
17495 (test_wrapper_env): Likewise.
17496 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17497 $(test-wrapper) to run-iconv-test.sh.
17498 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17499 (ICONV): Use $test_wrapper.
17500 * posix/Makefile ($(objpfx)globtest.out): Pass
17501 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17502 globtest.sh, not $(run-program-prefix).
17503 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17504 (test_wrapper): Likewise.
17505 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17506 set together with run_via_rtld_prefix.
17507 (run_program_prefix): Define in terms of test_wrapper and
17508 run_via_rtld_prefix.
17509
6e6249d0
RM
175102012-10-24 Roland McGrath <roland@hack.frob.com>
17511
17512 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17513 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17514 Targets removed.
17515
17516 [BZ #14743]
17517 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17518 Declare __clock_getres, __clock_gettime, __clock_settime,
17519 __clock_nanosleep, and __clock_getcpuclockid.
17520 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17521 Remove librt_hidden_def (clock_gettime).
17522 * sysdeps/unix/clock_gettime.c: Likewise.
17523 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17525 * rt/clock_getres.c: Define __clock_getres as an alias.
17526 * sysdeps/posix/clock_getres.c: Likewise.
17527 * rt/clock_settime.c: Define __clock_settime as an alias.
17528 * sysdeps/unix/clock_settime.c: Likewise.
17529 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17530 * sysdeps/unix/clock_nanosleep.c: Likewise.
17531 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17532 * rt/clock-compat.c: New file.
17533 * rt/Makefile (librt-routines): Add clock-compat and move
17534 $(clock-routines) to ...
17535 (routines): ... here, new variable.
17536 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17537 Don't add get_clockfreq here.
17538 * rt/Versions (libc: GLIBC_2.17): New version set.
17539 Add clock_* symbols here.
17540 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17542 (GLIBC_2.17): Add clock_* symbols.
17543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17547 Likewise.
17548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17549 Likewise.
17550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17554 * NEWS: Mention the move.
17555
17556 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17557 Use __open, __read, __close rather than their public counterparts.
17558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17559 (__get_clockfreq_via_cpuinfo): Likewise.
17560 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17561 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17562
17563 * config.h.in (HAVE_IFUNC): New #undef.
17564 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17565 was successful.
17566 * configure: Regenerated.
17567
0cae3f4b
MF
175682012-10-24 Mike Frysinger <vapier@gentoo.org>
17569
17570 * configure.in: Move READELF check to start of file.
17571 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17572 libc_cv_asm_gnu_indirect_function in the process.
17573 * configure: Regenerated.
17574
8175a253
MF
175752012-10-24 Mike Frysinger <vapier@gentoo.org>
17576
17577 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17578 send the output to /dev/null.
17579 (libc_cv_cc_with_libunwind): Likewise.
17580 (libc_cv_as_noexecstack): Likewise.
17581 * configure: Regenerate.
17582
0708a7d1
JM
175832012-10-24 Joseph Myers <joseph@codesourcery.com>
17584
10b40d85
JM
17585 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17586
0708a7d1
JM
17587 * posix/globtest.sh (TMPDIR): Do not set.
17588 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17589 (testout): Likewise.
17590
9fddec1a
AJ
175912012-10-24 Andreas Jaeger <aj@suse.de>
17592
3a8db22f
AJ
17593 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17594 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17595 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17596 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17597 posix_fadvise64, posix_fallocate64.
17598
9fddec1a
AJ
17599 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17600 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17601 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17602 Likewise.
17603 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17604 Likewise.
17605 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17606
17607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17608 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17609 <bits/fcntl-linux.h>.
17610 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17611
17612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17613 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17614 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17615 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17616 [__WORDSIZE != 64]: Likewise.
17617
ebfd1bbd
JM
176182012-10-23 Joseph Myers <joseph@codesourcery.com>
17619
03ac099f
JM
17620 * Makeconfig (run-built-tests): New variable.
17621 * Rules [$(cross-compiling) = yes]: Change condition to
17622 [$(run-built-tests) = no].
17623 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17624 to [$(run-built-tests) = yes].
17625 * elf/Makefile [$(cross-compiling) = no]: Likewise
17626 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17627 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17628 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17629 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17630 * io/Makefile [$(cross-compiling) = no]: Likewise.
17631 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17632 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17633 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17634 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17635 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17636 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17637 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17638 * string/Makefile [$(cross-compiling) = no]: Likewise.
17639
ebfd1bbd
JM
17640 * posix/Makefile ($(objpfx)globtest.out): Pass
17641 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17642 $(rtld-installed-name).
17643 * posix/globtest.sh (elf_objpfx): Remove variable.
17644 (rtld_installed_name): Likewise.
17645 (library_path): Likewise.
17646 (run_program_prefix): New variable. Use for running globtest
17647 binary.
17648
166bca24
JB
176492012-10-23 Jim Blandy <jimb@codesourcery.com>
17650 Joseph Myers <joseph@codesourcery.com>
17651
17652 * Makeconfig (host-built-program-cmd): New variable.
17653 * elf/Makefile (tst-stackguard1-ARGS): Use
17654 $(host-built-program-cmd).
17655 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17656 (tst-spawn-ARGS): Likewise.
17657 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17658
88866099
JM
176592012-10-23 Joseph Myers <joseph@codesourcery.com>
17660 Jim Blandy <jimb@codesourcery.com>
17661
17662 * Makeconfig (run-via-rtld-prefix): New variable.
17663 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17664 (built-program-cmd): Likewise.
17665
b4b4c296
AJ
176662012-10-22 Andreas Jaeger <aj@suse.de>
17667
17668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17669 __O_RSYNC if it exists, otherwise to O_SYNC.
17670
6fb54a22
JB
176712012-10-22 Jim Blandy <jimb@codesourcery.com>
17672 Joseph Myers <joseph@codesourcery.com>
17673
17674 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17675 /dev/null.
17676 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17677 from /dev/null
17678 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17679 /dev/null.
17680
481b90b9
AJ
176812012-10-22 Andreas Jaeger <aj@suse.de>
17682
2a0e2669
AJ
17683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17684 Define always.
17685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17686
76e38f9a
AJ
17687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17688 bits/fcntl-linux.h.
17689
7cd37b43
AJ
17690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17691 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17692
481b90b9
AJ
17693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17694 to __O_LARGEFILE.
17695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17696 to __O_LARGEFILE.
17697
aba75984
JB
176982012-10-21 Jim Blandy <jimb@codesourcery.com>
17699 Joseph Myers <joseph@codesourcery.com>
17700
17701 * config.make.in (NM): New variable.
17702
88d4247f
AJ
177032012-10-21 Andreas Jaeger <aj@suse.de>
17704
17705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17706 definitions and declarations that are provided by
17707 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17708
f2eed205
L
177092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 [BZ #14683]
17712 * elf/Makefile (tests-static): Add tst-leaks1-static.
17713 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17714 ($(objpfx)tst-leaks1-static): New rule.
17715 ($(objpfx)tst-leaks1-static-mem): Likewise.
17716 (tst-leaks1-static-ENV): New macro.
17717 * elf/dl-open.c (dl_open_worker): Check the main application
17718 only if SHARED is defined.
17719 * elf/tst-leaks1-static.c: New file.
17720
335e6931
AJ
177212012-10-20 Andreas Jaeger <aj@suse.de>
17722
17723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17724 generic values for Linux.
17725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17726 and declarations that are provided by <bits/fcntl-linux.h> and
17727 include <bits/fcntl-linux.h>.
17728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17730
ac5c94d3
RM
177312012-10-20 Roland McGrath <roland@hack.frob.com>
17732
17733 * io/fcntl.h: Move include of <bits/types.h> to the top and
17734 include it unconditionally.
17735
de54b33a
L
177362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17737
228cfb01
L
17738 * wcsmbs/Makefile (tests-ifunc): New variable.
17739 (tests): Add $(tests-ifunc).
17740 * wcsmbs/test-wcschr-ifunc.c: New file.
17741 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17742 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17743 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17744 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17745 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17746
69f07e5f
L
17747 * string/Makefile (tests-ifunc): New variable.
17748 (tests): Add $(tests-ifunc).
17749 * string/test-memccpy.c (TEST_NAME): New macro.
17750 * string/test-memchr.c (TEST_NAME): Likewise.
17751 * string/test-memcmp.c (TEST_NAME): Likewise.
17752 * string/test-memcpy.c (TEST_NAME): Likewise.
17753 * string/test-memmem.c (TEST_NAME): Likewise.
17754 * string/test-memmove.c (TEST_NAME): Likewise.
17755 * string/test-memset.c (TEST_NAME): Likewise.
17756 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17757 * string/test-stpcpy.c (TEST_NAME): Likewise.
17758 * string/test-stpncpy.c (TEST_NAME): Likewise.
17759 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17760 * string/test-strcasestr.c (TEST_NAME): Likewise.
17761 * string/test-strcat.c (TEST_NAME): Likewise.
17762 * string/test-strchr.c (TEST_NAME): Likewise.
17763 * string/test-strcmp.c(TEST_NAME): Likewise.
17764 * string/test-strcpy.c (TEST_NAME): Likewise.
17765 * string/test-strcspn.c (TEST_NAME): Likewise.
17766 * string/test-strlen.c (TEST_NAME): Likewise.
17767 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17768 * string/test-strncmp.c (TEST_NAME): Likewise.
17769 * string/test-strncpy.c (TEST_NAME): Likewise.
17770 * string/test-strnlen.c (TEST_NAME): Likewise.
17771 * string/test-strpbrk.c (TEST_NAME): Likewise.
17772 * string/test-strrchr.c (TEST_NAME): Likewise.
17773 * string/test-strspn.c (TEST_NAME): Likewise.
17774 * string/test-strstr.c (TEST_NAME): Likewise.
17775 * string/test-bcopy-ifunc.c: New file.
17776 * string/test-bzero-ifunc.c: Likewise.
17777 * string/test-memccpy-ifunc.c: Likewise.
17778 * string/test-memchr-ifunc.c: Likewise.
17779 * string/test-memcmp-ifunc.c: Likewise.
17780 * string/test-memcpy-ifunc.c: Likewise.
17781 * string/test-memmem-ifunc.c: Likewise.
17782 * string/test-memmove-ifunc.c: Likewise.
17783 * string/test-mempcpy-ifunc.c: Likewise.
17784 * string/test-memset-ifunc.c: Likewise.
17785 * string/test-rawmemchr-ifunc.c: Likewise.
17786 * string/test-stpcpy-ifunc.c: Likewise.
17787 * string/test-stpncpy-ifunc.c: Likewise.
17788 * string/test-strcasecmp-ifunc.c: Likewise.
17789 * string/test-strcasestr-ifunc.c: Likewise.
17790 * string/test-strcat-ifunc.c: Likewise.
17791 * string/test-strchr-ifunc.c: Likewise.
17792 * string/test-strchrnul-ifunc.c: Likewise.
17793 * string/test-strcmp-ifunc.c: Likewise.
17794 * string/test-strcpy-ifunc.c: Likewise.
17795 * string/test-strcspn-ifunc.c: Likewise.
17796 * string/test-strlen-ifunc.c: Likewise.
17797 * string/test-strncasecmp-ifunc.c: Likewise.
17798 * string/test-strncat-ifunc.c: Likewise.
17799 * string/test-strncmp-ifunc.c: Likewise.
17800 * string/test-strncpy-ifunc.c: Likewise.
17801 * string/test-strnlen-ifunc.c: Likewise.
17802 * string/test-strpbrk-ifunc.c: Likewise.
17803 * string/test-strrchr-ifunc.c: Likewise.
17804 * string/test-strspn-ifunc.c: Likewise.
17805 * string/test-strstr-ifunc.c: Likewise.
17806
de54b33a
L
17807 * debug/Makefile (tests-ifunc): New variable.
17808 (tests): Add $(tests-ifunc).
17809 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17810 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17811 * debug/test-stpcpy_chk-ifunc.c: New file.
17812 * debug/test-strcpy_chk-ifunc.c: Likewise.
17813
88481c16
SP
178142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17815
17816 [BZ #13601]
17817 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17818 header is not read in.
17819
135948bd
JM
178202012-10-19 Joseph Myers <joseph@codesourcery.com>
17821
89f1c388
JM
17822 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17823 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17824 directly. Pass built executable to script as
17825 $(built-program-cmd).
17826 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17827 $testprogram without using LD_LIBRARY_PATH and $ldso.
17828
e40a0d21
JM
17829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17830 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17831 $(rtld-installed-name).
17832 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17833 (rtld_installed_name): Likewise.
17834 (library_path): Likewise.
17835 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17836 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17837 $(run-program-prefix) to tst-tables.sh.
17838 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17839 it to run tst-table-from and tst-table-to.
17840 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17841 Pass it to tst-table.sh.
17842 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17843 $(run-program-prefix) to tst-gettext.sh.
17844 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17845 tst-translit.sh.
17846 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17847 tst-gettext2.sh.
17848 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17849 to run tst-gettext.
17850 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17851 to run tst-gettext2.
17852 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17853 to run tst-translit.
17854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17855 $(run-program-prefix) to tst-mtrace.sh.
17856 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17857 to run tst-mtrace.
17858 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17859 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17860 $(rtld-installed-name).
17861 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17862 (rtld_installed_name): Likewise.
17863 (run_program_prefix): New variable. Use it to run wordexp-test.
17864
728e272a
JM
17865 * Makeconfig (ARCH): Remove all definitions.
17866 (machine): Likewise.
17867 [ARCH]: Remove conditional code.
17868 [!objdir]: Give error.
17869 [!objdir] (objpfx): Remove.
17870 [!objdir] (common-objpfx): Likewise.
17871 [!objdir] (common-objdir): Likewise.
17872 * configure.in (config_makefile): Remove. Hardcode Makefile in
17873 AC_CONFIG_FILES call.
17874 * configure: Regenerated.
17875
d528cdcf
JM
17876 [BZ #13888]
17877 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17878 or TMPDIR.
17879 (testout): Likewise.
17880
135948bd
JM
17881 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17882 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17883 $(rtld-installed-name).
17884 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17885 (rtld_installed_name): Likwise.
17886 (runit): Remove function.
17887 (run_getconf): New variable, Use it for running getconf binary.
17888
38c78296
L
178892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17890
17891 [BZ #14716]
17892 * string/test-memmem.c (check_result): New function.
17893 (do_one_test): Use it.
17894 (check1): New function.
17895 (test_main): Use it.
17896
d077f65f
MT
178972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17898
17899 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17900
ced52c71
JM
179012012-10-18 Joseph Myers <joseph@codesourcery.com>
17902
17903 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17904 (_G_LSEEK64): Likewise.
17905 (_G_MMAP64): Likewise.
17906 (_G_FSTAT64): Likewise.
17907 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17908 (_G_LSEEK64): Likewise.
17909 (_G_MMAP64): Likewise.
17910 (_G_FSTAT64): Likewise.
17911 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17912 unconditional. Call __mmap64 directly.
17913 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17914 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17915 __lseek64 directly.
17916 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17917 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17918 __mmap64 directly.
17919 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17920 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17921 __lseek64 directly.
17922 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17923 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17924 __lseek64 directly.
17925 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17926 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17927 __lseek64 directly.
17928 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17929 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17930 __fxstat64 directly.
17931 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17932 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17933 unconditional.
17934 (freopen64) [!_G_OPEN64]: Remove conditional code.
17935 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17936 unconditional.
17937 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17938 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17939 unconditional.
17940 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17941 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17942 unconditional.
17943 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17944 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17945 unconditional.
17946 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17947 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17948 unconditional.
17949 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17950 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17951 unconditional.
17952 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17953 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17954 unconditional.
17955 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17956
b741de23
SP
179572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17958
17959 [BZ #12140]
17960 * manual/memory.texi (Malloc Tunable Parameters): Add note
17961 about free list pointers overwriting some perturb bytes.
17962 Wording suggested by Roland McGrath.
17963
f9b9d9c9
JM
179642012-10-17 Joseph Myers <joseph@codesourcery.com>
17965
17966 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17967 (lgamma_test): Likewise.
17968 (tgamma_test): Likewise.
17969
172a631a
FW
179702012-10-16 Florian Weimer <fweimer@redhat.com>
17971
17972 [BZ #14700]
17973 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17974 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17975
e9f37252
MK
179762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17977
17978 * NEWS: Mention BZ #14716.
17979 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17980 when removing AVAILABLE1_USES_J macro.
17981
d394eb74
L
179822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17983
17984 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17985 (__bswap_64): __uint64_t for unsigned 64-bit int.
17986
ca38dc17
AS
179872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17988
17989 * include/string.h (memmem): Declare libc hidden alias.
17990 * string/memmem.c (memmem): Define libc hidden alias.
17991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17992 __read, __close instead of open, read, close.
17993
9a387d1f
L
179942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17995
ac49ecaf
L
17996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17997 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17998 global and hidden.
17999 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18000 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18001 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18002 Likewise.
18003 (__rawmemchr_sse2): Likewise.
18004 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18005 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18006 (__strchr_sse2): Likewise.
18007 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18008 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18009 (__strcasecmp_sse2): Likewise.
18010 (__strncasecmp_sse2): Likewise.
18011 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18012 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18013 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18014 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18015 (__strrchr_sse2): Likewise.
18016 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18017 ifunc-impl-list.c.
18018 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18019 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18020 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18026 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18027 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18028 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18029 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18030 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18031 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18032 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18033 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18034 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18035 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18036 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18037 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18038 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18039 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18040 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18041 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18042 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18045 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18046 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18047 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18048
b090e8ea
L
18049 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18050 global and hidden.
18051 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18052 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18053 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18054 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18055 Likewise.
18056 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18057 Likewise.
18058 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18059 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18060 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18061 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18062 ifunc-impl-list.c.
18063 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18064 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18072 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18097 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18104
11dd4af6
L
18105 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18106 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18107 * include/ifunc-impl-list.h: New file.
18108 * misc/ifunc-impl-list.c: Likewise.
18109 * misc/Makefile (routines): Add ifunc-impl-list.
18110 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18111 * string/test-string.h: Include <ifunc-impl-list.h>.
18112 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18113 impl_array): New variables.
18114 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18115 are defined.
18116 (test_init): Call __libc_ifunc_impl_list to initialize
18117 func_list if TEST_IFUNC and TEST_NAME are defined.
18118
9a387d1f
L
18119 * string/Makefile (strop-tests): Add bcopy and bzero.
18120 * string/test-bcopy.c: New file.
18121 * string/test-bzero.c: Likewise.
18122 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18123 defined.
18124 * string/test-memset.c: Support bzero test if TEST_BZERO is
18125 defined.
18126 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18127 __libc_memmove.
18128 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18129 __libc_memset.
18130 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18131 of memset.
18132
472371b9
JM
181332012-10-10 Joseph Myers <joseph@codesourcery.com>
18134
1e4a9536
JM
18135 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18136 * configure: Regenerated.
18137
d173d12e
JM
18138 * Makeconfig (+link-static-before-libc): Don't include
18139 $(link-static-libc).
18140
472371b9
JM
18141 * libio/libio.h (_IO_pos_t): Remove.
18142
89a3ad0b
AO
181432012-10-10 Alexandre Oliva <aoliva@redhat.com>
18144
18145 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18146 McGrath.
18147
e7451425
AO
181482012-10-10 Alexandre Oliva <aoliva@redhat.com>
18149
18150 * crypt/crypt-entry.c: Include fips-private.h.
18151 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18152 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18153 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18154 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18155
4ba74a35
AO
181562012-10-10 Alexandre Oliva <aoliva@redhat.com>
18157
18158 * crypt/crypt-private.h: Include stdbool.h.
18159 (_ufc_setup_salt_r): Return bool.
18160 * crypt/crypt-entry.c: Include errno.h.
18161 (__crypt_r): Return NULL with EINVAL for bad salt.
18162 * crypt/crypt_util.c (bad_for_salt): New.
18163 (_ufc_setup_salt_r): Check that salt is long enough and within
18164 the specified alphabet.
18165 * crypt/badsalttest.c: New file.
18166 * crypt/Makefile (tests): Add it.
18167 ($(objpfx)badsalttest): New.
18168
f96f1242
MK
181692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18170
18171 * NEWS: Add entry for BZ #14602.
18172
0e8e0c1c
JM
181732012-10-09 Joseph Myers <joseph@codesourcery.com>
18174
18175 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18176 type-generic.
18177 * math/libm-test.inc: Update comment listing what functions and
18178 macros are tested.
18179 (isgreater_test): New function.
18180 (isgreaterequal_test): Likewise.
18181 (isless_test): Likewise.
18182 (islessequal_test): Likewise.
18183 (islessgreater_test): Likewise.
18184 (isunordered_test): Likewise.
18185 (main): Call the new functions.
18186
273edc5e
RM
181872012-10-09 Roland McGrath <roland@hack.frob.com>
18188
b8493de0
RM
18189 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18190 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18191 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18192 * sysdeps/i386/configure: Regenerated.
18193 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18194 * sysdeps/mach/configure: Regenerated.
18195 * sysdeps/mach/hurd/configure: Regenerated.
18196 * sysdeps/powerpc/configure: Regenerated.
18197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18199 * sysdeps/s390/s390-32/configure: Regenerated.
18200 * sysdeps/s390/s390-64/configure: Regenerated.
18201 * sysdeps/sh/configure: Regenerated.
18202 * sysdeps/sparc/configure: Regenerated.
18203 * sysdeps/unix/sysv/linux/configure: Regenerated.
18204 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18205 * sysdeps/x86_64/configure: Regenerated.
18206
273edc5e
RM
18207 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18208 defined. Don't check if MAP is NULL.
18209
c8450f70
JM
182102012-10-09 Joseph Myers <joseph@codesourcery.com>
18211
18212 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18213 (_G_stat64): Likewise.
18214 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18215 (_G_stat64): Likewise.
18216 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18217 instead of struct _G_stat64.
18218 * libio/fileops.c (mmap_remap_check): Likewise.
18219 (decide_maybe_mmap): Likewise.
18220 (_IO_new_file_seekoff): Likewise.
18221 (_IO_file_stat): Likewise.
18222 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18223 _G_off64_t.
18224 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18225 instead of struct _G_stat64.
18226 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18227
57e605ba
MK
182282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18229
18230 [BZ #14602]
18231 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18232 Replace with ...
18233 (CHECK_EOL): New macro.
18234 (two_way_short_needle): Check beginning of haystack for EOL. Use
18235 CHECK_EOL.
18236 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18237 Replace with CHECK_EOL.
18238 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18239 Replace with CHECK_EOL.
18240
ef1bb361
JM
182412012-10-08 Joseph Myers <joseph@codesourcery.com>
18242
18243 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18244 type-generic.
18245 * math/libm-test.inc: Update comment listing what functions and
18246 macros are tested.
18247 (finite_test): New function.
18248 (isinf_test): Likewise.
18249 (isnan_test): Likewise.
18250 (fpclassify_test): Test subnormal input.
18251 (isfinite_test): Likewise.
18252 (isnormal_test): Likewise.
18253 (main): Call the new functions.
18254
55f11534
JN
182552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18256
18257 [BZ #14660]
18258 * Makerules (%.dynsym): Force C locale when running
18259 $(OBJDUMP) --dynamic-syms.
18260
1ab29350
AS
182612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18262
18263 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18264 <stdint.h>.
18265
f1ecb7ef
DM
182662012-10-06 David S. Miller <davem@davemloft.net>
18267
18268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18269 upper 32-bits of the length value in %o2 since we use branch-on-register
18270 tests which consider the entire 64-bit register.
18271
5d41d91a
L
182722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18273
18274 * string/test-strstr.c (check2): Add a test for page boundary.
18275
3baddb72
DM
182762012-10-05 David S. Miller <davem@davemloft.net>
18277
18278 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18279 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18280 file.
18281 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18282 sysdep_routines.
18283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18284 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18285 and bzero when HWCAP_SPARC_CRYPTO is present.
18286
9cee5585
L
182872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18288
d7e0dab9
L
18289 [BZ #14602]
18290 * string/test-strstr.c (check2): New function.
18291 (test_main): Call check2.
18292
03759f47
L
18293 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18294 and bug-strchr1.
18295 * string/bug-strcasestr1.c (do_test): Moved to ...
18296 * string/test-strcasestr.c (check1): Here. New function.
18297 (do_one_test): Break out result checking code into ...
18298 (check_result): This. New function.
18299 (do_one_test): Call check_result.
18300 (test_main): Call check1.
18301 * string/bug-strchr1.c (do_test): Moved to ...
18302 * string/test-strchr.c (check1): Here. New function.
18303 (do_one_test): Break out result checking code into ...
18304 (check_result): This. New function.
18305 (do_one_test): Call check_result.
18306 (test_main): Call check1.
18307 * string/bug-strstr1.c (main): Moved to ...
046f153e 18308 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18309 (do_one_test): Break out result checking code into ...
18310 (check_result): This. New function.
18311 (do_one_test): Call check_result.
18312 (test_main): Call check1.
18313 * string/bug-strcasestr1.c: Removed.
18314 * string/bug-strchr1.c: Likewise.
18315 * string/bug-strstr1.c: Likewise.
18316
53cea63e
L
18317 * elf/Makefile (dl-routines): Add hwcaps.
18318 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18319 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18320 (_dl_important_hwcaps): Moved to ...
18321 * elf/dl-hwcaps.c: Here. New file.
18322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18323
9cee5585 18324 [BZ #14557]
bb859b06
L
18325 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18326 if IS_IN_rtld isn't defined.
18327
9cee5585
L
18328 * elf/dl-support.c (_dl_sysinfo_map): New.
18329 Include "get-dynamic-info.h" and "setup-vdso.h".
18330 (_dl_non_dynamic_init): Call setup_vdso.
18331 * elf/dynamic-link.h: Don't include <assert.h>.
18332 (elf_get_dynamic_info): Moved to ...
18333 * elf/get-dynamic-info.h: Here. New file.
18334 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18335 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18336 * elf/setup-vdso.h: Here. New file.
18337 * elf/rtld.c: Include "setup-vdso.h".
18338 (dl_main): Call setup_vdso.
18339
23c31b76
JM
183402012-10-05 Joseph Myers <joseph@codesourcery.com>
18341
28234b07
JM
18342 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18343 creal in comment listing functions tested. List finite, isinf,
18344 isnan, isless, islessequal, isgreater, isgreaterequal,
18345 islessgreater, isunordered, lgamma_r and pow10 as functions and
18346 macros not tested. Mention which functions not tested are aliases
18347 for other functions. Fix typo. Note that signs of NaNs are not
18348 tested.
18349
23c31b76
JM
18350 * scripts/config.guess: Update from config.git.
18351 * scripts/config.sub: Likewise.
18352
9043e228
RM
183532012-10-04 Roland McGrath <roland@hack.frob.com>
18354
18355 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18356 * misc/madvise.c (madvise): Renamed to __madvise.
18357 Make madvise a weak alias.
18358 * include/sys/mman.h: Declare __madvise.
18359 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18360 * sysdeps/unix/syscalls.list
18361 (madvise): Make __madvise the strong name, and madvise a weak alias.
18362 * sysdeps/unix/sysv/linux/syscalls.list
18363 (madvise, mmap): Remove redundant entries.
18364 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18365 * malloc/malloc.c (mtrim): Likewise.
18366 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18367
f57f8055
RM
183682012-10-03 Roland McGrath <roland@hack.frob.com>
18369
18370 * sysdeps/mach/hurd/dl-cache.c: File removed.
18371 * config.h.in (USE_LDCONFIG): New #undef.
18372 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18373 * configure: Regenerated.
18374 * elf/Makefile (dl-routines): Add dl-cache only under
18375 [$(use-ldconfig) = yes].
18376 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18377 cache on [USE_LDCONFIG].
18378 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18379 [USE_LDCONFIG].
18380 * elf/rtld.c (dl_main): Likewise.
18381
5bb0c10a
PT
183822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18383
18384 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18385 _SC_LEVEL4_CACHE_LINESIZE.
18386
010188c6
RM
183872012-10-03 Roland McGrath <roland@hack.frob.com>
18388
18389 * sysdeps/unix/bsd/confstr.h: File removed.
18390
b6c5ec07
AO
183912012-10-02 Alexandre Oliva <aoliva@redhat.com>
18392
18393 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18394 sys/sdt-config.h.
18395
408223d4
RM
183962012-10-02 Roland McGrath <roland@hack.frob.com>
18397
18398 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18399 Make 'mapoff' field ElfW(Off) rather than off_t.
18400
bb9510dc
DL
184012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18402
fc997c6e
DL
18403 * nscd/Makefile: Remove nscd-cflags and all its users.
18404 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18405 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18406
bb9510dc
DL
18407 [BZ #10631]
18408 * malloc.c (malloc_printerr): Clarify error message.
18409
05699367
L
184102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18411
18412 [BZ #14648]
18413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18414 Set bit_FMA_Usable if FMA is supported.
18415 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18416 macro.
18417 (bit_FMA4_Usable): Updated.
18418 (index_FMA_Usable): New macro.
18419 (CPUID_FMA): Likewise
18420 (HAS_FMA): Defined with bit_FMA_Usable.
18421
51367701
RM
184222012-10-01 Roland McGrath <roland@hack.frob.com>
18423
18424 * bits/types.h (__swblk_t): Type removed.
18425 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18426 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18428 (__SWBLK_T_TYPE): Likewise.
18429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18430 (__SWBLK_T_TYPE): Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18432 (__SWBLK_T_TYPE): Likewise.
18433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18434 (__SWBLK_T_TYPE): Likewise.
18435
4d57bf63 184362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18437 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18438
18439 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18440 (xdr_mapname): Use YPMAXMAP as maxsize.
18441 (xdr_peername): Use YPMAXPEER as maxsize.
18442 (xdr_keydat): Use YPAXRECORD as maxsize.
18443 (xdr_valdat): Use YPMAXRECORD as maxsize.
18444
93c65d43
RM
184452012-10-01 Roland McGrath <roland@hack.frob.com>
18446
497a03d6
RM
18447 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18448
93c65d43
RM
18449 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18450 * csu/init-first.c: ... here.
18451 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18452 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18454 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18455 * sysdeps/i386/init-first.c: File removed.
18456 * sysdeps/sh/init-first.c: File removed.
18457
bec749fd
JM
184582012-10-01 Joseph Myers <joseph@codesourcery.com>
18459
18460 [BZ #14645]
18461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18462 if x * y might underflow to zero and z is zero.
18463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18465 * math/libm-test.inc (min_subnorm_value): New variable.
18466 (fma_test): Add more tests.
18467 (fma_test_towardzero): Likewise.
18468 (fma_test_downward): Likewise
18469 (fma_test_upward): Likewise.
18470 (initialize): Set min_subnorm_value.
18471
8ec5b013
JM
184722012-09-29 Joseph Myers <joseph@codesourcery.com>
18473
18474 [BZ #14638]
18475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18476 0 + 0.
18477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18478 mode for addition resulting in exact zero.
18479 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18481 exact 0 + 0.
18482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18484 * math/libm-test.inc (fma_test): Add more tests.
18485 (fma_test_towardzero): New function.
18486 (fma_test_downward): Likewise.
18487 (fma_test_upward): Likewise.
18488 (main): Call the new functions.
18489
b1fa802e
DM
184902012-09-28 David S. Miller <davem@davemloft.net>
18491
18492 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18493
d3b9fd9e
RM
184942012-09-28 Roland McGrath <roland@hack.frob.com>
18495
ea4d37b3
RM
18496 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18497 instead of SIGALRM.
18498
ac51c949
RM
18499 * sysdeps/gnu/_G_config.h: Moved to ...
18500 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18501 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18502 * sysdeps/generic/_G_config.h: ... here.
18503
28c195f7
RM
18504 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18505
848917f9
RM
18506 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18507
6bacf05b
RM
18508 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18509 Conditionalize target on [libnss_test1.so-version].
18510
91363dbb
RM
18511 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18512
cc87f7d8
RM
18513 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18514 (elfobjdir): Move out of conditionals.
18515
b1c608fe
RM
18516 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18517 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18518 (__nss_lookup_function): Conditionalize label remove_from_tree on
18519 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18520
1d9a6d96
DM
185212012-09-28 David S. Miller <davem@davemloft.net>
18522
18523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18525 file.
18526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18527 sysdep_routines.
18528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18530 when HWCAP_SPARC_CRYPTO is present.
18531
72581615
PT
185322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18533
18534 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18535
715a900c
JL
185362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18537
18538 [BZ #6530]
18539 * stdio-common/vfprintf.c (process_string_arg): Revert
18540 2000-07-22 change.
18541
185422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18543
18544 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18545 for testcase.
18546 * stdio-common/tst-sprintf.c: Include <locale.h>
18547 (main): Test sprintf's handling of incomplete multibyte
18548 characters.
18549
9bac1d86
L
185502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18551
18552 * elf/dl-runtime.c (VERSYMIDX): Removed.
18553 * elf/dl-version.c (VERSYMIDX): Likewise.
18554 * elf/do-rel.h (VERSYMIDX): Likewise.
18555 (VALIDX): Likewise.
18556 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18557 * elf/rtld.c (VALIDX): Likewise.
18558 (ADDRIDX): Likewise.
9bac1d86
L
18559 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18560 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18561 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18562 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18563 (VALIDX): Likewise.
18564 (ADDRIDX): Likewise.
9bac1d86 18565
b31606c0
PT
185662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18567
18568 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18569
11541177
JL
185702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18571
18572 [BZ #11438]
18573 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18574 to global scope.
18575 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18576 addresses are in the same scope as 192.0.2/24.
18577 * posix/gai.conf: Document new scope table defaults.
18578
adb26fae
SP
185792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18580
18581 [BZ #5298]
18582 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18583 for ftell. Compute offsets from write pointers instead.
18584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18585
4573c6b0
SP
185862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18587
18588 [BZ #14543]
18589 * libio/Makefile (tests): New test case tst-fseek.
18590 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18591 combination works in wide mode.
18592 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18593 state when the external buffer state changes.
18594
aa9bbfe6
DM
185952012-09-27 David S. Miller <davem@davemloft.net>
18596
18597 [BZ #14376]
18598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18599 pass reloc->r_addend in as the 'high' argument to
18600 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18601
784421e7
DM
18602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18603
c39bc8b8
PT
186042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18605
18606 * rt/tst-aio2.c: Include <pthread.h>.
18607 * rt/tst-aio3.c: Likewise.
18608
1ccc2399
SE
186092012-09-27 Steve Ellcey <sellcey@mips.com>
18610
18611 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18612
31ed4153
L
186132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18614
25f5f885
L
18615 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18616 contents on [SHARED].
31ed4153 18617
b7bfe116
MP
186182012-09-26 Marek Polacek <polacek@redhat.com>
18619
18620 [BZ #14530]
18621 [BZ #13741]
18622 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18623 for C++ and GCC <4.3 as well as for non GCC compilers.
18624
43c4edba
MT
186252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18626
18627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18628
6a1bf82f
RM
186292012-09-25 Roland McGrath <roland@hack.frob.com>
18630
18631 * Makefile.in (all, install): Declare with .PHONY.
18632 Reported by Michael Hope <michael.hope@linaro.org>.
18633
8ad11b9a
TMQMF
186342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18635
18636 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18637 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18638 system header.
18639 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18640 Likewise.
18641 (sydep_routines): Add the new and the internal functions.
18642 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18643 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18645 (GLIBC_2.17): Add the new function.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18647 (GLIBC_2.17): Likewise.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18649 (GLIBC_2.17): Likewise.
18650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18651 (GLIBC_2.17): Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18653
7e2fca8d
AM
186542012-09-25 Alan Modra <amodra@gmail.com>
18655
18656 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18657 Add release barrier before setting once_control to say
18658 initialisation is done. Add hints on lwarx. Use macro in
18659 place of isync.
18660 (clear_once_control): Add release barrier.
18661
b87c4b24
JM
186622012-09-25 Joseph Myers <joseph@codesourcery.com>
18663
d032e0d2
JM
18664 [BZ #13629]
18665 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18666 specially.
18667 * math/s_clog10.c (__clog10): Likewise.
18668 * math/s_clog10f.c (__clog10f): Likewise.
18669 * math/s_clog10l.c (__clog10l): Likewise.
18670 * math/s_clogf.c (__clogf): Likewise.
18671 * math/s_clogl.c (__clogl): Likewise.
18672 * math/Makefile (libm-calls): Add x2y2m1.
18673 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18674 (__x2y2m1): Likewise.
18675 (__x2y2m1l): Likewise.
18676 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18677 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18678 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18680 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18681 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18682 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18683 * sysdeps/i386/fpu/libm-test-ulps: Update.
18684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18685
b87c4b24
JM
18686 [BZ #14621]
18687 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18688 int as type of variable DEPTH.
18689 (glob): Use size_t instead of int as type of variables NEWCOUNT
18690 and OLD_PATHC.
18691
6d3bf199
LD
186922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18693
22bf5c17
LD
18694 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18695 Add s_sincosf-sse2.
18696 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18698 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18699 macros for using routine as __sincosf_ia32.
18700 Use macro for function declaration and weak_alias.
18701 * sysdeps/i386/fpu/libm-test-ulps: Update.
18702
18703 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18705
18706 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18707 subnormal argument.
18708 * math/s_cexpf.c (__cexpf): Likewise.
18709 * math/s_csinf.c (__csinf): Likewise.
18710 * math/s_csinhf.c (__csinhf): Likewise.
18711 * math/s_ctanf.c (__ctanf): Likewise.
18712 * math/s_ctanhf.c (__ctanhf): Likewise.
18713 * math/s_ccosh.c (__ccoshf): Likewise.
18714 * math/s_cexp.c (__cexpl): Likewise.
18715 * math/s_csin.c (__csin): Likewise.
18716 * math/s_csinh.c (__csinh): Likewise.
18717 * math/s_ctan.c (__ctan): Likewise.
18718 * math/s_ctanh.c (ctanh): Likewise.
18719 * math/s_ccoshl.c (__ccoshl): Likewise.
18720 * math/s_cexpl.c (__cexpl): Likewise.
18721 * math/s_csinl.c (__csinl): Likewise.
18722 * math/s_csinhl.c (__csinhl): Likewise.
18723 * math/s_ctanl.c (__ctanl): Likewise.
18724 * math/s_ctanhl.c (__ctanhl): Likewise.
18725
203e5603
JM
187262012-09-25 Joseph Myers <joseph@codesourcery.com>
18727
18728 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18729 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18730 (_IO_off_t): Define to __off_t, not _G_off_t.
18731 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18732 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18733 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18734 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18735 type of __dummy and __dummy2 fields.
18736 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18737 (_G_ssize_t): Likewise.
18738 (_G_off_t): Likewise.
18739 (_G_pid_t): Likewise.
18740 (_G_uid_t): Likewise.
18741 (_G_wchar_t): Likewise.
18742 (_G_wint_t): Likewise.
18743 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18744 (_G_ssize_t): Likewise.
18745 (_G_off_t): Likewise.
18746 (_G_pid_t): Likewise.
18747 (_G_uid_t): Likewise.
18748 (_G_wchar_t): Likewise.
18749 (_G_wint_t): Likewise.
18750 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18751 (_G_ssize_t): Likewise.
18752 (_G_off_t): Likewise.
18753 (_G_pid_t): Likewise.
18754 (_G_uid_t): Likewise.
18755 (_G_wchar_t): Likewise.
18756 (_G_wint_t): Likewise.
18757
9fab36eb
SP
187582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18759
18760 * malloc/arena.c: Include malloc-sysdep.h.
18761 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18762 is sufficient to shrink the heap or an unmap is needed.
18763 * sysdeps/generic/malloc-sysdep.h: New file. Define
18764 new function check_may_shrink_heap.
18765 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18766 new function check_may_shrink_heap.
18767
2b4f00d1
SP
187682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18769
18770 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18771 comments.
18772
9a9028b1
DL
187732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18774
57c69bef
DL
18775 * catgets/test-gencat.sh: Add "set -e".
18776 * elf/tst-pathopt.sh: Likewise.
18777 * grp/tst_fgetgrent.sh: Likewise.
18778 * iconvdata/run-iconv-test.sh: Likewise.
18779 * intl/tst-gettext.sh: Likewise.
18780 * intl/tst-gettext2.sh: Likewise.
18781 * intl/tst-gettext4.sh: Likewise.
18782 * intl/tst-gettext6.sh: Likewise.
18783 * intl/tst-translit.sh: Likewise.
18784 * io/ftwtest-sh: Likewise.
18785 * libio/test-freopen.sh: Likewise.
18786 * malloc/tst-mtrace.sh: Likewise.
18787 * posix/globtest.sh: Likewise.
18788 * posix/tst-getconf.sh: Likewise.
18789 * posix/wordexp-tst.sh: Likewise.
18790 * stdio-common/tst-printf.sh: Likewise.
18791 * stdio-common/tst-unbputc.sh: Likewise.
18792 * stdlib/tst-fmtmsg.sh: Likewise.
18793 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18794 * catgets/Makefile: Do not specify -e option when running
18795 testsuite shell scripts.
18796 * elf/Makefile: Likewise.
18797 * grp/Makefile: Likewise.
18798 * iconvdata/Makefile: Likewise.
18799 * intl/Makefile: Likewise.
18800 * io/Makefile: Likewise.
18801 * libio/Makefile: Likewise.
18802 * malloc/Makefile: Likewise.
18803 * posix/Makefile: Likewise.
18804 * stdio-common/Makefile: Likewise.
18805 * stdlib/Makefile: Likewise.
18806 * sysdeps/x86_64/Makefile: Likewise.
18807
9a9028b1
DL
18808 * io/ftwtest-sh: Add copyright header.
18809 * posix/globtest.sh: Likewise.
18810 * posix/tst-getconf.sh: Likewise.
18811 * posix/wordexp-tst.sh: Likewise.
18812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18813
ced6f16e
L
188142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18815
94b32c39
L
18816 [BZ #13679]
18817 * Makeconfig (+link): Defined as $(+link-static) if
18818 $(build-shared) isn't yes.
18819 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18820 isn't yes.
18821 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18822
189e935b
L
18823 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18824
ced6f16e
L
18825 [BZ #14562]
18826 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18827 new chunk size with MALLOC_ALIGN_MASK.
18828
a9f8e53a
JM
188292012-09-24 Joseph Myers <joseph@codesourcery.com>
18830
18831 [BZ #5044]
18832 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18833 <rounding-mode.h>.
18834 (__printf_fphex): Determine rounding using get_rounding_mode and
18835 round_away.
18836 * stdio-common/tst-printf-round.c (struct hex_test): New
18837 structure.
18838 (hex_tests): New variable.
18839 (test_hex_in_one_mode): New function.
18840 (do_test): Also run tests for hex float output.
18841
43153109
JM
188422012-09-21 Joseph Myers <joseph@codesourcery.com>
18843
18844 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18845 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18846 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18847 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18849 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18850 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18852
8a26625d
JM
188532012-09-20 Joseph Myers <joseph@codesourcery.com>
18854
18855 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18856 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18857 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18858 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18859
f3fd569c
DL
188602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18861
18862 [BZ #14579]
18863 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18864 mode only.
18865 * elf/tst-rtld-load-self.sh: New test.
18866 * elf/Makefile: Run it.
18867
63bbedd4
JM
188682012-09-18 Joseph Myers <joseph@codesourcery.com>
18869
18870 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18871 (tst-writev-ENV): Remove.
18872 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18873
626f8b6a
CM
188742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18875
18876 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18877
b7aaa4d6
JM
188782012-09-17 Joseph Myers <joseph@codesourcery.com>
18879
18880 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18881 unconditional.
18882 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18883 Likewise.
18884 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18885 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18887 Likewise.
18888
65513990
L
188892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 [BZ #14587]
18892 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18893 * config.make.in (have-cpp-asm-debuginfo): Removed.
18894 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18895 * configure: Regenerated.
18896
784761be
JM
188972012-09-14 Joseph Myers <joseph@codesourcery.com>
18898
18899 [BZ #5044]
18900 * stdio-common/printf_fp.c: Include <stdbool.h> and
18901 <rounding-mode.h>.
18902 (___printf_fp): Determine rounding using get_rounding_mode and
18903 round_away.
18904 * stdio-common/tst-printf-round.c: New file.
18905 * stdio-common/Makefile (tests): Add tst-printf-round.
18906 (link-libm): New variable.
18907 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18908
9503345f
L
189092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18910
18911 [BZ #14576]
18912 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18913 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18914 Likewise.
18915 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18916 Likewise.
18917
ad35fc00
JM
189182012-09-13 Joseph Myers <joseph@codesourcery.com>
18919
18920 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18921 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18922 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18923 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18924
6c9b0f68
JM
189252012-09-12 Joseph Myers <joseph@codesourcery.com>
18926
18927 [BZ #14518]
18928 * include/rounding-mode.h: New file.
18929 * sysdeps/generic/get-rounding-mode.h: Likewise.
18930 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18931 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18932 (MAX_VALUE): New macro.
18933 (MIN_VALUE): Likewise.
18934 (overflow_value): New function.
18935 (underflow_value): Likewise.
18936 (round_and_return): Use overflow_value and underflow_value to
18937 determine return values in overflow and underflow cases. Use
18938 round_away to determine rounding depending on rounding mode.
18939 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18940 determine return values in overflow and underflow cases.
18941 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18942 (struct test_results): New structure.
18943 (struct test): Use struct test_results to store expected results
18944 for all rounding modes.
18945 (TEST): Include expected results for all rounding modes.
18946 (test_in_one_mode): New function.
18947 (do_test): Use test_in_one_mode to compute and check results.
18948 Check results for all rounding modes.
18949 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18950 $(link-libm).
18951
19fcedd5
AM
189522012-12-09 Allan McRae <allan@archlinux.org>
18953
1e9d84cd 18954 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18955
8bbfd2f1
JM
189562012-09-11 Joseph Myers <joseph@codesourcery.com>
18957
18958 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18959 (_G_int32_t): Likewise.
18960 (_G_uint16_t): Likewise.
18961 (_G_uint32_t): Likewise.
18962 (_G_HAVE_BOOL): Likewise.
18963 (_G_HAVE_ATEXIT): Likewise.
18964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18965 (_G_HAVE_IO_FILE_OPEN): Likewise.
18966 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18967 (_G_int32_t): Likewise.
18968 (_G_uint16_t): Likewise.
18969 (_G_uint32_t): Likewise.
18970 (_G_HAVE_BOOL): Likewise.
18971 (_G_HAVE_ATEXIT): Likewise.
18972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18973 (_G_HAVE_IO_FILE_OPEN): Likewise.
18974 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18975 (_G_int32_t): Likewise.
18976 (_G_uint16_t): Likewise.
18977 (_G_uint32_t): Likewise.
18978 (_G_HAVE_BOOL): Likewise.
18979 (_G_HAVE_ATEXIT): Likewise.
18980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18981 (_G_HAVE_IO_FILE_OPEN): Likewise.
18982
b1dc5912
L
189832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18984
18985 * csu/libc-tls.c: Update copyright years.
18986
0e886ef9
JM
189872012-09-10 Joseph Myers <joseph@codesourcery.com>
18988
28361c5e
JM
18989 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18990 [!_G_USING_THUNKS]: Remove conditional code.
18991 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18992 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18993
0e886ef9
JM
18994 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18995 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18996 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18997 (_G_VTABLE_LABEL_PREFIX): Likewise.
18998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18999 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19001 (_G_VTABLE_LABEL_PREFIX): Likewise.
19002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19003 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19004 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19005 (_G_VTABLE_LABEL_PREFIX): Likewise.
19006 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19007
bcba7aa2
L
190082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19009
19010 * libio/Makefile: Include ../Makeconfig before tests.
19011 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19012 only if $(build-shared) is yes.
19013
06585ee8
L
19014 * iconv/gconv_db.c: Update copyright years.
19015
80ccd52c
LD
190162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19017
19018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19019 unwind info if defined PIC. Fix special cases description.
19020 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19021
19022 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19023 DP_HI_MASK entry.
19024 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19025
691bc9c1
L
190262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19027
3d9b46b3
L
19028 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19029
de2139a9
L
19030 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19031 is NULL.
19032
5ca78dd0
L
19033 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19034 (LDLIBS-tst-chk4): This.
19035 (LDFLAGS-tst-chk5): Renamed to ...
19036 (LDLIBS-tst-chk5): This.
19037 (LDFLAGS-tst-chk6): Renamed to ...
19038 (LDLIBS-tst-chk6): This.
19039 (LDFLAGS-tst-lfschk4): Renamed to ...
19040 (LDLIBS-tst-lfschk4): This.
19041 (LDFLAGS-tst-lfschk5): Renamed to ...
19042 (LDLIBS-tst-lfschk5): This.
19043 (LDFLAGS-tst-lfschk6): Renamed to ...
19044 (LDLIBS-tst-lfschk6): This.
19045
691bc9c1
L
19046 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19047 on $(common-objpfx)soversions.mk.
19048
65cafb1c
JM
190492012-09-07 Joseph Myers <joseph@codesourcery.com>
19050
19051 [BZ #10014]
19052 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19053 example host name.
19054
c78ab094
SP
190552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19056
19057 * malloc/arena.c (arena_get_retry): New function that gets
19058 another arena for the caller to try its request on.
19059 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19060 current arena cannot fulfill the request.
19061 (__libc_memalign): Likewise.
19062 (__libc_memalign): Likewise.
19063 (__libc_pvalloc): Likewise.
19064 (__libc_calloc): Likewise.
19065
01f49f59
JT
190662012-09-05 John Tobey <john.tobey@gmail.com>
19067
19068 [BZ #13542]
19069 * manual/arith.texi (Operations on Complex): Fix description
19070 of carg branch cut.
19071
4c23fed5
JM
190722012-09-06 Joseph Myers <joseph@codesourcery.com>
19073
1d3c8572
JM
19074 [BZ #10014]
19075 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19076 host name.
19077
4c23fed5
JM
19078 [BZ #10038]
19079 * manual/memory.texi (Memory): Make order of menu items match
19080 order of sections.
19081
04570aaa
L
190822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19083
19084 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19085 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19086 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19087
b80af2f4
L
190882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19089
19090 * csu/libc-tls.c (static_dtv): Renamed to ...
19091 (_dl_static_dtv): This. Make it global.
19092 (_dl_initial_dtv): Removed.
19093 (__libc_setup_tls): Updated.
19094 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19095 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19096 DL_INITIAL_DTV.
19097
2abe9f15
PM
190982012-09-06 Petr Machata <pmachata@redhat.com>
19099
19100 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19101 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19102 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19103 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19104
0948c3af
L
191052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19106
19107 [BZ #14545]
19108 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19109 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19110 freeing dtv[-1].
19111
a5055ad1
L
191122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19113
19114 [BZ #14544]
19115 * Makeconfig (link-static-before-libc): Replace $(+prector)
19116 with $(+prectorT).
19117 (link-static-after-libc): Replace $(+postctor) with
19118 $(+postctorT).
19119 (link-bounded): Replace $(+prector)/$(+postctor) with
19120 $(+prectorT)/$(+postctorT).
19121 (+prectorT): New macro.
19122 (+postctorT): Likewise.
19123
ed8c2ecd
JM
191242012-09-06 Joseph Myers <joseph@codesourcery.com>
19125
19126 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19127 (round_str): Handle values above the maximum for IBM long double
19128 as inexact.
19129 * stdlib/tst-strtod-round.c (tests): Regenerated.
19130
14c996c8
AK
191312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19132
19133 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19134 assembler flag.
19135 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19136 zarch_nohighgprs around the zarch optimized routines.
19137 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19138 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19140 for zarch.
19141
430d6ce6
DM
191422012-09-05 David S. Miller <davem@davemloft.net>
19143
19144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19145
ff04dda4
DM
19146 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19147 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19148 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19150 entries.
19151
24d4e01b
AO
191522012-09-05 Alexandre Oliva <aoliva@redhat.com>
19153
19154 * malloc/arena.c: Fold copyright years.
19155 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19156
61d58174
AO
191572012-09-05 Alexandre Oliva <aoliva@redhat.com>
19158
19159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19160
20196a5e
AO
191612012-09-05 Alexandre Oliva <aoliva@redhat.com>
19162
19163 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19164
5c447383
AO
191652012-09-05 Alexandre Oliva <aoliva@redhat.com>
19166
19167 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19168 change internal state upon failure.
19169
fad64255
AO
191702012-09-05 Alexandre Oliva <aoliva@redhat.com>
19171
19172 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19173 * malloc/memusage.c (mmap): Likewise.
19174 (mmap64, mremap): Likewise. Adjust name in comment.
19175
1ffb8c90
SP
191762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19177
19178 * libio/fileops.c: Fix typos in comments.
19179 * libio/oldfileops.c: Likewise.
19180 * libio/wfileops.c: Likewise.
19181
6ef9cc37
SP
191822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19183
19184 [BZ #1349]
19185 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19186 (tst-malloc-usable-ENV): Set environment for test case.
19187 * malloc/hooks.c (malloc_check_get_size): New function to get
19188 requested size.
19189 * malloc/malloc.c (musable): Use malloc_check_get_size.
19190 * malloc/tst-malloc-usable.c: New test case.
19191
4d038ae3
AS
191922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19193
19194 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19195
c4e85184
AM
191962012-09-05 Allan McRae <allan@archlinux.org>
19197
b9dafc56 19198 [BZ #13966]
c4e85184
AM
19199 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19200 determine header location.
19201 * configure: Regenerated.
19202
e1343020
AS
192032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19204
19205 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19206 float format.
19207 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19208 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19209 format.
e1343020
AS
19210 (test): Regenerate.
19211
0a9f1987
DM
192122012-09-04 David S. Miller <davem@davemloft.net>
19213
19214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19217
29237804
FW
192182012-09-04 Florian Weimer <fweimer@redhat.com>
19219
19220 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19221 failures.
19222
edb3cb88
FW
19223 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19224
60160d83
JM
192252012-09-04 Joseph Myers <joseph@codesourcery.com>
19226
19227 [BZ #9914]
19228 * libio/iogetdelim.c: Include <limits.h>.
19229 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19230 + len + 1 would overflow.
19231
bcd6c8dc
AJ
192322012-09-03 Andreas Jaeger <aj@suse.de>
19233
19234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update.
19236
4ffffbd2
LD
192372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19238
19239 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19240 Add s_sinf-sse2, s_conf-sse2.
19241
19242 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19244 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19245 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19246
19247 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19248 for using routine as __sinf_ia32.
19249 Use macro for function declaration and weak_alias.
19250 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19251 for using routine as __cosf_ia32.
19252 Use macro for function declaration and weak_alias.
19253
19254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19255 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19256
19257 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19258 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19260
19261 * math/libm-test.inc (cos_test): Add more test cases.
19262 (sin_test): Likewise.
19263 (sincos_test): Likewise.
19264
511fa286
AK
192652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19266
19267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19268 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19269 hidden.
19270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19271
5f30cfec
L
192722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19273
19274 [BZ #14538]
19275 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19276 first element of the GOT.
19277 (elf_machine_load_address): Return the difference between
19278 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19279
0786794f
AM
192802012-09-01 Allan McRae <allan@archlinux.org>
19281
5f30cfec
L
19282 [BZ #13412]
19283 * configure.in (AWK): Require gawk version 3.0 or later.
19284 * configure: Regenerated.
0786794f 19285
26889eac
JM
192862012-09-01 Joseph Myers <joseph@codesourcery.com>
19287
19288 * sysdeps/unix/sysv/linux/kernel-features.h
19289 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19291 [__NR_clock_getres]: Make code unconditional.
19292 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19293 (clock_getcpuclockid): Remove code left unreachable by removal of
19294 conditionals.
19295 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19296 code unconditional.
19297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19299 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19300 Make code unconditional.
19301 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19303 * sysdeps/unix/sysv/linux/clock_settime.c
19304 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19305 conditional code.
19306 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19308
d22e28b0
L
193092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19310
19311 [BZ #14476]
19312 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19313 scripts/test-installation.pl.
19314
19315 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19316 and $ld_so_version if it is set.
19317
050af9c4
SP
193182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19319
19320 [BZ #14516]
19321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19322 failure if reading from procfs failed.
19323 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19324
ad845c0b
JM
193252012-08-27 Joseph Myers <joseph@codesourcery.com>
19326
19327 * sysdeps/unix/sysv/linux/kernel-features.h
19328 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19329 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19330 Remove conditional code.
19331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19332 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19333 Remove conditional code.
19334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19335 * sysdeps/unix/sysv/linux/i386/fxstat.c
19336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19338 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19341 * sysdeps/unix/sysv/linux/i386/lxstat.c
19342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19344 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19345 Remove conditional code.
19346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19347 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19348 Remove conditional code.
19349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19351 <kernel-features.h>.
19352 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19353 Remove.
19354 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19355 Remove conditional code.
19356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19357 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19358 Remove conditional.
19359
5dbf56af
MF
193602012-08-27 Mike Frysinger <vapier@gentoo.org>
19361
19362 [BZ #5400]
19363 * NEWS: Add fixed bug number.
19364
d6e70f43
JM
193652012-08-27 Joseph Myers <joseph@codesourcery.com>
19366
7efb4737
JM
19367 [BZ #14519]
19368 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19369 underflowing exponent in case of negative sign.
19370 * stdlib/tst-strtod-round-data: Add more tests.
19371 * stdlib/tst-strtod-round.c (tests): Regenerated.
19372
af92131a
JM
19373 [BZ #3479]
19374 * stdlib/strtod_l.c (NDIG): Remove.
19375 (HEXNDIG): Likewise.
19376 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19377 smallest representable value.
19378 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19379 lie within an exact representation of 1/2 ulp of the result.
19380 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19381 unconditionally.
19382 (TENS_P9_IDX): Define unconditionally.
19383 (TENS_P9_SIZE): Likewise.
19384 (TENS_P10_IDX): Likewise.
19385 (TENS_P10_SIZE): Likewise.
19386 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19387 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19388 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19389 entries for 10^2^13 and 10^2^14.
19390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19391 (TENS_P13_IDX): Define.
19392 (TENS_P13_SIZE): Likewise.
19393 (TENS_P14_IDX): Likewise.
19394 (TENS_P14_SIZE): Likewise.
19395 (_fpioconst_pow10): Change array size to
19396 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19397 unconditional.
19398 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19399 1024]: Add entries for 10^2^13 and 10^2^14.
19400 [LAST_POW10 > _LAST_POW10]: Remove #error.
19401 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19402 (_fpioconst_pow10): Change array size to
19403 FPIOCONST_POW10_ARRAY_SIZE.
19404 * stdlib/gen-fpioconst.c: New file.
19405 * stdlib/gen-tst-strtod-round.c: Likewise.
19406 * stdlib/tst-strtod-round-data: Likewise.
19407 * stdlib/tst-strtod-round.c: Likewise.
19408 * stdlib/Makefile (tests): Add tst-strtod-round.
19409
d6e70f43
JM
19410 [BZ #14459]
19411 * stdlib/strtod_l.c: Include <stdint.h>.
19412 (NDEBUG): Do not define.
19413 (round_and_return): Change EXPONENT parameter to type intmax_t.
19414 Rearrange calculations to avoid internal overflow possibilities.
19415 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19416 Rearrange calculations to avoid internal overflow possibilities.
19417 Assert that number fits inside MPNSIZE limbs.
19418 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19419 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19420 calculations and add assertions to avoid internal overflow
19421 possibilities. Add casts to avoid signed/unsigned operations.
19422 * stdlib/tst-strtod-overflow.c: New file.
19423 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19424
1f529f7d
MP
194252012-08-25 Marek Polacek <polacek@redhat.com>
19426
19427 * time/time.h: Fix some typos in comments.
19428
59a629f1
RM
194292012-08-23 Roland McGrath <roland@hack.frob.com>
19430
19431 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19432 * posix/tst-rfc3484-2.c: Likewise.
19433 * posix/tst-rfc3484-3.c: Likewise.
19434
d3bafbc9
SM
194352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19436
19437 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19438 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19439
4efcc022
JM
194402012-08-23 Joseph Myers <joseph@codesourcery.com>
19441
19442 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19443 #include of fxstatat64.c.
19444
3cc3ef96
RM
194452012-08-22 Roland McGrath <roland@hack.frob.com>
19446
f04e2132
RM
19447 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19448 * shadow/getspent_r.c: Likewise.
19449 * shadow/getspnam.c: Likewise.
19450 * shadow/getspnam_r.c: Likewise.
19451 * gshadow/getsgent.c: Likewise.
19452 * gshadow/getsgent_r.c: Likewise.
19453 * gshadow/getsgnam.c: Likewise.
19454 * gshadow/getsgnam_r.c: Likewise.
19455 * inet/getnetbyad.c: Likewise.
19456 * inet/getnetbyad_r.c: Likewise.
19457 * inet/getnetbynm.c: Likewise.
19458 * inet/getnetbynm_r.c: Likewise.
19459 * inet/getnetent.c: Likewise.
19460 * inet/getnetent_r.c: Likewise.
19461 * inet/getproto.c: Likewise.
19462 * inet/getproto_r.c: Likewise.
19463 * inet/getprtent.c: Likewise.
19464 * inet/getprtent_r.c: Likewise.
19465 * inet/getprtname.c: Likewise.
19466 * inet/getprtname_r.c: Likewise.
19467 * inet/getrpcbyname.c: Likewise.
19468 * inet/getrpcbyname_r.c: Likewise.
19469 * inet/getrpcbynumber.c: Likewise.
19470 * inet/getrpcbynumber_r.c: Likewise.
19471 * inet/getrpcent.c: Likewise.
19472 * inet/getrpcent_r.c: Likewise.
19473 * inet/getaliasent.c: Likewise.
19474 * inet/getaliasent_r.c: Likewise.
19475 * inet/getaliasname.c: Likewise.
19476 * inet/getaliasname_r.c: Likewise.
19477 * nscd/getgrgid_r.c: Likewise.
19478 * nscd/getgrnam_r.c: Likewise.
19479 * nscd/gethstbyad_r.c: Likewise.
19480 * nscd/gethstbynm3_r.c: Likewise.
19481 * nscd/getpwnam_r.c: Likewise.
19482 * nscd/getpwuid_r.c: Likewise.
19483 * nscd/getsrvbynm_r.c: Likewise.
19484 * nscd/getsrvbypt_r.c: Likewise.
19485 * nscd/gai.c: Likewise.
19486
c53d909c
RM
19487 * configure.in (build_nscd): New substituted variable, set
19488 by --disable-build-nscd and defaults to $use_nscd.
19489 * configure: Regenerated.
19490 * config.make.in (build-nscd): New substituted variable.
19491 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19492 Change conditional to require [$(build-nscd) = yes] as well.
19493 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19494
3cc3ef96
RM
19495 [BZ# 13696]
19496 * configure.in (use_nscd): New substituted variable, set by
19497 --disable-nscd. If enabled, define USE_NSCD.
19498 * configure: Regenerated.
19499 * config.h.in: Add USE_NSCD.
19500 * config.make.in (use-nscd): New substituted variable.
19501 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19502 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19503 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19504 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19505 (CFLAGS-getgrnam_r.c): Likewise.
19506 (CFLAGS-initgroups.c): Likewise.
19507 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19508 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19509 Variables removed.
19510 * inet/getnetgrent_r.c
19511 (nscd_setnetgrent): New function, broken out of ...
19512 (setnetgrent): ... here. Call it.
19513 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19514 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19515 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19516 * nscd/Makefile (routines, aux): Move definitions after include of
19517 Makeconfig. Conditionalize on [$(use-nscd) != no].
19518 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19519 Conditionalize on [USE_NSCD].
19520 (is_nscd, nscd_init_cb): Likewise.
19521 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19522 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19523 * nss/nss_db/db-init.c: Likewise.
19524 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19525 [USE_NSCD].
19526 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19527 (make_request): Use it.
19528 (cache_valid_p): New function.
19529 (__check_pf): Use it.
19530 * NEWS: Add item for --disable-nscd.
19531
07e51550
DL
195322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19533
19534 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19535 to support sed >= 4.2.1-20-ga9bf076.
19536 * configure: Regenerated.
19537
35a5b08b
RM
195382012-08-22 Roland McGrath <roland@hack.frob.com>
19539
19540 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19541 Conditionalize whole body on [IREL].
19542
8479f23a
JL
195432012-08-22 Jeff Law <law@redhat.com>
19544
19545 [BZ #14505]
19546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19547 if the family is PF_UNSPEC.
19548
48da0b21
MF
195492012-08-22 Mike Frysinger <vapier@gentoo.org>
19550
19551 * Makerules (lib-version): Rename from V.
19552 (install-lib-nosubdir): Change V to lib-version.
19553
15d0da8c
WS
195542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19555
19556 [BZ #14252]
19557 * powerpc32/power6/wcschr.c: New file.
19558 * powerpc32/power6/wcscpy.c: New file.
19559 * powerpc32/power6/wcsrchr.c: New file.
19560 * powerpc64/power6/wcschr.c: New file.
19561 * powerpc64/power6/wcscpy.c: New file.
19562 * powerpc64/power6/wcsrchr.c: New file.
19563
bcca0895
MK
195642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19565
19566 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19567 (two_way_short_needle): Use it.
5a4aaa33
RM
19568 * string/strstr.c (AVAILABLE1_USES_J): Define.
19569 * string/strcasestr.c: Likewise.
99677e57
MK
19570
19571 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19572 array references.
19573 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19574
400726de
MK
19575 [BZ #11607]
19576 * NEWS: Add an entry.
19577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19578 define their defaults.
19579 (two_way_short_needle): Detect end-of-string on-the-fly.
19580 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19581 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19582 * string/bug-strcasestr1.c: New test.
19583 * string/Makefile: Run it.
19584
20a71f2c
MK
195852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19586
19587 [BZ #11607]
19588 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19589 the first character.
19590
21ad0558
RM
195912012-08-21 Roland McGrath <roland@hack.frob.com>
19592
19593 * csu/elf-init.c (__libc_csu_irel): Function removed.
19594 * csu/libc-start.c (apply_irel): New function.
19595 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19596
0e1d9911
JM
195972012-08-21 Joseph Myers <joseph@codesourcery.com>
19598
19599 * sysdeps/unix/sysv/linux/kernel-features.h
19600 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19601 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19602 <kernel-features.h>.
19603 [__NR_fadvise64_64]: Make code unconditional.
19604 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19605 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19606 !__NR_fadvise64_64)]: Likewise.
19607 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19608 !__NR_fadvise64_64))]: Likewise.
19609 [__NR_fadvise64]: Make code unconditional.
19610 [!__NR_fadvise64]: Remove conditional code.
19611 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19612 <kernel-features.h>.
19613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19614 unconditional.
19615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19616 conditional code.
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19618 not include <kernel-features.h>.
19619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19620 unconditional.
19621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19622 conditional code.
19623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19624 include <kernel-features.h>.
19625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19626 unconditional.
19627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19628 conditional code.
19629
14a50c9d
WS
196302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19631
19632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19633 slight instruction rearrangements per scrollpipe analysis.
19634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19635
c0f4faf0
RM
196362012-08-20 Roland McGrath <roland@hack.frob.com>
19637
696da859
RM
19638 * manual/syslog.texi (syslog; vsyslog, closelog):
19639 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19640 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19641
c0f4faf0
RM
19642 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19643 DSOCAPS to match condition on defining it.
19644
348363b2
JM
196452012-08-20 Joseph Myers <joseph@codesourcery.com>
19646
a35cbf28
JM
19647 * sysdeps/unix/sysv/linux/kernel-features.h
19648 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19658
445f7ecd
JM
19659 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19660 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19661
348363b2
JM
19662 * sysdeps/unix/sysv/linux/kernel-features.h
19663 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19664 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19665 unconditional.
19666 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19667 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19670 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19671 Make code unconditional.
19672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19673 (__mmap64) [!__NR_mmap2]: Likewise.
19674 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19678 [__NR_mmap2]: Make code unconditional.
19679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19680 (__mmap64) [!__NR_mmap2]: Likewise.
19681
bc5bc0e5
AK
196822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19683
19684 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19685
88d506de
AJ
196862012-08-18 Andreas Jaeger <aj@suse.de>
19687
19688 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19689
493387d2
MF
196902012-08-18 Mike Frysinger <vapier@gentoo.org>
19691
19692 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19693 * include/unistd.h (__have_sock_cloexec): Likewise.
19694 (__have_pipe2): Likewise.
19695 (__have_dup3): Likewise.
19696
a277af22
MF
196972012-08-18 Mike Frysinger <vapier@gentoo.org>
19698
19699 [BZ #9685]
19700 * include/unistd.h (__have_pipe2): Change define into an extern int.
19701 (__have_dup3): Likewise.
19702 * socket/have_sock_cloexec.c: Include fcntl.h.
19703 (__have_pipe2): New variable.
19704 (__have_dup3): Likewise.
19705
fdab8fd3
MF
197062012-08-17 Mike Frysinger <vapier@gentoo.org>
19707
19708 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19709
31035e80
MP
197102012-08-17 Marek Polacek <polacek@redhat.com>
19711
19712 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19713 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19714
3bd9e993
RM
197152012-08-17 Roland McGrath <roland@hack.frob.com>
19716
c91c505f
RM
19717 * configure.in: Add AC_SUBST for sysheaders.
19718 * configure: Regenerated.
19719 * config.make.in (sysheaders): New substituted variable.
19720
7c6f9d53
RM
19721 * sysdeps/unix/mkfifo.c: Moved ...
19722 * sysdeps/posix/mkfifo.c: ... here.
19723 * sysdeps/unix/mkfifoat.c: Moved ...
19724 * sysdeps/posix/mkfifoat.c: ... here.
19725
19726 * sysdeps/unix/utime.c: Moved ...
19727 * sysdeps/posix/utime.c: ... here.
19728
19729 * sysdeps/unix/time.c: Moved ...
19730 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19731 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19732 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19733
19734 * sysdeps/unix/nice.c: Moved ...
19735 * sysdeps/posix/nice.c: ... here.
19736
19737 * sysdeps/unix/alarm.c: Moved ...
19738 * sysdeps/posix/alarm.c: ... here.
19739
3bd9e993
RM
19740 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19741
d1f09384
JL
197422012-08-17 Jeff Law <law@redhat.com>
19743
19744 * intl/Makefile (codeset_mo): New variable.
19745 ($(codeset_mo)): New target.
19746 (tst-codeset.out): Depend on that. Remove explicit rule.
19747 (tst-gettext3.out, tst-gettext5.out): Likewise.
19748 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19749 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19750 * intl/tst-codeset.sh: Remove.
19751 * intl/tst-gettext3.sh: Likewise.
19752 * intl/tst-gettext5.sh: Likewise.
19753
2ae1ae5c
RM
197542012-08-17 Roland McGrath <roland@hack.frob.com>
19755
c31fdb83
RM
19756 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19757 * sysdeps/unix/syscalls.list: ... here.
19758
a0844057
RM
19759 * sysdeps/posix/getaddrinfo.c
19760 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19761 (gaiconf_init, gaiconf_reload): Use them.
19762 [!_STATBUF_ST_NSEC]
19763 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19764 Define using time_t rather than struct timespec.
19765
750c1f2a
RM
19766 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19767 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19768 Macros removed.
19769 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19770 [!NO_THREADS].
19771 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19772 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19773 Likewise.
19774
2ae1ae5c
RM
19775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19776 __libc_cleanup_push argument.
19777
e66a42f5
RM
19778 * bits/param.h: New file.
19779 * misc/sys/param.h: New file.
19780 * include/sys/param.h: New file.
19781 * misc/Makefile (headers): Add bits/param.h.
19782 * sysdeps/generic/sys/param.h: File removed.
19783 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19784 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19785 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19786 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19787
b7c08a66
RM
19788 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19789 last change.
19790
b2e1c562
RM
19791 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19792 [_IO_MTSAFE_IO].
19793 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19794 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19795 New macros.
19796
c75ccd4c
RM
19797 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19798 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19799 rather than -D_IO_MTSAFE_IO conditionally.
19800 * stdio-common/Makefile (CPPFLAGS): Likewise.
19801 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19802 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19803 Use $(libio-mtsafe).
19804 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19805 of -D_IO_MTSAFE_IO.
19806 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19807 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19808 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19809 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19810 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19811 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19812 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19813 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19814 (CFLAGS-fread_u_chk.c): Likewise.
19815 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19816 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19817 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19818 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19819 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19820 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19821 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19822 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19823 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19824
19825 * libio/Makefile: Test [$(libc-reentrant) = yes]
19826 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19827
19828 * Makeconfig
19829 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19830 * sysdeps/pthread/configure: File removed.
19831 * sysdeps/pthread/Makeconfig: New file.
19832 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19833 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19834
d9195db8
GB
198352012-08-16 Gary Benson <gbenson@redhat.com>
19836
19837 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19838 unmapping the first object in a namespace.
19839
86466cd9
RM
198402012-08-16 Roland McGrath <roland@hack.frob.com>
19841
19842 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19843 (__internal_setnetgrent): ... this. Add internal_function to
19844 definition. Add libc_hidden_def.
19845 (setnetgrent): Update caller.
19846 (internal_endnetgrent): Renamed to ...
19847 (__internal_endnetgrent): ... this. Add internal_function to
19848 definition. Add libc_hidden_def.
19849 (endnetgrent): Update caller.
19850 (internal_getnetgrent_r): Renamed to ...
19851 (__internal_getnetgrent_r): ... this. Add internal_function to
19852 definition. Add libc_hidden_def.
19853 (__getnetgrent_r): Update caller.
19854 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19855
c3c8283c
JM
198562012-08-16 Joseph Myers <joseph@codesourcery.com>
19857
19858 * stdlib/longlong.h: Update from GCC.
19859
db1ee0a8
RM
198602012-08-16 Roland McGrath <roland@hack.frob.com>
19861
19862 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19863 on _QL, which is set by umul_ppmm but never used.
19864 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19865 variables, which are set by GMP macros but never used.
19866 * stdio-common/_itowa.c (_itowa): Likewise.
19867 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19868 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19869
30f69637
CD
198702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19871
19872 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19873 struct La_sh_regs is not constant.
19874 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19875 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19876 and struct La_sparc64_regs are not constant.
19877
93a78ac4
JM
198782012-08-16 Joseph Myers <joseph@codesourcery.com>
19879
19880 * sysdeps/unix/sysv/linux/kernel-features.h
19881 (__ASSUME_POSIX_TIMERS): Remove.
19882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19884 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19885 Make code unconditional.
19886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19887 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19888 Make code unconditional.
19889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19890 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19891 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19893 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19894 Make code unconditional.
19895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19897 (__libc_missing_posix_timers): Remove.
19898
dd924cd7
RM
198992012-08-15 Roland McGrath <roland@hack.frob.com>
19900
4b4f2771
RM
19901 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19902 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19903
601c888b
RM
19904 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19905
176790a7
RM
19906 * elf/dl-sym.c: Include <stdlib.h>.
19907
329bc018
RM
19908 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19909 constants, which avoids warnings in 32-bit builds.
19910
e04e272d
RM
19911 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19912 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19913
952bf94a
RM
19914 * misc/lseek.c: File moved to ...
19915 * io/lseek.c: ... here.
19916
7c99b50a
RM
19917 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19918
dd924cd7
RM
19919 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19920 shifting LEN more than 31 bits at once.
19921
b3f479a8
LD
199222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19923
19924 [BZ #14195]
8c4ae0d4
RM
19925 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19926 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19927 * string/test-strncasecmp.c (check1): Renamed to...
19928 (bz12205): ...this.
19929 (bz14195): Add new testcase for two empty input strings and N > 0.
19930 (test_main): Call new testcase, adapt for renamed function.
19931
9c55864e
AJ
199322012-08-15 Andreas Jaeger <aj@suse.de>
19933
19934 [BZ #14090]
19935 * crypt/md5test2.c: New test, based on test supplied by Serge
19936 Belyshev <belyshev@depni.sinp.msu.ru>.
19937 * crypt/Makefile (xtests): Add md5test-giant..
19938 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19939
02dcb6c5
PE
199402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19941
19942 [BZ #14090]
19943 * crypt/md5.c (md5_process_block): Don't assume the buffer
19944 length is less than 2**32.
19945 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19946 length is less than 2**64.
19947
a3f95dcc
RM
199482012-08-15 Roland McGrath <roland@hack.frob.com>
19949
be75d758
RM
19950 * string/str-two-way.h: Include <sys/param.h>.
19951 (MAX): Macro removed.
19952
7312ca90
RM
19953 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19954 Move #define and #undef of memmove to just before and after
19955 including <string.h>.
19956
9a0a5486
RM
19957 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19958 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19959 and after including <string.h>. Move declarations of
19960 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19961 to before #include "string/memmove.c".
19962
67cc348d
RM
19963 * include/dirent.h: Declare __getdirentries.
19964
a3f95dcc
RM
19965 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19966 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19967
ca98e171
MF
199682012-08-14 Mike Frysinger <vapier@gentoo.org>
19969
19970 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19971 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19972 * sysdeps/i386/configure: Regenerated.
19973 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19974 STABS_CURRENT_FILE, and STABS_FUN.
19975 (END): Remove call to STABS_FUN_END.
19976 (STABS_CURRENT_FILE1): Delete.
19977 (STABS_CURRENT_FILE): Likewise.
19978 (STABS_FUN): Likewise.
19979 (STABS_FUN_END): Likewise.
19980 (STABS_FUN2): Likewise.
19981 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19982 * sysdeps/x86_64/configure: Regenerated.
19983
5908bf46
RM
199842012-08-14 Roland McGrath <roland@hack.frob.com>
19985
19986 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19987 * elf/dl-lookup.c: Likewise.
5908bf46 19988
f2c05b9e
JM
199892012-08-14 Joseph Myers <joseph@codesourcery.com>
19990
19991 * sysdeps/unix/sysv/linux/kernel-features.h
19992 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19993 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19994 unconditionally.
19995 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19996 unconditionally.
19997 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19998 condition on __ASSUME_CLONE_THREAD_FLAGS.
19999
e11f5155
AJ
200002012-08-14 Andreas Jaeger <aj@suse.de>
20001
20002 * sysdeps/i386/fpu/libm-test-ulps: Update.
20003
51a9ba86
MK
200042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20005
2fdd4f78
AJ
20006 * include/atomic.h (atomic_exchange_and_add): Split into ...
20007 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20008 New atomic macros.
51a9ba86 20009
ba6cba9e
MT
200102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20011
20012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20013
42443a47
JL
200142012-08-13 Jeff Law <law@redhat.com>
20015
20016 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20017 null byte in the output string.
20018
121dce05
JM
200192012-08-10 Joseph Myers <joseph@codesourcery.com>
20020
20021 * sysdeps/unix/sysv/linux/kernel-features.h
20022 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20023 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20024 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20026 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20027 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20028 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20029
bf51f568
JL
200302012-08-09 Jeff Law <law@redhat.com>
20031
20032 [BZ #13939]
20033 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20034 When avoid_arena is set, don't retry in the that arena. Pick the
20035 next one, whatever it might be.
20036 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20037 (arena_lock): Pass in new parameter to arena_get2.
20038 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20039 arena_get2.
20040 (__libc_malloc): Unify retrying after main arena failure with
20041 __libc_memalign version.
20042 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20043
f85fa270
L
200442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20045
20046 [BZ #14166]
20047 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20048 to __redirect_strstr.
20049 (__strstr_sse42): Use typeof __redirect_strstr.
20050 (__strstr_ia32): Likewise.
20051 (__libc_strstr): New prototype.
20052 (strstr): Renamed to ...
20053 (__libc_strstr): This.
20054 (strstr): New strong alias of __libc_strstr.
20055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20056 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20057 __redirect_time.
20058 Include <time.h>.
20059 (__libc_time): New prototype.
20060 (time_ifunc): Replace time with __libc_time.
20061 (time): New strong alias and hidden definition of __libc_time.
20062 (__GI_time): Remove strong alias.
20063 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20064 Include <stddef.h>.
20065 (memmove): Redefined to __redirect_memmove.
20066 (__memmove_sse2): Use typeof __redirect_memmove.
20067 (__memmove_ssse3): Likewise.
20068 (__memmove_ssse3_back): Likewise.
20069 (__libc_memmove): New prototype.
20070 (memmove): Renamed to ...
20071 (__libc_memmove): This.
20072 (memmove): New strong alias of __libc_memmove.
20073
33b4a91e
MS
200742012-08-08 Mark Salter <msalter@redhat.com>
20075
20076 * elf/elf.h
20077 (R_MN10300_TLS_GD): Define.
20078 (R_MN10300_TLS_LD): Likewise.
20079 (R_MN10300_TLS_LDO): Likewise.
20080 (R_MN10300_TLS_GOTIE): Likewise.
20081 (R_MN10300_TLS_IE): Likewise.
20082 (R_MN10300_TLS_LE): Likewise.
20083 (R_MN10300_TLS_DTPMOD): Likewise.
20084 (R_MN10300_TLS_DTPOFF): Likewise.
20085 (R_MN10300_TLS_TPOFF): Likewise.
20086 (R_MN10300_SYM_DIFF): Likewise.
20087 (R_MN10300_ALIGN): Likewise.
20088 (R_MN10300_NUM): Update.
20089
b36137f1
JM
200902012-08-08 Joseph Myers <joseph@codesourcery.com>
20091
20092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20093 Remove.
20094
cdd915fd
RM
200952012-08-08 Roland McGrath <roland@hack.frob.com>
20096
a2433aac
RM
20097 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20098
cdd915fd
RM
20099 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20100 sysdeps/unix -> sysdeps/posix move.
20101 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20102
bf9b740a
AM
201032012-08-07 Allan McRae <allan@archlinux.org>
20104
20105 [BZ #14303]
20106 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20107 (SUNOS_CPP): Likewise.
20108 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20109 not found.
20110 (open_input): Call CPP using execvp.
20111
93df14ee
JM
201122012-08-07 Joseph Myers <joseph@codesourcery.com>
20113
20114 * sysdeps/unix/sysv/linux/kernel-features.h
20115 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20116 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20117 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20118 (__ASSUME_WAITID_SYSCALL): Likewise.
20119 * sysdeps/unix/sysv/linux/dl-execstack.c
20120 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20121 code unconditional.
20122 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20123 conditional code.
20124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20125 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20126 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20127 code.
20128 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20129 unconditional.
20130 [__ASSUME_WAITID_SYSCALL]: Likewise.
20131 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20132
d34689de
RM
201332012-08-07 Roland McGrath <roland@hack.frob.com>
20134
a281decc
RM
20135 * sysdeps/unix/closedir.c: Renamed to ...
20136 * sysdeps/posix/closedir.c: ... here.
20137 * sysdeps/unix/dirfd.c: Renamed to ...
20138 * sysdeps/posix/dirfd.c: ... here.
20139 * sysdeps/unix/dirstream.h: Renamed to ...
20140 * sysdeps/posix/dirstream.h: ... here.
20141 * sysdeps/unix/fdopendir.c: Renamed to ...
20142 * sysdeps/posix/fdopendir.c: ... here.
20143 * sysdeps/unix/opendir.c: Renamed to ...
20144 * sysdeps/posix/opendir.c: ... here.
20145 * sysdeps/unix/readdir.c: Renamed to ...
20146 * sysdeps/posix/readdir.c: ... here.
20147 * sysdeps/unix/readdir_r.c: Renamed to ...
20148 * sysdeps/posix/readdir_r.c: ... here.
20149 * sysdeps/unix/rewinddir.c: Renamed to ...
20150 * sysdeps/posix/rewinddir.c: ... here.
20151 * sysdeps/unix/seekdir.c: Renamed to ...
20152 * sysdeps/posix/seekdir.c: ... here.
20153 * sysdeps/unix/telldir.c: Renamed to ...
20154 * sysdeps/posix/telldir.c: ... here.
20155 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20156 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20157 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20158 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20159
22895b47
RM
20160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20161 * bits/fcntl.h: ... here.
20162
707a53b6
RM
20163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20164 not 0.
20165 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20166 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20167 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20168 (struct flock): Move l_start, l_len to the beginning.
20169 Use __pid_t for l_pid.
20170 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20171 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20172 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20173 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20174 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20175 [__USE_LARGEFILE64] (struct flock64): New type.
20176 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20177
f0bd3e25
RM
20178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20179 * bits/dirent.h: ... here.
20180
d34689de
RM
20181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20182 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20183
6dad2c06
JM
201842012-08-07 Joseph Myers <joseph@codesourcery.com>
20185
20186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20187 Change from 2.6.0 to 2.6.16.
20188 * sysdeps/unix/sysv/linux/configure: Regenerated.
20189 * sysdeps/unix/sysv/linux/kernel-features.h
20190 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20191 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20192 version.
20193 (__ASSUME_UTIMES): Likewise.
20194 (__ASSUME_CLONE_STOPPED): Remove.
20195 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20196 architectures, not kernel version.
20197 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20198 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20199 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20200 (__ASSUME_WAITID_SYSCALL): Likewise.
20201 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20202 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20203 * README: State 2.6.16 as minimum Linux kernel version. Do not
20204 refer to older versions.
20205
03af9520
RM
202062012-08-06 Roland McGrath <roland@hack.frob.com>
20207
8e49df1d
RM
20208 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20209 Define alphasort64 as an alias.
20210 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20211 Define versionsort64 as an alias.
20212 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20213 Define scandir64 as an alias.
20214 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20215 Define scandirat64 as an alias.
20216 * dirent/alphasort64.c (alphasort64):
20217 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20218 * dirent/versionsort64.c: Likewise.
20219 * dirent/scandir64.c: Likewise.
20220 * dirent/scandirat64.c: Likewise.
20221 * sysdeps/wordsize-64/alphasort.c: File removed.
20222 * sysdeps/wordsize-64/alphasort64.c: File removed.
20223 * sysdeps/wordsize-64/scandir.c: File removed.
20224 * sysdeps/wordsize-64/scandir64.c: File removed.
20225 * sysdeps/wordsize-64/scandirat.c: File removed.
20226 * sysdeps/wordsize-64/scandirat64.c: File removed.
20227 * sysdeps/wordsize-64/versionsort.c: File removed.
20228 * sysdeps/wordsize-64/versionsort64.c: File removed.
20229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20237
20238 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20240 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20242 [defined __arch64__ || defined __sparcv9]
20243 (__INO_T_MATCHES_INO64_T): New macro.
20244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20245 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20246 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20247 * sysdeps/unix/sysv/linux/bits/dirent.h
20248 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20249 (_DIRENT_MATCHES_DIRENT64): New macro.
20250
03af9520
RM
20251 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20252 Define lockf64 as an alias.
20253 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20254 Define fseeko64 as an alias.
20255 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20256 Define ftello64 as an alias.
20257 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20258 Define _IO_fgetpos64 and fgetpos64 as aliases.
20259 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20260 Define _IO_fsetpos64 and fsetpos64 as aliases.
20261 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20262 Conditionalize body on this.
20263 * libio/fseeko64.c: Likewise.
20264 * libio/ftello64.c: Likewise.
20265 * libio/iofgetpos64.c: Likewise.
20266 * libio/iofsetpos64.c: Likewise.
20267 * sysdeps/wordsize-64/lockf.c: File removed.
20268 * sysdeps/wordsize-64/lockf64.c: File removed.
20269 * sysdeps/wordsize-64/fseeko.c: File removed.
20270 * sysdeps/wordsize-64/fseeko64.c: File removed.
20271 * sysdeps/wordsize-64/ftello.c: File removed.
20272 * sysdeps/wordsize-64/ftello64.c: File removed.
20273 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20274 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20275 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20276 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20287
20288 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20290 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20292 [defined __arch64__ || defined __sparcv9]
20293 (__OFF_T_MATCHES_OFF64_T): New macro.
20294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20295 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20297 (__OFF_T_MATCHES_OFF64_T): New macro.
20298
c5757acd
L
202992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20300
20301 * stdlib/secure-getenv.c (__secure_getenv): Replace
20302 GLIBC_2_16 with GLIBC_2_17.
20303
3a31811e
L
203042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20305
20306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20308
faa2bccb
DM
203092012-08-03 David S. Miller <davem@davemloft.net>
20310
20311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20312
85fe1997
JM
203132012-08-03 Joseph Myers <joseph@codesourcery.com>
20314
20315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20316 Remove.
20317 (__ASSUME_CORRECT_SI_PID): Likewise.
20318 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20319 (__ASSUME_TMPFS_NAME): Likewise.
20320 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20321 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20322 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20323 (HAVE_AUX_SECURE): Make definition unconditional.
20324 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20325 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20326
4f75b7a0
RM
203272012-08-03 Roland McGrath <roland@hack.frob.com>
20328
20329 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20330 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20331 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20333 __eloop_threshold instead of SYMLOOP_MAX.
20334
20335 * sysdeps/generic/eloop-threshold.h: New file.
20336 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20337 of MAXSYMLINKS.
20338 * elf/chroot_canon.c (chroot_canon): Likewise.
20339
7aab07e4
JM
203402012-08-03 Joseph Myers <joseph@codesourcery.com>
20341
20342 [BZ #13717]
20343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20344 Change to 2.6.0 everywhere.
20345 * sysdeps/unix/sysv/linux/configure: Regenerated.
20346 * sysdeps/unix/sysv/linux/kernel-features.h
20347 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20348 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20349 kernel versions.
20350 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20351 (__ASSUME_FUTEX_REQUEUE): Remove.
20352 (__ASSUME_STATFS64): Define unconditionally.
20353 (__ASSUME_AT_SECURE): Likewise.
20354 (__ASSUME_CORRECT_SI_PID): Likewise.
20355 (__ASSUME_TGKILL): Define without depending on kernel version for
20356 i386.
20357 (__ASSUME_UTIMES): Likewise.
20358 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20359 kernel version.
20360 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20361 (__ASSUME_TMPFS_NAME): Likewise.
20362 * README: Update reference to Linux kernel versions.
20363
b67e9372
MP
203642012-08-02 Marek Polacek <polacek@redhat.com>
20365
1f529f7d 20366 [BZ# 14150]
b67e9372
MP
20367 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20368 libc_cv_asm_type_prefix with %.
20369 * configure: Regenerated.
d2441631
RM
20370 * include/libc-symbols.h: Remove comment about
20371 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20372 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20373 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20374 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20375 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20376 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20377 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20379 * elf/tst-unique2mod1.c: Likewise.
20380 * elf/tst-unique1mod2.c: Likewise.
20381 * elf/tst-unique1mod1.c: Likewise.
20382 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20383 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20384 Replace ASM_TYPE_DIRECTIVE with .type.
20385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20386 * sysdeps/i386/sysdep.h: Likewise.
20387 * sysdeps/x86_64/sysdep.h: Likewise.
20388 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20390 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20391 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20392 * sysdeps/powerpc/powerpc32/sysdep.h:
20393 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20394 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20396 * sysdeps/i386/fpu/e_powf.S: Likewise.
20397 * sysdeps/i386/fpu/e_expl.S: Likewise.
20398 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20400 * sysdeps/i386/fpu/e_pow.S: Likewise.
20401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20405 * sysdeps/i386/fpu/e_log2.S: Likewise.
20406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20408 * sysdeps/i386/fpu/e_powl.S: Likewise.
20409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20410 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20411 * sysdeps/i386/fpu/e_logl.S: Likewise.
20412 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20413 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20414 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20416 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20417 * sysdeps/i386/fpu/e_log.S: Likewise.
20418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20419 * sysdeps/i386/fpu/e_logf.S: Likewise.
20420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20423 * sysdeps/i386/fpu/e_log10.S: Likewise.
20424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20431 * sysdeps/i386/i686/strtok.S: Likewise.
20432 * sysdeps/i386/i386-mcount.S: Likewise.
20433 * sysdeps/i386/strtok.S: Likewise.
20434 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20435 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20436 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20437 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20438 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20440 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20441 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20443 * sysdeps/x86_64/_mcount.S: Likewise.
20444 * sysdeps/x86_64/strtok.S: Likewise.
20445 * sysdeps/sh/_mcount.S: Likewise.
20446
2747bf9a
RM
204472012-08-01 Roland McGrath <roland@hack.frob.com>
20448
20449 * libio/iofopen.c: Include <fcntl.h>.
20450 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20451 (_IO_fopen64, fopen64): Define as aliases.
20452 * libio/iofopen64.c: Include <fcntl.h>.
20453 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20454 Conditionalize body on this.
20455 * sysdeps/wordsize-64/iofopen.c: File removed.
20456 * sysdeps/wordsize-64/iofopen64.c: File removed.
20457
3fb791b8
MP
204582012-08-01 Marek Polacek <polacek@redhat.com>
20459
20460 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20461 Use dlfcn directly instead of a variable.
20462 (binfmt-subdir): Do not define.
20463 (dlfcn): Likewise.
20464
a9f1039f
JM
204652012-08-01 Joseph Myers <joseph@codesourcery.com>
20466
23bddc06
JM
20467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20468 Remove all definitions.
20469 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20470 <kernel-features.h>.
20471 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20472 (miss_F_GETOWN_EX): Remove all definitions.
20473 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20474 macro definition.
20475 [!__ASSUME_FCNTL64]: Remove conditional code.
20476 [__ASSUME_FCNTL64]: Make code unconditional.
20477 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20478 <kernel-features.h>.
20479 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20480 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20481 (lockf64) [__NR_fcntl64]: Make code unconditional.
20482 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20483
a9f1039f
JM
20484 * sysdeps/unix/sysv/linux/kernel-features.h
20485 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20486 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20487 Make code unconditional.
20488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20491 [__NR_vfork]: Make code unconditional.
20492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20495 [__NR_vfork]: Make code unconditional.
20496 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20497 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20498
09c0ee5f
RM
204992012-08-01 Roland McGrath <roland@hack.frob.com>
20500
48aec5b9
RM
20501 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20502 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20503
cd97c966
RM
20504 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20505 Define mkstemp64 as an alias.
3f55550c
RM
20506 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20507 Define mkstemps64 as an alias.
cd97c966
RM
20508 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20509 Define mkostemp64 as an alias.
b8625cfc
RM
20510 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20511 Define mkostemps64 as an alias.
cd97c966
RM
20512 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20513 Conditionalize body on this.
20514 * misc/mkostemp64.c: Likewise.
b8625cfc 20515 * misc/mkostemps64.c: Likewise.
3f55550c 20516 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20517 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20518 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20519 * sysdeps/wordsize-64/mkostemp.c: File removed.
20520 * sysdeps/wordsize-64/mkstemp.c: File removed.
20521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20525
09c0ee5f
RM
20526 [BZ #14138]
20527 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20528 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20529 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20530 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20531
20532 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20533 compat_symbol macros from <shlib-compat.h> rather than the underlying
20534 default_symbol_version and symbol_version macros, so that DEFAULT
20535 lines in shlib-versions are respected.
20536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20537
7e66ee51
FW
205382012-08-01 Florian Weimer <fweimer@redhat.com>
20539
20540 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20541 Declare with warn_unused_result.
20542 (setgid, setregid, setegid, setresgid): Likewise.
20543 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20544 Likewise.
20545 * WUR-REPORT: Remove set*id functions.
20546
d2a54255
PT
205472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20548
20549 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20550
7ecdb005
RM
205512012-07-31 Roland McGrath <roland@hack.frob.com>
20552
b4180a5e 20553 [BZ #10191]
789bd351
RM
20554 * include/sys/socket.h (__libc_accept, __libc_accept4):
20555 Add attribute_hidden.
20556 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20557
40ce302d
RM
20558 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20559 use of PTR_MANGLE.
20560 * inet/getnetgrent_r.c (setup): Likewise.
20561
7ecdb005
RM
20562 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20563
e2eabb2c
DM
205642012-07-31 David S. Miller <davem@davemloft.net>
20565
20566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20567
d0419dbf
JM
205682012-07-31 Joseph Myers <joseph@codesourcery.com>
20569
20570 [BZ #13629]
20571 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20572 value between 1.0 and 2.0 and smaller part has absolute value less
20573 than 1.0.
20574 * math/s_clog10.c (__clog10): Likewise.
20575 * math/s_clog10f.c (__clog10f): Likewise.
20576 * math/s_clog10l.c (__clog10l): Likewise.
20577 * math/s_clogf.c (__clogf): Likewise.
20578 * math/s_clogl.c (__clogl): Likewise.
20579 * math/libm-test.inc (clog_test): Add more tests.
20580 (clog10_test): Likewise.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20583
2bc13872
FW
205842012-07-31 Florian Weimer <fweimer@redhat.com>
20585
20586 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20587 Exit with zero in case no suitable GID is found, and write a
20588 message to standard error.
20589
bea9b193
RM
205902012-07-30 Roland McGrath <roland@hack.frob.com>
20591
20592 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20593 rather than to 1.
20594 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20595 (MAXPATHLEN): Removed.
20596 (NOGROUP, NODEV): New macros.
20597 (setbit, clrbit, isset, isclr): New macros.
20598 (howmany, roundup, powerof2): New macros.
20599 (DEV_BSIZE): New macro.
20600
20601 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20602 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20603
20604 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20605 definition on [!__NO_LONG_DOUBLE_MATH].
20606
20607 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20608 PTR_MANGLE and PTR_DEMANGLE.
20609
20610 * socket/accept4.c (accept4): Rename to __libc_accept4.
20611 Define accept4 as a weak alias.
20612
20613 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20614 on [_DIRENT_HAVE_D_TYPE].
20615 * io/ftw.c (ftw_dir): Likewise.
20616
20617 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20618
20619 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20620
20621 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20622 Use the BSD numbers rather than the arbitrary ones we had.
20623 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20624 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20625 (SIGXCPU, SIGXFSZ): New macros.
20626 (_NSIG): Now 32.
20627
20628 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20629 initializer on [_LIBC_REENTRANT].
20630
20631 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20632 definitions inside [_POSIX_MAPPED_FILES].
20633
20634 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20635
20636 * dirent/opendir.c: Include <fcntl.h>.
20637
20638 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20639 (__libc_getspecific): Likewise.
20640 (__libc_key_create): Likewise.
20641
20642 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20643 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20644 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20645 (tmpfile64): Define as alias.
20646 * sysdeps/wordsize-64/tmpfile.c: File removed.
20647 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20650
20651 * stdio-common/vfscanf.c: Include <stdbool.h>.
20652 * nss/makedb.c: Likewise.
20653 * stdio-common/_i18n_number.h: Likewise.
20654 * argp/argp-help.c: Likewise.
20655 * posix/wordexp.c: Likewise.
20656 * sysdeps/posix/spawni.c: Likewise.
20657 * nss/nss_files/files-initgroups.c: Likewise.
20658 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20659 * nss/nss_files/files-initgroups.c: Likewise.
20660 * nss/nss_db/db-netgrp.c: Likewise.
20661 * nss/nss_db/db-initgroups.c: Likewise.
20662 * io/fchmodat.c: Include <sys/stat.h>.
20663
20664 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20665 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20666
20667 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20668 [HAVE_MMAP].
20669
20670 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20671 Add multiple inclusion protection.
20672
e5abc686
DM
206732012-07-27 David S. Miller <davem@davemloft.net>
20674
20675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20676
815e6fa3
GB
206772012-07-27 Gary Benson <gbenson@redhat.com>
20678
20679 [BZ #14298]
20680 * elf/rtld.c: Include <stap-probe.h>.
20681 (dl_main): Added static probes "init_start" and "init_complete".
20682 * elf/dl-load.c: Include <stap-probe.h>.
20683 (lose): Take new parameter "nsid".
20684 Added static probe "map_failed".
20685 (_dl_map_object_from_fd): Pass namespace id to lose.
20686 Added static probe "map_start".
20687 (open_verify): Pass namespace id to lose.
20688 * elf/dl-open.c: Include <stap-probe.h>.
20689 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20690 and "reloc_complete".
20691 * elf/dl-close.c: Include <stap-probe.h>.
20692 (_dl_close_worker): Added static probes "unmap_start" and
20693 "unmap_complete".
20694 * elf/rtld-debugger-interface.txt: New file documenting the above.
20695
9f98c16c
RM
206962012-07-26 Roland McGrath <roland@hack.frob.com>
20697
20698 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20699 rather than a string variable.
20700 * sunrpc/rpc_main.c (h_output): Likewise.
20701 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20702
f3c22df3
PT
207032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20704
20705 * inet/check_native.c: New file.
20706
3129cfc6
JM
207072012-07-26 Joseph Myers <joseph@codesourcery.com>
20708
da865e95
JM
20709 [BZ #13629]
20710 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20711 if larger part has absolute value 1.0.
20712 * math/s_clog10.c (__clog10): Likewise.
20713 * math/s_clog10f.c (__clog10f): Likewise.
20714 * math/s_clog10l.c (__clog10l): Likewise.
20715 * math/s_clogf.c (__clogf): Likewise.
20716 * math/s_clogl.c (__clogl): Likewise.
20717 * math/libm-test.inc (clog_test): Add more tests.
20718 (clog10_test): Likewise.
20719 * sysdeps/i386/fpu/libm-test-ulps: Update.
20720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20721
3129cfc6
JM
20722 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20723 (pltexit): Likewise.
20724 (La_regs): Likewise.
20725 (La_retval): Likewise.
20726 (int_retval): Likewise.
20727 Update #error for removed macros to refer only to definitions in
20728 tst-audit.h.
20729 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20730 macro.
20731 (pltexit): Likewise.
20732 (La_regs): Likewise.
20733 (La_retval): Likewise.
20734 (int_retval): Likewise.
20735 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20736 macro.
20737 (pltexit): Likewise.
20738 (La_regs): Likewise.
20739 (La_retval): Likewise.
20740 (int_retval): Likewise.
20741 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20742 macro.
20743 (pltexit): Likewise.
20744 (La_regs): Likewise.
20745 (La_retval): Likewise.
20746 (int_retval): Likewise.
20747 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20748 macro.
20749 (pltexit): Likewise.
20750 (La_regs): Likewise.
20751 (La_retval): Likewise.
20752 (int_retval): Likewise.
20753 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20754 macro.
20755 (pltexit): Likewise.
20756 (La_regs): Likewise.
20757 (La_retval): Likewise.
20758 (int_retval): Likewise.
20759 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20760 macro.
20761 (pltexit): Likewise.
20762 (La_regs): Likewise.
20763 (La_retval): Likewise.
20764 (int_retval): Likewise.
20765 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20766 macro definitions in tst-audit.h.
20767 * sysdeps/i386/tst-audit.h: New file.
20768 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20769 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20770 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20771 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20772 * sysdeps/sh/tst-audit.h: Likewise.
20773 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20774 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20775 * sysdeps/x86_64/tst-audit.h: Likewise.
20776
bfc07087
AJ
207772012-07-26 Andreas Jaeger <aj@suse.de>
20778
b1b2aaf8
AJ
20779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20780 ptrace.
20781
20782 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20783 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20784 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20785 PTRACE_O_MASK.
20786 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20787 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20788 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20789
bfc07087
AJ
20790 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20791 value.
20792
20793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20794 _sigsys.
20795 (si_call_addr, si_syscall, si_arch): Define new macro.
20796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20797 _sigsys.
20798 (si_call_addr, si_syscall, si_arch): Define new marcro.
20799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20800 _sigsys.
20801 (si_call_addr, si_syscall, si_arch): Define new macro.
20802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20803 _sigsys.
20804 (si_call_addr, si_syscall, si_arch): Define new macro.
20805
89b4b02f
JM
208062012-07-25 Joseph Myers <joseph@codesourcery.com>
20807
20808 [BZ #13717]
20809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20810 Change to 2.4.21 where previously 2.4.1.
20811 * sysdeps/unix/sysv/linux/configure: Regenerated.
20812 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20813 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20814 Linux kernel version.
20815 (__ASSUME_STD_AUXV): Remove.
20816 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20817 kernel version.
20818 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20819 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20820 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20821 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20822 (__ASSUME_NETLINK_SUPPORT): Likewise.
20823 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20824 (__no_netlink_support): Remove conditional definition.
20825 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20826 Remove.
20827 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20828 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20829 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20830 (if_nameindex_ioctl): Remove.
20831 (if_nameindex_netlink): Do not handle __no_netlink_support.
20832 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20833 code.
20834 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20835 Remove conditional code.
20836 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20837 code.
20838 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20839 unconditional.
20840 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20841 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20842 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20843 Remove.
20844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20845 [!__ASSUME_STD_AUXV]: Remove conditional code.
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20847 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20848 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20852 code.
20853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20856 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20857 conditional code.
20858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20861 code.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20864 conditional code.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20866 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20867 code unconditional.
20868 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20869 conditional code.
20870 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20871 unconditional.
20872 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20873 conditional code.
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20875 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20876 unconditional.
20877 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20878 conditional code.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20880 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20881 code unconditional.
20882 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20883 conditional code.
20884 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20885 unconditional.
20886 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20887 conditional code.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20889 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20890 code unconditional.
20891 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20892 conditional code.
20893 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20894 unconditional.
20895 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20896 conditional code.
20897
842a39cd
AS
208982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20899
20900 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20902 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20903 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20904 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20905 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20906 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20907 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20908 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20909 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20910 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20911 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20912 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20916 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20918 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20921 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20923
84b3fd84
FW
209242012-07-25 Florian Weimer <fweimer@redhat.com>
20925
20926 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20927 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20928 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20929 Introduce __libc_secure_getenv.
0c7936d5
FW
20930 * stdlib/Versions (2.17): Add secure_getenv
20931 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20932 * stdlib/secure-getenv.c: Rename __secure_getenv to
20933 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20934 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20935 * stdlib/tst-secure-getenv.c: New.
20936 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20937 * manual/startup.texi (Environment Access): Document
20938 secure_getenv.
84b3fd84
FW
20939 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20940 __libc_secure_getenv.
20941 * inet/ruserpass.c (ruserpass): Likewise.
20942 * malloc/mtrace.c (mtrace): Likewise.
20943 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20945 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20946 * sysdeps/posix/tempname.c: Likewise. Evaluate
20947 HAVE_SECURE_GETENV.
20948 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20949 __secure_getenv to __libc_secure_getenv.
84b3fd84 20950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20952 Likewise.
20953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20954 Likewise.
20955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20962
56e49b71
JM
209632012-07-25 Joseph Myers <joseph@codesourcery.com>
20964
20965 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20966 (struct La_i86_retval): Likewise.
20967 (struct La_x86_64_regs): Likewise.
20968 (struct La_x86_64_retval): Likewise.
20969 (struct La_x32_regs): Likewise.
20970 (struct La_x32_retval): Likewise.
20971 (struct La_ppc32_regs): Likewise.
20972 (struct La_ppc32_retval): Likewise.
20973 (struct La_ppc64_regs): Likewise.
20974 (struct La_ppc64_retval): Likewise.
20975 (struct La_sh_regs): Likewise.
20976 (struct La_sh_retval): Likewise.
20977 (struct La_s390_32_regs): Likewise.
20978 (struct La_s390_32_retval): Likewise.
20979 (struct La_s390_64_regs): Likewise.
20980 (struct La_s390_64_retval): Likewise.
20981 (struct La_sparc32_regs): Likewise.
20982 (struct La_sparc32_retval): Likewise.
20983 (struct La_sparc64_regs): Likewise.
20984 (struct La_sparc64_retval): Likewise.
20985 (struct audit_ifaces): Remove architecture-specific pltenter and
20986 pltexit members.
20987 * sysdeps/i386/ldsodefs.h: New file.
20988 * sysdeps/powerpc/ldsodefs.h: Likewise.
20989 * sysdeps/s390/ldsodefs.h: Likewise.
20990 * sysdeps/sh/ldsodefs.h: Likewise.
20991 * sysdeps/sparc/ldsodefs.h: Likewise.
20992 * sysdeps/x86_64/ldsodefs.h: Likewise.
20993
354691b7
MP
209942012-07-25 Marek Polacek <polacek@redhat.com>
20995
20996 [BZ #6808]
20997 * math/libm-test.inc (yn_test): Add another test.
20998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20999 to ERANGE when the result is +-Inf.
21000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21004
bf9e2071
JM
210052012-07-24 Joseph Myers <joseph@codesourcery.com>
21006
21007 * conform/data/time.h-data (NULL): Use macro-constant. Require
21008 equal to 0.
21009 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21010 clock_t.
21011 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21012
57633811
TS
210132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21014
21015 * configure.in <sysdeps resolving>: Correct printing
21016 Implies_before.
21017 * configure: Regenerate.
21018
c23c33b0
TS
210192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21020
21021 * math/w_ilogb.c: Include <limits.h>.
21022 * math/w_ilogbl.c: Likewise.
21023
b5982523
JM
210242012-07-20 Joseph Myers <joseph@codesourcery.com>
21025
21026 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21027 va_copy. Document allowing for unavailable va_copy only as
21028 pre-C99 compatibility.
21029 * manual/string.texi (Copying and Concatenation): Use va_copy
21030 instead of __va_copy in concat example.
21031
ac4ea442
PT
210322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21033
21034 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21035 (__sendto): Use create_address_port. Initialize APORT and deallocate
21036 it if not null.
21037
f98eafbd
PT
21038 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21039 with O_NOLINK passed to __file_name_lookup.
21040
898c7aab
PT
21041 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21042 with O_NOLINK passed to __file_name_lookup.
21043
0ced335a
PT
21044 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21045 negative N or less than NGIDS.
21046
b3404dbd
PT
21047 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21048 type to string_t. Set ERANGE as errno and return it if NAME is not big
21049 enough. Use memcpy instead of strncpy.
21050
0f48659e
JM
210512012-07-20 Joseph Myers <joseph@codesourcery.com>
21052
21053 * elf/Makefile (check-data): Remove.
21054 (localplt.data): New vpath directive.
21055 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21056 instead of $(check-data).
21057 * scripts/data/localplt-generic.data: Move to ...
21058 * sysdeps/generic/localplt.data: ... here.
21059 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21060 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21061 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21063 ... here.
21064 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21066 ... here.
21067 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21069 ... here.
21070 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21072 ... here.
21073 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21075 ... here.
21076 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21078 ... here.
21079
d37cbdaa
AZ
210802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21081
21082 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21083 PPC32 and PPC64 files.
21084 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21085 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21086
46f85fc2
AK
210872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21088
21089 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21090 __makecontext_ret to ...
21091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21092 ... here and call exit if uc_link is NULL. New file.
21093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21094 __makecontext_ret.S.
21095 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21096 __makecontext_ret to ...
21097 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21098 ... here and call exit if uc_link is NULL. New file.
21099 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21100 __makecontext_ret.S.
21101
08f43f9b
AK
211022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21103
21104 * elf/elf.h (R_390_IRELATIVE): New definition.
21105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21106 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21107 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21109 (elf_machine_lazy_rel): Likewise.
21110 * sysdeps/s390/dl-irel.h: New file.
21111 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21112 * sysdeps/s390/s390-64/memset.S: New asm code.
21113 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21114 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21115 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21116 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21117 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21118 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21120 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21121 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21122 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21123 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21124 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21125 * sysdeps/s390/s390-32/memset.S: New asm code.
21126 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21127
3b05db33
MP
211282012-07-17 Marek Polacek <polacek@redhat.com>
21129
21130 [BZ #14349]
21131 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21132 * sysdeps/s390/s390-64/configure.in: Likewise.
21133 * sysdeps/sparc/configure.in: Likewise.
21134 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21135 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21136 * sysdeps/i386/configure.in: Likewise.
21137 * sysdeps/x86_64/configure.in: Likewise.
21138 * sysdeps/sh/configure.in: Likewise.
21139 * sysdeps/s390/s390-32/configure: Regenerated.
21140 * sysdeps/s390/s390-64/configure: Likewise.
21141 * sysdeps/x86_64/configure: Likewise.
21142 * sysdeps/sh/configure: Likewise.
21143 * sysdeps/powerpc/powerpc64/configure: Likewise.
21144 * sysdeps/powerpc/powerpc32/configure: Likewise.
21145 * sysdeps/sparc/configure: Likwise.
21146 * sysdeps/i386/configure: Likewise.
21147
a66877c6
MP
21148 * elf/dl-open.c: Comment fixes.
21149
cfc82fd8
JM
211502012-07-17 Joseph Myers <joseph@codesourcery.com>
21151
bd29910a
JM
21152 * Makefile [CXX] (check-data): Remove.
21153 [CXX] (c++-types.data): New vpath directive.
21154 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21155 vpath. Do not allow for C++ type data being missing.
21156 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21157 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21158 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21159 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21160 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21161 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21162 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21164 ... here.
21165 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21167 ... here.
21168 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21170 ... here.
21171 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21173 ... here.
21174 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21176 ... here.
21177 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21179 ... here.
21180 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21182 ... here.
21183 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21185
cfc82fd8
JM
21186 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21187 definitions to architecture-specific files.
21188 (TLS_IE): Likewise.
21189 (TLS_LD): Likewise.
21190 (TLS_GD): Likewise.
21191 * sysdeps/i386/tls-macros.h: New file.
21192 * sysdeps/powerpc/tls-macros.h: Likewise.
21193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21194 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21195 * sysdeps/sh/tls-macros.h: Likewise.
21196 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21197 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21198 * sysdeps/x86_64/tls-macros.h: Likewise.
21199
f7db3170
TS
212002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21201
07cbfc23
TS
21202 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21203 zero value for regular exit case.
21204
f7db3170
TS
21205 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21206 (__start_context): Preserve zero value for regular exit case.
21207
dc97c227
TS
212082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21209 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21210
21211 * manual/setjmp.texi (setcontext): Clarify normal process
21212 termination when uc_link is the null pointer.
21213 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21214 exit call.
21215
d0cd7d02
AS
212162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21217
21218 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21219 preprocessor. Test for each exception mask separately.
21220
dd318934
AJ
212212012-07-16 Andreas Jaeger <aj@suse.de>
21222
21223 * po/ru.po: Update from translation team.
21224
8048311a
JM
212252012-07-15 Joseph Myers <joseph@codesourcery.com>
21226
21227 * conform/data/string.h-data (NULL): Use macro-constant. Require
21228 equal to 0.
21229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21231 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21232 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21234
b637d46e
AJ
212352012-07-13 Andreas Jaeger <aj@suse.de>
21236
21237 * po/fr.po: Update from translation team.
21238
541428fe
MP
212392012-07-12 Marek Polacek <polacek@redhat.com>
21240
21241 [BZ #14173]
21242 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21244 loop condition.
21245
ec332e94
JM
212462012-07-12 Joseph Myers <joseph@codesourcery.com>
21247
21248 [BZ #13717]
21249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21250 Change to 2.4.1 where previously 2.4.0.
21251 * sysdeps/unix/sysv/linux/configure: Regenerated.
21252 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21253 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21254 version.
21255 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21256 (__ASSUME_AT_CLKTCK): Remove.
21257 (__ASSUME_AT_PAGESIZE): Likewise.
21258 (__ASSUME_AT_XID): Likewise.
21259 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21260 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21261 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21262 unconditionally.
21263 (HAVE_AUX_PAGESIZE): Likewise.
21264 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21265 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21266 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21267
7b6e99be
JB
212682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21269
21270 [BZ #14307]
21271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21272 the temporary buffer used to invoke __gethostbyname2_r,
21273 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21274 host_data / struct gaih_addrtuple.
21275 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21276 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21277 header file nss/nsswitch.h.
21278 * nss/nsswitch.h (global scope): Add definition of implementation
21279 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21280 resolv/nss_dns/dns-host.c).
21281
608404eb
AJ
212822012-07-11 Andreas Jaeger <aj@suse.de>
21283
21284 * po/fr.po: Update from translation team.
21285
71220aca
AJ
21286 * po/sv.po: Update from translation team
21287 * po/fr.po: Another update from translation team.
21288
28cfe843
AZ
212892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21290
21291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21292 for subnormals or multiply small sinh result by itself.
21293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21295
6b90f981
DM
212962012-07-11 David S. Miller <davem@davemloft.net>
21297
21298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21299
c6825772
AS
213002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21301
21302 [BZ #14347]
21303 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21304 (INTERNAL_MARK): Shift it here.
21305
7b8e0d49
MP
213062012-07-10 Marek Polacek <polacek@redhat.com>
21307
21308 [BZ #14151]
21309 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21310 libc_cv_asm_global_directive with .globl.
21311 * configure: Regenerated.
21312 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21313 with .globl.
21314 * sysdeps/i386/configure: Regenerated.
21315 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21316 with .globl.
21317 * sysdeps/x86_64/configure: Regenerated.
21318 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21319 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21320 * elf/tst-unique2mod2.c: Likewise.
21321 * elf/tst-unique2mod1.c: Likewise.
21322 * elf/tst-unique1mod2.c: Likewise.
21323 * elf/tst-unique1mod1.c: Likewise.
21324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21328 * sysdeps/mach/sysdep.h: Likewise.
21329 * sysdeps/i386/sysdep.h: Likewise.
21330 * sysdeps/i386/i386-mcount.S: Likewise.
21331 * sysdeps/x86_64/_mcount.S: Likewise.
21332 * sysdeps/x86_64/sysdep.h: Likewise.
21333 * sysdeps/sh/_mcount.S: Likewise.
21334 * sysdeps/sh/sysdep.h: Likewise.
21335 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21336 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21337 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21339 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21340 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21341 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21342 * locale/localeinfo.h: Likewise.
21343 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21344 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21345
6c55cda3
RM
213462012-07-09 Roland McGrath <roland@hack.frob.com>
21347
21348 [BZ #14336]
21349 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21350 system".
21351 * manual/message.texi (The Uniforum approach): Likewise.
21352 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21353 (glibc iconv Implementation): Likewise.
21354
638a572e
JM
213552012-07-09 Joseph Myers <joseph@codesourcery.com>
21356
21357 [BZ #14337]
21358 * math/s_clog.c (__clog): Avoid scaling a value down where that
21359 could result in underflow.
21360 * math/s_clog10.c (__clog10): Likewise.
21361 * math/s_clog10f.c (__clog10f): Likewise.
21362 * math/s_clog10l.c (__clog10l): Likewise.
21363 * math/s_clogf.c (__clogf): Likewise.
21364 * math/s_clogl.c (__clogl): Likewise.
21365 * math/libm-test.inc (clog_test): Add more tests.
21366 (clog10_test): Likewise.
21367 * sysdeps/i386/fpu/libm-test-ulps: Update.
21368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21369
261f4859
AS
213702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21371
0abaf3e4
AS
21372 [BZ #14283]
21373 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21374 by 7 not 8 to examine high bit of fractional part.
21375
261f4859
AS
21376 [BZ #14042]
21377 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21378 for call to __mcount_internal.
21379 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21380 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21381 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21382
f17ac40d
JM
213832012-07-06 Joseph Myers <joseph@codesourcery.com>
21384
9ad63c23
JM
21385 [BZ #14154]
21386 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21387 approximation for values within 0x1p-13f of an odd multiple of
21388 pi/4.
21389 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21390 exception. Add more tests.
21391 * sysdeps/i386/fpu/libm-test-ulps: Update.
21392
f17ac40d
JM
21393 [BZ #6778]
21394 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21395 inputs and return -1 for them. Do not check for +Inf in case not
21396 reachable for +Inf.
21397 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21398 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21400 and return -1 for them. Do not check for +Inf in case not
21401 reachable for +Inf.
21402 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21403 define.
21404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21405 and return -1 for them. Do not check for +Inf in case not
21406 reachable for +Inf.
21407 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21408 spurious underflow.
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21411
fb21f89b
MF
214122012-07-06 Mike Frysinger <vapier@gentoo.org>
21413
21414 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21415
cdfe2c5e
JM
214162012-07-05 Joseph Myers <joseph@codesourcery.com>
21417
21418 [BZ #14157]
21419 [BZ #14331]
21420 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21421 could result in spurious underflow. Scale down values above
21422 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21423 * math/s_csqrtf.c (__csqrtf): Likewise.
21424 * math/s_csqrtl.c (__csqrtl): Likewise.
21425 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21426 spurious underflow.
21427 * sysdeps/i386/fpu/libm-test-ulps: Update.
21428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21429
70d35b67
AS
214302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21431
704bc459
AS
21432 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21433 xopen-msg.sed.
21434 * catgets/xopen-msg.awk: New file.
21435 * catgets/xopen-msg.sed: Removed.
21436
70d35b67
AS
21437 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21438 po2text.sed.
21439 * intl/po2test.awk: New file.
21440 * intl/po2test.sed: Removed.
21441
ca61cf32
JM
214422012-07-04 Joseph Myers <joseph@codesourcery.com>
21443
21444 [BZ #14328]
21445 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21446 or multiply small sinh result by itself.
21447 * math/s_ctanf.c (__ctanf): Likewise.
21448 * math/s_ctanh.c (__ctanh): Likewise.
21449 * math/s_ctanhf.c (__ctanhf): Likewise.
21450 * math/s_ctanhl.c (__ctanhl): Likewise.
21451 * math/s_ctanl.c (__ctanl): Likewise.
21452 * math/libm-test.inc (ctan_test_tonearest): New function.
21453 (ctan_test_towardzero): Likewise.
21454 (ctan_test_downward): Likewise.
21455 (ctan_test_upward): Likewise.
21456 (ctanh_test_tonearest): Likewise.
21457 (ctanh_test_towardzero): Likewise.
21458 (ctanh_test_downward): Likewise.
21459 (ctanh_test_upward): Likewise.
21460 (main): Call these new functions.
21461 * sysdeps/i386/fpu/libm-test-ulps: Update.
21462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463
ca48a46a
MF
214642012-07-03 Mike Frysinger <vapier@gentoo.org>
21465
21466 * .gitignore: Delete /ports entry.
21467
9d63d37d
AJ
214682012-07-03 Andreas Jaeger <aj@suse.de>
21469
21470 * po/bg.po: Update from translation team.
21471 * po/cs.po: Likewise.
21472 * po/de.po: Likewise.
21473 * po/hr.po: Likewise.
21474 * po/nl.pl: Likewise.
21475 * po/pl.po: Likewise.
21476 * po/vi.po: Likewise.
21477
370ca3d2
JM
214782012-07-03 Joseph Myers <joseph@codesourcery.com>
21479
95f5a9a8
JM
21480 * Makeconfig [!+link] (+link-before-libc): New variable.
21481 [!+link] (+link-after-libc): Likewise.
21482 [!+link] (+link-tests): Likewise.
21483 [!+link] (+link): Define in terms of $(+link-before-libc) and
21484 $(+link-after-libc).
21485 [!+link-static] (+link-static-before-libc): New variable.
21486 [!+link-static] (+link-static-after-libc): Likewise.
21487 [!+link-static] (+link-static-tests): Likewise.
21488 [!+link-static] (+link-static): Define in terms of
21489 $(+link-static-before-libc) and $(+link-static-after-libc).
21490 [build-shared] (link-libc-before-gnulib): New variable.
21491 [build-shared] (link-libc-tests): Likewise.
21492 [build-shared] (link-libc): Define in terms of
21493 $(link-libc-before-gnulib).
21494 [!build-shared] (link-libc-tests): New variable.
21495 (link-libc-static-tests): New variable.
21496 [!gnulib] (gnulib-arch): New variable.
21497 [!gnulib] (gnulib-tests): Likewise.
21498 [!gnulib] (static-gnulib-arch): Likewise.
21499 [!gnulib] (static-gnulib-tests): Likewise.
21500 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21501 Define with "=" instead of ":=".
21502 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21503 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21504 * Rules (binaries-all-notests): New variable.
21505 (binaries-all-tests): Likewise.
21506 (binaries-static-notests): Likewise.
21507 (binaries-static-tests): Likewise.
21508 (binaries-all): Define using $(binaries-all-notests) and
21509 $(binaries-all-tests).
21510 (binaries-static): Define using $(binaries-static-notests) and
21511 $(binaries-static-tests).
21512 (binaries-shared-tests): New variable.
21513 (binaries-shared-notests): Likewise.
21514 (binaries-shared): Remove variable.
21515 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21516 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21517 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21518 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21519 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21520 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21521 * elf/Makefile (sln-modules): New variable.
21522 (extra-objs): Add $(sln-modules:=.o).
21523 (ldconfig-modules): Add static-stubs.
21524 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21525 * elf/static-stubs.c: New file.
21526
7a845b2c
JM
21527 [BZ #14283]
21528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21529 by 7 not 8 to examine high bit of fractional part. Use volatile
21530 variables when splitting into final array of floats if
21531 __FLT_EVAL_METHOD__ != 0.
21532 * math/libm-test.inc (cos_test): Add another test.
21533 (sin_test): Likewise.
21534 * sysdeps/i386/fpu/libm-test-ulps: Update.
21535
e2283f38
JM
21536 [BZ #14273]
21537 * math/libm-test.inc (cosh_test): Add more tests.
21538
370ca3d2
JM
21539 * version.h (RELEASE): Set to "development".
21540 (VERSION): Set to "2.16.90".
21541
ee9247c3
CD
215422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21543
21544 * NEWS: Update copyright. Remove last-updated date.
21545 Mention math library bug fixes and timezone data changes.
21546 * README: Mention GNU/Hurd, x32, and HPPA support status.
21547
4648c381
TS
215482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21549
21550 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21551
aac78a43
AJ
215522012-06-27 Andreas Jaeger <aj@suse.de>
21553
21554 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21555
ed3dbfad
AJ
215562012-06-25 Andreas Jaeger <aj@suse.de>
21557
21558 * sysdeps/s390/fpu/libm-test-ulps: Update.
21559
4d0ee855
AS
215602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21561 Thomas Schwinge <thomas@codesourcery.com>
21562
21563 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21564 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21566 fanotify_mark.
21567
af1bce34
TS
215682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21569
a9fa33ba
TS
21570 * sysdeps/mach/start.c: Remove file.
21571 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21572 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21573 * sysdeps/sh/init-first.c: Likewise.
21574
58f902b8
TS
21575 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21576 registers for frame unwinding purposes, add CFI directives.
21577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21579 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21580 Likewise.
21581
1518f58b
TS
21582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21583 __fortify_fail returning.
21584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21585
db9b5059
TS
21586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21587 sysdeps/sh/____longjmp_chk.S.
21588 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21589 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21590 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21591 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21592
967705fe
TS
21593 * sysdeps/sh/abort-instr.h: New file.
21594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21595 process in case exit returns.
21596
a9def8c4
TS
21597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21598 initialize the GOT register before use.
21599
2a649725
TS
21600 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21601 calculation of ARGC > 4.
21602
af1bce34
TS
21603 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21604 meaningful names to some local labels.
21605
d230f50a
KK
216062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21607 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21608
21609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21610 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21611 (__arch_compare_and_exchange_val_16_acq): Likewise.
21612 (__arch_compare_and_exchange_val_32_acq): Likewise.
21613 (atomic_exchange_and_add): Fix gUSA sequence.
21614 (atomic_add): Likewise.
21615 (atomic_add_negative): Likewise.
21616 (atomic_add_zero): Likewise.
21617 (atomic_bit_test_set): Likewise.
21618
0479b305
AS
216192012-06-22 Andreas Schwab <schwab@redhat.com>
21620
21621 [BZ #13579]
21622 * include/link.h (struct link_map): Add l_free_initfini.
21623 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21624 l_initfini.
21625 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21626 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21627 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21628 set.
21629
0e3933b9
CD
216302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21631
21632 * configure.in: Use AC_LANG_SOURCE.
21633 * configure: Regenerate.
21634
4248b1b1
RM
216352012-06-22 Roland McGrath <roland@hack.frob.com>
21636
21637 * configure.in (libc_cv_localstatedir): New substituted variable.
21638 * configure: Regenerated.
21639 * config.make.in (localstatedir): New variable, substituted from
21640 libc_cv_localstatedir.
21641 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21642 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21643 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21644 * sysdeps/gnu/configure: Regenerated.
21645
006dd861
JL
216462012-06-21 Jeff Law <law@redhat.com>
21647
21648 [BZ #14277]
21649 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21650 free. Simplify list management for _LIBC case.
21651
79662d42
JM
216522012-06-21 Joseph Myers <joseph@codesourcery.com>
21653
b7abb4bf
JM
21654 [BZ #14273]
21655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21656 Clear sign bit of 64-bit integer value before comparing against
21657 overflow value.
21658
79662d42
JM
21659 * sysdeps/mach/configure: Regenerated.
21660
1f150908
L
216612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21662
21663 [BZ #14278]
21664 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21665
28363bbf
JL
216662012-06-21 Jeff Law <law@redhat.com>
21667
21668 [BZ #13882]
21669 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21670 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21672 * elf/dl-open.c (dl_open_worker): Likewise.
21673
09615db4
CD
216742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21675
21676 * scripts/list-sources.sh: Scan PORTS for translations.
21677 * po/libc.pot: Regenerated.
21678
2174c6dd
AJ
216792012-06-21 Andreas Jaeger <aj@suse.de>
21680
21681 [BZ #12194]
21682 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21683 warning.
21684 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21685 * bits/byteswap-16.h (__bswap_16): Likewise.
21686 * bits/byteswap.h (__bswap_constant_16): Likewise.
21687
3ee947b1
L
216882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21689
21690 [BZ #14117]
a2f34833
L
21691 * sysdeps/i386/fpu_control.h: Removed.
21692 * sysdeps/x86_64/fpu_control.h: Moved to ...
21693 * sysdeps/x86/fpu_control.h: Here.
21694
3ee947b1
L
21695 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21696 (_FPU_SETCW): Likewise.
21697
ed1825f8
L
216982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21699
25f1282a
L
21700 [BZ #14117]
21701 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21702 * sysdeps/x86/fpu/bits/mathinline.h: This.
21703 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21704
ed1825f8
L
21705 [BZ #14050]
21706 [BZ #14117]
21707 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21708 functions if __x86_64__ is defined.
21709
36d54b74
CLT
217102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21711
21712 * string/endian.h: Add !__ASSEMBLER__ condition for including
21713 conversion interfaces.
21714
10285c21
JM
217152012-06-15 Joseph Myers <joseph@codesourcery.com>
21716
21717 [BZ #14241]
21718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21719 of ABS(x) in calculating zero to negative powers other than odd
21720 integers.
21721 * math/libm-test.inc (pow_test): Add more tests.
21722
06c5abbd
AJ
217232012-06-15 Andreas Jaeger <aj@suse.de>
21724
21725 * manual/contrib.texi (Contributors): Update entry of Liubov
21726 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21727 Machado Filho.
21728
a3aeac40
CH
217292012-06-15 Cyril Hrubis <metan@ucw.cz>
21730
21731 * string/string.h: Add __wur to GNU version of strerror_r.
21732
49bdf4c1
L
217332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21734
21735 [BZ #14229]
21736 * string/Makefile (tests): Add tst-strtok_r.
21737 * string/tst-strtok_r.c: New file.
21738 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21739 RAX_LP/RDX_LP on SAVE_PTR.
21740
834f9b8d
RM
217412012-06-14 Roland McGrath <roland@hack.frob.com>
21742
21743 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21744
75fa1921
JM
217452012-06-14 Joseph Myers <joseph@codesourcery.com>
21746
21747 * libm_test.inc (csqrt_test): Allow more spurious underflow
21748 exceptions.
21749 (j0_test): Likewise.
21750 (j1_test): Likewise.
21751 (y0_test): Likewise.
21752 (y1_test): Likewise.
21753
771766df
CD
217542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21755
21756 * po/Makefile (libc.pot): Use UTF-8 charset.
21757
ceb9e56b
PP
217582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21759
21760 [BZ #14210]
21761 Suppress sign-conversion warning from FD_SET.
21762 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21763 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21764 not unsigned long int.
21765 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21766
ddb28975
L
217672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21768
21769 [BZ #14050]
21770 [BZ #14117]
21771 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21772 __extern_always_inline instead of __extern_inline.
21773 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21774 (__signbit): Likewise.
21775 (__signbitl): Support C++ namespace.
21776 (lrintf): New inline function.
21777 (lrint): Likewise.
21778 (llrintf): Likewise.
21779 (llrint): Likewise.
21780 (fmaxf): Likewise.
21781 (fmax): Likewise.
21782 (fminf): Likewise.
21783 (fmin): Likewise.
21784 (rint): Likewise.
21785 (rintf): Likewise.
21786 (ceil): Likewise.
21787 (ceilf): Likewise.
21788 (floor): Likewise.
21789 (floorf): Likewise.
21790 (nearbyint): Likewise.
21791 (nearbyintf): Likewise.
21792
d7b4fb26
TS
217932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21794
21795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21796 non-default versions.
21797
eb55f5c2
RM
217982012-06-11 Roland McGrath <roland@hack.frob.com>
21799
21800 [BZ #14218]
21801 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21802
366af02c
TS
218032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21804
99ff6e5c
TS
21805 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21806 (FE_UPWARD, FE_DOWNWARD): Don't define.
21807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21809
366af02c
TS
21810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21811 reading it.
21812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21814
793ea851
KK
218152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21816
21817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21821
a728a38f
L
218222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21823
21824 [BZ #14117]
c08010c7
L
21825 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21826 * sysdeps/i386/fpu/Implies: New file.
21827 * sysdeps/x86_64/fpu/Implies: Likewise.
21828 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21829 * sysdeps/x86/fpu/bits/fenv.h: This.
21830
a728a38f
L
21831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21832 __SSE_MATH__.
21833
6e230d11
SP
218342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21835
21836 [BZ #14134]
21837 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21838 character 0xffff that matches the last element of the
21839 conversion table.
21840
1b671feb
AZ
218412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21842
21843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21844 fmodl commit.
21845
6043738b
AZ
218462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21847
21848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21849 values higher than 25.6283.
21850
34ae0b32
AZ
218512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852
21853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21854 subnormal exponent extraction and add some __builtin_expect.
21855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21856 Fix for subnormal mantissa calculation.
21857
1214ec8f
MF
218582012-06-04 Mike Frysinger <vapier@gentoo.org>
21859
21860 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21861 cpu2 is -1 and errno is not ENOSYS.
21862
f3d1f93c
L
218632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21864
21865 [BZ #14117]
0e4a3cd7
L
21866 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21867 * sysdeps/x86/bits/string.h: This.
21868 * sysdeps/x86_64/bits/string.h: Removed.
21869
6704c645
L
21870 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21871 if not compiling for x86-64, but compiling for >= i486.
21872
48495318
L
21873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21874 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21875
14adcbfc
L
21876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21877 New macro from Linux kernel 3.4.0.
21878 (FP_XSTATE_MAGIC2): Likewise.
21879 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21880 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21881 (struct _fpx_sw_bytes): New struct.
21882 (struct _xsave_hdr): Likewise.
21883 (struct _ymmh_state): Likewise.
21884 (struct _xstate): Likewise.
21885
68e408ab
L
21886 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21887 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21889 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21891 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21892
f3d1f93c
L
21893 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21895 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21896 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21897 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21898 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21899
d9dc34cd
TMQMF
219002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21901
21902 [BZ #13743]
21903 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21904 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21905 (sysdep_headers): Include sys/platform/ppc.h.
21906 * sysdeps/powerpc/test-gettimebase.c: Test for
21907 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21908 * manual/Makefile (appendices): Include platform.texi.
21909 * manual/contrib.texi (Contributors): Update @node pointers.
21910 * manual/maint.texi (Maintenance): Likewise.
21911 (Platform): New node.
21912 * manual/platform.texi: New file. Document the new features.
21913
4af3879c
SP
219142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21915 Jakub Jelinek <jakub@redhat.com>
21916
21917 [BZ #14188]
21918 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21919 where __builtin_expect is unavailable.
21920
2fd6ff13
DM
219212012-06-03 David S. Miller <davem@davemloft.net>
21922
21923 * stdlib/longlong.h: Updated from GCC.
21924
173f7220
AS
219252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21926
21927 [BZ #14042]
21928 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21929 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21930 __mcount_internal.
21931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21932 (GLIBC_2.16): Likewise.
21933
f34a1c6f
L
219342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21935
21936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21937
88a4576f
JM
219382012-06-01 Joseph Myers <joseph@codesourcery.com>
21939
ea32bcdd
JM
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21941 (default-abi): New variable.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21944 variable.
21945 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21946 Likewise.
21947 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21948 Likewise.
21949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21950 Likewise.
21951
88a4576f
JM
21952 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21953 definition. Document in comment.
21954
402fe938
DM
219552012-06-01 David S. Miller <davem@davemloft.net>
21956
21957 * stdlib/longlong.h: Updated from GCC.
21958
3553723f
L
219592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 [BZ #14117]
3bd872c4
L
21962 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21963 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21964 sys/debugreg.h sys/io.h here.
21965 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21966 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21967 sys/io.h.
21968 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21969 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21971 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21973 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21974
3553723f
L
21975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21976 Define only if __x86_64__ is defined.
21977
4842e4fe
JM
219782012-06-01 Joseph Myers <joseph@codesourcery.com>
21979
c5bfe3d5
JM
21980 [BZ #14048]
21981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21982 Use int64_t for variable i.
21983 * math/libm-test.inc (fmod_test): Add more tests.
21984
4842e4fe
JM
21985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21986 z computation is not scheduled after fetestexcept.
21987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21988 Use math_force_eval instead of asm to ensure calculation scheduled
21989 before exception test.
21990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21991 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21992
efb73488
AJ
219932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21994
21995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21996 computation is not scheduled after fetestexcept.
21997
29bcce7c
L
219982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21999
22000 [BZ #14117]
22001 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22003
73a68f94
AZ
220042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22005
22006 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22008
67b6df78
L
220092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22010
edf2933a 22011 [BZ #14117]
ebc64a18
L
22012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22013 <bits/wordsize.h>.
22014 (__WCHAR_MIN): Support __WORDSIZE == 64.
22015 (__WCHAR_MAX): Likewise.
22016
edf2933a
L
22017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22019
57c6cf40
L
22020 [BZ #14183]
22021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22022 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22023
67b6df78 22024 [BZ #14117]
8eb6281e
L
22025 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22027
aac639f4
L
22028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22030
67b6df78
L
22031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22032 Defined to 1 if __x86_64__ isn't defined.
22033 (_STAT_VER_LINUX_OLD): New.
22034 (st_atime): Remove duplicate.
22035 (st_mtime): Likewise.
22036 (st_ctime): Likewise.
22037
1c2cfe81
DM
220382012-05-31 David S. Miller <davem@davemloft.net>
22039
22040 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22041 entries.
22042
5be8418c
AS
220432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22044
e7725326
AS
22045 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22046 gen-libm-test.pl.
22047
5be8418c
AS
22048 [BZ #14132]
22049 * elf/dl-reloc.c: Include <_itoa.h>.
22050 (_dl_reloc_bad_type): Remove use of INTUSE.
22051 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22052 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22053 * stdio-common/psiginfo.c (psiginfo): Likewise.
22054 * stdio-common/psignal.c (psignal): Likewise.
22055 * string/strsignal.c (strsignal): Likewise.
22056 * include/signal.h (_sys_siglist): Declare hidden proto.
22057 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22058 INTVARDEF with libc_hidden_data_def.
22059 * stdio-common/itoa-udigits.c: Likewise.
22060 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22061 (_itoa_lower_digits_internal): Remove declaration.
22062 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22063 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22064 (_sys_sigabbrev_internal): Remove aliases.
22065 (_sys_siglist): Define hidden alias.
22066
507352f1
MT
220672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22068
22069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22070 bits/sysctl.h.
22071
42bbb1c3
L
220722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22073
22074 [BZ #14117]
6bd784b6
L
22075 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22076 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22077
8bca20f0
L
22078 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22079 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22081 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22083 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22084
f9e890a9
L
22085 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22088
471101a1
L
22089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22090 with __addr.
22091 (insw): Likewise.
22092 (insl): Likewise.
22093 (outsb): Likewise.
22094 (outsw): Likewise.
22095 (outsl): Likewise.
22096
6451c862
L
22097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22099 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22100
a254b8c9
L
22101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22104 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22105 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22107
b8dfdd92
L
22108 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22109 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22110
578cd270
L
22111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22113
de662f5f
L
22114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22117
25653439
L
22118 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22119 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22120 to ...
22121 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22122
6bad24a0
L
22123 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22125 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22126
42bbb1c3
L
22127 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22128 for x86-64.
22129 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22130
2d10d547
JM
221312012-05-31 Joseph Myers <joseph@codesourcery.com>
22132
22133 * math/math.h (M_El): Use two more decimal places.
22134 (M_LOG2El): Likewise.
22135 (M_LOG10El): Likewise.
22136 (M_LN2l): Likewise.
22137 (M_LN10l): Likewise.
22138 (M_PIl): Likewise.
22139 (M_PI_2l): Likewise.
22140 (M_PI_4l): Likewise.
22141 (M_1_PIl): Likewise.
22142 (M_2_PIl): Likewise.
22143 (M_2_SQRTPIl): Likewise.
22144 (M_SQRT2l): Likewise.
22145 (M_SQRT1_2l): Likewise.
22146
f230c29b
DM
221472012-05-31 David S. Miller <davem@davemloft.net>
22148
22149 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22150 values between float registers.
22151 * sysdeps/sparc/sparc64/memset.S: Likewise.
22152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22153
fed806c3
MF
221542012-05-31 Mike Frysinger <vapier@gentoo.org>
22155
22156 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22157 -D_FORTIFY_SOURCE=1.
22158 (CPPFLAGS-tst-longjmp_chk.c): Define.
22159 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22160 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22161 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22162 CFLAGS-tst-wchar-h.c.
22163
30917259
MP
221642012-05-31 Marek Polacek <polacek@redhat.com>
22165
22166 [BZ #14132]
22167 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22168 __endmntent_internal): Remove declaration.
22169 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22170 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22171 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22172
1c58d5dc
DM
221732012-05-30 David S. Miller <davem@davemloft.net>
22174
22175 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22176 (___Q_simulate_exceptions): Use real FP ops rather than writing
22177 into the %fsr.
22178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22179 Likewise.
22180
7dc00e0d
L
221812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 [BZ #14117]
0bd53985
L
22184 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22185 * sysdeps/x86/bits/xtitypes.h: This.
22186
3a257e66
L
22187 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22188 * sysdeps/x86/bits/wordsize.h: This.
22189
62f62904
L
22190 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22191 * sysdeps/x86/bits/huge_vall.h: This.
22192
404fe9d9
L
22193 * sysdeps/i386/bits/select.h: Removed.
22194 * sysdeps/x86_64/bits/select.h: Renamed to ...
22195 * sysdeps/x86/bits/select.h: This.
22196
d48d0446
L
22197 * sysdeps/i386/bits/setjmp.h: Removed.
22198 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22199 * sysdeps/x86/bits/setjmp.h: This.
22200
7dc00e0d
L
22201 * sysdeps/i386/bits/mathdef.h: Removed.
22202 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22203 * sysdeps/x86/bits/mathdef.h: This.
22204
03277f8f
AS
222052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22206
22207 [BZ #14132]
22208 * include/sys/socket.h (__connect_internal)
22209 (__libc_sa_len_internal): Remove declaration.
22210 (__connect, __libc_sa_len): Declare hidden_proto.
22211 (SA_LEN): Remove use of INTUSE.
22212 * socket/connect.c: Add libc_hidden_def.
22213 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22214 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22215 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22216 alias.
22217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22219 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22220 of adding _internal alias.
22221
13764867
L
222222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22223
22224 [BZ #14117]
6bd97696
L
22225 * sysdeps/i386/bits/link.h: Removed.
22226 * sysdeps/i386/bits/linkmap.h: Likewise.
22227 * sysdeps/x86_64/bits/link.h: Renamed to ...
22228 * sysdeps/x86/bits/link.h: This.
22229 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22230 * sysdeps/x86/bits/linkmap.h: This.
22231
f726f0bb
L
22232 * sysdeps/i386/bits/endian.h: Removed.
22233 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22234 * sysdeps/x86/bits/endian.h: This.
22235
13764867
L
22236 * sysdeps/i386/bits/byteswap.h: Removed.
22237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22238 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22239 * sysdeps/x86/bits/byteswap.h: This.
22240 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22241 * sysdeps/x86/bits/byteswap-16.h: This.
22242 * sysdeps/i386/Implies: Add x86.
22243 * sysdeps/x86_64/Implies: Likewise.
22244
ae251b0b
DM
222452012-05-30 David S. Miller <davem@davemloft.net>
22246
22247 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22248 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22250 (FP_TRAPPING_EXCEPTIONS): Define.
22251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22252 (FP_TRAPPING_EXCEPTIONS): Define.
22253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22254 subnormals only when inexact has been signalled or underflow
22255 exceptions are enabled.
22256 (_FP_PACK_CANONICAL): Likewise.
22257
d5c90867
L
222582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22259
22260 [BZ #14183]
22261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22262 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22263
63f1549e
RH
222642012-05-30 Richard Henderson <rth@twiddle.net>
22265
8d8f2279
RH
22266 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22267 with #ifndef NOT_IN_libc.
22268
63f1549e
RH
22269 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22270 marked to avoid plt entry.
22271
0ab0291b
L
222722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 [BZ #14112]
22275 * Makeconfig (default-abi): New macro.
22276 (abi-includes): Likewise.
22277 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22278 $(abi-$(default-abi)-lib-soname) for soname if defined.
22279 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22280 abi-variants.
22281 * Makefile (installed-stubs): Likewise.
22282 * include/stubs-biarch.h: Removed.
22283 * scripts/lib-names.awk: Only handle one library at a time.
22284 * scripts/soversions.awk: Remove WORDSIZE support.
22285 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22286 entries.
22287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22288 Removed.
22289 (syscall-list-default-condition): Likewise.
22290 (syscall-list-default-condition): Likewise.
22291 (syscall-list-includes): Likewise.
22292 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22293 syscall-list-* with abi-*. Handle undefined abi-variants.
22294 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22295 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22296 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22297 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22299 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22300 Removed.
22301 (syscall-list-32-options): Likewise.
22302 (syscall-list-32-condition): Likewise.
22303 (syscall-list-64-options): Likewise.
22304 (syscall-list-64-condition): Likewise.
22305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22306 macro.
22307 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22308 Renamed to ...
22309 (abi-*): This.
22310 (abi-64-ld-soname): New macro.
22311 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22312 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22313 Renamed to ...
22314 (abi-*): This.
22315 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22316 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22317
4da0431d
JM
223182012-05-30 Joseph Myers <joseph@codesourcery.com>
22319
3a85279c
JM
22320 * sysdeps/unix/sysv/linux/kernel-features.h
22321 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22322 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22323 include <kernel-features.h>.
22324 [!__NR_ftruncate64]: Remove conditional code.
22325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22326 [__NR_ftruncate64]: Make code unconditional.
22327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22328 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22329 include <kernel-features.h>.
22330 [!__NR_ftruncate64]: Remove conditional code.
22331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22332 [__NR_ftruncate64]: Make code unconditional.
22333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22335 include <kernel-features.h>.
22336 [!__NR_ftruncate64]: Remove conditional code.
22337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22338 [__NR_ftruncate64]: Make code unconditional.
22339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22341 include <kernel-features.h>.
22342 [!__NR_ftruncate64]: Remove conditional code.
22343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22344 [__NR_ftruncate64]: Make code unconditional.
22345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22346
4da0431d
JM
22347 * configure.in (libc_cv_fpie): Weaken to a compile test using
22348 LIBC_TRY_CC_OPTION.
22349 * configure: Regenerated.
22350
11ef492c
AK
223512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22352
22353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22357 Refreshed.
22358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22364 Refreshed.
22365
d66ef399
DM
223662012-05-27 David S. Miller <davem@davemloft.net>
22367
22368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22369 (___Q_zero): New.
22370 (__Q_simulate_exceptions): Return void. Change to simulate
22371 exceptions by writing into the %fsr.
22372 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22373 (__Qp_handle_exceptions): Likewise.
22374 (numbers): Delete.
22375 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22376 __Qp_handle_exceptions.
22377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22378 __Qp_handle_exceptions.
22379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22380 as unused and give dummy FP_RND_NEAREST initializer.
22381 (FP_INHIBIT_RESULTS): Define.
22382 (___Q_simulate_exceptions): Update declaration.
22383 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22384 formatting.
22385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22386 as unused and give dummy FP_RND_NEAREST initializer.
22387 (__Qp_handle_exceptions): Update declaration.
22388 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22389 formatting.
22390
04fb54b5
TS
223912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22392
22393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22394 the temporary FPU control word.
22395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22396 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22397 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22398 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22401 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22406
3f99608f
KK
224072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22408
22409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22410 fields.
22411
65a4de4e
CLT
224122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22413
22414 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22415 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22416 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22417 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22418 Likewise.
22419 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22420 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22421 Likewise.
22422
15749d40
UD
224232012-05-27 Ulrich Drepper <drepper@gmail.com>
22424
22425 * po/h.po: Update from translation team.
22426
25dbcb27
AS
224272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22428
3d3f8e55
AS
22429 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22430
25dbcb27
AS
22431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22432 handling of denormals.
22433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22434 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22440 Likewise.
22441
7ad47a80 224422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22443
22444 [BZ #14152]
22445 * math/libm-test.inc (fma_test): Don't always expect underflow
22446 exception.
22447
9c6ea9fa
SP
224482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22449
22450 [BZ #12416]
22451 * elf/tst-execstack.c: Include stackinfo.h.
22452 (do_test): Adjust test case to ensure that pthread_getattr_np
22453 behaviour remains the same after marking stack executable.
22454
a8239222
JM
224552012-05-25 Joseph Myers <joseph@codesourcery.com>
22456
22457 * sysdeps/unix/sysv/linux/kernel-features.h
22458 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22460 kernel-features.h.
22461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22463 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22464 kernel-features.h.
22465 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22466 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22467
918b5606
L
224682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22469
22470 * configure.in: Define the default includes to being none.
22471 * configure: Regenerated.
22472
3a097cc7
RM
224732012-05-25 Roland McGrath <roland@hack.frob.com>
22474
8422c9a5
RM
22475 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22476 * sysdeps/x86_64/setjmp.S: Likewise.
22477 * sysdeps/i386/bsd-setjmp.S: Likewise.
22478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22479 * sysdeps/i386/setjmp.S: Likewise.
22480 * sysdeps/i386/__longjmp.S: Likewise.
22481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22482 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22483
3a097cc7
RM
22484 * include/stap-probe.h: New file.
22485 * configure.in: Handle --enable-systemtap.
22486 * configure: Regenerated.
22487 * config.h.in (USE_STAP_PROBE): New #undef.
22488 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22489 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22490 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22491
21708942
JM
224922012-05-25 Joseph Myers <joseph@codesourcery.com>
22493
22494 [BZ #13717]
22495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22496 to 2.4.0 where earlier.
22497 * sysdeps/unix/sysv/linux/configure: Regenerated.
22498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22499 <kernel-features.h>.
22500 [__ASSUME_32BITUIDS]: Make code unconditional.
22501 [!__ASSUME_32BITUIDS]: Remove conditional code.
22502 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22503 <kernel-features.h>.
22504 [__ASSUME_32BITUIDS]: Make code unconditional.
22505 [!__ASSUME_32BITUIDS]: Remove conditional code.
22506 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22507 [__ASSUME_32BITUIDS]: Make code unconditional.
22508 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22509 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22510 <kernel-features.h>.
22511 [__ASSUME_32BITUIDS]: Make code unconditional.
22512 [!__ASSUME_32BITUIDS]: Remove conditional code.
22513 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22514 <kernel-features.h>.
22515 [__ASSUME_32BITUIDS]: Make code unconditional.
22516 [!__ASSUME_32BITUIDS]: Remove conditional code.
22517 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22518 <kernel-features.h>.
22519 [__ASSUME_32BITUIDS]: Make code unconditional.
22520 [!__ASSUME_32BITUIDS]: Remove conditional code.
22521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22522 <kernel-features.h>.
22523 [__ASSUME_32BITUIDS]: Make code unconditional.
22524 [!__ASSUME_32BITUIDS]: Remove conditional code.
22525 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22526 <kernel-features.h>.
22527 [__ASSUME_32BITUIDS]: Make code unconditional.
22528 [!__ASSUME_32BITUIDS]: Remove conditional code.
22529 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22530 <kernel-features.h>.
22531 [__ASSUME_32BITUIDS]: Make code unconditional.
22532 [!__ASSUME_32BITUIDS]: Remove conditional code.
22533 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22534 <kernel-features.h>.
22535 [__ASSUME_32BITUIDS]: Make code unconditional.
22536 [!__ASSUME_32BITUIDS]: Remove conditional code.
22537 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
22546 <kernel-features.h>.
22547 [__ASSUME_32BITUIDS]: Make code unconditional.
22548 [!__ASSUME_32BITUIDS]: Remove conditional code.
22549 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22550 <kernel-features.h>.
22551 [__NR_setresgid] (__setresgid): Do not declare.
22552 [__ASSUME_32BITUIDS]: Make code unconditional.
22553 [!__ASSUME_32BITUIDS]: Remove conditional code.
22554 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22555 <kernel-features.h>.
22556 [__NR_setresuid] (__setresuid): Do not declare.
22557 [__ASSUME_32BITUIDS]: Make code unconditional.
22558 [!__ASSUME_32BITUIDS]: Remove conditional code.
22559 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22560 <kernel-features.h>.
22561 [__ASSUME_32BITUIDS]: Make code unconditional.
22562 [!__ASSUME_32BITUIDS]: Remove conditional code.
22563 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22564 <kernel-features.h>.
22565 [__ASSUME_32BITUIDS]: Make code unconditional.
22566 [!__ASSUME_32BITUIDS]: Remove conditional code.
22567 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22568 <kernel-features.h>.
22569 [__ASSUME_32BITUIDS]: Make code unconditional.
22570 [!__ASSUME_32BITUIDS]: Remove conditional code.
22571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22572 <kernel-features.h>.
22573 [__ASSUME_32BITUIDS]: Make code unconditional.
22574 [!__ASSUME_32BITUIDS]: Remove conditional code.
22575 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22576 <kernel-features.h>.
22577 [__ASSUME_32BITUIDS]: Make code unconditional.
22578 [!__ASSUME_32BITUIDS]: Remove conditional code.
22579 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22580 <kernel-features.h>.
22581 [__ASSUME_32BITUIDS]: Make code unconditional.
22582 [!__ASSUME_32BITUIDS]: Remove conditional code.
22583 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22584 <kernel-features.h>.
22585 [__ASSUME_32BITUIDS]: Make code unconditional.
22586 [!__ASSUME_32BITUIDS]: Remove conditional code.
22587 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22588 <kernel-features.h>.
22589 [__ASSUME_32BITUIDS]: Make code unconditional.
22590 [!__ASSUME_32BITUIDS]: Remove conditional code.
22591 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22592 <kernel-features.h>.
22593 [__ASSUME_32BITUIDS]: Make code unconditional.
22594 [!__ASSUME_32BITUIDS]: Remove conditional code.
22595 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22596 <kernel-features.h>.
22597 [__ASSUME_32BITUIDS]: Make code unconditional.
22598 [!__ASSUME_32BITUIDS]: Remove conditional code.
22599 * sysdeps/unix/sysv/linux/kernel-features.h
22600 (__ASSUME_SETRESUID_SYSCALL): Remove.
22601 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22602 (__ASSUME_32BITUIDS): Likewise.
22603 (__ASSUME_LDT_WORKS): Likewise.
22604 (__ASSUME_O_DIRECTORY): Likewise.
22605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22606 architecture but not kernel version.
22607 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22608 (__ASSUME_MMAP2_SYSCALL): Likewise.
22609 (__ASSUME_STAT64_SYSCALL): Likewise.
22610 (__ASSUME_IPC64): Likewise.
22611 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22612 <kernel-features.h>.
22613 [__ASSUME_32BITUIDS]: Make code unconditional.
22614 [!__ASSUME_32BITUIDS]: Remove conditional code.
22615 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22616 <kernel-features.h>.
22617 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22618 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22619 132096]: Remove conditional code.
22620 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22622 <kernel-features.h>.
22623 [__ASSUME_32BITUIDS]: Make code unconditional.
22624 [!__ASSUME_32BITUIDS]: Remove conditional code.
22625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22626 <kernel-features.h>.
22627 [__ASSUME_32BITUIDS]: Make code unconditional.
22628 [!__ASSUME_32BITUIDS]: Remove conditional code.
22629 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22630 <kernel-features.h>.
22631 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22632 unconditional.
22633 (__setresgid): Do not declare.
22634 [__ASSUME_32BITUIDS]: Make code unconditional.
22635 [!__ASSUME_32BITUIDS]: Remove conditional code.
22636 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22637 <kernel-features.h>.
22638 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22639 unconditional.
22640 (__setresuid): Do not declare.
22641 [__ASSUME_32BITUIDS]: Make code unconditional.
22642 [!__ASSUME_32BITUIDS]: Remove conditional code.
22643 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22644 <kernel-features.h>.
22645 [__ASSUME_32BITUIDS]: Make code unconditional.
22646 [!__ASSUME_32BITUIDS]: Remove conditional code.
22647 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22648 <kernel-features.h>.
22649 [__ASSUME_32BITUIDS]: Make code unconditional.
22650 [!__ASSUME_32BITUIDS]: Remove conditional code.
22651
a386f1cc
RH
226522012-05-25 Richard Henderson <rth@twiddle.net>
22653
22654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22655 dl_hwcap to ifunc resolver.
22656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22657 elf_ifunc_invoke.
22658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22659 dl_hwcap to ifunc resolver.
22660 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22661
b6550497
JM
226622012-05-24 Joseph Myers <joseph@codesourcery.com>
22663
22664 [BZ #14153]
22665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22666 for |x| <= 2**-26, not 2**-57.
22667 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22668 exception.
22669
b0bc23a1
JL
226702012-05-24 Jeff Law <law@redhat.com>
22671
22672 * stdio-common/Makefile (tests): Add bug25.
22673 * stdio-common/bug25.c: New test.
22674
347c92e9
L
226752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22676
22677 [BZ #13576]
22678 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22679 multiple of MALLOC_ALIGNMENT in size.
22680 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22681
6bcc8b3f
JM
226822012-05-24 Joseph Myers <joseph@codesourcery.com>
22683
22684 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22685 Require >= 256.
22686 (FILENAME_MAX): Use macro-int-constant.
22687 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22688 (_IOFBF): Use macro-int-constant.
22689 (_IOLBF): Likewise.
22690 (_IONBF): Likewise.
22691 (SEEK_CUR): Likewise.
22692 (SEEK_END): Likewise.
22693 (SEEK_SET): Likewise.
22694 (TMP_MAX): Likewise.
22695 (EOF): Use macro-int-constant. Require < 0.
22696 (NULL): Use macro-constant. Require == 0.
22697 (stdin): Require type to be FILE *.
22698 (stdout): Likewise.
22699 (stderr): Likewise.
22700 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22701 macro-int-constant.
22702 (EXIT_SUCCESS): Likewise.
22703 (NULL): Use macro-constant. Require == 0.
22704 (RAND_MAX): Use macro-int-constant.
22705 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22706 [C99-based standards] (strtof): Require function.
22707 [C99-based standards] (strtold): Likewise.
22708 [C99-based standards] (strtoll): Likewise.
22709 [C99-based standards] (strtoull): Likewise.
22710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22711 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22712 [ISO || ISO99 || ISO11] (math.h): Likewise.
22713 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22716
d18ea0c5
AS
227172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22718
22719 [BZ #14132]
56d25bb8
AS
22720 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22721 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22722 * intl/dgettext.c (DCGETTEXT): Likewise.
22723 * intl/gettext.c (DCGETTEXT): Likewise.
22724 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22725 * posix/regex_internal.h (gettext): Likewise.
22726 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22727 Remove declaration.
22728 * include/argz.h (__argz_count_internal)
22729 (__argz_stringify_internal): Remove declaration.
22730 (__argz_count, __argz_stringify): Declare hidden proto.
22731 * intl/dcgettext.c: Remove use of INTDEF.
22732 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22733 * string/argz-stringify.c: Likewise.
22734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22736 Declare hidden proto.
d18ea0c5
AS
22737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22739 Declare hidden proto.
22740 * include/stdio.h (__asprintf_internal): Don't declare.
22741 (__asprintf): Don't define as macro. Declare hidden proto.
22742 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22743 (__fsetlocking): Declare hidden proto.
22744 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22745 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22746 hidden proto.
22747 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22748 (_IO_setlinebuf): Remove use of INTUSE.
22749 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22750 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22751 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22752 Remove declaration.
22753 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22754 (_IO_do_flush): Remove use of INTUSE.
22755 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22756 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22757 (_IO_adjust_column, _IO_least_wmarker)
22758 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22759 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22760 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22761 (_IO_default_doallocate, _IO_wdefault_doallocate)
22762 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22763 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22764 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22765 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22766 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22767 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22768 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22769 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22770 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22771 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22772 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22773 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22774 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22775 proto.
22776 (_IO_flush_all_internal, _IO_adjust_column_internal)
22777 (_IO_default_uflow_internal, _IO_default_finish_internal)
22778 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22779 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22780 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22781 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22782 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22783 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22784 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22785 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22786 (_IO_file_close_internal, _IO_file_close_it_internal)
22787 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22788 (_IO_file_init_internal, _IO_file_attach_internal)
22789 (_IO_file_fopen_internal, _IO_file_read_internal)
22790 (_IO_file_sync_internal, _IO_file_seek_internal)
22791 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22792 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22793 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22794 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22795 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22796 (_IO_list_all_internal, _IO_link_in_internal)
22797 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22798 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22799 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22800 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22801 (_IO_do_write_internal, _IO_padn_internal)
22802 (_IO_getline_info_internal, _IO_getline_internal)
22803 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22804 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22805 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22806 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22807 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22808 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22809 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22810 with libc_hidden_ver, remove use of INTUSE.
22811 * libio/genops.c: Likewise.
22812 * libio/freopen.c: Likewise.
22813 * libio/freopen64.c: Likewise.
22814 * libio/iofclose.c: Likewise.
22815 * libio/iofdopen.c: Likewise.
22816 * libio/iofflush.c: Likewise.
22817 * libio/iofflush_u.c: Likewise.
22818 * libio/iofgets.c: Likewise.
22819 * libio/iofgets_u.c: Likewise.
22820 * libio/iofopen.c: Likewise.
22821 * libio/iofopncook.c: Likewise.
22822 * libio/iofread.c: Likewise.
22823 * libio/iofread_u.c: Likewise.
22824 * libio/ioftell.c: Likewise.
22825 * libio/iofwrite.c: Likewise.
22826 * libio/iogetline.c: Likewise.
22827 * libio/iogets.c: Likewise.
22828 * libio/iogetwline.c: Likewise.
22829 * libio/iopadn.c: Likewise.
22830 * libio/iopopen.c: Likewise.
22831 * libio/ioseekoff.c: Likewise.
22832 * libio/ioseekpos.c: Likewise.
22833 * libio/iosetbuffer.c: Likewise.
22834 * libio/iosetvbuf.c: Likewise.
22835 * libio/ioungetc.c: Likewise.
22836 * libio/ioungetwc.c: Likewise.
22837 * libio/iovdprintf.c: Likewise.
22838 * libio/iovsprintf.c: Likewise.
22839 * libio/iovsscanf.c: Likewise.
22840 * libio/memstream.c: Likewise.
22841 * libio/obprintf.c: Likewise.
22842 * libio/oldfileops.c: Likewise.
22843 * libio/oldiofclose.c: Likewise.
22844 * libio/oldiofdopen.c: Likewise.
22845 * libio/oldiofopen.c: Likewise.
22846 * libio/oldiopopen.c: Likewise.
22847 * libio/oldstdfiles.c: Likewise.
22848 * libio/putc.c: Likewise.
22849 * libio/setbuf.c: Likewise.
22850 * libio/setlinebuf.c: Likewise.
22851 * libio/stdfiles.c: Likewise.
22852 * libio/strops.c: Likewise.
22853 * libio/vasprintf.c: Likewise.
22854 * libio/vscanf.c: Likewise.
22855 * libio/vsnprintf.c: Likewise.
22856 * libio/vswprintf.c: Likewise.
22857 * libio/wfiledoalloc.c: Likewise.
22858 * libio/wfileops.c: Likewise.
22859 * libio/wgenops.c: Likewise.
22860 * libio/wmemstream.c: Likewise.
22861 * libio/wstrops.c: Likewise.
22862 * libio/__fpurge.c: Likewise.
22863 * libio/__fsetlocking.c: Likewise.
22864 * assert/assert.c: Likewise.
22865 * debug/fgets_chk.c: Likewise.
22866 * debug/fgets_u_chk.c: Likewise.
22867 * debug/fread_chk.c: Likewise.
22868 * debug/fread_u_chk.c: Likewise.
22869 * debug/gets_chk.c: Likewise.
22870 * debug/obprintf_chk.c: Likewise.
22871 * debug/vasprintf_chk.c: Likewise.
22872 * debug/vdprintf_chk.c: Likewise.
22873 * debug/vsnprintf_chk.c: Likewise.
22874 * debug/vsprintf_chk.c: Likewise.
22875 * malloc/mtrace.c: Likewise.
22876 * misc/error.c: Likewise.
22877 * misc/syslog.c: Likewise.
22878 * stdio-common/asprintf.c: Likewise.
22879 * stdio-common/fxprintf.c: Likewise.
22880 * stdio-common/getw.c: Likewise.
22881 * stdio-common/isoc99_fscanf.c: Likewise.
22882 * stdio-common/isoc99_scanf.c: Likewise.
22883 * stdio-common/isoc99_vfscanf.c: Likewise.
22884 * stdio-common/isoc99_vscanf.c: Likewise.
22885 * stdio-common/isoc99_vsscanf.c: Likewise.
22886 * stdio-common/printf-prs.c: Likewise.
22887 * stdio-common/printf_fp.c: Likewise.
22888 * stdio-common/printf_fphex.c: Likewise.
22889 * stdio-common/printf_size.c: Likewise.
22890 * stdio-common/putw.c: Likewise.
22891 * stdio-common/scanf.c: Likewise.
22892 * stdio-common/sprintf.c: Likewise.
22893 * stdio-common/tmpfile.c: Likewise.
22894 * stdio-common/vfprintf.c: Likewise.
22895 * stdio-common/vfscanf.c: Likewise.
22896 * stdlib/strfmon_l.c: Likewise.
22897 * sunrpc/openchild.c: Likewise.
22898 * sunrpc/xdr_stdio.c: Likewise.
22899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22900 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22901
d6c33fda
RM
229022012-05-24 Roland McGrath <roland@hack.frob.com>
22903
c1487492
RM
22904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22905
22906 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22907 in the third column, to generate for the shared library an IFUNC
22908 that uses _dl_vdso_vsym.
22909 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22910 * Makeconfig (object-suffixes-noshared): New variable.
22911
22912 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22913 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22914 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22915 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22916
d6c33fda
RM
22917 [BZ #14132]
22918 * include/sys/time.h (__gettimeofday): Remove macro.
22919 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22920 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22921 Remove INTDEF.
22922 (__gettimeofday): Add libc_hidden_def.
22923 (gettimeofday): Add libc_hidden_weak.
22924 * sysdeps/mach/gettimeofday.c: Likewise.
22925 * sysdeps/posix/gettimeofday.c: Likewise.
22926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22929 (__gettimeofday_internal): Remove strong_alias.
22930 (__gettimeofday): Add libc_hidden_def.
22931 (gettimeofday): Add libc_hidden_weak.
22932 * sysdeps/unix/syscalls.list (gettimeofday):
22933 Remove __gettimeofday_internal alias.
22934
b5a2bbe6
L
229352012-05-24 Daniel Jacobowitz <drow@false.org>
22936 H.J. Lu <hongjiu.lu@intel.com>
22937
22938 [BZ #12495]
22939 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22940 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22941 (largebin_index_32_big): New.
22942 (largebin_index): Use it for 16-byte alignment.
22943 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22944 correction with front_misalign.
22945
cfba4fda
L
229462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22947
7f907421
L
22948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22950 Likewise.
22951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22952 Likewise.
22953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22954 Likewise.
22955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22956 Likewise.
22957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22958 Likewise.
22959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22960 Likewise.
22961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22962 Likewise.
22963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22964 Likewise.
22965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22966 Likewise.
22967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22968 Likewise.
22969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22970 Likewise.
22971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22972 Likewise.
22973
cfba4fda
L
22974 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22975 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22976
80bad0cc
JM
229772012-05-24 Joseph Myers <joseph@codesourcery.com>
22978
7a25eb06
JM
22979 [BZ #10846]
22980 [BZ #14036]
22981 * math/libm-test.inc (exp_test): Add test from bug 14036.
22982 (pow_test): Add test from bug 10846.
22983
795405f9
JM
22984 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22985 and other flags.
22986 (special_function): Do not include flags in test name.
22987 (parse_args): Likewise.
22988 * sysdeps/i386/fpu/libm-test-ulps: Update.
22989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22990 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22993
80bad0cc
JM
22994 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22995 exceptions.
22996 * math/libm-test.inc ("Philosophy"): Update comment about
22997 exception testing.
22998 (UNDERFLOW_EXCEPTION): New macro.
22999 (UNDERFLOW_EXCEPTION_OK): Likewise.
23000 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23001 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23002 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23003 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23004 (INVALID_EXCEPTION_OK): Update value.
23005 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23006 (OVERFLOW_EXCEPTION_OK): Likewise.
23007 (IGNORE_ZERO_INF_SIGN): Likewise.
23008 (test_exceptions): Handle underflow exceptions.
23009 (acos_test): Update for underflow exception expectations.
23010 (cexp_test): Likewise.
23011 (clog_test): Likewise.
23012 (clog10_test): Likewise.
23013 (csqrt_test): Likewise.
23014 (ctan_test): Likewise.
23015 (ctanh_test): Likewise.
23016 (exp_test): Likewise.
23017 (exp10_test): Likewise.
23018 (exp2_test): Likewise.
23019 (expm1_test): Likewise.
23020 (fma_test): Likewise.
23021 (j0_test): Likewise.
23022 (jn_test): Likewise.
23023 (nexttoward_test): Likewise.
23024 (pow_test): Likewise.
23025 (scalbn_test): Likewise.
23026 (scalbln_test): Likewise.
23027 (tan_test): Likewise.
23028 (y1_test): Likewise.
23029 * sysdeps/i386/fpu/libm-test-ulps: Update.
23030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23031
9e0e3d0b
DM
230322012-05-23 David S. Miller <davem@davemloft.net>
23033
23034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23035 (__libc_sigaction): Remove unused local variables.
23036
ccd0a08f
L
230372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23038
23039 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23040
62bdf9a6
PE
230412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23042
f8591f80
PE
23043 mktime: avoid signed integer overflow
23044 * time/mktime.c (__mktime_internal): Do not mishandle the case
23045 where diff == INT_MIN.
23046
94c7d826
PE
23047 mktime: simplify computation of average
23048 * time/mktime.c (ranged_convert): Use new time_t_avg function
23049 instead of rolling our own (probably-slower) code.
23050
ce73d683
PE
23051 mktime: do not assume signed right shift propagates sign bit
23052 * time/mktime.c (isdst_differ): New static function.
23053 (__mktime_internal): No need to normalize tm_isdst now.
23054 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23055 tm_isdst values.
23056
72a22e59
PE
23057 mktime: merge another wrapv change from gnulib
23058 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23059 from some compilers.
23060
68605433
PE
23061 mktime: remove incorrect attempt at unusual arithmetics
23062 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23063 The code didn't really work on such machines anyway.
23064 (TYPE_MINIMUM): Assume two's complement.
23065 (twos_complement_arithmetic): Verify that long_int and time_t
23066 are two's complement (or unsigned, in the latter case).
23067
03cf7fe3
PE
23068 mktime: check signed shifts on long_int and time_t, too
23069 * time/mktime.c (SHR): Check that shifts work as desired
23070 on the types long_int and time_t too, as SHR is used on
23071 such types.
23072
f04dfbc2
PE
23073 mktime: do not assume 'long' is wide enough
23074 * time/mktime.c (verify): Move decl up.
23075 (long_int): New type.
23076 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23077 to remove assumption in the code that 'long' is wide enough to
23078 store year values. This assumption is not true on x32 and on
23079 some non-glibc platforms.
23080
62bdf9a6
PE
23081 mktime: merge wrapv change from gnulib
23082 * time/mktime.c (WRAPV): New macro.
23083 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23084 (guess_time_tm, __mktime_internal): Do not assume that signed
23085 integer overflow wraps around; modern compilers generate code
23086 where this assumption is no longer valid.
23087
5e292e4f
L
230882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23089
23090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23091 Replace "jmp L(pseudo_end)" with "ret".
23092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23093 Likewise.
23094
8caf8c87
AJ
230952012-05-23 Andreas Jaeger <aj@suse.de>
23096
23097 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23098 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23099
1a09dc56
AJ
231002012-05-23 Andreas Jaeger <aj@suse.de>
23101 Maximilian Attems <max@stro.at>
23102
23103 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23104 New macros.
23105
1c87aba0
L
231062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23107
23108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23109 code so that pseudo_end is just ret and the stack pointer is
23110 correct also for static library in error case.
23111
40e45bd5
JM
231122012-05-23 Joseph Myers <joseph@codesourcery.com>
23113
c2670533
JM
23114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23115 move to syscalls.list.
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23120
40e45bd5
JM
23121 * manual/install.texi (Running make install): Do not mention Linux
23122 kernel version for which pt_chown is not needed.
23123 (Linux): Do not mention problems with nscd with 2.0 kernels.
23124 * INSTALL: Regenerated.
23125
be08eda5
AJ
231262012-05-23 Andreas Jaeger <aj@suse.de>
23127
23128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23129 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23130 macro.
23131 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23133 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23135 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23141 * sysdeps/unix/sysv/linux/bits/in.h
23142 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23143
a6a056bb
RM
231442012-05-22 Roland McGrath <roland@hack.frob.com>
23145
23146 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23147 (PREPARE_VERSION): Just use assert instead, it will be elided
23148 under [NDEBUG] anyway.
23149
c9009328
L
231502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 * sysdeps/unix/sysv/linux/Makefile: Include
23153 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23154 (sysdep_routines): Remove sysctl.
c9009328
L
23155 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23156 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23157 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23158 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23159 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23160
73338355
AJ
231612012-05-22 Andreas Jaeger <aj@suse.de>
23162
23163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23164 that pseudo_end is just ret and the stack pointer is correct also
23165 for static library in error case.
23166
d44638b0
PP
231672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23168
23169 [BZ #14122]
23170 * nss/nsswitch.c (defconfig_entries): New variable.
23171 (__nss_database_lookup): Don't leak defconfig entries.
23172 (nss_parse_service_list): Don't leak on error paths.
23173 (free_database_entries): New function.
23174 (free_defconfig): New function.
23175 (free_mem): Move common code to free_database_entries.
23176
31a39bd8
L
231772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23178
da0331a8
L
23179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23180 Add arch_prctl.
23181 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23182
31a39bd8
L
23183 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23184 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23186 New macro.
23187 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23188 (INTERNAL_SYSCALL_TYPES): Likewise.
23189 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23190 (LOAD_REGS_TYPES_[1-6]): Likewise.
23191 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23192 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23193
45470df3
AZ
231942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23195
23196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23197 copysignl for GLIBC_2_0.
23198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23199 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23201 logbl for GLIBC_2_0.
23202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23204
98a61bcb
L
232052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23206
a4f6e481
L
23207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23209
f63d5db6
L
23210 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23211 Use "neg %eax".
23212
98a61bcb
L
23213 * time/mktime.c: Update copyright years.
23214
95770f14
PE
232152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23216
6226efbd
PE
23217 mktime: merge comment-quoting-style change from gnulib
23218 * time/mktime.c: Quote 'like this' in comments.
23219 The GNU coding standards suggest that we no longer quote `like this',
23220 as "`" and "'" are typically rendered asymmetrically nowadays.
23221 The typical gnulib style is to quote 'like this' when quoting
23222 code, and "like this" when quoting English.
23223
b99e4f78
PE
23224 * time/mktime.c (compile-command): Add "-I.".
23225
643e01e6
PE
23226 mktime: merge mktime-internal.h change from gnulib
23227 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23228
2554247d
PE
23229 mktime: merge time_r change from gnulib
23230 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23231
826dd0ab
PE
23232 mktime: merge DEBUG change from gnulib
23233 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23234 case system <time.h> has a #define.
23235
bd83aabe
PE
23236 mktime: merge <sys/types.h> change from gnulib
23237 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23238 since <time.t> is now guaranteed to define time_t.
23239
95770f14
PE
23240 mktime: merge HAVE_CONFIG_H change from gnulib
23241 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23242
5e1a27a9
L
232432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23244
0e44a77e
L
23245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23246 Use "neg %eax".
23247
5e1a27a9
L
23248 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23249 __rlim_t cast.
23250 (struct rusage): Use anonymous union to pad each field to
23251 __syscall_slong_t.
23252
46259bec
DM
232532012-05-21 David S. Miller <davem@davemloft.net>
23254
23255 * Makefules (o-iterator): Remove .s cases.
23256 (compile-command.s): Delete.
23257 (COMPILE.s): Delete.
23258 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23259
59f0c22e
JM
232602012-05-21 Joseph Myers <joseph@codesourcery.com>
23261
23262 * configure.in (libc_cv_predef_stack_protector): Only consider
23263 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23264 * configure: Regenerated.
23265
20c07380
L
232662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23267
bbb3154b
L
23268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23269 New macro. Use R*LP on int and pointer.
23270 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23271 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23272 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23273 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23274
20c07380
L
23275 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23276 [__WORDSIZE_TIME64_COMPAT32] instead of
23277 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23278 (struct utmp): Likewise.
23279 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23280 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23281 Renamed to ...
23282 (__WORDSIZE_TIME64_COMPAT32): This.
23283 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23284 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23285 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23286 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23287 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23288 (__WORDSIZE_TIME64_COMPAT32): New macro.
23289
d8d1017e
AJ
232902012-05-21 Andreas Jaeger <aj@suse.de>
23291
23292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23293 only if [SHARED]. Add prototype for __wcschr_ia32.
23294
6c7fb145
RM
232952012-05-21 Roland McGrath <roland@hack.frob.com>
23296
23297 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23298 of %rbp unmolested in the jmp_buf while mangling the low bits.
23299 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23300 unmolested high bits of %rbp while demangling the low bits.
23301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23302
66274218
AJ
233032012-05-21 Andreas Jaeger <aj@suse.de>
23304
07c58f8f
AJ
23305 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23306 * sunrpc/svc_simple.c: Use it for registerrpc.
23307 * sunrpc/xcrypt.c: Use it for passwd2des.
23308
66274218
AJ
23309 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23310
61f65140
L
233112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23312
23313 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23314 Don't define if [__SYSCALL_WORDSIZE != 32].
23315 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23316 New macro.
23317
5fefb436
AJ
233182012-05-21 Bruno Haible <bruno@clisp.org>
23319 Andreas Jaeger <aj@suse.de>
23320
23321 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23322 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23323 inptr and inend for must_buffer_ch.
23324 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23325 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23326 * stdio-common/Makefile (tests): Remove bug15.
23327 (bug15-ENV): Remove macro.
23328 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23329 anymore.
23330
d8e272ab
AJ
233312012-05-19 Andreas Jaeger <aj@suse.de>
23332 Roland McGrath <roland@hack.frob.com>
23333
23334 * manual/contrib.texi: Completely rewritten. It contains now an
23335 alphabetical list of contributors and their contributions.
23336
4a56a162
RH
233372012-05-21 Richard Henderson <rth@twiddle.net>
23338
23339 * misc/getauxval.c (__getauxval): Use unsigned long int.
23340 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23341 (getauxval): Use unsigned long int.
23342
d024d23c
L
233432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23344
23345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23346
cbc00a03
RM
233472012-05-21 Roland McGrath <roland@hack.frob.com>
23348
23349 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23350 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23351 __alignof__ (long double).
23352
478143fa
AZ
233532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23354
23355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23356
c7683a6d
RH
233572012-05-20 Richard Henderson <rth@twiddle.net>
23358
23359 * misc/getauxval.c: New file.
23360 * misc/sys/auxv.h: New file.
23361 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23362 (routines): Add getauxval.
23363 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23365 * elf/dl-sysdep.c (_dl_auxv): Remove.
23366 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23367 * elf/dl-support.c (_dl_auxv): New variable.
23368 (_dl_aux_init): Initialize it.
23369 * manual/startup.texi (Auxiliary Vector): New node.
23370 * sysdeps/generic/bits/hwcap.h: New file.
23371 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23372 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23373 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23374 * sysdeps/sparc/sysdep.h: ... here. Include it.
23375 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23378 Update.
c7683a6d
RH
23379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23387
a6f1845d
AZ
233882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23389
23390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23391
cbcbe830
DM
233922012-05-19 David S. Miller <davem@davemloft.net>
23393
23394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23395
e0b16cc2
JM
233962012-05-19 Joseph Myers <joseph@codesourcery.com>
23397
23398 [BZ #14123]
23399 * math/s_ccosh.c: Include <float.h>
23400 (__ccosh): Avoid internal overflow calculating sinh and cosh
23401 values before multiplying by sin and cos values.
23402 * math/s_ccoshf.c: Likewise.
23403 * math/s_ccoshl.c: Likewise.
23404 * math/s_csin.c: Likewise.
23405 * math/s_csinf.c: Likewise.
23406 * math/s_csinl.c: Likewise.
23407 * math/s_csinh.c: Likewise.
23408 * math/s_csinhf.c: Likewise.
23409 * math/s_csinhl.c: Likewise.
23410 * math/libm-test.inc (ccos_test): Add more tests.
23411 (ccosh_test): Likewise.
23412 (csin_test): Likewise.
23413 (csinh_test): Likewise.
23414 * sysdeps/i386/fpu/libm-test-ulps: Update.
23415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23416
6ad13e08
L
234172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23418
f66f0ce8
L
23419 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23420 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23421
6ad13e08
L
23422 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23423
b1d072a7
JM
234242012-05-19 Joseph Myers <joseph@codesourcery.com>
23425
23426 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23427 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23428 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23429 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23430 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23431 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23432 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23433 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23434 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23435 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23436 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23437 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23438 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23439 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23440 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23441 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23442 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23443 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23444 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23445 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23446 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23447 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23448 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23449 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23450 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23451 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23452 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23453 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23454 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23455 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23456 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23457
9eae47cb
AJ
234582012-05-18 Andreas Jaeger <aj@suse.de>
23459
23460 * csu/.gitignore: Delete.
23461
bb07f69f
L
234622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23463
23464 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23465 (timex): Use __syscall_slong_t.
23466
e6bdb741
AJ
234672012-05-18 Andreas Jaeger <aj@suse.de>
23468 Carlos O'Donell <carlos_odonell@mentor.com>
23469
23470 * manual/install.texi (Configuring and compiling): Update
23471 description about files modified in the source directory.
d6c33fda 23472 * INSTALL: Regenerated.
e6bdb741 23473
1b74487e
L
234742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23475
23476 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23477 value. Use "or" to set return value to -1.
23478 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23479 negate return value.
23480
a88b64b9
TMQMF
234812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23482
23483 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23484 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23485 failure if the compiler has Graphite support disabled.
23486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23487 Likewise.
23488 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23489 CFLAGS-memmove.c): Likewise.
23490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23491 Likewise.
23492
3707636e
L
234932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23494
610b8622
L
23495 * sysdeps/x86_64/x32/_itoa.h: New file.
23496
7cd195df
L
23497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23498 getdents system call only if kernel and user dirents have the
23499 same d_ino and d_off.
23500
94b07d20
L
23501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23502 LLONG_MAX != LONG_MAX.
23503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23504 (_fitoa_word): Likewise.
23505
18298070
L
23506 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23507 years.
23508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23511
553c7ea4
L
23512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23513 include <bits/wordsize.h>. Check __x86_64__ instead of
23514 __WORDSIZE.
23515 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23516 if __x86_64__ is defined. Use anonymous union on fpstate.
23517
3707636e
L
23518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23519 anonymous union.
23520
b53ef01a
AS
235212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23522
37fb1dc0
AS
23523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23524 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23526 Refer to _rtld_local_ro instead of _rtld_global_ro.
23527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23528 Likewise.
23529 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23530 Likewise.
23531 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23532 Likewise.
23533 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23534 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23535 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23536
b53ef01a
AS
23537 * sysdeps/powerpc/powerpc32/dl-machine.c
23538 (__elf_machine_runtime_setup) [PROF]: Don't reference
23539 _dl_prof_resolve.
23540
7a185db2
AJ
235412012-05-18 Andreas Jaeger <aj@suse.de>
23542
23543 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23544 function only available for GCCs before 3.4 since GCC 3.4
23545 introduced a builtin.
23546 (lrint): Likewise.
23547 (llrintf): Likewise.
23548 (llrint): Likewise.
23549 (fmaxf): Likewise.
23550 (fmax): Likewise.
23551 (fminf): Likewise.
23552 (fmin): Likewise.
23553 (rint): Likewise.
23554 (rintf): Likewise.
23555 (nearbyint): Likewise.
23556 (nearbyintf): Likewise.
23557 (ceil): Likewise.
23558 (ceilf): Likewise.
23559 (floor): Likewise.
23560 (floorf): Likewise.
23561
3e5aef87
L
235622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23563
428bd707
L
23564 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23565 on both fields and cast pointer to __syscall_ulong_t.
23566
3e5aef87
L
23567 * bits/types.h (__fsword_t): New type.
23568 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23569 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23571 (__FSWORD_T_TYPE): Likewise.
23572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23573 (__FSWORD_T_TYPE): Likewise.
23574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23575 (__FSWORD_T_TYPE): Likewise.
23576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23577 (__FSWORD_T_TYPE): Likewise.
23578 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23579 __SWORD_TYPE with __fsword_t.
23580 (statfs64): Likewise.
23581
1ba7c3dc
DM
235822012-05-17 David S. Miller <davem@davemloft.net>
23583
23584 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23585
59910343
AJ
235862012-05-17 Andreas Jaeger <aj@suse.de>
23587
23588 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23589 warning.
23590
2e4c1e9e
L
235912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23594
de7f5ce7
AJ
235952012-05-17 Andreas Jaeger <aj@suse.de>
23596
23597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23598 when it is used.
23599
286abc3d
CM
236002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23601
23602 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23603
477cc68e
L
236042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23605
23606 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23607 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23608
1a0994f5
CD
236092012-05-17 Andreas Jaeger <aj@suse.de>
23610 Carlos O'Donell <carlos_odonell@mentor.com>
23611
23612 [BZ #14059]
23613 * sysdeps/x86_64/multiarch/init-arch.h
23614 (bit_YMM_Usable): Rename to...
23615 (bit_AVX_Usable): ... this.
23616 (bit_FMA4_Usable): New macro.
23617 (bit_XMM_state): New macro.
23618 (bit_YMM_state): New macro.
23619 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23620 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23621 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23622 (CPUID_OSXSAVE): New macro.
23623 (CPUID_AVX): New macro.
23624 (CPUID_FMA4): New macro.
23625 (index_YMM_Usable): Rename to...
23626 (index_AVX_Usable): ... this.
23627 (HAS_AVX): Use HAS_ARCH_FEATURE.
23628 (HAS_FMA4): Likewise.
23629 (HAS_YMM_USABLE): Remove.
23630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23631 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23632 are present.
23633 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23634 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23635 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23636 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23637 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23638
0af797de
CM
236392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23640
23641 * math/libm-test.c: Support platforms without multiple rounding modes.
23642 * math/bug-nextafter.c: Support platforms without FP exceptions.
23643 * math/bug-nexttoward.c: Likewise.
23644 * math/test-fenv.c: Likewise.
23645 * math/test-misc.c: Likewise.
23646 * stdlib/bug-getcontext.c: Likewise.
23647
e39745ff
AJ
236482012-05-17 Andreas Jaeger <aj@suse.de>
23649
23650 * manual/examples/search.c (critter_cmp): Change signature to
23651 avoid warnings.
23652 * manual/string.texi (Collation Functions): Likewise.
23653
48970aba
L
236542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 * bits/types.h: Fold copyright years.
23657 * bits/typesizes.h: Likewise.
23658 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23662 * time/time.h: Likewise.
23663
bedee953
PP
236642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23665
23666 [BZ #208]
23667 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23668 in instead of returning them. Return void.
23669 (__libc_mallinfo): Accumulate over all arenas.
23670 (__malloc_stats): Adjust for change in int_mallinfo interface.
23671
61653dfb
RM
236722012-05-16 Roland McGrath <roland@hack.frob.com>
23673
30b99d79
RM
23674 [BZ #10375]
23675 * configure.in (NM): Add AC_CHECK_TOOL for it.
23676 (libc_extra_cflags): New substituted variable.
23677 Check for -fstack-protector being used implicitly.
23678 * configure: Regenerated.
23679 * config.make.in (config-extra-cflags): New variable,
23680 gets @libc_extra_cflags@.
23681 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23682
61653dfb
RM
23683 [BZ #10375]
23684 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23685 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23686 * configure: Regenerated.
23687 * config.make.in (CPPUNDEFS): New substituted variable.
23688 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23689 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23690 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23691
661768bb
L
236922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23693
23694 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23695 (mq_attr): Use __syscall_slong_t.
23696
d4261567
L
236972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23698
23699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23700 Check __x86_64__ instead of __WORDSIZE.
23701 (_STAT_VER_LINUX): Likewise.
23702 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23703 __syscall_ulong_t and __syscall_slong_t.
23704 (stat64): Likewise.
23705
cf3ff365
L
237062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23707
23708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23709
76cf3e4d
L
237102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23711
23712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23713
a637753a
L
237142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23715
23716 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23717 __syscall_ulong_t.
23718
d5e05119
L
23719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23720 include <bits/wordsize.h>. Check __x86_64__ instead of
23721 __WORDSIZE.
23722 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23723 defined.
23724 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23725
f62ee380
L
23726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23727 include <bits/wordsize.h>. Check __x86_64__ instead of
23728 __WORDSIZE.
23729 (user_regs_struct): Use "__extension__ unsigned long long"
23730 instead of "unsigned long" if __x86_64__ is defined.
23731 (user): Likewise. Pad after pointer field if __ILP32__ is
23732 defined.
23733
4e124ced
JM
237342012-05-16 Joseph Myers <joseph@codesourcery.com>
23735
6a3951a0
JM
23736 * configure.in (makeinfo): Require version 4.5 or later. Allow
23737 versions 5 to 9.
23738 * configure: Regenerated.
23739 * manual/install.texi (texinfo): Increase version requirement to
23740 4.5 or later.
23741 * INSTALL: Regenerated.
23742
4e124ced
JM
23743 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23744
953ca31a
L
237452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23748
617aca05
L
23749 * sysdeps/x86_64/x32/ffs.c: New file.
23750
5762f7ae
L
23751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23752 __syscall_ulong_t.
23753 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23754 defined. Use __syscall_ulong_t.
23755 (shminfo): Use __syscall_ulong_t.
23756 (shm_info): Likewise.
23757
a26b6856
L
23758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23759 __syscall_ulong_t.
23760
cb2b9ef7
L
23761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23762 <bits/wordsize.h>.
23763 (msgqnum_t): Use __syscall_ulong_t.
23764 (msglen_t): Likewise.
23765 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23766 __syscall_ulong_t.
23767
34683bb0
L
23768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23770
84a68786
L
23771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23772
48baa5f1
L
23773 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23774 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23775
180be88b
L
23776 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23777 __syscall_slong_t.
23778
5e90c8ad
L
23779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23780 include <bits/wordsize.h>. Check __x86_64__ instead of
23781 __WORDSIZE.
23782
23dfb58b
L
23783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23784 "unsigned long long int" if __x86_64__ is defined.
23785 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23786
ce5d54b0
L
23787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23789 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23790
13dc9eac
L
23791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23792 <stdint.h>.
23793 (GET_PC): Cast to uintptr_t first.
23794 (GET_FRAME): Likewise.
23795 (GET_STACK): Likewise.
23796
a7895d15
L
23797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23805 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23826
656416c9
AS
238272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23828
5bd66283
AS
23829 * Makerules (+depfiles): Also collect depfiles from .oS in
23830 $(extra-objs).
23831 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23832 .oS, $(libnldbl-routines)).
23833
656416c9
AS
23834 * Makerules (native-compile-mkdep-flags): Define.
23835 * sunrpc/Makefile (extra-objs): Add $(addprefix
23836 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23837 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23838 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23839 calling $(make-target-directory).
23840
a46f2169
L
238412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23842
23843 * bits/types.h (__snseconds_t): Removed.
23844 * time/time.h (struct timespec): Replace __snseconds_t with
23845 __syscall_slong_t.
23846 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23847 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23848 Likewise.
23849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23850 (__SNSECONDS_T_TYPE): Likewise.
23851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23852 (__SNSECONDS_T_TYPE): Likewise.
23853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23854 (__SNSECONDS_T_TYPE): Likewise.
23855
6af6528b
L
238562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23857
23858 * sysdeps/mach/hurd/bits/typesizes.h
23859 (__SYSCALL_SLONG_TYPE): New macro.
23860 (__SYSCALL_ULONG_TYPE): Likewise.
23861
de986b56
L
238622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23863
23864 * bits/types.h (__syscall_slong_t): New type.
23865 (__syscall_ulong_t): Likewise.
23866
23867 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23868 (__SYSCALL_ULONG_TYPE): Likewise.
23869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23870 (__SYSCALL_SLONG_TYPE): Likewise.
23871 (__SYSCALL_ULONG_TYPE): Likewise.
23872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23873 (__SYSCALL_SLONG_TYPE): Likewise.
23874 (__SYSCALL_ULONG_TYPE): Likewise.
23875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23876 (__SYSCALL_SLONG_TYPE): Likewise.
23877 (__SYSCALL_ULONG_TYPE): Likewise.
23878
85736dc7
L
238792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23880
23881 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23882 Add sigaltstack-offsets.sym.
23883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23884 <sigaltstack-offsets.h>.
23885 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23886 longjmp_msg pointer.
23887 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23888 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23889 signal stack.
23890 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23891
cc03b296
JM
238922012-05-15 Joseph Myers <joseph@codesourcery.com>
23893
a9538892
JM
23894 * elf/stackguard-macros.h: Remove file.
23895 * sysdeps/generic/stackguard-macros.h: New file.
23896 * sysdeps/i386/stackguard-macros.h: Likewise.
23897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23903 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23904 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23905 <elf/stackguard-macros.h>.
23906
cc03b296
JM
23907 [BZ #14109]
23908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23909 __aligned__ in attribute.
23910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23911 (gregset_t): Likewise.
23912
93171016
L
239132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23914
23915 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23916 * sysdeps/x86_64/64/Implies-after: Here. New file.
23917 * sysdeps/x86_64/x32/Implies-after: New file.
23918
d86813a0
L
239192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23920
23921 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23922 and access return value for _dl_profile_fixup. Use R10_LP to
23923 load frame size.
23924
2953ec75
L
239252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23928
3b550e9e
L
239292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23930
23931 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23932 * sysdeps/x86_64/x32/sysdep.h: New file.
23933
eda41706
L
239342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23937 * sysdeps/x86_64/setjmp.S: Likewise.
23938
9ea01d93
AZ
239392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23940
23941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23943 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23945 remove unused global constant.
23946
02a91938
CM
239472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23948
23949 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23950 include of <not-cancel.h>.
23951
6540185f
RM
239522012-05-15 Roland McGrath <roland@hack.frob.com>
23953
23954 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23955
509072a0
AJ
239562012-05-15 Jeff Law <law@redhat.com>
23957 Andreas Jaeger <aj@suse.de>
23958
23959 [BZ #13594]
23960 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23961 out from...
23962 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23963 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23965 code changing __hst_map_handle.map.
23966
ba75122d
RM
239672012-05-15 Roland McGrath <roland@hack.frob.com>
23968
23969 * configure.in (sysnames): Look for Implies-before and Implies-after
23970 files.
23971 * configure: Regenerated.
23972
890d8bd8
L
239732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23976 8-byte data alignment with LP_SIZE alignment.
23977
f6ee6623
L
239782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23979
23980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23981 into R10_LP.
23982
ea2626f6
L
239832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23984
23985 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23986
085f715e
L
239872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23988
23989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23990 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23992 Likewise.
23993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23994
be8498fc
L
239952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23998 (stackinfo_sub_sp): Likewise.
23999
70bc83b9
L
240002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24001
24002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24003 RAX_LP.
24004
9bc0b730
L
240052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24006
24007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24008 into R*_LP.
24009
6d2850e7
L
240102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24011
24012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24013 sizes into R*_LP.
24014
3cb84561
L
240152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24016
24017 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24018
54e2ed81
L
240192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24020
24021 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24022 into R11_LP and load __x86_64_shared_cache_size_half into
24023 R8_LP.
24024
8a17f349
L
240252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24026
24027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24028 R8_LP.
24029
777b1eea
AZ
240302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24031
24032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24033 logb for POWER7.
24034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24035 logbf for POWER7.
24036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24037 logbl for POWER7.
24038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24039 powerpc32/power7/fpu/s_logb.c via #include.
24040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24041 powerpc32/power7/fpu/s_logbf.c via #include.
24042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24043 powerpc32/power7/fpu/s_logbl.c via #include.
24044
d20d4ac2
JM
240452012-05-15 Joseph Myers <joseph@codesourcery.com>
24046
24047 * README.libm: Remove file.
24048
6cdef1ab
L
240492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24050
24051 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24052 count for x32. Use R*_LP and omit operand-size suffix.
24053
0b254d8f
L
240542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24055
24056 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24057 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24058 * sysdeps/x86_64/x32/shlib-versions: New file.
24059
ceb809dc
RM
240602012-05-14 Roland McGrath <roland@hack.frob.com>
24061
24062 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24063 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24064 Use _dl_fatal_printf instead.
24065
37f1abd4
JM
240662012-05-14 Joseph Myers <joseph@codesourcery.com>
24067
24068 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24069 set if not set by the user. Do not allow for being unset.
24070 * sysdeps/unix/sysv/linux/configure: Regenerated.
24071
11de3a33
L
240722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24073
24074 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24075 the `q' suffix from lea and replace .quad with ASM_ADDR.
24076
e02f153a
L
240772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24078
24079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24080 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24081 instead of $17.
24082 (PTR_DEMANGLE): Likewise.
24083
520ae0fd
L
240842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24085
24086 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24087 (LP_OP): Likewise.
24088 (ASM_ADDR): Likewise.
24089 (RAX_LP): Likewise.
24090 (RBP_LP): Likewise.
24091 (RBX_LP): Likewise.
24092 (RCX_LP): Likewise.
24093 (RDI_LP): Likewise.
24094 (RSI_LP): Likewise.
24095 (RSP_LP): Likewise.
24096 (R8_LP): Likewise.
24097 (R9_LP): Likewise.
24098 (R10_LP): Likewise.
24099 (R10_LP): Likewise.
24100 (R11_LP): Likewise.
24101 (R12_LP): Likewise.
24102 (R13_LP): Likewise.
24103 (R14_LP): Likewise.
24104 (R15_LP): Likewise.
24105
b985be81
L
241062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24107
24108 * sysdeps/x86_64/x32/dl-machine.h: New file.
24109
6a4888ff
AJ
241102012-05-14 Andreas Jaeger <aj@suse.de>
24111
24112 * manual/Makefile (subdir): Remove export of subdir.
24113 (all): Remove target.
24114 (.PHONY): Remove all from list.
24115 (mkinstalldirs): Remove.
24116 (.PHONY): Remove installdirs from list.
24117 ($(inst_infodir)/libc.info): Use make-target-directory.
24118 (installdirs): Remove.
24119 (subdir_%): Remove.
24120 (glibc-targets): Remove.
24121 (lib): Remove.
24122 (stubs): Remove.
24123 ($(objpfx)stubs ../po/manual.pot): Remove.
24124 ($(objpfx)stamp%): Remove.
24125 (make-target-directory): Remove.
24126 (subdir_install): Remove.
24127 (routines): Remove.
24128 (aux): Remove.
24129 (sources): Remove.
24130 (objects): Remove.
24131 (headers): Remove.
24132
24133 [BZ #13750]
24134 * manual/.gitignore: Remove, it's not needed anymore.
24135 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24136 all files in it.
24137 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24138 directory.
24139 (texis): Renamed to $(objpfx)texis.
24140 (texis-path): New, contains path to generated files.
24141 (chapters.%): Use texis-path for complete path, add extra argument
24142 libc-texinfo.sh.
24143 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24144 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24145 (summary,texi, stamp-summary): Use complete path of
24146 files. Generate files in build dir.
24147 (dir-add.texi): Build in build dir.
24148 (libm-err.texi,stamp-libm-err): Likewise.
24149 (version.texi, stamp-version): Likewise.
24150 (.%c.texi): Likewise.
24151 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24152 (mostlyclean): Remove target.
24153 (realclean): Remove target.
24154 (generated): Add new variable with contents from mostlyclean and
24155 realclean, remove entries duplicated in common-mostlyclean, add
24156 stamp-libm-err and stamp-version.
24157 (generated-dirs): Add libc directory.
24158 ($(inst_infodir)/libc.info): Install files from build dir.
24159
24160 * manual/install.texi (Configuring and compiling): Adjust since
24161 the info files are not part of the tar ball anymore.
24162
7ac77294
AJ
241632012-05-14 Andreas Jaeger <aj@suse.de>
24164
24165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24166 variable.
24167
ffb7875d
JM
241682012-05-14 Joseph Myers <joseph@codesourcery.com>
24169
24170 [BZ #13717]
24171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24172 to 2.2.0 where earlier.
24173 * sysdeps/unix/sysv/linux/configure: Regenerated.
24174 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24175 Remove conditional code.
24176 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24177 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24178 Remove conditional code.
24179 [!__NR_lchown]: Likewise.
24180 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24181 [__NR_lchown]: Likewise.
24182 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24183 comment referencing __ASSUME_LCHOWN_SYSCALL.
24184 * sysdeps/unix/sysv/linux/i386/sigaction.c
24185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24188 Remove conditional code.
24189 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24190 (__protocol_available): Remove #if 0 code.
24191 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24192 conditional code.
24193 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24194 * sysdeps/unix/sysv/linux/kernel-features.h
24195 (__ASSUME_GETCWD_SYSCALL): Don't define.
24196 (__ASSUME_REALTIME_SIGNALS): Likewise.
24197 (__ASSUME_PREAD_SYSCALL): Likewise.
24198 (__ASSUME_PWRITE_SYSCALL): Likewise.
24199 (__ASSUME_POLL_SYSCALL): Likewise.
24200 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24201 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24202 non-SPARC.
24203 (__ASSUME_SIOCGIFNAME): Don't define.
24204 (__ASSUME_MSG_NOSIGNAL): Likewise.
24205 (__ASSUME_SENDFILE): Define unconditionally.
24206 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24207 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24208 conditional code.
24209 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24210 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24212 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24215 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24240 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24241 Remove conditional code.
24242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24243 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24244 Remove conditional code.
24245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24247 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24248 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24249 Remove conditional code.
24250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24251 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24252 Remove conditional code.
24253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24254 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24255 Remove conditional code.
24256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24257 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24258 Remove conditional code.
24259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24260 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24261 Remove conditional code.
24262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24263 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24266 * sysdeps/unix/sysv/linux/sigaction.c
24267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24269 * sysdeps/unix/sysv/linux/sigpending.c
24270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24272 * sysdeps/unix/sysv/linux/sigprocmask.c
24273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24275 * sysdeps/unix/sysv/linux/sigsuspend.c
24276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24279 (__libc_missing_rt_sigs): Remove.
24280 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24281 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24282 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24283 Remove conditional code.
24284 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24285 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24286 return 1.
24287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24291
1bfb7291
AJ
242922012-05-14 Andreas Jaeger <aj@suse.de>
24293
caae5a81
AJ
24294 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24295 it's not used in glibc.
24296 (__coshm1): Likewise.
24297 (__acosh1p): Likewise.
24298 (__sgn): Likewise.
24299
1bfb7291
AJ
24300 * manual/string.texi (Copying and Concatenation): Add missing
24301 variable in concat example.
24302 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24303
c044d724
L
243042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24305
144c5467 24306 [BZ #14103]
c044d724
L
24307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24308 __builtin_clzl with __builtin_clzll.
24309
2523c62b
L
243102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24311
24312 [BZ #14104]
24313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24314 libc_freeres_ptr.
24315
d7bb4c42
LD
243162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24317
24318 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24319 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24320 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24322
9dc4e1fb
MF
243232012-05-14 Mike Frysinger <vapier@gentoo.org>
24324
24325 * NEWS: Update ia64 info.
24326
c7df0112
AS
243272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24328
24329 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24330 used as bcopy.
24331
dc70356c
TS
243322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24333
24334 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24335 * sysdeps/unix/syscalls.list (dup3): Likewise.
24336 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24337 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24338
9fb1a21f
L
243392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24340
24341 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24342 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24343
4822a2a5
L
243442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24347 thread pointer.
24348 (TLS_IE): Use mov/add instead of movq/addq to load thread
24349 pointer.
24350 (TLS_GD_PREFIX): New.
24351 (TLS_GD): Use it.
24352
842b81d6
DM
243532012-05-11 David S. Miller <davem@davemloft.net>
24354
24355 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24356 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24357 (_FPU_SETCW): Likewise.
24358
1cf463cd
L
243592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24360
24361 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24362 is 32-byte aligned.
24363
60cc4a18
AS
243642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24365
24366 [BZ #11837]
24367 * iconvdata/gb18030.c: Update tables.
24368 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24369 characters specially.
24370 (BODY for TO_LOOP): Add encoding of missing ranges.
24371
febb44a4
TS
243722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24373
24374 [BZ #13673]
24375 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24376 * sysdeps/mach/hurd/dup3.c: Likewise.
24377 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24378 * sysdeps/powerpc/memmove.c:: Likewise.
24379
0a10fb9e
L
243802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24381
24382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24383 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24384
df8a552f
L
243852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * elf/elf.h (R_X86_64_RELATIVE64): New.
24388 (R_X86_64_NUM): Updated.
24389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24390 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24391 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24392 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24393 tst-quad1pie tst-quad2pie
24394 (modules-names): Add tst-quadmod1 tst-quadmod2.
24395 ($(objpfx)tst-quad1): New dependency.
24396 ($(objpfx)tst-quad2): Likewise.
24397 ($(objpfx)tst-quad1pie): Likewise.
24398 ($(objpfx)tst-quad2pie): Likewise.
24399 * sysdeps/x86_64/tst-quad1.c: New file.
24400 * sysdeps/x86_64/tst-quad1pie.c: New file.
24401 * sysdeps/x86_64/tst-quad2.c: Likewise.
24402 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24403 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24404 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24405 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24406 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24407
f34d6f84
ST
244082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24409
f42d41d1
ST
24410 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24411 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24412 * streams/stropts.h (t_scalar_t): Define type.
24413
3c3571fc
ST
24414 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24415 (_PATH_PRESERVE): Set to "/var/lib".
24416 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24417
61f06bd3
ST
24418 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24419 instead of int.
24420
918d4d71
ST
24421 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24422 if __dir_mkfile succeeded.
24423
f34d6f84
ST
24424 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24425 checking for _hurd_dtablesize. Unlock it right after having
24426 finished _hurd_dtable allocation.
24427
10589b4a
TS
244282012-05-10 Thomas Schwinge <thomas@schwinge.name>
24429
674cdbc7
TS
24430 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24431 * sysdeps/mach/hurd/configure: Regenerated.
24432 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24433 special-casing to...
24434 * sysdeps/gnu/configure.in: ... this new file.
24435 * sysdeps/unix/sysv/linux/configure: Regenerated.
24436 * sysdeps/gnu/configure: New generated file.
24437
8e41b99f
TS
24438 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24439 for Linux: use nsec instead of usec, as well as:
24440 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24441 members of type struct timespec.
24442 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24443 New macros.
24444 (struct stat64): Likewise.
24445 (_STATBUF_ST_NSEC): New macro.
24446 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24447
10589b4a
TS
24448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24449 __strtoul_internal rather than strtoul.
24450
63643c85
PT
244512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24452
24453 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24454 and reject them.
24455
3faebe6a
ST
244562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24457
24458 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24459 which preserves existing values.
24460 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24461
c6474b07
PT
244622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24463
24464 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24465 TIMEOUT values. Return EINVAL for NFDS values either negative or
24466 greater than FD_SETSIZE.
24467
1043890b
ST
244682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24469
24470 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24471 allocated, call __vm_protect to finish enabling the existing space, and
24472 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24473 allocate the remainder.
24474
37ed8b9b
PT
244752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24476
24477 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24478 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24479
db653660
ST
244802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24481
37ed8b9b
PT
24482 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24483 sysdeps/mach/hurd/readlink.c.
b29d4053 24484
db653660
ST
24485 * posix/tst-sysconf.c (posix_options): Only use
24486 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24487 _POSIX_SYNCHRONIZED_IO when they are defined
24488 * sysdeps/mach/hurd/bits/posix_opt.h:
24489 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24490 (_XOPEN_REALTIME): Undefine macro.
24491 (_XOPEN_REALTIME_THREADS): Undefine macro.
24492 (_XOPEN_SHM): Undefine macro.
24493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24494 macro to -1.
24495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24496 macro to -1.
24497 (_POSIX_ASYNC_IO): Undefine macro.
24498 (_POSIX_PRIORITIZED_IO): Undefine macro.
24499 (_POSIX_SPIN_LOCKS): Define macro to -1.
24500
ee16e894
ST
24501 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24502 SA_NODEFER, SA_RESETHAND.
24503 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24504 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24505 F_DUPFD_CLOEXEC.
24506
6103ae3b
TS
245072012-05-10 Thomas Schwinge <thomas@schwinge.name>
24508
24509 * elf/Makefile (pldd-modules): Define unconditionally.
24510
80b4e5f3
TS
245112012-05-10 Thomas Schwinge <thomas@schwinge.name>
24512
24513 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24514
edadcbd6
ST
245152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24516
24517 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24518 Return ENOENT when name is empty.
24519 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24520
80694780
TS
245212012-05-10 Thomas Schwinge <thomas@schwinge.name>
24522
1792c087
TS
24523 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24524
80694780
TS
24525 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24526
6b645f0d
ST
245272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24528
80694780
TS
24529 Fix mlock in all cases except non-readable pages.
24530 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24531 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24532
6b645f0d
ST
24533 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24534 (__mkdir): When path is `/', just fail with EEXIST.
24535 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24536
e468f8a3
TS
245372012-05-10 Thomas Schwinge <thomas@schwinge.name>
24538
24539 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24540 <sys/uio.h> (for writev).
24541 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24542 and <sys/param.h> (for MIN).
24543
a4186cff
PT
245442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24545
24546 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24547 REQUESTED_TIME. Properly set the remaining time and return EINTR
24548 if interrupted.
24549
510bbf14
TS
245502012-05-10 Thomas Schwinge <thomas@schwinge.name>
24551
24552 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24553 Depend on against $(link-rpcuserlibs).
24554
5d5722e8
ST
245552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24556
a4186cff
PT
24557 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24558 (__libc_stack_end): Do not use attribute_relro.
24559 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24560 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24561 to libthread-provided value.
a4186cff
PT
24562 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24563 attribute_relro.
5d5722e8 24564
37233df9
TS
245652012-05-10 Thomas Schwinge <thomas@schwinge.name>
24566
be971a2b
TS
24567 [BZ #3748]
24568 * bits/libc-lock.h (__libc_once_get): New macro.
24569 * sysdeps/mach/bits/libc-lock.h: Likewise.
24570 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24572 instead of using implementation details.
24573
37233df9
TS
24574 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24575 * libio/freopen.c: Likewise.
24576 * libio/freopen64.c: Likewise.
24577 * misc/syslog.c: Likewise.
24578 * nscd/connections.c: Likewise.
24579 * nscd/netgroupcache.c: Likewise.
24580 * sysdeps/posix/getcwd.c: Likewise.
24581
38de94a5
RM
245822012-05-10 Roland McGrath <roland@hack.frob.com>
24583
24584 * math/w_ilogbf.c: Add #include <limits.h>.
24585
67530489
ST
245862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24587
a4186cff 24588 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24589 path instead of returning without unlocking.
24590
67530489
ST
24591 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24592 immediate-write ioctls.
24593 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24594
5aa3a74a
TS
245952012-05-10 Thomas Schwinge <thomas@schwinge.name>
24596
18bad2ae
TS
24597 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24598 __builtin_frame_address instead of making assumptions about the
24599 location of the return address relative to DATA. Force early load of
24600 the return address.
24601 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24602 __builtin_frame_address.
24603
5aa3a74a
TS
24604 dup3 for GNU Hurd.
24605 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24606 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24607 implement dup3 and do some further code clean-ups.
24608 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24610
ecd0de9a
ST
246112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24612
cd9fa985
ST
24613 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24614
a4186cff
PT
24615 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24616 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24617 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24618 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24619 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24620 d->port.lock.
802ca5a5 24621
a4186cff
PT
24622 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24623 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24624 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24625
bcf55240
TS
246262012-05-10 Thomas Schwinge <thomas@schwinge.name>
24627
6960eb42
TS
24628 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24629 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24630 definitions.
24631
eb43375f
TS
24632 accept4 for GNU Hurd.
24633 * include/sys/socket.h (__libc_accept4): New prototype.
24634 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24635 to implement __libc_accept4.
24636 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24637 __libc_accept4.
24638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24639
bcf55240
TS
24640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24641 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24642 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24643 signal-defines.sym.
24644
6178c55b
ST
246452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24646
a4186cff 24647 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24648
6f080c2f
TS
246492012-05-10 Thomas Schwinge <thomas@schwinge.name>
24650
24651 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24652 assertion on O_CLOEXEC flag.
24653 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24654 * hurd/intern-fd.c: Likewise.
24655 * hurd/port2fd.c: Likewise.
24656
bcfe3a54
ST
246572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24658
24659 [BZ #3906]
24660 * bits/in.h (IPV6_PKTINFO): Define new macro.
24661 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24662
89c9aa49
AZ
246632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24664
24665 [BZ #13954]
24666 [BZ #13955]
24667 [BZ #13956]
24668 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24670 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24674 * math/libm-test.inc (logb_test) : Additional logb tests.
24675
021db4be
AJ
246762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24677 Andreas Jaeger <aj@suse.de>
24678
24679 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24680 * configure: Regenerated.
24681 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24682 * config.make.in (link-obsolete-rpc): New substituted variable.
24683 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24684 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24685 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24686 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24687 so that libc.a contains the symbols.
24688 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24689 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24690 * sunrpc/auth_none.c: Likewise.
24691 * sunrpc/auth_unix.c: Likewise.
24692 * sunrpc/authdes_prot.c: Likewise.
24693 * sunrpc/authuxprot.c: Likewise.
24694 * sunrpc/clnt_gen.c: Likewise.
24695 * sunrpc/clnt_perr.c: Likewise.
24696 * sunrpc/clnt_raw.c: Likewise.
24697 * sunrpc/clnt_simp.c: Likewise.
24698 * sunrpc/clnt_tcp.c: Likewise.
24699 * sunrpc/clnt_udp.c: Likewise.
24700 * sunrpc/clnt_unix.c: Likewise.
24701 * sunrpc/des_crypt.c: Likewise.
24702 * sunrpc/des_soft.c: Likewise.
24703 * sunrpc/get_myaddr.c: Likewise.
24704 * sunrpc/key_call.c: Likewise.
24705 * sunrpc/key_prot.c: Likewise.
24706 * sunrpc/netname.c: Likewise.
24707 * sunrpc/pm_getmaps.c: Likewise.
24708 * sunrpc/pm_getport.c: Likewise.
24709 * sunrpc/pmap_clnt.c: Likewise.
24710 * sunrpc/pmap_prot.c: Likewise.
24711 * sunrpc/pmap_prot2.c: Likewise.
24712 * sunrpc/pmap_rmt.c: Likewise.
24713 * sunrpc/publickey.c: Likewise.
24714 * sunrpc/rpc_cmsg.c: Likewise.
24715 * sunrpc/rpc_common.c: Likewise.
24716 * sunrpc/rpc_dtable.c: Likewise.
24717 * sunrpc/rpc_prot.c: Likewise.
24718 * sunrpc/rpc_thread.c: Likewise.
24719 * sunrpc/rtime.c: Likewise.
24720 * sunrpc/svc.c: Likewise.
24721 * sunrpc/svc_auth.c: Likewise.
24722 * sunrpc/svc_raw.c: Likewise.
24723 * sunrpc/svc_run.c: Likewise.
24724 * sunrpc/svc_tcp.c: Likewise.
24725 * sunrpc/svc_udp.c: Likewise.
24726 * sunrpc/svc_unix.c: Likewise.
24727 * sunrpc/svcauth_des.c: Likewise.
24728 * sunrpc/xcrypt.c: Likewise.
24729 * sunrpc/xdr.c: Likewise.
24730 * sunrpc/xdr_array.c: Likewise.
24731 * sunrpc/xdr_float.c: Likewise.
24732 * sunrpc/xdr_intXX_t.c: Likewise.
24733 * sunrpc/xdr_mem.c: Likewise.
24734 * sunrpc/xdr_rec.c: Likewise.
24735 * sunrpc/xdr_ref.c: Likewise.
24736 * sunrpc/xdr_sizeof.c: Likewise.
24737 * sunrpc/xdr_stdio.c: Likewise.
24738
b5c086a2
RM
247392012-05-10 Roland McGrath <roland@hack.frob.com>
24740
24741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24742 change. Update copyright years.
24743
6d74dd09
JM
247442012-05-10 Joseph Myers <joseph@codesourcery.com>
24745
24746 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24747
28e72501
MK
247482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24749 Joseph Myers <joseph@codesourcery.com>
24750 Paul Pluzhnikov <ppluzhnikov@google.com>
24751
24752 [BZ #14012]
24753 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24754 requiring rpcgen.
24755 [cross-compiling] (extra-libs): Likewise.
24756 [cross-compiling] (extra-libs-others): Likewise.
24757 [cross-compiling] (librpcsvc-routines): Likewise.
24758 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24759 [cross-compiling] (omit-deps): Likewise.
24760 (sunrpc-CPPFLAGS): New variable.
24761 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24762 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24763 (cross-rpcgen-objs): New variable.
24764 (extra-objs): Append $(cross-rpcgen-objs).
24765 ($(cross-rpcgen-objs)): New rule.
24766 ($(objpfx)cross-rpcgen): Likewise.
24767 (rpcgen-cmd): Define to use $(built-program-file). Expand
24768 comment.
24769 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24770 ($(objpfx)x%.stmp): Likewise.
24771 * sunrpc/proto.h [IS_IN_build] (_): Define.
24772 [IS_IN_build] (_libc_intl_domainname): Likewise.
24773
c8c59454
L
247742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24775
24776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24777 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24778 and R_X86_64_TPOFF64.
24779
6f27cd16
JM
247802012-05-10 Joseph Myers <joseph@codesourcery.com>
24781
24782 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24783 sysdeps/unix/sysv/syscalls.list.
24784 (stime): Likewise.
24785 (utime): Likewise.
24786 * sysdeps/unix/sysv/syscalls.list: Remove file.
24787
02467e1c
PE
247882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24789
24790 [BZ #3440]
24791 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24792 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24793 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24794 (__LC_IDENTIFICATION): Make these macros useful in #if
24795 expressions, as required by C99.
24796
da392631
AS
247972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24798
24799 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24800 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24801 after this.
24802
8115f29b
L
248032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24804
24805 * stdlib/longlong.h: Updated from GCC.
24806
bdd74070
AJ
248072012-05-09 Andreas Jaeger <aj@suse.de>
24808
edfe0dbe
AJ
24809 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24810 default is first entry.
24811 (run_mode): Set type.
24812 (main): Remove informal message about syslog.
24813 (options): Fix typo.
24814
bcfe3a54
ST
24815 [BZ #14053]
24816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24817 to asm.
bcfe3a54
ST
24818 (lrint): Likewise.
24819 (llrintf): Likewise.
24820 (llrint): Likewise.
24821 (rint): Likewise.
24822 (rintf): Likewise.
24823 (nearbyint): Likewise.
24824 (nearbyintf): Likewise.
bdd74070 24825
91d8d69e
AJ
248262012-05-09 Andreas Jaeger <aj@suse.de>
24827 Pedro Alves <palves@redhat.com>
24828
24829 * nscd/nscd.c (run_mode): Use enum.
24830 (main): Cleanup coding style issue.
24831
bb90b80b
AJ
248322012-05-09 Alexandre Oliva <aoliva@redhat.com>
24833 Andreas Jaeger <aj@suse.de>
24834
bcfe3a54
ST
24835 * nscd/nscd.c (go_background): Replaced with...
24836 (run_mode): ... this.
bb90b80b 24837 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24838 (options): Add -F --foreground.
24839 (main): Implement it.
24840 (parse_opt): Parse it.
bb90b80b 24841
1a4b75a1
AJ
248422012-05-09 Andreas Jaeger <aj@suse.de>
24843
24844 [BZ #14083]
24845 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24846 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24847 -Wconversion warning.
24848 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24849 Likewise.
24850
b1cc2472
JM
248512012-05-09 Joseph Myers <joseph@codesourcery.com>
24852
24853 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24854 == 0.
24855 (LC_ALL): Use macro-int-constant.
24856 (LC_COLLATE): Likewise.
24857 (LC_CTYPE): Likewise.
24858 (LC_MESSAGES): Likewise.
24859 (LC_MONETARY): Likewise.
24860 (LC_NUMERIC): Likewise.
24861 (LC_TIME): Likewise.
24862 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24863 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24865 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24866 Specify type.
24867 [C99-based standards] (float_t): Expect type.
24868 [C99-based standards] (double_t): Expect type.
24869 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24870 type.
24871 [C99-based standards] (HUGE_VALL): Likewise.
24872 [C99-based standards] (INFINITY): Likewise.
24873 [C99-based standards] (NAN): Likewise.
24874 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24875 [C99-based standards] (FP_NAN): Likewise.
24876 [C99-based standards] (FP_NORMAL): Likewise.
24877 [C99-based standards] (FP_SUBNORMAL): Likewise.
24878 [C99-based standards] (FP_ZERO): Likewise.
24879 [C99-based standards] (FP_FAST_FMA): Use
24880 optional-macro-int-constant. Specify type. Require == 1.
24881 [C99-based standards] (FP_FAST_FMAF): Likewise.
24882 [C99-based standards] (FP_FAST_FMAL): Likewise.
24883 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24884 [C99-based standards] (FP_ILOGBNAN): Likewise.
24885 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24886 Specify type.
24887 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24888 [C99-based standards] (math_errhandling): Specify type.
24889 [ISO99 || ISO11] (signgam): Do not allow.
24890 [non-C99-based standards] (copysignf): Do not allow.
24891 [non-C99-based standards] (exp2f): Likewise.
24892 [non-C99-based standards] (log2f): Likewise.
24893 [non-C99-based standards] (modff): Allow.
24894 [non-C99-based standards] (erff): Do not allow.
24895 [non-C99-based standards] (erfcf): Likewise.
24896 [non-C99-based standards] (gammaf): Likewise.
24897 [non-C99-based standards] (hypotf): Likewise.
24898 [non-C99-based standards] (j0f): Likewise.
24899 [non-C99-based standards] (j1f): Likewise.
24900 [non-C99-based standards] (jnf): Likewise.
24901 [non-C99-based standards] (lgammaf): Likewise.
24902 [non-C99-based standards] (tgammaf): Likewise.
24903 [non-C99-based standards] (y0f): Likewise.
24904 [non-C99-based standards] (y1f): Likewise.
24905 [non-C99-based standards] (ynf): Likewise.
24906 [non-C99-based standards] (isnanf): Likewise.
24907 [non-C99-based standards] (acoshf): Likewise.
24908 [non-C99-based standards] (asinhf): Likewise.
24909 [non-C99-based standards] (atanhf): Likewise.
24910 [non-C99-based standards] (cbrtf): Likewise.
24911 [non-C99-based standards] (expm1f): Likewise.
24912 [non-C99-based standards] (ilogbf): Likewise.
24913 [non-C99-based standards] (log1pf): Likewise.
24914 [non-C99-based standards] (logbf): Likewise.
24915 [non-C99-based standards] (nextafterf): Likewise.
24916 [non-C99-based standards] (remainderf): Likewise.
24917 [non-C99-based standards] (rintf): Likewise.
24918 [non-C99-based standards] (scalbf): Likewise.
24919 [non-C99-based standards] (copysignl): Likewise.
24920 [non-C99-based standards] (exp2l): Likewise.
24921 [non-C99-based standards] (log2l): Likewise.
24922 [non-C99-based standards] (modfl): Allow.
24923 [non-C99-based standards] (erfl): Do not allow.
24924 [non-C99-based standards] (erfcl): Likewise.
24925 [non-C99-based standards] (gammal): Likewise.
24926 [non-C99-based standards] (hypotl): Likewise.
24927 [non-C99-based standards] (j0l): Likewise.
24928 [non-C99-based standards] (j1l): Likewise.
24929 [non-C99-based standards] (jnl): Likewise.
24930 [non-C99-based standards] (lgammal): Likewise.
24931 [non-C99-based standards] (tgammal): Likewise.
24932 [non-C99-based standards] (y0l): Likewise.
24933 [non-C99-based standards] (y1l): Likewise.
24934 [non-C99-based standards] (ynl): Likewise.
24935 [non-C99-based standards] (isnanl): Likewise.
24936 [non-C99-based standards] (acoshl): Likewise.
24937 [non-C99-based standards] (asinhl): Likewise.
24938 [non-C99-based standards] (atanhl): Likewise.
24939 [non-C99-based standards] (cbrtl): Likewise.
24940 [non-C99-based standards] (expm1l): Likewise.
24941 [non-C99-based standards] (ilogbl): Likewise.
24942 [non-C99-based standards] (log1pl): Likewise.
24943 [non-C99-based standards] (logbl): Likewise.
24944 [non-C99-based standards] (nextafterl): Likewise.
24945 [non-C99-based standards] (remainderl): Likewise.
24946 [non-C99-based standards] (rintl): Likewise.
24947 [non-C99-based standards] (scalbl): Likewise.
24948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24949 [non-C99-based standards] (FP_*): Do not allow.
24950 [C99-based standards] (FP_*): Change to
24951 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24952 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24953 allow.
24954 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24955 (SIG_ERR): Likewise.
24956 [X/Open-based standards] (SIG_HOLD): Likewise.
24957 (SIG_IGN): Likewise.
24958 (SIGABRT): Use macro-int-constant. Specify type. Require
24959 positive value.
24960 (SIGFPE): Likewise.
24961 (SIGILL): Likewise.
24962 (SIGINT): Likewise.
24963 (SIGSEGV): Likewise.
24964 (SIGTER): Likewise.
24965 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24966 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24967 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24968 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24969 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24970 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24971 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24972 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24973 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24974 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24975 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24976 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24977 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24978 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24979 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24980 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24981 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24982 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24983 [X/Open-based standards] (SIGTRAP): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24988 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24989 allow.
24990
b9f1922d
IW
249912012-05-08 Ian Wienand <ianw@vmware.com>
24992
24993 [BZ #14080]
24994 * time/tzset.c (__tzset_parse_tz): Update default rules for
24995 daylight time changes in the Energy Policy Act of 2005.
24996
1db86e88
AJ
249972012-05-09 Andreas Jaeger <aj@suse.de>
24998
24999 [BZ #13983]
25000 * elf/ldconfig.c (parse_conf): Change string to make clear that
25001 ldconfig only issued a warning if ld.so.conf does not exist.
25002
dee4a4e3
DM
250032012-05-08 David S. Miller <davem@davemloft.net>
25004
ee0db190
DM
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25006 movxtod instead of popping the value on the stack.
25007
dee4a4e3
DM
25008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25009
6a43ec98
CD
250102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25011
25012 * config.h.in: Add HAVE_ARM_PCS_VFP.
25013
05c2c961
RMG
250142012-05-08 Roland Mc Grath <roland@hack.frob.com>
25015
bcfe3a54
ST
25016 [BZ #13979]
25017 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25018 checking but the checks are disabled for any reason.
05c2c961 25019
4b30f61a
L
250202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25021
25022 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25023 and ELF64_R_TYPE with ELFW(R_TYPE).
25024
eee2bc67
JM
250252012-05-08 Joseph Myers <joseph@codesourcery.com>
25026
7ea5391a
JM
25027 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25028 (ulimit): Likewise.
25029
eee2bc67
JM
25030 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25031 (settimeofday): Likewise.
25032
abb66a67
MF
250332012-05-08 Mike Frysinger <vapier@gentoo.org>
25034
25035 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25036 a struct th_u2 inside the union, and move tu_block/tu_code into
25037 a new th_u3 union of tu_block/tu_code inside of that. Move
25038 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25039 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25040 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25041 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25042 (th_stuff): Change to th_u1.tu_stuff.
25043 (th_data): Define.
25044 (th_msg): Change to th_u1.th_u2.tu_data.
25045
7f18b530
DM
250462012-05-07 David S. Miller <davem@davemloft.net>
25047
05760585
DM
25048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25049
7f18b530
DM
25050 [BZ #14074]
25051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25052 (SETUP_PIC_REG): Use it.
25053 (SETUP_PIC_REG_LEAF): Use it.
25054
495fd99f
JM
250552012-05-07 Joseph Myers <joseph@codesourcery.com>
25056
25057 [BZ #13885]
25058 [BZ #13923]
25059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25060 USE_AS_EXPM1L.
25061 (EXPL_FINITE): Likewise.
25062 (FLDLOG): Likewise.
25063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25064 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25065 e_expl.S.
25066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25067 USE_AS_EXPM1L.
25068 (EXPL_FINITE): Likewise.
25069 (FLDLOG): Likewise.
25070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25071 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25072 e_expl.S.
25073 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25074 test of -max_value argument for long double.
25075 * sysdeps/i386/fpu/libm-test-ulps: Update.
25076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077
6693d694
DM
250782012-05-06 David S. Miller <davem@davemloft.net>
25079
25080 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25081 quad soft-float symbols whose references which are compiler
25082 generated.
25083 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25084
6c23e11c
JM
250852012-05-06 Joseph Myers <joseph@codesourcery.com>
25086
d8b82cad
JM
25087 [BZ #13884]
25088 [BZ #13914]
25089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25090 USE_AS_EXP10L.
25091 (EXPL_FINITE): Likewise.
25092 (FLDLOG): Likewise.
25093 (c0): Likewise.
25094 (c1): Likewise.
25095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25096 Adjust comments for base varying.
25097 (__expl_finite): Change alias to EXPL_FINITE.
25098 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25099 e_expl.S.
25100 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25101 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25102 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25103 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25105 USE_AS_EXP10L.
25106 (EXPL_FINITE): Likewise.
25107 (FLDLOG): Likewise.
25108 (c0): Likewise.
25109 (c1): Likewise.
25110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25111 Adjust comments for base varying.
25112 (__expl_finite): Change alias to EXPL_FINITE.
25113 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25114 tests for bugs.
25115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25116
6c23e11c
JM
25117 [BZ #14064]
25118 * math/libm-test.inc (check_float_internal): Correct ulp
25119 calculation for subnormal expected results.
25120
29ba805c
AJ
251212012-05-06 Andreas Jaeger <aj@suse.de>
25122
25123 * Makeconfig (+math-flags): New, set to -frounding-math.
25124 (+cflags): Add +math-flags so that all of glibc gets compiled with
25125 it.
25126
25127 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25128
7b17aeda
JM
251292012-05-05 Joseph Myers <joseph@codesourcery.com>
25130
5779f134
JM
25131 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25132 Disable one test.
25133
41498f4d
JM
25134 [BZ #13787]
25135 [BZ #13922]
25136 [BZ #14036]
25137 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25138 (__ieee754_expl): Allow for and saturate large arguments.
25139 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25140 (u_threshold): Likewise.
25141 (__exp): Call __ieee754_exp before checking for overflow and
25142 underflow.
25143 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25144 (u_threshold): Likewise.
25145 (__expf): Call __ieee754_expf before checking for overflow and
25146 underflow.
25147 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25148 (u_threshold): Likewise.
25149 (__expl): Call __ieee754_expl before checking for overflow and
25150 underflow.
25151 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25152 (__ieee754_expl): Allow for and saturate large arguments.
25153 * math/libm-test.inc (exp_test): Add another test. Do not allow
25154 missing overflow exception on overflow.
25155 (expm1_test): Do not allow missing overflow exception on overflow.
25156
6698b8bf
JM
25157 * sysdeps/i386/fpu/e_expl.c: Move to ...
25158 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25159 rather than using inline asm.
25160 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25161 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25162 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25163
7b17aeda
JM
25164 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25165 (nice): Likewise.
25166 (poll): Likewise.
25167 (signal): Likewise.
25168 (time): Likewise.
25169 (times): Likewise.
25170
f7c85819
JM
251712012-05-04 Joseph Myers <joseph@codesourcery.com>
25172
25173 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25174 sysdeps/unix/common/syscalls.list.
25175 (fchmod): Likewise.
25176 (fchown): Likewise.
25177 (ftruncate): Likewise.
25178 (getrusage): Likewise.
25179 (gettimeofday): Likewise.
25180 (setpgid): Likewise.
25181 (setregid): Likewise.
25182 (setreuid): Likewise.
25183 (sigaction): Likewise.
25184 (truncate): Likewise.
25185 (vhangup): Likewise.
25186 * sysdeps/unix/common/syscalls.list: Remove file.
25187 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25188 * sysdeps/unix/sysv/linux/Implies: Likewise.
25189
336270d0
L
251902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25191
25192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25195 Moved to ...
25196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25197 Here.
25198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25199 to ...
25200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25202 to ...
25203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25204 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25205 to ...
25206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25208 to ...
25209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25211 to ...
25212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25214 to ...
25215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25217 to ...
25218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25219 Here.
25220 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25221 to ...
25222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25223 Here.
25224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25225 to ...
25226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25228 Moved to ...
25229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25230 Here.
25231 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25232 to ...
25233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25234
d128e450
JM
252352012-05-04 Joseph Myers <joseph@codesourcery.com>
25236
fa8ee516
JM
25237 * sysdeps/unix/common/bits/dirent.h: Remove file.
25238 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25239
d128e450
JM
25240 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25241 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25242 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25243 * sysdeps/unix/bsd/isatty.c: Likewise.
25244 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25245 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25246 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25247
ff8faaf0 252482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25249
62881be4 25250 [BZ #13563]
31dc8730
AZ
25251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25252 long double comparison inaccuracies.
25253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25255
6fef930c
AS
252562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25257
25258 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25260
8f203e6c
JM
252612012-05-04 Joseph Myers <joseph@codesourcery.com>
25262
25263 [BZ #14049]
25264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25265 nonzero digits before rounding a hex value.
25266 * stdlib/tst-strtod.c (tests): Add another test.
25267
5197d9c2
AK
252682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25269
25270 * sysdeps/s390/fpu/libm-test-ulps: Update.
25271
f0c1dedf
AJ
252722012-05-03 Andreas Jaeger <aj@suse.de>
25273
25274 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25275 does not get optimized out.
25276 (malloc_opt_barrier): New.
25277
a65ef2ae 252782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25279 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25280
2b942cb7 25281 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25282 intermediate file deletion.
2b942cb7 25283 (generated): Add .symlist files.
a65ef2ae 25284
54b71e02
JM
252852012-05-03 Joseph Myers <joseph@codesourcery.com>
25286
25287 [BZ #13775]
25288 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25289 Redirect under this condition.
25290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25291 [__USE_GNU] (__dprintf_chk): Not under this condition.
25292 [__USE_GNU] (__vdprintf_chk): Likewise.
25293 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25294 under this condition.
25295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25296 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25297 [__USE_XOPEN2K8] (vdprintf): Likewise.
25298 [__USE_GNU] (__dprintf_chk): Not under this condition.
25299 [__USE_GNU] (__vdprintf_chk): Likewise.
25300 [__USE_GNU] (dprintf): Likewise.
25301 [__USE_GNU] (vdprintf): Likewise.
25302
d3dfcc41
RM
253032012-05-03 Roland McGrath <roland@hack.frob.com>
25304
25305 * elf/Makefile (common-generated): Set this instead of generated for
25306 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25307 $(all-built-dso)-derived lists.
25308
7ac30cc5
AJ
253092012-05-03 Andreas Jaeger <aj@suse.de>
25310
0c51e550
AJ
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312
7ac30cc5
AJ
25313 * FAQ: Removed.
25314 * FAQ.in: Likewise.
25315 * scripts/gen-FAQ.pl: Likewise.
25316 * manual/install.texi (Installation): Point to online location of
25317 FAQ.
25318 * Makefile (files-for-dist): Remove FAQ.
25319 (FAQ): Remove.
25320
d4c2917f
AM
253212012-05-02 Allan McRae <allan@archlinux.org>
25322
25323 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25324 (LDFLAGS-reldepmod5.so): Likewise.
25325 (LDFLAGS-reldep6mod1.so): Likewise.
25326 (LDFLAGS-reldep6mod4.so): Likewise.
25327 (LDFLAGS-reldep8mod3.so): Likewise.
25328 (LDFLAGS-unload4mod1.so): Likewise.
25329 (LDFLAGS-unload4mod2.so): Likewise.
25330 (LDFLAGS-tst-initorder): Likewise.
25331 (LDFLAGS-tst-initordera2.so): Likewise.
25332 (LDFLAGS-tst-initordera3.so): Likewise.
25333 (LDFLAGS-tst-initordera4.so): Likewise.
25334 (LDFLAGS-tst-initorderb2.so): Likewise.
25335 (LDFLAGS-noload): Likewise.
25336 (LDFLAGS-next): Likewise.
25337 (LDFLAGS-order2mod1.so): Likewise.
25338 (LDFLAGS-order2mod2.so): Likewise.
25339 (LDFLAGS-tst-initorder2): Likewise.
25340 (LDFLAGS-tst-initorder2a.so): Likewise.
25341 (LDFLAGS-tst-initorder2b.so): Likewise.
25342 (LDFLAGS-tst-initorder2c.so): Likewise.
25343 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25344
d77f993f
DM
253452012-05-02 David S. Miller <davem@davemloft.net>
25346
25347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25348
171a70b4
PP
253492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25350
25351 [BZ #14055]
25352 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25353
0be196ad
AJ
253542012-05-02 Andreas Jaeger <aj@suse.de>
25355
25356 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25357 since we manipulate rounding mode.
25358 (CPPFLAGS-test-idouble.c): Likewise.
25359 (CPPFLAGS-test-ifloat.c): Likewise.
25360 (CFLAGS-test-ldouble.c): Likewise.
25361 (CFLAGS-test-double.c): Likewise.
25362 (CFLAGS-test-float.c): Likewise.
25363 (CFLAGS-test-misc.c): Likewise.
25364 (CFLAGS-test-test-fenv.c): Likewise.
25365
4f9d04aa
AZ
253662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25367
2b942cb7
RM
25368 [BZ #2550]
25369 [BZ #2570]
25370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25371 comparisons to determine direction to adjust input.
4f9d04aa 25372
82a79e7d
RM
253732012-05-01 Roland McGrath <roland@hack.frob.com>
25374
f5a01ca9
RM
25375 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25376 output to the target.
25377
90fe4186
RM
25378 * scripts/localplt.awk: New file.
25379 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25380 (check-localplt-CFLAGS): Variable removed.
25381 ($(all-built-dso:=.jmprel)): New static pattern rule.
25382 (generated): Add those targets.
25383 (localplt-built-dso): New variable.
25384 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25385
25386 * elf/check-localplt.c: File removed.
25387
82397ed6
RM
25388 * scripts/check-execstack.awk: New file.
25389 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25390 (check-execstack-CFLAGS): Variable removed.
25391 ($(objpfx)check-execstack.h): Target removed.
25392 ($(objpfx)execstack-default): New target.
25393 (generated): Add that instead of check-execstack.h.
25394 ($(all-built-dso:=.phdr)): New static pattern rule.
25395 (generated): Add those targets.
25396 * elf/check-execstack.c: File removed.
25397
82a79e7d
RM
25398 * scripts/check-textrel.awk: New file.
25399 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25400 (check-textrel-CFLAGS): Variable removed.
25401 (all-built-dso): Use := to define.o
25402 ($(all-built-dso:=.dyn)): New static pattern rule.
25403 (generated): Add those targets.
25404 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25405 * config.make.in (READELF): New substituted variable.
25406 * elf/check-textrel.c: File removed.
25407
62fde54f 254082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25409
615605c9
JM
25410 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25411 allow.
25412 * conform/data/ctype.h-data [C99-based standards] (isblank):
25413 Expect function.
25414 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25415 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25417 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25418 Specify type. Require positive value.
25419 (EILSEQ): Likewise.
25420 (ERANGE): Likewise.
25421 [ISO || POSIX] (EILSEQ): Do not expect.
25422 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25423 Specify type. Require positive value.
25424 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25425 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25426 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25427 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25428 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25429 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25430 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25431 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25432 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25433 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25434 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25498 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25499 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25500 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25501 Require >= 2.
25502 (FLT_ROUNDS): Expect as macro, not constant.
25503 (FLT_MANT_DIG): Use macro-int-constant.
25504 (DBL_MANT_DIG): Likewise.
25505 (LDBL_MANT_DIG): Likewise.
25506 (FLT_DIG): Likewise.
25507 (DBL_DIG): Likewise.
25508 (LDBL_DIG): Likewise.
25509 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25510 (DBL_MIN_EXP): Likewise.
25511 (LDBL_MIN_EXP): Likewise.
25512 (FLT_MAX_EXP): Use macro-int-constant.
25513 (DBL_MAX_EXP): Likewise.
25514 (LDBL_MAX_EXP): Likewise.
25515 (FLT_MAX_10_EXP): Likewise.
25516 (DBL_MAX_10_EXP): Likewise.
25517 (LDBL_MAX_10_EXP): Likewise.
25518 (FLT_MAX): Use macro-constant.
25519 (DBL_MAX): Likewise.
25520 (LDBL_MAX): Likewise.
25521 (FLT_EPSILON): Use macro-constant. Give upper bound.
25522 (DBL_EPSILON): Likewise.
25523 (LDBL_EPSILON): Likewise.
25524 (FLT_MIN): Likewise.
25525 (DBL_MIN): Likewise.
25526 (LDBL_MIN): Likewise.
25527 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25528 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25529 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25530 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25531 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25532 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25533 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25534 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25535 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25536 [ISO11] (FLT_TRUE_MIN): Likewise.
25537 [ISO11] (LDBL_TRUE_MIN): Likewise.
25538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25539 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25540 (SCHAR_MIN): Use macro-int-constant. Specify type.
25541 (SCHAR_MAX): Likewise.
25542 (UCHAR_MAX): Likewise.
25543 (CHAR_MIN): Likewise.
25544 (CHAR_MAX): Likewise.
25545 (MB_LEN_MAX): Use macro-int-constant.
25546 (SHRT_MIN): Use macro-int-constant. Specify type.
25547 (SHRT_MAX): Likewise.
25548 (USHRT_MAX): Likewise.
25549 (INT_MAX): Likewise.
25550 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25551 bound negative.
25552 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25553 bound with "U".
25554 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25555 bound with "L".
25556 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25557 bound negative. Suffix upper bound with "L".
25558 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25559 bound with "UL".
25560 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25561 Specify type.
25562 [C99-based standards] (LLONG_MAX): Likewise.
25563 [C99-based standards] (ULLONG_MAX): Likewise.
25564 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25565 == 0.
25566 [ISO11] (max_align_t): Require type.
25567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25568
c9140a62
JM
25569 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25570 from $CFLAGS, without defining away __attribute__ calls.
25571 (checknamespace): Use $CFLAGS_namespace.
25572
9af0bf29
JM
25573 * conform/conformtest.pl (@keywords): Only include C99 keywords
25574 for standards based on C99 or C11.
25575
343222a2
JM
25576 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25577 Disable tests.
25578 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25579 UNIX98]: Likewise.
25580
661f8cf0
JM
25581 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25582 usability of symbols in #if.
25583
ee74b9cb
JM
25584 * conform/conformtest.pl: If macro or constant types start
25585 "promoted:", expect the symbol to be of the following type
25586 promoted by the integer promotions.
62fde54f 25587
aafc49b3
JM
25588 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25589 in one place. Also handle "macro-constant".
25590
fefdf574
JM
25591 * conform/conformtest.pl: Only accept expected macro values with
25592 "==". Parse all "macro" lines in one place.
25593 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25594
f2d922fe
JM
25595 * conform/conformtest.pl: Handle braced types on "constant" lines
25596 instead of handling "typed-constant".
25597 * conform/data/signal.h-data: Use "constant" instead of
25598 "typed-constant".
25599
d22956c9
JM
25600 * conform/conformtest.pl: Handle "optional-" at start of lines in
25601 one place rather than duplicating several cases. Handle each
25602 format of "macro" line with initial "optional-".
25603
028e2e38
JM
25604 * conform/conformtest.pl: Only accept expected constant or
25605 optional-constant values with "==". Parse all "constant" lines in
25606 one place. Parse all "optional-constant" lines in one place.
25607 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25608 * conform/data/fmtmsg.h-data: Likewise.
25609 * conform/data/netinet/in.h-data: Likewise.
25610 * conform/data/tar.h-data: Likewise.
25611 * conform/data/limits.h-data: Use "==" form on "constant" and
25612 "optional-constant" lines.
25613
1b8f2850
JM
25614 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25615 Use -std=c99 for XOPEN2K.
25616 (@knownproblems): Remove.
25617 (newtoken): Don't check %isknown.
25618
a05a144b
JM
25619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25620 Do not expect macro.
25621 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25633 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25634 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25651 [XPG3] (acosh): Likewise.
25652 [XPG3] (asinh): Likewise.
25653 [XPG3] (atanh): Likewise.
25654 [XPG3] (cbrt): Likewise.
25655 [XPG3] (expm1): Likewise.
25656 [XPG3] (ilogb): Likewise.
25657 [XPG3] (log1p): Likewise.
25658 [XPG3] (logb): Likewise.
25659 [XPG3] (nextafter): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25662 [XPG3] (remainder): Likewise.
25663 [XPG3] (rint): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25671 [UNIX98 || XOPEN2K] (scalb): Expect.
25672 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25673 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25809
73c5ebe3
JM
25810 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25811 _XOPEN_SOURCE_EXTENDED for XPG4.
25812
39c33b6c
JM
25813 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25814
62fde54f
JM
25815 * Makeconfig (localtime): Remove variable.
25816 (inst_localtime-file): Likewise.
25817
0741d64c
AS
258182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25819
25820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25821 Update.
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25823 Update.
25824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25825 Update.
25826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25827 Update.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25829 Update.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25831 Update.
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25833 Update.
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25835 Update.
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25837 Update.
25838
7cb029ee
JM
258392012-05-01 Joseph Myers <joseph@codesourcery.com>
25840
25841 [BZ #2550]
25842 [BZ #2570]
25843 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25844 comparisons to determine direction to adjust input.
25845 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25846 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25848 Likewise.
25849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25850 Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25852 Likewise.
25853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25855 Likewise.
25856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25857 Likewise.
25858 * math/libm-test.inc (nexttoward_test): Add more tests.
25859
412bd966
AS
258602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25861
25862 [BZ #14040]
25863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25864 in version GLIBC_2.1, not GLIBC_2.0.
25865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25866 Likewise.
25867
9568c0c2
JM
258682012-04-30 Joseph Myers <joseph@codesourcery.com>
25869
adfbc8ac
JM
25870 [BZ #13942]
25871 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25872 (1 - x) * (1 + x).
25873 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25874 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25875 * math/libm-test.inc (acos_test): Add more tests.
25876 (asin_test): Likewise.
25877 * sysdeps/i386/fpu/libm-test-ulps: Update.
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25879
5ba3cc69
JM
25880 [BZ #14034]
25881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25882 of square root.
25883 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25885 * math/libm-test.inc (acos_test_tonearest): New function.
25886 (acos_test_towardzero): Likewise.
25887 (acos_test_downward): Likewise.
25888 (acos_test_upward): Likewise.
25889 (asin_test_tonearest): Likewise.
25890 (asin_test_towardzero): Likewise.
25891 (asin_test_downward): Likewise.
25892 (asin_test_upward): Likewise.
25893 (main): Call the new functions.
25894 * sysdeps/i386/fpu/libm-test-ulps: Update.
25895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25896
9568c0c2
JM
25897 [BZ #13884]
25898 [BZ #13924]
25899 * math/e_exp10.c: Include <float.h>.
25900 (__ieee754_exp10): Handle underflow here rather than multiplying
25901 large negative argument by M_LN10.
25902 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25903 of __ieee754_expf.
25904 * math/e_exp10l.c: Include <float.h>.
25905 (__ieee754_exp10l): Handle underflow here rather than multiplying
25906 large negative argument by M_LN10l.
25907 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25908 spurious overflow exception on underflow.
25909
5ac3ea17
MP
259102012-04-29 Marek Polacek <polacek@redhat.com>
25911
25912 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25913 (__fortify_function): New macro.
25914 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25915 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25916 __extern_always_inline.
25917 * libio/bits/stdio2.h: Likewise.
25918 * libio/bits/stdio.h: Likewise.
25919 * string/string.h: Likewise.
25920 * string/bits/string3.h: Likewise.
25921 * include/stdio.h: Likewise.
25922 * stdlib/bits/stdlib.h: Likewise.
25923 * stdlib/stdlib.h: Likewise.
25924 * rt/bits/mqueue2.h: Likewise.
25925 * rt/mqueue.h: Likewise.
25926 * posix/bits/unistd.h: Likewise.
25927 * posix/unistd.h: Likewise.
25928 * io/bits/poll2.h: Likewise.
25929 * io/bits/fcntl2.h: Likewise.
25930 * io/fcntl.h: Likewise.
25931 * io/sys/poll.h: Likewise.
25932 * misc/bits/syslog.h: Likewise.
25933 * misc/bits/syslog-ldbl.h: Likewise.
25934 * misc/sys/syslog.h: Likewise.
25935 * socket/bits/socket2.h: Likewise.
25936 * socket/sys/socket.h: Likewise.
25937 * debug/tst-chk1.c: Likewise.
25938 * wcsmbs/bits/wchar2.h: Likewise.
25939 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25940 * wcsmbs/wchar.h: Likewise.
25941
ecf0ebfb
AJ
259422012-04-29 Andreas Jaeger <aj@suse.de>
25943
25944 * Makerules (tests): Remove enable-check-abi protection.
25945 (check-abi-warn): Remove.
25946 (check-abi-%): Remove check-abi-warn usage.
25947
25948 * configure.in: Remove check-abi configure option.
25949 * configure: Regenerated.
25950 * config.make.in (enable-check-abi): Remove.
25951
6d5c57fa
AS
259522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25953
24c5d07e 25954 [BZ #14033]
ded5180a
AS
25955 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25956 double functions to double *_finite functions.
25957
7e0d315d
AS
25958 [BZ #13941]
25959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25960 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25961 LDBL_MIN_EXP.
25962 * stdio-common/Makefile (tests): Add tst-sprintf3.
25963 * stdio-common/tst-sprintf3.c: New file.
25964
6d5c57fa
AS
25965 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25966 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25967
0749ff8b
JM
259682012-04-28 Joseph Myers <joseph@codesourcery.com>
25969
25970 * conform/conformtest.pl: Remove duplicate typed-constant
25971 handling.
25972
8dbd5d7b
DM
259732012-04-28 David S. Miller <davem@davemloft.net>
25974
25975 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25976 (check-abi-%): Remove AWK script prerequisite and explicit
25977 abilist directory.
25978 (check-abi): Rewrite to just diff the symlist with the abilist.
25979 (config-tls, config-abi-config): Delete, no longer used.
25980 (update-abi-%): Remove AWK script and explicit abilist directory.
25981 (update-abi): Rewrite to simply compare and conditionally copy the
25982 symlist and the sysdep abilist file. Remove update-abi-config
25983 checks.
25984 * abilist/ld.abilist: Remove.
25985 * abilist/libBrokenLocale.abilist: Remove.
25986 * abilist/libanl.abilist: Remove.
25987 * abilist/libcrypt.abilist: Remove.
25988 * abilist/libdl.abilist: Remove.
25989 * abilist/librt.abilist: Remove.
25990 * abilist/libthread_db.abilist: Remove.
25991 * abilist/libutil.abilist: Remove.
25992 * scripts/extract-abilist.awk: Remove.
25993 * scripts/merge-abilist.awk: Remove.
25994 * sysdeps/generic/libcidn.abilist: New file.
25995 * sysdeps/generic/libnss_compat.abilist: New file.
25996 * sysdeps/generic/libnss_db.abilist: New file.
25997 * sysdeps/generic/libnss_dns.abilist: New file.
25998 * sysdeps/generic/libnss_files.abilist: New file.
25999 * sysdeps/generic/libnss_hesiod.abilist: New file.
26000 * sysdeps/generic/libnss_nis.abilist: New file.
26001 * sysdeps/generic/libnss_nisplus.abilist: New file.
26002 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26003 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26004 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26005 file.
26006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26007 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26008 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26009 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26011 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26012 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26015 file.
26016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26020 file.
26021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26023 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26027 file.
26028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26030 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26031 file.
26032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26034 New file.
26035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26036 New file.
26037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26038 New file.
26039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26040 New file.
26041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26042 New file.
26043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26044 New file.
26045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26046 New file.
26047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26048 New file.
26049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26050 New file.
26051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26052 New file.
26053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26054 New file.
26055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26056 New file.
26057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26058 New file.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26060 file.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26062 New file.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26064 New file.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26066 file.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26068 New file.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26070 New file.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26072 file.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26074 New file.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26076 New file.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26078 New file.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26080 New file.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26082 New file.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26084 New file.
26085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26087 file.
26088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26089 New file.
26090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26091 file.
26092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26093 file.
26094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26095 file.
26096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26097 file.
26098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26099 file.
26100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26101 New file.
26102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26103 file.
26104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26105 file.
26106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26107 New file.
26108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26109 file.
26110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26112 file.
26113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26114 New file.
26115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26116 file.
26117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26118 file.
26119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26120 file.
26121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26122 file.
26123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26124 file.
26125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26126 New file.
26127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26128 file.
26129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26130 file.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26132 New file.
26133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26134 file.
26135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26136 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26137 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26138 file.
26139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26140 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26141 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26143 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26144 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26145 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26146 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26147 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26148 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26151 file.
26152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26153 New file.
26154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26155 file.
26156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26157 file.
26158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26159 file.
26160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26161 file.
26162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26163 file.
26164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26165 New file.
26166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26167 New file.
26168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26169 file.
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26171 New file.
26172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26173 file.
26174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26176 file.
26177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26178 New file.
26179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26180 file.
26181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26182 file.
26183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26184 file.
26185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26186 file.
26187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26188 file.
26189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26190 New file.
26191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26192 New file.
26193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26194 file.
26195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26196 New file.
26197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26198 file.
26199
41d73a1b
JM
262002012-04-28 Joseph Myers <joseph@codesourcery.com>
26201
26202 * conform/conformtest.pl: Fix typo in handling typed-constant from
26203 allow-header.
26204
28aeeda4
JM
262052012-04-27 Joseph Myers <joseph@codesourcery.com>
26206
adae8f5e
JM
26207 * README: Cut down references to pre-2.6 Linux kernels and
26208 Linuxthreads. Update lists of configurations in libc and ports
26209 and sort alphabetically. Say "or newer" with Linux kernel version
26210 requirements.
26211
28aeeda4
JM
26212 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26213
a462cb63
RA
262142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26215
26216 [BZ #887]
26217 * math/libm-test.inc (logb_test_downward): New test to expose
26218 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26219 rounding mode.
26220
6ad3493e
JM
262212012-04-27 Joseph Myers <joseph@codesourcery.com>
26222
26223 [BZ #14027]
26224 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26225 to be done.
26226 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26227 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26228
2ce4f015
JM
262292012-04-26 Joseph Myers <joseph@codesourcery.com>
26230
5aeb141a
JM
26231 * sysdeps/unix/i386/brk.S: Remove file.
26232 * sysdeps/unix/i386/dl-brk.S: Likewise.
26233 * sysdeps/unix/i386/pipe.S: Likewise.
26234 * sysdeps/unix/i386/sigreturn.S: Likewise.
26235 * sysdeps/unix/i386/syscall.S: Likewise.
26236 * sysdeps/unix/i386/vfork.S: Likewise.
26237 * sysdeps/unix/i386/wait.S: Likewise.
26238
7143acae
JM
26239 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26240 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26241
2ce4f015
JM
26242 * configure.in (arm*-none*): Do not allow without
26243 --enable-hacker-mode.
26244 (netbsd*): Remove case setting base_os.
26245 (386bsd*): Likewise.
26246 (freebsd*): Likewise.
26247 (bsdi*): Likewise.
26248 (osf*): Likewise.
26249 (sunos*): Likewise.
26250 (ultrix*): Likewise.
26251 (newsos*): Likewise.
26252 (dynix*): Likewise.
26253 (*bsd*): Likewise.
26254 (sysv*): Likewise.
26255 (isc*): Likewise.
26256 (esix*): Likewise.
26257 (sco*): Likewise.
26258 (minix*): Likewise.
26259 (irix4*): Likewise.
26260 (irix6*): Likewise.
26261 (solaris[2-9]*): Likewise.
26262 (none): Likewise.
26263 * configure: Regenerated.
26264
0ac229c8
AZ
262652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26266
26267 [BZ #11521]
26268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26269 overflow or cancellation in calculating denominator.
26270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26272 down expression to avoid unexpected rounding in newer GCCs.
26273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26274
33f244f4
DM
262752012-04-26 David S. Miller <davem@davemloft.net>
26276
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26278 long-double compat symbols.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26292
cfa1f3e8
DM
262932012-04-25 David S. Miller <davem@davemloft.net>
26294
26295 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26296 HWCAP_* values only after the memory barriers have been defined.
26297 (atomic_full_barrier): Define.
26298 (atomic_read_barrier): Define.
26299 (atomic_write_barrier): Define.
26300
6e236b92
SP
263012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26302
26303 * shlib-versions: Add libgcc_s version information.
26304 * sysdeps/generic/libgcc_s.h: Remove.
26305 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26306 libgcc_s.h.
26307 * sysdeps/gnu/unwind-resume.c: Likewise.
26308 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26309
aab39a09
DM
263102012-04-25 David S. Miller <davem@davemloft.net>
26311
26312 * sysdeps/unix/sparc/brk.S: Delete.
26313 * sysdeps/unix/sparc/dl-brk.S: Delete.
26314 * sysdeps/unix/sparc/pipe.S: Delete.
26315 * sysdeps/unix/sparc/sysdep.S: Delete.
26316 * sysdeps/unix/sparc/sysdep.h: Delete.
26317 * sysdeps/unix/sparc/vfork.S: Delete.
26318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26319 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26321 ret_ERRVAL, r0, r1, MOVE): Define.
26322 (JUMPTARGET): Remove.
26323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26324 sysdeps/unix/sparc/sysdep.h
26325 (ENTRY, END): Remove.
26326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26327
a3cc4f48
JM
263282012-04-25 Joseph Myers <joseph@codesourcery.com>
26329
2ed8cda2
JM
26330 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26331 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26332 -DIS_IN_build.
26333
35d76d59
JM
26334 * timezone/README: Update upstream location and email address for
26335 tzcode and tzdata.
26336 * timezone/zdump.c: Update from tzcode 2012b.
26337 * timezone/zic.c: Likewise.
26338
a3cc4f48
JM
26339 * configure.in (libc_cv_as_needed): Remove test.
26340 * configure: Regenerated.
26341 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26342 conditional definition.
26343 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26344 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26345 * config.make.in (have-as-needed): Remove variable.
26346
ceab42c3
SP
263472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26348 Paul Pluzhnikov <ppluzhnikov@google.com>
26349
26350 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26351 strings correctly.
26352
3ce2865f
CLT
263532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26354
26355 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26356 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26357 * sysdeps/sh/strlen.S: Likewise.
26358
f37e0d68
JM
263592012-04-24 Joseph Myers <joseph@codesourcery.com>
26360
ae186e9a
JM
26361 * sysdeps/unix/fork.S: Remove file.
26362 * sysdeps/unix/i386/fork.S: Likewise.
26363 * sysdeps/unix/sparc/fork.S: Likewise.
26364
b96914af
JM
26365 * sysdeps/unix/system.c: Remove file.
26366 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26367
f37e0d68
JM
26368 * sysdeps/unix/getegid.S: Remove file.
26369 * sysdeps/unix/geteuid.S: Likewise.
26370
87ef29ca
RM
263712012-04-24 Roland McGrath <roland@hack.frob.com>
26372
83bcd236
RM
26373 * scripts/check-localplt.awk: New file.
26374 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26375 of diff.
26376 * scripts/data/localplt-generic.data: Add a comment.
26377
87ef29ca
RM
26378 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26379 NODE when __dir_mkfile failed.
26380 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26381 Reported by Ludovic Courtès <ludo@gnu.org>.
26382
e5a6e567
AJ
263832012-04-24 Andreas Jaeger <aj@suse.de>
26384
26385 * Makerules (common-clean): Also remove gen-as-const-headers
26386 files.
26387
c1820385
JM
263882012-04-24 Joseph Myers <joseph@codesourcery.com>
26389
26390 * Makerules (native-compile): Do not change working directory for
26391 build. Use $(OUTPUT_OPTION) in command.
26392 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26393
94e02fc4
AZ
263942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26395
26396 [BZ #13886]
26397 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26398 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26399 * math/libm-test.inc (floor_test): Add more tests.
26400 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26401
3a533ca3
JM
264022012-04-24 Joseph Myers <joseph@codesourcery.com>
26403
940ab4b3
JM
26404 * sysdeps/unix/getdents.c: Remove file.
26405 * sysdeps/unix/sysv/getdents.c: Likewise.
26406 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26407
90e037bd
JM
26408 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26409 sysdeps/unix/mman/syscalls.list.
26410 (mmap): Likewise.
26411 (mprotect): Likewise.
26412 (msync): Likewise.
26413 (munmap): Likewise.
26414 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26415 * sysdeps/unix/mman/syscalls.list: Remove.
26416 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26417
3a533ca3
JM
26418 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26419 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26420 * configure: Regenerated.
26421 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26422 $(libgcc_s_suffix).
26423 * config.make.in (libgcc_s_suffix): Remove variable.
26424
1ad743de
JM
264252012-04-23 Joseph Myers <joseph@codesourcery.com>
26426
4ad451e2
JM
26427 * sysdeps/unix/sysv/gethostname.c: Move to ...
26428 * sysdeps/posix/gethostname.c: ... here.
26429
5e37ce39
JM
26430 * sysdeps/unix/execve.S: Remove file.
26431
1ad743de
JM
26432 * sysdeps/unix/_exit.S: Remove file.
26433
4e681b5b
AJ
264342012-04-23 Andreas Jaeger <aj@suse.de>
26435
26436 [BZ #13739]
26437 * manual/Makefile: Remove make dist support, there's no
26438 need for a stand-alone documentation tar ball.
26439 (TEXI2DVI): Define always, it's not in Makeconfig.
26440 (dist): Removed.
26441 (tar-it): Removed.
26442 (edition): Removed.
26443 (glibc-doc-$(edition).tar): Removed
26444 (%.Z): Removed.
26445 (%.gz): Removed.
26446 (%.uu): Removed.
26447 (ETAGS): Remove, it's in Makeconfig.
26448 (move-if-change): Remove, it's in Makeconfig.
26449
38686a03 264502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26451
26452 [BZ #13970]
26453 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26454 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26455 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26456 (strtod_l, strtof_l, strtold_l): Remove __wur.
26457 It is not necessarily an error to ignore strtol's return value.
26458 One can reliably look at the stored endptr to decide whether
26459 the number had valid syntax.
26460
7c0616fa
AJ
264612012-04-21 Andreas Jaeger <aj@suse.de>
26462
803cb6b7 26463 [BZ #13739]
7c0616fa
AJ
26464 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26465
b0fe253f
JM
264662012-04-21 Joseph Myers <joseph@codesourcery.com>
26467
26468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26469 * sysdeps/unix/sysv/Versions: Remove file.
26470
8280f22d
MT
264712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26472
26473 [BZ #13927]
26474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26475
75ce411f 264762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26477
26478 [BZ #7064]
26479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26480 version from __vm86.
26481
097d59fa
JM
264822012-04-20 Joseph Myers <joseph@codesourcery.com>
26483
a90f3bcb
JM
26484 * sysdeps/unix/common/lxstat.c: Remove file.
26485 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26486
edc7ea78
JM
26487 * sysdeps/unix/sysv/Makefile: Remove file.
26488
cb78c221
JM
26489 * sysdeps/unix/sysv/direct.h: Remove file.
26490
efa6a45f
JM
26491 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26492 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26493 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26494 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26495 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26496 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26497 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26498
9c9f2d0c
JM
26499 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26500
4541c83b
JM
26501 * sysdeps/unix/xmknod.c: Remove file.
26502 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26503
f5d153a0
JM
26504 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26505
aa746595
JM
26506 * sysdeps/unix/sysv/i386/time.S: Remove file.
26507
cce5905e
JM
26508 * sysdeps/unix/fxstat.c: Remove file.
26509 * sysdeps/unix/xstat.c: Likewise.
26510 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26511
37fa3841
JM
26512 * sysdeps/unix/sysv/sigaction.c: Remove file.
26513
ff1962a3
JM
26514 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26515 (sysdep_headers): Remove variable.
26516 [termio.h not in sysdep_headers] (generated): Likewise.
26517 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26518 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26519 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26520 * sysdeps/unix/sysv/tcflow.c: Likewise.
26521 * sysdeps/unix/sysv/tcflush.c: Likewise.
26522 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26523 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26524 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26525 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26526 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26527
e7740d31
JM
26528 * sysdeps/unix/siglist.c: Remove file.
26529
ee06f18b
JM
26530 * sysdeps/unix/getppid.S: Remove file.
26531
097d59fa
JM
26532 * sysdeps/unix/mkdir.c: Remove file.
26533 * sysdeps/unix/rmdir.c: Likewise.
26534
ff3d51ec
AS
265352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26536
26537 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26538 ERR_MAX value.
26539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26540 errlist-compat value.
26541
50f81fd7
DM
265422012-04-18 David S. Miller <davem@davemloft.net>
26543
26544 * sysdeps/generic/memcopy.h (reg_char): Delete.
26545 * debug/strcat_chk.c: Use char, not reg_char.
26546 * debug/strcpy_chk.c: Likewise.
26547 * debug/strncat_chk.c: Likewise.
26548 * debug/strncpy_chk.c: Likewise.
26549 * string/memchr.c: Likewise.
26550 * string/memrchr.c: Likewise.
26551 * string/rawmemchr.c: Likewise.
26552 * string/strcat.c: Likewise.
26553 * string/strchr.c: Likewise.
26554 * string/strchrnul.c: Likewise.
26555 * string/strcmp.c: Likewise.
26556 * string/strcpy.c: Likewise.
26557 * string/strncat.c: Likewise.
26558 * string/strncmp.c: Likewise.
26559 * string/strncpy.c: Likewise.
26560
8ff41c46
WS
265612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26562
26563 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26564 __builtin_memcopy is called when src and dest ranges are known to not
26565 overlap.
26566
6b652f46
WS
265672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26568
26569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26570 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26571 fwd_align_merge macro call.
26572 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26573 bwd_align_merge macro call.
26574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26575
b282631e
WS
265762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26577
26578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26579 bwd_align_merge macros.
26580 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26581 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26583
95aa737c
DM
265842012-04-18 David S. Miller <davem@davemloft.net>
26585
26586 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26587
7a99a614
AJ
265882012-04-18 Andreas Jaeger <aj@suse.de>
26589
26590 [BZ# 6794]
26591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26594
26595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26596 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26598
26599 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26601 Adjust for changed ldbl-128 files.
26602
26603 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26604 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26606
e5270c23
DM
266072012-04-17 David S. Miller <davem@davemloft.net>
26608
26609 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26610
fb5e92c9
AS
266112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26612
26613 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26614 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26615 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26616 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26618 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26619
76da7265
AZ
266202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26621
26622 [BZ #6794]
26623 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26624 * math/libm-test.inc: Add ilogb errno and exception tests.
26625 * math/w_ilogb.c: New file: ilogb wrapper.
26626 * math/w_ilogbf.c: New file: ilogbf wrapper.
26627 * math/w_ilogbl.c: New file: ilogbl wrapper.
26628 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26629 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26630 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26631 exception being thrown with 0.0 as argument.
26632 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26633 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26634 exception being thrown with 0.0 as argument.
26635 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26636 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26637 exception being thrown with 0.0 as argument.
26638 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26639 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26640 exception being thrown with 0.0 as argument.
26641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26642 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26644 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26647 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26648 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26649 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26650
0396e69d
PB
266512012-04-17 Petr Baudis <pasky@ucw.cz>
26652
26653 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26654 with altivec.
26655
750b5926
MP
266562012-04-16 Marek Polacek <polacek@redhat.com>
26657
26658 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26659
751728a1
MP
266602012-04-16 Marek Polacek <polacek@redhat.com>
26661
26662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26663 operands of fdivp instruction.
26664
34a27407
L
266652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26666
26667 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26668 * elf/tst-auditmod3b.c: Likewise.
26669 * elf/tst-auditmod4b.c: Likewise.
26670 * elf/tst-auditmod5b.c: Likewise.
26671 * elf/tst-auditmod6b.c: Likewise.
26672 * elf/tst-auditmod6c.c: Likewise.
26673 * elf/tst-auditmod7b.c: Likewise.
26674 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26675 * sysdeps/x86_64/preconfigure.in: Likewise.
26676 * sysdeps/x86_64/preconfigure: Regenerated.
26677
7e73e17d
L
266782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26679
26680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26681 __ILP32__.
26682
c7a6ab72
AB
266832012-04-13 Antoine Balestrat <merkil33@gmail.com>
26684
26685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26686 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26687
a9e8e0e0
CL
266882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26689
26690 [BZ #13973]
26691 * locale/iso-639.def: Fix gl language name. Spotted by
26692 Yaron Shahrabani.
26693
ec98af7d
RM
266942012-04-12 Roland McGrath <roland@hack.frob.com>
26695
26696 [BZ #2074]
26697 * libio/libio.h (__io_write_fn): Update comment.
26698
247c3ede
PB
266992012-04-12 Petr Baudis <pasky@ucw.cz>
26700
26701 [BZ #2074]
26702 * stdio.texi (Hook Functions): The user provided writer function
26703 is not allowed to return -1.
26704
55939d6d
DM
267052012-04-11 David S. Miller <davem@davemloft.net>
26706
26707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26708
90020f5a
MF
267092012-04-11 Mike Frysinger <vapier@gentoo.org>
26710
26711 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26712 Add a leading slash to rtkaio.
26713
288f9098
JM
267142012-04-11 Jim Meyering <meyering@redhat.com>
26715
90020f5a
MF
26716 [BZ #11959]
26717 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26718 It is not necessarily an error to ignore fwrite's return
26719 value. One can reliably use ferror to test for errors after
26720 the fact.
288f9098 26721
4be2b570
L
267222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26723
26724 * bits/types.h (__snseconds_t): New type.
26725 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26726
26727 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26729 (__SNSECONDS_T_TYPE): Likewise.
26730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26731 (__SNSECONDS_T_TYPE): Likewise.
26732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26733 (__SNSECONDS_T_TYPE): Likewise.
26734
288f9098 267352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26736
26737 [BZ #2636]
26738 * manual/time.texi (Processor Time): Return type of times is
26739 elapsed real time since an arbitrary point in the past.
26740 (CPU Time): Move CLK_TCK from here...
26741 (Processor Time): ...to here. Correct description.
26742 * manual/conf.texi (Constants for Sysconf): Correct description of
26743 _SC_CLK_TCK.
26744
d7dd4413
DM
267452012-04-10 David S. Miller <davem@davemloft.net>
26746
26747 [BZ #13967]
26748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26749 where the is a gap between DT_REL(A) and DT_JMPREL.
26750
b46068fc
L
267512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26752
26753 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26756
73d65cc3
SP
267572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26758
26759 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26760 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26761 (dl_main): Handle --inhibit-cache.
26762 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26763 _dl_inhibit_cache.
26764 * elf/dl-load.c (_dl_map_object): Use it.
26765 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26766
bcc8d661
JM
267672012-04-09 Joseph Myers <joseph@codesourcery.com>
26768
8f9a2fae
JM
26769 [BZ #13872]
26770 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26771 (__ieee754_powl): Saturate large exponents rather than testing for
26772 overflow of y*log2(x).
26773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26774 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26775 exceptions.
26776
bcc8d661
JM
26777 [BZ #11521]
26778 * math/s_ctan.c: Include <float.h>.
26779 (__ctan): Avoid internal overflow or cancellation in calculating
26780 denominator.
26781 * math/s_ctanf.c: Likewise.
26782 * math/s_ctanl.c: Likewise.
26783 * math/s_ctanh.c: Likewise.
26784 * math/s_ctanhf.c: Likewise.
26785 * math/s_ctanhl.c: Likewise.
26786 * math/libm-test.inc (ctan_test): Add more tests.
26787 (ctanh_test): Likewise.
26788 * sysdeps/i386/fpu/libm-test-ulps: Update.
26789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26790
823fbbb4
AJ
267912012-04-09 Andreas Jaeger <aj@suse.de>
26792
03879793
AJ
26793 [BZ #6894]
26794 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26795 is an optional BSD extension.
26796
823fbbb4
AJ
26797 [BZ #10254]
26798 * manual/stdio.texi (Opening Streams): Document additional fopen
26799 parameters.
26800
8de131cb
RM
268012012-04-09 Roland McGrath <roland@hack.frob.com>
26802
26803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26804 %eax without telling the compiler.
26805
c0ed9d7d
CD
268062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26807
26808 [BZ # 13963]
26809 * manual/install.texi: Use sourceware.org.
26810
c483f6b4
JM
268112012-04-09 Joseph Myers <joseph@codesourcery.com>
26812
d7dd9453
JM
26813 [BZ #13873]
26814 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26815 (__ieee754_pow): Generate overflow and underflow using huge*huge
26816 and tiny*tiny rather than just returning constant infinity or zero
26817 for large exponents.
26818 * math/libm-test.inc (pow_test): Require overflow exceptions for
26819 applicable cases of large exponents.
26820
c483f6b4
JM
26821 [BZ #706]
26822 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26823 (__ieee754_pow): Use iterative multiplication algorithm only for
26824 integer exponents with absolute value below 1024. Check for odd
26825 integer exponents when using algorithm for real exponents.
26826 * math/libm-test.inc (pow_test): Add more tests.
26827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26828
d2de7579
JM
268292012-04-08 Joseph Myers <joseph@codesourcery.com>
26830
26831 [BZ #13705]
26832 * math/libm-test.inc (exp_test): Do not allow overflow exception
26833 on underflow test.
26834
f77f1232
AJ
268352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26836
26837 [BZ #13705]
26838 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26839 instead of __kernel_standard_f.
26840
3884932b
MF
268412012-04-08 Mike Frysinger <vapier@gentoo.org>
26842
26843 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26844 * sysdeps/x86_64/memset_chk.S: Likewise.
26845
54472e9c
AJ
268462012-04-08 Andreas Jaeger <aj@suse.de>
26847
6ab0fbfc
AJ
26848 [BZ #10153]
26849 * manual/startup.texi (Environment Access): Describe return value
26850 for putenv and setenv.
26851
61efba8c
AJ
26852 [BZ #6895]
26853 * manual/filesys.texi (Directory Entries): Add description for
26854 DT_LNK.
26855
95c3f29a
AJ
26856 [BZ #6890]
26857 * manual/filesys.texi (Directory Entries): Clarify that it's file
26858 system not operating system in the description of DT_UNKNOWN.
26859
54472e9c
AJ
26860 [BZ #6578]
26861 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26862
624254b1
SC
268632012-04-08 Stephen Compall <s11@member.fsf.org>
26864
26865 [BZ #6649]
26866 * manual/llio.texi (Opening and Closing Files): Add cross
26867 reference to explain mode argument.
26868
1e4920e0
MF
268692012-04-07 Mike Frysinger <vapier@gentoo.org>
26870
26871 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26872 * sysdeps/x86_64/memset_chk.S: Likewise.
26873
5ed848f3
DM
268742012-04-07 David S. Miller <davem@davemloft.net>
26875
26876 * elf/elf.h (R_SPARC_WDISP10): Define.
26877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26878 R_SPARC_SIZE32.
26879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26880 R_SPARC_SIZE64 and R_SPARC_H34.
26881
96154cd8
CD
268822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26883
26884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26885 conditions and remove no longer applicable assertion.
26886
9904dc47
L
268872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26888
26889 * bits/byteswap.h: Include <features.h>.
26890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26892
f8887d0a
L
268932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 * bits/byteswap.h (__bswap_16): Removed.
26896 Include <bits/byteswap-16.h> to get __bswap_16.
26897 * sysdeps/i386/bits/byteswap.h: Likewise.
26898 * sysdeps/s390/bits/byteswap.h: Likewise.
26899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26900 * bits/byteswap-16.h: New file.
26901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26902 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26903 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26904 * string/Makefile (headers): Add bits/byteswap-16.h.
26905
62470f60
PP
269062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26907
26908 [BZ #13895]
26909 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26910 extra indirection.
26911 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26912 * nss/tst-nss-static.c: New.
26913
4dad7bab
RM
269142012-04-06 Robert Millan <rmh@gnu.org>
26915
26916 [BZ #6486]
26917 * manual/llio.texi (File Position Primitive): lseek
26918 refers to WHENCE when it really means OFFSET.
26919
e9142a17
AJ
269202012-04-06 Andreas Jaeger <aj@suse.de>
26921
2c040eff
AJ
26922 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26923 strncmp declarations.
26924
e9142a17
AJ
26925 * abilist/libc.abilist: Add __poll and __ppoll.
26926
ff9f1c5f
DM
269272012-04-05 David S. Miller <davem@davemloft.net>
26928
dcd2ae90
DM
26929 * scripts/check-local-headers.sh: Accept a host triplet in the
26930 path matched by the exclude regexp.
26931
993eb054
DM
26932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26933 definition.
26934 * sysdeps/powerpc/powerpc32/dl-machine.h
26935 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26936 * sysdeps/s390/s390-32/dl-machine.h
26937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26938 * sysdeps/sparc/sparc32/dl-machine.h
26939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26940 * sysdeps/sparc/sparc64/dl-machine.h
26941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26942
ff9f1c5f
DM
26943 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26944 lazy binding.
48e2e132 26945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26946 undefined symbol errors.
26947
48e2e132 26948 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26949 DT_NEEDED entries.
26950
e80d6f94
MM
269512012-04-05 Michael Matz <matz@suse.de>
26952
26953 [BZ #13592]
26954 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26955
349fa79f
AJ
269562012-04-05 Andreas Jaeger <aj@suse.de>
26957
26958 [BZ #13908]
26959 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26960 comment.
26961
f402708f
KK
269622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26963
26964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26965 which ROUND is no valid rounding mode.
26966
2ecccfc9
KK
269672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26968
26969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26970 read again.
26971 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26972
8a53f50f
KK
269732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26974
26975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26976 an exception using FPU order intentionally.
26977
269782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26979
26980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26981 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26982 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26983 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26984
d653abb7
SJ
269852012-04-05 Simon Josefsson <simon@josefsson.org>
26986
26987 [BZ #12340]
26988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26989 EINVAL when BUFLEN is too smal.
26990
c3b1bf7d
TS
269912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26992
26993 [BZ #13553]
26994 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26995 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26996
b1aa60f3
AJ
269972012-04-03 Andreas Jaeger <aj@suse.de>
26998
c3b1bf7d 26999 [BZ #13938]
67f60a26
AJ
27000 * manual/setjmp.texi (System V contexts): Fix sentence.
27001
b1aa60f3
AJ
27002 [BZ #13926]
27003 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27004 New macro for this case.
27005 [!__GNUC__] (__bswap_64): New inline function for this case.
27006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27007 * bits/byteswap.h: Likewise.
27008 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27009 ull, guard with __GLIBC_HAVE_LONG_LONG.
27010
27011 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27012 __GLIBC_HAVE_LONG_LONG.
27013
27014 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27015 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27016
39c59c35
TMQMF
270172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27018
27019 [BZ #13691]
27020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27021 inptr and inend, rather than using last_ch.
27022
135ffda8
DM
270232012-04-02 David S. Miller <davem@davemloft.net>
27024
27025 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27026 * stdio-common/printf-parse.h (read_int): Change return type to
27027 'int', return -1 on INT_MAX overflow.
27028 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27029 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27030 overflows INT_MAX. Check for overflow of in-format-string precision
27031 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27032 SIZE_MAX not INT_MAX for integer overflow test.
27033 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27034 skip the construct in the format string but do not record anything.
27035 * stdio-common/bug22.c: Adjust to test both width/prevision
27036 INT_MAX overflow as well as total length INT_MAX overflow. Check
27037 explicitly for proper errno values.
27038
228c019e
TS
270392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27040
302cadd3
TS
27041 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27042 CHAR_MAX.
27043 * string/test-strcmp.c [! WIDE]: Likewise.
27044 * time/tst-mktime2.c: Likewise for INT_MAX.
27045 * string/test-string.h: #include <sys/param.h> for MIN.
27046
228c019e
TS
27047 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27048 * sysdeps/i386/init-first.c (init): Likewise.
27049 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27050 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27051 * sysdeps/sh/init-first.c (init): Likewise.
27052
cfa633f5
UD
270532012-04-01 Ulrich Drepper <drepper@gmail.com>
27054
27055 * po/ru.po: Update from translation team.
d1635ef8 27056 * po/vi.po: Likewise.
cfa633f5 27057
6cd0a5ea
SP
270582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27059
27060 * resolv/nss_dns/dns-host.c: Merge copyright years.
27061
4b43400f
LD
270622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27063
27064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27065 Optimize memcpy with prefetch if
27066 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27067 src, dst pointers have unequal 16 byte alignments.
27068
48c41d04
SP
270692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27070
27071 [BZ #13928]
27072 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27073 from a CNAME entry and return the minimum ttl for the query.
27074 (gaih_getanswer_slice): Likewise.
27075
b8dc394d
JL
270762012-03-30 Jeff Law <law@redhat.com>
27077
27078 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27079 due to long keys.
27080 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27081 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27082
2f5a5ed0
JL
27083 * resolv/nss_dns/dns-host.c: Update copyright year.
27084
1d39e359
UD
270852012-03-30 Ulrich Drepper <drepper@gmail.com>
27086
c030f70c 27087 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27088 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27089
1d39e359
UD
27090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27091 comments for sendmmsg.
27092
270932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27094
27095 [BZ #13691]
27096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27097 with only 1 character between 0x0041 and 0x01b0.
27098 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27099 * wcsmbs/tst-mbsnrtowcs.c: New file.
27100
20fde227
DM
271012012-03-29 David S. Miller <davem@davemloft.net>
27102
27103 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27104 small copies by hand.
27105
984a4237
JL
271062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27107
27108 [BZ #13761]
27109 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27110 _nss_compat_initgroups_dyn): Fall back to malloc/free
27111 for large group memberships.
27112
18c9d62b
DM
271132012-03-28 David S. Miller <davem@davemloft.net>
27114
88d85d4f
DM
27115 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27116 that branches into memcpy.
27117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27122 bits.
27123 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27124 implementation too.
27125 * sysdeps/sparc/mempcpy.S: New file.
27126
e5aa83e1
DM
27127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27128 the IFUNC routine in the libc case.
27129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27130
88570753
DM
27131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27133 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27134 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27135 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27136 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27137 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27138 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27139
249d7567
DM
27140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27141 loop to 256 bytes instead of 64 bytes and fix test signedness.
27142
18c9d62b
DM
27143 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27144 * sysdeps/sparc/sparc32/Makefile: rather than here...
27145 * sysdeps/sparc/sparc64/Makefile: and here.
27146
05f3d1f6
UD
271472012-03-28 Ulrich Drepper <drepper@gmail.com>
27148
27149 * malloc/mallocbug.c: Avoid warnings about unused variables.
27150
86ae07a8
JL
271512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27152
27153 [BZ #13760]
27154 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27155 in the right place. Discard and retry query if response is
27156 larger than input buffer size.
27157
41bf21a1
JM
271582012-03-28 Joseph Myers <joseph@codesourcery.com>
27159
d6270972
JM
27160 [BZ #369]
27161 [BZ #2678]
27162 [BZ #3866]
27163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27164 x for large integer exponent.
27165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27166 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27167 sign of result as needed afterwards.
27168 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27170 result for underflowing pow the same as for overflow.
27171 (__kernel_standard_l): Handle powl overflow and underflow here
27172 rather than calling __kernel_standard.
27173 * math/libm-test.inc (pow_test): Add more tests.
27174
414fca03 27175 [BZ #3868]
41bf21a1
JM
27176 [BZ #13879]
27177 [BZ #13910]
27178 [BZ #13911]
27179 [BZ #13912]
27180 [BZ #13913]
27181 [BZ #13915]
27182 [BZ #13916]
27183 [BZ #13917]
27184 [BZ #13918]
27185 [BZ #13919]
27186 [BZ #13920]
27187 [BZ #13921]
27188 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27189 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27190 (__kernel_standard_l): New function.
27191 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27192 __kernel_standard.
27193 * math/w_acosl.c (__acosl): Likewise.
27194 * math/w_asinl.c (__asinl): Likewise.
27195 * math/w_atan2l.c (__atan2l): Likewise.
27196 * math/w_atanhl.c (__atanhl): Likewise.
27197 * math/w_coshl.c (__coshl): Likewise.
27198 * math/w_exp10l.c (__exp10l): Likewise.
27199 * math/w_exp2l.c (__exp2l): Likewise.
27200 * math/w_fmodl.c (__fmodl): Likewise.
27201 * math/w_hypotl.c (__hypotl): Likewise.
27202 * math/w_j0l.c (__j0l, __y0l): Likewise.
27203 * math/w_j1l.c (__j1l, __y1l): Likewise.
27204 * math/w_jnl.c (__jnl, __ynl): Likewise.
27205 * math/w_lgammal.c (__lgammal): Likewise.
27206 * math/w_log10l.c (__log10l): Likewise.
27207 * math/w_log2l.c (__log2l): Likewise.
27208 * math/w_logl.c (__logl): Likewise.
27209 * math/w_powl.c (__powl): Likewise.
27210 * math/w_remainderl.c (__remainderl): Likewise.
27211 * math/w_scalbl.c (sysv_scalbl): Likewise.
27212 * math/w_sinhl.c (__sinhl): Likewise.
27213 * math/w_sqrtl.c (__sqrtl): Likewise.
27214 * math/w_tgammal.c (__tgammal): Likewise.
27215 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27216 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27217 * math/libm-test.inc (acos_test): Add more tests.
27218 (acosh_test): Likewise.
27219 (asin_test): Likewise.
27220 (atanh_test): Likewise.
27221 (exp_test): Likewise.
27222 (exp10_test): Likewise.
27223 (exp2_test): Likewise.
27224 (expm1_test): Likewise.
27225 (lgamma_test): Likewise.
27226 (log_test): Likewise.
27227 (log10_test): Likewise.
27228 (log1p_test): Likewise.
27229 (log2_test): Likewise.
27230 (pow_test): Do not allow some spurious overflow exceptions.
27231 (sqrt_test): Add more tests.
27232 (tgamma_test): Likewise.
27233 (y0_test): Likewise.
27234 (y1_test): Likewise.
27235 (yn_test): Likewise.
27236
dd62fda6
AB
272372012-03-27 Anton Blanchard <anton@samba.org>
27238
27239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27240 MAP_HUGETLB.
27241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27244
1e3cdfda
AJ
272452012-03-27 David S. Miller <davem@davemloft.net>
27246
b855ab85
DM
27247 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27248
1e3cdfda
AJ
27249 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27250 have-as-vis3 check.
27251
272522012-03-27 Andreas Jaeger <aj@suse.de>
27253
27254 * sysdeps/x86_64/elf/configure.in: Moved to ...
27255 * sysdeps/x86_64/configure.in: ... here.
27256 * sysdeps/x86_64/elf/start.S: Moved to ...
27257 * sysdeps/x86_64/start.S: ... here.
27258 * sysdeps/x86_64/elf/configure: Delete.
27259
27260 * sysdeps/x86_64/configure.in: Merge contents from
27261 sysdeps/i386/configure.in (without i686 check).
27262
27263 * sysdeps/i386/elf/Versions: Merge into ...
27264 * sysdeps/i386/Versions: ... this.
27265 * sysdeps/i386/elf/Versions: Delete file.
27266 * sysdeps/i386/elf/start.S: Moved to ...
27267 * sysdeps/i386/start.S: ...here.
27268 * sysdeps/i386/elf/configure.in: Merge into...
27269 * sysdeps/i386/configure.in: ...here.
27270 * sysdeps/i386/elf/configure.in: Delete file.
27271 * sysdeps/i386/elf/configure: Delete file.
27272
27273 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27274 * debug/backtracesyms.c: ... here.
27275 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27276 * debug/backtracesymsfd.c: ... here.
27277 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27278 * sysdeps/generic/ifunc-sel.h: ... here.
27279
27280 * sysdeps/unix/i386/start.c: Delete file.
27281 * sysdeps/unix/sparc/start.c: Delete file.
27282 * sysdeps/unix/start.c: Delete file.
27283
27284 * sysdeps/sh/elf/configure.in: Moved to ...
27285 * sysdeps/sh/configure.in: ... here.
27286 * sysdeps/sh/elf/start.S: Moved to ...
27287 * sysdeps/sh/start.S: ... here.
27288 * sysdeps/sh/elf/configure: Delete file.
27289
27290 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27291 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27292 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27293 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27294 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27295 * sysdeps/powerpc/powerpc64/start.S: here.
27296 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27297 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27298 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27299 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27300 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27301
27302 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27303 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27304 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27305 * sysdeps/powerpc/powerpc32/start.S: ... here.
27306 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27307 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27308 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27309
27310 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27311 * sysdeps/powerpc/ifunc-sel.h: ... here.
27312 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27313 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27314
27315 * sysdeps/sparc/elf/configure.in: Moved to ...
27316 * sysdeps/sparc/configure.in: ... here.
27317 * sysdeps/sparc/elf/configure: Delete file.
27318 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27319 * sysdeps/sparc/sparc32/start.S: ... here.
27320 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27321 * sysdeps/sparc/sparc64/start.S: ... here.
27322 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27323 * sysdeps/sparc/sparc32/Makefile: ... this.
27324 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27325 * sysdeps/sparc/sparc64/Makefile: ... this.
27326
27327 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27328 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27329 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27330 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27331 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27332 * sysdeps/s390/s390-32/setjmp.S: ... here.
27333 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27334 * sysdeps/s390/s390-32/configure.in: ... here.
27335 * sysdeps/s390/s390-32/elf/configure: Delete file.
27336 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27337 * sysdeps/s390/s390-32/start.S: ... here.
27338
27339 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27340 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27341 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27342 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27343 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27344 * sysdeps/s390/s390-64/setjmp.S: ... here.
27345 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27346 * sysdeps/s390/s390-64/configure.in: ... here
27347 * sysdeps/s390/s390-64/elf/configure: Delete file.
27348 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27349 * sysdeps/s390/s390-64/start.S: ... here.
27350 * sysdeps/s390/s390-64/elf/configure: Delete.
27351
27352 * configure.in: Remove support for elf directories in sysdeps.
27353
27354 * configure: Regenerated.
27355 * sysdeps/i386/configure: Regenerated.
27356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27358 * sysdeps/s390/s390-32/configure: Regenerated.
27359 * sysdeps/s390/s390-64/configure: Regenerated.
27360 * sysdeps/sh/configure: Regenerated.
27361 * sysdeps/sparc/configure: Regenerated.
27362 * sysdeps/x86_64/configure: Regenerated.
27363
a3f61311
AS
273642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27365
c876e002
AS
27366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27367
a3f61311
AS
27368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27369 denormal result into account.
27370
ac4c54f0
RM
273712012-03-25 Roland McGrath <roland@hack.frob.com>
27372
27373 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27374 Reported by Allan McRae <allan@archlinux.org>.
27375
6a9b9c02
JL
273762012-03-23 Jeff Law <law@redhat.com>
27377
27378 * nss/getnssent.c (__nss_getent): Fix typo.
27379
4c42a0c1
DM
273802012-03-23 David S. Miller <davem@davemloft.net>
27381
27382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27383
1532c7ac
L
273842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27385
27386 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27387 to pad to uint64_t for each field.
27388 (dl_tls_index): Replace unsigned long with uint64_t.
27389
3ff42526
PP
273902012-03-23 Daniel Jacobowitz <dmj@google.com>
27391 Paul Pluzhnikov <ppluzhnikov@google.com>
27392
27393 [BZ #6528]
27394 * grp/Makefile (otherlibs): Don't set it.
27395 * inet/Makefile (otherlibs): Likewise.
27396 * login/Makefile (otherlibs): Likewise.
27397 * nscd/Makefile (otherlibs): Likewise.
27398 * posix/Makefile (otherlibs): Likewise.
27399 * pwd/Makefile (otherlibs): Likewise.
27400 * rt/Makefile (otherlibs): Likewise.
27401 * sunrpc/Makefile (otherlibs): Likewise.
27402 * nss/Makefile (otherlibs): Likewise.
27403 Add libnss_files to routines and static-only-routines.
27404 ($(objpfx)getent): Remove rule.
27405 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27406 static-only-routines.
27407
7c69cd14
JM
274082012-03-22 Joseph Myers <joseph@codesourcery.com>
27409
27410 [BZ #13892]
27411 * math/s_cexp.c: Include <float.h>.
27412 (__cexp): Handle exp result overflowing not necessarily
27413 overflowing both real and imaginary parts of result.
27414 * math/s_cexpf.c: Likewise.
27415 * math/s_cexpl.c: Likewise.
27416 * math/libm-test.inc (cexp_test): Add more tests.
27417 * sysdeps/i386/fpu/libm-test-ulps: Update.
27418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27419
81b035fe
L
274202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27421
27422 * include/link.h (ELFW): New macro.
27423 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27424 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27425
1da7940c
L
274262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27429 with uint64_t.
27430
b749dbb9
L
274312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27432
27433 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27434 declaration.
27435 (struct La_x32_retval): Likewise.
27436
2ff87f3f
L
274372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27438
27439 * sysdeps/x86_64/preconfigure.in: New file.
27440 * sysdeps/x86_64/preconfigure: New generated file.
27441
c0df8e69
JM
274422012-03-22 Joseph Myers <joseph@codesourcery.com>
27443
48e44791
JM
27444 [BZ #13824]
27445 * math/e_exp2l.c: Include <float.h>.
27446 (__ieee754_exp2l): Handle overflow and underflow cases
27447 separately. Only pass fractional part of argument to
27448 __ieee754_expl.
27449 * math/libm-test.inc (exp2_test): Add more tests.
27450
c0df8e69
JM
27451 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27452 negating x to take absolute value.
27453 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27454 Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27457 Likewise.
27458 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27459 computing low part if x was negated.
27460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27461
c8e43ba7
L
274622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27463
27464 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27465 la_x32_gnu_pltexit.
27466 (pltexit): Cast int_retval to ptrdiff_t.
27467 * elf/tst-auditmod3b.c: Likewise.
27468 * elf/tst-auditmod4b.c: Likewise.
27469 * elf/tst-auditmod5b.c: Likewise.
27470 * elf/tst-auditmod6b.c: Likewise.
27471 * elf/tst-auditmod6c.c: Likewise.
27472 * elf/tst-auditmod7b.c: Likewise.
27473
27474 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27475 and x32_gnu_pltexit.
27476
27477 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27478 __ELF_NATIVE_CLASS.
27479 (La_x32_regs): New macro.
27480 (La_x32_retval): Likewise.
27481 (la_x32_gnu_pltenter): New function prototype.
27482 (la_x32_gnu_pltexit): Likewise.
27483
7998fa78
AS
274842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27485
dcb33988
AS
27486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27487 exponent.
27488
233fc563
AS
27489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27490
7998fa78
AS
27491 * configure.in (libc_cv_cc_nofma): Check for option to disable
27492 generation of FMA instructions.
27493 * configure: Regenerate.
27494 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27495 * sysdeps/ieee754/dbl-64/Makefile: New file.
27496 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27497 Remove brandred-fma4.
27498 (CFLAGS-brandred-fma4.c): Remove.
27499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27501 define.
27502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27503 define.
27504
8e95c99a
L
275052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27506
27507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27508 LLONG_MAX != LONG_MAX.
27509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27510 (_fitoa_word): Likewise.
27511 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27512 LLONG_MAX != LONG_MAX.
27513 * stdio-common/_itowa.h: Include <_itoa.h>.
27514 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27515 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27516 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27517 only if not defined.
27518 (_ITOA_WORD_TYPE): Likewise.
27519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27520 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27521
6f4db457
DM
275222012-03-21 David S. Miller <davem@davemloft.net>
27523
27524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27525
7785fe5a
L
275262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27527
27528 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27529 of x86_64 when setting libc_cv_slibdir, libdir and
27530 libc_cv_localedir.
27531 * sysdeps/unix/sysv/linux/configure: Regenerated.
27532
4535cd55
JM
275332012-03-21 Joseph Myers <joseph@codesourcery.com>
27534
27535 * manual/lang.texi (Old Varargs): Remove section.
27536 (How Variadic): Update menu.
27537 (va_start): Do not mention varargs.h.
27538
17228132
TS
275392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27540 Joseph Myers <joseph@codesourcery.com>
27541
27542 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27543 link test.
27544 * configure: Regenerated.
27545
8149f976
TS
275462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27547
05f3d1f6
UD
27548 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27549 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27550 conformtest.pl
8149f976 27551
1a4ac776
JM
275522012-03-21 Joseph Myers <joseph@codesourcery.com>
27553
be22ce65
JM
27554 * NOTES: Remove.
27555 * Makefile (files-for-dist): Remove NOTES.
27556 (NOTES): Remove rule.
27557 * README: Don't refer to NOTES.
27558 * manual/creature.texi: Don't include macros.texi.
27559 * manual/intro.texi (creature.texi): Remove comment referring to
27560 NOTES.
27561
40b601fb
JM
27562 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27563 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27564 * configure: Regenerated.
27565 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27566 LIBC_TRY_CC_OPTION.
27567 (libc_cv_as_i686): Likewise.
27568 (libc_cv_cc_avx): Likewise.
27569 (libc_cv_cc_sse2avx): Likewise.
27570 (libc_cv_cc_fma4): Likewise.
27571 (libc_cv_cc_novzeroupper): Likewise.
27572 * sysdeps/i386/configure: Regenerated.
27573
1a4ac776
JM
27574 [BZ #13883]
27575 * sysdeps/i386/fpu/s_cexp.S: Remove.
27576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27578 * math/libm-test.inc (cexp_test): Add more tests.
27579 * sysdeps/i386/fpu/libm-test-ulps: Update.
27580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27581
a458e7fe
AM
275822012-03-21 Allan McRae <allan@archlinux.org>
27583
27584 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27585
0cb7efc5
JM
275862012-03-21 Joseph Myers <joseph@codesourcery.com>
27587
27588 [BZ #13871]
27589 * math/w_exp2.c: Do not include <float.h>.
27590 (o_threshold, u_threshold): Remove.
27591 (__exp2): Calculate result before checking finiteness and calling
27592 __kernel_standard.
27593 * math/w_exp2f.c: Likewise.
27594 * math/w_exp2l.c: Likewise.
27595 * math/libm-test.inc (exp2_test): Require overflow exception for
27596 1e6 input.
2460d3aa
JM
27597
27598 [BZ #3866]
27599 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27600 range of signed 64-bit integers before using fistpll. Remove
27601 checks for whether integers fit in mantissa bits.
27602 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27603 the range of signed 32-bit integers before using fistpl. Remove
27604 checks for whether integers fit in mantissa bits.
27605 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27606 (__ieee754_powl): Test for y outside the range of signed 64-bit
27607 integers before using fistpll. Reduce 64-bit values to 63-bit
27608 ones as needed.
27609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27610 divide-by-zero is raised for zero to large negative powers.
27611 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27612 (__ieee754_powl): Test for y outside the range of signed 64-bit
27613 integers before using fistpll. Reduce 64-bit values to 63-bit
27614 ones as needed.
27615 * math/libm-test.inc (pow_test): Add more tests.
27616
eb96ffb0
L
276172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27620 <stdio-common/_itoa.h>.
27621 * debug/segfault.c: Likewise.
27622 * elf/dl-cache.c: Likewise.
27623 * elf/dl-minimal.c: Likewise.
27624 * elf/dl-misc.c: Likewise.
27625 * elf/dl-sysdep.c: Likewise.
27626 * elf/dl-version.c: Likewise.
27627 * elf/rtld.c: Likewise.
27628 * hurd/hurdsock.c: Likewise.
27629 * hurd/lookup-retry.c: Likewise.
27630 * malloc/malloc.c: Likewise.
27631 * malloc/mtrace.c: Likewise.
27632 * nscd/nscd_getgr_r.c: Likewise.
27633 * nscd/nscd_getpw_r.c: Likewise.
27634 * nscd/nscd_getserv_r.c: Likewise.
27635 * posix/getopt_init.c: Likewise.
27636 * posix/wordexp.c: Likewise.
27637 * stdio-common/_itoa.c: Likewise.
27638 * stdio-common/printf_fphex.c: Likewise.
27639 * stdio-common/vfprintf.c: Likewise.
27640 * string/_strerror.c: Likewise.
27641 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27642 * sysdeps/i386/i686/hp-timing.h: Likewise.
27643 * sysdeps/mach/_strerror.c: Likewise.
27644 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27645 * sysdeps/mach/hurd/sethostid.c: Likewise.
27646 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27647 * sysdeps/mach/xpg-strerror.c: Likewise.
27648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27649 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27650 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27651 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27653 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27655 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27656 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27657 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27658 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27659 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27660 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27662 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27663 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27664 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27665 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27668 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27669
27670 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27671
27672 * stdio-common/_itoa.h: Moved to ...
27673 * sysdeps/generic/_itoa.h: Here.
27674
27675 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27676
27677 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27678 instead of "_itoa.h" and "_itowa.h".
27679 * stdio-common/vfprintf.: Likewise.
27680
d1af992d
L
276812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27682
27683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27684 <bits/wordsize.h>.
27685 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27686 (__signbit): Likwise.
27687 (llrintf): Likwise.
27688 (llrint): Likwise.
27689
114883e0
L
276902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27691
27692 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27693 __WORDSIZE != 64.
27694
c135cc1b
JM
276952012-03-20 Joseph Myers <joseph@codesourcery.com>
27696
27697 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27698 OVERFLOW_EXCEPTION_OK.
27699 * math/libm-test.inc ("Philosophy"): Update comment about
27700 exception testing.
27701 (OVERFLOW_EXCEPTION): Define.
27702 (OVERFLOW_EXCEPTION_OK): Likewise.
27703 (INVALID_EXCEPTION_OK): Renumber.
27704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27705 (IGNORE_ZERO_INF_SIGN): Likewise.
27706 (test_exceptions): Handle FE_OVERFLOW.
27707 (exp10_test): Expect overflow exceptions.
27708 (exp2_test): Likewise.
27709 (expm1_test): Likewise.
27710 (nextafter_test): Likewise.
27711 (pow_test): Likewise.
27712 (scalbn_test): Likewise.
27713 (scalbln_test): Likewise.
27714
95443d88
L
277152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27716
27717 * sysdeps/x86_64/bits/atomic.h
27718 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27719 64bit integer.
27720 (atomic_exchange_acq): Likewise.
27721 (__arch_exchange_and_add_body): Likewise.
27722 (__arch_add_body): Likewise.
27723 (atomic_add_negative): Likewise.
27724 (atomic_add_zero): Likewise.
27725
490df6c4
L
277262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27727
c2722551 27728 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27729 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27730
5e52b189
L
277312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27732
27733 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27734 Check __x86_64__ instead of __WORDSIZE.
27735
a9879d4c
L
277362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27739
5df98260
DM
277402012-03-19 David S. Miller <davem@davemloft.net>
27741
e1497744
DM
27742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27743
5df98260
DM
27744 * sysdeps/sparc/fpu/fenv_private.h: New file.
27745 * sysdeps/sparc/fpu/math_private.h: Use it.
27746 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27747 Remove.
27748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27749 (libc_feholdexcept_setroundl): Remove.
27750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27751 Remove.
27752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27754
b4c35121
L
277552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27756
27757 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27758 int64_t instead of long int.
27759 (INSERT_WORDS64): Likwise.
27760
56965fd7
L
277612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27762
27763 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27764 _Unwind_GetCFA return to _Unwind_Ptr first.
27765
83d1aec8
JM
277662012-03-19 Joseph Myers <joseph@codesourcery.com>
27767
1897ad44
JM
27768 [BZ #13629]
27769 * math/s_clog.c: Include <float.h>.
27770 (__clog): Scale large or subnormal inputs.
27771 * math/s_clogf.c: Likewise.
27772 * math/s_clogl.c: Likewise.
27773 * math/s_clog10.c: Include <float.h>.
27774 (M_LOG10_2): Define.
27775 (__clog10): Scale large or subnormal inputs.
27776 * math/s_clog10f.c: Likewise.
27777 * math/s_clog10l.c: Likewise.
27778 * math/libm-test.inc (clog_test): Add more tests.
27779 (clog10_test): Likewise.
27780 * sysdeps/i386/fpu/libm-test-ulps: Update.
27781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27782
7726d6a9
JM
27783 [BZ #11451]
27784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27785 x and y.
27786 * math/libm-test.inc (atan2_test): Add another test.
27787
83d1aec8
JM
27788 * Makerules (common-objdir-compile): Remove.
27789 * sysdeps/unix/Makefile (config-generated): Do not add
27790 $(unix-generated) to variable.
27791 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27792 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27793 Remove rule.
27794 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27795 Likewise.
27796 [generic bits/local_lim.h] (before-compile): Do not append to
27797 variable.
27798 [generic bits/local_lim.h] (common-generated): Likewise.
27799 [generic sys/param.h] (before-compile): Do not append to variable.
27800 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27801 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27804 include.
27805 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27806 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27807 [generic sys/param.h] ($(addprefix
27808 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27809 [generic sys/param.h] (common-generated): Do not append to
27810 variable.
27811 [generic sys/param.h] (sysdep_headers): Likewise.
27812 [generic bits/errno.h] (before-compile): Do not append to
27813 variable.
27814 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27815 rule.
27816 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27817 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27818 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27819 [generic bits/errno.h] (common-generated): Do not append to
27820 variable.
27821 [generic bits/ioctls.h] (before-compile): Do not append to
27822 variable.
27823 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27824 rule.
27825 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27826 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27828 rule.
27829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27830 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27831 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27832 [generic bits/ioctls.h] (common-generated): Do not append to
27833 variable.
27834 [generic sys/syscall.h] (syscall.h): Remove variable.
27835 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27836 rule.
27837 [generic sys/syscall.h] (before-compile): Do not append to
27838 variable.
27839 [generic sys/syscall.h] (common-generated): Likewise.
27840 * sysdeps/unix/errnos-tmpl.c: Remove file.
27841 * sysdeps/unix/errnos.awk: Likewise.
27842 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27843 * sysdeps/unix/ioctls.awk: Likewise.
27844 * sysdeps/unix/mk-local_lim.c: Likewise.
27845 * sysdeps/unix/snarf-ioctls: Likewise.
27846
4851a949
RH
278472012-03-19 Richard Henderson <rth@twiddle.net>
27848
bd37f2ee
RH
27849 * sysdeps/i386/fpu/fenv_private.h: New file.
27850 * sysdeps/i386/fpu/math_private.h: Use it.
27851 (math_opt_barrier, math_force_eval): Remove.
27852 (libc_feholdexcept_setround_53bit): Remove.
27853 (libc_feupdateenv_53bit): Remove.
27854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27855 (math_opt_barrier, math_force_eval): Remove.
27856 (libc_feholdexcept): Remove.
27857 (libc_feholdexcept_setround): Remove.
27858 (libc_fetestexcept, libc_fesetenv): Remove.
27859 (libc_feupdateenv_test): Remove.
27860 (libc_feupdateenv, libc_feholdsetround): Remove.
27861 (libc_feresetround): Remove.
27862
d0adc922
RH
27863 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27864 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27865
0fe0f1f8
RH
27866 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27867 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27868 (libc_feupdateenv_testl): New.
27869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27870 (libc_feupdateenv_testf): New.
27871 (libc_feupdateenv): Use libc_feupdateenv_test.
27872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27874
eb92c487
RH
27875 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27876 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27877 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27878 (libc_feresetround_noex): New.
27879 (libc_feresetround_noexf): New.
27880 (libc_feresetround_noexl): New.
27881 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27882 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27883 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27885 SET_RESTORE_ROUND.
27886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27888 (__cos): Likewise.
27889 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27891 SET_RESTORE_ROUND_NOEX.
27892 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27893 SET_RESTORE_ROUND_NOEXF.
27894 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27895 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27896 (libc_feholdsetroundf): New.
27897 (libc_feresetround, libc_feresetroundf): New.
27898
7d2e8012
RH
27899 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27900 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27901 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27902
b4dabbb4
RH
27903 * sysdeps/generic/math_private.h: Include <fenv.h>.
27904 (default_libc_feholdexcept): New.
27905 (default_libc_feholdexcept_setround): New.
27906 (default_libc_fesetenv, default_libc_feupdateenv): New.
27907 (libc_feholdexcept): Only define if undefined.
27908 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27910 (libc_feholdexcept_setroundl): Likewise.
27911 (libc_feholdexcept_setround_53bit): Likewise.
27912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27915 (libc_feupdateenv_53bit): Likewise.
27916 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27917 (libc_feholdexcept): Convert from macro to inline function.
27918 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27919 (libc_fesetenv, libc_feupdateenv): Likewise.
27920
4851a949
RH
27921 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27922 not previously defined.
27923 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27924 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27925 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27926 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27927 * sysdeps/ieee754/flt-32/math_private.h: New file.
27928 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27929 math_private.h below SET_FLOAT_WORD.
27930 (__isnan, __isinf_ns, __finite): Remove.
27931 (__isnanf, __isinf_nsf, __finitef): Remove.
27932
e79d442e
AS
279332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27934
27935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27936
90b80344
DM
279372012-03-17 David S. Miller <davem@davemloft.net>
27938
27939 [BZ #6471]
27940 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27941 for 2.16.
27942
edc21804
DM
279432012-03-16 David S. Miller <davem@davemloft.net>
27944
77e927af
DM
27945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27946 warnings.
27947
374976dd
DM
27948 [BZ #6471]
27949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27950 properly.
27951 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27952 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27953 sysdep_routines when subdir is sysvipc.
27954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27955 __getshmlba helper.
27956
edc21804
DM
27957 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27958
473c3ef3
L
279592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27960
27961 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27962 [__LP64__].
27963
eb0f39b6
L
279642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27965
27966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27968 (__lround): Renamed to ...
27969 (__llround): This. Replace long int with long long int.
27970 Define lround functions as aliases of llround functions.
27971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27972
6b6cd74b
L
279732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27974
27975 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27976 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27977 adresses to uintptr_t. Replace "long int" and "unsigned long
27978 int" with "greg_t" on va_arg.
27979
f1a77b01
L
279802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27981
27982 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27983 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27984
27985 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27986 Move e_machine check before EI_CLASS check. Handle x32
27987 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27988 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27989 SKIP_EM_IA_64 and include
27990 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27991
27992 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27993 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27994 (add_system_dir): New macro.
27995
27996 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27997 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27998
11b90b9f
JM
279992012-03-16 Joseph Myers <joseph@codesourcery.com>
28000
c36e1d23
JM
28001 [BZ #2551]
28002 [BZ #2552]
28003 [BZ #2553]
28004 [BZ #2554]
28005 [BZ #2562]
28006 [BZ #2563]
28007 [BZ #2565]
28008 [BZ #2566]
28009 [BZ #2576]
28010 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28011 (y0): Likewise.
28012 * math/w_j0f.c (j0f): Likewise.
28013 (y0f): Likewise.
28014 * math/w_j0l.c (__j0l): Likewise.
28015 (__y0l): Likewise.
28016 * math/w_j1.c (j1): Likewise.
28017 (y1): Likewise.
28018 * math/w_j1f.c (j1f): Likewise.
28019 (y1f): Likewise.
28020 * math/w_j1l.c (__j1l): Likewise.
28021 (__y1l): Likewise.
28022 * math/w_jn.c (jn): Likewise.
28023 (yn): Likewise.
28024 * math/w_jnf.c (jnf): Likewise.
28025 (ynf): Likewise.
28026 * math/w_jnl.c (__jnl): Likewise.
28027 (__ynl): Likewise.
28028 * math/libm-test.inc (j0_test): Add more tests.
28029 (j1_test): Likewise.
28030 (jn_test): Likewise. Add trailing semicolon to existing test.
28031 (y0_test): Likewise.
28032 (y1_test): Likewise.
28033 * sysdeps/i386/fpu/libm-test-ulps: Update.
28034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28035
11b90b9f
JM
28036 [BZ #13851]
28037 [BZ #13854]
28038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28039 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28040 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28042 (__tanl): Set errno for infinite argument.
28043 * sysdeps/i386/fpu/mptan.c: Remove.
28044 * sysdeps/i386/fpu/s_tan.S: Likewise.
28045 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28046 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28047 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28048 * math/libm-test.inc (tan_test): Add more tests and enable more
28049 tests for double and long double.
28050 * sysdeps/i386/fpu/libm-test-ulps: Update.
28051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28052
6a1bd2a1
JK
280532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28054
28055 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28056 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28057
10a803e0
RM
280582012-03-16 Roland McGrath <roland@hack.frob.com>
28059
28060 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28061 * configure.in: Use it for both main tree and add-ons.
28062 * configure: Regenerated.
28063
f196c7f7
L
280642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28065
28066 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28067
8848d99d
JM
280682012-03-16 Joseph Myers <joseph@codesourcery.com>
28069
96cbe7f4
JM
28070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28071 in comment.
28072
8848d99d
JM
28073 [BZ #13851]
28074 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28075 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28079 infinite argument.
28080 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28082 != 0 for prec == 2.
28083 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28084 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28085 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28086 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28087 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28088 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28089 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28090 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28091 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28092 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28093 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28094 * math/libm-test.inc (cos_test): Add more tests and enable more
28095 tests for long double.
28096 (sin_test): Likewise.
28097 (sincos_test): Likewise.
28098 * sysdeps/i386/fpu/libm-test-ulps: Update.
28099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28100
dd7f4703
DM
281012012-03-16 David S. Miller <davem@davemloft.net>
28102
28103 * sysdeps/sparc/fpu/math_private.h: New file.
28104
006f1daa
DM
281052012-03-15 David S. Miller <davem@davemloft.net>
28106
c0c83bc8
DM
28107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28108 file.
e6a62e18 28109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28111 file.
e6a62e18
DM
28112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28118 sysdep routines.
28119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28120
88cb87d9
DM
28121 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28122 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28123
006f1daa 28124 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28126 sparc-ifunc.h
006f1daa 28127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28129 Likewise.
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28131 Likewise.
006f1daa
DM
28132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28136 Likewise.
006f1daa
DM
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28142 Likewise.
28143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28144 Likewise.
006f1daa
DM
28145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28169
11e0098e
AS
281702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28171
28172 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28173 scaling.
28174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28175
e85b09d0
AJ
281762012-03-15 Andreas Jaeger <aj@suse.de>
28177
28178 [BZ #13852]
28179 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28180 ieee754/flt-32 implementation for sin, cos and sincos.
28181 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28182 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28183 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28184 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28185 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28186 ieee754/flt-32 implementation for tan.
28187
28188 * math/libm-test.inc (cos_test): Enable some large input tests for
28189 float as well
28190 (sin_test): Likewise.
28191 (sincos_test): Likewise.
28192 (tan_test): Add tests for large input.
28193
28194 * sysdeps/i386/fpu/libm-test-ulps: Update.
28195
81c64153
AJ
281962012-03-15 Andreas Jaeger <aj@suse.de>
28197
28198 [BZ #13658]
28199 * math/libm-test.inc (cos_test): Add more test cases.
28200 (sin_test): Likewise.
28201 (sincos_test): Likewise.
28202
7bbfa5c6
AJ
282032012-03-15 Andreas Jaeger <aj@suse.de>
28204
28205 [BZ #13837]
28206 * math/libm-test.inc (cos_test): Add a test case for large input
28207 value.
28208 (sin_test): Likewise.
28209 (sincos_test): Likewise.
28210
282112012-03-15 Andreas Jaeger <aj@suse.de>,
28212 Joseph Myers <joseph@codesourcery.com>
28213
28214 [BZ #13658]
0671f479 28215 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28216 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28217 * sysdeps/i386/fpu/branred.c: Likewise.
28218 * sysdeps/i386/fpu/dosincos.c: Likewise.
28219 * sysdeps/i386/fpu/mpa.c: Likewise.
28220 * sysdeps/i386/fpu/s_cos.S: Likewise.
28221 * sysdeps/i386/fpu/s_sin.S: Likewise.
28222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28223 * sysdeps/i386/fpu/sincos32.c: Likewise.
28224
28225 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28226 Define.
28227 (libc_feupdateenv_53bit): Define.
28228 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28229 Define.
28230 (libc_feupdateenv_53bit): Define.
28231
28232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28233 53 bit (without extend i386 double precision).
28234
28235 * math/libm-test.inc (sincos_test): Add tests for large input.
28236 (sin): Likewise.
28237 (cos): Likewise.
28238
28239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28240
9cad04ea
AS
282412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28242
28243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28244
f7062b9a
DM
282452012-03-15 David S. Miller <davem@davemloft.net>
28246
28247 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28248 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28249 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28250 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28263 file.
f7062b9a 28264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28266 file.
f7062b9a 28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28269 file.
f7062b9a 28270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28272 file.
f7062b9a
DM
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28275 fmin/fmax sysdep routines.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28277
7bd951ff
DM
282782012-03-14 David S. Miller <davem@davemloft.net>
28279
559398ab
DM
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28309 routines.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28311 file.
559398ab 28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28314 file.
559398ab 28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28317 file.
559398ab 28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28320 file.
559398ab 28321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28323 file.
559398ab 28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28326 file.
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28328 file.
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28330 file.
28331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28332 file.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28334 New file.
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28336 file.
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28338 file.
559398ab 28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28341 file.
559398ab 28342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28344 file.
559398ab 28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28347 file.
559398ab 28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28350 VIS3 routines.
559398ab
DM
28351
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28353 New file.
28354
5a1c1e32
DM
28355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28356
eae47a36
DM
28357 * sysdeps/sparc/configure.in: New file.
28358 * sysdeps/sparc/configure: Generate.
28359 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28360 * configure: Regenerate.
28361 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28362 * config.make.in (have-as-vis3): New.
28363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28364 available use -Av9d instead of -Av9a.
28365 * sysdeps/sparc/sparc64/Makefile: Likewise.
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28368 New file.
28369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28370 file.
28371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28372 New file.
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28374 file.
eae47a36
DM
28375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28380
c0c83bc8
DM
28381 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28382 fzeros/fnegs to load 0x80000000 into a float register instead of
28383 using the stack.
7bd951ff
DM
28384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28385
bd951ccb
JM
283862012-03-14 Joseph Myers <joseph@codesourcery.com>
28387
28388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28389 bits/syscall.h.
28390 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28391 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28392 ($(inst_includedir)/bits/syscall.h): Remove rule.
28393 ($(objpfx)bits/syscall.d): Include instead of
28394 $(objpfx)syscall-list.d.
28395 (generated): Change syscall-list.h and syscall-list.d to
28396 bits/syscall.h and bits/syscall.d.
28397
bb4e6db2
RM
283982012-03-14 Roland McGrath <roland@hack.frob.com>
28399
28400 [BZ #13846]
28401 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28402
aa4a2ae1
JM
284032012-03-14 Joseph Myers <joseph@codesourcery.com>
28404
e456826d
JM
28405 [BZ #13841]
28406 * math/s_csqrt.c: Include <float.h>.
28407 (__csqrt): Scale large or subnormal inputs.
28408 * math/s_csqrtf.c: Likewise.
28409 * math/s_csqrtl.c: Likewise.
28410 * math/libm-test.inc (csqrt_test): Add more tests.
28411 * sysdeps/i386/fpu/libm-test-ulps: Update.
28412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28413
aa4a2ae1
JM
28414 [BZ #13840]
28415 * math/libm-test.inc (hypot_test): Add more tests.
28416
7c10fd35
DM
284172012-03-13 David S. Miller <davem@davemloft.net>
28418
28419 [BZ #13840]
28420 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28421 double-precision for the calculation instead of scaling.
28422
f453b98b
JM
284232012-03-13 Joseph Myers <joseph@codesourcery.com>
28424
28425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28426 manipulate bits before adding and subtracting TWO52[sx].
28427 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28428 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28429 Likewise.
28430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28431
09a3453f
DM
284322012-03-13 David S. Miller <davem@davemloft.net>
28433
8e59da90
DM
28434 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28435 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28437 rtld-global-offsets.h
28438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28439
2a8ab7f2
DM
28440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28441 large parameters.
28442
10f62770
DM
28443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28444
5f0bdb18
DM
28445 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28446 'err' in the ifdef scope in which it is actually used.
28447
09a3453f
DM
28448 * nss/nss_db/db-init.c: Include string.h
28449
b4b2eb5e
DM
284502012-03-12 David S. Miller <davem@davemloft.net>
28451
98bb2f1c
DM
28452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28453 masking out of the most significant byte of random value used.
28454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28455 Fix coding style in previous change.
28456
b4b2eb5e
DM
28457 * sysdeps/unix/sysv/linux/kernel-features.h
28458 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28459 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28460 expression.
28461 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28462 later.
28463
6e226b09
DM
284642012-03-11 David S. Miller <davem@davemloft.net>
28465
a1bcbd40
DM
28466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28467 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28469 for 'resultvar' otherwise things get truncated on 64-bit.
28470
cb9d6174
DM
28471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28472 Fix masking out of the most significant byte of random value used.
28473
6e226b09
DM
28474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28475
058c132d
AS
284762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28477
28478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28479
2d2cd515
DM
284802012-03-09 David S. Miller <davem@davemloft.net>
28481
28482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28483 variables with appropriate CPP guards.
28484 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28485 frame pointer, not the stack pointer. Correct layout comments. Fix test
28486 on resulting framesize and the management of the outregs buffer for pltexit.
28487 Preserve floating point return values across _dl_call_pltexit call.
28488 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28489 framesize and the management of the outregs buffer for pltexit.
28490 Preserve floating point return values across _dl_call_pltexit
28491 call.
28492 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28493 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28494 (print_exit): Fix format string for return register value.
28495
9a07f9d0
JM
284962012-03-10 Joseph Myers <joseph@codesourcery.com>
28497
28498 * sunrpc/Makefile (others): Add rpcgen.
28499 ($(objpfx)rpcgen): Remove special build rule and dependency on
28500 libc.
28501 * sunrpc/rpcgen.c: New file.
28502
547b5e30
PE
285032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28504
c524201a
PE
28505 [BZ #13673]
28506 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28507 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28508 * sysdeps/i386/crti.S: Likewise.
28509 * sysdeps/i386/crtn.S: Likewise.
28510 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28511 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28512 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28513 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28514 * sysdeps/sh/crti.S: Likewise.
28515 * sysdeps/sh/crtn.S: Likewise.
28516 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28517
7b6235f2
PE
28518 [BZ #13673]
28519 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28520 with URL.
28521 * locale/programs/locfile-kw.gperf: Likewise.
28522 * locale/programs/charmap-kw.h: Regenerated.
28523 * locale/programs/locfile-kw.h: Likewise.
28524
547b5e30
PE
28525 [BZ #13673]
28526 * intl/plural.y: Replace FSF snail mail address with URL.
28527 * intl/plural.c: Regenerated.
28528
5f0a5dae
RH
285292012-03-09 Richard Henderson <rth@twiddle.net>
28530
28531 * include/math_private.h: Remove file.
28532 * math/math_private.h: Move file ...
28533 * sysdeps/generic/math_private.h: ... here.
28534
b8c03620
RH
28535 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28536 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28537 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28538
4e234f5d 28539 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28540 and <math_private.h>.
28541 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28542 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28543 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28544 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28545 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28629 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28630 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28632 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28635 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28646 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28647 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28649 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28651 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28652 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28656 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28660 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28664 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28665 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28669 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28675 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28682 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28684 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28690 * sysdeps/ieee754/k_standard.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28810 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28813 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28818 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28851 * sysdeps/ieee754/s_lib_version.c: Likewise.
28852 * sysdeps/ieee754/s_matherr.c: Likewise.
28853 * sysdeps/ieee754/s_signgam.c: Likewise.
28854 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28856 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28857 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28858 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28860 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28861 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28862 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28863 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28865 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28868 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28869 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28870 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28873 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28875
1991fa03
JM
288762012-03-09 Joseph Myers <joseph@codesourcery.com>
28877
28878 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28879 * sunrpc/rpc_main.c: Likewise.
28880 * sunrpc/rpc_svcout.c: Likewise.
28881
60d6f5a6
DM
288822012-03-09 David S. Miller <davem@davemloft.net>
28883
28884 * include/math_private.h: New file.
28885
4962050e
JM
288862012-03-09 Joseph Myers <joseph@codesourcery.com>
28887
02a6f887
JM
28888 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28889 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28890 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28891 from <bits/socket_type.h>.
28892 (enum __socket_type): Don't define here.
28893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28895 bits/socket_type.h.
28896
c6e013c1
JM
28897 [BZ #13566]
28898 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28899 checking __USE_GNU.
28900
4962050e
JM
28901 * Makerules ($(inst_includedir)/%.h): New rule.
28902 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28903 (install-others): Remove variable setting.
28904 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28905
38842f45
RH
289062012-03-08 Richard Henderson <rth@twiddle.net>
28907
67bb6da6
RH
28908 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28909 from macro to inline function; merge with the
28910 !__LIBC_INTERNAL_MATH_INLINES version.
28911 (__ieee754_sqrtf): Likewise.
28912
15194b4b
RH
28913 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28914 to inline function.
28915 (__rintf, __floor, __floorf): Likewise.
28916
64e21ede
RH
28917 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28918 macro to inline function.
28919 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28920
38842f45
RH
28921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28922 not <math/math_private.h>.
28923
c64bf5fe
DM
289242012-03-08 David S. Miller <davem@davemloft.net>
28925
28926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28927 copyright year.
28928 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28929
82d86f28
TS
289302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28931
28932 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28933 normalization.
28934 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28935 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28936
aea5d727
UD
289372012-03-08 Ulrich Drepper <drepper@gmail.com>
28938
28939 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28940 be defined individually, they must be defined as a block. Define
28941 S for printing a string instead of hidint the different by using a
28942 macro for adding the 'l'.
28943 * stdio-common/tst-fphex-wide.c: Adjust.
28944
70bca0a3
MP
289452012-03-07 Marek Polacek <polacek@redhat.com>
28946
28947 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28948
65b81130
MP
289492012-03-08 Marek Polacek <polacek@redhat.com>
28950
28951 [BZ #13806]
28952 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28953 * stdio-common/tst-fphex.c: Define a few macros to make the
28954 test reusable. Use them.
28955 * stdio-common/tst-fphex-wide.c: New file.
28956
07037eeb
JM
289572012-03-08 Joseph Myers <joseph@codesourcery.com>
28958
a7a93d50
JM
28959 [BZ #6911]
28960 * manual/macros.texi (gnusystems): New macro.
28961 (nongnusystems): Likewise.
28962 (gnulinuxhurdsystems): Likewise.
28963 (gnuhurdsystems): Likewise..
28964 (gnulinuxsystems): Likewise.
28965 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28966 variants of the GNU system, not "GNU system".
28967 * manual/conf.texi: Likewise.
28968 * manual/errno.texi: Likewise. Update example of errno macro
28969 expansion.
28970 * manual/filesys.texi: Likewise.
28971 (getumask): Document as specific to GNU/Hurd.
28972 * manual/install.texi: Likewise. Reword some references to
28973 GNU/Linux.
28974 * manual/intro.texi: Likewise.
28975 * manual/io.texi: Likewise.
28976 (File Name Portability): Detail which constraints are inapplicable
28977 to all GNU systems and which are only inapplicable to GNU/Hurd.
28978 * manual/job.texi: Likewise.
28979 * manual/llio.texi: Likewise.
28980 (O_NOCTTY): Document as present on GNU/Linux.
28981 * manual/maint.texi: Likewise.
28982 * manual/memory.texi: Likewise.
28983 * manual/pattern.texi: Likewise.
28984 * manual/pipe.texi: Likewise.
28985 * manual/process.texi: Likewise.
28986 * manual/resource.texi: Likewise.
28987 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28988 child on GNU/Hurd.
28989 * manual/setjmp.texi: Likewise.
28990 * manual/signal.texi: Likewise.
28991 * manual/startup.texi: Likewise.
28992 * manual/stdio.texi: Likewise.
28993 * manual/terminal.texi: Likewise.
28994 (ONLCR): Document as POSIX.
28995 (OXTABS): Document availability on GNU/Linux as XTABS.
28996 (ONOEOT): Document availability separately from other bits.
28997 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28998 * manual/time.texi: Likewise.
28999 * manual/users.texi: Likewise.
29000 * INSTALL: Regenerated.
29001 * sysdeps/gnu/errlist.c: Regenerated.
29002
07037eeb
JM
29003 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29004 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29005 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29006 puts.
29007 * configure: Regenerated.
29008
d1d3431a
JM
290092012-03-07 Joseph Myers <joseph@codesourcery.com>
29010
af6a1e37
JM
29011 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29012 default includes instead of AC_HEADER_CHECK.
29013 * sysdeps/i386/configure: Regenerated.
29014
d1d3431a
JM
29015 [BZ #10716]
29016 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29017 * math/s_cacoshf.c (__cacoshf): Likewise.
29018 * math/s_cacoshl.c (__cacoshl): Likewise.
29019 * math/s_casinh.c (__casinh): Set signs of result from argument.
29020 * math/s_casinhf.c (__casinhf): Likewise.
29021 * math/s_casinhl.c (__casinhl): Likewise.
29022 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29023 (casinh_test): Add more tests.
29024 * sysdeps/i386/fpu/libm-test-ulps: Update.
29025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29026
482ff4da
UD
290272012-03-07 Ulrich Drepper <drepper@gmail.com>
29028
872fda05
UD
29029 * po/zh_TW.po: Update from translation team.
29030
a4300c7a
UD
29031 * login/Makefile (distribute): Remove variable.
29032 * catgets/Makefile: Likewise.
29033 * mach/Makefile: Likewise.
29034 * malloc/Makefile: Likewise.
29035 * misc/Makefile: Likewise.
29036 * iconv/Makefile: Likewise.
29037 * nscd/Makefile: Likewise.
29038 * hurd/Makefile: Likewise.
29039 * manual/Makefile: Likewise.
29040 * locale/Makefile: Likewise.
29041 * intl/Makefile: Likewise.
29042 * conform/Makefile: Likewise.
29043 * nss/Makefile: Likewise.
29044 * time/Makefile: Likewise.
29045 * soft-fp/Makefile: Likewise.
29046 * dirent/Makefile: Likewise.
29047 * gmon/Makefile: Likewise.
29048 * po/Makefile: Likewise.
29049 * rt/Makefile: Likewise.
29050 * socket/Makefile: Likewise.
29051 * math/Makefile: Likewise.
29052 * signal/Makefile: Likewise.
29053 * debug/Makefile: Likewise.
29054 * elf/Makefile: Likewise.
29055 * timezone/Makefile: Likewise.
29056 * stdlib/Makefile: Likewise.
29057 * iconvdata/Makefile: Likewise.
29058 * sunrpc/Makefile: Likewise.
29059 * io/Makefile: Likewise.
29060 * argp/Makefile: Likewise.
29061 * inet/Makefile: Likewise.
29062 * hesiod/Makefile: Likewise.
29063 * grp/Makefile: Likewise.
29064 * csu/Makefile: Likewise.
29065 * wctype/Makefile: Likewise.
29066 * crypt/Makefile: Likewise.
29067 * libio/Makefile: Likewise.
29068 * string/Makefile: Likewise.
29069 * nis/Makefile: Likewise.
29070 * resolv/Makefile: Likewise.
29071 * stdio-common/Makefile: Likewise.
29072 * wcsmbs/Makefile: Likewise.
29073 * dlfcn/Makefile: Likewise.
29074 * posix/Makefile: Likewise.
29075
3b7c4e74 29076 [BZ #6959]
482ff4da
UD
29077 * timezone/Makefile: Don't install timezone files, just the programs
29078 and scripts.
29079
f72ed77d
UD
290802012-03-06 Ulrich Drepper <drepper@gmail.com>
29081
a000466f
UD
29082 * nss/databases.def: Add missing gshadow entry.
29083
f72ed77d
UD
29084 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29085
a53b7a4e
MP
290862012-03-06 Marek Polacek <polacek@redhat.com>
29087
29088 [BZ #13726]
29089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29091 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29092 * stdio-common/tst-long-dbl-fphex.c: New file.
29093
e9258400
DM
290942012-03-06 David S. Miller <davem@davemloft.net>
29095
29096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29097 (set_obp_int): New function.
29098 (get_obp_int): New function.
29099 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29101 Avoid unused variable warnings on 'val' and use builtin_expect.
29102 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29103 __builtin_expect.
e9258400
DM
29104 (INLINE_CLONE_SYSCALL): Likewise.
29105
3bd2c723
DM
291062012-03-05 David S. Miller <davem@davemloft.net>
29107
29108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29109
bbb78d03
AS
291102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29111
884c5db4
AS
29112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29113
bbb78d03
AS
29114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29115 only for |x| >= 40.
29116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29117
1c9f702a 291182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29119
29120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29121 Replace gettimeofday with __vdso_gettimeofday.
29122
7be16f82
RM
29123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29124 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29125 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29126
29127 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29128 time with __vdso_time.
29129
ed58a00f
JM
291302012-03-05 Joseph Myers <joseph@codesourcery.com>
29131
29132 * manual/lang.texi (size_t): Note types to which size_t may be
29133 equivalent with the GNU C Library, but do not describe when
29134 differences between them are significant.
29135
30ee4ced
AJ
291362012-03-05 Andreas Jaeger <aj@suse.de>
29137
29138 * sysdeps/i386/fpu/libm-test-ulps: Update.
29139
b7cd39e8
JM
291402012-03-05 Joseph Myers <joseph@codesourcery.com>
29141
29142 [BZ #3976]
29143 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29144 (__ieee754_pow): Save and restore rounding mode and use
29145 round-to-nearest for main computations.
29146 * math/libm-test.inc (pow_test_tonearest): New function.
29147 (pow_test_towardzero): Likewise.
29148 (pow_test_downward): Likewise.
29149 (pow_test_upward): Likewise.
29150 (main): Call the new functions.
29151 * sysdeps/i386/fpu/libm-test-ulps: Update.
29152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29153
29154 [BZ #3976]
29155 * math/libm-test.inc (cosh_test_tonearest): New function.
29156 (cosh_test_towardzero): Likewise.
29157 (cosh_test_downward): Likewise.
29158 (cosh_test_upward): Likewise.
29159 (sinh_test_tonearest): Likewise.
29160 (sinh_test_towardzero): Likewise.
29161 (sinh_test_downward): Likewise.
29162 (sinh_test_upward): Likewise.
29163 (main): Call the new functions.
29164 * sysdeps/i386/fpu/libm-test-ulps: Update.
29165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29166
6c6a98c9
TV
291672012-03-05 Tom de Vries <tom@codesourcery.com>
29168
29169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29170 default stack guard is set in last bytes.
29171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29172
21bb2d2e 291732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29174
21bb2d2e 29175 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29176
21bb2d2e
AJ
29177 [BZ #13656]
29178 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29179 possibly allocate from heap instead of stack.
29180 * stdio-common/bug-vfprintf-nargs.c: New file.
29181 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29182
c6922934
AS
291832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29184
29185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29186
bc957d53
MP
291872012-03-03 Marek Polacek <polacek@redhat.com>
29188
29189 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29190 * math/math_private.h: Likewise.
29191 * stdlib/tst-strtod.c: Likewise.
29192 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29193 * sysdeps/x86_64/bits/atomic.h: Likewise.
29194
6358490d
DM
291952012-03-02 David S. Miller <davem@davemloft.net>
29196
29197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29201 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29202 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29203 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29204 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29205
01ae168d
RM
292062012-03-02 Roland McGrath <roland@hack.frob.com>
29207
d9a17c07
RM
29208 [BZ #13792]
29209 * manual/examples/README: New file, says the example source files
29210 can be used under GPL>=2.
29211 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29212 line containing just "*/".
29213 * manual/examples/add.c: Add copyright header (GPL>=2).
29214 * manual/examples/argp-ex1.c: Likewise.
29215 * manual/examples/argp-ex2.c: Likewise.
29216 * manual/examples/argp-ex3.c: Likewise.
29217 * manual/examples/argp-ex4.c: Likewise.
29218 * manual/examples/atexit.c: Likewise.
29219 * manual/examples/db.c: Likewise.
29220 * manual/examples/dir.c: Likewise.
29221 * manual/examples/dir2.c: Likewise.
29222 * manual/examples/execinfo.c: Likewise.
29223 * manual/examples/filecli.c: Likewise.
29224 * manual/examples/filesrv.c: Likewise.
29225 * manual/examples/fmtmsgexpl.c: Likewise.
29226 * manual/examples/genpass.c: Likewise.
29227 * manual/examples/inetcli.c: Likewise.
29228 * manual/examples/inetsrv.c: Likewise.
29229 * manual/examples/isockad.c: Likewise.
29230 * manual/examples/longopt.c: Likewise.
29231 * manual/examples/memopen.c: Likewise.
29232 * manual/examples/memstrm.c: Likewise.
29233 * manual/examples/mkfsock.c: Likewise.
29234 * manual/examples/mkisock.c: Likewise.
29235 * manual/examples/mygetpass.c: Likewise.
29236 * manual/examples/pipe.c: Likewise.
29237 * manual/examples/popen.c: Likewise.
29238 * manual/examples/rprintf.c: Likewise.
29239 * manual/examples/search.c: Likewise.
29240 * manual/examples/select.c: Likewise.
29241 * manual/examples/setjmp.c: Likewise.
29242 * manual/examples/sigh1.c: Likewise.
29243 * manual/examples/sigusr.c: Likewise.
29244 * manual/examples/stpcpy.c: Likewise.
29245 * manual/examples/strdupa.c: Likewise.
29246 * manual/examples/strftim.c: Likewise.
29247 * manual/examples/strncat.c: Likewise.
29248 * manual/examples/subopt.c: Likewise.
29249 * manual/examples/swapcontext.c: Likewise.
29250 * manual/examples/termios.c: Likewise.
29251 * manual/examples/testopt.c: Likewise.
29252 * manual/examples/testpass.c: Likewise.
29253 * manual/examples/timeval_subtract.c: Likewise.
29254
01ae168d
RM
29255 [BZ #13792]
29256 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29257 function to ...
29258 * manual/timeval_subtract.c.texi: ... here, new file.
29259
49efa33d
DM
292602012-03-02 David S. Miller <davem@davemloft.net>
29261
29262 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29263
28afd92d
JM
292642012-03-02 Joseph Myers <joseph@codesourcery.com>
29265
804360ed
JM
29266 [BZ #3976]
29267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29268 (__sin): Save and restore rounding mode and use round-to-nearest
29269 for all computations.
29270 (__cos): Save and restore rounding mode and use round-to-nearest
29271 for all computations.
29272 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29273 <fenv.h>.
29274 (tan): Save and restore rounding mode and use round-to-nearest for
29275 all computations.
29276 * math/libm-test.inc (cos_test_tonearest): New function.
29277 (cos_test_towardzero): Likewise.
29278 (cos_test_downward): Likewise.
29279 (cos_test_upward): Likewise.
29280 (sin_test_tonearest): Likewise.
29281 (sin_test_towardzero): Likewise.
29282 (sin_test_downward): Likewise.
29283 (sin_test_upward): Likewise.
29284 (tan_test_tonearest): Likewise.
29285 (tan_test_towardzero): Likewise.
29286 (tan_test_downward): Likewise.
29287 (tan_test_upward): Likewise.
29288 (main): Call the new functions.
29289 * sysdeps/i386/fpu/libm-test-ulps: Update.
29290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29291
a6d06d7b
JM
29292 [BZ #10135]
29293 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29294 small n, then large n, before computing and testing k+n.
29295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29297 Likewise.
29298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29299 Likewise.
29300 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29301 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29308 * math/libm-test.inc (scalbn_test): Add more tests.
29309 (scalbln_test): Likewise.
29310
07e12bb3
JM
29311 * manual/filesys.texi (mode_t): Describe constraints on size and
29312 signedness, not exact equivalence to a particular type.
29313 (ino_t): Likewise.
29314 (ino64_t): Likewise.
29315 (dev_t): Likewise.
29316 (nlink_t): Likewise.
29317 (blkcnt_t): Likewise.
29318 (blkcnt64_t): Likewise.
29319 * manual/llio.texi (off_t): Likewise.
29320
28afd92d
JM
29321 [BZ #3976]
29322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29323 (__ieee754_exp): Save and restore rounding mode and use
29324 round-to-nearest for all computations.
29325 * math/libm-test.inc (exp_test_tonearest): New function.
29326 (exp_test_towardzero): Likewise.
29327 (exp_test_downward): Likewise.
29328 (exp_test_upward): Likewise.
29329 (main): Call the new functions.
29330 * sysdeps/i386/fpu/libm-test-ulps: Update.
29331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332
b1eeb65d
CD
293332012-03-01 Chris Demetriou <cgd@google.com>
29334
29335 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29336 have predictable order.
29337
53362a4b
DM
293382012-03-01 David S. Miller <davem@davemloft.net>
29339
3c969083
DM
29340 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29341
759707de
DM
29342 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29343 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29344 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29345 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29346
dfdb8ff2
DM
29347 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29348 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29349 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29351 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29352 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29353 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29354 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29355 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29356
ead89f96
DM
29357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29358
7f66bd07
DM
29359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29360 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29362
53362a4b
DM
29363 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29365 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29371 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29379 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29380 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29381 * sysdeps/sparc/elf/configure: Regenerated.
29382
7b1902cb
JM
293832012-03-01 Joseph Myers <joseph@codesourcery.com>
29384
bec039bc
JM
29385 * configure.in (AS, LD): Require binutils 2.20 or later.
29386 * configure: Regenerated.
29387 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29388 as required minimum version.
29389 * INSTALL: Regenerated.
29390
7b1902cb
JM
29391 [BZ #2541]
29392 [BZ #4108]
29393 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29394 before squaring exponent.
29395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29396 bottom long double and 27 bits of top long double before squaring
29397 exponent.
29398 * math/libm-test.inc (erfc_test): Add more tests.
29399 * sysdeps/i386/fpu/libm-test-ulps: Update.
29400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29402
f775c276
KT
294032012-03-01 Kai Tietz <ktietz@redhat.com>
29404
29405 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29406 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29407 containing bit-fields.
29408 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29409 * soft-fp/single.h (_FP_UNION_S): Likewise.
29410 * soft-fp/double.h (_FP_UNION_D): Likewise.
29411
5b8a4d4a
JM
294122012-02-29 Joseph Myers <joseph@codesourcery.com>
29413
0bab47b6
JM
29414 [BZ #13786]
29415 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29416 not include ../strcmp.S.
29417 [USE_AS_STRNCASECMP_L]: Likewise.
29418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29419 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29420 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29421 (__strncasecmp_l_ia32): Define as alias to
29422 __strncasecmp_l_nonascii.
29423
0fcad3e2
JM
29424 [BZ #5794]
29425 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29426 * sysdeps/i386/fpu/libm-test-ulps: Update.
29427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29428
5b8a4d4a
JM
29429 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29431
8fdceb2e
JL
294322012-02-29 Jeff Law <law@redhat.com>
29433
29434 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29435 out of bounds read.
29436
1f393a11
MP
294372012-02-29 Marek Polacek <polacek@redhat.com>
29438
29439 [BZ #13706]
29440 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29441 * elf/Makefile: Add rules to run tst-unused-dep.out.
29442
8847f037
DM
294432012-02-28 David S. Miller <davem@davemloft.net>
29444
29445 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29446 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29451
169d7f11
JM
294522012-02-29 Joseph Myers <joseph@codesourcery.com>
29453
29454 * math/libm-test.inc (llround_test): Move one test from
29455 lround_test. Use TEST_f_L in moved test.
29456 (lround_test): Move misplaced test to llround_test. Add testcase
29457 from bug 2561.
29458
39adf059
UD
294592012-02-28 Ulrich Drepper <drepper@gmail.com>
29460
29461 * sysdeps/x86_64/fpu/e_expf.S: New file.
29462 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29463
71b5d1c5
SB
294642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29465
29466 [BZ #13637]
29467 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29468 of remain_len that may cause incomplete multi-byte character and
29469 false match.
29470 * posix/bug-regex33.c: New file.
29471 * posix/Makefile (tests): Add bug-regex33.
29472
1f77f049
JM
294732012-02-28 Joseph Myers <joseph@codesourcery.com>
29474
29475 * manual/macros.texi: New file.
29476 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29477 * manual/libc.texinfo: Include macros.texi.
29478 * manual/creatute.texi: Likewise.
29479 * manual/install.texi: Likewise.
29480 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29481 @glibcadj{} in references to the GNU C Library.
29482 * manual/charset.texi: Likewise.
29483 * manual/conf.texi: Likewise.
29484 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29485 when not using those macros.
29486 * manual/creature.texi: Likewise.
29487 * manual/crypt.texi: Likewise.
29488 * manual/errno.texi: Likewise.
29489 * manual/filesys.texi: Likewise.
29490 * manual/header.texi: Likewise.
29491 * manual/install.texi: Likewise.
29492 * manual/intro.texi: Likewise.
29493 * manual/io.texi: Likewise.
29494 * manual/job.texi: Likewise.
29495 * manual/lang.texi: Likewise.
29496 * manual/libc.texiinfo: Likewise.
29497 * manual/llio.texi: Likewise.
29498 * manual/locale.texi: Likewise.
29499 * manual/maint.texi: Likewise.
29500 * manual/math.texi: Likewise.
29501 * manual/memory.texi: Likewise.
29502 * manual/message.texi: Likewise.
29503 * manual/nss.texi: Likewise.
29504 * manual/pattern.texi: Likewise.
29505 * manual/process.texi: Likewise.
29506 * manual/resource.texi: Likewise.
29507 * manual/search.texi: Likewise.
29508 * manual/setjmp.texi: Likewise.
29509 * manual/signal.texi: Likewise.
29510 * manual/socket.texi: Likewise.
29511 * manual/startup.texi: Likewise.
29512 * manual/stdio.texi: Likewise.
29513 * manual/string.texi: Likewise.
29514 * manual/sysinfo.texi: Likewise.
29515 * manual/syslog.texi: Likewise.
29516 * manual/terminal.texi: Likewise.
29517 * manual/time.texi: Likewise.
29518 * manual/users.texi: Likewise.
29519 * INSTALL: Regenerated.
29520 * NOTES: Regenerated.
d40c5d54 29521 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29522
450bf206
AS
295232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29524
29525 * include/dirent.h: Include <dirstream.h> before
29526 <dirent/dirent.h>.
29527
741a235b
DM
295282012-02-28 David S. Miller <davem@davemloft.net>
29529
29530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29531 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29532 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29534
d6b5aa58
DM
295352012-02-27 David S. Miller <davem@davemloft.net>
29536
1aff59a3
DM
29537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29539 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29540 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29541
d6b5aa58
DM
29542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29543 frame pointer instead of stack pointer relative arg slot.
29544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29547
433f48bf
CD
295482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29549
29550 [BZ #3992]
29551 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29552
d674b76d
DM
295532012-02-27 David S. Miller <davem@davemloft.net>
29554
29555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29563
0e7727f7
JM
295642012-02-27 Joseph Myers <joseph@codesourcery.com>
29565
29566 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29567 later. Allow versions 5-9.
43be4ca2 29568 * configure: Regenerated.
0e7727f7
JM
29569 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29570 required minimum version and 4.6 as recommended version. Do not
29571 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29572 * INSTALL: Regenerated.
0e7727f7 29573
a78bc654
DM
295742012-02-27 David S. Miller <davem@davemloft.net>
29575
428d5830
DM
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29582 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29584
a78bc654
DM
29585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29586 manipulate bits before adding and subtracting TWO112[sx].
29587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29588
4579f81c
RM
295892012-02-27 Roland McGrath <roland@hack.frob.com>
29590
36c8acb4
RM
29591 [BZ #13775]
29592 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29593 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29594 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29595 being in POSIX, because they are in 1003.1-2008.
29596
84ad622b
RM
29597 * rt/tst-aio.c: Include <fcntl.h>.
29598 * rt/tst-aio7.c: Likewise.
29599 * rt/tst-aio64.c: Likewise.
29600
4579f81c
RM
29601 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29602
abd923db
JM
296032012-02-27 Joseph Myers <joseph@codesourcery.com>
29604
29605 * manual/install.texi (--with-headers): Describe headers as
29606 interface headers, not private headers.
29607 (Specific advice for GNU/Linux systems): Describe use of headers
29608 from "make headers_install", not private headers from older
29609 kernels.
43be4ca2 29610 * INSTALL: Regenerated.
abd923db
JM
29611 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29612 Change to 2.6.19.
29613 * sysdeps/unix/sysv/linux/configure: Regenerated.
29614
6664049b
JM
29615 * manual/llio.texi (fclean): Remove documentation.
29616
bb8b6697
JM
29617 * manual/Makefile (libc-texi-generated): New variable. Include
29618 version.texi.
29619 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29620 $(libc-texi-generated), not duplicated list of files.
29621 (version.texi, stamp-version): New rules.
29622 (realclean): Remove $(libc-texi-generated), not individual files
29623 from that list. Do not remove dir-add.texinfo.
29624 * manual/libc.texinfo: Comment out uses of edition numbers and
29625 references to printed manual. Remove last-updated dates.
29626 (EDITION): Comment out.
29627 (ISBN): Likewise.
29628 (VERSION, UPDATED): Remove.
29629 (version.texi): Include.
29630
12e5c3b9
AS
296312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29632
29633 * sysdeps/posix/spawni.c: Include <signal.h>.
29634 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29635 * sysdeps/pthread/aio_fsync.c: Likewise.
29636
4efeffc1 296372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29638
ba63ba08
UD
29639 * conform/Makefile (tests): Run only when not cross-compiling and
29640 when fast-check is not defined.
29641
d94a4670
UD
29642 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29643 * conform/data/limits.h-data: Fixes for POSIX2008.
29644 * conform/run-conformtest.sh: Run all tests.
29645 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29646 headers.
29647 * include/bits/dlfcn.h: Likewise.
29648 * include/langinfo.h: Likewise.
29649 * include/monetary.h: Likewise.
29650 * include/sys/poll.h: Likewise.
29651
29652 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29653 for __USE_GNU.
29654 * posix/spawn.h: Define __need_sigset_t.
29655 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29656 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29657 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29658 to get sigevent_t only.
29659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29660 only for __USE_GNU.
29661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29663 process_vm_writev only for __USE_GNU.
29664 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29665
29666 * conform/Makefile: For now ignore errors from run-conformtest.
29667 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29668 POSIX to avoid namespace pollution. Don't prepend headers.
29669 * conform/data/aio.h-data: Fixes for POSIX testing.
29670 * conform/data/fcntl.h-data: Likewise.
29671 * conform/data/glob.h-data: Likewise.
29672 * conform/data/grp.h-data: Likewise.
29673 * conform/data/pthread.h-data: Likewise.
29674 * conform/data/pwd.h-data: Likewise.
29675 * conform/data/signal.h-data: Likewise.
29676 * conform/data/spawn.h-data: Likewise.
29677 * conform/data/stdio.h-data: Likewise.
29678 * conform/data/stdlib.h-data: Likewise.
29679 * conform/data/stropts.h-data: Likewise.
29680 * conform/data/sys/mman.h-data: Likewise.
29681 * conform/data/sys/stat.h-data: Likewise.
29682 * conform/data/sys/types.h-data: Likewise.
29683 * conform/data/sys/wait.h-data: Likewise.
29684 * conform/data/time.h-data: Likewise.
29685 * conform/data/unistd.h-data: Likewise.
29686 * conform/data/utime.h-data: Likewise.
29687
29688 * io/sys/stat.h: fchmod was always in POSIX.
29689 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29690 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29691 * rt/aio.h: Define __need_timespec before including <time.h>.
29692 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29693 struct. Add forward declaration of pthread_attr_t and use it in
29694 sigevent.
29695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29697 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29698 always remove CLK_TCK definition.
29699
c20105c3
AS
297002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29701
29702 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29703
7a270350
UD
297042012-02-25 Ulrich Drepper <drepper@gmail.com>
29705
31341567
UD
29706 * conform/run-conformtest.sh: New file.
29707 * conform/Makefile: Run run-conformtest for tests.
29708 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29709 support.
29710
29711 * conform/data/uchar.h-data: New file.
29712 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29713 * conform/data/arpa/inet.h-data: Likewise.
29714 * conform/data/assert.h-data: Likewise.
29715 * conform/data/complex.h-data: Likewise.
29716 * conform/data/cpio.h-data: Likewise.
29717 * conform/data/ctype.h-data: Likewise.
29718 * conform/data/dirent.h-data: Likewise.
29719 * conform/data/dlfcn.h-data: Likewise.
29720 * conform/data/errno.h-data: Likewise.
29721 * conform/data/fcntl.h-data: Likewise.
29722 * conform/data/float.h-data: Likewise.
29723 * conform/data/fmtmsg.h-data: Likewise.
29724 * conform/data/fnmatch.h-data: Likewise.
29725 * conform/data/ftw.h-data: Likewise.
29726 * conform/data/glob.h-data: Likewise.
29727 * conform/data/grp.h-data: Likewise.
29728 * conform/data/iconv.h-data: Likewise.
29729 * conform/data/inttypes.h-data: Likewise.
29730 * conform/data/langinfo.h-data: Likewise.
29731 * conform/data/libgen.h-data: Likewise.
29732 * conform/data/limits.h-data: Likewise.
29733 * conform/data/locale.h-data: Likewise.
29734 * conform/data/math.h-data: Likewise.
29735 * conform/data/monetary.h-data: Likewise.
29736 * conform/data/mqueue.h-data: Likewise.
29737 * conform/data/ndbm.h-data: Likewise.
29738 * conform/data/net/if.h-data: Likewise.
29739 * conform/data/netdb.h-data: Likewise.
29740 * conform/data/netinet/in.h-data: Likewise.
29741 * conform/data/nl_types.h-data: Likewise.
29742 * conform/data/poll.h-data: Likewise.
29743 * conform/data/pthread.h-data: Likewise.
29744 * conform/data/pwd.h-data: Likewise.
29745 * conform/data/regex.h-data: Likewise.
29746 * conform/data/sched.h-data: Likewise.
29747 * conform/data/search.h-data: Likewise.
29748 * conform/data/semaphore.h-data: Likewise.
29749 * conform/data/setjmp.h-data: Likewise.
29750 * conform/data/signal.h-data: Likewise.
29751 * conform/data/spawn.h-data: Likewise.
29752 * conform/data/stdarg.h-data: Likewise.
29753 * conform/data/stdio.h-data: Likewise.
29754 * conform/data/stdlib.h-data: Likewise.
29755 * conform/data/string.h-data: Likewise.
29756 * conform/data/strings.h-data: Likewise.
29757 * conform/data/stropts.h-data: Likewise.
29758 * conform/data/sys/ipc.h-data: Likewise.
29759 * conform/data/sys/mman.h-data: Likewise.
29760 * conform/data/sys/msg.h-data: Likewise.
29761 * conform/data/sys/resource.h-data: Likewise.
29762 * conform/data/sys/select.h-data: Likewise.
29763 * conform/data/sys/sem.h-data: Likewise.
29764 * conform/data/sys/shm.h-data: Likewise.
29765 * conform/data/sys/socket.h-data: Likewise.
29766 * conform/data/sys/stat.h-data: Likewise.
29767 * conform/data/sys/statvfs.h-data: Likewise.
29768 * conform/data/sys/time.h-data: Likewise.
29769 * conform/data/sys/timeb.h-data: Likewise.
29770 * conform/data/sys/times.h-data: Likewise.
29771 * conform/data/sys/types.h-data: Likewise.
29772 * conform/data/sys/uio.h-data: Likewise.
29773 * conform/data/sys/un.h-data: Likewise.
29774 * conform/data/sys/utsname.h-data: Likewise.
29775 * conform/data/sys/wait.h-data: Likewise.
29776 * conform/data/syslog.h-data: Likewise.
29777 * conform/data/tar.h-data: Likewise.
29778 * conform/data/termios.h-data: Likewise.
29779 * conform/data/utime.h-data: Likewise.
29780 * conform/data/utmpx.h-data: Likewise.
29781 * conform/data/varargs.h-data: Likewise.
29782 * conform/data/wchar.h-data: Likewise.
29783 * conform/data/wctype.h-data: Likewise.
29784 * conform/data/wordexp.h-data: Likewise.
29785
29786 * include/stropts.h: New file.
29787 * include/uchar.h: New file.
29788 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29789 * include/assert.h: Likewise.
29790 * include/ctype.h: Likewise.
29791 * include/dirent.h: Likewise.
29792 * include/dlfcn.h: Likewise.
29793 * include/fcntl.h: Likewise.
29794 * include/fnmatch.h: Likewise.
29795 * include/glob.h: Likewise.
29796 * include/grp.h: Likewise.
29797 * include/libio.h: Likewise.
29798 * include/locale.h: Likewise.
29799 * include/math.h: Likewise.
29800 * include/net/if.h: Likewise.
29801 * include/netdb.h: Likewise.
29802 * include/netinet/in.h: Likewise.
29803 * include/pthread.h: Likewise.
29804 * include/pwd.h: Likewise.
29805 * include/regex.h: Likewise.
29806 * include/sched.h: Likewise.
29807 * include/search.h: Likewise.
29808 * include/setjmp.h: Likewise.
29809 * include/signal.h: Likewise.
29810 * include/stdio.h: Likewise.
29811 * include/stdlib.h: Likewise.
29812 * include/string.h: Likewise.
29813 * include/sys/cdefs.h: Likewise.
29814 * include/sys/mman.h: Likewise.
29815 * include/sys/msg.h: Likewise.
29816 * include/sys/resource.h: Likewise.
29817 * include/sys/select.h: Likewise.
29818 * include/sys/socket.h: Likewise.
29819 * include/sys/stat.h: Likewise.
29820 * include/sys/statvfs.h: Likewise.
29821 * include/sys/time.h: Likewise.
29822 * include/sys/times.h: Likewise.
29823 * include/sys/uio.h: Likewise.
29824 * include/sys/utsname.h: Likewise.
29825 * include/sys/wait.h: Likewise.
29826 * include/termios.h: Likewise.
29827 * include/time.h: Likewise.
29828 * include/ulimit.h: Likewise.
29829 * include/unistd.h: Likewise.
29830 * include/utime.h: Likewise.
29831 * include/wchar.h: Likewise.
29832 * include/wctype.h: Likewise.
29833 * include/wordexp.h: Likewise.
29834
29835 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29836
7a270350
UD
29837 * time/time.h: TIME_UTC must be a macro.
29838 Make timespec_get available for ISO C11 only as well.
29839
7724defc
UD
298402012-02-24 Ulrich Drepper <drepper@gmail.com>
29841
29842 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29843 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29844
6b1d1d46
JM
298452012-02-24 Joseph Myers <joseph@codesourcery.com>
29846
29847 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29848
0f8bbd69
JM
298492012-02-24 Joseph Myers <joseph@codesourcery.com>
29850
29851 * manual/texinfo.tex: Update to version 2012-01-19.16.
29852
66ab80bc
JM
298532012-02-24 Joseph Myers <joseph@codesourcery.com>
29854
29855 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29856
74981cc5
RM
298572012-02-24 Roland McGrath <roland@hack.frob.com>
29858
ee968201
RM
29859 [BZ #13738]
29860 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29861 * manual/fdl-1.3.texi: New file.
29862 * manual/fdl-1.1.texi: File removed.
29863
74981cc5
RM
29864 [BZ #13738]
29865 * manual/libc.texinfo (FDL_VERSION): New @set.
29866 Use it for mention of FDL in cover text.
29867 (Documentation License): Use it in @include file name.
29868
7bb764bc
JM
298692012-02-22 Joseph Myers <joseph@codesourcery.com>
29870 Roland McGrath <roland@hack.frob.com>
29871
29872 [BZ #5461]
29873 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29874 not LONG_LONG_MAX and LONG_LONG_MIN.
29875 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29876 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29877 name.
29878 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29879
6cbeae47
JM
298802012-02-22 Joseph Myers <joseph@codesourcery.com>
29881
29882 [BZ #2547]
29883 [BZ #11365]
29884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29885 manipulate bits before adding and subtracting TWO23[sx].
29886 * math/libm-test.inc (nearbyint_test): Add more tests.
29887
fe45ce09
JM
298882012-02-22 Joseph Myers <joseph@codesourcery.com>
29889
29890 [BZ #2548]
29891 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29892 bits before adding and subtracting TWO23[sx].
29893 * math/libm-test.inc (rint_test): Add more tests.
29894 (rint_test_tonearest): Likewise.
29895 (rint_test_towardzero): Likewise.
29896 (rint_test_downward): Likewise.
29897 (rint_test_upward: Likewise.
29898
ff3b3d82
JM
298992012-02-22 Joseph Myers <joseph@codesourcery.com>
29900
29901 [BZ #10110]
29902 * include/stdc-predef.h: New file. Extracted from features.h.
29903 * include/features.h: Include stdc-predef.h.
29904 * Makefile (headers): Add stdc-predef.h.
29905 * CONFORMANCE (Compiler limitations): Update.
29906
ef0aab35
JM
299072012-02-22 Joseph Myers <joseph@codesourcery.com>
29908
29909 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29910
58639409
DM
299112012-02-21 David S. Miller <davem@davemloft.net>
29912
29913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29915
c0e70b25
DM
299162012-02-20 David S. Miller <davem@davemloft.net>
29917
29918 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29919 using a normal save/restore sequence, rather than allocating a
29920 dummy stack frame just to store a frame pointer and restore.
29921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29922
fb06851d
JM
299232012-02-21 Joseph Myers <joseph@codesourcery.com>
29924
29925 * manual/install.texi: Fix stray word in line-wrapped comment.
29926
7a8b71c3
DM
299272012-02-20 David S. Miller <davem@davemloft.net>
29928
d510c123
DM
29929 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29930 both binutils and gcc support GOTDATA.
29931
0722d7c2
DM
29932 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29933 "rd %pc" in the PIC register setup sequences.
29934
3d2b3019
DM
29935 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29936 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29938 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29939 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29944 (SYSCALL_ERROR_HANDLER): Likewise.
29945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29948 (SYSCALL_ERROR_HANDLER): Likewise.
29949
c80098a9
DM
29950 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29951 (HAVE_GCC_GOTDATA): New.
29952 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29953 relocation support in both binutils and gcc.
29954 * sysdeps/sparc/elf/configure: Regenerate.
29955
3a2545a0
DM
29956 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29957 * sysdeps/sparc/sparc32/elf/configure: Delete.
29958 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29959 * sysdeps/sparc/sparc64/elf/configure: Delete.
29960 * sysdeps/sparc/elf/configure.in: New file.
29961 * sysdeps/sparc/elf/configure: Generate.
29962
7a8b71c3
DM
29963 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29964 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29966 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29967 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29968
f1e86fca
JM
299692012-02-21 Joseph Myers <joseph@codesourcery.com>
29970
29971 * manual/install.texi: Do not mention specific glibc version
29972 numbers.
29973 * manual/libc.texinfo (VERSION, UPDATED): Update.
29974 (@copying): Use @copyright{} and range of years.
29975
0e7dfaef
JM
299762012-02-21 Joseph Myers <joseph@codesourcery.com>
29977
29978 [BZ #13695]
29979 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29980 [crti.S not in sysdirs] (generated): Do not append.
29981 [crti.S not in sysdirs] (omit-deps): Likewise.
29982 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29983 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29984 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29985 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29986 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29987 Likewise.
29988 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29989 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29990 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29991 * csu/defs.awk: Remove file.
29992 * sysdeps/generic/initfini.c: Likewise.
29993 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29994 variable.
29995 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29996 Likewise.
29997
599af3ca
JM
299982012-02-20 Joseph Myers <joseph@codesourcery.com>
29999
30000 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30001 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30005 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30006 <bits/epoll.h>.
30007 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30008 (__EPOLL_PACKED): Define to empty if not defined by
30009 <bits/epoll.h>.
30010 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30012 bits/epoll.h.
30013
0e499750
JM
300142012-02-20 Joseph Myers <joseph@codesourcery.com>
30015
30016 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30017 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30018 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30020 <bits/timerfd.h>.
30021 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30023 bits/timerfd.h.
30024
5ad91f6e
JM
300252012-02-20 Joseph Myers <joseph@codesourcery.com>
30026
30027 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30028 in C locale.
30029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30033
06b99b02
AJ
300342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30035
30036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30038
7638c0fd
AS
300392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30040
30041 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30042 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30043 defined.
30044 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30045 Likewise.
30046 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30047 entry for 2.16.
30048
92221550
AJ
300492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30050
30051 * math/w_acos.c: Use non-signaling floating-point comparisons.
30052 * math/w_acosf.c: Likewise.
30053 * math/w_acosh.c: Likewise.
30054 * math/w_acoshf.c: Likewise.
30055 * math/w_acoshl.c: Likewise.
30056 * math/w_acosl.c: Likewise.
30057 * math/w_asin.c: Likewise.
30058 * math/w_asinf.c: Likewise.
30059 * math/w_asinl.c: Likewise.
30060 * math/w_atanh.c: Likewise.
30061 * math/w_atanhf.c: Likewise.
30062 * math/w_atanhl.c: Likewise.
30063 * math/w_exp2.c: Likewise.
30064 * math/w_exp2f.c: Likewise.
30065 * math/w_exp2l.c: Likewise.
30066 * math/w_j0.c: Likewise.
30067 * math/w_j0f.c: Likewise.
30068 * math/w_j0l.c: Likewise.
30069 * math/w_j1.c: Likewise.
30070 * math/w_j1f.c: Likewise.
30071 * math/w_j1l.c: Likewise.
30072 * math/w_jn.c: Likewise.
30073 * math/w_jnf.c: Likewise.
30074 * math/w_log.c: Likewise.
30075 * math/w_log10.c: Likewise.
30076 * math/w_log10f.c: Likewise.
30077 * math/w_log10l.c: Likewise.
30078 * math/w_log2.c: Likewise.
30079 * math/w_log2f.c: Likewise.
30080 * math/w_log2l.c: Likewise.
30081 * math/w_logf.c: Likewise.
30082 * math/w_logl.c: Likewise.
30083 * math/w_sqrt.c: Likewise.
30084 * math/w_sqrtf.c: Likewise.
30085 * math/w_sqrtl.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30089 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30090 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30091
ebaf36eb
JM
300922012-02-19 Joseph Myers <joseph@codesourcery.com>
30093
30094 [BZ #9739]
30095 * manual/string.texi (strnlen): Use correct parameter name in
30096 equivalent expression.
30097
71c254a6
JM
300982012-02-19 Joseph Myers <joseph@codesourcery.com>
30099
30100 [BZ #11174]
30101 * manual/users.texi (seteuid): Consistently use neweuid for
30102 argument name.
30103
16d2c631
JM
301042012-02-19 Joseph Myers <joseph@codesourcery.com>
30105
30106 [BZ #13704]
30107 * manual/nss.texi (Services in the NSS configuration): Correct
30108 list of services in example configuration file.
30109
cd837b09
NB
301102012-02-19 Nick Bowler <nbowler@draconx.ca>
30111
30112 [BZ #11322]
30113 * manual/arith.texi: Remove statements about negative zero
30114 behaving identically to zero.
30115
02c4bbad
JM
301162012-02-18 Joseph Myers <joseph@codesourcery.com>
30117
30118 [BZ #5993]
30119 * manual/install.texi: Do not document upgrading from libc5.
30120
366842e7
JM
301212012-02-18 Joseph Myers <joseph@codesourcery.com>
30122
30123 [BZ #4596]
30124 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30125
dd54084d
DM
301262012-02-18 David S. Miller <davem@davemloft.net>
30127
30128 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30129 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30130 %o7 across the call.
30131 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30132 instead.
30133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30134 SETUP_PIC_REG_LEAF.
30135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30136 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30137 * sysdeps/sparc/crtn.S: Likewise.
30138
2bcc53a3
UD
301392012-02-17 Ulrich Drepper <drepper@gmail.com>
30140
30141 * aout/Makefile: Remove.
30142
09c093b5
RK
301432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30144
30145 [BZ #13058]
30146 * manual/examples/argp-ex1.c (main): Format definition in GNU
30147 style.
30148 * manual/examples/argp-ex2.c (main): Likewise.
30149 * manual/examples/argp-ex3.c (main): Likewise.
30150 * manual/examples/argp-ex4.c (main): Likewise.
30151 * manual/examples/longopt.c (main): Use new-style prototype
30152 definition.
30153 * manual/examples/strncat.c (main): Specify return type and use
30154 (void) for arguments.
30155 * manual/examples/subopt.c (main): Use char **argv argument.
30156
2ee633a2
JM
301572012-02-17 Joseph Myers <joseph@codesourcery.com>
30158
30159 [BZ #5077]
30160 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30161 rounding modes.
30162
0520adde
FB
301632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30164
30165 [BZ #6907]
30166 * manual/string.texi (strchr): Change when strchrnul is
30167 recommended.
30168
3f4081cd
DGM
301692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30170
30171 [BZ #174]
30172 * manual/locale.texi (setlocale): Document LOCPATH.
30173
d1b10e78
JM
301742012-02-17 Joseph Myers <joseph@codesourcery.com>
30175
30176 [BZ #10210]
30177 * manual/process.texi (execle): Move @dots{} before last argument.
30178
79c6869c
PB
301792012-02-17 Paul Bolle <pebolle@tiscali.nl>
30180
30181 [BZ #12047]
30182 * manual/charset.texi (Generic Charset Conversion): Fix typo
30183 (LC_TYPE -> LC_CTYPE).
30184
cc6e48bc
NB
301852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30186
30187 [BZ #5805]
30188 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30189 (scalbnf): Likewise.
30190 (scalbnl): Likewise.
30191 (scalbln): Likewise.
30192 (scalblnf): Likewise.
30193 (scalblnl): Likewise.
30194 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30195 (vwarnx): Likewise.
30196 (verr): Likewise.
30197 (verrx): Likewise.
30198 * manual/filesys.texi (telldir): Use braces around return type.
30199 * manual/llio.texi (mmap): Add space after comma.
30200 (mmap64): Likewise.
30201 * manual/math.texi (jn): Use @var{} on parameter names.
30202 (jnf): Likewise.
30203 (jnl): Likewise.
30204 (yn): Likewise.
30205 (ynf): Likewise.
30206 (ynl): Likewise.
30207 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30208 line.
30209 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30210 "...".
30211 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30212 (sched_get_priority_max): Likewise.
30213 * manual/signal.texi (sigvec): Add space after comma.
30214 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30215 names.
30216 (if_indextoname): Likewise.
30217 (if_freenameindex): Likewise.
30218 (sendto): Use ',' instead of '.' in prototype.
30219 * manual/startup.texi (syscall): Use @dots{} instead of literal
30220 "...".
30221 * manual/stdio.texi (__fpending): Separate initial words of
30222 paragraph from @deftypefun line.
30223 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30224 "...".
30225 (vsyslog): Use @var{} on parameter names.
30226 * manual/terminal.texi (stty): Use @var{} on parameter names.
30227 * manual/users.texi (getutmp): Use @var{} on parameter names.
30228 (getutmpx): Likewise.
30229
5b23062f
JM
302302012-02-17 Joseph Myers <joseph@codesourcery.com>
30231
30232 [BZ #6884]
30233 * manual/stdio.texi (fopen): Fix typos in description of
30234 ",ccs=STRING".
30235
8dee4833
AJ
302362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30237
30238 [BZ #4026]
30239 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30240 get clock_id definition.
30241
9078ce93
TS
302422012-02-17 Thomas Schwinge <thomas@schwinge.name>
30243
30244 [BZ #4822]
30245 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30246 (madvise): Cast every argument to void on its own.
30247
3835c55f
JM
302482012-02-17 Joseph Myers <joseph@codesourcery.com>
30249
30250 [BZ #9902]
30251 * manual/startup.texi (Exit Status): Fix typo.
30252
35c47e37
JM
302532012-02-17 Joseph Myers <joseph@codesourcery.com>
30254
30255 [BZ #10140]
30256 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30257 * manual/examples/argp-ex2.c: Likewise.
30258 * manual/examples/argp-ex3.c: Likewise.
30259
e3b69ca7
RH
302602012-02-16 Richard Henderson <rth@redhat.com>
30261
30262 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30263 * sysdeps/s390/s390-32/initfini.c: Remove.
30264 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30265 * sysdeps/s390/s390-64/initfini.c: Remove.
30266
df83af67
KK
302672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30268
30269 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30270 compiler output for sysdeps/generic/initfini.c.
30271 * sysdeps/sh/elf/initfini.c: Remove file.
30272
f63f3380
DM
302732012-02-16 David S. Miller <davem@davemloft.net>
30274
fb59b3a4
DM
30275 [BZ #11494]
30276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30277
f63f3380
DM
30278 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30279 * sysdeps/sparc/crti.S: New file.
30280 * sysdeps/sparc/crtn.S: New file.
30281 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30282 * sysdeps/sparc/sparc64/Makefile: Likewise.
30283
df6a4a4a
MF
302842012-02-15 Mike Frysinger <vapier@gentoo.org>
30285
6dd8f3dc 30286 [BZ #3335]
df6a4a4a
MF
30287 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30288
1cac7236
RM
302892012-02-15 Roland McGrath <roland@hack.frob.com>
30290
d2c736f8
RM
30291 [BZ #4822]
30292 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30293
1cac7236
RM
30294 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30295 (write, read, close): Likewise.
30296 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30297
8e475601
JM
302982012-02-15 Joseph Myers <joseph@codesourcery.com>
30299
30300 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30301 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30302 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30303 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30304 <bits/signalfd.h>.
30305 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30307 bits/signalfd.h.
30308
ed656b40
MP
303092012-02-14 Marek Polacek <polacek@redhat.com>
30310
30311 * sysdeps/x86_64/crti.S: New file.
30312 * sysdeps/x86_64/crtn.S: New file.
30313 * sysdeps/x86_64/elf/initfini.c: Remove file.
30314
2a979d3a
JM
303152012-02-13 Joseph Myers <joseph@codesourcery.com>
30316
30317 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30318 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30319 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30320 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30321 <bits/inotify.h>.
30322 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30324 bits/inotify.h.
30325
2a418ac3
JM
303262012-02-13 Joseph Myers <joseph@codesourcery.com>
30327
30328 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30330 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30331 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30332 <bits/eventfd.h>.
30333 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30335 bits/eventfd.h.
30336
fb779be7
TS
303372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30338
e19e83c5
RM
30339 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30340 __feraiseexcept instead of feraiseexcept.
7c35ffed 30341
fb779be7
TS
30342 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30343 nanosleep invocations.
30344 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30345 strings, and add error checking for a nanosleep invocations.
30346
59ba27a6
PE
303472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30348
30349 Replace FSF snail mail address with URLs, as per GNU coding standards.
30350 Most of the snail mail addresses were wrong anyway, and omitting
30351 them makes the source code easier to maintain. Almost all of the
30352 changes are to license notices and to locale LC_IDENTIFICATION
30353 addresses, except for this one:
30354 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30355 not its snail mail address.
30356
57b957eb
RH
303572012-02-09 Richard Henderson <rth@twiddle.net>
30358
af850b1c
RH
30359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30360 of kernel-features.h.
30361
57b957eb
RH
30362 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30363
6b73181a
MP
303642012-02-08 Marek Polacek <polacek@redhat.com>
30365
30366 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30367 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30368 * sysdeps/gnu/_G_config.h: Likewise.
30369 * sysdeps/generic/_G_config.h: Likewise.
30370
26ecc33a
AS
303712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30372
6c6dbc63
AS
30373 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30374 tests.
30375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30376
e216c012
AS
30377 * sysdeps/powerpc/powerpc32/crti.S: New file.
30378 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30379 * sysdeps/powerpc/powerpc64/crti.S: New file.
30380 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30381
26ecc33a
AS
30382 * Makeconfig (have-initfini): Don't set.
30383 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30384 * configure.in (nopic_initfini): Don't substitute.
30385 * config.h.in (HAVE_INITFINI): Don't #undef.
30386 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30387 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30388
3add8e13
JM
303892012-02-08 Joseph Myers <joseph@codesourcery.com>
30390
30391 Support crti.S and crtn.S provided directly by architectures.
30392 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30393 [crti.S in sysdirs] (omit-deps): Likewise.
30394 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30395 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30396 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30397 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30398 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30399 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30400 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30401 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30402 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30403 compiler output for sysdeps/generic/initfini.c.
30404 * sysdeps/i386/elf/Makefile: Remove file.
30405 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30406
a22f12b4
MP
304072012-02-07 Marek Polacek <polacek@redhat.com>
30408
30409 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30410 * sysdeps/gnu/_G_config.h: Likewise.
30411 * sysdeps/mach/hurd/_G_config.h: Likewise.
30412
148cf100
MP
304132012-02-07 Marek Polacek <polacek@redhat.com>
30414
30415 * math/Makefile (tests): Add tst-CMPLX2.
30416 * math/tst-CMPLX2.c: New file.
30417
cfdc0dd7
AS
304182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30419
84ba42c4
AS
30420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30421
cfdc0dd7
AS
30422 * math/libm-test.inc (jn_test): Add missing L suffix.
30423
622c86f4
MP
304242012-02-06 Marek Polacek <polacek@redhat.com>
30425
30426 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30427 * sysdeps/i386/fpu/e_powf.S: Likewise.
30428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30431 * sysdeps/i386/fpu/e_pow.S: Likewise.
30432 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30434 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30435 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30436 * sysdeps/i386/fpu/e_log2.S: Likewise.
30437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30439 * sysdeps/i386/fpu/e_powl.S: Likewise.
30440 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30443 * sysdeps/i386/fpu/e_logl.S: Likewise.
30444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30445 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30450 * sysdeps/i386/fpu/e_log.S: Likewise.
30451 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30452 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30453 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30454 * sysdeps/i386/fpu/e_logf.S: Likewise.
30455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30457 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30460 * sysdeps/i386/fpu/e_log10.S: Likewise.
30461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30467 * sysdeps/i386/asm-syntax.h: Likewise.
30468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30471 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30472 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30474 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30475 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30477 * sysdeps/powerpc/sysdep.h: Likewise.
30478 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30480
d4a54ac6
JM
304812012-02-06 Joseph Myers <joseph@codesourcery.com>
30482
30483 [BZ #411]
30484 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30485
314054ea
JM
304862012-02-06 Joseph Myers <joseph@codesourcery.com>
30487
30488 * sysdeps/i386/sysdep.h: Include <features.h>.
30489 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30490 version.
30491
d8e0ca50
JM
304922012-02-05 Joseph Myers <joseph@codesourcery.com>
30493
30494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30495 Define.
30496 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30497 LOAD_PIC_REG_STR.
30498
b1da7dd9
JM
304992012-02-03 Joseph Myers <joseph@codesourcery.com>
30500
30501 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30502 (SETUP_PIC_REG): Use GET_PC_THUNK.
30503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30504 macro.
30505
9a1d9254
JM
305062012-02-03 Joseph Myers <joseph@codesourcery.com>
30507
30508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30509 for non-PIC compilation.
30510 (SETUP_PIC_REG): Add .p2align directive.
30511 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30512 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30513 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30514 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30515 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30544 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30545 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30546 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30547 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30552
65dc3b75
JM
305532012-02-03 Joseph Myers <joseph@codesourcery.com>
30554
30555 * math/tst-CMPLX.c: Include <stdio.h>.
30556
d55bf177
JM
305572012-01-31 Joseph Myers <joseph@codesourcery.com>
30558
30559 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30560 float.
30561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30562 * sysdeps/sparc/bits/mathdef.h: Likewise.
30563
69db4f8f
MP
305642012-01-31 Marek Polacek <polacek@redhat.com>
30565
30566 * libio/libio.h: Don't define _PARAMS.
30567 * locale/programs/config.h: Don't define PARAMS.
30568 * stdlib/strtol_l.c: Likewise.
30569 (__strtol_l): Remove PARAMS from the prototype.
30570
41b81892
UD
305712012-01-31 Ulrich Drepper <drepper@gmail.com>
30572
3b49edc0
UD
30573 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30574 names. Just use the correct names. Remove unnecessary wrapper
30575 functions.
30576 * malloc/arena.c: Likewise.
30577 * malloc/hooks.c: Likewise.
30578
41b81892
UD
30579 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30580 ARENA_TEST says not to. Simplify test for creation of a new arena.
30581 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30582
27a25b6e
UD
305832012-01-30 Ulrich Drepper <drepper@gmail.com>
30584
30585 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30586 into tail calls.
30587 (update_get_addr): New function.
30588 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30589 GET_ADDR_MODULE parameter.
30590
c8a89e7d
JM
305912012-01-30 Joseph Myers <joseph@codesourcery.com>
30592
30593 * crypt/cert.c: Remove __STDC__ conditionals.
30594 * crypt/crypt-entry.c: Likewise.
30595 * crypt/crypt_util.c: Likewise.
30596 * libio/filedoalloc.c: Likewise.
30597 * libio/fileops.c: Likewise.
30598 * libio/genops.c: Likewise.
30599 * libio/iofclose.c: Likewise.
30600 * libio/iofdopen.c: Likewise.
30601 * libio/iofopen.c: Likewise.
30602 * libio/iofopen64.c: Likewise.
30603 * libio/iogetdelim.c: Likewise.
30604 * libio/iopopen.c: Likewise.
30605 * libio/obprintf.c: Likewise.
30606 * libio/oldfileops.c: Likewise.
30607 * libio/oldiofclose.c: Likewise.
30608 * libio/oldiofdopen.c: Likewise.
30609 * libio/oldiofopen.c: Likewise.
30610 * libio/oldiopopen.c: Likewise.
30611 * libio/wfiledoalloc.c: Likewise.
30612 * libio/wgenops.c: Likewise.
30613 * locale/programs/xmalloc.c: Likewise.
30614 * misc/syslog.c: Likewise.
30615 * stdio-common/xbug.c: Likewise.
30616 * string/memchr.c: Likewise.
30617 * string/memcmp.c: Likewise.
30618 * string/memrchr.c: Likewise.
30619 * string/rawmemchr.c: Likewise.
30620 * sysdeps/posix/getcwd.c: Likewise.
30621 * time/strftime_l.c: Likewise.
30622
3b100462
JM
306232012-01-30 Joseph Myers <joseph@codesourcery.com>
30624
30625 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30626 * config.make.in (config-cflags-sse2avx): Define.
30627 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30628 Fix typo.
30629
607998af
CM
306302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30631
30632 * scripts/config.guess: Update from upstream config git repository.
30633 * scripts/config.sub: Likewise.
30634
3601428f
CM
306352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30636
3ac8b282
CM
30637 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30638 (EM_NUM): Update.
30639 (R_TILEPRO_*, R_TILEGX_*): New macros.
30640
e034841e
CM
30641 * scripts/firstversions.awk: Fix bug in version range handling.
30642
540d7568
CM
30643 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30644
3601428f
CM
30645 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30646
463de862
CM
30647 * include/sys/epoll.h: New file.
30648 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30649 libc_hidden_def.
30650
73139a76
UD
306512012-01-28 Ulrich Drepper <drepper@gmail.com>
30652
96bc5b45
UD
30653 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30654 Avoid unnecessary __WORDSIZE == 64 test.
30655 (fmaxf): Use VEX format if possible.
30656 (fmax): Likewise.
30657 (fminf): Likewise.
30658 (fmin): Likewise.
30659
56f6f6a2
UD
30660 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30661 * math/math_private.h: Remove libc_fegetround* and
30662 libc_fesetround*.
30663 * sysdeps/i386/configure.in: Check for -msse2avx.
30664 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30665 also if SSE2AVX is defined.
30666 Remove libc_fegetround* and libc_fesetround*.
30667 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30668 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30670 of HAS_YMM_USABLE.
30671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30676
73139a76
UD
30677 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30678
d73f93a4
AZ
306792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30680
30681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30682 size is not set.
30683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30684
6ee65ed6
UD
306852012-01-27 Ulrich Drepper <drepper@gmail.com>
30686
30687 [BZ #13618]
30688 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30689 relocation.
30690 * Makeconfig (libm): Define.
30691 * elf/Makefile: Add rules to build and run tst-relsort1.
30692 * elf/tst-relsort1.c: New file.
30693 * elf/tst-relsort1mod1.c: New file.
30694 * elf/tst-relsort1mod2.c: New file.
30695
8db21882
JM
306962012-01-27 Joseph Myers <joseph@codesourcery.com>
30697
30698 * math/s_ldexp.c: Remove __STDC__ conditionals.
30699 * math/s_ldexpf.c: Likewise.
30700 * math/s_ldexpl.c: Likewise.
30701 * math/s_nextafter.c: Likewise.
30702 * math/s_nexttowardf.c: Likewise.
30703 * math/s_significand.c: Likewise.
30704 * math/s_significandf.c: Likewise.
30705 * math/s_significandl.c: Likewise.
30706 * math/w_jnl.c: Likewise.
30707 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30708 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30709 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30710 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30711 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30724 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30733 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30747 * sysdeps/ieee754/k_standard.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30827 * sysdeps/ieee754/s_matherr.c: Likewise.
30828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30832
965a54a4
JM
308332012-01-26 Joseph Myers <joseph@codesourcery.com>
30834
30835 * crypt/md5.h: Remove __STDC__ conditionals.
30836 * libio/libioP.h: Likewise.
30837 * locale/programs/config.h: Likewise.
30838 * sysdeps/generic/sysdep.h: Likewise.
30839 * sysdeps/i386/asm-syntax.h: Likewise.
30840 * sysdeps/s390/asm-syntax.h: Likewise.
30841 * sysdeps/unix/sysdep.h: Likewise.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30844
7071ad79
JM
308452012-01-26 Joseph Myers <joseph@codesourcery.com>
30846
30847 * libio/libio.h: Remove __STDC__ conditionals.
30848 * malloc/obstack.h: Likewise.
30849 * math/complex.h: Likewise.
30850 * math/math.h: Likewise.
30851 * sysdeps/generic/_G_config.h: Likewise.
30852 * sysdeps/gnu/_G_config.h: Likewise.
30853 * sysdeps/mach/hurd/_G_config.h: Likewise.
30854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30856 * sysdeps/sparc/bits/mathdef.h: Likewise.
30857
afc5ed09
UD
308582012-01-26 Ulrich Drepper <drepper@gmail.com>
30859
30860 [BZ #13583]
30861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30862 Clean up HAS_* macros.
afc5ed09 30863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30864 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30865 possible.
30866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30867 HAS_AVX.
30868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30873
bdb6de1d
JM
308742012-01-25 Joseph Myers <joseph@codesourcery.com>
30875
30876 * elf/tst-unique3.cc (gets): Remove declaration.
30877 * elf/tst-unique3lib.cc (gets): Likewise.
30878 * elf/tst-unique3lib2.cc (gets): Likewise.
30879 * elf/tst-unique4.cc (gets): Likewise.
30880
b15549e6
UD
308812012-01-24 Ulrich Drepper <drepper@gmail.com>
30882
30883 * include/stdio.h: Add C++ protection. Add gets declarations and
30884 definitions.
30885 * debug/tst-chk1.c: Don't declare gets here.
30886 * stdio-common/tst-gets.c: Likewise.
30887
a037381f
JM
308882012-01-24 Joseph Myers <joseph@codesourcery.com>
30889
30890 * posix/glob: Remove directory.
30891
f1d4aa75
JM
308922012-01-24 Joseph Myers <joseph@codesourcery.com>
30893
30894 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30895
81c0c964
PT
308962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30897
30898 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30899 of the non-standard EPFNOSUPPORT.
30900
0ea698ae
ST
309012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30902
30903 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30904 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30905 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30906
d220b117
UD
309072012-01-21 Ulrich Drepper <drepper@gmail.com>
30908
30909 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30910
3e1aa84e
UD
309112012-01-20 Ulrich Drepper <drepper@gmail.com>
30912
30913 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30914 transient errors.
30915 * nscd/grpcache.c (cache_addgr): Likewise.
30916 * nscd/hstcache.c (cache_addhst): Likewise.
30917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30918 * nscd/pwdcache.c (cache_addpw): Likewise.
30919 * nscd/servicescache.c (cache_addserv): Likewise.
30920
400aa020
UD
309212012-01-16 Ulrich Drepper <drepper@gmail.com>
30922
d77e7869
UD
30923 * malloc/malloc.c: Various cleanups.
30924 * malloc/hooks.c: Likewise.
30925
400aa020
UD
30926 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30927 * stdlib/bug-fmtmsg1.c: New file.
30928
30929 * stdlib/fmtmsg.c (init): Add missing unlock.
30930 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30931
e0a309cf
MP
309322012-01-12 Marek Polacek <polacek@redhat.com>
30933
30934 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30935 and _GNU_SOURCE.
30936
929d11c7
WS
309372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30938
30939 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30940 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30941 macro to ensure uniqueness of label name.
30942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30944
41d0e869
UD
309452012-01-11 Ulrich Drepper <drepper@gmail.com>
30946
0cc5ed3b
UD
30947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30948
41d0e869
UD
30949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30953
a47a831a
UD
309542012-01-10 Ulrich Drepper <drepper@gmail.com>
30955
daa891c0
UD
30956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30957
30958 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30961
e58ef0f2
UD
30962 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30963
a47a831a 30964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30968
30969 * math/bits/math-finite.h: Add ldexp support.
30970
a0bfc9c7
MP
309712012-01-10 Marek Polacek <polacek@redhat.com>
30972
30973 * locale/programs/localedef.h (show_archive_content): Add noreturn
30974 attribute.
30975
d6e97a1d
UD
309762012-01-09 Ulrich Drepper <drepper@gmail.com>
30977
30978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30979
d5835c26
UD
309802012-01-08 Ulrich Drepper <drepper@gmail.com>
30981
e5f484c6
UD
30982 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30983
d5835c26
UD
30984 * io/Makefile (headers): Add bits/poll2.h.
30985
d1f741e9
WS
309862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30987
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30989 typo #include statement.
30990
ec09c1c4
UD
309912012-01-08 Ulrich Drepper <drepper@gmail.com>
30992
30993 * include/sys/cdefs.h: Define __attribute_alloc_size.
30994 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30995 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30996 * elf/pldd.c: Likewise.
30997 * iconv/iconv_charmap.c: Likewise.
30998 * iconv/iconvconfig.c: Likewise.
30999 * iconv/strtab.c: Likewise.
31000 * locale/programs/locale.c: Likewise.
31001 * locale/programs/localedef.h: Likewise.
31002 * locale/programs/simple-hash.c: Likewise.
31003 * nscd/nscd.h: Likewise.
31004 * nss/makedb.c: Likewise.
31005 * sysdeps/generic/ldconfig.h: Likewise.
31006 * locale/programs/localedef.c: Remove xmalloc prototype.
31007 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31008
20b38e03
PP
310092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31010
31011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31012 appropriate.
31013
a0da5fe1
UD
310142012-01-08 Ulrich Drepper <drepper@gmail.com>
31015
1d5a644a 31016 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31017 * math/tst-CMPLX.c: New file.
1d5a644a 31018
8784a6db
UD
31019 * math/complex.h (CMPLXL): Fix typo.
31020
d9a216c0
UD
31021 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31022 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31023 GLIBC_2.16.
31024 * debug/tst-chk1.c: Add poll and ppoll tests.
31025 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31026 * include/sys/poll.h: Add hidden proto for ppoll.
31027 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31028 * sysdeps/mach/hurd/ppoll.c: Likewise.
31029 * io/ppoll.c: Likewise.
31030 * debug/poll_chk.c: New file.
31031 * debug/ppoll_chk.c: New file.
31032 * include/bits/poll2.h: New file.
31033 * io/bits/poll2.h: New file.
31034
ac097f5c
UD
31035 [BZ #1350]
31036 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31037
2119dcfa
UD
31038 * configure.in: static is always set to yes. Remove.
31039 * config.make.in: Don't set build-static.
31040 * Makeconfig: Remove use of build-static.
31041 * dlfcn/Makefile: Likewise.
31042 * elf/Makefile: Likewise.
31043 * math/Makefile: Likewise.
31044 * misc/Makefile: Likewise.
31045 * nptl/Makefile: Likewise.
31046 * sysdeps/mach/hurd/Makefile: Likewise.
31047
121766a9
UD
31048 * configure.in: PWD_P is not used anymore.
31049 * config.make.in: Remove PWD_P entry.
31050
51a1d39c 31051 * configure.in: Remove last remnants of RANLIB.
8720d066 31052 No need to check for signed size_t anymore.
215f4bdc
UD
31053 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31054 and IA-64.
3857022a 31055 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31056 * aclocal.m4: Likewise.
31057
d3ed7225
UD
31058 * wcsmbs/mbrtoc16.c: Implement using towc function.
31059 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31060 * wcsmbs/wcsmbsload.c: Likewise.
31061 * iconv/gconv_simple.c: Likewise.
31062 * iconv/gconv_int.h: Likewise.
31063 * iconv/gconv_builtin.h: Likewise.
31064 * iconv/iconv_prog.c: Remove CHAR16 handling.
31065
31066 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31067
31068 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31069
a0da5fe1
UD
31070 * configure.in: Remove --with-elf and --enable-bounded options.
31071 Dont set base_machine for ia64. More non-ELF conditions removed.
31072 Remove testing and setting of leading underscore information.
31073 * config.make.in (build-bounded): Set to no.
31074 * config.h.in: Remove NO_UNDERSCORES entry.
31075 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31076 them.
31077 * csu/start.c: Remove !NO_UNDERSCORE code.
31078 * locale/localeinfo.h: Likewise.
31079 * sysdeps/generic/machine-gmon.h: Likewise.
31080 * sysdeps/generic/sysdep.h: Likewise.
31081 * sysdeps/i386/sysdep.h: Likewise.
31082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31083 * sysdeps/mach/sysdep.h: Likewise.
31084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31086 * sysdeps/sh/sysdep.h: Likewise.
31087 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31088 * sysdeps/unix/i386/sysdep.S: Likewise.
31089 * sysdeps/unix/sparc/start.c: Likewise.
31090 * sysdeps/unix/sparc/sysdep.S: Likewise.
31091 * sysdeps/unix/sparc/sysdep.h: Likewise.
31092 * sysdeps/unix/start.c: Likewise.
31093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31094 * sysdeps/x86_64/sysdep.h: Likewise.
31095
df78418a
UD
310962012-01-07 Ulrich Drepper <drepper@gmail.com>
31097
a784e502
UD
31098 [BZ #13553]
31099 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31100 for non-gcc.
31101 * argp/argp-fmtstream.h: Use const instead __const.
31102 * argp/argp.h: Likewise.
31103 * assert/assert.h: Likewise.
31104 * bits/fenv.h: Likewise.
31105 * bits/sched.h: Likewise.
31106 * bits/sigset.h: Likewise.
31107 * bits/sigthread.h: Likewise.
31108 * catgets/nl_types.h: Likewise.
31109 * conform/data/pthread.h-data: Likewise.
31110 * crypt/crypt-private.h: Likewise.
31111 * crypt/crypt.h: Likewise.
31112 * crypt/crypt_util.c: Likewise.
31113 * ctype/ctype.h: Likewise.
31114 * debug/execinfo.h: Likewise.
31115 * debug/mbsnrtowcs_chk.c: Likewise.
31116 * debug/mbsrtowcs_chk.c: Likewise.
31117 * debug/wcsnrtombs_chk.c: Likewise.
31118 * debug/wcsrtombs_chk.c: Likewise.
31119 * debug/wcstombs_chk.c: Likewise.
31120 * dirent/dirent.h: Likewise.
31121 * dlfcn/dlfcn.h: Likewise.
31122 * elf/neededtest4.c: Likewise.
31123 * grp/grp.h: Likewise.
31124 * gshadow/gshadow.h: Likewise.
31125 * iconv/gconv.h: Likewise.
31126 * iconv/gconv_int.h: Likewise.
31127 * iconv/gconv_simple.c: Likewise.
31128 * iconv/iconv.h: Likewise.
31129 * iconv/loop.c: Likewise.
31130 * iconv/skeleton.c: Likewise.
31131 * include/aio.h: Likewise.
31132 * include/aliases.h: Likewise.
31133 * include/argz.h: Likewise.
31134 * include/arpa/inet.h: Likewise.
31135 * include/assert.h: Likewise.
31136 * include/dirent.h: Likewise.
31137 * include/dlfcn.h: Likewise.
31138 * include/execinfo.h: Likewise.
31139 * include/fcntl.h: Likewise.
31140 * include/fenv.h: Likewise.
31141 * include/glob.h: Likewise.
31142 * include/grp.h: Likewise.
31143 * include/libintl.h: Likewise.
31144 * include/mntent.h: Likewise.
31145 * include/netdb.h: Likewise.
31146 * include/pwd.h: Likewise.
31147 * include/rpc/netdb.h: Likewise.
31148 * include/sched.h: Likewise.
31149 * include/search.h: Likewise.
31150 * include/shadow.h: Likewise.
31151 * include/signal.h: Likewise.
31152 * include/stdio.h: Likewise.
31153 * include/stdlib.h: Likewise.
31154 * include/string.h: Likewise.
31155 * include/sys/socket.h: Likewise.
31156 * include/sys/stat.h: Likewise.
31157 * include/sys/statfs.h: Likewise.
31158 * include/sys/statvfs.h: Likewise.
31159 * include/sys/syslog.h: Likewise.
31160 * include/sys/time.h: Likewise.
31161 * include/sys/uio.h: Likewise.
31162 * include/time.h: Likewise.
31163 * include/unistd.h: Likewise.
31164 * include/utmp.h: Likewise.
31165 * include/wchar.h: Likewise.
31166 * include/wctype.h: Likewise.
31167 * inet/aliases.h: Likewise.
31168 * inet/arpa/inet.h: Likewise.
31169 * inet/netinet/ether.h: Likewise.
31170 * inet/netinet/in.h: Likewise.
31171 * intl/libintl.h: Likewise.
31172 * io/bits/fcntl2.h: Likewise.
31173 * io/fcntl.h: Likewise.
31174 * io/ftw.h: Likewise.
31175 * io/sys/poll.h: Likewise.
31176 * io/sys/stat.h: Likewise.
31177 * io/sys/statfs.h: Likewise.
31178 * io/sys/statvfs.h: Likewise.
31179 * io/utime.h: Likewise.
31180 * libio/bits/stdio.h: Likewise.
31181 * libio/bits/stdio2.h: Likewise.
31182 * libio/libio.h: Likewise.
31183 * libio/libioP.h: Likewise.
31184 * libio/stdio.h: Likewise.
31185 * locale/lc-ctype.c: Likewise.
31186 * locale/locale.h: Likewise.
31187 * login/utmp.h: Likewise.
31188 * malloc/arena.c: Likewise.
31189 * malloc/malloc.c: Likewise.
31190 * malloc/malloc.h: Likewise.
31191 * malloc/mcheck.c: Likewise.
31192 * malloc/mtrace.c: Likewise.
31193 * math/bits/mathcalls.h: Likewise.
31194 * math/fenv.h: Likewise.
31195 * math/math_private.h: Likewise.
31196 * misc/bits/error.h: Likewise.
31197 * misc/bits/syslog.h: Likewise.
31198 * misc/err.h: Likewise.
31199 * misc/error.h: Likewise.
31200 * misc/fstab.h: Likewise.
31201 * misc/mntent.h: Likewise.
31202 * misc/regexp.h: Likewise.
31203 * misc/search.h: Likewise.
31204 * misc/sgtty.h: Likewise.
31205 * misc/sys/mman.h: Likewise.
31206 * misc/sys/syslog.h: Likewise.
31207 * misc/sys/uio.h: Likewise.
31208 * misc/sys/xattr.h: Likewise.
31209 * misc/ttyent.h: Likewise.
31210 * nis/rpcsvc/ypclnt.h: Likewise.
31211 * nss/nss.h: Likewise.
31212 * posix/bits/unistd.h: Likewise.
31213 * posix/fnmatch.h: Likewise.
31214 * posix/glob.h: Likewise.
31215 * posix/sched.h: Likewise.
31216 * posix/spawn.h: Likewise.
31217 * posix/sys/wait.h: Likewise.
31218 * posix/unistd.h: Likewise.
31219 * posix/wordexp.h: Likewise.
31220 * pwd/pwd.h: Likewise.
31221 * resolv/netdb.h: Likewise.
31222 * resource/sys/resource.h: Likewise.
31223 * rt/aio.h: Likewise.
31224 * rt/bits/mqueue2.h: Likewise.
31225 * rt/mqueue.h: Likewise.
31226 * shadow/shadow.h: Likewise.
31227 * signal/signal.h: Likewise.
31228 * socket/send.c: Likewise.
31229 * socket/sendto.c: Likewise.
31230 * socket/sys/socket.h: Likewise.
31231 * stdio-common/printf.h: Likewise.
31232 * stdlib/bits/stdlib.h: Likewise.
31233 * stdlib/fmtmsg.h: Likewise.
31234 * stdlib/monetary.h: Likewise.
31235 * stdlib/stdlib.h: Likewise.
31236 * stdlib/ucontext.h: Likewise.
31237 * streams/stropts.h: Likewise.
31238 * string/argz.h: Likewise.
31239 * string/bits/string2.h: Likewise.
31240 * string/string.h: Likewise.
31241 * string/strings.h: Likewise.
31242 * sunrpc/rpc/auth.h: Likewise.
31243 * sunrpc/rpc/auth_des.h: Likewise.
31244 * sunrpc/rpc/clnt.h: Likewise.
31245 * sunrpc/rpc/netdb.h: Likewise.
31246 * sunrpc/rpc/pmap_clnt.h: Likewise.
31247 * sunrpc/rpc/xdr.h: Likewise.
31248 * sysdeps/generic/inttypes.h: Likewise.
31249 * sysdeps/generic/net/if.h: Likewise.
31250 * sysdeps/generic/sys/swap.h: Likewise.
31251 * sysdeps/gnu/net/if.h: Likewise.
31252 * sysdeps/gnu/utmpx.h: Likewise.
31253 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31254 * sysdeps/i386/i486/bits/string.h: Likewise.
31255 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31256 * sysdeps/s390/bits/string.h: Likewise.
31257 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31258 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31259 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31260 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31263 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31265 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31266 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31267 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31269 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31270 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31271 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31272 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31273 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31279 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31280 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31281 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31282 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31285 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31287 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31288 * sysvipc/sys/ipc.h: Likewise.
31289 * sysvipc/sys/msg.h: Likewise.
31290 * sysvipc/sys/sem.h: Likewise.
31291 * sysvipc/sys/shm.h: Likewise.
31292 * termios/termios.h: Likewise.
31293 * time/sys/time.h: Likewise.
31294 * time/time.h: Likewise.
31295 * wcsmbs/bits/wchar2.h: Likewise.
31296 * wcsmbs/uchar.h: Likewise.
31297 * wcsmbs/wchar.h: Likewise.
31298 * wctype/wctype.h: Likewise.
31299
0269750c
UD
31300 [BZ #13551]
31301 * Makeconfig: Remove all but ELF support including AIX support.
31302 * Makerules: Likewise.
31303 * config.h.in: Likewise.
31304 * config.make.in: Likewise.
31305 * configure: Likewise.
31306 * configure.in: Likewise.
31307 * csu/Makefile: Likewise.
31308 * csu/version.c: Likewise.
31309 * debug/Makefile: Likewise.
31310 * dlfcn/Makefile: Likewise.
31311 * elf/Makefile: Likewise.
31312 * extra-lib.mk: Likewise.
31313 * iconv/Makefile: Likewise.
31314 * include/libc-symbols.h: Likewise.
31315 * include/shlib-compat.h: Likewise.
31316 * resolv/Makefile: Likewise.
31317 * resolv/res_libc.c: Likewise.
31318 * rt/Makefile: Likewise.
31319 * sysdeps/i386/asm-syntax.h: Likewise.
31320 * sysdeps/i386/sysdep.h: Likewise.
31321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31322 * sysdeps/mach/sysdep.h: Likewise.
31323 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31324 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31325 * sysdeps/s390/asm-syntax.h: Likewise.
31326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31328 * sysdeps/sh/sysdep.h: Likewise.
31329 * sysdeps/unix/sparc/sysdep.h: Likewise.
31330 * sysdeps/wordsize-32/divdi3.c: Likewise.
31331 * sysdeps/x86_64/sysdep.h: Likewise.
31332
00bbd29b
UD
31333 * argp/Versions: Remove _argp_unlock_xxx.
31334
31335 [BZ #13559]
31336 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31337 * abilist/libBrokenLocale.abilist: Likewise.
31338 * abilist/libanl.abilist: Likewise.
31339 * abilist/libc.abilist: Likewise.
31340 * abilist/libcrypt.abilist: Likewise.
31341 * abilist/libdl.abilist: Likewise.
31342 * abilist/libm.abilist: Likewise.
31343 * abilist/libnsl.abilist: Likewise.
31344 * abilist/libpthread.abilist: Likewise.
31345 * abilist/libresolv.abilist: Likewise.
31346 * abilist/librt.abilist: Likewise.
31347 * abilist/libthread_db.abilist: Likewise.
31348 * abilist/libutil.abilist: Likewise.
31349 * abilist/libnss_db.abilist: New file.
31350
31351 * scripts/abilist.awk: Add support for indirect functions.
31352
a2693a0e
UD
31353 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31354
3f05895f
UD
31355 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31356
ecb6fb48
UD
31357 * shlib-versions: Remove entries for ports architectures.
31358
664f8cb9
UD
31359 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31360 files in ports.
31361 * elf/stackguard-macros.h: Remove support for IA-64.
31362 * elf/tst-auditmod1.c: Likewise.
31363 * sysdeps/generic/ldsodefs.h: Likewise.
31364
7ae81d88
UD
31365 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31366 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31367 configure files.
31368
bdeba135
UD
31369 [BZ #13552]
31370 * configure.in: Remove --enable-omitfp support.
31371 * FAQ.in: Adjust.
31372 * config.make.in: Likewise.
31373 * Makeconfig: Likewise.
31374 * manual/install.texi: Likewise.
31375
d75a0a62
UD
31376 In case anyone cares, the IA-64 architecture could move to ports.
31377 * sysdeps/ia64/*: Removed.
31378 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31379 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31380
dcc9756b
UD
31381 [BZ #13555]
31382 * configure.in: Remove entries for unsupported architectures.
31383
d3761ebc 31384 [BZ #13533]
9954432e
UD
31385 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31386 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31387 routines.
31388 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31389 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31390 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31391 fall back to using wcrtomb.
31392 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31393 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31394 renaming.
31395 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31396 * wcsmbs/tst-c16c32-1.c: New file.
31397
31398 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31399 local variable.
31400
c3a87236
UD
31401 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31402
28926a1b
UD
31403 * elf/tst-unique3.cc: Add explicit declaration of gets.
31404 * elf/tst-unique3lib.cc: Likewise.
31405 * elf/tst-unique3lib2.cc: Likewise.
31406 * elf/tst-unique4.cc: Likewise.
31407
df78418a
UD
31408 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31409
8ecd6b2a
JM
314102012-01-06 Joseph Myers <joseph@codesourcery.com>
31411
31412 [BZ #13566]
31413 * assert/assert.h (static_assert): Don't define for C++.
31414 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31415 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31416
9f115170
UD
314172012-01-03 Ulrich Drepper <drepper@gmail.com>
31418
5e0d0300
UD
31419 * iconv/loop.c (single loop): Fix assertion in storing of
31420 remaining bytes.
31421
9f115170
UD
31422 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31423
81fb02b0
UD
314242012-01-01 Ulrich Drepper <drepper@gmail.com>
31425
31426 * posix/getconf.c: Update copyright year.
31427 * nss/getent.c: Likewise.
a316c1f6 31428 * nss/makedb.c: Likewise.
81fb02b0
UD
31429 * iconv/iconvconfig.c: Likewise.
31430 * iconv/iconv_prog.c: Likewise.
31431 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31432 * elf/pldd.c: Likewise.
31433 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31434 * catgets/gencat.c: Likewise.
31435 * csu/version.c: Likewise.
31436 * elf/ldd.bash.in: Likewise.
31437 * elf/sprof.c (print_version): Likewise.
31438 * locale/programs/locale.c: Likewise.
31439 * locale/programs/localedef.c: Likewise.
a316c1f6 31440 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31441 * nscd/nscd.c (print_version): Likewise.
31442 * debug/xtrace.sh: Likewise.
31443 * malloc/memusage.sh: Likewise.
31444 * malloc/mtrace.pl: Likewise.
31445 * debug/catchsegv.sh: Likewise.
31446
2ba92745
JJ
314472011-12-30 Jakub Jelinek <jakub@redhat.com>
31448
31449 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31450 pure attribute.
31451
dadebdae
UD
314522011-12-24 Ulrich Drepper <drepper@gmail.com>
31453
d3761ebc 31454 [BZ #13533]
db6af3eb
UD
31455 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31456 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31457 transformations.
31458 * iconv/gconv_int.h: Likewise.
31459 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31460 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31461 from libc for GLIBC_2.16.
31462 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31463 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31464 * wcsmbs/uchar.h: Really define mbstate_t.
31465 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31466 * wcsmbs/c16rtomb.c: New file.
31467 * wcsmbs/mbrtoc16.c: New file.
31468 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31469 for C/POSIX locale.
31470 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31471 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31472
dadebdae
UD
31473 * wcsmbs/wchar.h: Add missing __restrict.
31474
67371b56
UD
314752011-12-23 Ulrich Drepper <drepper@gmail.com>
31476
74033a25
UD
31477 [BZ #13532]
31478 * time/Makefile (routines): Add timespec_get.
31479 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31480 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31481 timespec for ISO C11.
31482 * time/timespec_get.c: New file.
31483 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31485
380d7e87
UD
31486 [BZ #13531]
31487 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31488 * stdlib/stdlib.h: Declare aligned_alloc.
31489 * Versions.def: Add GLIBC_2.16 for libc.
31490 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31491
4e9e7a35
UD
31492 [BZ 13527]
31493 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31494 ISO C11.
31495
380d7e87 31496 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31497 code.
31498
03a71829
UD
31499 [BZ #13528]
31500 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31501
839e283e
UD
31502 [BZ #13529]
31503 * assert/assert.h (static_assert): Define.
31504
ce5294e2 31505 * version.h: Update for 2.16 development version.
90fa7312 31506
8d44e150 31507 [BZ #13526]
d7809905
UD
31508 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31509 _ISOC11_SOURCE.
31510
c0da14cd
UD
31511 * version.h (RELEASE): Bump for 2.15 release.
31512 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31513
530a3249
MP
31514 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31515 Patch by Marek Polacek <mpolacek@redhat.com>.
31516
67371b56
UD
31517 * bits/byteswap.h: Protect long long constants with __extension__.
31518 * sysdeps/i386/bits/byteswap.h: Likewise.
31519 * sysdeps/ia64/bits/byteswap.h: Likewise.
31520 * sysdeps/s390/bits/byteswap.h: Likewise.
31521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31522
15db4de1
LD
315232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31524
31525 [BZ #13540]
bbe315ea
LD
31526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31527 destination buffer.
15db4de1
LD
31528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31529
2b2596b1
MP
315302011-12-23 Marek Polacek <polacek@redhat.com>
31531
31532 * elf/dl-addr.c (determine_info): Add inline keyword.
31533 * elf/tst-auditmod4b.c (check_avx): Likewise.
31534 * elf/tst-auditmod6b.c (check_avx): Likewise.
31535 * elf/tst-auditmod6c.c (check_avx): Likewise.
31536 * elf/tst-auditmod7b.c (check_avx): Likewise.
31537
70c6c246
UD
315382011-12-23 Ulrich Drepper <drepper@gmail.com>
31539
31540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31541 !__SSE_MATH__.
31542
c044cf14
LD
315432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31544
15db4de1 31545 [BZ #13540]
c044cf14
LD
31546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31547 processing for last bytes.
31548
6b13d9d9
BH
315492011-08-06 Bruno Haible <bruno@clisp.org>
31550
d455f537
BH
31551 [BZ #13061]
31552 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31553 U+0385, not to U+1FEE.
31554
6b13d9d9
BH
31555 [BZ #13062]
31556 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31557 entry for U+00A5 U+0301.
31558
db910efd
UD
315592011-12-22 Ulrich Drepper <drepper@gmail.com>
31560
27deeafc
UD
31561 [BZ #13166]
31562 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31563 buffer for the output is too small.
31564
aed9d171
UD
31565 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31566 optimization.
31567
db910efd
UD
31568 [BZ #13185]
31569 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31570 SSE flags if possible.
31571
2bd779ae
LD
315722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31573
e7f9dac3 31574 [BZ #13540]
2bd779ae
LD
31575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31576 processing for last bytes.
31577
154bfc16
JM
315782011-12-22 Joseph Myers <joseph@codesourcery.com>
31579
31580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31581 (syscall-list-default-options, syscall-list-default-condition)
31582 (syscall-list-includes): Define.
31583 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31584 list of ABIs and options and #if conditions for each ABI. Do not
31585 handle common syscalls between ABIs specially.
31586 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31587 Remove.
31588 (syscall-list-variants, syscall-list-32bit-options)
31589 (syscall-list-32bit-condition, syscall-list-64bit-options)
31590 (syscall-list-64bit-condition): Define.
31591 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31592 (syscall-list-variants, syscall-list-32bit-options)
31593 (syscall-list-32bit-condition, syscall-list-64bit-options)
31594 (syscall-list-64bit-condition): Define.
31595 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31596 Remove.
31597 (syscall-list-variants, syscall-list-32bit-options)
31598 (syscall-list-32bit-condition, syscall-list-64bit-options)
31599 (syscall-list-64bit-condition): Define.
31600 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31601 Remove.
31602 (syscall-list-variants, syscall-list-32bit-options)
31603 (syscall-list-32bit-condition, syscall-list-64bit-options)
31604 (syscall-list-64bit-condition): Define.
31605
21eaf3a5
UD
316062011-12-22 Ulrich Drepper <drepper@gmail.com>
31607
16c6f992
UD
31608 * locale/iso-639.def: Add brx entry.
31609
41043168
UD
31610 [BZ #13328]
31611 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31612 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31613
21eaf3a5
UD
31614 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31615 __feraiseexcept_renamed.
31616
e3a851a2
UD
316172011-12-21 Ulrich Drepper <drepper@gmail.com>
31618
4920765e
UD
31619 [BZ #13538]
31620 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31621 EPOLLET with unsigned values.
31622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31624
e3a851a2
UD
31625 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31626 to large cancellation.
31627 * math/s_cacoshf.c: Likewise.
31628 * math/s_cacoshl.c: Likewise.
31629
b27e24b8
RK
316302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31631
31632 [BZ #13305]
aebefeee 31633 [BZ #12786]
b27e24b8
RK
31634 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31635 * math/s_cacoshf.c: Likewise.
31636 * math/s_cacoshl.c: Likewise.
31637
ee190f67
UD
316382011-12-21 Ulrich Drepper <drepper@gmail.com>
31639
31640 [BZ #13439]
31641 * iconv/gconv.h: Define __GCONV_SWAP.
31642 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31643 * iconvdata/utf-16.c: Likewise.
31644 * iconvdata/utf-32.c: Likewise.
31645
707f25df
AS
316462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31647
31648 [BZ #13524]
31649 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31650 numerator after shifting it by one limb.
31651
d2daaa1e
RÁE
316522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31653
31654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31655 under [__USE_EXTERN_INLINES].
31656
a4647e72
UD
316572011-12-17 Ulrich Drepper <drepper@gmail.com>
31658
31659 [BZ #13446]
31660 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31661
f0b264f1
AZ
316622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31663
31664 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31665 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31666 optimized code.
31667 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31669 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31670 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31671 for strncasecmp/strncasecmp_l compilation.
31672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31673 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31674
8ef4f244
MP
316752011-12-08 Marek Polacek <mpolacek@redhat.com>
31676
31677 [BZ #13484]
31678 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31679 of __asm__.
31680
97ac2654
UD
316812011-12-17 Ulrich Drepper <drepper@gmail.com>
31682
31683 [BZ #13506]
31684 * time/tzfile.c (__tzfile_read): Check values from file header.
31685
91d2a845
WS
316862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31687
31688 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31689 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31690 * powerpc/powerpc32/dl-start.S: Likewise.
31691 * powerpc/powerpc32/elf/start.S: Likewise.
31692 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31693 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31694 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31695 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31696 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31697 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31698 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31699 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31700 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31701 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31702 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31703 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31704 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31705 * powerpc/powerpc32/memset.S: Likewise.
31706 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31707 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31708 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31709 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31710 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31711 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31712 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31713 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31714 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31715 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31719
a1267ba1
AZ
317202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31721
31722 * math/libm-test.inc: Added more nearbyint tests.
31723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31727
ad8ac1bd
RL
317282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31729
31730 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31731 FD_CLOEXEC.
31732
1d3e4b61
UD
317332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31734
31735 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31736 Add wcscpy-ssse3 wcscpy-c.
31737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31738 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31739 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31740 * sysdeps/x86_64/wcschr.S: New file.
31741 * sysdeps/x86_64/wcsrchr.S: New file.
31742 * string/test-strcmp.c: Remove checking of wcscmp function for
31743 wrong alignments.
31744 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31745 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31746 wcsrchr-sse2 wcsrchr-c.
31747 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31748 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31749 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31750 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31751 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31752 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31753 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31754 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31756 * wcsmbc/wcschr.c (WCSCHR): New macro.
31757
5b330a2d
UD
317582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31759
31760 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31761 * wcsmbs/test-wcsrchr.c: New file.
31762 * string/test-strrchr.c: Add wcsrchr support.
31763 (WIDE): New macro.
31764 * wcsmbs/test-wcscpy.c: New file.
31765 * string/test-strcpy.c: Add wcscpy support.
31766 (WIDE): New macro.
26428b7c 31767
f039c043
UD
317682011-12-10 Ulrich Drepper <drepper@gmail.com>
31769
31770 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31771 the inner loop.
31772
850fb039
AS
317732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31774
31775 [BZ #13472]
31776 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31777
4efbd5cb
UD
317782011-12-04 Ulrich Drepper <drepper@gmail.com>
31779
52ff5dd0 31780 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31781 Minor optimizations.
52ff5dd0 31782
4efbd5cb
UD
31783 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31784 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31785 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31786
8a426e12
UD
317872011-12-03 Ulrich Drepper <drepper@gmail.com>
31788
aff2453d
UD
31789 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31790 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31791 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31792 for gcc to avoid warnings.
31793 * inet/Makefile (tests): Add tst-checks.
31794 * inet/tst-checks.c: New file.
31795
31796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31797 warning.
31798
31799 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31800 __wmemcmp_sse2.
31801
31802 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31803 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31804
8a426e12
UD
31805 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31806
9bea3473
UD
318072011-12-02 Ulrich Drepper <drepper@gmail.com>
31808
3a965496
UD
31809 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31810 problem.
31811
9bea3473
UD
31812 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31813
f101631b
UD
318142011-11-29 Joseph Myers <joseph@codesourcery.com>
31815
31816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31817 conditional on GCC version.
31818 (__arch_compare_and_exchange_val_8_acq)
31819 (__arch_compare_and_exchange_val_16_acq)
31820 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31821 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31822 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31823
a98275aa
UD
318242011-12-02 Joseph Myers <joseph@codesourcery.com>
31825
31826 * sysdeps/sh/backtrace.c: New file.
31827
d4cc29a2
AS
318282011-12-02 Andreas Schwab <schwab@redhat.com>
31829
31830 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31831 parenthesis.
31832
6257af2d
AS
318332011-12-01 Andreas Schwab <schwab@redhat.com>
31834
31835 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31836 falling back to utime.
31837
b5f44c1a
AS
318382011-11-30 Andreas Schwab <schwab@redhat.com>
31839
31840 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31841 expectations for float.
31842
f3a6cc0a
AS
318432011-11-29 Andreas Schwab <schwab@redhat.com>
31844
31845 * locale/weight.h (findidx): Add parameter len.
31846 * locale/weightwc.h (findidx): Likewise.
31847 * posix/fnmatch_loop.c (FCT): Adjust caller.
31848 * posix/regcomp.c (build_equiv_class): Likewise.
31849 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31850 * posix/regexec.c (check_node_accept_bytes): Likewise.
31851 * string/strcoll_l.c (STRCOLL): Likewise.
31852 * string/strxfrm_l.c (STRXFRM): Likewise.
31853
9d65ea3a
UD
318542011-11-17 Ulrich Drepper <drepper@gmail.com>
31855
31856 * Makefile.in: Remove CVSOPT handling.
31857 * configure.in: Remove use of AC_REVISION.
31858 * iconvdata/Makefile (distribute): No need to filter out CVS.
31859 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31860 handling.
31861
5583a086
AS
318622011-11-16 Andreas Schwab <schwab@redhat.com>
31863
31864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31865 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31866 [USE_AS_STRNCASECMP_L]: Likewise.
31867 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31868 NO_TLS_DIRECT_SEG_REFS.
31869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31870 Fix argument offsets for non-PIC.
31871 [USE_AS_STRNCASECMP_L]: Likewise.
31872 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31873 NO_TLS_DIRECT_SEG_REFS.
31874
d62a8200
UD
318752011-11-15 Ulrich Drepper <drepper@gmail.com>
31876
9d65ea3a 31877 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31878 O_CLOEXEC.
31879 * locale/loadlocale.c (_nl_load_locale): Likewise.
31880
09f93bd3
AS
318812011-11-15 Andreas Schwab <schwab@redhat.com>
31882
446514f9
AS
31883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31884 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31886 (SYSCALL_GETTIME): Set errno on error.
31887
09f93bd3
AS
31888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31889 count references to noai6ai_cached.
31890
312be3f9
UD
318912011-11-15 Ulrich Drepper <drepper@gmail.com>
31892
31893 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31894
31895 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31896 FD_CLOEXEC for /proc/self/maps.
31897
31898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31899 FD_CLOEXEC for /proc/meminfo.
31900
31901 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31902 gai.conf.
31903
31904 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31905 FD_CLOEXEC for given file.
31906
31907 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31908
31909 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31910 FD_CLOEXEC for /etc/hosts.
31911 (_gethtent): Likewise.
31912
31913 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31914
31915 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31916 cancellation and set FD_CLOEXEC for /etc/netgroup.
31917
31918 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31919 reading /etc/publickey.
31920
31921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31922 allow cancellation when reading /etc/group.
31923
31924 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31925 cancellation.
31926 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31927
31928 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31929 when using data file.
31930
31931 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31932
31933 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31934 (write_nis_obj): Use "c" and "e" in fopen.
31935
31936 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31937
31938 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31939
31940 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31941
31942 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31943
31944 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31945 locale.alias.
31946
31947 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31948
31949 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31950
31951 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31952
31953 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31954 file parsing and set FD_CLOEXEC.
31955
82af0fa8
UD
319562011-11-14 Ulrich Drepper <drepper@gmail.com>
31957
31958 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31959
a5fb313c
AS
319602011-11-14 Andreas Schwab <schwab@redhat.com>
31961
31962 * malloc/arena.c (arena_get2): Don't call reused_arena when
31963 _int_new_arena failed.
31964
6abf3465
UD
319652011-11-14 Ulrich Drepper <drepper@gmail.com>
31966
31967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31968 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31973 to compile strcasecmp and strncasecmp.
31974 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31975 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31976
31977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31978
76e3966e
UD
319792011-11-13 Ulrich Drepper <drepper@gmail.com>
31980
31981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31982 locale-defines.sym to gen-as-const-headers.
31983 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31984 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31986 to compile strcasecmp and strncasecmp.
31987 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31988 strcasecmp_l and strncasecmp_l.
31989 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31990 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31991 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31993 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31995 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31996 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31997 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31998 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31999 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32000
ab26144e
UD
320012011-11-12 Ulrich Drepper <drepper@gmail.com>
32002
7edb22ef
UD
32003 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32004 result of SYSDEP_GETTIME_CPU to retval.
32005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32006 parameter list to macro. Remove trailing semicolon. Adjust users.
32007
9694fc44
UD
32008 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32009 variable.
32010
8ad89ef8
UD
32011 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32012 mantissa words.
32013 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32014
0c822ef9
UD
32015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32016 from unused variable.
32017
874e0564
UD
32018 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32019 DWARF definitions.
32020 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32021 for assembling.
32022
3a2edc79
UD
32023 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32024 over namespaces.
32025
f3c2577f
UD
32026 * sunrpc/rpc_prot.c (rejected): Fix case value.
32027
294ce126
UD
32028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32029 unsigned long long int to avoid warnings in shift.
32030
5e2b63c6
UD
32031 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32032 of use of trans.
32033 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32034 variable tmp.
32035
e7f4b08e
UD
32036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32037 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32039
ab26144e
UD
32040 * nis/nis_table.c (nis_list): Use variable of correct type for
32041 result of __follow_path call.
32042
8a6d5255
AZ
320432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32044
32045 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32046 of math functions ceil, trunc, floor, round, and sqrt, when
32047 avaliable on the platform.
32048 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32049 name clash.
32050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32052 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32053
aaddc98c
MP
320542011-10-30 Marek Polacek <mpolacek@redhat.com>
32055
32056 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32058
95b7042b
RM
320592011-11-11 Roland McGrath <roland@hack.frob.com>
32060
32061 * include/unistd.h: Fix __readlink return type.
32062 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32063
57769839
UD
320642011-11-11 Ulrich Drepper <drepper@gmail.com>
32065
32066 * stdlib/ucontext.h: Undo last change for makecontext.
32067
edc5984d
AS
320682011-11-11 Andreas Schwab <schwab@redhat.com>
32069
98591e58
AS
32070 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32071
edc5984d
AS
32072 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32073 * setjmp/setjmp.h: Mark functions as non-leaf.
32074 * setjmp/bits/setjmp2.h: Likewise.
32075 * stdlib/ucontext.h: Likewise.
32076
77cdc054
AS
320772011-11-10 Andreas Schwab <schwab@redhat.com>
32078
32079 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32080 (reused_arena): Don't check arena limit.
32081 (arena_get2): Atomically check arena limit.
32082
fe72eebd
UD
320832011-11-08 Ulrich Drepper <drepper@gmail.com>
32084
5f078c32
UD
32085 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32086 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32087
fe72eebd
UD
32088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32089 instructions.
32090
ae1bc2fa
AS
320912011-11-07 Andreas Schwab <schwab@redhat.com>
32092
7583a88d
AS
32093 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32094 handler when locking.
32095
ae1bc2fa
AS
32096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32097 Fix size of allocated buffer.
32098
10fb0bfa
AS
320992011-11-04 Andreas Schwab <schwab@redhat.com>
32100
998832a4
AS
32101 [BZ #10103]
32102 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32103 declarations for long double functions.
32104 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32105
10fb0bfa
AS
32106 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32107
3d7ba52b
AS
321082011-11-03 Andreas Schwab <schwab@redhat.com>
32109
a9ae54a1
AS
32110 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32111 installed.
32112
3d7ba52b
AS
32113 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32114 is disabled.
32115
bc8db248
ST
321162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32117
32118 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32119
45b96dd6
AS
321202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32121
647776f6
AS
32122 * include/alloca.h (stackinfo_alloca_round): Define.
32123 (extend_alloca): Use it.
32124 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32125 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32126 here.
32127
d91a8b93
AS
32128 * scripts/check-local-headers.sh: Ignore libaudit.h.
32129
45b96dd6
AS
32130 * nscd/Makefile (extra-objs): Make recursively expanded.
32131
432d41ce
UD
321322011-11-01 Ulrich Drepper <drepper@gmail.com>
32133
34372fc6
UD
32134 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32136
fadb59f8
UD
32137 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32138 * posix/tst-rfc3484-2.c: Likewise.
32139 * posix/tst-rfc3484-3.c: Likewise.
32140
78239589
UD
32141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32142 process_vm_writev.
32143 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32144 process_vm_writev.
32145 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32146 process_vm_writev from libc using GLIBC_2.15 version.
32147
432d41ce
UD
32148 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32149
02f9c6cf
PP
321502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32151
32152 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32153 stack usage.
32154
3a2c0242
UD
321552011-10-31 Ulrich Drepper <drepper@gmail.com>
32156
f4ec4833
UD
32157 [BZ #13367]
32158 * nss/getent.c (initgroups_keys): Show error message in case no group
32159 names are given.
32160
3a2c0242
UD
32161 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32162 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32163 __bump_nl_timestamp.
32164 * nscd/connections (nscd_init): When host database is served open
32165 netlink socket and request notification about configuration changes.
32166 (main_loop_poll): Track netlink file descriptor and bump timestamp
32167 in case data becomes available.
32168 (main_loop_epoll): Likewise.
32169 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32170 (database_pers_head): Add extra_data fileds.
32171 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32173 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32174 Adjust caller.
32175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32176 in6ai data, call __free_in6ai.
32177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32178 Add -DHAVE_NETLINK.
32179 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32180 interface information. Reuse previous data if netlink timestamp
32181 is not changed.
32182 (__bump_nl_timestamp): New function.
32183 (__free_in6ai): New function.
32184
636064eb
UD
321852011-10-30 Ulrich Drepper <drepper@gmail.com>
32186
32187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32188 close_not_cancel_no_status here.
32189 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32190
9beb2334
UD
321912011-10-29 Ulrich Drepper <drepper@gmail.com>
32192
6ef76f3b
UD
32193 [BZ #13276]
32194 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32195 return value.
32196
0ffc4f3e 32197 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32198 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32199 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32200
cb95113e
UD
322012011-07-03 Andreas Jaeger <aj@suse.de>
32202
32203 [BZ #10709]
32204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32205 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32206 * math/libm-test.inc (sin_test): Add test case.
32207
a1b560ff
UD
322082011-10-29 Ulrich Drepper <drepper@gmail.com>
32209
c9aaface
UD
32210 [BZ #13337]
32211 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32213
d272e7f1
UD
32214 * elf/chroot_canon.c (chroot_canon): Cleanups.
32215
1bc33071
UD
32216 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32217
1760874d
TJ
32218 [BZ #13335]
32219 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32221
51d91b18
UD
32222 * string/test-strchr.c: Make usable for strchrnul testing.
32223 * string/test-strchrnul.c: New file.
32224 * string/Makefile (strop-tests): Add strchrnul.
32225
a1b560ff 32226 * po/it.po: Update from translation team.
b611fb81 32227 * po/es.po: Likewise.
a1b560ff 32228
a5b81e1f
UD
322292011-10-28 Ulrich Drepper <drepper@gmail.com>
32230
fd52bc6d
UD
32231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32232 the three constants needed as parameters. Drop the others.
32233 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32234 __m128i_strloadu_tolower.
52e4b9eb
UD
32235 Create and initialize variable zero and use it in all the places
32236 where _mm_setzero_si128 was used.
fd52bc6d 32237
a5b81e1f
UD
32238 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32239 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32240 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32242 anymore.
32243 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32246 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32248 __mpranred, __mptan.
32249 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32250 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32251 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32252 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32253 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32254 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32258
b4343346
AS
322592011-10-28 Andreas Schwab <schwab@redhat.com>
32260
0c92d8a8
AS
32261 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32262 redefine if SHARED.
32263 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32264
b4343346
AS
32265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32266 wide char related routines to wcsmbs subdir.
32267
3871f58f
AS
322682011-10-27 Andreas Schwab <schwab@redhat.com>
32269
32270 [BZ #13344]
32271 * misc/sys/cdefs.h (__THROWNL): Define.
32272 * posix/unistd.h: Use __THREADNL instead of __THREAD
32273 for memory synchronization functions.
32274
94d44d9f
RM
322752011-10-26 Roland McGrath <roland@hack.frob.com>
32276
21b64b15 32277 [BZ #13349]
94d44d9f
RM
32278 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32279 doesn't exist.
32280 * manual/stdio.texi (Obstack Streams): Node removed.
32281
f6ce9294
AS
322822011-10-26 Andreas Schwab <schwab@redhat.com>
32283
80479147
AS
32284 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32287
f6ce9294
AS
32288 * math/math_private.h (math_force_eval): Allow non-addressable
32289 arguments.
32290 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32291
618280a1
UD
322922011-10-25 Ulrich Drepper <drepper@gmail.com>
32293
e0016b11
UD
32294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32295 file is not needed.
32296
32297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32304 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32305 Add AVX variants.
32306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32311 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32312 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32314 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32315 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32316 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32324 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32325
32326 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32327 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32328
618280a1
UD
32329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32330 place. Use VEX encoding when compiling for AVX.
32331
37822576
AS
323322011-10-25 Andreas Schwab <schwab@redhat.com>
32333
1f1e1947
AS
32334 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32336
37822576
AS
32337 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32338
31ea014d
UD
323392011-10-25 Ulrich Drepper <drepper@gmail.com>
32340
d7826aa1 32341 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32342 useless if() expression.
d7826aa1
UD
32343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32355 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32362
31ea014d
UD
32363 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32364
16437fec
AS
323652011-10-25 Andreas Schwab <schwab@redhat.com>
32366
32367 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32368 condition.
32369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32370
31d3cc00
UD
323712011-10-25 Ulrich Drepper <drepper@gmail.com>
32372
32373 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32374 .text section. Avoid duplicate constants.
32375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32385 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32387 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32411 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32412 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32413 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32414 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32420
58985aa9
UD
324212011-10-24 Ulrich Drepper <drepper@gmail.com>
32422
202c9deb
UD
32423 * sysdeps/x86_64/dla.h: Move to ...
32424 * sysdeps/x86_64/fpu/dla.h: ...here.
32425 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32426 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32427
af968f62
UD
32428 * config.make.in: Add have-mfma4 entry.
32429 * configure.in: Substitute libc_cv_cc_fma4.
32430 * math/Makefile (dbl-only-routines): Add sincostab.
32431 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32432 Use __sincostab not sincos.
32433 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32434 name is a macro.
32435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32439 using __copysign.
32440 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32441 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32442 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32443 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32444 and __inv.
32445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32446 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32447 __copysign.
32448 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32449 define aliases when function name is a macro.
32450 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32451 sysdeps/ieee754/dbl-64/sincos.tbl.
32452 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32453 fma4-enabled routines.
32454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32455 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32456 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32457 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32464 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32467 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32469 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32473 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32484
58985aa9
UD
32485 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32486 rename.
32487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32495
a201fbcf
AS
324962011-10-24 Andreas Schwab <schwab@redhat.com>
32497
32498 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32499
fc2ee42a
LD
325002011-10-23 Ulrich Drepper <drepper@gmail.com>
32501
bb3129bd
UD
32502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32503
0275fff8
UD
32504 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32505 prediction.
32506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32507
2fa2ae85
UD
32508 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32509 Remove unused variable magic_bits.
32510 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32511
fc2ee42a
LD
32512 * string/strnlen.c: Define and use STRNLEN macro.
32513 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32514 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32516 * wcsmbs/wcslen.c: Define and use WCSLEN.
32517 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32518 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32519 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32520 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32521 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32522 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32524
ce7dd29f
LD
325252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32526
32527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32528 strnlen-sse2-no-bsf.
32529 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32531 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32532 Add strnlen support.
32533 (USE_AS_STRNLEN): New macro.
32534 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32535 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32536 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32537 * sysdeps/x86_64/wcslen.S: New file.
32538
979c70a3
MZ
325392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32540
32541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32542 XMM-moves are used for copying on small sizes.
32543
2d09f82f
LD
325442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32545
32546 * wcsmbs/Makefile (strop-tests): Add wcschr.
32547 * wcsmbs/test-wcschr.c: New file.
32548 * string/test-strchr.c: Update.
32549 Add wcschr support.
32550 (WIDE): New macro.
32551
619fccca
LD
325522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32553
2d09f82f 32554 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32555 * wcsmbs/test-wcslen.c: New file.
32556 * string/test-strlen.c: Update.
32557 Add wcslen support.
32558 (WIDE): New macro.
32559
09f699ea
UD
325602011-10-23 Ulrich Drepper <drepper@gmail.com>
32561
32562 * po/it.po: Update from translation team.
32563
95584d3b
LD
325642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32565
32566 * sysdeps/x86_64/wcscmp.S: Update.
32567 Fix wrong comparison semantics.
32568 wcscmp shall use signed comparison not unsigned.
32569 Don't use substraction to avoid overflow bug.
32570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32571 * wcsmbc/wcscmp.c: Likewise.
32572 * string/test-strcmp.c: Likewise.
32573 Add new tests to check cases with negative values.
32574
c8b3296b
UD
325752011-10-23 Ulrich Drepper <drepper@gmail.com>
32576
32577 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32578 * sysdeps/x86_64/dla.h: ...here. New file.
32579 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32588
246ad57a
AS
325892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32590
32591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32592 __ynl_finite aliases.
32593
a1a87169
UD
325942011-10-22 Ulrich Drepper <drepper@gmail.com>
32595
0d355eb7
UD
32596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32597
a1a87169
UD
32598 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32599 define DLA_FMA.
32600 [DLA_FMA] (EMULV): Use DLA_FMA.
32601 [DLA_FMA] (MUL12): Use EMULV.
32602 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32603 that are not needed.
32604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32611
ee2aafe0
AS
326122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32613
32614 * math/s_nan.c: Undef __nan.
32615 * math/s_nanf.c: Undef __nanf.
32616 * math/s_nanl.c: Undef __nanl.
32617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32618 "math_private.h".
32619
bc62c2fb
UD
326202011-10-22 Ulrich Drepper <drepper@gmail.com>
32621
77425c63
UD
32622 * math/s_catan.c: Add branch predictions.
32623 * math/s_catanf.c: Likewise.
32624 * math/s_catanh.c: Likewise.
32625 * math/s_catanhf.c: Likewise.
32626 * math/s_catanhl.c: Likewise.
32627 * math/s_catanl.c: Likewise.
32628 * math/s_cexp.c: Likewise.
32629 * math/s_cexpf.c: Likewise.
32630 * math/s_cexpl.c: Likewise.
32631 * math/s_clog.c: Likewise.
32632 * math/s_clog10.c: Likewise.
32633 * math/s_clog10f.c: Likewise.
32634 * math/s_clog10l.c: Likewise.
32635 * math/s_clogf.c: Likewise.
32636 * math/s_clogl.c: Likewise.
32637 * math/s_csqrt.c: Likewise.
32638 * math/s_csqrtf.c: Likewise.
32639 * math/s_csqrtl.c: Likewise.
32640 * math/s_ctanf.c: Likewise.
32641 * math/s_ctanh.c: Likewise.
32642 * math/s_ctanhf.c: Likewise.
32643 * math/s_ctanhl.c: Likewise.
32644 * math/s_ctanl.c: Likewise.
32645
bc62c2fb
UD
32646 * math/math_private.h: Define __nan, __nanf, __nanl.
32647 * math/s_cacosh.c: Include <math_private.h>.
32648 * math/s_cacoshl.c: Likewise.
32649 * math/s_casinh.c: Likewise.
32650 * math/s_casinhf.c: Likewise.
32651 * math/s_casinhl.c: Likewise.
32652 * math/s_ccos.c: Rely entire on ccosh.
32653 * math/s_ccosf.c: Rely entire on ccoshf.
32654 * math/s_ccosl.c: Rely entirely on ccoshl.
32655 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32656 Remove tests for FE_INVALID.
32657 * math/s_ccoshf.c: Likewise.
32658 * math/s_ccoshl.c: Likewise.
32659 * math/s_csin.c: Likewise.
32660 * math/s_csinf.c: Likewise.
32661 * math/s_csinh.c Likewise.
32662 * math/s_csinhf.c: Likewise.
32663 * math/s_csinhl.c: Likewise.
32664 * math/s_csinl.c: Likewise.
32665 * math/s_ctan.c: Likewise.
32666 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32667 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32669
8ec250a4
UD
326702011-10-21 Ulrich Drepper <drepper@gmail.com>
32671
c196fed8
UD
32672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32673 compilation problems.
32674
8ec250a4
UD
32675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32676 __builtin_expect.
32677
8d4f46c6
UD
326782011-10-20 Ulrich Drepper <drepper@gmail.com>
32679
ed72b654
UD
32680 * sysdeps/i386/configure.in: Test for -mfma4 option.
32681 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32682 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32683 COMMON_CPUID_INDEX_80000001.
32684 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32685 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32686 use it if FMA3 is not supported.
32687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32688
8d4f46c6
UD
32689 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32691
d45c60c2
AS
326922011-10-20 Andreas Schwab <schwab@redhat.com>
32693
32694 [BZ #12892]
32695 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32696 it would create a cycle with a link time dependency.
32697
d9a4d2ab
UD
326982011-10-19 Ulrich Drepper <drepper@gmail.com>
32699
855d1560
UD
32700 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32701 instruction.
32702 * string/Makefile (strop-tests): Add rawmemchr.
32703 * string/test-rawmemchr.c: New file.
32704
d9a4d2ab
UD
32705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32707 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32708 when compiling str{,n}casecmp and when AVX is available. Hook up
32709 new optimized code in initializers.
32710
8f3b1ffe
AS
327112011-10-19 Andreas Schwab <schwab@redhat.com>
32712
32713 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32714 __feraiseexcept instead of feraiseexcept.
32715
d38f1dba
UD
327162011-10-18 Ulrich Drepper <drepper@gmail.com>
32717
d9a8d0ab
UD
32718 * math/math_private.h: Define defaults for libc_fetestexcept and
32719 libc_feupdateenv.
32720 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32721 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32726 libc_fetestexcept and libc_feupdateenv.
32727
4855e3dd
UD
32728 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32729 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32730 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32731 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32732 libc_feholdexcept_setround.
32733
581d30e3
UD
32734 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32735 Add s_nearbyint-c and s_nearbyintf-c.
32736 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32737 nearbyintf inlines.
32738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32740 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32742
d38f1dba
UD
32743 * math/math_private.h: Define defaults for libc_fegetround,
32744 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32745 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32746 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32748 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32749 standard functions.
32750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32751 Remove comments and hacks for old compiler versions.
32752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32753 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32754 libc_feholdexceptl.
32755
caa6c9d8
AS
327562011-10-18 Andreas Schwab <schwab@redhat.com>
32757
32758 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32759 (__feraiseexcept_renamed): Add __NTH.
32760 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32761 namespace violations.
32762
97c066e6
UD
327632011-10-17 Ulrich Drepper <drepper@gmail.com>
32764
99ce7b04
UD
32765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32766
1004d182
UD
32767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32768
228a984d
UD
32769 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32770 recently added interfaces.
32771 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32772
c8553a6a
UD
32773 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32774 about macro parameter expansion.
32775
ed22dcf6
UD
32776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32777 __NO_MATH_INLINES is defined. Cleanups.
32778
32779 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32780 and __floorf is target has SSE4.1.
32781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32785
b171c137
UD
32786 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32787 name.
32788 (floorf): Likewise.
32789
97c066e6
UD
32790 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32791
629f62ef
AS
327922011-10-17 Andreas Schwab <schwab@redhat.com>
32793
49a43d80
AS
32794 * misc/sys/cdefs.h: Fix last change.
32795
629f62ef
AS
32796 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32797 database lookup.
32798
e453f6cd
UD
327992011-10-16 Ulrich Drepper <drepper@gmail.com>
32800
aa78043a
UD
32801 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32802
ad0f5cad
UD
32803 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32812 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32813 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32814 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32815 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32818 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32820 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32822 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32824 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32825
32826 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32827 ceil, ceilf, floor, floorf.
32828
32829 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32830 Perform IRELATIVE relocations last.
32831
e453f6cd
UD
32832 * elf/do-rel.h: Add another parameter nrelative, replacing the
32833 local variable with the same name. Change name of the function
32834 to end in Rel or Rela (uppercase).
32835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32836 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32837 elf_dynamic_do_##reloc function.
32838
fd5bdc09
UD
328392011-10-15 Ulrich Drepper <drepper@gmail.com>
32840
79b195b5
UD
32841 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32842 is sufficient, at least on modern CPUs.
32843
d4a28569
UD
32844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32845
b61099b5
UD
32846 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32848
bcf01e6d
UD
32849 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32850 __expl_finite.
32851 * math/bits/math-finite.h: Add entries for exp.
32852 * math/e_expl.c: Add __*_finite alias.
32853 * sysdeps/i386/fpu/e_exp.S: Likewise.
32854 * sysdeps/i386/fpu/e_expf.S: Likewise.
32855 * sysdeps/i386/fpu/e_expl.c: Likewise.
32856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32857 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32858 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32860 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32863
ba1a0d59
UD
32864 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32865 is sufficient, at least on modern CPUs.
32866
fd5bdc09
UD
32867 * ctype/ctype-info.c (__ctype_init): Define.
32868 * include/ctype.h (__ctype_init): Declare.
32869 (__ctype_b_loc): The variable is always initialized.
32870 (__ctype_toupper_loc): Likewise.
32871 (__ctype_tolower_loc): Likewise.
32872 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32873 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32874
7872cfb0
AS
328752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32876
b468825a
AS
32877 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32878
7872cfb0
AS
32879 * configure.in: Also look in $cxxmachine/include for C++ system
32880 headers.
32881
be13f7bf
LD
328822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32883
32884 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32885 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32886 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32887 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32889 (USE_AS_WMEMCMP): New macro.
32890 Fixing indents.
32891 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32892 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32893 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32894 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32896 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32897 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32899 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32900 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32902 (USE_AS_WMEMCMP): New macro.
32903 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32904 * sysdeps/string/test-memcmp.c: Update.
32905 Fix simple_wmemcmp.
32906 Add new tests.
32907 * wcsmbs/wmemcmp.c: Update.
32908 (WMEMCMP): New macro.
32909 Fix overflow bug.
32910
556a2007
AJ
329112011-10-12 Andreas Jaeger <aj@suse.de>
32912
32913 [BZ #13268]
32914 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32915
538faaa7
UD
329162011-10-15 Ulrich Drepper <drepper@gmail.com>
32917
ab6737ff
UD
32918 * libio/iofwide.c (do_length): Avoid warning.
32919
538faaa7
UD
32920 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32921
396a21b1
UD
329222011-10-14 Ulrich Drepper <drepper@gmail.com>
32923
cdf2901f
UD
32924 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32925
38ad40ce
UD
32926 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32927 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32928 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32929 * sysdeps/i386/i686/fpu/e_log.S: New file.
32930 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32931 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32932
396a21b1
UD
32933 * ctype/ctype.h: Add support for inlined isXXX functions when
32934 compiling C++ code.
32935
6b1f68c9
AS
329362011-10-14 Andreas Schwab <schwab@redhat.com>
32937
349290c0
AS
32938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32939
6b1f68c9
AS
32940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32941
f2282d42
RM
329422011-10-13 Roland McGrath <roland@hack.frob.com>
32943
32944 [BZ #13291]
32945 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32946
5298ffa8
AS
329472011-10-13 Andreas Schwab <schwab@redhat.com>
32948
714fad23
AS
32949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32950 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32951 feraiseexcept.
32952
81dcc7fb
AS
32953 * sysdeps/x86_64/memrchr.S: Check for zero size.
32954
5298ffa8
AS
32955 * string/stratcliff.c: Add memrchr tests.
32956
951fbcec
LD
329572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32958
32959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32960 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32961 rawmemchr-sse2 rawmemchr-sse2-bsf.
32962 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32963 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32964 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32965 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32966 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32967 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32968 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32969 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32970 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32972 * string/memrchr.c (MEMRCHR): New macro.
32973
0ac5ae23
UD
329742011-10-12 Ulrich Drepper <drepper@gmail.com>
32975
32976 Add integration with gcc's -ffinite-math-only and optimize wrapper
32977 functions in libm.
32978 * Versions.def: Define GLIBC_2.15 version for libm.
32979 * math/Makefile (headers): Add bits/math-finite.h.
32980 * math/bits/math-finite.h: New file.
32981 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32982 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32983 * math/e_acoshl.c: Add __*_finite alias.
32984 * math/e_acosl.c: Likewise.
32985 * math/e_asinl.c: Likewise.
32986 * math/e_atan2l.c: Likewise.
32987 * math/e_atanhl.c: Likewise.
32988 * math/e_coshl.c: Likewise.
32989 * math/e_exp10.c: Likewise.
32990 * math/e_exp10f.c: Likewise.
32991 * math/e_exp10l.c: Likewise.
32992 * math/e_exp2l.c: Likewise.
32993 * math/e_fmodl.c: Likewise.
32994 * math/e_gammal_r.c: Likewise.
32995 * math/e_hypotl.c: Likewise.
32996 * math/e_j0l.c: Likewise.
32997 * math/e_j1l.c: Likewise.
32998 * math/e_jnl.c: Likewise.
32999 * math/e_lgammal_r.c: Likewise.
33000 * math/e_log10l.c: Likewise.
33001 * math/e_log2l.c: Likewise.
33002 * math/e_logl.c: Likewise.
33003 * math/e_powl.c: Likewise.
33004 * math/e_sinhl.c: Likewise.
33005 * math/e_sqrtl.c: Likewise.
33006 * math/e_scalb.c: Completely rewritten and optimized.
33007 * math/e_scalbf.c: Likewise.
33008 * math/e_scalbl.c: Likewise.
33009 * math/w_acos.c: Likewise.
33010 * math/w_acosf.c: Likewise.
33011 * math/w_acosl.c: Likewise.
33012 * math/w_acosh.c: Likewise.
33013 * math/w_acoshf.c: Likewise.
33014 * math/w_acoshl.c: Likewise.
33015 * math/w_asin.c: Likewise.
33016 * math/w_asinf.c: Likewise.
33017 * math/w_asinl.c: Likewise.
33018 * math/w_atan2.c: Likewise.
33019 * math/w_atan2f.c: Likewise.
33020 * math/w_atan2l.c: Likewise.
33021 * math/w_atanh.c: Likewise.
33022 * math/w_atanhf.c: Likewise.
33023 * math/w_atanhl.c: Likewise.
33024 * math/w_exp10.c: Likewise.
33025 * math/w_exp10f.c: Likewise.
33026 * math/w_exp10l.c: Likewise.
33027 * math/w_fmod.c: Likewise.
33028 * math/w_fmodf.c: Likewise.
33029 * math/w_fmodl.c: Likewise.
33030 * math/w_j0.c: Likewise.
33031 * math/w_j0f.c: Likewise.
33032 * math/w_j0l.c: Likewise.
33033 * math/w_j1.c: Likewise.
33034 * math/w_j1f.c: Likewise.
33035 * math/w_j1l.c: Likewise.
33036 * math/w_jn.c: Likewise.
33037 * math/w_jnf.c: Likewise.
33038 * math/w_log.c: Likewise.
33039 * math/w_logf.c: Likewise.
33040 * math/w_logl.c: Likewise.
33041 * math/w_log10.c: Likewise.
33042 * math/w_log10f.c: Likewise.
33043 * math/w_log10l.c: Likewise.
33044 * math/w_log2.c: Likewise.
33045 * math/w_log2f.c: Likewise.
33046 * math/w_log2l.c: Likewise.
33047 * math/w_pow.c: Likewise.
33048 * math/w_powf.c: Likewise.
33049 * math/w_powl.c: Likewise.
33050 * math/w_remainder.c: Likewise.
33051 * math/w_remainderf.c: Likewise.
33052 * math/w_remainderl.c: Likewise.
33053 * math/w_scalb.c: Likewise.
33054 * math/w_scalbf.c: Likewise.
33055 * math/w_scalbl.c: Likewise.
33056 * math/w_sqrt.c: Likewise.
33057 * math/w_sqrtf.c: Likewise.
33058 * math/w_sqrtl.c: Likewise.
33059 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33060 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33061 used.
33062 * math/math_private.h: Declare __kernel_standard_f.
33063 * math/w_cosh.c: Remove cruft and optimize a bit.
33064 * math/w_coshf.c: Likewise.
33065 * math/w_coshl.c: Likewise.
33066 * math/w_exp2.c: Likewise.
33067 * math/w_exp2f.c: Likewise.
33068 * math/w_exp2l.c: Likewise.
33069 * math/w_hypot.c: Likewise.
33070 * math/w_hypotf.c: Likewise.
33071 * math/w_hypotl.c: Likewise.
33072 * math/w_lgamma.c: Likewise.
33073 * math/w_lgamma_r.c: Likewise.
33074 * math/w_lgammaf.c: Likewise.
33075 * math/w_lgammaf_r.c: Likewise.
33076 * math/w_lgammal.c: Likewise.
33077 * math/w_lgammal_r.c: Likewise.
33078 * math/w_sinh.c: Likewise.
33079 * math/w_sinhf.c: Likewise.
33080 * math/w_sinhl.c: Likewise.
33081 * math/w_tgamma.c: Likewise.
33082 * math/w_tgammaf.c: Likewise.
33083 * math/w_tgammal.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33086 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33087 Minor optimizations. Pretty printing. Remove cruft.
33088 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33092 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33093 * sysdeps/i386/fpu/e_asin.S: Likewise.
33094 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33095 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33096 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33097 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33101 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33102 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33103 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33104 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33105 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33106 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33107 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33108 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33109 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33110 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33111 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33112 * sysdeps/i386/fpu/e_log.S: Likewise.
33113 * sysdeps/i386/fpu/e_log10.S: Likewise.
33114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33116 * sysdeps/i386/fpu/e_log2.S: Likewise.
33117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33118 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33119 * sysdeps/i386/fpu/e_logf.S: Likewise.
33120 * sysdeps/i386/fpu/e_logl.S: Likewise.
33121 * sysdeps/i386/fpu/e_pow.S: Likewise.
33122 * sysdeps/i386/fpu/e_powf.S: Likewise.
33123 * sysdeps/i386/fpu/e_powl.S: Likewise.
33124 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33125 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33126 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33128 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33130 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33131 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33132 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33230 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33231 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33232 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33233 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33234 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33235 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33236 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33241 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33242 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33243 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33244 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33245 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33246 (__isnanf): Likewise.
33247 (__isinf_ns): Likewise.
33248 (__isinf_nsf): Likewise.
33249 (__finite): Likewise.
33250 (__finitef): Likewise.
33251 (__ieee754_sqrt): Define as macro.
33252 (__ieee754_sqrtf): Define as macro.
33253 (__ieee754_sqrtl): Define as macro.
33254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33255 inlined copy.
33256 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33257 __FINITE_MATH_ONLY__ consistent.
33258 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33259
12cc2fcd
AS
332602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33261
a843a204
AS
33262 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33263 of rawmemchr.
33264
12cc2fcd
AS
33265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33266
c853acd5
UD
332672011-10-09 Ulrich Drepper <drepper@gmail.com>
33268
33269 * po/ja.po: Update from translation team.
33270
c658d255
RM
332712011-10-08 Roland McGrath <roland@hack.frob.com>
33272
110946e4
RM
33273 * locale/programs/locarchive.c (prepare_address_space): New function.
33274 (create_archive, enlarge_archive, open_archive): Use it.
33275
50604220
RM
33276 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33277 inside [SHARED], where it is used.
33278
c658d255
RM
33279 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33280
33281 * nss/getent.c (netgroup_keys): Remove unused variable.
33282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33283
6a621eb7
UD
332842011-10-08 Ulrich Drepper <drepper@gmail.com>
33285
7edb55ce
UD
33286 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33292 * math/Makefile (libm-calls): Add s_isinf_ns.
33293 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33294 * math/multc3.c: Likewise.
33295 * math/s_casin.c: Likewise.
33296 * math/s_casinf.c: Likewise.
33297 * math/s_casinl.c: Likewise.
33298 * math/s_ccos.c: Likewise.
33299 * math/s_ccosf.c: Likewise.
33300 * math/s_ccosl.c: Likewise.
33301 * math/s_ctan.c: Likewise.
33302 * math/s_ctanf.c: Likewise.
33303 * math/s_ctanh.c: Likewise.
33304 * math/s_ctanhf.c: Likewise.
33305 * math/s_ctanhl.c: Likewise.
33306 * math/s_ctanl.c: Likewise.
33307 * math/w_fmod.c: Likewise.
33308 * math/w_fmodf.c: Likewise.
33309 * math/w_fmodl.c: Likewise.
33310 * math/w_remainder.c: Likewise.
33311 * math/w_remainderf.c: Likewise.
33312 * math/w_remainderl.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33314 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33317 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33318 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33319 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33320 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33321
187da0ae
UD
33322 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33323 of the number.
33324 * stdio-common/printf_fphex.c: Likewise.
33325 * stdio-common/printf_size.c: Likewise.
33326
9277c064
UD
33327 * math/e_exp10.c: Include math_private.h using <...> not "...".
33328 * math/e_exp10f.c: Likewise.
33329 * math/e_exp10l.c: Likewise.
33330 * math/e_exp2l.c: Likewise.
33331 * math/e_j0l.c: Likewise.
33332 * math/e_j1l.c: Likewise.
33333 * math/e_jnl.c: Likewise.
33334 * math/e_lgammal_r.c: Likewise.
33335 * math/e_rem_pio2l.c: Likewise.
33336 * math/e_scalb.c: Likewise.
33337 * math/e_scalbf.c: Likewise.
33338 * math/e_scalbl.c: Likewise.
33339 * math/k_cosl.c: Likewise.
33340 * math/k_sinl.c: Likewise.
33341 * math/k_tanl.c: Likewise.
33342 * math/s_cacoshf.c: Likewise.
33343 * math/s_catan.c: Likewise.
33344 * math/s_catanf.c: Likewise.
33345 * math/s_catanh.c: Likewise.
33346 * math/s_catanhf.c: Likewise.
33347 * math/s_catanhl.c: Likewise.
33348 * math/s_catanl.c: Likewise.
33349 * math/s_ccosh.c: Likewise.
33350 * math/s_ccoshf.c: Likewise.
33351 * math/s_ccoshl.c: Likewise.
33352 * math/s_cexp.c: Likewise.
33353 * math/s_cexpf.c: Likewise.
33354 * math/s_cexpl.c: Likewise.
33355 * math/s_clog.c: Likewise.
33356 * math/s_clog10.c: Likewise.
33357 * math/s_clog10f.c: Likewise.
33358 * math/s_clog10l.c: Likewise.
33359 * math/s_clogf.c: Likewise.
33360 * math/s_clogl.c: Likewise.
33361 * math/s_csin.c: Likewise.
33362 * math/s_csinf.c: Likewise.
33363 * math/s_csinh.c: Likewise.
33364 * math/s_csinhf.c: Likewise.
33365 * math/s_csinhl.c: Likewise.
33366 * math/s_csinl.c: Likewise.
33367 * math/s_csqrt.c: Likewise.
33368 * math/s_csqrtf.c: Likewise.
33369 * math/s_csqrtl.c: Likewise.
33370 * math/s_ctan.c: Likewise.
33371 * math/s_ctanf.c: Likewise.
33372 * math/s_ctanh.c: Likewise.
33373 * math/s_ctanhf.c: Likewise.
33374 * math/s_ctanhl.c: Likewise.
33375 * math/s_ctanl.c: Likewise.
33376 * math/s_ldexp.c: Likewise.
33377 * math/s_ldexpf.c: Likewise.
33378 * math/s_ldexpl.c: Likewise.
33379 * math/s_significand.c: Likewise.
33380 * math/s_significandf.c: Likewise.
33381 * math/s_significandl.c: Likewise.
33382 * math/w_acos.c: Likewise.
33383 * math/w_acosf.c: Likewise.
33384 * math/w_acosh.c: Likewise.
33385 * math/w_acoshf.c: Likewise.
33386 * math/w_acoshl.c: Likewise.
33387 * math/w_acosl.c: Likewise.
33388 * math/w_asin.c: Likewise.
33389 * math/w_asinf.c: Likewise.
33390 * math/w_asinl.c: Likewise.
33391 * math/w_atan2.c: Likewise.
33392 * math/w_atan2f.c: Likewise.
33393 * math/w_atan2l.c: Likewise.
33394 * math/w_atanh.c: Likewise.
33395 * math/w_atanhf.c: Likewise.
33396 * math/w_atanhl.c: Likewise.
33397 * math/w_cosh.c: Likewise.
33398 * math/w_coshf.c: Likewise.
33399 * math/w_coshl.c: Likewise.
33400 * math/w_dremf.c: Likewise.
33401 * math/w_exp10.c: Likewise.
33402 * math/w_exp10f.c: Likewise.
33403 * math/w_exp10l.c: Likewise.
33404 * math/w_exp2.c: Likewise.
33405 * math/w_exp2f.c: Likewise.
33406 * math/w_fmod.c: Likewise.
33407 * math/w_fmodf.c: Likewise.
33408 * math/w_fmodl.c: Likewise.
33409 * math/w_hypot.c: Likewise.
33410 * math/w_hypotf.c: Likewise.
33411 * math/w_hypotl.c: Likewise.
33412 * math/w_j0.c: Likewise.
33413 * math/w_j0f.c: Likewise.
33414 * math/w_j0l.c: Likewise.
33415 * math/w_j1.c: Likewise.
33416 * math/w_j1f.c: Likewise.
33417 * math/w_j1l.c: Likewise.
33418 * math/w_jn.c: Likewise.
33419 * math/w_jnf.c: Likewise.
33420 * math/w_jnl.c: Likewise.
33421 * math/w_lgamma.c: Likewise.
33422 * math/w_lgamma_r.c: Likewise.
33423 * math/w_lgammaf.c: Likewise.
33424 * math/w_lgammaf_r.c: Likewise.
33425 * math/w_lgammal.c: Likewise.
33426 * math/w_lgammal_r.c: Likewise.
33427 * math/w_log.c: Likewise.
33428 * math/w_log10.c: Likewise.
33429 * math/w_log10f.c: Likewise.
33430 * math/w_log10l.c: Likewise.
33431 * math/w_log2.c: Likewise.
33432 * math/w_log2f.c: Likewise.
33433 * math/w_log2l.c: Likewise.
33434 * math/w_logf.c: Likewise.
33435 * math/w_logl.c: Likewise.
33436 * math/w_pow.c: Likewise.
33437 * math/w_powf.c: Likewise.
33438 * math/w_powl.c: Likewise.
33439 * math/w_remainder.c: Likewise.
33440 * math/w_remainderf.c: Likewise.
33441 * math/w_remainderl.c: Likewise.
33442 * math/w_scalb.c: Likewise.
33443 * math/w_scalbf.c: Likewise.
33444 * math/w_scalbl.c: Likewise.
33445 * math/w_sinh.c: Likewise.
33446 * math/w_sinhf.c: Likewise.
33447 * math/w_sinhl.c: Likewise.
33448 * math/w_sqrt.c: Likewise.
33449 * math/w_sqrtf.c: Likewise.
33450 * math/w_sqrtl.c: Likewise.
33451 * math/w_tgamma.c: Likewise.
33452 * math/w_tgammaf.c: Likewise.
33453 * math/w_tgammal.c: Likewise.
33454
6a621eb7
UD
33455 * po/ja.po: Update from translation team.
33456
bf582445
AJ
334572011-09-29 Andreas Jaeger <aj@suse.de>
33458
f9efbf3a
AJ
33459 [BZ #13179]
33460 * sunrpc/netname.c (netname2host): Fix logic.
33461
bf582445
AJ
33462 [BZ #6779]
33463 [BZ #6783]
33464 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33465 correctly.
33466 * math/w_remainder.c (__remainder): Likewise.
33467 * math/w_remainderf.c (__remainderf): Likewise.
33468 * math/libm-test.inc (remainder_test): Add test cases.
33469
48693bea
AK
334702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33471
33472 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33473 sdiv_qrnnd.
33474
42622229
LD
334752011-10-07 Ulrich Drepper <drepper@gmail.com>
33476
33477 * string/test-memcmp.c: Avoid unncessary #defines.
33478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33479
093ecf92
LD
334802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33481
33482 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33483 Use new sse2 version for core i3 - i7 as it's faster
33484 than sse42 version.
33485 (bit_Prefer_PMINUB_for_stringop): New.
33486 * sysdeps/x86_64/rawmemchr.S: Update.
33487 Replace with faster SSE2 version.
33488 * sysdeps/x86_64/memrchr.S: New file.
33489 * sysdeps/x86_64/memchr.S: Update.
33490 Replace with faster SSE2 version.
33491
fde56e5c
MP
334922011-09-12 Marek Polacek <mpolacek@redhat.com>
33493
33494 * elf/dl-load.c (lose): Add cast to avoid warning.
33495
21fd49a9
UD
334962011-10-07 Ulrich Drepper <drepper@gmail.com>
33497
5a06e643
UD
33498 * po/ca.po: Update from translation team.
33499
684ae515
UD
33500 * inet/getnetgrent_r.c: Hook up nscd.
33501 * nscd/Makefile (routines): Add nscd_netgroup.
33502 (nscd-modules): Add netgroupcache.
33503 (CFLAGS-netgroupcache.c): Define.
33504 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33505 (cache_search): Add const to second parameter.
33506 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33507 INNETGR.
33508 (dbs): Add netgrdb entry.
33509 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33510 (verify_persistent_db): Handle netgrdb.
33511 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33512 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33513 GETFDNETGR.
33514 (netgroup_response_header): Define.
33515 (innetgroup_response_header): Define.
33516 (datahead): Add netgroup_response_header and innetgroup_response_header
33517 elements.
33518 * nscd/nscd.conf: Add entries for netgroup cache.
33519 * nscd/nscd.h (dbtype): Add netgrdb.
33520 (_PATH_NSCD_NETGROUP_DB): Define.
33521 (netgroup_iov_disabled): Declare.
33522 (xmalloc, xcalloc, xrealloc): Move declarations here.
33523 (cache_search): Adjust prototype.
33524 Add netgroup-related prototypes.
33525 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33526 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33527 (__nscd_innetgr): Declare.
33528 * nscd/selinux.c (perms): Use access_vector_t as element type and
33529 add netgroup-related initializers.
33530 * nscd/netgroupcache.c: New file.
33531 * nscd/nscd_netgroup.c: New file.
33532 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33533 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33534 For four parameters use innetgr.
33535 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33536 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33537 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33538 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33539
21fd49a9
UD
33540 * nscd/connections.c (register_traced_file): Don't register file
33541 for disabled databases.
33542
054c0457
UD
335432011-10-06 Ulrich Drepper <drepper@gmail.com>
33544
32b63198
UD
33545 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33546
054c0457
UD
33547 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33548 from tree and freeing node.
33549
64031225
JO
335502011-09-25 Jiri Olsa <jolsa@redhat.com>
33551
33552 * nss/nsswitch.c (__nss_database_lookup): Handle
33553 nss_parse_service_list out of memory case.
33554
0490345c
JO
335552011-09-15 Jiri Olsa <jolsa@redhat.com>
33556
33557 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33558 out of memory case.
33559
3a62d00d
AS
335602011-10-04 Andreas Schwab <schwab@redhat.com>
33561
33562 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33563 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33564 pass it down.
33565 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33566 elf_machine_rela, elf_machine_lazy_rel.
33567 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33568 (ELF_DYNAMIC_DO_REL): Likewise.
33569 (ELF_DYNAMIC_DO_RELA): Likewise.
33570 (ELF_DYNAMIC_RELOCATE): Likewise.
33571 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33572 to ELF_DYNAMIC_DO_REL.
33573 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33574 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33575 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33576 elf_machine_rela.
33577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33578 skip_ifunc, don't call ifunc function if non-zero.
33579 (elf_machine_rela): Likewise.
33580 (elf_machine_lazy_rel): Likewise.
33581 (elf_machine_lazy_rela): Likewise.
33582 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33583 (elf_machine_lazy_rel): Likewise.
33584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33585 Likewise.
33586 (elf_machine_lazy_rel): Likewise.
33587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33588 Likewise.
33589 (elf_machine_lazy_rel): Likewise.
33590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33591 (elf_machine_lazy_rel): Likewise.
33592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33593 (elf_machine_lazy_rel): Likewise.
33594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33595 (elf_machine_lazy_rel): Likewise.
33596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33597 (elf_machine_lazy_rel): Likewise.
33598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33599 (elf_machine_lazy_rel): Likewise.
33600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33601 (elf_machine_lazy_rel): Likewise.
33602
68577918
UD
336032011-09-28 Ulrich Drepper <drepper@gmail.com>
33604
33605 * nss/nss_files/files-init.c (_nss_files_init): Use static
33606 initialization for all the *_traced_file variables.
33607
68822d74
AS
336082011-09-28 Andreas Schwab <schwab@redhat.com>
33609
33610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33611
2056100b
RM
336122011-09-27 Roland McGrath <roland@hack.frob.com>
33613
33614 [BZ #13226]
33615 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33616
32c76b63
AS
336172011-09-27 Andreas Schwab <schwab@redhat.com>
33618
33619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33620 Reread the line before reparsing it.
33621
bf972c9d
AS
336222011-09-26 Andreas Schwab <schwab@redhat.com>
33623
33624 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33625
e057a1b5
JM
336262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33627 Maxim Kuvyrkov <maxim@codesourcery.com>
33628 Joseph Myers <joseph@codesourcery.com>
33629
33630 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33631 if needed for __stack_chk_guard.
33632
bc7e1c36
RM
336332011-09-19 Roland McGrath <roland@hack.frob.com>
33634
ecb1482f
RM
33635 * sysdeps/posix/spawni.c (script_execute): Always define it.
33636 It will be optimized away if unused.
33637 (maybe_script_execute): New function.
33638 (__spawni): Call it.
33639
bc7e1c36
RM
33640 * Makerules: Don't include tls.make.
33641 (config-tls): Always set to thread.
33642 * tls.make.c: File removed.
33643
1c3b002b
MF
336442011-09-19 Mike Frysinger <vapier@gentoo.org>
33645
33646 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33647 * config.make.in (CPPFLAGS-config): New substituted variable.
33648
2840865d
UD
336492011-09-15 Ulrich Drepper <drepper@gmail.com>
33650
88738eb6
UD
33651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33652
cbf645a6 33653 [BZ #13192]
2840865d
UD
33654 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33655 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33656
b402e91a
RM
336572011-09-15 Roland McGrath <roland@hack.frob.com>
33658
33659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33660 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33662 (CALL_FAIL): Likewise.
33663 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33664 (CALL_FAIL): Macro removed.
33665 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33666
4c1a1f71
UD
336672011-09-15 Ulrich Drepper <drepper@gmail.com>
33668
33669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33670 for __FINITE_MATH_ONLY__ == 1.
33671
edc121be
AS
336722011-09-15 Andreas Schwab <schwab@redhat.com>
33673
33674 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33675 __ieee754_sqrt instead of sqrt.
33676 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33677 __ieee754_sqrtf instead of sqrtf.
33678 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33679 __floorf instead of floorf.
33680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33681 __floorf, __truncf instead of floorf, truncf.
33682
cd205654
UD
336832011-09-14 Ulrich Drepper <drepper@gmail.com>
33684
ee4d0315
UD
33685 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33686
cd205654
UD
33687 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33688 __extern_always_inline.
33689 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33690 32-bit.
33691
48b67d71
AS
336922011-09-14 Andreas Schwab <schwab@redhat.com>
33693
33694 * elf/rtld.c (dl_main): Also relocate in dependency order when
33695 doing symbol dependency testing.
33696
1ae12c75
AS
336972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33698
33699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33700 Always define `refsym'.
33701
995a80df
AS
337022011-09-13 Andreas Schwab <schwab@redhat.com>
33703
e529793b
AS
33704 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33705 (__FD_ELT): Renamed from __FDELT.
33706 * misc/bits/select2.h (__FD_ELT): Likewise.
33707 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33708 __FD_MASK instead of __FDELT, __FDMASK.
33709 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33710 Likewise.
33711 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33712 Likewise.
33713
52d4fef8
AS
33714 * elf/Makefile (gen-ldd): Fix pattern.
33715
995a80df
AS
33716 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33717 (init_tls): Likewise.
33718
8682f8b0
UD
337192011-09-12 Ulrich Drepper <drepper@gmail.com>
33720
33721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33722
de82006d
AS
337232011-09-12 Andreas Schwab <schwab@redhat.com>
33724
a7c8e6a1
AS
33725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33726 `struct cmsghdr *' instead of `void *'.
33727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33728 Likewise.
33729
0f31fe77
AS
337302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33731
33732 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33733 if non-absolute.
33734 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33735 ldd_rewrite_script.
0f31fe77 33736
32b4c839
UD
337372011-09-11 Ulrich Drepper <drepper@gmail.com>
33738
83cd1420
UD
33739 * configure.in: Remove --with-tls option.
33740 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33741 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33742 out in case it is missing.
33743 * sysdeps/ia64/elf/configure.in: Likewise.
33744 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33745 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33746 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33747 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33748 * sysdeps/sh/elf/configure.in: Likewise.
33749 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33750 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33751 * sysdeps/x86_64/elf/configure.in: Likewise.
33752 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33753 * sysdeps/mach/hurd/tls.h: Likewise.
33754
633f745d
UD
33755 [BZ #13067]
33756 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33757
f318beb8
UD
33758 [BZ #13090]
33759 * configure.in: Fix use of AC_INIT.
33760
32b4c839
UD
33761 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33762
3ce1f295
UD
337632011-09-10 Ulrich Drepper <drepper@gmail.com>
33764
bb016596
UD
33765 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33766 __set_errno.
8e58439c
UD
33767 * malloc/hooks.c: Likewise.
33768
aebae053 33769 [BZ #11929]
02d46fc4
UD
33770 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33771 variables statically.
33772 (narenas): Initialize.
33773 (list_lock): Initialize.
bb016596
UD
33774 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33775 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33776 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33777 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33778 Add initializers to main_arena and mp_.
33779 (malloc_state): Remove pagesize member. Change all users to use
33780 GLRO(dl_pagesize).
33781
33782 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33783 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33784 is always initialized.
33785
22a89187
UD
33786 * malloc/malloc.c: Removed unused configurations and dead code.
33787 * malloc/arena.c: Likewise.
33788 * malloc/hooks.c: Likewise.
02d46fc4 33789 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33790
d063d164
UD
33791 * include/tls.h: Removed. USE___THREAD must always be defined.
33792 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33793 * elf/dl-libc.c: Likewise.
33794 * elf/dl-tsd.c: Likewise.
33795 * include/errno.h: Likewise.
33796 * include/netdb.h: Likewise.
33797 * include/resolv.h: Likewise.
33798 * inet/herrno-loc.c: Likewise.
33799 * inet/herrno.c: Likewise.
33800 * malloc/arena.c: Likewise.
33801 * malloc/hooks.c: Likewise.
33802 * malloc/malloc.c: Likewise.
33803 * resolv/res-state.c: Likewise.
33804 * resolv/res_libc.c: Likewise.
33805 * sysdeps/i386/dl-machine.h: Likewise.
33806 * sysdeps/ia64/dl-machine.h: Likewise.
33807 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33809 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33810 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33811 * sysdeps/sh/dl-machine.h: Likewise.
33812 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33814 * sysdeps/unix/i386/sysdep.S: Likewise.
33815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33816 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33826 * sysdeps/x86_64/dl-machine.h: Likewise.
33827 * tls.make.c: Likewise.
33828
3ce1f295
UD
33829 * configure.in: Remove --with-__thread option. Make tests for
33830 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33831 tls_model attribute fail if no support is available. Remove
33832 USE_IN_LIBIO.
33833 * Makeconfig: Adjust for dropped configure option. All features are
33834 now mandatory.
33835 * Makerules: Likewise.
33836 * Versions.def: Likewise.
33837 * argp/argp-fmtstream.c: Likewise.
33838 * argp/argp-fmtstream.h: Likewise.
33839 * argp/argp-help.c: Likewise.
33840 * assert/assert.c: Likewise.
33841 * config.h.in: Likewise.
33842 * config.make.in: Likewise.
33843 * configure: Likewise.
33844 * configure.in: Likewise.
33845 * csu/Versions: Likewise.
33846 * csu/init.c: Likewise.
33847 * elf/tst-audit2.c: Likewise.
33848 * elf/tst-tls10.c: Likewise.
33849 * elf/tst-tls10.h: Likewise.
33850 * elf/tst-tls11.c: Likewise.
33851 * elf/tst-tls12.c: Likewise.
33852 * elf/tst-tls14.c: Likewise.
33853 * elf/tst-tlsmod11.c: Likewise.
33854 * elf/tst-tlsmod12.c: Likewise.
33855 * elf/tst-tlsmod13.c: Likewise.
33856 * elf/tst-tlsmod13a.c: Likewise.
33857 * elf/tst-tlsmod14a.c: Likewise.
33858 * elf/tst-tlsmod15b.c: Likewise.
33859 * elf/tst-tlsmod16a.c: Likewise.
33860 * elf/tst-tlsmod16b.c: Likewise.
33861 * elf/tst-tlsmod7.c: Likewise.
33862 * elf/tst-tlsmod8.c: Likewise.
33863 * elf/tst-tlsmod9.c: Likewise.
33864 * gmon/gmon.c: Likewise.
33865 * grp/fgetgrent_r.c: Likewise.
33866 * grp/putgrent.c: Likewise.
33867 * hurd/fopenport.c: Likewise.
33868 * include/libc-symbols.h: Likewise.
33869 * include/tls.h: Likewise.
33870 * intl/gettextP.h: Likewise.
33871 * intl/loadinfo.h: Likewise.
33872 * locale/global-locale.c: Likewise.
33873 * locale/localeinfo.h: Likewise.
33874 * mach/devstream.c: Likewise.
33875 * malloc/arena.c: Likewise.
33876 * malloc/set-freeres.c: Likewise.
33877 * misc/err.c: Likewise.
33878 * misc/getttyent.c: Likewise.
33879 * misc/mntent_r.c: Likewise.
33880 * posix/getopt.c: Likewise.
33881 * posix/wordexp.c: Likewise.
33882 * pwd/fgetpwent_r.c: Likewise.
33883 * resolv/Versions: Likewise.
33884 * resolv/res_hconf.c: Likewise.
33885 * shadow/fgetspent_r.c: Likewise.
33886 * shadow/putspent.c: Likewise.
33887 * stdio-common/printf_fphex.c: Likewise.
33888 * stdio-common/tmpfile.c: Likewise.
33889 * stdlib/abort.c: Likewise.
33890 * stdlib/fmtmsg.c: Likewise.
33891 * sunrpc/auth_unix.c: Likewise.
33892 * sunrpc/clnt_perr.c: Likewise.
33893 * sunrpc/clnt_tcp.c: Likewise.
33894 * sunrpc/clnt_udp.c: Likewise.
33895 * sunrpc/clnt_unix.c: Likewise.
33896 * sunrpc/openchild.c: Likewise.
33897 * sunrpc/svc_simple.c: Likewise.
33898 * sunrpc/svc_tcp.c: Likewise.
33899 * sunrpc/svc_udp.c: Likewise.
33900 * sunrpc/svc_unix.c: Likewise.
33901 * sunrpc/xdr.c: Likewise.
33902 * sunrpc/xdr_array.c: Likewise.
33903 * sunrpc/xdr_rec.c: Likewise.
33904 * sunrpc/xdr_ref.c: Likewise.
33905 * sunrpc/xdr_stdio.c: Likewise.
33906
1248c1c4
PB
339072011-09-09 Ulrich Drepper <drepper@gmail.com>
33908
33909 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33910
339112011-07-03 Andreas Jaeger <aj@suse.de>
33912
33913 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33914 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33915 regenerate with gen-libm-tests.pl.
33916
339172010-05-12 Petr Baudis <pasky@suse.cz>
33918
33919 [BZ #11589]
33920 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33921 around j0() zero points by switching to j1().
33922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33926
f22e1074
UD
339272011-09-09 Ulrich Drepper <drepper@gmail.com>
33928
f19009c1
UD
33929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33930 instead of 0.
33931 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33932 instead of 0.
f19009c1
UD
33933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33934 Patch in part by Pavel Roskin <proski@gnu.org>.
33935
3f8cc204
UD
33936 [BZ #13138]
33937 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33938 realloc.
33939 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33940 Free memory block if necessary.
33941
f22e1074
UD
33942 [BZ #12847]
33943 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33944 be NULL. Don't lock in this case.
33945
0a2349f9
RM
339462011-09-09 Roland McGrath <roland@hack.frob.com>
33947
33948 * elf/elf.h (ELFOSABI_GNU): New macro.
33949 (ELFOSABI_LINUX): Define to that.
33950
f3cdd467
DZ
339512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33952
33953 * string/strncat.c (strncat): Undef the symbol in case it has been
33954 defined in bits/string.h.
33955
74718d13
UD
339562011-09-09 Ulrich Drepper <drepper@gmail.com>
33957
633e9e0f
UD
33958 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33959
0a2349f9 33960 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33961 link map.
33962
f9924780
AJ
339632011-08-17 Andreas Jaeger <aj@suse.de>
33964
33965 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33966
7f5517aa
PP
339672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33968 Ian Lance Taylor <iant@google.com>
33969
33970 * math/libm-test.inc (lround_test): New testcase.
33971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33972
762011fe
UD
339732011-09-08 Ulrich Drepper <drepper@gmail.com>
33974
92963737
UD
33975 * Makefile: Remove support for automatic cvs check-ins.
33976 * Makerules: Likewise.
33977 * config.make.in: Likewise.
33978 * configure.in: Likewise.
33979 * intl/Makefile: Likewise.
33980 * locale/Makefile: Likewise.
33981 * po/Makefile: Likewise.
33982 * posix/Makefile: Likewise.
33983 * sysdeps/gnu/Makefile: Likewise.
33984 * sysdeps/mach/hurd/Makefile: Likewise.
33985 * sysdeps/sparc/sparc32/Makefile: Likewise.
33986
b0727fd8
JS
33987 [BZ #13118]
33988 * posix/Makefile (bug-regex32-ENV): Define.
33989 Patch by John Stanley <jpsinthemix@verizon.net>.
33990
a0f33f99
UD
33991 * misc/Makefile (headers): Add bits/select2.h.
33992 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33993 * misc/bits/select2.h: New file.
33994 * include/bits/select2.h: New file.
33995 * debug/Makefile (routines): Add fdelt_chk.
33996 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33997 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33998 FD_ISSET.
33999 * debug/fdelt_chk.c: New file.
34000
762011fe
UD
34001 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34002 * wcsmbs/test-wmemcmp.c: Likewise.
34003 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34004 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34005
340062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34007
34008 * string/Makefile (strop-tests): Add memcmp.
34009 * string/test-wmemcmp.c: New file.
34010 * string/test-memcmp.c: Add wmemcmp support.
34011
7f513ec8
RM
340122011-09-08 Roland McGrath <roland@hack.frob.com>
34013
0442afb4
RM
34014 [BZ #13153]
34015 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34016 2011-07-19 change.
34017
7f513ec8
RM
34018 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34019 garbage value in a __mach_port_mod_refs call in the cases of the
34020 task-self and thread-self ports.
34021
a12b2239
ST
340222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34023
34024 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34025
610f9ab4
AS
340262011-09-08 Andreas Schwab <schwab@redhat.com>
34027
7f513ec8 34028 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34029
48882a1a
LD
340302011-09-07 Ulrich Drepper <drepper@gmail.com>
34031
b49865be
UD
34032 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34033
fdc86bc9
UD
34034 * elf/dl-libc.c (dlerror_run): Pass back error code from
34035 dl_catch_error.
34036
c966526a
UD
34037 [BZ #13123]
34038 * elf/dl-load.c (lose): Free l_origin if it is valid.
34039
48882a1a
LD
34040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34041 names.
34042 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34047 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34048
77a2a8b4
AZ
340492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34050
34051 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34052 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34053 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34055 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34056 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34057 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34058 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34059 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34060 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34061
24f579d8
AM
340622011-08-15 Alan Modra <amodra@gmail.com>
34063
34064 [BZ #13092]
34065 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34066 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34067 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34068 ppc_mcount to static-only-routines.
34069 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34070 __mcount_internal.
34071 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34072 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34073
3d4837df
UD
340742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34075
34076 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34077 for finite and infinity parameters.
34078
22700377
WS
340792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34080
34081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34082 and add nop instructions for throughput optimization.
34083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34084
5025581e
WS
340852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34086
34087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34088 aligned copy for power7 with vector-scalar instructions.
34089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34090
08a300c9
L
340912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34094 AVX check.
34095
59178ef9
AS
340962011-09-07 Andreas Schwab <schwab@redhat.com>
34097
34098 [BZ #13144]
34099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34100 last change.
34101
e38ba7ab
UD
341022011-09-07 Ulrich Drepper <drepper@gmail.com>
34103
34104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34105 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34106 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34108 clock_gettime.
34109
d53a73ac
UD
341102011-09-06 Ulrich Drepper <drepper@gmail.com>
34111
fc8bffcc
UD
34112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34113 Forgot to demangle the pointer.
34114
ceaa0c5d
UD
34115 * sysdeps/i386/sysdep.h: Define atom_text_section.
34116 * sysdeps/x86_64/sysdep.h: Likewise.
34117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34118 section with atom_text_section.
34119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34124
a77d3c17
UD
34125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34127 already be defined. Change to take two parameters and don't assign
34128 result to variable. Adjust all users.
34129 Define INTERNAL_GETTIME if not already defined.
34130 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34131 call.
34132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34133 HAVE_CLOCK_GETTIME_VSYSCALL.
34134 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34135
d53a73ac
UD
34136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34137 gettimeofday vsyscall, just use time.
34138
a8f84144
AS
341392011-09-06 Andreas Schwab <schwab@redhat.com>
34140
34141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34142 <errno.h>.
34143
ef606249
UD
341442011-09-06 Ulrich Drepper <drepper@gmail.com>
34145
34146 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34147 syscall on x86-64.
34148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34149 syscall.
34150 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34152 syscall if possible.
34153
6585cb60
UD
341542011-09-05 Ulrich Drepper <drepper@gmail.com>
34155
34156 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34157 e_ident. Don't pass to find_mapsXX.
34158 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34159
a5f524e4
LD
341602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34161
34162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34163 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34164 * sysdeps/x86_64/multiarch/strchr.S: Update.
34165 Check bit_slow_BSF bit.
34166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34169
554881ef
UD
341702011-09-05 Ulrich Drepper <drepper@gmail.com>
34171
d96de963
UD
34172 [BZ #13134]
34173 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34174 before glibc 2.15.
34175 (tryshell): Define.
34176 (__spawni): Change last parameter to be flag. Test
34177 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34178 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34179 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34180 * posix/spawni.c: Likewise.
34181 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34182 * posix/spawnp.c: Likewise. Change normal version to use
34183 SPAWN_XFLAGS_USE_PATH.
34184 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34185 SPAWN_XFLAGS_TRY_SHELL.
34186
d48e5868
UD
34187 [BZ #13150]
34188 * posix/glob.h: Remove gcc 1.x support.
34189
554881ef
UD
34190 [BZ #13068]
34191 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34192
693fb948
LD
341932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34194
34195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34196 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34197 strrchr-sse2-bsf
34198 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34199 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34204
1b48c537
UD
342052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34206
49d42c37
UD
34207 * sysdeps/x86_64/wcscmp.S: New file.
34208
1b48c537
UD
34209 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34210 wcscmp-c wcscmp-sse2
34211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34212 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34214 * wcsmbs/wcscmp.c: Allow renaming.
34215
15c95c5d
DM
342162011-09-05 David S. Miller <davem@davemloft.net>
34217
34218 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34219 stack slot, rather than the struct return pointer slot.
34220 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34223 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34224
2f0ad8f3
UD
342252011-09-05 Ulrich Drepper <drepper@gmail.com>
34226
d88ae418
UD
34227 * po/ja.po: Update from translation team.
34228
2f0ad8f3
UD
34229 [BZ #13144]
34230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34231 kernel in 64-bit binaries.
34232
5f4318d1
DM
342332011-09-01 David S. Miller <davem@davemloft.net>
34234
34235 * elf/elf.h (HWCAP_SPARC_*): Move to..
34236 * sysdeps/sparc/sysdep.h: this new file and add new values.
34237 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34238 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34239 _DL_HWCAP_COUNT to 24.
34240 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34241 entries.
34242 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34243 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34244 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34246 instead of magic constants.
34247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34248
3ba57516
DM
342492011-08-31 David S. Miller <davem@davemloft.net>
34250
34251 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34253 Reimplement to do errno handling inline.
34254 (SYSCALL_ERROR_HANDLER): New macro.
34255 (__SYSCALL_STRING): Do not do errno handling in asm.
34256 (__CLONE_SYSCALL_STRING): Delete.
34257 (__INTERNAL_SYSCALL_STRING): Delete.
34258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34259 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34260 (PSEUDO): Reimplement to do errno handling inline.
34261 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34262 (SYSCALL_ERROR_HANDLER): New macro.
34263 (__SYSCALL_STRING): Do not do errno handling in asm.
34264 (__CLONE_SYSCALL_STRING): Delete.
34265 (__INTERNAL_SYSCALL_STRING): Delete.
34266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34267 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34268 i386.
34269 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34270 (inline_syscall*): Add 'err' argument.
34271 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34272 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34273 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34274 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34275
34276 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34278
2bc17433
AS
342792011-08-30 Andreas Schwab <schwab@redhat.com>
34280
34281 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34282
fbeb5f4d
JO
342832011-08-29 Jiri Olsa <jolsa@redhat.com>
34284
34285 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34286 directive.
34287
ad69cc26
DM
342882011-08-24 David S. Miller <davem@davemloft.net>
34289
34290 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34291
39dd69df
AS
342922011-08-24 Andreas Schwab <schwab@redhat.com>
34293
34294 * elf/Makefile: Add rules to build and run unload8 test.
34295 * elf/unload8.c: New file.
34296 * elf/unload8mod1.c: New file.
34297 * elf/unload8mod1x.c: New file.
34298 * elf/unload8mod2.c: New file.
34299 * elf/unload8mod3.c: New file.
34300
34301 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34302 it wasn't used.
34303
2c0b250a
DM
343042011-08-23 David S. Miller <davem@davemloft.net>
34305
34306 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34307 subtract stack bias.
34308 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34309 %sp not %fp in calculations.
34310 (_JMPBUF_UNWINDS_ADJ): Likewise.
34311
22044b48
DM
34312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34313 (aio_suspend): Call it to force an exception region around the
34314 AIO_MISC_WAIT() invocation.
34315
2cae4995
AS
343162011-08-23 Andreas Schwab <schwab@redhat.com>
34317
34318 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34319 backslash.
34320
873a772e
AJ
343212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34322
34323 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34324 protection macro.
34325 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34326 and <dl-machine.h>.
34327 (Elf64_FuncDesc): Remove.
34328
25ad0df1
DM
343292011-08-22 David S. Miller <davem@davemloft.net>
34330
34331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34332 sigaltstack check, add missing cfi directives.
34333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34334 missing cfi directives, and sigaltstack handling.
34335
e888bcbe
AS
343362011-08-16 Andreas Schwab <schwab@redhat.com>
34337
34338 [BZ #11724]
34339 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34340 object is seen twice.
34341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34342
34343 * elf/Makefile (distribute): Add tst-initorder2.c.
34344 (tests): Add tst-initorder2.
34345 (modules-names): Add tst-initorder2a tst-initorder2b
34346 tst-initorder2c tst-initorder2d. Add rules to build them.
34347 ($(objpfx)tst-initorder2.out): New rule.
34348 * elf/tst-initorder2.c: New file.
34349 * elf/tst-initorder2.exp: New file.
34350
87162f46
AS
343512011-08-22 Andreas Schwab <schwab@redhat.com>
34352
70538b7f
AS
34353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34354
f55ffe58
AS
34355 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34356 dependencies back to end of function.
34357
87162f46
AS
34358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34359 $(elfobjdir)/ld.so.
34360
91b392a4
UD
343612011-08-21 Ulrich Drepper <drepper@gmail.com>
34362
34363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34364 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34366 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34367 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34368 of __vdso_gettimeofday.
34369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34370 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34371 attribute_hidden.
34372 (_libc_vdso_platform_setup): Remove initialization of
34373 __vdso_gettimeofday and __vdso_time.
34374
5c43483f
UD
343752011-08-20 Ulrich Drepper <drepper@gmail.com>
34376
775a77e7
UD
34377 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34378 and fgetc_unlocked.
34379 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34380 getc_unlocked.
89f447ed 34381
49c74ba9
UD
34382 * elf/dl-open.c (add_to_global): Report additions to the global scope
34383 for LD_DEBUG=scopes.
34384 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34385 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34386
5c43483f
UD
34387 [BZ #13114]
34388 * stdio-common/Makefile (tests): Add bug24.
34389 * stdio-common/bug24.c: New file.
34390
a101b025
AJ
343912011-08-19 Andreas Jaeger <aj@suse.de>
34392
34393 [BZ #13114]
34394 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34395 non-existant file when using close-on-exec mode.
34396
c88f1766
UD
343972011-08-20 Ulrich Drepper <drepper@gmail.com>
34398
0276a718
UD
34399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34400 the very first instruction.
34401
c88f1766
UD
34402 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34403 the CFI state in the end.
34404 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34405 inclusion of dl-trampoline.h.
34406 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34407
51ccffa0
AS
344082011-08-19 Andreas Schwab <schwab@redhat.com>
34409
94d7165f
AS
34410 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34411 expectations for long double.
34412
51ccffa0
AS
34413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34414 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34415
fd708658 344162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34417
34418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34419 artificual limit depends upon the system page size.
34420
44f0a71e
UD
344212011-08-17 Ulrich Drepper <drepper@gmail.com>
34422
34423 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34424 * resolv/Makefile: Define CFLAGS-libresolv.
34425
8de79a24
AS
344262011-08-17 Andreas Schwab <schwab@redhat.com>
34427
34428 * nss/makedb.c (compute_tables): Make variables used in nested
34429 function static.
34430
27724598
UD
344312011-08-17 Ulrich Drepper <drepper@gmail.com>
34432
c5305d88
UD
34433 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34434 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34435 if buffer was too small.
34436
27724598
UD
34437 * elf/pldd.c (main): Attach to all threads in the process.
34438 Rewrite /proc handling to use *at functions.
34439
076fe015
UD
344402011-08-16 Ulrich Drepper <drepper@gmail.com>
34441
174baab3
UD
34442 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34443 specifies first scope to show.
34444 (dl_open_worker): Update callers. Move printing scope of new
34445 object to before the relocation.
44f0a71e 34446 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34447 * sysdeps/generic/ldsodefs.h: Update declaration.
34448
076fe015
UD
34449 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34450 string for the scope number.
34451
a60df2c3
UD
344522011-08-14 Ulrich Drepper <drepper@gmail.com>
34453
34454 * nscd/servicescache.c (cache_addserv): Make sure written is always
34455 initialized.
34456
5e4287d1
RM
344572011-08-14 Roland McGrath <roland@hack.frob.com>
34458
85ae0589
RM
34459 * sysdeps/i386/i486/bits/atomic.h
34460 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34461 statement expression, so as to suppress "set but not used" warning.
34462 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34463
69f63097
RM
34464 * string/strncat.c (STRNCAT): Use prototype definition.
34465
675456ef
RM
34466 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34467 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34468 -Iprograms here.
34469 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34470 (localedef-modules): Add localedef.
34471 (locale-modules): Add locale.
34472
5e4287d1
RM
34473 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34474 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34475 to avoid a warning.
34476
9c96ff23
DM
344772011-08-14 David S. Miller <davem@davemloft.net>
34478
34479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34480 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34481
f9ddf089
UD
344822011-08-13 Ulrich Drepper <drepper@gmail.com>
34483
44f0a71e 34484 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34485 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34486 * elf/rtld.c (dl_main): Set l_name of vDSO.
34487 Call _dl_show_scope when DL_DEBUG_SCOPES.
34488 (process_dl_debug): Recognize scopes flag and also set it for all.
34489 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34490 Declare _dl_show_scope.
34491
1dc27704
UD
34492 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34493 (do_dlopen): Pass caller_dlopen to dl_open.
34494 (__libc_dlopen_mode): Initialize caller_dlopen.
34495
f9ddf089
UD
34496 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34497 of libc. Make tolower call locale-independent. Optimize a bit by
34498 using isdigit instead of isalnum.
34499 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34500
9ac533d3
UD
345012011-08-12 Ulrich Drepper <drepper@gmail.com>
34502
34503 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34504 was a dependency or dynamically loaded.
34505
89edf2e9
UD
345062011-08-11 Ulrich Drepper <drepper@gmail.com>
34507
8e999d29
UD
34508 * intl/l10nflist.c: Allow architecture-specific pop function.
34509 * sysdeps/x86_64/l10nflist.c: New file.
34510
89edf2e9
UD
34511 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34512 classification.
34513
14d96785
AS
345142011-08-10 Andreas Schwab <schwab@redhat.com>
34515
34516 * include/dirent.h: Add libc_hidden_proto for scandirat and
34517 scandirat64. Don't declare __scandirat64.
34518 * dirent/scandirat.c: Add libc_hidden_def.
34519 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34520 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34521
6761ac04
DM
345222011-08-10 David S. Miller <davem@davemloft.net>
34523
34524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34525 enum.
34526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34529
c55fbd1e
UD
345302011-08-09 Ulrich Drepper <drepper@gmail.com>
34531
34532 * Versions.def [libc]: Add GLIBC_2.15.
34533 * dirent/Makefile (routines): Add scandirat and scandirat64.
34534 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34535 GLIBC_2.15.
34536 * dirent/dirent.h: Declare scandirat and scandirat64.
34537 * dirent/scandirat.c: New file.
34538 * dirent/scandirat64.c: New file.
34539 * sysdeps/wordsize-64/scandirat.c: New file.
34540 * sysdeps/wordsize-64/scandirat64.c: New file.
34541 * dirent/opendir.c: Define opendirat.
34542 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34543 using scandirat.
34544 * dirent/scandir64.c: Adjust for scandir.c change.
34545 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34546 __scandirat64, and __scandir_cancel_handler.
34547 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34548 additional parameter and use openat instead of open (outside of ld.so).
34549 Add new __opendir as wrapper around __opendirat.
34550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34551 here without requiring old scandirat implementation.
34552
879165f2
UD
345532011-08-08 Ulrich Drepper <drepper@gmail.com>
34554
34555 * dirent/scandir.c (cancel_handler): Renamed to
34556 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34557 defined. Adjust users.
34558 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34560
cb7e923b
UD
345612011-08-04 Ulrich Drepper <drepper@gmail.com>
34562
16292edd
UD
34563 * string/test-string.h (IMPL): Use __STRING to expand name and then
34564 stringify it.
34565
cb7e923b
UD
34566 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34567 of cleanups.
34568
cff82933
LD
345692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34570
34571 * string/Makefile: Update.
34572 (strop-tests): Append strncat.
34573 * string/test-wcscmp.c: New file.
34574 New comprehensive test for wcscmp.
34575 * string/test-strcmp.c: Update.
34576 (WIDE): New define.
34577
9be9bfcc
AS
345782011-07-22 Andreas Schwab <schwab@redhat.com>
34579
34580 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34581 line.
34582
2e96f1c7
AS
345832011-07-26 Andreas Schwab <schwab@redhat.com>
34584
34585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34586 encoding to ACE if AI_IDN.
34587
85188888
JJ
345882011-08-01 Jakub Jelinek <jakub@redhat.com>
34589
34590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34591 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34592
5fa16e9b
LD
345932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34594
34595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34596 Fix overflow bug in strncat.
34597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34598
34599 * string/test-strncat.c: Update.
34600 Add new tests for checking overflow bugs.
34601
346022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34603
34604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34605 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34606 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34607 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34609 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34610 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34611 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34612 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34613
34614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34615 (USE_AS_STRCAT): Define.
34616 Add strcat and strncat support.
34617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34618
8c1a459f
AS
346192011-07-25 Andreas Schwab <schwab@redhat.com>
34620
34621 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34622 __n bigger than INT_MAX+1.
34623 (__strncmp_g): Likewise.
34624
bba33c28
UD
346252011-07-23 Ulrich Drepper <drepper@gmail.com>
34626
798be72d
UD
34627 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34628 * libio/stido.h: Likewise.
34629
8accd4dc
UD
34630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34631 (AF_NFC): Define.
34632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34633 (AF_NFC): Define.
34634
cbff0d96
UD
34635 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34640
9191c04a
UD
34641 [BZ #13021]
34642 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34643 installed.
34644
bba33c28
UD
34645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34646 typo.
34647 (_dl_x86_64_save_sse): Likewise.
34648
90f139dd
UD
346492011-07-22 Ulrich Drepper <drepper@gmail.com>
34650
1aae088a
UD
34651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34652 OSXSAVE.
34653 (_dl_x86_64_save_sse): Likewise.
34654
8e2045f5
UD
34655 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34656
90f139dd
UD
34657 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34658
1d002f25
AS
346592011-07-21 Andreas Schwab <schwab@redhat.com>
34660
34661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34662 change.
34663 (_dl_x86_64_save_sse): Use correct AVX check.
34664
21137f89
UD
346652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34666
34667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34668 bug in strncpy/strncat.
34669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34670
a65c0b7a
UD
346712011-07-21 Ulrich Drepper <drepper@gmail.com>
34672
34673 * string/tester.c (test_strcat): Add tests for different alignments
34674 of source and destination.
34675 (test_strncat): Likewise.
34676
6986b98a
UD
346772011-07-20 Ulrich Drepper <drepper@gmail.com>
34678
90bb2039
UD
34679 [BZ #12852]
34680 * posix/glob.c (glob): Check passed in values before using them in
34681 expressions to avoid some overflows.
34682 (glob_in_dir): Likewise.
34683
5644ef54
UD
34684 [BZ #13007]
34685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34686 check for AVX enablement so that we don't crash with old kernels and
34687 new hardware.
34688 * elf/tst-audit4.c: Add same checks here.
34689 * elf/tst-audit6.c: Likewise.
34690
34691 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34692
bfc9dc9b
AS
346932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34694
34695 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34696
702e64bb
UD
346972011-07-20 Ulrich Drepper <drepper@gmail.com>
34698
34699 * po/cs.po: Update from translation team.
34700 * po/bg.po: Likewise.
34701
295e904f
MP
347022011-07-12 Marek Polacek <mpolacek@redhat.com>
34703
34704 * misc/sys/cdefs.h: Add support for const attribute.
34705 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34706 to gnu_dev_{major,minor,makedev} functions.
34707
3ff94596
MP
347082011-07-20 Marek Polacek <mpolacek@redhat.com>
34709
34710 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34711
28b59fca
AS
347122011-07-20 Andreas Schwab <schwab@redhat.com>
34713
34714 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34715 strlen results.
34716
19df733e
AK
347172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34718
34719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34720 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34721 register in order to avoid conflicts with the soft frame pointer
34722 being held in r11 when necessary.
34723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34724 (INTERNAL_VSYSCALL_NCS): Likewise.
34725
c8835729
MP
347262011-07-14 Marek Polacek <mpolacek@redhat.com>
34727
34728 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34729 * elf/dl-fini.c (_dl_fini): Adjust caller.
34730 * elf/dl-close.c (_dl_close_worker): Likewise.
34731 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34732
b902330c
MP
347332011-07-15 Marek Polacek <mpolacek@redhat.com>
34734
8991e135
MP
34735 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34736 "aux_cache->nlibs < 0".
34737
b902330c
MP
34738 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34739 in the reload-count case.
34740
99710781
LD
347412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34742
34743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34744 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34745 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34747 * sysdeps/x86_64/multiarch/strcat.S: New file.
34748 * sysdeps/x86_64/multiarch/strncat.S: New file.
34749 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34751 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34752 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34754 (USE_AS_STRCAT): Define.
34755 Add strcat and strncat support.
34756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34759 * string/strncat.c: Update.
34760 (USE_AS_STRNCAT): Define.
34761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34762 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34763 and i7.
34764 * sysdeps/x86_64/multiarch/init-arch.h
34765 (bit_Prefer_PMINUB_for_stringop): New.
34766 (index_Prefer_PMINUB_for_stringop): Likewise.
34767 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34768 bit_Prefer_PMINUB_for_stringop.
34769
7dc6bd90
UD
347702011-07-19 Ulrich Drepper <drepper@gmail.com>
34771
34772 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34773 buffer64.
34774 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34775 of casting of buffer.
34776 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34777 buffer32 and buffer64.
34778 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34779 writes instead of casting of buffer.
34780 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34781 buffer32.
34782 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34783 casting of buffer.
34784
e0e72284
AS
347852011-07-19 Andreas Schwab <schwab@redhat.com>
34786
34787 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34788
feb1eb0b
UD
347892011-07-19 Ulrich Drepper <drepper@gmail.com>
34790
34791 * nscd/nscd.c (termination_handler): Don't do anything for a database
34792 if it has not yet been initialized.
34793
298711ff
UD
347942011-07-18 Ulrich Drepper <drepper@gmail.com>
34795
34796 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34797
347982011-07-15 Marek Polacek <mpolacek@redhat.com>
34799
34800 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34801
f9d68389
UD
348022011-07-18 Ulrich Drepper <drepper@gmail.com>
34803
34804 * po/nl.po: Update from translation team.
34805 * po/sv.po: Likewise.
34806
db290cf5
RM
348072011-07-16 Roland McGrath <roland@hack.frob.com>
34808
34809 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34810 now disallowed by GCC.
5c550700 34811
fd5e21c7
RM
34812 * configure.in (use-default-link): Default to yes if a test -shared
34813 link meets our qualifications.
34814 * configure: Regenerated.
34815
5c550700
RM
34816 * config.make.in (output-format): New variable.
34817 * configure.in: Check for ld --print-output-format support.
34818 * configure: Regenerated.
34819 * Makerules ($(common-objpfx)format.lds)
34820 [$(output-format) != unknown]: Just use $(output-format),
34821 instead of the linker-script munging.
34822
9fa2c032
RM
348232011-07-14 Roland McGrath <roland@hack.frob.com>
34824
a6928d51
RM
34825 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34826 of $(common-objpfx)shlib.lds.
34827 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34828
661607b3
RM
34829 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34830 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34831
9fa2c032
RM
34832 * configure.in (-z relro check): Adjust test code to add a large
34833 writable data section after it.
34834 * configure: Regenerated.
34835
defe9061
RM
348362011-07-11 Roland McGrath <roland@hack.frob.com>
34837
34838 * configure.in (-z relro check): Fix test code to make the variable
34839 truly const.
34840 * configure: Regenerated.
34841
319b9ad4
UD
348422011-07-11 Ulrich Drepper <drepper@gmail.com>
34843
34844 * nscd/nscd.h (struct traced_file): Define.
34845 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34846 elements. Add traced_files.
34847 (inotify_fd): Declare.
34848 (register_traced_file): Declare.
34849 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34850 (inotify_fd): Export.
34851 (resolv_conf_descr): Remove.
34852 (nscd_init): Move inotify descriptor creation to main.
34853 Don't register files for notification here.
34854 (register_traced_file): New function.
34855 (invalidate_cache): Don't use reset_res to determine whether to call
34856 res_init, go through the list of registered files.
34857 (main_loop_poll): The inotify descriptors are now stored in the
34858 structures for the traced files.
34859 (main_loop_epoll): Likewise
34860 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34861 to __nss_disable_nscd.
34862 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34863 for a database anymore. Check the records for all the registered
34864 files instead.
34865 * nss/Makefile (libnss_files-routines): Add files-init.
34866 (libnss_db-routines): Add db-init.
34867 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34868 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34869 * nss/nss_db/db-init.c: New file.
34870 * nss/nss_files/files-init.c: New file.
34871 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34872 __nss_lookup_function.
34873 (__nss_lookup_function): Call nss_load_library.
34874 (nss_load_all_libraries): New function.
34875 (__nss_disable_nscd): Take parameter with callback function for files
34876 to register. Set is_nscd. Load all the DSOs for the NSS modules
34877 used for the cached services.
34878 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34880 options for features to all the files in nscd.
34881
34882 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34883
23bee3e8
RM
348842011-07-10 Roland McGrath <roland@hack.frob.com>
34885
34886 * csu/elf-init.c (__libc_csu_init): Comment typo.
34887
46a5b7f0
UD
348882011-07-09 Ulrich Drepper <drepper@gmail.com>
34889
34890 * po/pl.po: Update from translation team.
34891 * po/ja.po: Likewise.
34892 * po/ru.po: Likewise.
34893 * po/ko.po: Likewise.
34894 * po/fr.po: Likewise.
34895
d30cf5bb
RM
348962011-07-09 Roland McGrath <roland@hack.frob.com>
34897
113ddea4
RM
34898 * configure.in (.ctors/.dtors header and trailer check):
34899 Use an empirical test on a built program.
34900 * configure: Regenerated.
34901
574920b4
RM
34902 * configure.in (-z relro check): Use an empirical test on a built DSO.
34903 Detect, but do not require, on ia64.
34904 * configure: Regenerated.
34905
d30cf5bb
RM
34906 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34907 Update tests that use readelf to use $READELF instead.
34908 * configure: Regenerated.
34909
8538fdb3
UD
349102011-07-08 Ulrich Drepper <drepper@gmail.com>
34911
34912 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34913 if the result is not used.
34914
04d08991
AJ
349152011-07-05 Andreas Jaeger <aj@suse.de>
34916
34917 [BZ#9696]
34918 * stdlib/tst-strtod.c: Add testcase.
34919
de283087
AD
349202011-07-07 Ulrich Drepper <drepper@gmail.com>
34921
4e5f31c8 34922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34923 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34924 The latter has a higher limit. Take additional parameter to pass to
34925 the new function.
34926 (__pathconf): Pass file to __statfs_link_max.
34927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34928 __statfs_link_max.
34929 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34930 __statfs_link_max.
34931
de283087
AD
34932 [BZ #12868]
34933 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34935 Handle Lustre.
34936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34937 (__statfs_filesize_max): Likewise.
34938 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34939
c75fa153
AJ
349402011-07-05 Andreas Jaeger <aj@suse.de>
34941
34942 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34943
1a544854
UD
349442011-07-06 Marek Polacek <mpolacek@redhat.com>
34945
34946 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34947 `status' variable.
34948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34949 Likewise.
34950
6f0eec67
UD
349512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34952
34953 * Makefile (strop-tests): Add strncat.
34954 * string/test-strncat.c: New file.
34955
aae30307
UD
349562011-06-30 Marek Polacek <mpolacek@redhat.com>
34957
34958 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34959
c0cfb5eb
UD
349602011-06-21 Andreas Jaeger <aj@suse.de>
34961
34962 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34963 Copy rule from iconvdata/Makefile.
34964
01636b21
UD
349652011-07-06 Ulrich Drepper <drepper@gmail.com>
34966
34967 [BZ #12922]
34968 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34969 but no long options are defined, just return 'W'.
34970
9895c8bc
UD
349712011-06-22 Marek Polacek <mpolacek@redhat.com>
34972
34973 [BZ #9696]
34974 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34975
5d4cf042
UD
349762011-07-06 Ulrich Drepper <drepper@gmail.com>
34977
34978 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34979 netgroups to read.
960e5535 34980 (innetgr): Likewise.
5d4cf042 34981
751eb97e
RM
349822011-07-05 Roland McGrath <roland@hack.frob.com>
34983
34984 * config.make.in (install_root): Default to $(DESTDIR).
34985
f15f1e45
UD
349862011-07-05 Ulrich Drepper <drepper@gmail.com>
34987
34988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34989
4e34ac6a
RM
349902011-07-02 Roland McGrath <roland@hack.frob.com>
34991
5e9b6af4
RM
34992 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34993
84f9ea0f
RM
34994 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34995 containing directory rather than embedding absolute directory names.
34996
ea5ee9f7
RM
34997 * scripts/check-local-headers.sh: Rewritten using awk.
34998 Match by word, not by line. Print error messages for matches.
34999 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35000
1b74661a
RM
35001 * Makerules [shlib-lds-flags empty]:
35002 ($(common-objpfx)libc_pic.opts): New target.
35003 ($(common-objpfx)libc_pic.os.clean): New target.
35004 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35005
35006 * config.make.in (OBJCOPY): New variable.
35007 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35008 * configure: Regenerated.
35009
f781ef40
RM
35010 * config.make.in (use-default-link): New variable.
35011 * configure.in (use_default_link): Grok --with-default-link to set it.
35012 * configure: Regenerated.
35013 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35014 (shlib-lds, shlib-lds-flags): Define to empty.
35015
2d4fa81e
RM
35016 * Makerules (shlib-lds): New variable.
35017 (shlib-lds-flags): New variable.
35018 (build-shlib, build-moduile, build-module-asneeded): Use it.
35019 ($(common-objpfx)libc.so): Use $(shlib-lds).
35020 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35022
31fffa6b
RM
35023 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35024 DT_FLAGS/DT_FLAGS_1 with zero flags.
35025
4e34ac6a
RM
35026 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35027 linker script munging.
35028
fcfc776b
UD
350292011-07-02 Ulrich Drepper <drepper@gmail.com>
35030
35031 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35032 as 128-bit value.
35033 * crypt/sha512.c (sha512_process_block): Perform total addition using
35034 128-bit if possible.
35035 (__sha512_finish_ctx): Likewise.
35036 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35037 as 64-bit value.
35038 * crypt/sha256.c (SWAP64): Define.
35039 (sha256_process_block): Perform total addition using 64-bit if
35040 possible.
35041 (__sha256_finish_ctx): Likewise.
35042
99231d9a
UD
350432011-07-01 Ulrich Drepper <drepper@gmail.com>
35044
35045 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35047 * nscd/hstcache.c (cache_addhst): Likewise.
35048 * nscd/grpcache.c (cache_addgr): Likewise.
35049 * nscd/aicache.c (addhstaiX): Likewise
35050 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35051
445b4a53
TK
350522011-07-01 Thorsten Kukuk <kukuk@suse.de>
35053
35054 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35056 * nscd/hstcache.c (cache_addhst): Likewise.
35057 * nscd/grpcache.c (cache_addgr): Likewise.
35058 * nscd/aicache.c (addhstaiX): Likewise
35059
6d4d8e8e
AS
350602011-07-01 Andreas Schwab <schwab@redhat.com>
35061
35062 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35063 domain only when needed.
35064
89f654c5
AS
350652011-06-30 Andreas Schwab <schwab@redhat.com>
35066
35067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35068 is always restored.
35069
cf3b23ff
UD
350702011-06-29 Ulrich Drepper <drepper@gmail.com>
35071
35072 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35073 are re-adding the entry.
35074 * nscd/servicescache.c (cache_addserv): Likewise.
35075
751626f9
AJ
350762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35077
35078 * sysdeps/generic/dl-irel.h: fix protection against multiple
35079 inclusions.
35080 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35081
9113ea1f
UD
350822011-06-28 Ulrich Drepper <drepper@gmail.com>
35083
5c0b8d90
UD
35084 [BZ #12935]
35085 * malloc/memusage.sh: Fix quoting in message.
35086 * debug/xtrace.sh: Likewise.
35087
9113ea1f
UD
35088 * configure.in: Remove support for --experimental-malloc option, make
35089 it the default.
35090 * config.make.in: Likewise.
35091 * malloc/Makefile: Likewise.
35092
a4172181
AS
350932011-06-27 Andreas Schwab <schwab@redhat.com>
35094
35095 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35096 two-byte characters.
35097
78a7eee7
RM
350982011-06-27 Roland McGrath <roland@hack.frob.com>
35099
62bede13
RM
35100 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35101 AC_CACHE_CHECK invocation.
35102 * configure: Regenerated.
35103
78a7eee7
RM
35104 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35105
5ce33a62
UD
351062011-06-27 Ulrich Drepper <drepper@gmail.com>
35107
034807a9
UD
35108 [BZ #12350]
35109 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35110 bit from old_res_options.
35111
4902da17
UD
35112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35113
5ce33a62
UD
35114 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35115 value type for setfct.
35116
c2344f56
L
351172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35118
35119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35120 __gettimeofday instead of gettimeofday.
35121
68468076
UD
351222011-06-26 Ulrich Drepper <drepper@gmail.com>
35123
35124 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35125
acb0d739
L
351262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35127
35128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35129
35130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35131 info.
35132
8912479f
L
351332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35134
35135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35136 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35137 strcpy-sse2-unaligned strncpy-sse2-unaligned
35138 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35139 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35140 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35141 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35142 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35145 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35146 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35147 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35148 (STRCPY): Support SSE2 and SSSE3 versions.
35149
d5495a11
UD
351502011-06-24 Ulrich Drepper <drepper@gmail.com>
35151
35152 [BZ #12874]
35153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35154 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35155 kernels which artificially limit size of requests.
35156
0b1cbaae
L
351572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35158
35159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35160 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35161 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35162 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35163 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35164 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35165 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35166 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35169 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35170 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35171 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35172 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35173 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35175 Enable unaligned load optimization for Intel Core i3, i5 and i7
35176 processors.
35177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35178 Define.
35179 (index_Fast_Unaligned_Load): Define.
35180 (HAS_FAST_UNALIGNED_LOAD): Define.
35181
07f494a0
MP
351822011-06-23 Marek Polacek <mpolacek@redhat.com>
35183
35184 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35185
fa3fc0fe
UD
351862011-06-22 Ulrich Drepper <drepper@gmail.com>
35187
35188 [BZ #12907]
35189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35190 until it is clear that the information is realy needed.
35191 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35192
e12df166
AS
351932011-06-22 Andreas Schwab <schwab@redhat.com>
35194
35195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35196
852eb34d
UD
351972011-06-22 Ulrich Drepper <drepper@gmail.com>
35198
84e2a551
UD
35199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35200 /sys/devices/system/cpu/online if it is usable.
35201
852eb34d
UD
35202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35203 reading the information from the /proc filesystem to once a second.
35204
6e502e19
UD
352052011-06-21 Andreas Jaeger <aj@suse.de>
35206
35207 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35208 NULL after inclusion of kernel headers.
35209
75d39ff2
UD
352102011-06-21 Ulrich Drepper <drepper@gmail.com>
35211
51f9aa6a
UD
35212 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35213 calls to internal_setent.
35214
c0244a9d
UD
35215 [BZ #12885]
35216 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35217 addresses using gethostbyname4_r ignore IPv4 addresses.
35218
c5e3c2ae
UD
35219 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35220 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35221
75d39ff2
UD
35222 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35223
42675c6f
DM
352242011-06-20 David S. Miller <davem@davemloft.net>
35225
35226 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35227 inclusions.
35228 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35229
35230 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35231 (elf_irel): Use it.
35232 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35233 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35234 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35235 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35236 * sysdeps/x86_64/dl-irel.h: Likewise.
35237
35238 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35239 * elf/dl-sym.c: Likewise.
35240
57912a71
UD
352412011-06-15 Ulrich Drepper <drepper@gmail.com>
35242
35243 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35244 need to dereference resplen2.
35245
ee22793d
AS
352462011-06-14 Andreas Schwab <schwab@redhat.com>
35247
35248 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35249
a9e836b0
UD
352502011-06-15 Ulrich Drepper <drepper@gmail.com>
35251
77fb9117
UD
35252 * Makeconfig: Define vardbdir and inst_vardbdir.
35253 * nss/Makefile: Add rules to install db-Makefile.
35254
40c1b22c
UD
35255 * nss/nss_db/db-XXX.c: Cleanup.
35256
9f2da732
UD
35257 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35258 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35259 GLIBC_PRIVATE.
35260 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35261 * nss/makedb.c: Implement -g option to specify that value strings
35262 are generated and should not be added to table iterated over for
35263 get*ent calls.
35264 * nss/nss_db/db-initgroups.c: New file.
35265
82e9a1f7
UD
35266 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35267 interface.
35268
c41af17e
UD
35269 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35270 (internal_getgrouplist): Adjust to name change.
35271 Update use_initgroups_entry if this is not the first call.
35272 * nss/databases.def: Add initgroups entry.
35273
a9e836b0
UD
35274 * nss/makedb.c (compute_tables): Check result of multiple hash table
35275 sizes to minimize maximum chain length.
35276
2666d441
UD
352772011-06-14 Ulrich Drepper <drepper@gmail.com>
35278
35279 * Versions.def: Add entry for libnss_db.
35280 * shlib-versions: Likewise.
35281 * nss/Makefile: Add rules to build libnss_db.
35282 * nss/Versions: Add libnss_db information. Organize libnss_files
35283 entries better.
35284 * nss/db-Makefile: Add gshadow support. Change rules for the new
35285 makedb progra. Some minor improvements to generate smaller files.
35286 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35287 here from...
35288 * nss/makedb.c: ...here.
35289 Improve database format to be smaller and require less memory at
35290 runtime.
35291 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35292 db anymore.
35293 * nss/nss_db/db-netgrp.c: Likewise.
35294 * nss/nss_db/db-open.c: Likewise.
35295 * nss/nss_files/flies-XXX.x: Adjust comments.
35296 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35297 * nss/nss_files/files-grp.c: Likewise.
35298 * nss/nss_files/files-hosts.c: Likewise.
35299 * nss/nss_files/files-network.c: Likewise.
35300 * nss/nss_files/files-proto.c: Likewise.
35301 * nss/nss_files/files-pwd.c: Likewise.
35302 * nss/nss_files/files-rpc.c: Likewise.
35303 * nss/nss_files/files-service.c: Likewise.
35304 * nss/nss_files/files-sgrp.c: Likewise.
35305 * nss/nss_files/files-spwd.c: Likewise.
35306 * nss/nss_db/db-alias.c: Removed.
35307 * nss/nss_db/dummy-db.h: Removed.
35308
9ee76b5a
UD
353092011-06-02 Ulrich Drepper <drepper@gmail.com>
35310
35311 * nss/makedb.c: Rewritten to not use database library.
35312 * nss/Makefile: Update to build new makedb program.
35313
c71ca1f8
AJ
353142011-06-14 Andreas Jaeger <aj@suse.de>
35315
35316 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35317 memset declaration.
35318
3154bfb8
UD
353192011-06-10 Andreas Schwab <schwab@redhat.com>
35320
35321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35322 tmpbuf.
35323
b350afab
RM
353242011-06-10 Roland McGrath <roland@hack.frob.com>
35325
decd4e50
RM
35326 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35327 * elf/Makefile ($(objpfx)ld.so): Likewise.
35328
5615eaf2
RM
35329 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35330 Don't list ld.so twice in dependencies.
35331
35332 * posix/bug-regex31.c: Include <stdlib.h>.
35333
35334 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35335
35336 * nis/nss_compat/compat-spwd.c
35337 (getspent_next_nss_netgr): Remove unused variable.
35338 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35339
35340 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35341 nonmembers" output to use the right array.
35342
35343 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35344
35345 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35346
35347 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35348 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35349 * catgets/gencat.c (read_input_file): Likewise.
35350 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35351
35352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35353 variable definition inside #if's controlling its use.
35354
35355 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35356
35357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35358
35359 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35360
35361 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35362 unreachable code.
35363
35364 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35365
b68e08db
RM
35366 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35367 * configure: Regenerated.
35368
b350afab
RM
35369 * Makerules: Revert last change.
35370 * elf/Makefile: Likewise.
35371
28368601
RM
353722011-06-09 Roland McGrath <roland@hack.frob.com>
35373
35374 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35375 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35376 (reloc-link): Likewise.
35377
11988f8f
UD
353782011-06-09 Ulrich Drepper <drepper@gmail.com>
35379
35380 * elf/Makefile: Add rules to build pldd.
35381 * elf/pldd.c: New file.
35382 * elf/pldd-xx.c: New file.
35383
e80fab37
UD
353842011-06-07 Ulrich Drepper <drepper@gmail.com>
35385
35386 * version.h: Update for 2.15 development version.
35387
9b849836
DM
353882011-06-07 David S. Miller <davem@davemloft.net>
35389
35390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35391 ifuncs.
35392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35393 elf_machine_lazy_rel): Likewise.
35394 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35396 elf_machine_lazy_rel): Likewise.
35397 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35398 dl_hwcap via passed in argument.
35399 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35400 Likewise.
35401
5a31b283
AK
354022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35403
35404 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35405
069e52f8
RM
354062011-06-06 Roland McGrath <roland@hack.frob.com>
35407
35408 [BZ #12849]
35409 * manual/fdl-1.1.texi: New file, verbatim from:
35410 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35411 * manual/lgpl-2.1.texi: New file, verbatim from:
35412 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35413 * manual/Makefile (licenses): New variable, list those new file names.
35414 (texis): Use it.
35415 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35416
35417 * manual/fdl.texi: File removed.
35418 * manual/lesser.texi: File removed.
35419 * manual/libc.texinfo (Copying, Documentation License):
35420 Use new @include file names, put @appendix directive before @include.
35421
f16846a5
JJ
354222011-06-04 Jakub Jelinek <jakub@redhat.com>
35423
35424 [BZ #12841]
35425 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35426 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35427 (mq_open): Add __NTH.
35428
3d29045b
L
354292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35430
35431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35432 Assume Intel Core i3/i5/i7 processor if AVX is available.
35433
8c297311
UD
354342011-05-31 Ulrich Drepper <drepper@gmail.com>
35435
35436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35437 typo.
35438
c8fc0c91
UD
354392011-05-31 Andreas Schwab <schwab@redhat.com>
35440
35441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35442 memory. Use alloca_account. Fix memory leak when retrying.
35443
5b27a807
UD
354442011-05-31 Ulrich Drepper <drepper@gmail.com>
35445
356f8bc6
UD
35446 * version.h (RELEASE): Bump for 2.14 release.
35447 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35448
5b27a807
UD
35449 * config.make.in (RANLIB): Remove entry.
35450
01f16ab0
UD
354512011-05-30 Ulrich Drepper <drepper@gmail.com>
35452
41fce8bd
UD
35453 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35454 (libc.pot): Work around missing support for .ksh extension in xgettext.
35455
4769ae77
UD
35456 [BZ #12684]
35457 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35458 if both request failed.
35459 (send_dg): In case of server errors clear resplen or *resplen2.
35460
6b1e7d19
UD
35461 [BZ #12454]
35462 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35463 when there are multiple maps.
35464 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35465 (_dl_fini): Remove test here.
35466
01f16ab0
UD
35467 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35468
b1ebd700
UD
354692011-05-29 Ulrich Drepper <drepper@gmail.com>
35470
7ae22829
UD
35471 [BZ #12350]
35472 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35473 bit from old_res_options.
35474 (gaih_inet): Likewise.
35475
553149f6 35476 [BZ #11099]
18a84741 35477 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35478 as signed.
35479
652ffab1
UD
35480 * resolv/res_init.c (res_setoptions): Make the code more compact.
35481
16985fd0
UD
35482 [BZ #11558]
35483 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35484 set RES_USEVC.
35485
0464f746
UD
35486 [BZ #11634]
35487 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35488
7d17596c
UD
35489 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35490
cf6bbbd7
UD
35491 [BZ #11781]
35492 * malloc/malloc.h: Declare malloc hook variables as volatile.
35493
13f1ab36
UD
35494 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35495 in last patch.
35496
b1ebd700
UD
35497 [BZ #11799]
35498 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35499 raise in the comment.
80e2212d
UD
35500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35503
ce67228d
UD
355042011-05-28 Ulrich Drepper <drepper@gmail.com>
35505
8887a920
UD
35506 [BZ #12811]
35507 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35508 grow the buffers more if it already has to be sufficient.
35509 (build_wcs_upper_buffer): Likewise.
35510 * posix/regexec.c (check_matching): Likewise.
35511 (clean_state_log_if_needed): Likewise.
35512 (extend_buffers): Don't enlarge buffers beyond size of the input
35513 buffer.
35514 Patches mostly by Emil Wojak <emil@wojak.eu>.
35515 * posix/bug-regex32.c: New file.
35516 * posix/Makefile (tests): Add bug-regex32.
35517
4f031072
UD
35518 * locale/findlocale.c (_nl_find_locale): Return right away if
35519 _nl_explode_name failed.
35520 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35521
d0478f0c
UD
35522 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35523
de81b246
UD
35524 * debug/xtrace.sh: Unify messages.
35525 * malloc/memusage.sh: Likewise.
35526
c738465a
UD
35527 [BZ #12813]
35528 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35529 time symbol from vDSO. Substitute with vsyscall if not available.
35530 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35531 __vdso_time.
35532
f1f929d7
UD
35533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35534 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35536 Add sendmmsg and internal_sendmmsg.
35537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35540
ce67228d
UD
35541 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35542 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35544
e57420c6
UD
355452011-05-27 Ulrich Drepper <drepper@gmail.com>
35546
a8509ca5
UD
35547 [BZ #12813]
35548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35549 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35550 available.
35551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35552 __vdso_getcpu.
35553
e57420c6
UD
35554 [BZ #12814]
35555 * iconvdata/Makefile (tests): Add bug-iconv9.
35556 * iconvdata/bug-iconv9.c: New file.
35557
4d07db15
AS
355582011-05-27 Andreas Schwab <schwab@redhat.com>
35559
35560 [BZ #12814]
35561 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35562
ea486f69
JJ
355632011-05-25 Jakub Jelinek <jakub@redhat.com>
35564
35565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35566 (struct user_regs_struct): Change intcs field back to cs.
35567
6f038433
UD
355682011-05-25 Ulrich Drepper <drepper@gmail.com>
35569
35570 * po/ja.po: Update from translation team.
35571
67f86a25
UD
355722011-05-23 Ulrich Drepper <drepper@gmail.com>
35573
35574 [BZ #12795]
35575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35577
def7fbd6
AS
355782011-05-20 Andreas Schwab <schwab@redhat.com>
35579
35580 * stdlib/longlong.h: Update from GCC.
35581
f50ef8f1
AS
355822011-05-23 Andreas Schwab <schwab@redhat.com>
35583
35584 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35585 parameter name.
35586 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35587 Add parameter name.
35588 (__sysconf): Pass it down.
35589
de7ce8f1
UD
355902011-05-22 Ulrich Drepper <drepper@gmail.com>
35591
f2962a71
UD
35592 [BZ #12671]
35593 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35594 some situations.
35595 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35596 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35597 add in in __libc_use_alloca calls. Adjust callers.
35598 (glob): Use malloc in some situations.
35599
de7ce8f1
UD
35600 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35601 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35602 pltexit.
35603
aec84f53
UD
356042011-05-21 Ulrich Drepper <drepper@gmail.com>
35605
05bb4a68
UD
35606 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35607 and CLOCK_BOOTTIME_ALARM.
35608
7ea72f99
UD
35609 [BZ #12782]
35610 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35611 is returned.
35612
7e4afad5
UD
35613 * string/_strerror.c (__strerror_r): Print negative errors as signed
35614 numbers.
35615
8e211fec
UD
35616 [BZ #12777]
35617 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35618 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35619 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35620
f7d82dc9
UD
35621 * configure.in: Fix typo in redirection and correct removal of test
35622 files in two cases.
35623
cc9e536d
UD
35624 [BZ #12788]
35625 * locale/setlocale.c (new_composite_name): Fix test to check for
35626 identical name of all categories.
35627
aec84f53
UD
35628 [BZ #12792]
35629 * libio/filedoalloc.c (local_isatty): New function.
35630 (_IO_file_doallocate): Use local_isatty.
35631 * stdio-common/perror.c (perror): In case a new stream is used
35632 forward the stream error.
35633 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35634 error flag.
35635
78e64fdc
RT
356362011-05-20 Ulrich Drepper <drepper@gmail.com>
35637
34a9094f
UD
35638 [BZ #11869]
35639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35640 alloca.
35641 * include/alloca.h (extend_alloca_account): Define.
35642
78e64fdc
RT
35643 [BZ #11857]
35644 * posix/regex.h: Fix comments with documentation of user-accessible
35645 fields after compilation and describe correct free'ing of pattern
35646 after re_compile_pattern.
35647 Patch by Reuben Thomas <rrt@sc3d.org>.
35648
457bddfc
RA
356492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35650
35651 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35652 and -mno-altivec to prevent the compiler from using Altivec and/or
35653 VSX instructions when the corresponding registers are not available.
35654
a4527b51
AS
356552011-05-19 Andreas Schwab <schwab@redhat.com>
35656
35657 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35658
ed690b2f
UD
356592011-05-19 Ulrich Drepper <drepper@gmail.com>
35660
35661 * libio/freopen.c (freopen): Use __dup2, not dup2.
35662 * libio/freopen64.c (freopen64): Likewise.
35663
8db73634
L
356642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35665
35666 [BZ #12775]
35667 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35668 * math/Makefile (tests): Add test-powl.
35669 (CFLAGS-test-powl.c): Define.
35670 * math/test-powl.c: New file.
35671
0a197a9d
L
356722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35673
35674 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35675
ee30c380
UD
356762011-05-17 Ulrich Drepper <drepper@gmail.com>
35677
35678 [BZ #11837]
35679 * iconvdata/gb18030.c: Update to GB18020-2005.
35680
6ce75379
UD
356812011-05-16 Ulrich Drepper <drepper@gmail.com>
35682
a4b89fd8
AR
35683 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35684 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35685 Patch by Aharon Robbins <arnold@skeeve.com>.
35686
ea389b12
UD
35687 [BZ #11892]
35688 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35689 on the stack.
35690
68a3f91f
UD
35691 [BZ #11895]
35692 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35693 through underflows.
35694
15cc7dd1
UD
35695 [BZ #12766]
35696 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35697 point to strings before performing equality test for error_one_per_line
35698 mode.
35699
f3799213
UD
35700 [BZ #11697]
35701 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35702
d79a9c94
UD
35703 [BZ #11820]
35704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35705 (struct user_fpregs_struct): Avoid __uint*_t types.
35706
56e5eb46
UD
35707 [BZ #6420]
35708 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35709 symbol info. Use it instead of calling _dl_addr locally.
35710 (lock_and_info): New function.
35711 (tr_freehook): Call lock_and_info and pass symbol info as additional
35712 parameter to tr_where.
35713 (tr_mallochook): Likewise.
35714 (tr_reallochook): Likewise.
35715 (tr_memalignhook): Likewise.
35716
6ce75379
UD
35717 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35718 used and couldn't be at all thread-safe.
35719
f8a3b5bf
UD
357202011-05-15 Ulrich Drepper <drepper@gmail.com>
35721
94b7cc37
UD
35722 * libio/freopen.c (freopen): Don't close old file descriptor
35723 before the new one is opened. Instead dup the new file descriptor
35724 to the old one after the new stream is created.
35725 * libio/freopen64.c (freopen64): Likewise.
35726 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35727 * libio/fileops.c (_IO_new_file_close_it): Handle new
35728 _IO_FLAGS2_NOCLOSE flag.
35729 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35730 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35731 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35732 _IO_FLAGS2_NOCLOSE flag.
35733 * include/unistd.h: Add hidden_proto for dup3.
35734 Define __have_dup3.
35735 * io/dup3.c: Define hidden symbol.
35736 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35737
bd25564e
UD
35738 [BZ #7101]
35739 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35740 when an incomplete long option is used.
35741 * posix/tst-getopt_long1.c: New file.
35742 * posix/Makefile (tests): Add tst-getopt_long1.
35743
c84cfef4
UD
35744 [BZ #10138]
35745 * scripts/config.guess: Update from autoconf-2.68.
35746 * scripts/config.sub: Likewise.
35747
3b85df27
UD
35748 [BZ #10157]
35749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35750 tests into ...
35751 (has_cpuclock): ...this. New function.
35752 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35753 macro here based on has_cpuclock code.
35754
15a856b1
UD
35755 [BZ #10149]
35756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35757 First byte (not low byte) is now always NUL.
35758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35759
05f399e6
UD
35760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35761 Use non-cancelable interfaces.
35762
10a52685 35763 [BZ #9809]
94ecc67d
UD
35764 * locale/iso-639.def: Add entry for Sorani.
35765
f8a3b5bf
UD
35766 [BZ #11901]
35767 * include/stdlib.h: Move include protection to the right place.
35768 Define abort_msg_s. Declare __abort_msg with it.
35769 * stdlib/abort.c (__abort_msg): Adjust type.
35770 * assert/assert.c (__assert_fail_base): New function. Majority
35771 of code from __assert_fail. Allocate memory for __abort_msg with
35772 mmap.
35773 (__assert_fail): Now call __assert_fail_base.
35774 * assert/assert-perr.c: Remove bulk of implementation. Use
35775 __assert_fail_base.
35776 * include/assert.hL Declare __assert_fail_base.
35777 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35778 mmap.
35779 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35780
1af4e298
UD
357812011-05-14 Ulrich Drepper <drepper@gmail.com>
35782
f8a3b5bf 35783 [BZ #11952]
d26dfc60
MG
35784 [BZ #12453]
35785 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35786 until all modules are registered in the DTV.
35787 * elf/Makefile: Add rules to build and run tst-tls19.
35788 * elf/tst-tls19.c: New file.
35789 * elf/tst-tls19mod1.c: New file.
35790 * elf/tst-tls19mod2.c: New file.
35791 * elf/tst-tls19mod3.c: New file.
35792 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35793
2fc54d6f
UD
35794 [BZ #12083]
35795 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35796 correctly.
35797
98d76b46
UD
35798 [BZ #12601]
35799 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35800 two-byte sequence errors.
35801 * iconvdata/Makefile (tests): Add bug-iconv8.
35802 * iconvdata/bug-iconv8.c: New file.
35803
da3c19ef
UD
35804 [BZ #12626]
35805 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35806 buf2 definition.
35807
ca408c15
UD
35808 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35809
d6f67f7d
UD
35810 [BZ #12432]
35811 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35812 (dummy_getcfa): New function.
35813 (init): Get _Unwind_GetCFA address, use dummy if not found.
35814 (backtrace_helper): In recursion check, also check whether CFA changes.
35815 (__backtrace): Completely initialize arg.
35816
1af4e298 35817 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35818 storing incomplete byte sequence in state object. Avoid testing for
35819 guaranteed too small input if we know there is enough data available.
1af4e298 35820
da62f81b
AS
358212011-05-11 Andreas Schwab <schwab@redhat.com>
35822
35823 * Makeconfig (+link-pie): Indent.
35824 * Rules (binaries-pie): Define if $(have-fpie) and
35825 $(build-shared).
35826 (binaries-shared): Also filter out $(binaries-pie).
35827 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35828 * nscd/Makefile (others-pie): Add nscd.
35829 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35830 ($(objpfx)nscd): Remove command override.
35831 * login/Makefile (others-pie): Add pt_chown.
35832 ($(objpfx)pt_chown): Remove command override.
35833 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35834 remove command overrides.
35835
fcabc0f8
UD
358362011-05-13 Ulrich Drepper <drepper@gmail.com>
35837
20030ae6
UD
35838 * libio/tst_putwc.c: Fix error messages.
35839
fcabc0f8
UD
35840 [BZ #12724]
35841 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35842 currently writing and seek to current position when not.
35843 * libio/Makefile (tests): Add bug-fclose1.
35844 * libio/bug-fclose1.c: New file.
35845
320a5dc0
PB
358462011-05-12 Ulrich Drepper <drepper@gmail.com>
35847
35848 [BZ #12511]
35849 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35850 don't set DF_1_NODELETE here.
35851 (do_lookup_x): When entering new entry test for copy relocation
35852 and if necessary set DF_1_NODELETE flag.
35853 * elf/tst-unique4.cc: New file.
35854 * elf/tst-unique4.h: New file.
35855 * elf/tst-unique4lib.cc: New file.
35856 * elf/Makefile: Add rules to build and run tst-unique4.
35857 Patch by Piotr Bury <pbury@goahead.com>.
35858
22836f52
UD
358592011-05-11 Ulrich Drepper <drepper@gmail.com>
35860
f574184a
UD
35861 [BZ #12052]
35862 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35863
e1fb097f
UD
35864 [BZ #12625]
35865 * misc/mntent_r.c (addmntent): Flush the stream after the output
35866
22836f52
UD
35867 [BZ #12393]
35868 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35869 (is_trusted_path_normalize): Skip initial colon. Append slash
35870 to empty buffer. Duplicate is_trusted_path code but allow
35871 constructed patch to be prefix.
35872 (is_dst): Allow $ORIGIN followed by /.
35873 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35874 Correct testing of result of is_trusted_path_normalize
35875 (decompose_rpath): Fix warning.
35876
7b3b0b2a
UD
358772011-05-10 Ulrich Drepper <drepper@gmail.com>
35878
35879 [BZ #11257]
35880 * grp/initgroups.c (internal_getgrouplist): When we found the service
35881 list through the initgroups entry in nsswitch.conf do not always
35882 continue on a successful lookup. Don't always use the
eac80ce2 35883 __nss_group_database value if it is set.
7b3b0b2a
UD
35884 * nss/nsswitch.conf (initgroups): Change action for successful db
35885 lookup to continue for compatibility.
35886
2a81eaa5
UD
358872011-05-09 Ulrich Drepper <drepper@gmail.com>
35888
be97a69e
UD
35889 [BZ #11532]
35890 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35891 and CP774 modules.
35892 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35893 and CP774 modules.
35894 * iconvdata/tst-tables.sh: Likewise.
35895 * iconvdata/cp770.c: New file.
35896 * iconvdata/cp771.c: New file.
35897 * iconvdata/cp772.c: New file.
35898 * iconvdata/cp773.c: New file.
35899 * iconvdata/cp774.c: New file.
35900 * iconvdata/testdata/CP770: New file.
35901 * iconvdata/testdata/CP770..UTF8: New file.
35902 * iconvdata/testdata/CP771: New file.
35903 * iconvdata/testdata/CP771..UTF8: New file.
35904 * iconvdata/testdata/CP772: New file.
35905 * iconvdata/testdata/CP772..UTF8: New file.
35906 * iconvdata/testdata/CP773: New file.
35907 * iconvdata/testdata/CP773..UTF8: New file.
35908 * iconvdata/testdata/CP774: New file.
35909 * iconvdata/testdata/CP774..UTF8: New file.
35910
35911 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35912 END CHARMAP line.
35913 * iconvdata/gen-8bit-gap.sh: Likewise.
35914 * iconvdata/gen-8bit.sh: Likewise.
35915
c1e9e399
UD
35916 * locale/iso-639.def: Add ary entry.
35917
24c55fb3 35918 [BZ #11258]
96b4b1b0
UD
35919 * locale/C-translit.h.in: Add U20A1 transliteration.
35920
bdc2f971
KB
35921 [BZ #12178]
35922 * locale/iso-639.def: Add wae entry.
35923 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35924
2952b117
UD
35925 [BZ #12545]
35926 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35927 for n.
35928
2a81eaa5
UD
35929 [BZ #12711]
35930 * locale/C-translit.h.in: Add entry for U20B9.
35931 Patch by pravin.d.s@gmail.com.
35932
28377d1b
UD
359332011-05-08 Ulrich Drepper <drepper@gmail.com>
35934
7fb90fb8
UD
35935 [BZ #12713]
35936 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35937 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35938 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35939 in rtld. Use *stat64.
7fb90fb8 35940 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35941 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35942 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35943 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35944 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35945 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35946 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35947 __fstatat64 macros.
7fb90fb8
UD
35948 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35949 * dirent/rewinddir.c: Add libc_hidden_def.
35950 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35951 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35952
28377d1b
UD
35953 * include/dirent.h (__alloc_dir): Add flags parameter.
35954 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35955 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35956 __alloc_dir.
35957 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35958 from fdopendir if O_CLOEXEC is already set.
35959
66bdbaa4
AM
359602011-03-15 Alan Modra <amodra@gmail.com>
35961
35962 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35963 l_tls_firstbyte_offset non-zero. Save padding offset in
35964 l_tls_firstbyte_offset for later use.
35965 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35966 freeing static tls block.
35967
95721191
JN
359682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35969
35970 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35971 where #ifdef was intended. The intent is to prevent ARG_MAX from
35972 being defined by the kernel headers.
35973
f87dfb1f
UD
359742011-05-07 Ulrich Drepper <drepper@gmail.com>
35975
35976 [BZ #12734]
35977 * resolv/resolv.h: Define RES_NOTLDQUERY.
35978 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35979 no-tld-query and set RES_NOTLDQUERY.
35980 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35981 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35982 modern BIND to search name as TLD unless forbidden.
35983
47c3cd7a
UD
359842011-05-07 Petr Baudis <pasky@suse.cz>
35985 Ulrich Drepper <drepper@gmail.com>
35986
35987 [BZ #12393]
35988 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35989 (is_trusted_path): ...to here.
c1e9ea35 35990 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35991 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35992 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35993
8a35c912
PP
359942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35995
35996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35997 __BEGIN/__END_DECLS.
35998
acd41f47
UD
359992011-05-06 Ulrich Drepper <drepper@gmail.com>
36000
36001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36002 NSS_STATUS_NOTFOUND if no record was found.
36003
597df647
AS
360042011-05-05 Andreas Schwab <schwab@redhat.com>
36005
36006 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36007 (headers-not-in-tirpc): Remove rpc/netdb.h
36008 * resolv/netdb.h: Revert last change.
36009
b9af1301
PP
360102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36011
36012 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36013 circular dependency between libgcc.a and libc.a.
36014
4e34d5f5
AS
360152011-05-05 Andreas Schwab <schwab@redhat.com>
36016
36017 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36018 * nis/Makefile: Don't install rpcsvc/*.
36019 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36020 instead of <rpc/types.h>.
36021 (MAXHOSTNAMELEN): Define.
36022
00ee369c
AS
360232011-05-03 Andreas Schwab <schwab@redhat.com>
36024
36025 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36026
0b592a30
MB
360272011-04-28 Maciej Babinski <mbabinski@google.com>
36028
36029 [BZ #12714]
36030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36031 gethostbyname4_r when IPv6 results are possible.
36032
6e04cbbe
UD
360332011-05-02 Ulrich Drepper <drepper@gmail.com>
36034
36035 [BZ #12723]
36036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36037 _PC_PIPE_BUF handling.
36038
e4ecafe0
BH
360392011-04-30 Bruno Haible <bruno@clisp.org>
36040
36041 [BZ #12717]
36042 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36043 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36044 to 'int'.
36045 * inet/getnameinfo.c (getnameinfo): Likewise.
36046
125ee683
UD
360472011-04-29 Ulrich Drepper <drepper@gmail.com>
36048
36049 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36050 to groups setting in database lookup.
36051 * nss/nsswitch.conf: Add initgroups entry.
36052
b722481a
EB
360532011-04-22 Ulrich Drepper <drepper@gmail.com>
36054
36055 [BZ #12685]
36056 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36057 mode string.
36058 Patch by Eric Blake <eblake@redhat.com>.
36059
4df46dbd
L
360602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36061
36062 * sunrpc/Makefile (need-export-routines): Add svc_run.
36063 (routines): Remove svc_run.
36064 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36065 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36066 * sunrpc/svc_run.c (svc_run): Likewise.
36067 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36068
e84142d2
UD
360692011-04-21 Ulrich Drepper <drepper@gmail.com>
36070
36071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36072 problem in reallocation in last patch.
36073
877175d8
UD
360742011-04-20 Ulrich Drepper <drepper@gmail.com>
36075
36076 * sunrpc/Makefile: Move inclusion of Rules.
36077
ab8eed78
UD
360782011-04-19 Ulrich Drepper <drepper@gmail.com>
36079
36080 * nss/nss_files/files-initgroups.c: New file.
36081 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36082 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36083 _nss_files_initgroups_dyn.
36084
e3d8f584
RS
360852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36086
36087 * elf/elf.h (R_ARM_IRELATIVE): Define.
36088
af190f45
UD
360892011-04-19 Ulrich Drepper <drepper@gmail.com>
36090
36091 * po/ru.po: Update from translation team.
36092
53cf59ef
UD
360932011-04-17 Ulrich Drepper <drepper@gmail.com>
36094
36095 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36096 dependencies.
36097
4c559bcd
MF
360982011-02-06 Mike Frysinger <vapier@gentoo.org>
36099
36100 [BZ #12653]
36101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36102 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36106
4420675c
AS
361072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36108
36109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36110 differing bytes.
36111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36114
75ea32ab
UD
361152011-04-17 Ulrich Drepper <drepper@gmail.com>
36116
36117 [BZ #12420]
36118 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36119 storing it.
36120 * stdlib/bug-getcontext.c: New file.
36121 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36122
27390476
AK
361232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36124
36125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36126 instructions into .machine "z9-109".
36127 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36129
10442705
AK
361302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36131
36132 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36133 between environment variables and auxiliary vector.
36134
7b57bfe5
UD
361352011-04-16 Ulrich Drepper <drepper@gmail.com>
36136
36137 * Makefile: Add rules to build linkobj/libc.so.
36138 * include/libc-symbols.h: Define libc_hidden_nolink.
36139 * include/rpc/auth.h: Mark functions which are to be hidden.
36140 * include/rpc/auth_des.h: Likewise.
36141 * include/rpc/auth_unix.h: Likewise.
36142 * include/rpc/clnt.h: Likewise.
36143 * include/rpc/des_crypt.h: Likewise.
36144 * include/rpc/key_prot.h: Likewise.
36145 * include/rpc/pmap_clnt.h: Likewise.
36146 * include/rpc/pmap_prot.h: Likewise.
36147 * include/rpc/pmap_rmt.h: Likewise.
36148 * include/rpc/rpc_msg.h: Likewise.
36149 * include/rpc/svc.h: Likewise.
36150 * include/rpc/svc_auth.h: Likewise.
36151 * include/rpc/xdr.h: Likewise.
36152 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36153 * nss/Makefile: Likewise.
36154 * sunrpc/Makefile: Don't install headers. Build library with normal
36155 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36156 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36157 for the compat linking library. Remove use of INTDEF/INTUSE.
36158 * sunrpc/auth_none.c: Likewise.
36159 * sunrpc/auth_unix.c: Likewise.
36160 * sunrpc/authdes_prot.c: Likewise.
36161 * sunrpc/authuxprot.c: Likewise.
36162 * sunrpc/clnt_gen.c: Likewise.
36163 * sunrpc/clnt_perr.c: Likewise.
36164 * sunrpc/clnt_raw.c: Likewise.
36165 * sunrpc/clnt_simp.c: Likewise.
36166 * sunrpc/clnt_tcp.c: Likewise.
36167 * sunrpc/clnt_udp.c: Likewise.
36168 * sunrpc/clnt_unix.c: Likewise.
36169 * sunrpc/des_crypt.c: Likewise.
36170 * sunrpc/des_soft.c: Likewise.
36171 * sunrpc/get_myaddr.c: Likewise.
36172 * sunrpc/key_call.c: Likewise.
36173 * sunrpc/key_prot.c: Likewise.
36174 * sunrpc/netname.c: Likewise.
36175 * sunrpc/pm_getmaps.c: Likewise.
36176 * sunrpc/pm_getport.c: Likewise.
36177 * sunrpc/pmap_clnt.c: Likewise.
36178 * sunrpc/pmap_prot.c: Likewise.
36179 * sunrpc/pmap_prot2.c: Likewise.
36180 * sunrpc/pmap_rmt.c: Likewise.
36181 * sunrpc/publickey.c: Likewise.
36182 * sunrpc/rpc_cmsg.c: Likewise.
36183 * sunrpc/rpc_common.c: Likewise.
36184 * sunrpc/rpc_dtable.c: Likewise.
36185 * sunrpc/rpc_prot.c: Likewise.
36186 * sunrpc/rpc_thread.c: Likewise.
36187 * sunrpc/rtime.c: Likewise.
36188 * sunrpc/svc.c: Likewise.
36189 * sunrpc/svc_auth.c: Likewise.
36190 * sunrpc/svc_authux.c: Likewise.
36191 * sunrpc/svc_raw.c: Likewise.
36192 * sunrpc/svc_run.c: Likewise.
36193 * sunrpc/svc_simple.c: Likewise.
36194 * sunrpc/svc_tcp.c: Likewise.
36195 * sunrpc/svc_udp.c: Likewise.
36196 * sunrpc/svc_unix.c: Likewise.
36197 * sunrpc/svcauth_des.c: Likewise.
36198 * sunrpc/xcrypt.c: Likewise.
36199 * sunrpc/xdr.c: Likewise.
36200 * sunrpc/xdr_array.c: Likewise.
36201 * sunrpc/xdr_float.c: Likewise.
36202 * sunrpc/xdr_intXX_t.c: Likewise.
36203 * sunrpc/xdr_mem.c: Likewise.
36204 * sunrpc/xdr_rec.c: Likewise.
36205 * sunrpc/xdr_ref.c: Likewise.
36206 * sunrpc/xdr_sizeof.c: Likewise.
36207 * sunrpc/xdr_stdio.c: Likewise.
36208
e6c61494
UD
362092011-04-10 Ulrich Drepper <drepper@gmail.com>
36210
36211 [BZ #12650]
36212 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36213 * sysdeps/ia64/dl-tls.h: Likewise.
36214 * sysdeps/powerpc/dl-tls.h: Likewise.
36215 * sysdeps/s390/dl-tls.h: Likewise.
36216 * sysdeps/sh/dl-tls.h: Likewise.
36217 * sysdeps/sparc/dl-tls.h: Likewise.
36218 * sysdeps/x86_64/dl-tls.h: Likewise.
36219 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36220
34fe483e
AS
362212011-03-14 Andreas Schwab <schwab@redhat.com>
36222
36223 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36224 rpath element also skip the following colon.
36225 (expand_dynamic_string_token): Add is_path parameter and pass
36226 down to DL_DST_REQUIRED and _dl_dst_substitute.
36227 (decompose_rpath): Call expand_dynamic_string_token with
36228 non-zero is_path. Ignore empty rpaths.
36229 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36230 with zero is_path.
36231
f12a32e6
AS
362322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36233
36234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36235 Make cancelable.
36236
38a7d692
UD
362372011-04-09 Ulrich Drepper <drepper@gmail.com>
36238
36239 [BZ #12655]
36240 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36241 Patch by Filipe David Manana <fdmanana@apache.org>.
36242
e451d22b
AS
362432011-04-07 Andreas Schwab <schwab@redhat.com>
36244
36245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36246 Maintain aligned stack.
36247 (CHECK_RSP): Remove unused macro.
36248
dedc7c7b
UD
362492011-04-03 Ulrich Drepper <drepper@gmail.com>
36250
36251 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36253
94521213
UD
362542011-04-02 Ulrich Drepper <drepper@gmail.com>
36255
36256 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36257
8cb700c0 36258 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36259
0354e355
L
362602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36261
36262 [BZ #12518]
36263 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36264 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36265 * sysdeps/x86_64/memmove.c: New file.
36266 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36267 (memcpy): Renamed to ...
36268 (__new_memcpy): This.
36269 (memcpy): Provide GLIBC_2_14 memcpy.
36270 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36271 (memcpy): Provide GLIBC_2_2_5 memcpy.
36272
8593482f
UD
362732011-04-01 Ulrich Drepper <drepper@gmail.com>
36274
36275 [BZ #12631]
36276 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36277
81a5726b
AS
362782011-03-30 Andreas Schwab <schwab@redhat.com>
36279
36280 * misc/syncfs.c: New file.
36281 * misc/Makefile (routines): Add syncfs.
36282 * posix/unistd.h: Declare syncfs.
36283 * sysdeps/unix/syscalls.list: Add syncfs.
36284
00e5419f
AS
362852011-04-01 Andreas Schwab <schwab@redhat.com>
36286
36287 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36288 open_by_handle_at.
36289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36294 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36296
748876bf
UD
362972011-04-01 Ulrich Drepper <drepper@gmail.com>
36298
658e451d
UD
36299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36306
748876bf
UD
36307 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36308 sync_file_range.c with -fexceptions.
36309 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36310 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36313 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36316 sync_file_range as cancellation point
36317 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36318 now a wrapper around __call_sync_file_range with cancellation handling.
36319 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36321 function name to __call_sync_file_range.
36322 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36323 Add call_sync_file_range.
748876bf 36324
6e63d5e1
AS
363252011-04-01 Andreas Schwab <schwab@redhat.com>
36326
36327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36328 bits/timex.h.
6e63d5e1 36329
46998f74
UD
363302011-04-01 Ulrich Drepper <drepper@gmail.com>
36331
4c1423ed
UD
36332 * iconv/iconv.h: Fix typo in comment.
36333 * io/fcntl.h: Likewise.
36334 * libio/stdio.h: Likewise.
36335 * posix/spawn.h: Likewise.
36336 * posix/unistd.h: Likewise.
36337 * stdlib/stdlib.h: Likewise.
36338 * time/time.h: Likewise.
36339 * wcsmbs/wchar.h: Likewise.
36340
158648c0
UD
36341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36342 open_by_handle): Add.
36343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36344 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36345 Augment a few comments.
36346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36351 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36352 open_by_handle.
36353
46998f74
UD
36354 * io/fcntl.h (AT_EMPTY_PATH): Define.
36355
83fe108b
UD
363562011-03-30 Ulrich Drepper <drepper@gmail.com>
36357
36358 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36359 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36360 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36361 to...
36362 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36363 * Versions.def: Add GLIBC_2.14.
36364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36365 Export.
83fe108b 36366
bb242059
UD
363672011-03-22 Ulrich Drepper <drepper@gmail.com>
36368
36369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36370 round counter.
36371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36372
c97a1282
L
363732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36374
36375 [BZ #12597]
36376 * string/test-strncmp.c (do_page_test): New function.
36377 (check2): Likewise.
36378 (test_main): Call check2.
36379 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36380
2a115601
UD
363812011-03-20 Ulrich Drepper <drepper@gmail.com>
36382
36383 [BZ #12587]
36384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36385 Handle cache information in CPU leaf 4.
36386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36387
8126d904
UD
363882011-03-18 Ulrich Drepper <drepper@gmail.com>
36389
042c49c6 36390 [BZ #12583]
8126d904
UD
36391 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36392 character representation.
36393 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36394
ccfe366e
RA
363952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36396
36397 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36398 END(__isnan) to END(__isnanf) to match function entry point/label
36399 EALIGN(__isnanf,...).
36400
c6e13027
JJ
364012011-03-10 Jakub Jelinek <jakub@redhat.com>
36402
36403 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36404
33f85a3f
UD
364052011-03-10 Ulrich Drepper <drepper@gmail.com>
36406
028478fa
UD
36407 [BZ #12510]
36408 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36409 copy from the symbol referenced in the relocation to initialize the
36410 used variable.
36411 Patch by Piotr Bury <pbury@goahead.com>.
36412 * elf/Makefile: Add rules to build and tst-unique3.
36413 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36414 * elf/tst-unique3.cc: New file.
36415 * elf/tst-unique3.h: New file.
36416 * elf/tst-unique3lib.cc: New file.
36417 * elf/tst-unique3lib2.cc: New file.
36418
33f85a3f
UD
36419 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36420
03592fc7
MF
364212011-03-10 Mike Frysinger <vapier@gentoo.org>
36422
36423 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36424 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36425 to _start.
03592fc7 36426
6a5ee102
UD
364272011-03-06 Ulrich Drepper <drepper@gmail.com>
36428
36429 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36430 to-be-loaded object along a path to loader is ld.so.
36431
7e4ba49c
HJ
364322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36433 Ulrich Drepper <drepper@gmail.com>
36434
36435 * sysdeps/x86_64/memset.S: After aligning destination, code
36436 branches to different locations depending on the value of
36437 misalignment, when multiarch is enabled. Fix this.
36438
364392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36440
36441 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36442 Set _x86_64_preferred_memory_instruction for AMD processsors.
36443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36444 Set bit_Prefer_SSE_for_memop for AMD processors.
36445
13a804de
UD
364462011-03-04 Ulrich Drepper <drepper@gmail.com>
36447
36448 * libio/fmemopen.c (fmemopen): Optimize a bit.
36449
9d25c392
AS
364502011-03-03 Andreas Schwab <schwab@redhat.com>
36451
36452 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36453
a5543c6a
RM
364542011-03-03 Roland McGrath <roland@redhat.com>
36455
36456 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36457
012d35f7
DM
364582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36459
7e4ba49c 36460 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36461 __bzero_ultra1 instead of __memset_ultra1.
36462
4bff6e01
AS
364632011-02-23 Andreas Schwab <schwab@redhat.com>
36464 Ulrich Drepper <drepper@gmail.com>
36465
36466 [BZ #12509]
36467 * include/link.h (struct link_map): Add l_orig_initfini.
36468 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36469 returning unsuccessfully.
36470 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36471 close of a file loaded at startup, restore the original l_initfini
36472 list.
36473 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36474 list, store the pointer.
36475 * elf/Makefile ($(objpfx)noload-mem): New rule.
36476 (noload-ENV): Define.
36477 (tests): Add $(objpfx)noload-mem.
36478 * elf/noload.c: Include <memcheck.h>.
36479 (main): Call mtrace. Close all opened handles.
36480
f2092faf
AS
364812011-02-17 Andreas Schwab <schwab@redhat.com>
36482
36483 [BZ #12454]
36484 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36485 dependencies are missing.
36486
6c8a2e88
ST
364872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36488
f2092faf 36489 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36490 Hurd needs munmap.
36491 * sysdeps/mach/hurd/ifreq.h: New file.
36492
84a42118
PB
364932011-01-27 Petr Baudis <pasky@suse.cz>
36494 Ulrich Drepper <drepper@gmail.com>
36495
071f805e 36496 [BZ 12445]#
84a42118
PB
36497 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36498 to extend_alloca().
36499 * stdio-common/bug23.c: New file.
36500 * stdio-common/Makefile (tests): Add bug23.
36501
e23fe25b
AS
365022010-09-28 Andreas Schwab <schwab@redhat.com>
36503 Ulrich Drepper <drepper@gmail.com>
36504
36505 [BZ #12489]
36506 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36507 before performing relro protection. At old place add assertion
36508 to make sure nothing changed.
36509
d3f02e10
NS
365102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36511 Glauber de Oliveira Costa <glommer@gmail.com>
36512
36513 * elf/elf.h: Add new ARM TLS relocs.
36514
d55fd7a5
RA
365152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36516
36517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36518 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36519 cast from r3.
36520 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36521 'tests' variable.
36522 * sysdeps/wordsize-64/tst-writev.c: New file.
36523
2206397e
RA
365242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36525
36526 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36527 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36528 insns in _dl_start to prevent a TOC reference before relocs are
36529 resolved.
36530
e9433893
UD
365312011-02-15 Ulrich Drepper <drepper@gmail.com>
36532
36533 [BZ #12469]
36534 * Makeconfig: Remove RANLIB definition.
36535 * Makerules: Don't use RANLIB.
36536 * aclocal.m4: Remove ranlib test.
36537 * configure.in: No need to check for ranlib.
36538 * elf/rtld-Rules: Don't use RANLIB.
36539
f75286c6
ST
365402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36541
8e31c82d
ST
36542 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36543 protection macro.
36544 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36545 inclusion protection macro.
36546
f75286c6
ST
36547 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36548 SIGRTMIN and SIGRTMAX and print information in that case only when
36549 SIGRTMIN is defined.
36550
c1d0e639
JJ
365512011-02-11 Jakub Jelinek <jakub@redhat.com>
36552
36553 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36554 arginfo fn returning -1.
36555
36556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36557 and thousands string is zero terminated.
36558
edf9294e
AS
365592011-02-03 Andreas Schwab <schwab@redhat.com>
36560
36561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36562 sysdeps/unix/sysv/linux/bits/socket.h.
36563
2b7e92df
ST
365642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36565
edf9294e
AS
36566 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36567 (__CPU_COUNT): Remove old macros.
36568 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36569 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36570 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36571 (__sched_cpualloc, __sched_cpufree): Add declarations.
36572
a4c7ea7b
UD
365732011-02-05 Ulrich Drepper <drepper@gmail.com>
36574
36575 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36576 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36577 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36578 (readdhstai): Return value of addhstaiX call.
36579 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36580 (addgrbyX): Return value returned by cache_addgr.
36581 (readdgrbyname): Return value returned by addgrbyX.
36582 (readdgrbygid): Likewise.
36583 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36584 (addpwbyX): Return value returned by cache_addpw.
36585 (readdpwbyname): Return value returned by addhstbyX.
36586 (readdpwbyuid): Likewise.
36587 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36588 (addservbyX): Return value returned by cache_addserv.
36589 (readdservbyname): Return value returned by addservbyX:
36590 (readdservbyport): Likewise.
36591 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36592 (addhstbyX): Return value returned by cache_addhst.
36593 (readdhstbyname): Return value returned by addhstbyX.
36594 (readdhstbyaddr): Likewise.
36595 (readdhstbynamev6): Likewise.
36596 (readdhstbyaddrv6): Likewise.
36597 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36598 (readdinitgroups): Return value returned by addinitgroupsX.
36599 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36600 (prune_cache): Keep track of timeout value of re-added entries.
36601 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36602 * nscd/nscd.h: Adjust prototypes of readd* functions.
36603
a0bf67cc
RM
366042011-02-04 Roland McGrath <roland@redhat.com>
36605
36606 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36607 (nis_stats): Likewise.
36608 * nis/nis_modify.c (nis_modify): Likewise.
36609 * nis/nis_remove.c (nis_remove): Likewise.
36610 * nis/nis_add.c (nis_add): Likewise.
36611
36612 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36613
36614 * posix/fnmatch_loop.c: Add some consts.
36615
36616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36617
435b95eb
L
366182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36619
36620 [BZ #12460]
36621 * config.make.in (config-cflags-novzeroupper): Define.
36622 * configure.in: Substitute libc_cv_cc_novzeroupper.
36623 * elf/Makefile (AVX-CFLAGS): Define.
36624 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36625 (CFLAGS-tst-auditmod4a.c): Likewise.
36626 (CFLAGS-tst-auditmod4b.c): Likewise.
36627 (CFLAGS-tst-auditmod6b.c): Likewise.
36628 (CFLAGS-tst-auditmod6c.c): Likewise.
36629 (CFLAGS-tst-auditmod7b.c): Likewise.
36630 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36631
8517b15e
UD
366322011-02-02 Ulrich Drepper <drepper@gmail.com>
36633
36634 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36635 function to the callback.
36636 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36637
10a656fe
AS
366382011-02-02 Andreas Schwab <schwab@redhat.com>
36639
36640 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36641 of errno.
36642
968dad0a
UD
366432011-01-19 Ulrich Drepper <drepper@gmail.com>
36644
9f94d2ea 36645 [BZ #11724]
968dad0a
UD
36646 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36647 of constructors.
36648 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36649 of destructors.
36650 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36651
36652 [BZ #11724]
36653 * elf/Makefile: Add rules to build and run new test.
36654 * elf/tst-initorder.c: New file.
36655 * elf/tst-initorder.exp: New file.
36656 * elf/tst-initordera1.c: New file.
36657 * elf/tst-initordera2.c: New file.
36658 * elf/tst-initordera3.c: New file.
36659 * elf/tst-initordera4.c: New file.
36660 * elf/tst-initorderb1.c: New file.
36661 * elf/tst-initorderb2.c: New file.
36662 * elf/tst-order-a1.c: New file.
36663 * elf/tst-order-a2.c: New file.
36664 * elf/tst-order-a3.c: New file.
36665 * elf/tst-order-a4.c: New file.
36666 * elf/tst-order-b1.c: New file.
36667 * elf/tst-order-b2.c: New file.
36668 * elf/tst-order-main.c: New file.
36669 New test case by George Gensure <werkt0@gmail.com>.
36670
86e92359
UD
366712010-10-01 Andreas Schwab <schwab@redhat.com>
36672
36673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36674 decoding ACE if AI_CANONIDN.
36675
5d5732b0
UD
366762011-01-18 Ulrich Drepper <drepper@gmail.com>
36677
36678 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36679
a77e8cbc
UD
366802011-01-17 Ulrich Drepper <drepper@gmail.com>
36681
6392473f
UD
36682 * version.h (RELEASE): Bump for 2.13 release.
36683 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36684
620a0529
UD
36685 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36686
18ba70a5
UD
36687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36688 MADV_NOHUGEPAGE.
32465c3e
UD
36689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36695
c0dafcf1
UD
36696 * posix/getconf.c: Update copyright year.
36697 * catgets/gencat.c: Likewise.
36698 * csu/version.c: Likewise.
36699 * debug/catchsegv.sh: Likewise.
36700 * debug/xtrace.sh: Likewise.
36701 * elf/ldconfig.c: Likewise.
36702 * elf/ldd.bash.in: Likewise.
36703 * elf/sprof.c (print_version): Likewise.
36704 * iconv/iconv_prog.c: Likewise.
36705 * iconv/iconvconfig.c: Likewise.
36706 * locale/programs/locale.c: Likewise.
36707 * locale/programs/localedef.c: Likewise.
36708 * malloc/memusage.sh: Likewise.
36709 * malloc/mtrace.pl: Likewise.
36710 * nscd/nscd.c (print_version): Likewise.
36711 * nss/getent.c: Likewise.
36712
a77e8cbc
UD
36713 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36714 PF_CAIF, and PF_ALG.
36715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36716
77e8bddf
AS
367172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36718
1f20b93a
AS
36719 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36720 (modules-names): Use them.
36721 (ifunc-test-modules, ifunc-pie-tests): Define.
36722 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36723 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36724 (test-extras): Likewise.
36725 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36726 $(compile-command.c).
36727 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36728 (all-built-dso): Define.
36729 (check-textrel.out, check-execstack.out): Depend on it.
36730
77e8bddf
AS
36731 * configure.in: Don't override --enable-multi-arch.
36732
bc425b33
UD
367332011-01-15 Ulrich Drepper <drepper@gmail.com>
36734
36735 [BZ #6812]
36736 * nscd/hstcache.c (tryagain): Define.
36737 (cache_addhst): Return tryagain not notfound for temporary errors.
36738 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36739 failed.
36740
794c3ad3
UD
367412011-01-14 Ulrich Drepper <drepper@gmail.com>
36742
70181fdd
UD
36743 [BZ #10563]
36744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36745 to make the syscall.
36746 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36747
794c3ad3
UD
36748 [BZ #12378]
36749 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36750 and fall back to matching as normal character if the string ends before
36751 the matching ']' is found. This is what POSIX requires.
36752 * posix/testfnm.c: Adjust test result.
36753 * posix/globtest.sh: Adjust test result. Add new test.
36754 * posix/tst-fnmatch.input: Likewise.
36755 * posix/tst-fnmatch2.c: Add new test.
36756
68dc9497
AS
367572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36758
36759 * elf/Makefile (check-execstack): Revert last change. Depend on
36760 check-execstack.h.
36761 (check-execstack.h): New target.
36762 (generated): Add check-execstack.h.
36763 * elf/check-execstack.c: Include "check-execstack.h".
36764 (main): Revert last change.
36765 (handle_file): Return zero if GNU_STACK is absent and
36766 DEFAULT_STACK_PERMS doesn't include PF_X.
36767
451f001b
UD
367682011-01-13 Ulrich Drepper <drepper@gmail.com>
36769
cfa28e56
UD
36770 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36771 in child fails because the descriptor is already closed.
8cf8ce17
UD
36772 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36773 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36775
1086d70d
UD
36776 [BZ #12397]
36777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36778 syscall.
36779
451f001b
UD
36780 [BZ #10484]
36781 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36782 temporary buffer used to handle multi lookups locally.
a85b5cb4 36783 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36784
08769175
UD
367852011-01-12 Ulrich Drepper <drepper@gmail.com>
36786
36787 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36788 loader is ld.so.
36789
5e49c52e
UD
367902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36791
36792 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36793 alignment for SSE2.
36794
60522a5f
UD
367952011-01-12 Ulrich Drepper <drepper@gmail.com>
36796
36797 [BZ #12394]
36798 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36799 characters. When rounding increased number of integer digits recompute
36800 number of groups.
36801 * stdio-common/tst-grouping.c: New file.
36802 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36803
f257bbd7
UD
368042011-01-09 Ulrich Drepper <drepper@gmail.com>
36805
36806 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36807 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36808
36809 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36810 void.
36811 * bits/select.h: Likewise.
36812
fa9c15cb
UD
368132011-01-08 Ulrich Drepper <drepper@gmail.com>
36814
36815 * po/ja.po: Update from translation team.
36816
16c2895f
DM
368172011-01-04 David S. Miller <davem@sunset.davemloft.net>
36818
36819 [BZ #11155]
36820 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36821 implementation just like for lxstat, fxstatat, et al.
36822
2543fef2
JM
368232010-12-27 Jim Meyering <meyering@redhat.com>
36824
36825 [BZ #12348]
36826 * posix/regexec.c (build_trtable): Return failure indication upon
36827 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36828
98727dbe
UD
368292010-12-25 Ulrich Drepper <drepper@gmail.com>
36830
5bd6dc5c
UD
36831 [BZ #12201]
36832 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36833 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36836
97983464
UD
36837 [BZ #12207]
36838 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36839
98727dbe
UD
36840 [BZ #12204]
36841 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36842 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36843
4a531bb0
L
368442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36845
36846 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36847 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36848 script has SORT_BY_INIT_PRIORITY.
36849 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36850 NO_CTORS_DTORS_SECTIONS is defined.
36851 * elf/soinit.c: Likewise.
36852 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36853 NO_CTORS_DTORS_SECTIONS is defined.
36854 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36855 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36856 * sysdeps/sh/init-first.c: Likewise.
36857 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36858
07eb4b71
UD
368592010-12-24 Ulrich Drepper <drepper@gmail.com>
36860
36861 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36862 always use the slow path.
36863
30950a5f
RA
368642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36865
36866 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36867 similar rule which adds the sysdep directories to the header search in
36868 order to pick up the correct platform stackinfo.h.
36869 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36870 perform test if it is, otherwise return successfully without testing.
36871 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36872 DEFAULT_STACK_PERMS define in stackinfo.h.
36873 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36874 defined in stackinfo.h.
36875 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36876 DEFAULT_STACK_PERMS defined in stackinfo.h.
36877 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36878 * sysdeps/ia64/stackinfo.h: Likewise.
36879 * sysdeps/s390/stackinfo.h: Likewise.
36880 * sysdeps/sh/stackinfo.h: Likewise.
36881 * sysdeps/sparc/stackinfo.h: Likewise.
36882 * sysdeps/x86_64/stackinfo.h: Likewise.
36883 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36884 PF_X for powerpc64. Retain PF_X for powerpc32.
36885
db753e2c
UD
368862010-12-19 Ulrich Drepper <drepper@gmail.com>
36887
14b697f7
UD
36888 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36889 accurately.
db753e2c
UD
36890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36891 GETDENTS_64BIT_ALIGNED.
36892
28300719
UD
368932010-12-14 Ulrich Drepper <dreper@gmail.com>
36894
14b697f7 36895 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36896
4f197237
AS
368972010-12-10 Andreas Schwab <schwab@redhat.com>
36898
dbb0472f
AS
36899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36900 _GNU_SOURCE.
36901
4f197237
AS
36902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36903 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36904 Remove __restrict.
36905 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36906 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36907
fb88ac72
UD
369082010-12-09 Ulrich Drepper <drepper@gmail.com>
36909
36910 [BZ #11655]
36911 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36912 are initialized.
36913
42acbb92
JJ
369142010-12-09 Jakub Jelinek <jakub@redhat.com>
36915
36916 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36917
c038d98d
UD
369182010-12-03 Ulrich Drepper <drepper@gmail.com>
36919
36920 * po/it.po: Update from translation team.
36921
3a4a2499
L
369222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36923
36924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36925 unused codes.
36926
1e24cf6e
UD
369272010-11-30 Ulrich Drepper <drepper@gmail.com>
36928
36929 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36930
a7690819
AS
369312010-11-24 Andreas Schwab <schwab@redhat.com>
36932
36933 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36934 specially.
36935 (gaih_getanswer_slice): Likewise.
36936
3bf8d1b1
JJ
369372010-10-20 Jakub Jelinek <jakub@redhat.com>
36938
36939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36940
6db52fbb
PB
369412010-05-31 Petr Baudis <pasky@suse.cz>
36942
36943 [BZ #11149]
36944 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36945 silently even in the chroot mode.
36946
eaca7569
UD
369472010-11-22 Ulrich Drepper <drepper@gmail.com>
36948
36949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36950 last patch a bit. Pretty printing
36951
3056dcdb
UD
369522010-05-31 Petr Baudis <pasky@suse.cz>
36953
36954 [BZ #10085]
36955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36956 initialization of skip_initgroups_dyn.
36957
cf7c9078
UD
369582010-11-19 Ulrich Drepper <drepper@gmail.com>
36959
36960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36962
a1fb5e3e
UD
369632010-11-16 Ulrich Drepper <drepper@gmail.com>
36964
36965 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36966
3540d66b
AS
369672010-11-11 Andreas Schwab <schwab@redhat.com>
36968
36969 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36970 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36971 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36972 ($(objpfx)tst-fnmatch-mem): New rule.
36973 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36974 * posix/tst-fnmatch.c (main): Call mtrace.
36975
13b69574
L
369762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36977
36978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36979 Support Intel processor model 6 and model 0x2c.
36980
da93d214
LM
369812010-11-10 Luis Machado <luisgpm@br.ibm.com>
36982
36983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36984 signed comparison.
36985
8ca52c6e
L
369862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36987
36988 [BZ #12205]
36989 * string/test-strncasecmp.c (check_result): New function.
36990 (do_one_test): Use it.
36991 (check1): New function.
36992 (test_main): Use it.
36993 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36994 Support strcasecmp and strncasecmp.
36995
69da074d
UD
369962010-11-08 Ulrich Drepper <drepper@gmail.com>
36997
36998 [BZ #12194]
36999 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37001
ff02d528
L
370022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37003
37004 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37005 IFUNC support.
37006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37007 memset-x86-64.
37008 * sysdeps/x86_64/multiarch/bzero.S: New file.
37009 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37010 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37011 * sysdeps/x86_64/multiarch/memset.S: New file.
37012 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37014 Set bit_Prefer_SSE_for_memop for Intel processors.
37015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37016 Define.
37017 (index_Prefer_SSE_for_memop): Define.
37018 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37019
344d0b54
LM
370202010-11-04 Luis Machado <luisgpm@br.ibm.com>
37021
37022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37024
c0dde15b
UD
370252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37026
37027 [BZ #12191]
37028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37029 (__x86_64_raw_data_cache_size_half): Likewise.
37030 (__x86_64_raw_shared_cache_size): Likewise.
37031 (__x86_64_raw_shared_cache_size_half): Likewise.
37032
37033 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37034 (__x86_64_raw_data_cache_size_half): Likewise.
37035 (__x86_64_raw_shared_cache_size): Likewise.
37036 (__x86_64_raw_shared_cache_size_half): Likewise.
37037 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37038 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37039 and __x86_64_raw_shared_cache_size_half. Round
37040 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37041 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37042 to multiple of 256 bytes.
37043
0e516e0e
MS
370442010-11-03 Ulrich Drepper <drepper@gmail.com>
37045
37046 [BZ #12167]
37047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37048 of inacessible symlinks. Verify result of symlink before returning it.
37049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37050 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37051
0e012e87
ER
370522010-10-28 Erich Ritz <erichritz@gmail.com>
37053
37054 * math/math.h (isinf): Fix typo in comment.
37055
de0ff7bc
UD
370562010-11-01 Ulrich Drepper <drepper@gmail.com>
37057
37058 * po/da.po: Update from translation team.
37059
fa41c84d
UD
370602010-10-26 Ulrich Drepper <drepper@gmail.com>
37061
37062 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37063 is added to the list.
37064
f0967738
AK
370652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37066 Ulrich Drepper <drepper@gmail.com>
37067
37068 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37069 the global list here. Move code to...
37070 (_dl_add_to_namespace_list): ...here. New function.
37071 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37072 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37073 * elf/dl-load.c (lose): Don't remove the element from the list.
37074 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37075 (_dl_map_object): Likewise.
37076
370772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37078
37079 [BZ #12159]
37080 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37081 into all bytes of SSE register.
37082 Patch by Richard Li <richardpku@gmail.com>.
37083
f0967738 370842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37085
37086 [BZ #12140]
37087 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37088 perturbing.
37089
d0b9e94f
MB
370902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37091
37092 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37093 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37097 submachine.
37098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37099
8e9f92e9
AS
371002010-10-22 Andreas Schwab <schwab@redhat.com>
37101
37102 * include/dlfcn.h (__RTLD_SECURE): Define.
37103 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37104 mode & __RTLD_SECURE instead.
37105 (open_path): Rename preloaded parameter to secure.
37106 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37107 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37108 * elf/dl-deps.c (openaux): Likewise.
37109 * elf/rtld.c (struct map_args): Remove is_preloaded.
37110 (map_doit): Don't use it.
37111 (dl_main): Likewise.
37112 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37113 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37114
bc96fbda
AS
371152010-09-09 Andreas Schwab <schwab@redhat.com>
37116
37117 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37118 (sysd-rules-targets): Remove duplicates.
37119 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37120 rtld-%.$o dependency.
37121
22cd1c9b
AS
371222010-10-18 Andreas Schwab <schwab@redhat.com>
37123
37124 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37125 _dl_map_object do it.
37126
18edac48
UD
371272010-10-19 Ulrich Drepper <drepper@gmail.com>
37128
37129 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37130 fast fma builtins, define the macros in the C99 standard.
37131 (FP_FAST_FMAF): Likewise.
37132 (FP_FAST_FMAL): Likewise.
37133 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37134
37135 * bits/mathdef.h: Update copyright year.
37136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37137
d2050124
MM
371382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37139
37140 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37141 builtins, define the macros in the C99 standard.
37142 (FP_FAST_FMAF): Likewise.
37143 (FP_FAST_FMAL): Likewise.
37144 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37145 multiply/add.
37146 (FP_FAST_FMAF): Likewise.
37147
475facd1
JJ
371482010-10-15 Jakub Jelinek <jakub@redhat.com>
37149
37150 [BZ #3268]
37151 * math/libm-test.inc (fma_test): Some new testcases.
37152 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37154 y and infinite z. Do multiplication by C already in long double.
37155 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37157 y and infinite z. Do bitwise or of inexact bit into u.d.
37158 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37159 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37160 * sysdeps/i386/fpu/s_fma.S: Removed.
37161 * sysdeps/i386/fpu/s_fmal.S: Removed.
37162
7c08a05c
JJ
371632010-10-16 Jakub Jelinek <jakub@redhat.com>
37164
37165 [BZ #3268]
37166 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37168 computation is not scheduled after fetestexcept. Fix value
37169 of minimum denormal long double.
37170
f3f7372d
JJ
371712010-10-14 Jakub Jelinek <jakub@redhat.com>
37172
37173 [BZ #3268]
37174 * math/libm-test.inc (fma_test): Add some more tests.
37175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37176 correctly.
37177
14d43591
AS
371782010-10-15 Andreas Schwab <schwab@redhat.com>
37179
37180 * scripts/data/localplt-s390-linux-gnu.data: New file.
37181 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37182
5e908464
JJ
371832010-10-13 Jakub Jelinek <jakub@redhat.com>
37184
37185 [BZ #3268]
37186 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37187 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37188 instead of dbl-64.
37189 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37190 inlines.
37191 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37193 if one of x and y is very large and the other is subnormal.
37194 * sysdeps/s390/fpu/s_fmaf.c: New file.
37195 * sysdeps/s390/fpu/s_fma.c: New file.
37196 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37197 * sysdeps/powerpc/fpu/s_fma.S: New file.
37198 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37199 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37200 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37201
372022010-10-12 Jakub Jelinek <jakub@redhat.com>
37203
37204 [BZ #3268]
37205 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37206 fma tests.
37207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37208 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37209 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37210 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37211 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37212 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37214
b833d51f
UD
372152010-10-12 Ulrich Drepper <drepper@redhat.com>
37216
37217 [BZ #12078]
37218 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37219 * posix/bug-regex31.input: Add test case.
37220
1751705d
UD
372212010-10-11 Ulrich Drepper <drepper@gmail.com>
37222
e9b9cbf5
UD
37223 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37224 * posix/bug-regex31.input: New file.
37225
37226 [BZ #12078]
37227 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37228 (parse_sub_exp): Fix last change, use postorder.
37229
ef06edbe
UD
37230 * posix/bug-regex31.c: New file.
37231 * posix/Makefile: Add rules to build and run bug-regex31.
37232
a129c80d
UD
37233 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37234
37235 [BZ #12078]
37236 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37237
b76b818e
UD
37238 [BZ #12108]
37239 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37240 to have entries in sys_siglist.
37241
1751705d
UD
37242 [BZ #12093]
37243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37244 be NULL.
37245
9ff8d36f
JJ
372462010-10-07 Jakub Jelinek <jakub@redhat.com>
37247
37248 [BZ #3268]
37249 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37250 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37251 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37252 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37254 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37255 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37256 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37257 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37258 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37259 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37260 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37262 * math/ftestexcept.c (fetestexcept): Likewise.
37263 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37264 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37265 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37267 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37268 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37270
af325969
UD
372712010-10-11 Ulrich Drepper <drepper@gmail.com>
37272
c579b202 37273 [BZ #12107]
af325969
UD
37274 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37275 newline.
37276
67a67b95
UD
372772010-10-06 Ulrich Drepper <drepper@gmail.com>
37278
37279 * string/bug-strstr1.c: New file.
37280 * string/Makefile: Add rules to build and run bug-strstr1.
37281
5fb308bc
EB
372822010-10-05 Eric Blake <eblake@redhat.com>
37283
37284 [BZ #12092]
37285 * string/str-two-way.h (two_way_long_needle): Always clear memory
37286 when skipping input due to the shift table.
37287
45db99c7
UD
372882010-10-03 Ulrich Drepper <drepper@gmail.com>
37289
3b111893
UD
37290 [BZ #12005]
37291 * malloc/mcheck.c: Handle large requests.
37292
45db99c7
UD
37293 [BZ #12077]
37294 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37295 for strncmp and strncasecmp.
37296 * string/stratcliff.c: Add tests for strcmp and strncmp.
37297 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37298
cf7a1eb8
NI
372992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37300
37301 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37302 __set_fpscr.
37303
6484ba5e
AJ
373042010-09-30 Andreas Jaeger <aj@suse.de>
37305
37306 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37307 (CGROUP_SUPER_MAGIC): Define.
37308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37309 Handle btrfs and cgroup file systems.
37310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37311 Likewise.
37312
91c42559
LM
373132010-09-27 Luis Machado <luisgpm@br.ibm.com>
37314
37315 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37316 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37317
87a97932
AK
373182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37319
37320 [BZ #12067]
37321 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37322 trying to locate the ELF header.
37323
c21cc9bc
AS
373242010-09-27 Andreas Schwab <schwab@redhat.com>
37325
37326 [BZ #11611]
37327 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37328 Mask out sign-bit copies when constructing f_fsid.
37329
315970f6
PB
373302010-09-24 Petr Baudis <pasky@suse.cz>
37331
37332 * debug/stack_chk_fail_local.c: Add missing licence exception.
37333 * debug/warning-nop.c: Likewise.
37334
1ac7a2c7
JM
373352010-09-15 Joseph Myers <joseph@codesourcery.com>
37336
37337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37338 implementing getdents64 using getdents syscall, set d_type if
37339 __ASSUME_GETDENTS32_D_TYPE.
37340
56801c50
AS
373412010-09-16 Andreas Schwab <schwab@redhat.com>
37342
37343 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37344 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37345
dda51327
UD
373462010-09-21 Ulrich Drepper <drepper@redhat.com>
37347
37348 [BZ #12037]
37349 * posix/unistd.h: Undo change of feature selection for ftruncate from
37350 2010-01-11.
37351
8ffcee4a
UD
373522010-09-20 Ulrich Drepper <drepper@redhat.com>
37353
a545ecd9 37354 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37355 detection.
37356
e24f0a8b
AS
373572010-09-20 Andreas Schwab <schwab@redhat.com>
37358
37359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37360 fanotify_mark.
37361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37362
7291c56f
AS
373632010-09-14 Andreas Schwab <schwab@redhat.com>
37364
37365 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37366 variables after CHECK_SP call.
37367 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37368
bc5fb037
AS
373692010-09-13 Andreas Schwab <schwab@redhat.com>
37370 Ulrich Drepper <drepper@redhat.com>
37371
37372 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37373 re-relocationg ld.so.
37374 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37375 _dl_init_paths call.
37376 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37377 here anymore.
37378
e66e7419
UD
373792010-09-14 Ulrich Drepper <drepper@redhat.com>
37380
37381 * resolv/res_init.c (__res_vinit): Count the default server we added.
37382
c044aa75
CLT
373832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37384 Ulrich Drepper <drepper@redhat.com>
37385
37386 [BZ #11968]
37387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37388 (____longjmp_chk): Use %ebx for saving value across system call.
37389 Add unwind info.
37390
32cf4069
AS
373912010-09-06 Andreas Schwab <schwab@redhat.com>
37392
37393 * manual/Makefile: Don't mix pattern rules with normal rules.
37394
817328ee
AS
373952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37396
37397 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37398 operation.
37399 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37400 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37401 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37402 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37404 Likewise.
37405
29fddf61
UD
374062010-09-04 Ulrich Drepper <drepper@redhat.com>
37407
37408 [BZ #11979]
37409 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37410 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37411
0959ffc9
UD
374122010-09-02 Ulrich Drepper <drepper@redhat.com>
37413
37414 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37415 * sysdeps/x86_64/addmul_1.S: Likewise.
37416 * sysdeps/x86_64/lshift.S: Likewise.
37417 * sysdeps/x86_64/mul_1.S: Likewise.
37418 * sysdeps/x86_64/rshift.S: Likewise.
37419 * sysdeps/x86_64/sub_n.S: Likewise.
37420 * sysdeps/x86_64/submul_1.S: Likewise.
37421
ece29840
ST
374222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37423
0959ffc9
UD
37424 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37425 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37426 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37427 * bits/sched.h [__need_schedparam]
ece29840 37428 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37429 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37430 (__defined_schedparam): Define to 1.
ece29840
ST
37431 (__sched_param): New structure, identical to sched_param.
37432 (__need_schedparam): Undefine.
37433
e53a31fe
MF
374342010-08-31 Mike Frysinger <vapier@gentoo.org>
37435
fdc0c10d
MF
37436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37437 (epoll_create1): Declare.
37438
e53a31fe
MF
37439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37440
a726d796
AS
374412010-08-31 Andreas Schwab <schwab@redhat.com>
37442
37443 [BZ #7066]
37444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37445 shifting retval into place.
37446
2f3e3dc7
UD
374472010-09-01 Ulrich Drepper <drepper@redhat.com>
37448
f2933da9
UD
37449 * nis/rpcsvc/nis.h: Update copyright notice.
37450 * nis/rpcsvc/nis.x: Likewise.
37451 * nis/rpcsvc/nis_callback.h: Likewise.
37452 * nis/rpcsvc/nis_callback.x: Likewise.
37453 * nis/rpcsvc/nis_object.x: Likewise.
37454 * nis/rpcsvc/nis_tags.h: Likewise.
37455 * nis/rpcsvc/yp.h: Likewise.
37456 * nis/rpcsvc/yp.x: Likewise.
37457 * nis/rpcsvc/ypupd.h: Likewise.
37458 * nis/yp_xdr.c: Likewise.
37459 * nis/ypupdate_xdr.c: Likewise.
37460
2f3e3dc7
UD
37461 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37462 mainly the body of pmap_getport. Add parameters to specify timeouts.
37463 (pmap_getport): Use __libc_rpc_getport.
37464 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37465 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37466 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37467
f3dcc2f9
AS
374682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37469
37470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37471 fanotify_mark.
37472
6d34eb5b
RM
374732010-08-27 Roland McGrath <roland@redhat.com>
37474
37475 * sysdeps/i386/i686/multiarch/Makefile
37476 (CFLAGS-varshift.c): New variable.
37477
9ea3de11
UD
374782010-08-27 Ulrich Drepper <drepper@redhat.com>
37479
c96d23fc
UD
37480 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37481 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37482
9ea3de11
UD
37483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37484
37485 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37486
623aac7f
L
374872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37488
37489 * sysdeps/x86_64/strlen.S: Unroll the loop.
37490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37491 strlen-sse2 strlen-sse2-bsf.
37492 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37493 __strlen_no_bsf if bit_Slow_BSF is set.
37494 (__strlen_sse42): Removed.
37495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37496 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37497
8b2b7715
RM
374982010-08-25 Roland McGrath <roland@redhat.com>
37499
37500 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37501 * sysdeps/x86_64/multiarch/varshift.c: New file.
37502 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37503 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37504 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37506
e73015f2
L
375072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37508
37509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37510 strlen-sse2 strlen-sse2-bsf.
37511 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37512 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37513 (__strlen_sse2): Removed.
37514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37517 bit_Slow_BSF for Atom.
37518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37519 (index_Slow_BSF): Define.
37520 (HAS_SLOW_BSF): Define.
37521
df24a73e
UD
375222010-08-25 Ulrich Drepper <drepper@redhat.com>
37523
37524 [BZ #10851]
37525 * resolv/res_init.c (__res_vinit): When no server address at all
37526 is given default to loopback.
37527
f2ac4868
RM
375282010-08-24 Roland McGrath <roland@redhat.com>
37529
09055553
RM
37530 * configure.in: Remove config-name.h generation.
37531 * configure: Regenerated.
37532 * config-name.in: File removed.
37533 * scripts/config-uname.sh: New file.
37534 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37535 ($(objdir)config-name.h): New target.
37536
f2ac4868
RM
37537 * sunrpc/rpc_parse.h: Avoid nested comment.
37538
73f27d5e
RH
375392010-08-24 Richard Henderson <rth@redhat.com>
37540 Ulrich Drepper <drepper@redhat.com>
37541 H.J. Lu <hongjiu.lu@intel.com>
37542
37543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37545 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37546 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37547 _mm_alignr_epi8 with _mm_loadu_si128.
37548 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37549 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37550 (__m128i_shift_right): Removed.
37551 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37552 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37553 * sysdeps/x86_64/multiarch/varshift.h: New file.
37554 * sysdeps/x86_64/multiarch/varshift.S: New file.
37555
84b9230c
MF
375562010-08-21 Mike Frysinger <vapier@gentoo.org>
37557
37558 * configure.in: Move assembler checks to before sysdep dir checking.
37559
9bbd0ddc
PB
375602010-08-20 Petr Baudis <pasky@suse.cz>
37561
37562 * LICENSES: Sync the sunrpc license.
37563
9da4bb31
UD
375642010-08-19 Ulrich Drepper <drepper@redhat.com>
37565
a7ab6ec8
UD
37566 * sunrpc/auth_des.c: Update copyright notice once again.
37567 * sunrpc/auth_none.c: Likewise.
37568 * sunrpc/auth_unix.c: Likewise.
37569 * sunrpc/authdes_prot.c: Likewise.
37570 * sunrpc/authuxprot.c: Likewise.
37571 * sunrpc/bindrsvprt.c: Likewise.
37572 * sunrpc/clnt_gen.c: Likewise.
37573 * sunrpc/clnt_perr.c: Likewise.
37574 * sunrpc/clnt_raw.c: Likewise.
37575 * sunrpc/clnt_simp.c: Likewise.
37576 * sunrpc/clnt_tcp.c: Likewise.
37577 * sunrpc/clnt_udp.c: Likewise.
37578 * sunrpc/clnt_unix.c: Likewise.
37579 * sunrpc/des_crypt.c: Likewise.
37580 * sunrpc/des_soft.c: Likewise.
37581 * sunrpc/get_myaddr.c: Likewise.
37582 * sunrpc/getrpcport.c: Likewise.
37583 * sunrpc/key_call.c: Likewise.
37584 * sunrpc/key_prot.c: Likewise.
37585 * sunrpc/openchild.c: Likewise.
37586 * sunrpc/pm_getmaps.c: Likewise.
37587 * sunrpc/pm_getport.c: Likewise.
37588 * sunrpc/pmap_clnt.c: Likewise.
37589 * sunrpc/pmap_prot.c: Likewise.
37590 * sunrpc/pmap_prot2.c: Likewise.
37591 * sunrpc/pmap_rmt.c: Likewise.
37592 * sunrpc/rpc/auth.h: Likewise.
37593 * sunrpc/rpc/auth_unix.h: Likewise.
37594 * sunrpc/rpc/clnt.h: Likewise.
37595 * sunrpc/rpc/des_crypt.h: Likewise.
37596 * sunrpc/rpc/key_prot.h: Likewise.
37597 * sunrpc/rpc/netdb.h: Likewise.
37598 * sunrpc/rpc/pmap_clnt.h: Likewise.
37599 * sunrpc/rpc/pmap_prot.h: Likewise.
37600 * sunrpc/rpc/pmap_rmt.h: Likewise.
37601 * sunrpc/rpc/rpc.h: Likewise.
37602 * sunrpc/rpc/rpc_des.h: Likewise.
37603 * sunrpc/rpc/rpc_msg.h: Likewise.
37604 * sunrpc/rpc/svc.h: Likewise.
37605 * sunrpc/rpc/svc_auth.h: Likewise.
37606 * sunrpc/rpc/types.h: Likewise.
37607 * sunrpc/rpc/xdr.h: Likewise.
37608 * sunrpc/rpc_clntout.c: Likewise.
37609 * sunrpc/rpc_cmsg.c: Likewise.
37610 * sunrpc/rpc_common.c: Likewise.
37611 * sunrpc/rpc_cout.c: Likewise.
37612 * sunrpc/rpc_dtable.c: Likewise.
37613 * sunrpc/rpc_hout.c: Likewise.
37614 * sunrpc/rpc_main.c: Likewise.
37615 * sunrpc/rpc_parse.c: Likewise.
37616 * sunrpc/rpc_parse.h: Likewise.
37617 * sunrpc/rpc_prot.c: Likewise.
37618 * sunrpc/rpc_sample.c: Likewise.
37619 * sunrpc/rpc_scan.c: Likewise.
37620 * sunrpc/rpc_scan.h: Likewise.
37621 * sunrpc/rpc_svcout.c: Likewise.
37622 * sunrpc/rpc_tblout.c: Likewise.
37623 * sunrpc/rpc_util.c: Likewise.
37624 * sunrpc/rpc_util.h: Likewise.
37625 * sunrpc/rpcinfo.c: Likewise.
37626 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37627 * sunrpc/rpcsvc/key_prot.x: Likewise.
37628 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37629 * sunrpc/rpcsvc/mount.x: Likewise.
37630 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37631 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37632 * sunrpc/rpcsvc/rex.x: Likewise.
37633 * sunrpc/rpcsvc/rstat.x: Likewise.
37634 * sunrpc/rpcsvc/rusers.x: Likewise.
37635 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37636 * sunrpc/rpcsvc/spray.x: Likewise.
37637 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37638 * sunrpc/rtime.c: Likewise.
37639 * sunrpc/svc.c: Likewise.
37640 * sunrpc/svc_auth.c: Likewise.
37641 * sunrpc/svc_authux.c: Likewise.
37642 * sunrpc/svc_raw.c: Likewise.
37643 * sunrpc/svc_run.c: Likewise.
37644 * sunrpc/svc_simple.c: Likewise.
37645 * sunrpc/svc_tcp.c: Likewise.
37646 * sunrpc/svc_udp.c: Likewise.
37647 * sunrpc/svc_unix.c: Likewise.
37648 * sunrpc/svcauth_des.c: Likewise.
37649 * sunrpc/xcrypt.c: Likewise.
37650 * sunrpc/xdr.c: Likewise.
37651 * sunrpc/xdr_array.c: Likewise.
37652 * sunrpc/xdr_float.c: Likewise.
37653 * sunrpc/xdr_mem.c: Likewise.
37654 * sunrpc/xdr_rec.c: Likewise.
37655 * sunrpc/xdr_ref.c: Likewise.
37656 * sunrpc/xdr_sizeof.c: Likewise.
37657 * sunrpc/xdr_stdio.c: Likewise.
37658
9da4bb31
UD
37659 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37660 handling.
37661
bdaa77bc
AS
376622010-08-19 Andreas Schwab <schwab@redhat.com>
37663
37664 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37665
fe2f79db
LM
376662010-08-19 Luis Machado <luisgpm@br.ibm.com>
37667
37668 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37671 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37672 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37673 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37675 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37678 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37679 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37680 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37681 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37682
b9b42ee0
AB
376832010-07-26 Anton Blanchard <anton@samba.org>
37684
37685 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37686 * malloc/arena.c (heap_trim): Likewise.
37687
1c06ba31
UD
376882010-08-16 Ulrich Drepper <drepper@redhat.com>
37689
37690 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37691 here. Not...
37692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37693 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37694
f8392f40
L
376952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37696
37697 * sysdeps/i386/elf/Makefile: New file.
37698
3162f12e
AS
376992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37700
37701 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37702 from fanotify_init.
37703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37705
28c90b2c
UD
377062010-08-15 Ulrich Drepper <drepper@redhat.com>
37707
37708 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37709 of strncasecmp_l.
1feccb6c 37710 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37711
ca6bb004
UD
377122010-08-14 Ulrich Drepper <drepper@redhat.com>
37713
e9f82e0d
UD
37714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37715 strncase_l-nonascii.
37716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37717 Add strncase_l-ssse3.
37718 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37719 * sysdeps/x86_64/strcmp.S: Likewise.
37720 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37721 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37722 * sysdeps/x86_64/strncase.S: New file.
37723 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37724 * sysdeps/x86_64/strncase_l.S: New file.
37725 * string/Makefile (strop-tests): Add strncasecmp.
37726 * string/test-strncasecmp.c: New file.
37727
37728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37729 warning.
37730
ca6bb004
UD
37731 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37733
052fa7b3
AS
377342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37735
37736 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37737
962dba78
UD
377382010-08-12 Ulrich Drepper <drepper@redhat.com>
37739
37740 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37743
bebff237
AM
377442010-05-01 Alan Modra <amodra@gmail.com>
37745
37746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37747 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37748 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37749 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37750 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37751 tidying. Don't tail-call __sigjmp_save for static lib.
37752 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37753 save location.
37754 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37755 (CALL_MCOUNT): Add eh info, and nop after bl.
37756 (TAIL_CALL_SYSCALL_ERROR): New macro.
37757 (PSEUDO_RET): Use it.
37758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37759 Correct save location of integer regs and cr.
37760 (_dl_profile_resolve): Correct cr save location. Delete nops
37761 after bl when SHARED. Reduce cfi size a little by better
37762 placement of cfi directives.
37763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37764 make a stack frame. Instead use parm save area as a temp.
37765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37766 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37768 Don't make a stack frame for parent, use parm save area.
37769 Increase child stack frame to 112 bytes. Don't save unused reg,
37770 and adjust reg usage. Set up cfi on error recovery and
37771 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37773 (__makecontext): Add dummy nop after jump to exit.
37774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37775 Use correct parm save area and cr save, reduce stack frame.
37776 Correct cfi for possible PSEUDO_RET frame setup.
37777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37778 Branch to local label emitted by PSEUDO_RET rather than
37779 __syscall_error.
37780
02637374
AS
377812010-08-12 Andreas Schwab <schwab@redhat.com>
37782
37783 [BZ #11904]
37784 * locale/programs/locale.c (print_assignment): New function.
37785 (show_locale_vars): Use it.
37786
c3e2f19b
UD
377872010-08-11 Ulrich Drepper <drepper@redhat.com>
37788
3cdaa6ad
UD
37789 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37790 field.
37791 (struct statfs64): Likewise.
37792 (_STATFS_F_FLAGS): Define.
37793 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37795 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37796 (ST_VALID): Define locally.
37797 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37798 __statvfs_getflags, use the provided value.
37799 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37800 __ASSUME_STATFS_F_FLAGS.
37801
754f7da3
UD
37802 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37803
10b3bedc
UD
37804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37805 Add sys/fanotify.h.
37806 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37807 fanotify_mask for GLIBC_2.13.
37808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37809 fanotify_init and fanotify_mark.
37810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37811 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37812
c08fb0d7
UD
37813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37814 Add prlimit.
37815 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37816 prlimit64 for GLIBC_2.13.
37817 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37818 prlimit64.
37819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37820 syscall.
37821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37826 add prlimit alias.
37827 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37828
15bac72b
UD
37829 [BZ #11903]
37830 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37831 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37832
c3e2f19b
UD
37833 * nss/Makefile: Add rules to build and run tst-nss-test1.
37834 * shlib-versions: Add entry for libnss_test1.
37835 * nss/nss_test1.c: New file.
37836 * nss/tst-nss-test1.c: New file.
37837
37838 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37839 (__nss_configure_lookup): Set appropriate entry in
37840 __nss_configure_lookup to true.
37841 * nss/nsswitch.h: Define enum with indeces of databases in
37842 databases and __nss_database_custom arrays. Declare
37843 __nss_database_custom.
37844 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37845 to avoid using nscd when custom rules are installed.
37846 * nss/getXXbyYY_r.c: Likewise.
37847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37848
37849 * nss/nss_files/files-parse.c: Whitespace fixes.
37850
f15ce4d8
UD
378512010-08-09 Ulrich Drepper <drepper@redhat.com>
37852
37853 [BZ #11883]
37854 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37855 * posix/fnmatch_loop.c: Likewise.
37856
d22e4cc9
AK
378572010-07-17 Andi Kleen <ak@linux.intel.com>
37858
37859 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37860 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37861 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37862 * Versions.def [GLIBC_2.13]: Add.
37863
805bc17d
UD
378642010-08-06 Ulrich Drepper <drepper@redhat.com>
37865
37866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37867 Also fail if tpwd after pwuid call is NULL.
37868
5a42321d
ST
378692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37870
37871 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37872 when converting to ms.
37873
fd3ebeda
ST
378742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37875
37876 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37877 EOPNOTSUPP errors with ENOTTY.
37878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37879 EOPNOTSUPP errors with ENOTTY.
37880
73507d3a
UD
378812010-07-31 Ulrich Drepper <drepper@redhat.com>
37882
37883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37884 Add strcasecmp_l-ssse3.
37885 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37886 strcasecmp.
37887 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37889 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37890
fe36dd02
UD
378912010-07-30 Ulrich Drepper <drepper@redhat.com>
37892
66f6765a
UD
37893 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37894
42e08a54
UD
37895 * string/Makefile (strop-tests): Add strcasecmp.
37896 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37897 strcasecmp_l-nonascii.
37898 (gen-as-const-headers): Add locale-defines.sym.
37899 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37900 * sysdeps/x86_64/strcasecmp.S: New file.
37901 * sysdeps/x86_64/strcasecmp_l.S: New file.
37902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37903 * sysdeps/x86_64/locale-defines.sym: New file.
37904 * string/test-strcasecmp.c: New file.
37905
fe36dd02
UD
37906 * string/test-strcasestr.c: Test both ends of the range of characters.
37907 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37908
48cbc0d6
RM
379092010-07-29 Roland McGrath <roland@redhat.com>
37910
76e6d6bc 37911 [BZ #11856]
48cbc0d6
RM
37912 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37913
880113d9
UD
379142010-07-27 Ulrich Drepper <drepper@redhat.com>
37915
37916 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37917 for ld.so.
37918
deb9cabb
AS
379192010-07-27 Andreas Schwab <schwab@redhat.com>
37920
37921 * manual/memory.texi (Malloc Tunable Parameters): Document
37922 M_PERTURB.
37923
1c7570ff
RM
379242010-07-26 Roland McGrath <roland@redhat.com>
37925
37926 [BZ #11840]
37927 * configure.in (-fgnu89-inline check): Set and substitute
37928 gnu89_inline, not libc_cv_gnu89_inline.
37929 * configure: Regenerated.
37930 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37931
24fb0f88
UD
379322010-07-26 Ulrich Drepper <drepper@redhat.com>
37933
37934 * string/test-strnlen.c: New file.
37935 * string/Makefile (strop-tests): Add strnlen.
37936 * string/tester.c (test_strnlen): Add a few more test cases.
37937 * string/tst-strlen.c: Better error reporting.
37938
37939 * sysdeps/x86_64/strnlen.S: New file.
37940
8e96b93a
UD
379412010-07-24 Ulrich Drepper <drepper@redhat.com>
37942
37943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37944 lower-latency instructions.
37945
dbc676d4
UD
379462010-07-23 Ulrich Drepper <drepper@redhat.com>
37947
37948 * string/test-strcasestr.c: New file.
37949 * string/test-strstr.c: New file.
37950 * string/Makefile (strop-tests): Add strstr and strcasestr.
37951 * string/str-two-way.h: Don't undefine MAX.
37952 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37953
f6a31e0e
AS
379542010-07-21 Andreas Schwab <schwab@redhat.com>
37955
37956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37957 strcasestr-nonascii.
37958 (CFLAGS-strcasestr-nonascii.c): Define.
37959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37961 Remove unused attribute.
37962
5dbc3b6c
RM
379632010-07-20 Roland McGrath <roland@redhat.com>
37964
37965 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37966 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37967 ld.so.cache was broken. With it, there is no way to disable dsocaps
37968 like LD_HWCAP_MASK can disable hwcaps.
37969
23d101d8
EPM
379702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37971
37972 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37973
cc9f2e47
UD
379742010-07-16 Ulrich Drepper <drepper@redhat.com>
37975
37976 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37977 call in strcasestr.
37978 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37979 __strcasestr_sse42_nonascii.
37980 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37981 strcasestr-nonascii.c.
37982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37983
77c1b069
LM
379842010-06-15 Luis Machado <luisgpm@br.ibm.com>
37985
37986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37990
440566c3
UD
379912010-07-09 Ulrich Drepper <drepper@redhat.com>
37992
37993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37994 fcntl.
37995
5be9d05d
AS
379962010-07-06 Andreas Schwab <schwab@redhat.com>
37997
c30b7ee2 37998 [BZ #11577]
5be9d05d
AS
37999 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38000 dl_signal_cerror.
38001
8a492a67
UD
380022010-07-06 Ulrich Drepper <drepper@redhat.com>
38003
38004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38005 _PC_PIPE_BUF using F_GETPIPE_SZ.
38006
713df3d5
RM
380072010-07-05 Roland McGrath <roland@redhat.com>
38008
38009 * manual/arith.texi (Rounding Functions): Fix rint description
38010 implicit in round description.
38011
702e8f14
UD
380122010-07-02 Ulrich Drepper <drepper@redhat.com>
38013
38014 * elf/Makefile: Fix linking for a few tests to make recent linker
38015 happy.
38016
52ed8be9
AS
380172010-06-30 Andreas Schwab <schwab@redhat.com>
38018
38019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38020 $(common-objpfx)libc_nonshared.a.
38021
f47c9a11
LM
380222010-06-21 Luis Machado <luisgpm@br.ibm.com>
38023
38024 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38025 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38026 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38028 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38031 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38046 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38047 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38048 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38049 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38050 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38051 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38052 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38053 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38054 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38055 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38056 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38057 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38072
6fb8cbcb
L
380732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38074
38075 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38076 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38077 * string/memmove.c (memmove): Renamed to ...
38078 (MEMMOVE): ...this. Default to memmove.
38079 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38080 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38081 (END_CHK): Define.
38082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38083 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38084 mempcpy-ssse3-back memmove-ssse3-back.
38085 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38088 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38089 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38090 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38091 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38092 * sysdeps/x86_64/multiarch/memmove.c: New file.
38093 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38094 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38095 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38096 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38099 Define.
38100 (index_Fast_Copy_Backward): Define.
38101 (HAS_ARCH_FEATURE): Define.
38102 (HAS_FAST_REP_STRING): Define.
38103 (HAS_FAST_COPY_BACKWARD): Define.
38104
4e733bac 381052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38106
38107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38108 Restore proper fallback handling.
38109
63c4ed22
UD
381102010-06-19 Ulrich Drepper <drepper@redhat.com>
38111
ac2b484c
UD
38112 [BZ #11701]
38113 * posix/group_member.c (__group_member): Correct checking loop.
38114
63c4ed22
UD
38115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38116 OOM in getpwuid_r correctly. Return error number when the caller
38117 should return, otherwise -1.
38118 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38119 call returning > 0 value.
38120 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38121
765ade4b
AS
381222010-06-07 Andreas Schwab <schwab@redhat.com>
38123
38124 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38125 libc_nonshared.a from targets in modules-names.
38126
80da2e09
KS
381272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38128
38129 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38130 requires it.
38131
158db122
LM
381322010-06-10 Luis Machado <luisgpm@br.ibm.com>
38133
38134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38138
caa78cf8
AS
381392010-06-02 Andreas Schwab <schwab@redhat.com>
38140
38141 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38142
b2ef2c01
UD
381432010-06-14 Ulrich Drepper <drepper@redhat.com>
38144
38145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38146 and F_GETPIPE_SZ.
38147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38153
fbd643b6
RM
381542010-06-14 Roland McGrath <roland@redhat.com>
38155
38156 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38157
f32f2869
JJ
381582010-06-07 Jakub Jelinek <jakub@redhat.com>
38159
38160 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38161 __REDIRECT followed by __THROW.
38162 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38163 * posix/getopt.h (getopt): Likewise.
38164
2a50c078
EPM
381652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38166
38167 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38168 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38169 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38170 in AT_FLAGS.
38171 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38172 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38173
eb5ad2eb
LM
381742010-05-28 Luis Machado <luisgpm@br.ibm.com>
38175
38176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38177
3c88fe1e
L
381782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38179
38180 [BZ #11640]
38181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38182 Properly check family and model.
38183
d2f73151
TY
381842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38185
38186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38187
ebd2e13d
LM
381882010-05-24 Luis Machado <luisgpm@br.ibm.com>
38189
38190 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38191
b32b8b45
UD
381922010-05-21 Ulrich Drepper <drepper@redhat.com>
38193
38194 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38195 symbol reference.
38196
9acbe24d
AS
381972010-05-19 Andreas Schwab <schwab@redhat.com>
38198
38199 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38200 symbol reference.
38201
f0ccf6ea
AS
382022010-05-21 Andreas Schwab <schwab@redhat.com>
38203
3d04ff3a
AS
38204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38205 and internal_recvmmsg.
38206 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38207 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38209 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38210
f0ccf6ea
AS
38211 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38212 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38213 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38214
5b08ac57
AS
382152010-05-20 Andreas Schwab <schwab@redhat.com>
38216
38217 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38218
4828935d
LM
382192010-05-17 Luis Machado <luisgpm@br.ibm.com>
38220
38221 POWER7 optimizations.
38222 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38223 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38224
373d545e
UD
382252010-05-19 Ulrich Drepper <drepper@redhat.com>
38226
38227 * version.h: Update for 2.13 development version.
38228
21a2b1ae
AS
382292010-05-12 Andrew Stubbs <ams@codesourcery.com>
38230
38231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38232 exceptions. Return 0.
38233
3f7dcb2b
RM
382342010-05-07 Roland McGrath <roland@redhat.com>
38235
38236 * elf/ldconfig.c (main): Add a const.
38237
5f24d53a 382382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38239
a160f8d8
UD
38240 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38241 (args_options): Add no-idn option.
38242 (ahosts_keys_int): Add idn_flags to ai_flags.
38243 (parse_option): Handle 'i' option to clear idn_flags.
38244
5f24d53a
UD
38245 * malloc/malloc.c (_int_free): Possible race in the most recently
38246 added check. Only act on the data if no current modification
38247 happened.
265bb1ce
UD
38248
38249See ChangeLog.17 for earlier changes.