]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* manual/math.texi: Document MTASC-safety properties.
[thirdparty/glibc.git] / ChangeLog
1 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/math.texi: Document MTASC-safety properties.
4
5 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6
7 * manual/locale.texi: Document MTASC-safety properties.
8
9 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10
11 * manual/llio.texi: Document MTASC-safety properties.
12
13 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14
15 * manual/libdl.texi: New.
16
17 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18
19 * manual/lang.texi: Document MTASC-safety properties.
20
21 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22
23 * manual/job.texi: Document MTASC-safety properties.
24
25 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26
27 * manual/getopt.texi: Document MTASC-safety properties.
28
29 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
30
31 * manual/ctype.texi: Document MTASC-safety properties.
32
33 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
34
35 [BZ #16046]
36 * csu/libc-tls.c (static_map): Remove variable.
37 (__libc_setup_tls): Use main executable's link map for TLS data.
38 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39 casing for LM_ID_BASE and GL(dl_nns).
40 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
42 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45 member.
46 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47 l_phnum members.
48
49 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
50
51 * manual/debug.texi: Document MTASC-safety properties.
52
53 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
54
55 [BZ #16510]
56 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57 of __x86_64__ when disabling x87 inline functions.
58
59 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
60
61 * manual/charset.texi: Document MTASC-safety properties.
62
63 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
64
65 * manual/crypt.texi: Document MTASC-safety properties.
66
67 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
68
69 * manual/conf.texi: Document MTASC-safety properties.
70
71 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
72
73 * manual/arith.texi: Document MTASC-safety properties.
74
75 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
76
77 * manual/argp.texi: Document MTASC-safety properties.
78
79 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
80
81 * manual/macros.texi: Introduce macros to document multi
82 thread, asynchronous signal and asynchronous cancellation
83 safety properties.
84 * manual/intro.texi: Introduce the properties themselves.
85
86 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
87
88 * sysdeps/sh/sh4/Makefile: New file.
89
90 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
91
92 * math/gen-libm-test.pl ($srcdir): New variable.
93 ($auto_input): Use it.
94
95 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
96
97 [BZ #16506]
98 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
99 access beyond array bounds when parsing netgroups file.
100
101 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
102 the old buffer before realloc.
103
104 2014-01-27 Allan McRae <allan@archlinux.org>
105
106 * po/fr.po: Update French translation from translation project.
107
108 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
109
110 * sysdeps/sh/libm-test-ulps: Regenerate.
111
112 2014-01-24 David S. Miller <davem@davemloft.net>
113
114 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
115
116 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
117
118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
119 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
120
121 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
122
123 [BZ #16474]
124 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
125 string pointers after reallocation.
126
127 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
128
129 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
130 __SH4A__ instead of __SH_FPU_ANY__.
131
132 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
133
134 * sysdeps/sh/fpu_control.h: New file.
135 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
136 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
137 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
138 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
139 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
140 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
141 * sysdeps/sh/sys/ucontext.h: Remove.
142 * sysdeps/sh/sys: Remove directory.
143
144 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
145
146 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
147 s390/sys/ucontext.h.
148 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
149 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
150
151 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
152
153 [BZ #15605]
154 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
155
156 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157
158 [BZ#16431]
159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
160 Adjust the vDSO correctly for internal calls.
161 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
162
163 2014-01-20 Allan McRae <allan@archlinux.org>
164
165 * po/ca.po: Update Catalan translation from translation project.
166
167 2014-01-16 Mike Frysinger <vapier@gentoo.org>
168
169 * sysdeps/s390/sotruss-lib.c: New file.
170
171 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
172
173 [BZ#16430]
174 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
175 (__GI___gettimeofday): Alias for a different internal symbol to avoid
176 local calls issues by not having a PLT stub required for IFUNC calls.
177 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
178
179 2014-01-16 Joseph Myers <joseph@codesourcery.com>
180
181 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
182 * math/test-fpucw-static.c: Likewise.
183
184 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
185
186 [BZ #16453]
187 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
188
189 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
190
191 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
192 implementation for powerpc.
193
194 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
195
196 [BZ #14782]
197 * sysdeps/posix/system.c (__libc_system): Do not enable
198 asynchronous cancellation.
199
200 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
201
202 [BZ #16427]
203 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
204 handling only for numbers special also in the IEEE case.
205
206 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
207
208 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
209
210 2014-01-11 Allan McRae <allan@archlinux.org>
211
212 * po/bg.po: Update Bulgarian translation from translation project.
213
214 * po/de.po: Update German translation from translation project.
215
216 2014-01-10 Roland McGrath <roland@hack.frob.com>
217
218 * sysdeps/generic/gcc-compat.h: New file.
219
220 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
221
222 * benchtests/asin-inputs: Correct slow inputs.
223 * benchtests/acos-inputs: Likewise.
224
225 2014-01-10 Allan McRae <allan@archlinux.org>
226
227 * po:sv.po: Update Swedish translation from translation project.
228
229 * po/vi.po: Update Vietnamese translation from translation project.
230
231 * po/eo.po: Update Esperanto translation from translation project.
232
233 * po/cs.po: Update Czech translation from translation project.
234
235 * po/nl.po: Update Dutch translation from translation project.
236
237 * po/pl.po: Update Polish translation from translation project.
238
239 * po/ru.po: Update Russian translation from translation project.
240
241 * po/uk.po: Update Ukrainian translation from translation project.
242
243 2014-01-08 Brooks Moses <bmoses@google.com>
244
245 * elf/dl-load.c: Fix comment typo.
246
247 2014-01-08 Carlos O'Donell <carlos@redhat.com>
248
249 * po/header.pot: Rename to...
250 * po/pot.header: ... this.
251 * po/Makefile: Use pot.header.
252
253 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
254 Maxim Kuvyrkov <maxim@kugelworks.com>
255
256 [BZ #16394]
257 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
258 SRC and DEST against LEN.
259
260 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261
262 [BZ #16414]
263 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
264 implementation.
265 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
266
267 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268
269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
270
271 2014-01-08 Joseph Myers <joseph@codesourcery.com>
272
273 [BZ #16408]
274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
275 for large positive arguments.
276
277 2014-01-07 Joseph Myers <joseph@codesourcery.com>
278
279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
280
281 * math/auto-libm-test-in: Mark various tests with
282 xfail-rounding:ldbl-128ibm.
283 * math/auto-libm-test-out: Regenerated.
284
285 [BZ #16407]
286 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
287 Increase overflow threshold.
288
289 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
290
291 [BZ #14286]
292 * stdio-common/vfprintf.c: Check for integer overflow.
293
294 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
295
296 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
297 the first argument and return value of __tls_get_addr_internal.
298
299 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
300
301 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
302 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
303
304 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
305
306 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
307 * sysdeps/s390/rtld-global-offsets.sym: New file.
308 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
309 GLIBC_2.19 symbol.
310 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
311 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
312 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
313 ... this.
314 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
315 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
316 ... this.
317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
318 Regenerate.
319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
320 Regenerate.
321 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
322 halfs of GPRs for high_gprs contexts.
323 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
324 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
325 field.
326 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
327 uc_flags field.
328 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
329 64 bit versions:
330 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
331 for high GPRs (uc_high_gprs) and for future extensions
332 (__reserved).
333 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
334 for future extensions (__reserved).
335 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
336 64 bit versions:
337 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
338 SC_HIGHGPRS offset definition.
339 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
340 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
341
342 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
343
344 * Versions.def: Add GLIBC_2.19 for libpthread.
345 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
346 siglongjmp for libpthread with GLIBC_2.19 symver.
347 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
348 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
349 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
350 * sysdeps/s390/__longjmp.c: New file.
351 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
352 * sysdeps/s390/longjmp.c: New file.
353 * sysdeps/s390/setjmp.S: New file.
354 * sysdeps/s390/sigjmp.S: New file.
355 * sysdeps/s390/v1-longjmp.c: New file.
356 * sysdeps/s390/v1-setjmp.h: New file.
357 * sysdeps/s390/v1-sigjmp.c: New file.
358 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
359 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
360 GLIBC_2.19 version.
361 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
362 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
363 versioned symbols for ____longjmp_chk.
364 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
365 Likewise.
366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
367 Regenerate.
368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
369 Regenerate.
370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
371 Regenerate.
372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
373 Regenerate.
374 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
375 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
376 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
377 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
378 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
379 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
380 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
381 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
382 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
383 * sysdeps/s390/rtld-__longjmp.c: New file.
384 * sysdeps/s390/rtld-setjmp.S: New file.
385
386 2014-01-06 Joseph Myers <joseph@codesourcery.com>
387
388 [BZ #16400]
389 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
390 Return -__logl (x) for small positive arguments without evaluating
391 a polynomial.
392
393 2014-01-06 Mike Frysinger <vapier@gentoo.org>
394
395 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
396 Rename to ...
397 (__ptrace_peeksiginfo_args): ... this.
398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
401
402 2014-01-06 Allan McRae <allan@archlinux.org>
403
404 * inet/netinet/in.h: Fix typo in comment.
405
406 2014-01-05 Andreas Jaeger <aj@suse.de>
407
408 * sysdeps/i386/fpu/libm-test-ulps: Update.
409
410 2014-01-05 Allan McRae <allan@archlinux.org>
411
412 * po/libc.pot: Regenerated.
413
414 * malloc/memusagestat.c: Fix gettext call formatting.
415
416 2014-01-04 Sami Kerola <kerolasa@iki.fi>
417
418 * nscd/nscd.c: Improve usage() output.
419
420 2014-01-04 Mike Frysinger <vapier@gentoo.org>
421
422 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
423 * sysdeps/unix/sysv/linux/configure: Regenerated.
424 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
425 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
426
427 2014-01-03 Joseph Myers <joseph@codesourcery.com>
428
429 [BZ #16390]
430 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
431 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
432
433 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434
435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
436 extra tokens at end of #undef directive.
437 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
438 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
439 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
440
441 2014-01-03 Andrew Hunter <ahh@google.com>
442
443 * elf/dl-open.c (dl_open_worker): New comment.
444 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
445 atomic_compare_and_exchange_bool_acq
446 (_dl_allocate_static_tls): Block signals.
447 * elf/dl-tls.c (allocate_and_init): Return void.
448 (_dl_update_slotinfo): Block signals, use atomic update.
449
450 2014-01-03 Joseph Myers <joseph@codesourcery.com>
451
452 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
453
454 * math/auto-libm-test-in: Mark various tests with
455 xfail-rounding:ldbl-128ibm.
456 * math/auto-libm-test-out: Regenerated.
457
458 2014-01-02 Joseph Myers <joseph@codesourcery.com>
459
460 [BZ #16386]
461 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
462 numbers with subnormal high part when calculating exponent.
463
464 [BZ #16385]
465 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
466 fabs.
467
468 [BZ #16384]
469 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
470 M_LN2l.
471 (__ieee754_acoshl): Use __log1pl not __log1p.
472
473 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
474
475 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
476 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
477 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
478 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
479 Convert to GNU style.
480 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
481 mem2mem_check, mem2chunk_check, top_check, realloc_check,
482 memalign_check, __malloc_set_state): Likewise.
483 * malloc/mallocbug.c (main): Likewise.
484 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
485 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
486 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
487 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
488 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
489 * malloc/malloc.h: Likewise.
490 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
491 memalignhook, reallochook, mabort): Likewise.
492 * malloc/mcheck.h: Likewise.
493 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
494 mmap64, mremap, munmap, dest): Likewise.
495 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
496 * malloc/morecore.c (__default_morecore): Likewise.
497 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
498 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
499 _obstack_allocated_p, obstack_free, _obstack_memory_used,
500 print_and_abort): Likewise.
501 * malloc/obstack.h: Likewise.
502 * malloc/set-freeres.c (__libc_freeres): Likewise.
503 * malloc/tst-mallocstate.c (main): Likewise.
504 * malloc/tst-mtrace.c (main): Likewise.
505 * malloc/tst-realloc.c (do_test): Likewise.
506
507 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
508
509 [BZ #16366]
510 * nscd/netgroupcache.c (do_notfound): New function.
511 (addgetnetgrentX): Use it.
512
513 [BZ # 16365]
514 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
515 NSS_STATUS_NOTFOUND.
516
517 2014-01-01 Joseph Myers <joseph@codesourcery.com>
518
519 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
521
522 2014-01-01 Allan McRae <allan@archlinux.org>
523
524 * scripts/update-copyrights: Update configure input file suffix.
525
526 * NEWS: Update copyright year.
527 * catgets/gencat.c: Likewise.
528 * csu/version.c: Likewise.
529 * debug/catchsegv.sh: Likewise.
530 * debug/pcprofiledump.c: Likewise.
531 * debug/xtrace.sh: Likewise.
532 * elf/ldconfig.c: Likewise.
533 * elf/ldd.bash.in: Likewise.
534 * elf/pldd.c: Likewise.
535 * elf/sotruss.ksh: Likewise.
536 * elf/sprof.c: Likewise.
537 * iconv/iconv_prog.c: Likewise.
538 * iconv/iconvconfig.c: Likewise.
539 * locale/programs/locale.c: Likewise.
540 * locale/programs/localedef.c: Likewise.
541 * login/programs/pt_chown.c: Likewise.
542 * malloc/memusage.sh: Likewise.
543 * malloc/memusagestat.c: Likewise.
544 * malloc/mtrace.pl: Likewise.
545 * manual/libc.texinfo: Likewise.
546 * nscd/nscd.c: Likewise.
547 * nss/getent.c: Likewise.
548 * nss/makedb.c: Likewise.
549 * posix/getconf.c: Likewise.
550 * scripts/test-installation.pl: Likewise.
551
552 * All files with FSF copyright notices: Update copyright dates
553 using scripts/update-copyrights.
554 * intl/plural.c: Regenerated.
555 * locale/programs/charmap-kw.h: Likewise.
556 * locale/programs/locfile-kw.h: Likewise.
557
558 2013-12-31 Mike Frysinger <vapier@gentoo.org>
559
560 * sysdeps/unix/sysv/linux/configure: Regenerated.
561 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
562 the linux/fanotify.h header.
563 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
564 HAVE_LINUX_FANOTIFY_H is defined.
565
566 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
567
568 * benchtests/cos-inputs: New inputs.
569 * benchtests/sin-inputs: Likewise.
570
571 * benchtests/atan-inputs: New inputs. Fix name of multiple
572 precision fallback inputs.
573
574 * benchtests/atanh-inputs: New inputs.
575 * benchtests/tanh-inputs: Likewise.
576
577 * benchtests/acosh-inputs: New inputs.
578 * benchtests/asinh-inputs: Likewise.
579
580 * benchtests/cosh-inputs: New inputs.
581 * benchtests/sinh-inputs: Likewise.
582
583 * benchtests/acos-inputs: Add more inputs.
584 * benchtests/asin-inputs: Likewise.
585
586 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
587
588 [BZ #16375]
589 * manual/arith.texi: Fix spelling.
590 * manual/charset.texi: Likewise.
591 * manual/errno.texi: Likewise.
592 * manual/filesys.texi: Likewise.
593 * manual/lang.texi: Likewise.
594 * manual/llio.texi: Likewise.
595 * manual/locale.texi: Likewise.
596 * manual/message.texi: Likewise.
597 * manual/resource.texi: Likewise.
598 * manual/search.texi: Likewise.
599 * manual/setjmp.texi: Likewise.
600 * manual/stdio.texi: Likewise.
601 * manual/string.texi: Likewise.
602 * manual/sysinfo.texi: Likewise.
603 * manual/time.texi: Likewise.
604
605 2013-12-27 Carlos O'Donell <carlos@redhat.com>
606
607 * po/sl.po: New file.
608
609 2013-12-27 Mike Frysinger <vapier@gentoo.org>
610
611 * .gitignore: Add core/.gdbinit/.gdb_history.
612
613 2013-12-27 Allan McRae <allan@archlinux.org>
614
615 [BZ #16369]
616 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
617 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
618
619 2013-12-24 Brooks Moses <bmoses@google.com>
620
621 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
622 all compilers that claim C++98 compliance, not just GCC.
623 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
624 Likewise.
625
626 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
627
628 * NEWS: Restore accidentally deleted bug-fix entries.
629
630 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
631 Ondřej Bílka <neleai@seznam.cz>
632
633 [BZ #15073]
634 * malloc/malloc.c (_int_free): Perform sanity check only if we
635 have_lock.
636
637 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
638
639 [BZ #12986]
640 * manual/stdio.texi (String Input Conversions): Clarify that character
641 classes are not supported.
642
643 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
644
645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
646
647 2013-12-22 Joseph Myers <joseph@codesourcery.com>
648
649 [BZ #16337]
650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
651 Calculate results for small negative arguments directly rather
652 than using reflection formula with special underflow handling.
653
654 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
655 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
656 sysdeps/unix/bsd/bsd4.4/syscalls.list.
657 (fchflags): Likewise.
658 (revoke): Likewise.
659 (setlogin): Likewise.
660 (sigaltstack): Likewise.
661 (wait4): Likewise.
662 (sigblock): Remove.
663 (sigsetmask): Likewise.
664 (wait3): Likewise.
665 (waitpid): Likewise.
666 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
667 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
668 file.
669 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
670 * sysdeps/unix/bsd/Makefile: ... here.
671 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
672 * sysdeps/unix/bsd/Versions: ... here.
673 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
674 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
675 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
676 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
677 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
678 * sysdeps/unix/bsd/sigblock.c: ... here.
679 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
680 * sysdeps/unix/bsd/sigsetmask.c: ... here.
681 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
682 * sysdeps/unix/bsd/sigvec.c: ... here.
683 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
684 * sysdeps/unix/bsd/tcdrain.c: ... here.
685 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
686 * sysdeps/unix/bsd/tcgetattr.c: ... here.
687 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
688 * sysdeps/unix/bsd/tcsetattr.c: ... here.
689 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
690 * sysdeps/unix/bsd/wait.c: ... here.
691 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
692 * sysdeps/unix/bsd/wait3.c: ... here.
693 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
694 * sysdeps/unix/bsd/waitpid.c: ... here.
695
696 2013-12-21 Joseph Myers <joseph@codesourcery.com>
697
698 [BZ #16356]
699 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
700 round-to-nearest for [!USE_AS_EXPM1L].
701 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
702 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
703 more tests of exp and exp10. Expect some exp10 tests to miss
704 exceptions or fail in directed rounding modes.
705 * math/auto-libm-test-out: Regenerated.
706 * math/libm-test.inc (exp10_tonearest_test_data): New array.
707 (exp10_test_tonearest): New function.
708 (exp10_towardzero_test_data): New array.
709 (exp10_test_towardzero): New function.
710 (exp10_downward_test_data): New array.
711 (exp10_test_downward): New function.
712 (exp10_upward_test_data): New array.
713 (exp10_test_upward): New function.
714 (main): Call the new functions.
715 * sysdeps/i386/fpu/libm-test-ulps: Update.
716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
717
718 2013-12-20 Joseph Myers <joseph@codesourcery.com>
719
720 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
721 asinh, atan, atan2, atanh, cbrt, cos and cosh.
722 * math/auto-libm-test-out: Regenerated.
723 * math/libm-test.inc (acosh_test_data): Add more tests.
724 (atanh_test_data): Likewise.
725 (ceil_test_data): Likewise.
726 (copysign_test_data): Likewise.
727 * sysdeps/i386/fpu/libm-test-ulps: Update.
728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729
730 * timezone/checktab.awk: Update from tzcode 2013i.
731 * timezone/private.h: Likewise.
732 * timezone/scheck.c: Likewise.
733 * timezone/tzfile.h: Likewise.
734 * timezone/tzselect.ksh: Likewise.
735 * timezone/zdump.c: Likewise.
736 * timezone/zic.c: Likewise.
737
738 * math/auto-libm-test-in: Add tests of cpow.
739 * math/auto-libm-test-out: Regenerated.
740 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
741 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
742 mpc_cc_c.
743 (func_calc_desc): Add mpc_cc_c union field.
744 (test_functions): Add cpow.
745 (special_fill_2pi): New function.
746 (special_real_inputs): Add 2pi.
747 (calc_generic_results): Handle mpc_cc_c.
748 * sysdeps/i386/fpu/libm-test-ulps: Update.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
750
751 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
752 csqrt, ctan and ctanh.
753 * math/auto-libm-test-out: Regenerated.
754 * math/libm-test.inc (TEST_COND_x86_64): New macro.
755 (TEST_COND_x86): Likewise.
756 (ccos_test_data): Use AUTO_TESTS_c_c.
757 (ccosh_test_data): Likewise.
758 (cexp_test_data): Likewise.
759 (clog_test_data): Likewise.
760 (csqrt_test_data): Likewise.
761 (ctan_test_data): Likewise.
762 (ctan_tonearest_test_data): Likewise.
763 (ctan_towardzero_test_data): Likewise.
764 (ctan_downward_test_data): Likewise.
765 (ctan_upward_test_data): Likewise.
766 (ctanh_test_data): Likewise.
767 (ctanh_tonearest_test_data): Likewise.
768 (ctanh_towardzero_test_data): Likewise.
769 (ctanh_downward_test_data): Likewise.
770 (ctanh_upward_test_data): Likewise.
771 * math/gen-auto-libm-tests.c (func_calc_method): Add value
772 mpc_c_c.
773 (func_calc_desc): Add mpc_c_c union field.
774 (FUNC_mpc_c_c): New macro.
775 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
776 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
777 ctanh.
778 (special_fill_min_subnorm_p120): New function.
779 (special_real_inputs): Add min_subnorm_p120.
780 (calc_generic_results): Handle mpc_c_c.
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
783
784 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
785
786 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
787 do_sin_slow): New functions.
788 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
789 cslow2, csloww1, csloww2): Use the new functions.
790
791 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
792 Use M to change sign of result instead of X. Assume X is
793 positive.
794 (csloww1): Likewise.
795 (__sin): Adjust.
796 (__cos): Adjust.
797
798 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
799 arguments A and DA.
800 (__sin): Adjust.
801 (__cos): Likewise.
802
803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
804 (__cos): Likewise.
805 (sloww1): Don't adjust sign of DX.
806 (csloww1): Likewise.
807 (sloww2): Use X directly and don't adjust sign of DX.
808 (csloww2): Likewise.
809
810 2013-12-19 Joseph Myers <joseph@codesourcery.com>
811
812 * math/auto-libm-test-in: Add tests of cabs and carg.
813 * math/auto-libm-test-out: Regenerated.
814 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
815 (carg_test_data): Likewise.
816 * math/gen-auto-libm-tests.c (func_calc_method): Add value
817 mpc_c_f.
818 (func_calc_desc): Add mpc_c_f union field.
819 (test_functions): Add cabs and carg.
820 (calc_generic_results): Handle mpc_c_f.
821
822 * sysdeps/powerpc/powerpc32/libgcc-compat.S
823 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
824 as a macro and a compat symbol.
825 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
826 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
827 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
828 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
829 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
830 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
831 not use .hidden.
832 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
833 Likewise.
834 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
835 Likewise.
836 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
837 Likewise.
838 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
839 Likewise.
840 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
841 Likewise.
842 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
843 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
844 from GLIBC_2.3.2.
845
846 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847
848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
849
850 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
851
852 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
853 (__signal_safe_memalign, __signal_safe_free): Use it.
854 (__signal_safe_realloc): Likewise.
855
856 2013-12-19 Joseph Myers <joseph@codesourcery.com>
857
858 * manual/texinfo.tex: Update to version 2013-11-26.10 with
859 trailing whitespace removed.
860 * scripts/config.guess: Update to version 2013-11-29.
861 * scripts/config.sub: Update to version 2013-10-01.
862
863 * math/auto-libm-test-in: Add tests of sincos.
864 * math/auto-libm-test-out: Regenerated.
865 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
866 * math/gen-auto-libm-tests.c (func_calc_method): Add value
867 mpfr_f_11.
868 (func_calc_desc): Add mpfr_f_11 union field.
869 (test_functions): Add sincos.
870 (calc_generic_results): Handle mpfr_f_11.
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
873
874 2013-12-19 Andreas Schwab <schwab@suse.de>
875
876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
877 CALL_MCOUNT.
878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
879 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
880 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
881
882 2013-12-19 Joseph Myers <joseph@codesourcery.com>
883
884 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
885 * sysdeps/i386/fpu/libm-test-ulps: Update.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887
888 [BZ #16293]
889 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
890 round-to-nearest mode when using frndint.
891 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
892 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
893 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
894 Likewise.
895 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
896 sinh test to fail.
897 * math/auto-libm-test-out: Regenerated.
898 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
899 (TEST_COND_x86): Likewise.
900 (expm1_tonearest_test_data): New array.
901 (expm1_test_tonearest): New function.
902 (expm1_towardzero_test_data): New array.
903 (expm1_test_towardzero): New function.
904 (expm1_downward_test_data): New array.
905 (expm1_test_downward): New function.
906 (expm1_upward_test_data): New array.
907 (expm1_test_upward): New function.
908 (main): Run the new test functions.
909 * sysdeps/i386/fpu/libm-test-ulps: Update.
910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
911
912 * include/features.h: Update comment documenting feature test
913 macros. Mention _DEFAULT_SOURCE in comment.
914 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
915 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
916 _BSD_SOURCE and _SVID_SOURCE.
917 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
918 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
919 !_SVID_SOURCE]: Likewise.
920 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
921 (__USE_POSIX_IMPLICITLY): Define.
922 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
923 (_POSIX_SOURCE): Undefine and redefine.
924 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
925 (_POSIX_C_SOURCE): Likewise.
926 * manual/creature.texi (_DEFAULT_SOURCE): Document.
927 (Feature Test Macros): Update documentation of default features.
928
929 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
930
931 * benchtests/Makefile: Add bench-strtok.
932 * benchtests/bench-strtok.c: New file: strtok benchtest.
933
934 2013-12-19 Allan McRae <allan@archlinux.org>
935
936 * manual/install.texi: Suppress menu for plain text output.
937 * INSTALL: Regenerated.
938
939 2013-12-18 Andrew Hunter <ahh@google.com>
940
941 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
942 (__signal_safe_malloc, __signal_safe_free): Likewise.
943 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
944 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
945 (__signal_safe_memalign, __signal_safe_malloc): New function.
946 (__signal_safe_free, __signal_safe_realloc): Likewise.
947 (__signal_safe_calloc): Likewise.
948 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
949 functions.
950 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
951
952 2013-12-18 Andrew Hunter <ahh@google.com>
953
954 * elf/Versions (ld): Add _dl_clear_dtv.
955 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
956 * elf/dl-tls.c (_dl_clear_dtv): New function.
957 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
958
959 2013-12-18 Andrew Hunter <ahh@google.com>
960
961 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
962 (_dl_unmask_signals): Likewise.
963 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
964 (_dl_unmask_all_signals): Likewise.
965 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
966 (_dl_unmask_all_signals): Likewise.
967 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
968 (_dl_unmask_signals): Likewise.
969
970 2013-12-18 Brooks Moses <bmoses@google.com>
971
972 [BZ #15846]
973 * misc/getauxval.c: Include errno.h.
974 (__getauxval): Set errno to ENOENT if the requested type is not
975 found.
976 * misc/sys/auxv.h (getauxval): Document that it may set errno;
977 don't declare with __attribute_const__.
978 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
979 * manual/startup.texi: Document that getauxval sets errno.
980
981 2013-12-18 Joseph Myers <joseph@codesourcery.com>
982
983 * math/auto-libm-test-in: Add tests of jn and yn.
984 * math/auto-libm-test-out: Regenerated.
985 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
986 (yn_test_data): Likewise.
987 * math/gen-auto-libm-tests.c (func_calc_method): Add value
988 mpfr_if_f.
989 (func_calc_desc): Add mpfr_if_f union field.
990 (FUNC_mpfr_if_f): New macro.
991 (test_functions): Add jn and yn.
992 (calc_generic_results): Assert type of second input for
993 mpfr_ff_f. Handle mpfr_if_f.
994 (output_for_one_input_case): Disable all checking for arguments
995 fitting floating-point types in case of an integer argument.
996 * sysdeps/i386/fpu/libm-test-ulps: Update.
997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
998
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1000 Don't expect fegetround reference in libm.so.
1001
1002 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1003
1004 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1005 $(config-cflags-nofma).
1006
1007 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1008
1009 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1010 * math/auto-libm-test-out: Regenerated.
1011
1012 [BZ #16338]
1013 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1014 to determine exponent and adjust argument to have exponent of -1.
1015 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1016 log2.
1017 * math/auto-libm-test-out: Regenerated.
1018 * sysdeps/i386/fpu/libm-test-ulps: Update.
1019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1020
1021 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1022
1023 * manual/probes.texi: Remove cases when per-thread arenas are
1024 disabled.
1025
1026 2013-12-18 Andreas Schwab <schwab@suse.de>
1027
1028 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1029 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1030 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1031 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1032 * sysdeps/i386/i686/multiarch/Makefile: Update.
1033 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1034
1035 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1036
1037 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1038 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1039
1040 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1041
1042 Support TZ transition times < 00:00:00.
1043 This is needed for version-3 tz-format files; it supports time
1044 stamps past 2037 for America/Godthab (the only entry in the tz
1045 database for which this change is relevant).
1046 * manual/time.texi (TZ Variable): Document transition times
1047 from -167:59:59 through -00:00:01.
1048 * time/tzset.c (tz_rule): Time of day is now signed.
1049 (__tzset_parse_tz): Parse negative time of day.
1050
1051 Document TZ transition times >= 25:00:00.
1052 * manual/time.texi (TZ Variable): Document transition times from
1053 25:00:00 through 167:59:59. These are already supported, and this
1054 support will help with version-3 tz-format files.
1055
1056 * manual/time.texi (TZ Variable): Modernize North America example
1057 to reflect current (i.e., 2007-and-later) daylight saving rules.
1058
1059 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1060
1061 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1062
1063 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1064 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1067 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1068 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1069 * sysdeps/unix/bsd/clock.c: Likewise.
1070 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1071 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1072 * sysdeps/unix/bsd/init-posix.c: Likewise.
1073 * sysdeps/unix/bsd/poll.c: Likewise.
1074 * sysdeps/unix/bsd/ptsname.c: Likewise.
1075 * sysdeps/unix/bsd/seekdir.c: Likewise.
1076 * sysdeps/unix/bsd/setegid.c: Likewise.
1077 * sysdeps/unix/bsd/seteuid.c: Likewise.
1078 * sysdeps/unix/bsd/setgid.c: Likewise.
1079 * sysdeps/unix/bsd/setrgid.c: Likewise.
1080 * sysdeps/unix/bsd/setruid.c: Likewise.
1081 * sysdeps/unix/bsd/setsid.c: Likewise.
1082 * sysdeps/unix/bsd/setuid.c: Likewise.
1083 * sysdeps/unix/bsd/sigaction.c: Likewise.
1084 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1085 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1086 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1087 * sysdeps/unix/bsd/telldir.c: Likewise.
1088 * sysdeps/unix/bsd/times.c: Likewise.
1089 * sysdeps/unix/bsd/usleep.c: Likewise.
1090
1091 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1092 ($(objpfx)libbsd-compat.a): Remove rule.
1093
1094 * include/features.h (__FAVOR_BSD): Do not define.
1095 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1096 features conflicting with POSIX.
1097 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1098 (_BSD_SOURCE): Remove description of not being a subset of other
1099 feature test macros.
1100 * manual/job.texi (getpgrp): Do not document BSD version.
1101 (getpgid): Do not document by reference to BSD getpgrp.
1102 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1103 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1104 * signal/signal.h [__FAVOR_BSD]: Likewise.
1105 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1106 instead of making contents conditional on [__FAVOR_BSD].
1107 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1108
1109 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1112
1113 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #16314]
1116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1117 values below 2**-450, not 2**-500.
1118 * math/auto-libm-test-in: Don't allow spurious underflow from
1119 hypot.
1120 * math/auto-libm-test-out: Regenerated.
1121
1122 [BZ #16316]
1123 [BZ #16330]
1124 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1125 values of ha and hb and sort them after adjusting subnormal
1126 arguments.
1127 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1128 Likewise.
1129 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1130 values of ea and eb and sort them after adjusting subnormal
1131 arguments.
1132 * math/auto-libm-test-in: Do not expect some hypot tests of
1133 subnormals to fail. Add more hypot tests.
1134 * math/auto-libm-test-out: Regenerated.
1135
1136 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1137
1138 [BZ #13304]
1139 * sysdeps/sh/s_fma.c: New file.
1140 * sysdeps/sh/s_fmaf.c: New file.
1141 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1142 version.
1143 * sysdeps/sh/Implies: Add sh/soft-fp.
1144
1145 2013-12-16 Roland McGrath <roland@hack.frob.com>
1146
1147 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1148 level of indirection to members `objname', `errstring', `malloced'.
1149 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1150 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1151 it as the __longjmp argument (just pass 1 instead).
1152 (_dl_catch_error): Initialize C with argument pointers and address of
1153 volatile local ERRCODE rather than copying values out of C at return.
1154
1155 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1156
1157 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1158 * math/auto-libm-test-out: Regenerated.
1159 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1160 (hypot_test_data): Likewise.
1161 (pow_test_data): Likewise.
1162 (pow_tonearest_test_data): Likewise.
1163 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1164 mpfr_ff_f.
1165 (func_calc_desc): Add mpfr_ff_f union field.
1166 (FUNC_mpfr_ff_f): New macro.
1167 (test_functions): Add atan2, hypot and pow.
1168 (special_fill_min): New function.
1169 (special_fill_minus_min): Likewise.
1170 (special_fill_min_subnorm): Likewise.
1171 (special_fill_minus_min_subnorm): Likewise.
1172 (special_real_inputs): Add min, -min, min_subnorm and
1173 -min_subnorm.
1174 (calc_generic_results): Handle mpfr_ff_f.
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177
1178 2013-12-16 Will Newton <will.newton@linaro.org>
1179
1180 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1181 (Aligned Memory Blocks): Add documentation for aligned_alloc
1182 and suggest it as an alternative to posix_memalign.
1183 (Hooks for Malloc): Document __memalign_hook is also called
1184 for aligned_alloc. (Summary of Malloc): Add summary for
1185 aligned alloc. Document __memalign_hook is also called
1186 for aligned_alloc.
1187
1188 2013-12-16 Will Newton <will.newton@linaro.org>
1189
1190 * manual/memory.texi (Malloc Examples): Clarify default
1191 alignment documentation. Suggest posix_memalign rather
1192 than memalign or valloc.
1193 (Aligned Memory Blocks): Remove suggestion to use memalign
1194 or valloc. Remove obsolete comment about BSD.
1195 Document memalign errno values and mark the function obsolete.
1196 Document posix_memalign returned error codes. Mark valloc
1197 as obsolete. (Hooks for Malloc): __memalign_hook is also
1198 called for posix_memalign and valloc.
1199 (Summary of Malloc): Add posix_memalign to function summary.
1200 __memalign_hook is also called for posix_memalign and valloc.
1201
1202 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1203
1204 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1205 TAYLOR_SIN.
1206 (__sin): Adjust.
1207 (__cos): Likewise.
1208 (sloww): Use mynumber union. Expand ternary operator into
1209 if-else statements.
1210 (cslow): use mynumber union.
1211
1212 2013-12-16 Allan McRae <allan@archlinux.org>
1213
1214 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1215 * configure: Regenerated.
1216
1217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1218
1219 [BZ #14120]
1220 * configure.ac: Added --enable-maintainer-mode. Check for
1221 autoconf when enabled.
1222 * configure: Regenerated.
1223
1224 * nscd/nscd.service: New file.
1225 * nscd/nscd.tmpfiles: New file.
1226
1227 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1228
1229 [BZ #12100]
1230 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1231 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1232 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1233 (strstr): Add __strstr_sse2_unaligned ifunc.
1234 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1235 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1236 (strcasestr): Remove __strcasestr_sse42 ifunc.
1237 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1240
1241 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1242
1243 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1244 * sysdeps/sh/bits/fenv.h: ... here.
1245 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1246
1247 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1248
1249 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1250
1251 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1252
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1254 hypotf multiarch implementations.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1258 multiarch hypot for PPC64.
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1262 multiarch hypotf for PPC64.
1263
1264 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1265
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1267 modff multiarch implementations.
1268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1271 multiarch modf for PPC64.
1272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1275 multiarch modff for PPC64.
1276
1277 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1280 and logl multiarch implementations.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1284 multiarch logb for PPC64.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1288 multiarch logb for PPC64.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1292 multiarch logb for PPC64.
1293
1294 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1297 isinff multiarch implementation.
1298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1299 file.
1300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1302 multiarch isinf for PPC64.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1304 file.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1306 multiarch isinff for PPC64.
1307
1308 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1311 finitef multiarch implementation.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1313 file.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1316 multiarch finite for PPC64.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1318 file.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1320 multiarch finitef for PPC64.
1321
1322 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1325 lrint multiarch implementation.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1327 file.
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1330 multiarch llrint for PPC64.
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1332 multiarch lrint for PPC64.
1333
1334 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1335
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1337 copysignf multiarch implementation.
1338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1339 file.
1340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1341 file.
1342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1343 multiarch copysign for PPC64.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1345 multiarch copysignf for PPC64.
1346
1347 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1350 multiarch implementation.
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1352 file.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1354 file.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1356 file.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1358 file.
1359 multiarch llround for PPC64.
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1361 multiarch trunc for PPC64.
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1363 multiarch truncf for PPC64.
1364
1365 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1368 multiarch implementation.
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1370 file.
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1372 file.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1374 file.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1376 file.
1377 multiarch llround for PPC64.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1379 multiarch round for PPC64.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1381 multiarch roundf for PPC64.
1382
1383 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1384
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1386 multiarch implementation.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1388 file.
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1390 file.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1392 file.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1394 file.
1395 multiarch llround for PPC64.
1396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1397 multiarch floor for PPC64.
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1399 multiarch floorf for PPC64.
1400
1401 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1404 multiarch implementation.
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1406 file.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1408 file.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1410 file.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1412 file.
1413 multiarch llround for PPC64.
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1415 multiarch ceil for PPC64.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1417 multiarch ceilf for PPC64.
1418
1419 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1420
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1422 multiarch implementation.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1424 file.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1426 file.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1428 file.
1429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1430 multiarch llround for PPC64.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1432 multiarch lround for PPC64.
1433
1434 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1437 multiarch implementation.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1441 file.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1445 multiarch isnan for PPC64.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1447 multiarch isnanf for PPC64.
1448
1449 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450
1451 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1452 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1453 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1454 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1455 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1457
1458 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459
1460 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1461 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1464
1465 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1468 multiarch implementations.
1469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1470 (__libc_ifunc_impl_list): Likewise.
1471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1473 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1474 multiarch stpcpy for PPC64.
1475
1476 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477
1478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1479 multiarch implementations.
1480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1481 (__libc_ifunc_impl_list): Likewise.
1482 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1483 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1484 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1485 multiarch strcpy for PPC64.
1486
1487 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488
1489 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1490 redefine function name.
1491 (_wordcopy_fwd_dest_aligned): Likewise.
1492 (_wordcopy_bwd_aligned): Likewise.
1493 (_wordcopy_bwd_dest_aligned): Likewise.
1494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1495 multiarch implementations.
1496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1497 (__libc_ifunc_impl_list): Likewise.
1498 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1499 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1500 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1502 multiarch wcscpy for PPC64.
1503
1504 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1507 multiarch implementations.
1508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1509 (__libc_ifunc_impl_list): Likewise.
1510 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1511 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1513 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1514 multiarch wcscpy for PPC64.
1515
1516 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517
1518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1519 multiarch implementations.
1520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1521 (__libc_ifunc_impl_list): Likewise.
1522 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1523 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1524 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1525 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1526 multiarch wcsrchr for PPC64.
1527
1528 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529
1530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1531 multiarch implementations.
1532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1533 (__libc_ifunc_impl_list): Likewise.
1534 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1535 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1537 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1538 multiarch wcschr for PPC64.
1539
1540 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541
1542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1543 multiarch implementations.
1544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1545 (__libc_ifunc_impl_list): Likewise.
1546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1549 multiarch strchrnul for PPC64.
1550
1551 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552
1553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1554 implementations.
1555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1556 (__libc_ifunc_impl_list): Likewise.
1557 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1558 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1559 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1560 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1561 strchr for PPC64.
1562
1563 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1566 implementations.
1567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1568 (__libc_ifunc_impl_list): Likewise.
1569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1571 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1572 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1573 strncmp for PPC64.
1574
1575 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576
1577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1578 multiarch implementations.
1579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1580 (__libc_ifunc_impl_list): Likewise.
1581 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1582 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1583 strncasecmp for PPC64.
1584 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1585 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1586 multiarch strncasecmp_l for PPC64.
1587
1588 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1591 multiarch implementations.
1592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1593 (__libc_ifunc_impl_list): Likewise.
1594 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1595 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1596 multiarch strcasecmp for PPC64.
1597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1598 file.
1599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1600 multiarch strcasecmp_l for PPC64.
1601
1602 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603
1604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1605 implementations.
1606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1607 (__libc_ifunc_impl_list): Likewise.
1608 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1609 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1610 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1611 strnlen for PPC64.
1612
1613 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614
1615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1616 implementations.
1617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1618 (__libc_ifunc_impl_list): Likewise.
1619 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1620 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1621 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1622 strlen for PPC64.
1623
1624 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625
1626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1627 implementations.
1628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1629 (__libc_ifunc_impl_list): Likewise.
1630 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1631 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1632 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1633 rawmemrchr for PPC64.
1634
1635 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1638 implementation.
1639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1640 (__libc_ifunc_impl_list): Likewise.
1641 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1642 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1643 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1644 memrchr for PPC64.
1645
1646 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647
1648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1649 implementation.
1650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1651 (__libc_ifunc_impl_list): Likewise.
1652 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1653 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1654 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1655 memchr for PPC64.
1656
1657 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1658
1659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1660 implementation.
1661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1662 (__libc_ifunc_impl_list): Likewise.
1663 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1664 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1666 mempcpy for PPC64.
1667
1668 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669
1670 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1671 avoid cretion of __bzero symbol.
1672 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1673 Likewise.
1674 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1675 Likewise.
1676 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1677 Likewise.
1678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1679 multiarch implementations.
1680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1681 (__libc_ifunc_impl_list): Likewise.
1682 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1683 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1684 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1685 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1686 bzero for PPC32.
1687 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1690 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1691 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1692 memset for PPC64.
1693 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1694
1695 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696
1697 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1699 implementations.
1700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1701 (__libc_ifunc_impl_list): Likewise.
1702 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1703 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1704 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1705 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1706 memcmp for PPC64.
1707
1708 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709
1710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1711 multiarch for POWER/PPC64.
1712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1713 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1714 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1715 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1720 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1721 memcpy for PPC64.
1722
1723 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1724
1725 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1726 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1727 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1729 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1730 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1732 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1733 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1734 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1735 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1736 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1737 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1738 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1739 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1747
1748 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1749
1750 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1751
1752 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1753
1754 * benchtests/Makefile (bench): Add exp2 and log2.
1755 (LDLIBS-bench-exp2): Add -lm.
1756 (LDLIBS-bench-log2): Likewise.
1757 * benchtests/exp2-inputs: New inputs file.
1758 * benchtests/log2-inputs: New inputs file.
1759 * benchtests/log-inputs: Add new inputs.
1760 * benchtests/tan-inputs: Likewise.
1761
1762 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1763
1764 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1765 definition...
1766 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1767 csloww1, csloww2): ... from here.
1768
1769 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1770 instead of structures.
1771 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1772 (POLYNOMIAL): Likewise.
1773 (TAYLOR_SLOW): Likewise.
1774 (__sin): Likewise.
1775 (__cos): Likewise.
1776 (slow1): Likewise.
1777 (slow2): Likewise.
1778 (sloww): Likewise.
1779 (sloww1); Likewise.
1780 (sloww2): Likewise.
1781 (bsloww1): Likewise.
1782 (bsloww2): Likewise.
1783 (cslow2): Likewise.
1784 (csloww): Likewise.
1785 (csloww1): Likewise.
1786 (csloww2): Likewise.
1787
1788 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1789
1790 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1791 (__malloc_assert, __libc_realloc, __libc_calloc,
1792 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1793 memcpy and memset.
1794 * malloc/hooks.c (realloc_check): Likewise.
1795
1796 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1797
1798 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1799 * malloc/arena.c: Remove PER_THREAD conditional.
1800 [!PER_THREAD]: Remove code.
1801 (ptmalloc_unlock_all2): Likewise.
1802 (ptmalloc_init): Likewise.
1803 (_int_new_arena): Likewise.
1804 (arena_get2): Likewise.
1805 * malloc/hooks.c (__malloc_get_state): Likewise.
1806 (__malloc_set_state): Likewise.
1807 * malloc/malloc.c: Likewise.
1808 (struct malloc_state): Likewise.
1809 (struct malloc_par): Likewise.
1810 (__libc_realloc): Likewise.
1811 (__libc_mallopt): Likewise.
1812
1813 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1814
1815 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1816
1817 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1818
1819 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1820 macro to a function. Check for zero perturb_byte.
1821 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1822
1823 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1824
1825 * malloc/malloc.c: (force_reg): Remove.
1826 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1827 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1828 force_reg by atomic_forced_read.
1829 * malloc/arena.c (ptmalloc_init): Likewise.
1830 * malloc/hooks.c (top_check): Likewise.
1831
1832 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833
1834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1835
1836 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1837
1838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1839
1840 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1841
1842 * math/auto-libm-test-in: Add tests of lgamma.
1843 * math/auto-libm-test-out: Regenerated.
1844 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1845 (M_LOG_2_SQRT_PIl): Likewise.
1846 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1847 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1848 mpfr_f_f1.
1849 (func_calc_desc): Add mpfr_f_f1 union field.
1850 (ARGS1): New macro.
1851 (ARGS2): Likewise.
1852 (ARGS3): Likewise.
1853 (ARGS4): Likewise.
1854 (RET1): Likewise.
1855 (RET2): Likewise.
1856 (CALC): Likewise.
1857 (FUNC): Likewise.
1858 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1859 (test_functions): Add lgamma.
1860 (calc_generic_results): Handle mpfr_f_f1.
1861 * sysdeps/i386/fpu/libm-test-ulps: Update.
1862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1863
1864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865
1866 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1867 __mpn_add_n for PowerPC64/POWER7.
1868 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1869 __mpn_sub_n for PowerPC64/POWER7.
1870
1871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872
1873 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1874 __mpn_addmul_1 for PowerPC64.
1875 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1876 __mpn_submul_1 for PowerPC64.
1877 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1878 for PowerPC64.
1879 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1880 for PowerPC64.
1881
1882 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1883
1884 [BZ #15089]
1885 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1886
1887 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888
1889 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1890
1891 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892
1893 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1894 add multiarch folders.
1895 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1896 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1897 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1898 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1899 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1900 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1901 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1902 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1903 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1904 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1905 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1912
1913 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1916 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1918 New file.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1920 New file.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1922 multiarch __ieee754_hypot for PowerPC32.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1924 New file.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1926 New file.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1928 multiarch __ieee754_hypotf for PowerPC32.
1929
1930 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931
1932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1933 long_double_symbol only if __logbl is defined.
1934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1935 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1937 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1939 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1940 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1941 path for implementation.
1942 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1943 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1945 logb, and logbl multiarch implementations for PowerPC32.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1947 file.
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1949 file.
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1951 multiarch logb for PowerPC32.
1952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1953 file.
1954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1955 file.
1956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1957 multiarch logbf for PowerPC32.
1958 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1960 file.
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1962 multiarch logbl implementation for PowerPC32.
1963
1964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1967 and modff multiarch implementations.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1969 New file.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1971 New file.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1973 multiarch modf for PowerPC32.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1975 New file.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1977 New file.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1979 multiarch modff for PowerPC32.
1980
1981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1984 and lrintf multiarch implementations.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1986 New file.
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1988 New file.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1990 multiarch lrint for PowerPC32.
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1992 file: multiarch lrintf for PowerPC32.
1993
1994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1995
1996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1997 and lroundf multiarch implementations.
1998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1999 New file.
2000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2001 New file.
2002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2003 New file.
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2005 multiarch lround for PowerPC32.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2007 file: multiarch lroundf for PowerPC32.
2008
2009 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
2011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2012 copysign and copysignf multiarch implementations.
2013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2014 New file.
2015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2016 New file.
2017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2018 file: multiarch copysign for PowerPC32.
2019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2020 file: multiarch copysignf for PowerPC32.
2021
2022 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2023
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2025 and truncf multiarch implementations.
2026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2027 New file.
2028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2029 file.
2030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2031 multiarch trunc for PowerPC32.
2032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2033 New file.
2034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2035 New file.
2036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2037 multiarch truncf for PowerPC32.
2038
2039 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2042 and roundf multiarch implementations.
2043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2044 New file.
2045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2046 file.
2047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2048 multiarch round for PowerPC32.
2049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2050 New file.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2052 New file.
2053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2054 multiarch roundf for PowerPC32.
2055
2056 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057
2058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2059 and floorf multiarch implementations.
2060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2061 New file.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2063 file.
2064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2065 multiarch floor for PowerPC32.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2067 New file.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2069 New file.
2070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2071 multiarch floorf for PowerPC32.
2072
2073 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2076 and ceilf multiarch implementations.
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2078 New file.
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2080 file.
2081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2082 multiarch ceil for PowerPC32.
2083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2084 New file.
2085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2086 file.
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2088 multiarch ceilf for PowerPC32.
2089
2090 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091
2092 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2093 is defined.
2094 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2095 FINITEF is defined.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2097 and finitef multiarch implementations.
2098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2099 New file.
2100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2101 file.
2102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2103 multiarch finite for PowerPC32.
2104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2105 New file.
2106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2107 file: multiarch finitef for PowerPC32.
2108
2109 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110
2111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2112 and isinff multiarch implementations.
2113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2114 file.
2115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2116 file.
2117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2118 multiarch isinf for PowerPC32.
2119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2120 New file.
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2122 multiarch isinff for PowerPC32.
2123
2124 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125
2126 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2127 alias when __isnan is defined.
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2129 and isnanf multiarch implementations.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2131 file.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2133 file.
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2135 file.
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2137 file.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2139 multiarch isnan for PowerPC32.
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2141 New file.
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2143 New file.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2145 multiarch isnanf for PowerPC32.
2146
2147 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2148
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2150 and sqrtf multiarch implementations.
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2152 file.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2154 file.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2156 multiarch sqrt for PowerPC32.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2158 file.
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2160 file.
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2162 multiarch sqrtf for PowerPC32.
2163
2164 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2167 and llroundf multiarch implementations.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2169 New file.
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2171 New file.
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2173 New file.
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2175 file: multiarch llround for PowerPC32.
2176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2177 file: multiarch llroundf for PowerPC32.
2178
2179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2182 multiarch PowerPC32 fpu implementations.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2184 New file.
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2186 New file.
2187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2188 multiarch llrint for PowerPC32.
2189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2190 New file.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2192 New file.
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2194 file.
2195
2196 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2197
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2199
2200 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201
2202 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2203 file.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2205 file.
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2207 file.
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2209 multiarch wordcopy for PPC32.
2210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2211 wordcopy objects.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2213 (__libc_ifunc_impl_list): Likewise.
2214 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2215 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2216 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2217 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2218 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2219 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2220
2221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222
2223 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2225 file.
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2227 file.
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2229 file.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2231 multiarch wcscpy for PPC32.
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2233 multiarch objects.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2235 (__libc_ifunc_impl_list): Likewise.
2236 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2237 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2238 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2239 sysdeps/powerpc/power6/wcscpy.c.
2240
2241 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242
2243 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2245 file.
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2247 file.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2249 file.
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2251 multiarch wcsrchr for PPC32.
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2253 multiarch objects.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2255 (__libc_ifunc_impl_list): Likewise.
2256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2257 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2258 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2259 sysdeps/powerpc/power6/wcsrchr.c.
2260
2261 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2264 file.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2266 file.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2269 multiarch wcschr for PPc32.
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2271 multiarch objects.
2272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2273 (__libc_ifunc_impl_list): Likewise.
2274 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2275 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2276 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2277 sysdeps/powerpc/power6/wcschr.c.
2278
2279 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2280
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2283 file.
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2285 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2286 file: multiarch strchr for PPC32.
2287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2288 multiarch objects.
2289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2290 (__libc_ifunc_impl_list): Likewise.
2291
2292 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293
2294 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2295 name.
2296 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2297 file.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2299 file.
2300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2301 multiarch strchrnul for PPC32.
2302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2303 multiarch objects.
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2305 (__libc_ifunc_impl_list): Likewise.
2306
2307 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2310 file.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2312 multiarch strncasecmp for PPC32.
2313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2314 file.
2315 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2316 multiarch strncasecmp_l for PPC32.
2317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2318 strncasecmp multiarch objects.
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2320 (__libc_ifunc_impl_list): Likewise.
2321
2322 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2325 file.
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2327 multiarch strncasecmp for PPC32.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2329 New file.
2330 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2331 multiarch strcasecmp_l for PPC32.
2332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2333 multiarch objects.
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2335 (__libc_ifunc_impl_list): Likewise.
2336
2337 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2338
2339 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2340 file.
2341 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2342 file.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2344 multiarch strncmp for PPC32.
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2346 multiarch objects.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2348 (__libc_ifunc_impl_list): Likewise.
2349
2350 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2353 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2354 file.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2358 multiarch objects.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2360 (__libc_ifunc_impl_list): Likewise.
2361
2362 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2363
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2365 file.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2367 file.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2370 multiarch objects.
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2372 (__libc_ifunc_impl_list): Likewise.
2373
2374 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2375
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2377 file.
2378 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2379 file.
2380 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2381 multiarch rawmemchr for PPC32.
2382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2383 multiarch objects.
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2385 (__libc_ifunc_impl_list): Likewise.
2386
2387 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2388
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2390 file.
2391 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2392 file.
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2394 file: memrchr multiarch for PPC32.
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2396 multiarch objects.
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2398 (__libc_ifunc_impl_list): Likewise.
2399
2400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401
2402 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2404 file.
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2406 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2407 multiarch memchr for PPC32.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2409 multiarch objects.
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2411 (__libc_ifunc_impl_list): Likewise.
2412
2413 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414
2415 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2417 file.
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2419 file.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2421 file: multiarch mempcpy for PPC32.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2423 multiarch objects.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2425 (__libc_ifunc_impl_list): Likewise.
2426
2427 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2433 multiarch bzero for PPC32.
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2435 file.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2437 file.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2439 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2440 file: multiarch memset for PPC32.
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2443 memset multiarch objects.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2445 (__libc_ifunc_impl_list): Likewise.
2446
2447 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2450 file.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2453 memcmp for PPC32.
2454 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2456 multiarch objects.
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2458 (__libc_ifunc_impl_list): Likewise.
2459
2460 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2465 file.
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2467 file.
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2469 file.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2471 multiarch memcpy for PPC32.
2472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2473 multiarch objects.
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2475 (__libc_ifunc_impl_list): Likewise.
2476
2477 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2478
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2480 support multiarch for POWER/PPC32.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2482 Likewise.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2485 Implies file to make multiarch folder appers before the fpu and
2486 default folder for power4 configuration.
2487
2488 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2489
2490 * scripts/bench.pl: Append volatile keyword to type.
2491
2492 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2493
2494 * sysdeps/sh/sotruss-lib.c: New file.
2495 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2496
2497 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
2499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2500
2501 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2502
2503 [BZ #6810]
2504 * math/w_tgamma.c: Include <errno.h>.
2505 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2506 * math/w_tgammaf.c: Include <errno.h>.
2507 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2508 * math/w_tgammal.c: Include <errno.h>.
2509 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2510 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2511 underflow. Add more tgamma tests.
2512 * math/auto-libm-test-out: Regenerated.
2513 * sysdeps/i386/fpu/libm-test-ulps: Update.
2514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2515
2516 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2517 sin, sinh, tan, tanh, tgamma, y0 and y1.
2518 * math/auto-libm-test-out: Regenerated.
2519 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2520 (TEST_COND_x86): Likewise.
2521 (M_E2l): Remove macro.
2522 (M_E3l): Likewise.
2523 (M_2_SQRT_PIl): Likewise.
2524 (M_SQRT_PIl): Likewise.
2525 (M_1_DIV_El): Likewise.
2526 (log_test_data): Use AUTO_TESTS_f_f.
2527 (log10_test_data): Likewise.
2528 (log1p_test_data): Likewise.
2529 (log2_test_data): Likewise.
2530 (sin_test_data): Likewise.
2531 (sin_tonearest_test_data): Likewise.
2532 (sin_towardzero_test_data): Likewise.
2533 (sin_downward_test_data): Likewise.
2534 (sin_upward_test_data): Likewise.
2535 (sinh_test_data): Likewise.
2536 (sinh_tonearest_test_data): Likewise.
2537 (sinh_towardzero_test_data): Likewise.
2538 (sinh_downward_test_data): Likewise.
2539 (sinh_upward_test_data): Likewise.
2540 (tan_test_data): Likewise.
2541 (tan_tonearest_test_data): Likewise.
2542 (tan_towardzero_test_data): Likewise.
2543 (tan_downward_test_data): Likewise.
2544 (tan_upward_test_data): Likewise.
2545 (tanh_test_data): Likewise.
2546 (tgamma_test_data): Likewise.
2547 (y0_test_data): Likewise.
2548 (y1_test_data): Likewise.
2549 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2550 (special_real_inputs): Add pi/4.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update.
2552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2553
2554 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555
2556 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2557 "longjmp_target" static probes.
2558 (__longjmp): Rename to __longjmp_symbol.
2559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2560 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2561 on which longjmp to generate.
2562 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2563 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2564 probe.
2565 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2566 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2567 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2568 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2569 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2570 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2572 __longjmp_symbol based on which __longjmp to generate.
2573 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2574 probe.
2575 (setjmp): Rename to setjmp_symbol.
2576 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2577 (_setjmp): Rename to _setjmp_symbol.
2578 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2579 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2580 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2581 which setjmp to generate.
2582 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2583 "longjmp_target" static probes.
2584
2585 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2586
2587 * benchtests/README: Add note about output arguments.
2588 * benchtests/bench-sincos.c: Remove file.
2589 * benchtests/sincos-inputs: New file.
2590 * scripts/bench.pl: Identify output arguments and define
2591 static variables for them.
2592
2593 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2594
2595 [BZ #15941]
2596 * Makefile (INSTALL): Add install-plain.texi as the primary
2597 dependency.
2598 * manual/install-plain.texi: New file.
2599 * manual/install.texi: Include node directive only for
2600 non-plaintext output.
2601
2602 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2603
2604 * stdlib/longlong.h: Update from GCC.
2605
2606 [BZ #6807]
2607 [BZ #15901]
2608 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2609 * math/w_j0f.c (y0f): Likewise.
2610 * math/w_j0l.c (__y0l): Likewise.
2611 * math/w_j1.c (y1): Likewise.
2612 * math/w_j1f.c (y1f): Likewise.
2613 * math/w_j1l.c (__y1l): Likewise
2614 * math/w_jn.c (yn): Likewise.
2615 * math/w_jnf.c (ynf): Likewise.
2616 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2617 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2618 value for Bessel function domain errors outside _SVID_ mode.
2619 Adjust sign of return value for yn (negative integer, 0).
2620 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2621 by zero in return for negative x and set sign appropriately for
2622 negative n.
2623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2624 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2625 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2626 expectations in error cases.
2627 (y1_test_data): Likewise.
2628 (yn_test_data): Likewise.
2629 * sysdeps/i386/fpu/libm-test-ulps: Update.
2630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2631
2632 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2633
2634 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2635 "64" to "64-v1". Add "64-v2".
2636 (abi-64-options): Rename to ...
2637 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2638 (abi-64-condition): Rename to ...
2639 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2640 (abi-64-ld-soname): Rename to ...
2641 (abi-64-v1-ld-soname): ... this.
2642 (abi-64-v2-options): Define.
2643 (abi-64-v2-condition): Likewise.
2644 (abi-64-v2-ld-soname): Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2646 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2650
2651 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2652 Alan Modra <amodra@gmail.com>
2653
2654 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2655 New versions for use with the ELFv2 ABI.
2656 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2657 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2658 declaration.
2659 (struct La_ppc64v2_retval): Likewise.
2660 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2661 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2662 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2663 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2664 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2666 Do not save or restore CR.
2667 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2668 (_dl_profile_resolve): Do no save or restore CR. Support extended
2669 return values for ELFv2 ABI. Fix location of FPR return registers.
2670 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2671 updated values for _CALL_ELF == 2.
2672 (La_regs, La_retval, int_retval): Likewise.
2673
2674 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2675
2676 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2677 (FRAME_MIN_SIZE_PARM): Likewise.
2678 (FRAME_BACKCHAIN): Likewise.
2679 (FRAME_CR_SAVE): Likewise.
2680 (FRAME_LR_SAVE): Likewise.
2681 (FRAME_TOC_SAVE): Likewise.
2682 (FRAME_PARM_SAVE): Likewise.
2683 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2684 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2685 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2686 (call_mcount_parm_offset): New macro.
2687 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2688 (PROF): Use symbolic stack frame offsets.
2689 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2690 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2691 Redefine in terms of FRAME_MIN_SIZE.
2692 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2693 (_dl_profile_resolve): Likewise. Update comment.
2694 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2695 symbols stack frame offsets.
2696 (__sigsetjmp): Likewise.
2697 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2698 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2699 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2700 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2701
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2703 (FRAME_BACKCHAIN): Remove.
2704 (FRAME_CR_SAVE): Likewise.
2705 (FRAME_LR_SAVE): Likewise.
2706 (FRAME_COMPILER_DW): Likewise.
2707 (FRAME_LINKER_DW): Likewise.
2708 (FRAME_TOC_SAVE): Likewise.
2709 (FRAME_PARM_SAVE): Likewise.
2710 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2711 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2712 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2714 (CHECK_SP): Use symbolic stack frame offsets.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2716 zone" instead of caller's parameter save area for temp storage.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2718 Likewise. Also, use symbolic stack frame offsets.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2720 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2721 our own stack frame instead of the caller's.
2722 (__socket): Use symbolic stack frame offsets.
2723
2724 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2725 Alan Modra <amodra@gmail.com>
2726
2727 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2728 Define.
2729 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2730 PPC64_LOCAL_ENTRY_OFFSET): Define.
2731 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2732 New function.
2733 (elf_machine_fixup_plt): Call it.
2734 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2735 reloc arguments.
2736 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2737 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2738 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2739 r2 before calling target.
2740
2741 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2742 Alan Modra <amodra@gmail.com>
2743
2744 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2745 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2746 versions of macros to support ELFv2 ABI.
2747 (LOCALENTRY): New macro.
2748 (ENTRY, EALIGN): Use it.
2749 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2750 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2751 fall through into ENTRY entry point.
2752 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2753 Only define if _CALL_ELF != 2.
2754
2755 (elf_machine_matches_host): Verify ABI version matches.
2756 (RTLD_START): Use LOCALENTRY.
2757 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2758 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2759 (PLT_ENTRY_WORDS): New macro.
2760 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2761 (elf_machine_runtime_setup): Support ELFv2 ABI.
2762 (elf_machine_fixup_plt): Likewise.
2763 (elf_machine_plt_conflict): Likewise.
2764 (resolve_ifunc): Likewise.
2765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2767 Likewise.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2769 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2771 (makecontext): Support ELFv2 ABI.
2772 * elf/elf.h (EF_PPC64_ABI): Define.
2773
2774 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2775
2776 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2777 New assembler macro.
2778 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2779 [ASSEMBLER] (ENTRY): ... but instead here ...
2780 [ASSEMBLER] (EALIGN): ... and here.
2781 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2782 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2783 [!ASSEMBLER] (ENTRY_2): Use it.
2784 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2785 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2786 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2787 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2788 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2790 Use PPC64_LOAD_FUNCPTR.
2791
2792 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2793
2794 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2795
2796 2013-12-04 Alan Modra <amodra@gmail.com>
2797
2798 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2799 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2800 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2801 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2802
2803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2804 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2805 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2806 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2807 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2808 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2809
2810 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2811
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2813 (__makecontext): Fix incorrect CFI when backtracing out of
2814 context created via makecontext.
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2816 (__setcontext): Fix incorrect CFI during switch to new context.
2817 (__novec_setcontext): Likewise.
2818
2819 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2820
2821 [BZ #4772]
2822 * time/strptime_l.c (__strptime_internal): Allow modifiers
2823 in strptime.
2824 * time/tst-strptime.c (day_tests): Add testcase.
2825
2826
2827 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2828
2829 * scripts/bench.pl: Skip over blank lines.
2830
2831 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2832
2833 [BZ #926]
2834 * manual/time.texi (Calendar Time): Clarify what timezone functions
2835 use.
2836
2837 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2838
2839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2840
2841 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2842
2843 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2844 implementation.
2845 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2846 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2847 * debug/memset_chk.c (__memset_chk): Likewise.
2848 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2849 * debug/strncpy_chk.c: Likewise.
2850
2851 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2852
2853 [BZ #15268]
2854 [BZ #15425]
2855 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2856 (__ieee754_exp): For possibly underflowing results, check size of
2857 result and force underflow exception if required.
2858 * math/auto-libm-test-in: Add more tests of exp.
2859 * math/auto-libm-test-out: Regenerated.
2860 * sysdeps/i386/fpu/libm-test-ulps: Update.
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862
2863 [BZ #16283]
2864 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2865 * math/w_exp2f.c (__exp2f): Likewise.
2866 * math/w_exp2l.c (__exp2l): Likewise.
2867 * math/auto-libm-test-in: Do not allow missing errno on exp2
2868 underflow.
2869 * math/auto-libm-test-out: Regenerated.
2870
2871 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2872
2873 [BZ #16274]
2874 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2875 handle filename validation.
2876 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2877 (do_open): Delete.
2878
2879 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2880
2881 [BZ #6786]
2882 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2883 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2884 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2885 <float.h>.
2886 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2888 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2890 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2891 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2892 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2893 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2894 Add more erfc tests.
2895 * math/auto-libm-test-out: Regenerated.
2896 * sysdeps/i386/fpu/libm-test-ulps: Update.
2897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2898
2899 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2900 exp2, expm1, j0 and j1.
2901 * math/auto-libm-test-out: Regenerated.
2902 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2903 (erfc_test_data): Likewise.
2904 (exp_test_data): Likewise.
2905 (exp_tonearest_test_data): Likewise.
2906 (exp_towardzero_test_data): Likewise.
2907 (exp_downward_test_data): Likewise.
2908 (exp_upward_test_data): Likewise.
2909 (exp10_test_data): Likewise.
2910 (exp2_test_data): Likewise.
2911 (expm1_test_data): Likewise.
2912 (j0_test_data): Likewise.
2913 (j1_test_data): Likewise.
2914 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2915 (input_flag_type): Add flag_xfail_rounding.
2916 (input_flags): Add xfail-rounding.
2917 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2918 (output_for_one_input_case): Handle flag_xfail_rounding.
2919 * sysdeps/i386/fpu/libm-test-ulps: Update.
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2921
2922 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2923
2924 [BZ #16289]
2925 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2926 division by 0.
2927
2928 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2929
2930 [BZ #16195]
2931 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2932 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2933 (STAP_PROBE0): New macro.
2934 (STAP_PROBE1): Likewise.
2935 (STAP_PROBE2): Likewise.
2936 (STAP_PROBE3): Likewise.
2937 (STAP_PROBE4): Likewise.
2938
2939 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2940
2941 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2942
2943 2013-12-02 Steve Ellcey <sellcey@mips.com>
2944
2945 * benchtests/Makefile (bench): Add sqrt.
2946 (LDLIBS-bench-sqrt): New.
2947 * benchtests/sqrt-input: New.
2948
2949 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2950
2951 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2952 (GAIH_EAI): Likewise.
2953 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2954 (gaih_inet): Likewise.
2955 (getaddrinfo): Don't use GAIH_EAI.
2956
2957 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2958 (struct gaih): Remove definition.
2959
2960 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
2962 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2963 Use HERRNOP directly.
2964
2965 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2966
2967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2968
2969 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2970
2971 * math/gen-auto-libm-tests.c (test_functions): Add more
2972 single-argument functions.
2973 (special_fill_pi_2): New function.
2974 (special_fill_minus_pi_2): Likewise.
2975 (special_fill_pi_6): Likewise.
2976 (special_fill_minus_pi_6): Likewise.
2977 (special_fill_pi_3): Likewise.
2978 (special_fill_2pi_3): Likewise.
2979 (special_fill_e): Likewise.
2980 (special_fill_1_e): Likewise.
2981 (special_fill_e_minus_1): Likewise.
2982 (special_real_inputs): Add more special inputs.
2983 (output_for_one_input_case): Do not require ERANGE on underflow to
2984 zero if round-to-nearest result does not underflow to zero, unless
2985 exact results required.
2986 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2987 atan, atanh, cbrt, cos and cosh.
2988 * math/auto-libm-test-out: Regenerated.
2989 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2990 (acos_tonearest_test_data): Likewise.
2991 (acos_towardzero_test_data): Likewise.
2992 (acos_downward_test_data): Likewise.
2993 (acos_upward_test_data): Likewise.
2994 (acosh_test_data): Likewise.
2995 (asin_test_data): Likewise.
2996 (asin_tonearest_test_data): Likewise.
2997 (asin_towardzero_test_data): Likewise.
2998 (asin_upward_test_data): Likewise.
2999 (asinh_test_data): Likewise.
3000 (atan_test_data): Likewise.
3001 (atanh_test_data): Likewise.
3002 (cbrt_test_data): Likewise.
3003 (cos_test_data): Likewise.
3004 (cos_tonearest_test_data): Likewise.
3005 (cos_towardzero_test_data): Likewise.
3006 (cos_downward_test_data): Likewise.
3007 (cos_upward_test_data): Likewise.
3008 (cosh_test_data): Likewise.
3009 (cosh_tonearest_test_data): Likewise.
3010 (cosh_towardzero_test_data): Likewise.
3011 (cosh_downward_test_data): Likewise.
3012 (cosh_upward_test_data): Likewise.
3013 * sysdeps/i386/fpu/libm-test-ulps: Update.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3015
3016 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3017
3018 [BZ #6787]
3019 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3020 * math/w_exp10f.c (__exp10f): Likewise.
3021 * math/w_exp10l.c (__exp10l): Likewise.
3022 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3023 errno settings in existing tests.
3024
3025 [BZ #14032]
3026 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3027 precision control set to double precision.
3028 * sysdeps/i386/fpu/w_sqrt.c: New file.
3029 * math/auto-libm-test-in: Add more tests.
3030 * math/auto-libm-test-out: Update.
3031
3032 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3033 (sqrt_test_tonearest): New function.
3034 (sqrt_towardzero_test_data): New variable.
3035 (sqrt_test_towardzero): New function.
3036 (sqrt_downward_test_data): New variable.
3037 (sqrt_test_downward): New function.
3038 (sqrt_upward_test_data): New variable.
3039 (sqrt_test_upward): New function.
3040 (main): Call the new functions.
3041
3042 * math/gen-auto-libm-tests.c: New file.
3043 * math/auto-libm-test-in: Likewise.
3044 * math/auto-libm-test-out: New generated file.
3045 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3046 variables.
3047 (%beautify): Add generated representations of zero.
3048 (top level): Set $auto_input and call parse_auto_input.
3049 (beautify): Remove trailing "f" from hex float constants.
3050 (parse_args): Handle XFAIL_TEST.
3051 (convert_condition): New function.
3052 (or_value): Likewise.
3053 (or_cond_value): Likewise.
3054 (generate_testfile): Handle AUTO_TESTS_* lines.
3055 (parse_auto_input): New function.
3056 * math/libm-test.inc (XFAIL_TEST): New macro.
3057 (ERRNO_UNCHANGED): Update value.
3058 (ERRNO_EDOM): Likewise.
3059 (ERRNO_ERANGE): Likewise.
3060 (IGNORE_RESULT): Likewise.
3061 (TEST_COND_flt_32): New macro.
3062 (TEST_COND_dbl_64): Likewise.
3063 (TEST_COND_ldbl_96_intel): Likewise.
3064 (TEST_COND_ldbl_96_m68k): Likewise.
3065 (TEST_COND_ldbl_128): Likewise.
3066 (TEST_COND_ldbl_128ibm): Likewise.
3067 (TEST_COND_long32): Likewise.
3068 (TEST_COND_long64): Likewise.
3069 (TEST_COND_before_rounding): Likewise.
3070 (TEST_COND_after_rounding): Likewise.
3071 (enable_test): Handle XFAIL_TEST flag.
3072 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3073 with finite results.
3074 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3075 auto-libm-test-out.
3076
3077 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3078 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3079
3080 [BZ #16214]
3081 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3082 __tls_get_addr_internal instead of __tls_get_offset in order to
3083 avoid GOT pointer dependency. Make rtld export
3084 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3085 __tls_get_addr since we are a __tls_get_offset platform.
3086 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3087 GOT pointer being set up before.
3088 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3089
3090 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3091
3092 * manual/math.texi (Errors in Math Functions): Document accuracy
3093 goals.
3094
3095 [BZ #15004]
3096 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3097 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3099 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3100 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3102 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3103 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3107 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3112
3113 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3114 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3115 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3116 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3117 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3118 Likewise.
3119 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3120 Likewise.
3121 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3122 Likewise.
3123 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3124 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3125 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3126 atomic-feupdateenv and flt-rounds.
3127 * sysdeps/powerpc/nofpu/Versions (libc): Add
3128 __atomic_feholdexcept, __atomic_feclearexcept,
3129 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3130 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3131 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3132 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3133 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3134 here.
3135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3136 Update.
3137
3138 * manual/arith.texi (FP Exceptions): Document that exceptions may
3139 not be raised when matherr is used.
3140 (Math Error Reporting): Document overflow in directed rounding
3141 modes. Document that errno may not be set when finite values are
3142 returned on overflow. Document intent to set errno on underflow
3143 only for underflow to zero.
3144
3145 [BZ #16271]
3146 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3147 round-to-nearest then adjust result for other rounding modes.
3148 * include/fenv.h (fegetround): Use libm_hidden_proto.
3149 * math/fegetround.c (fegetround): Use libm_hidden_def.
3150 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3151 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3152 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3153 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3154 Likewise.
3155 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3156 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3157 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3158 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3159
3160 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3161
3162 [BZ #16077]
3163 * nss/Versions (libnss_files): Add
3164 _nss_files_gethostbyname3_r.
3165 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3166 New function.
3167 (HOST_DB_LOOKUP): Remove macro.
3168 (_nss_files_gethostbyname_r): Implement function without the
3169 HOST_DB_LOOKUP macro.
3170 (_nss_files_gethostbyname2_r): Likewise.
3171
3172 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3173
3174 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3175
3176 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3177
3178 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3179 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3180 warning.
3181
3182 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3183
3184 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3185 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3186 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3187 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3188 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3189 __fe_nomask_env_priv and attribute_hidden.
3190 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3191 (libc_feupdateenv_test_ppc): Likewise.
3192 (libc_feresetround_ppc): Likewise.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3194 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3195 compat_symbol macro.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3197 (__fe_nomask_env): Likewise.
3198 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3199
3200 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3201
3202 * string/Makefile: Remove ifunc tests.
3203 * string/test-string.h: Define TEST_IFUNC.
3204 * string/test-bcopy-ifunc.c: Remove.
3205 * string/test-bzero-ifunc.c: Likewise.
3206 * string/test-memccpy-ifunc.c: Likewise.
3207 * string/test-memchr-ifunc.c: Likewise.
3208 * string/test-memcmp-ifunc.c: Likewise.
3209 * string/test-memcpy-ifunc.c: Likewise.
3210 * string/test-memmem-ifunc.c: Likewise.
3211 * string/test-memmove-ifunc.c: Likewise.
3212 * string/test-mempcpy-ifunc.c: Likewise.
3213 * string/test-memrchr-ifunc.c: Likewise.
3214 * string/test-memset-ifunc.c: Likewise.
3215 * string/test-rawmemchr-ifunc.c: Likewise.
3216 * string/test-stpcpy-ifunc.c: Likewise.
3217 * string/test-stpncpy-ifunc.c: Likewise.
3218 * string/test-strcasecmp-ifunc.c: Likewise.
3219 * string/test-strcasestr-ifunc.c: Likewise.
3220 * string/test-strcat-ifunc.c: Likewise.
3221 * string/test-strchr-ifunc.c: Likewise.
3222 * string/test-strchrnul-ifunc.c: Likewise.
3223 * string/test-strcmp-ifunc.c: Likewise.
3224 * string/test-strcpy-ifunc.c: Likewise.
3225 * string/test-strcspn-ifunc.c: Likewise.
3226 * string/test-strlen-ifunc.c: Likewise.
3227 * string/test-strncasecmp-ifunc.c: Likewise.
3228 * string/test-strncat-ifunc.c: Likewise.
3229 * string/test-strncmp-ifunc.c: Likewise.
3230 * string/test-strncpy-ifunc.c: Likewise.
3231 * string/test-strnlen-ifunc.c: Likewise.
3232 * string/test-strpbrk-ifunc.c: Likewise.
3233 * string/test-strrchr-ifunc.c: Likewise.
3234 * string/test-strspn-ifunc.c: Likewise.
3235 * string/test-strstr-ifunc.c: Likewise.
3236
3237 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3238
3239 * benchtests/Makefile: Remove ifunc tests.
3240 * benchtests/bench-string.h: Define TEST_IFUNC.
3241 * benchtests/bench-bcopy-ifunc.c: Remove.
3242 * benchtests/bench-bzero-ifunc.c: Likewise.
3243 * benchtests/bench-memccpy-ifunc.c: Likewise.
3244 * benchtests/bench-memchr-ifunc.c: Likewise.
3245 * benchtests/bench-memcmp-ifunc.c: Likewise.
3246 * benchtests/bench-memcpy-ifunc.c: Likewise.
3247 * benchtests/bench-memmem-ifunc.c: Likewise.
3248 * benchtests/bench-memmove-ifunc.c: Likewise.
3249 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3250 * benchtests/bench-memrchr-ifunc.c: Likewise.
3251 * benchtests/bench-memset-ifunc.c: Likewise.
3252 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3253 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3254 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3255 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3256 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3257 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3258 * benchtests/bench-strcat-ifunc.c: Likewise.
3259 * benchtests/bench-strchr-ifunc.c: Likewise.
3260 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3261 * benchtests/bench-strcmp-ifunc.c: Likewise.
3262 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3263 * benchtests/bench-strcpy-ifunc.c: Likewise.
3264 * benchtests/bench-strcspn-ifunc.c: Likewise.
3265 * benchtests/bench-strlen-ifunc.c: Likewise.
3266 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3267 * benchtests/bench-strncat-ifunc.c: Likewise.
3268 * benchtests/bench-strncmp-ifunc.c: Likewise.
3269 * benchtests/bench-strncpy-ifunc.c: Likewise.
3270 * benchtests/bench-strnlen-ifunc.c: Likewise.
3271 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3272 * benchtests/bench-strrchr-ifunc.c: Likewise.
3273 * benchtests/bench-strsep-ifunc.c: Likewise.
3274 * benchtests/bench-strspn-ifunc.c: Likewise.
3275 * benchtests/bench-strstr-ifunc.c: Likewise.
3276
3277 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3278
3279 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3280
3281 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3282
3283 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3284 * rt/aio.h: Likewise.
3285 * sysdeps/gnu/bits/utmp.h: Likewise.
3286 * sysdeps/gnu/bits/utmpx.h: Likewise.
3287 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3288 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3289 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3290 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3291 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3292 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3293 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3294 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3295 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3298 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3299 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3301 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3303 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3304 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3305 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3306 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3307 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3308 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3309 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3310 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3311 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3314 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3315 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3316 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3317 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3318 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3322 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3323 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3324 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3325 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3326 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3327 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3328 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3329
3330 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3331
3332 [BZ #16245]
3333 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3334 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3335
3336 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3337
3338 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3339 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3340 Likewise.
3341
3342 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3343
3344 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3345 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3346 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3347 (__fesetround): Remove define.
3348 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3349 rounding and exceptions handling.
3350 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3351 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3352 (__fe_nomask_env): Likewise.
3353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3354 __fegetround instead of fegetround.
3355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3357
3358 2013-11-21 Roland McGrath <roland@hack.frob.com>
3359
3360 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3361 it's there.
3362
3363 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3364
3365 2013-11-21 Meador Inge <meadori@codesourcery.com>
3366
3367 [BZ #11157]
3368 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3369 (encrypt_r): Likewise.
3370 * malloc/obstack.h (obstack_free): Likewise.
3371 * posix/unistd.h (encrypt): Likewise.
3372
3373 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3374
3375 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3376 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3377 DL_CALL_DT_FINI() that call the functions directly.
3378 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3379 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3380 * elf/dl-fini.c: Likewise.
3381
3382 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3383
3384 * malloc/hooks.c (memalign_check): Add alignment rounding.
3385 * malloc/malloc.c (_mid_memalign): New function.
3386 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3387 Implement by calling _mid_memalign.
3388 * manual/probes.texi (Memory Allocation Probes): Remove
3389 memory_valloc_retry and memory_pvalloc_retry.
3390
3391 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3392
3393 * locale/programs/locarchive.c (open_archive): Add const
3394 qualifier to ARCHIVEFNAME and copy default fname to
3395 DEFAULT_FNAME.
3396
3397 [BZ #15601]
3398 * libio/tst-widetext.input: Rename Oriya to Odia.
3399 * locale/iso-639.def: Likewise.
3400
3401 * manual/probes.texi (Mathematical Function Probes): Add
3402 documentation for sin, cos, asin and acos probes.
3403 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3404 (__sin32): Add slowasin probe.
3405 (__cos32): Add slowacos probe.
3406 (__mpsin): Add slowsin probe.
3407 (__mpcos): Add slowcos probe.
3408
3409 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3410
3411 [BZ #15483]
3412 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3413 thread-local __sim_exceptions_thread and global
3414 __sim_exceptions_global.
3415 (__sim_disabled_exceptions): Change to thread-local
3416 __sim_disabled_exceptions_thread and global
3417 __sim_disabled_exceptions_global.
3418 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3419 and global __sim_round_mode_global.
3420 (__simulate_exceptions): Use thread-local floating-point state and
3421 set global state from it as needed.
3422 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3423 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3424 __sim_round_mode_thread.
3425 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3426 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3427 and global __sim_exceptions_global.
3428 (__sim_disabled_exceptions): Change to thread-local
3429 __sim_disabled_exceptions_thread and global
3430 __sim_disabled_exceptions_global.
3431 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3432 and global __sim_round_mode_global.
3433 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3434 (SIM_SET_GLOBAL): Likewise.
3435 * sysdeps/powerpc/soft-fp/sfp-machine.h
3436 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3437 __sim_round_mode_thread.
3438 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3439 __sim_disabled_exceptions_thread.
3440 (__sim_exceptions): Change to __sim_exceptions_thread.
3441 (__sim_disabled_exceptions): Change to
3442 __sim_disabled_exceptions_thread.
3443 (__sim_round_mode): Change to __sim_round_mode_thread.
3444 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3445 thread-local floating-point state and set global state from it as
3446 needed.
3447 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3448 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3449 (__sim_disabled_exceptions): Remove extern declaration.
3450 (feenableexcept): Use thread-local floating-point state and set
3451 global state from it as needed.
3452 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3453 extern declaration.
3454 (__sim_disabled_exceptions): Likewise.
3455 (__sim_round_mode): Likewise.
3456 (__fegetenv): Use thread-local floating-point state.
3457 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3458 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3459 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3460 floating-point state and set global state from it as needed.
3461 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3462 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3463 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3464 Likewise.
3465 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3466 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3467 Likewise.
3468 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3469 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3470 Use __sim_round_mode_thread.
3471 * math/test-fenv-tls.c: New file.
3472 * math/Makefile (tests): Add test-fenv-tls.
3473 ($(objpfx)test-fenv-tls): Depend on
3474 $(common-objpfx)nptl/libpthread.so.
3475
3476 2013-11-19 Andreas Schwab <schwab@suse.de>
3477
3478 * locale/programs/locale.c (show_info): Decode wordarray elements.
3479 * locale/categories.def (LC_MONETARY): Add element for
3480 _NL_MONETARY_CRNCYSTR.
3481 * locale/C-monetary.c (conversion_rate): New variable.
3482 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3483 element.
3484
3485 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3486
3487 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3488 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3489
3490 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3491
3492 * elf/Makefile (tst-auxv): New test.
3493 * elf/tst-auxv.c: New
3494 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3495
3496 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3497
3498 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3499 (hidden_proto): Caller changed.
3500 (hidden_tls_proto): New macro.
3501 (libc_hidden_tls_proto): Likewise.
3502 (rtld_hidden_tls_proto): Likewise.
3503 (libm_hidden_tls_proto): Likewise.
3504 (libresolv_hidden_tls_proto): Likewise.
3505 (librt_hidden_tls_proto): Likewise.
3506 (libdl_hidden_tls_proto): Likewise.
3507 (libnss_files_hidden_tls_proto): Likewise.
3508 (libnsl_hidden_tls_proto): Likewise.
3509 (libnss_nisplus_hidden_tls_proto): Likewise.
3510 (libutil_hidden_tls_proto): Likewise.
3511
3512 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3513
3514 [BZ #10253]
3515 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3516 (decompose_rpath): Defer expansion to fillin_rpath.
3517 (_dl_init_paths): Pass linkmap to fillin_rpath.
3518
3519 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3520
3521 * benchtests/Makefile: Add strsep.
3522 * benchtests/bench-strsep.c: New file: strsep benchtest.
3523 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3524
3525 2013-11-18 Andreas Schwab <schwab@suse.de>
3526
3527 * locale/programs/locale.c (show_info) [case byte]: Check for
3528 '\377' instead of '\177'.
3529 * locale/C-monetary.c (not_available): Always use "\377".
3530 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3531 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3532 detect unavailable sign_posn locale elements.
3533 * locale/localeconv.c (__localeconv): For grouping and
3534 mon_grouping handle "\177" and "\377" like no grouping.
3535 (INT_ELEM): New macro. Use it to set all numeric members.
3536 * locale/programs/ld-monetary.c (monetary_read)
3537 <tok_mon_grouping>: Normalize single -1 to the empty string.
3538 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3539 Likewise.
3540
3541 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3542
3543 [BZ #16055]
3544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3545 when we match (nil).
3546 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3547
3548 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3549
3550 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3551 (NO_TEST_INLINE): Update value.
3552 (ERRNO_UNCHANGED): Likewise.
3553 (ERRNO_EDOM): Likewise.
3554 (ERRNO_ERANGE): Likewise.
3555 (IGNORE_RESULT): Likewise.
3556 (check_float_internal): Check signs of NaN results if
3557 TEST_NAN_SIGN used.
3558 (check_complex): Pass TEST_NAN_SIGN flag through to second
3559 check_float_internal call.
3560 (copysign_test_data): Add tests with quiet NaNs as second
3561 argument. Use TEST_NAN_SIGN.
3562 (fabs_test_data): Add test of negative quiet NaN argument. Use
3563 TEST_NAN_SIGN.
3564 (signbit_test_data): Add tests of quiet NaN argument.
3565 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3566
3567 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3568 $ignore_result.
3569 (parse_args): Handle function results specified as IGNORE.
3570 * math/libm-test.inc (IGNORE_RESULT): New macro.
3571 (check_float_internal): Do not check numerical result if flag
3572 IGNORE_RESULT set.
3573 (check_complex): Pass through IGNORE_RESULT to second
3574 check_float_internal call.
3575 (check_int): Do not check numerical result if flag IGNORE_RESULT
3576 set.
3577 (check_long): Likewise.
3578 (check_bool): Likewise.
3579 (check_longlong): Likewise.
3580 (lrint_test_data): Add tests of infinite and NaN arguments.
3581 (lrint_tonearest_test_data): Likewise.
3582 (lrint_towardzero_test_data): Likewise.
3583 (lrint_downward_test_data): Likewise.
3584 (lrint_upward_test_data): Likewise.
3585 (llrint_test_data): Likewise.
3586 (llrint_tonearest_test_data): Likewise.
3587 (llrint_towardzero_test_data): Likewise.
3588 (llrint_downward_test_data): Likewise.
3589 (llrint_upward_test_data): Likewise.
3590 (lround_test_data): Likewise.
3591 (llround_test_data): Likewise.
3592
3593 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3594 (ERRNO_UNCHANGED): Update value.
3595 (ERRNO_EDOM): Likewise.
3596 (ERRNO_ERANGE): Likewise.
3597 (NO_TEST_INLINE_FLOAT): New macro.
3598 (NO_TEST_INLINE_DOUBLE): Likewise.
3599 (enable_test): New function.
3600 (RUN_TEST_f_f): Check enable_test before running test.
3601 (RUN_TEST_2_f): Likewise.
3602 (RUN_TEST_fff_f): Likewise.
3603 (RUN_TEST_c_f): Likewise.
3604 (RUN_TEST_f_f1): Likewise.
3605 (RUN_TEST_fF_f1): Likewise.
3606 (RUN_TEST_fI_f1): Likewise.
3607 (RUN_TEST_ffI_f1): Likewise.
3608 (RUN_TEST_c_c): Likewise.
3609 (RUN_TEST_cc_c): Likewise.
3610 (RUN_TEST_f_i): Likewise.
3611 (RUN_TEST_f_i_tg): Likewise.
3612 (RUN_TEST_ff_i_tg): Likewise.
3613 (RUN_TEST_f_b): Likewise.
3614 (RUN_TEST_f_b_tg): Likewise.
3615 (RUN_TEST_f_l): Likewise.
3616 (RUN_TEST_f_L): Likewise.
3617 (RUN_TEST_fFF_11): Likewise.
3618 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3619 conditionals.
3620 (cosh_test_data): Likewise.
3621 (exp_test_data): Likewise.
3622 (expm1_test_data): Likewise.
3623 (hypot_test_data): Likewise.
3624 (pow_test_data): Likewise.
3625 (sinh_test_data): Likewise.
3626 (tanh_test_data): Likewise.
3627 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3628 flags argument.
3629
3630 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3631 tests with quiet NaN input and output.
3632 (acosh_test_data): Likewise.
3633 (asin_test_data): Likewise.
3634 (asinh_test_data): Likewise.
3635 (atan_test_data): Likewise.
3636 (atanh_test_data): Likewise.
3637 (atan2_test_data): Likewise.
3638 (cbrt_test_data): Likewise.
3639 (cos_test_data): Likewise.
3640 (cosh_test_data): Likewise.
3641 (erf_test_data): Likewise.
3642 (erfc_test_data): Likewise.
3643 (exp_test_data): Likewise.
3644 (exp10_test_data): Likewise.
3645 (exp2_test_data): Likewise.
3646 (expm1_test_data): Likewise.
3647 (hypot_test_data): Likewise.
3648 (j0_test_data): Likewise.
3649 (j1_test_data): Likewise.
3650 (jn_test_data): Likewise.
3651 (lgamma_test_data): Likewise.
3652 (log_test_data): Likewise.
3653 (log10_test_data): Likewise.
3654 (log1p_test_data): Likewise.
3655 (log2_test_data): Likewise.
3656 (pow_test_data): Likewise.
3657 (scalb_test_data): Likewise.
3658 (sin_test_data): Likewise.
3659 (sincos_test_data): Likewise.
3660 (sinh_test_data): Likewise.
3661 (tan_test_data): Likewise.
3662 (tanh_test_data): Likewise.
3663 (tgamma_test_data): Likewise.
3664 (y0_test_data): Likewise.
3665 (y1_test_data): Likewise.
3666 (yn_test_data): Likewise.
3667
3668 [BZ #16167]
3669 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3670 argument being NaN and avoid computations with second argument in
3671 that case.
3672 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3673 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3674 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3675
3676 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3677
3678 * locale/iso-639.def: Add Chitwani Tharu (the).
3679
3680 2013-11-14 Andreas Schwab <schwab@suse.de>
3681
3682 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3683 word instead of empty string.
3684
3685 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3686
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3688 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3690 (__fe_nomask_env): Likewise.
3691
3692 2013-11-13 Steve Ellcey <sellcey@mips.com>
3693
3694 * benchtests/bench-timing.h: Include time.h.
3695
3696 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3697
3698 [BZ #15997]
3699 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3700 to 3.4.0 for x32.
3701 * sysdeps/unix/sysv/linux/configure: Regenerated.
3702
3703 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3704
3705 [BZ #16151]
3706 * stdlib/strtod_l.c (round_and_return): Do not consider
3707 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3708 exponent one less than half the least subnormal exponent.
3709 * stdlib/test-strtod-round-data: Add more tests.
3710 * stdlib/tst-strtod-round.c (tests): Regenerated.
3711
3712 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713
3714 [BZ #14143]
3715 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3716 (__fe_mask_env): Likewise.
3717 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3718 libm_hidden_proto and add function prototype.
3719 (__fe_mask_env): Add function prototype.
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3721 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3723 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3725 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3726
3727 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3728
3729 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3730 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3731
3732 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3733
3734 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3735 of htab_find_slot().
3736
3737 2013-11-11 David S. Miller <davem@davemloft.net>
3738
3739 [BZ #16150]
3740 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3741 symbol in the non-vis3 case in static builds.
3742 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3743 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3744 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3745 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3746
3747 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3748
3749 [BZ #387]
3750 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3751 it is empty.
3752
3753 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3754
3755 * benchtests/Makefile: Add bench-strtod.
3756 * benchtests/bench-strtod.c: New file: strtod benchtest
3757
3758 2013-11-11 Andreas Schwab <schwab@suse.de>
3759
3760 [BZ #16153]
3761 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3762 terminating NUL in key length.
3763
3764 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3765
3766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3767 Add artificial ODP entry for vDSO symbol for PPC64.
3768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3769 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3770
3771 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3772
3773 [BZ #15374]
3774 * nss/getent.c (services_keys): Recognize services starting with digit.
3775
3776 2013-11-06 David S. Miller <davem@davemloft.net>
3777
3778 [BZ #15985]
3779 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3780 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3781
3782 2013-11-06 Will Newton <will.newton@linaro.org>
3783
3784 * manual/memory.texi (Malloc Examples): Remove register
3785 keyword from examples.
3786
3787 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3788
3789 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3790
3791 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3792
3793 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3794 depending on [__GCC_IEC_559 > 0].
3795 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3796 depending on [__GCC_IEC_559_COMPLEX > 0].
3797
3798 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3799
3800 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3801 to iso-639.def.
3802
3803 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3804
3805 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3806
3807 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3808
3809 [BZ #16112]
3810 * malloc/malloc (malloc_info): Do not handle first bin as
3811 special case.
3812
3813 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3814
3815 * locale/iso-639.def: Add Central Nahuatl (nhn).
3816
3817 2013-11-01 Bruno Haible <bruno@clisp.org>
3818
3819 [BZ #7003]
3820 * manual/math.texi (BSD Random): Specify range upper bound as
3821 in POSIX.
3822
3823 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3824
3825 * locale/iso-639.def: Add Meadow Mari (mhr).
3826
3827 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3828
3829 [BZ #14752], [BZ #15763]
3830 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3831 Validate name.
3832 * rt/tst_shm.c: Add test for escaping directory.
3833
3834 2013-10-31 Andreas Schwab <schwab@suse.de>
3835
3836 [BZ #15917]
3837 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3838 followed by 'x' as part of digit sequence.
3839 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3840
3841 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3842
3843 [BZ #16037]
3844 * configure.ac: allow GNU Make 4.0 and greater.
3845 * configure: Regenerated.
3846
3847 2013-10-30 Will Newton <will.newton@linaro.org>
3848
3849 [BZ #16038]
3850 * malloc/hooks.c (memalign_check): Limit alignment to the
3851 maximum representable power of two.
3852 * malloc/malloc.c (__libc_memalign): Likewise.
3853 * malloc/tst-memalign.c (do_test): Add test for very
3854 large alignment values.
3855 * malloc/tst-posix_memalign.c (do_test): Likewise.
3856
3857 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3858
3859 [BZ #11087]
3860 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3861 (munmap_chunk): Likewise.
3862 (mremap_chunk): Likewise.
3863
3864 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3865
3866 [BZ #15799]
3867 * stdlib/div.c (div): Remove obsolete code.
3868 * stdlib/ldiv.c (ldiv): Likewise.
3869 * stdlib/lldiv.c (lldiv): Likewise.
3870
3871 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3872
3873 [BZ #16071]
3874 * nss/nss_files/files-XXX.c (get_contents_ret): New
3875 enumerator.
3876 (get_contents): New function.
3877 (internal_getent): Use it. Expand size of LINEBUFLEN.
3878
3879 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3880
3881 * configure.in: Moved to ...
3882 * configure.ac: ... here. Change reference to configure.in
3883 to configure.ac.
3884 * sysdeps/arm/preconfigure.ac: ... here.
3885 configure.in to configure.ac.
3886 * sysdeps/gnu/configure.in: Moved to ...
3887 * sysdeps/gnu/configure.ac: ... here.
3888 * sysdeps/i386/configure.in: Moved to ...
3889 * sysdeps/i386/configure.ac: ... here.
3890 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3891 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3892 * sysdeps/mach/configure.in: Moved to ...
3893 * sysdeps/mach/configure.ac: ... here.
3894 * sysdeps/mach/hurd/configure.in: Moved to ...
3895 * sysdeps/mach/hurd/configure.ac: ... here.
3896 * sysdeps/powerpc/configure.in: Moved to ...
3897 * sysdeps/powerpc/configure.ac: ... here.
3898 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3899 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3900 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3901 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3902 * sysdeps/s390/s390-32/configure.in: Moved to ...
3903 * sysdeps/s390/s390-32/configure.ac: ... here.
3904 * sysdeps/s390/s390-64/configure.in: Moved to ...
3905 * sysdeps/s390/s390-64/configure.ac: ... here.
3906 * sysdeps/sh/configure.in: Moved to ...
3907 * sysdeps/sh/configure.ac: ... here.
3908 * sysdeps/sparc/configure.in: Moved to ...
3909 * sysdeps/sparc/configure.ac: ... here.
3910 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3911 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3912 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3913 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3914 * sysdeps/x86_64/configure.in: Moved to ...
3915 * sysdeps/x86_64/configure.ac: ... here.
3916 * sysdeps/x86_64/preconfigure.in: Moved to ...
3917 * sysdeps/x86_64/preconfigure.ac: ... here.
3918 * aclocal.m4: Change reference to configure.in to configure.ac.
3919 * config.h.in: Likewise.
3920 * manual/install.texi: Likewise.
3921 * manual/maint.texi: Likewise.
3922 * Makefile: Likewise.
3923 * malloc/Makefile: Likewise.
3924 * nscd/Makefile: Likewise.
3925 * Makeconfig: Change reference to configure.in and
3926 preconfigure.in to configure.ac and preconfigure.ac
3927 respectively.
3928 * INSTALL: Regenerated.
3929 * configure: Likewise.
3930 * sysdeps/gnu/configure: Likewise.
3931 * sysdeps/i386/configure: Likewise.
3932 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3933 * sysdeps/mach/configure: Likewise.
3934 * sysdeps/mach/hurd/configure: Likewise.
3935 * sysdeps/powerpc/configure: Likewise.
3936 * sysdeps/powerpc/powerpc32/configure: Likewise.
3937 * sysdeps/powerpc/powerpc64/configure: Likewise.
3938 * sysdeps/s390/s390-32/configure: Likewise.
3939 * sysdeps/s390/s390-64/configure: Likewise.
3940 * sysdeps/sh/configure: Likewise.
3941 * sysdeps/sparc/configure: Likewise.
3942 * sysdeps/unix/sysv/linux/configure: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3944 * sysdeps/x86_64/configure: Likewise.
3945 * sysdeps/x86_64/preconfigure: Likewise.
3946
3947 2013-10-29 Andreas Schwab <schwab@suse.de>
3948
3949 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3950
3951 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3952
3953 * benchtests/pow-inputs: Add new inputs.
3954
3955 * benchtests/exp-inputs: Add new inputs.
3956
3957 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3958 conditional check for return value.
3959 (__cos32): Likewise.
3960
3961 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3962
3963 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3964 to provide a boost for large inputs with word alignment.
3965 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3966 implementation based on optimized PPC64 strcpy.
3967 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3968 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3969 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3970 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3971
3972 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3973
3974 [BZ #2801]
3975 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3976
3977 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3978
3979 [BZ #14876]
3980 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3981 * time/tst-strptime.c (day_tests): Add testcase.
3982
3983 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3984
3985 [BZ #14029]
3986 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3987
3988 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3989
3990 [BZ #16074]
3991 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3992 MAP_FAILED on error.
3993
3994 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3995
3996 [BZ #16072]
3997 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3998 heap for large requests.
3999
4000 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4001
4002 [BZ #9954]
4003 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4004 result if the result has no associated interface.
4005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4006 interface for all 127.X.Y.Z addresses.
4007
4008 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4009
4010 * locale/iso-639.def: Add Ligurian (lij)
4011
4012 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4013
4014 [BZ #15825]
4015 * sunrpc/rpc_main.c: Document rpcgen -5.
4016
4017 2013-10-19 Michael Stahl <mstahl@redhat.com>
4018
4019 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4020
4021 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4022
4023 [BZ #10278]
4024 * posix/glob.c: Match only directories when trailing slash is present.
4025 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4026 (main): Add testcase.
4027
4028 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4029
4030 [BZ #15670]
4031 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4032
4033 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4034
4035 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4036 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4037 AUTH_DES and cindex for FIPS 140-2.
4038 (DES Encryption): Add cindex FIPS 46-3.
4039
4040 * locale/locarchive.h (struct locarhandle): Add fname.
4041 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4042 if an optional argument was specified to --list-archive,
4043 otherwise NULL.
4044 * locale/programs/locarchive.c (show_archive_content): Take new
4045 argument fname and pass it via ah.fname to open_archive.
4046 * locale/programs/localedef.h: Update decl.
4047 (open_archive): If AH->fname is non-null, open that file
4048 rather than the default file name, and don't ignore ENOENT.
4049 (create_archive): Set AH.fname to NULL.
4050 (delete_locales_from_archive): Likewise.
4051 (add_locales_to_archive): Likewise.
4052 * locale/programs/locfile.c (write_all_categories): Likewise.
4053
4054 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4055 Aldy Hernandez <aldyh@redhat.com>
4056
4057 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4058 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4059 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4060 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4061 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4063 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4064 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4065 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4066 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4067 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4068 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4069 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4070 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4071 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4072 Likewise.
4073 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4074 Likewise.
4075 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4076 Likewise.
4077 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4078 Likewise.
4079 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4080 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4081 Likewise.
4082 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4083 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4084 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4085 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4086 Likewise.
4087 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4088 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4089 * sysdeps/powerpc/preconfigure: Likewise.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4091 Likewise.
4092 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4093 Replace contents of file by #include of <fenv_libc.h>.
4094 * sysdeps/powerpc/soft-fp/sfp-machine.h
4095 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4096 and <sys/prctl.h>.
4097 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4104 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4107 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4108 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4110 Allow copysignl PLT reference to be missing.
4111
4112 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4113 Joseph Myers <joseph@codesourcery.com
4114
4115 [BZ #15948]
4116 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4117 single character.
4118 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4119
4120 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4121
4122 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4123 * elf/tst-tls1.c: Likewise.
4124 * elf/tst-tls10.h: Likewise.
4125 * elf/tst-tls14.c: Likewise.
4126 * elf/tst-tls2.c: Likewise.
4127 * elf/tst-tls3.c: Likewise.
4128 * elf/tst-tls4.c: Likewise.
4129 * elf/tst-tls5.c: Likewise.
4130 * elf/tst-tls6.c: Likewise.
4131 * elf/tst-tls7.c: Likewise.
4132 * elf/tst-tls8.c: Likewise.
4133 * elf/tst-tls9.c: Likewise.
4134 * elf/tst-tlsmod1.c: Likewise.
4135 * elf/tst-tlsmod13.c: Likewise.
4136 * elf/tst-tlsmod13a.c: Likewise.
4137 * elf/tst-tlsmod14a.c: Likewise.
4138 * elf/tst-tlsmod16a.c: Likewise.
4139 * elf/tst-tlsmod16b.c: Likewise.
4140 * elf/tst-tlsmod2.c: Likewise.
4141 * elf/tst-tlsmod3.c: Likewise.
4142 * elf/tst-tlsmod4.c: Likewise.
4143 * elf/tst-tlsmod5.c: Likewise.
4144 * elf/tst-tlsmod6.c: Likewise.
4145
4146 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4147
4148 [BZ #12486]
4149 * malloc/malloc.c: remove checks for statistics.
4150
4151 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4152
4153 [BZ #15277]
4154 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4155 * inet/tst-network.c: Add testcase.
4156
4157 2013-10-17 Andreas Schwab <schwab@suse.de>
4158
4159 [BZ #15218]
4160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4161 to determine canonical name.
4162
4163 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4164
4165 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4166 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4189 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4223
4224 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4225
4226 [BZ #16041]
4227 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4228 make result into a quiet NaN.
4229
4230 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4231
4232 * soft-fp/adddf3.c: Fix horizontal whitespace.
4233 * soft-fp/addsf3.c: Likewise.
4234 * soft-fp/addtf3.c: Likewise.
4235 * soft-fp/divdf3.c: Likewise.
4236 * soft-fp/divsf3.c: Likewise.
4237 * soft-fp/divtf3.c: Likewise.
4238 * soft-fp/double.h: Likewise.
4239 * soft-fp/eqdf2.c: Likewise.
4240 * soft-fp/eqsf2.c: Likewise.
4241 * soft-fp/eqtf2.c: Likewise.
4242 * soft-fp/extenddftf2.c: Likewise.
4243 * soft-fp/extended.h: Likewise.
4244 * soft-fp/extendsfdf2.c: Likewise.
4245 * soft-fp/extendsftf2.c: Likewise.
4246 * soft-fp/extendxftf2.c: Likewise.
4247 * soft-fp/fixdfdi.c: Likewise.
4248 * soft-fp/fixdfsi.c: Likewise.
4249 * soft-fp/fixdfti.c: Likewise.
4250 * soft-fp/fixsfdi.c: Likewise.
4251 * soft-fp/fixsfsi.c: Likewise.
4252 * soft-fp/fixsfti.c: Likewise.
4253 * soft-fp/fixtfdi.c: Likewise.
4254 * soft-fp/fixtfsi.c: Likewise.
4255 * soft-fp/fixtfti.c: Likewise.
4256 * soft-fp/fixunsdfdi.c: Likewise.
4257 * soft-fp/fixunsdfsi.c: Likewise.
4258 * soft-fp/fixunsdfti.c: Likewise.
4259 * soft-fp/fixunssfdi.c: Likewise.
4260 * soft-fp/fixunssfsi.c: Likewise.
4261 * soft-fp/fixunssfti.c: Likewise.
4262 * soft-fp/fixunstfdi.c: Likewise.
4263 * soft-fp/fixunstfsi.c: Likewise.
4264 * soft-fp/fixunstfti.c: Likewise.
4265 * soft-fp/floatdidf.c: Likewise.
4266 * soft-fp/floatdisf.c: Likewise.
4267 * soft-fp/floatditf.c: Likewise.
4268 * soft-fp/floatsidf.c: Likewise.
4269 * soft-fp/floatsisf.c: Likewise.
4270 * soft-fp/floatsitf.c: Likewise.
4271 * soft-fp/floattidf.c: Likewise.
4272 * soft-fp/floattisf.c: Likewise.
4273 * soft-fp/floattitf.c: Likewise.
4274 * soft-fp/floatundidf.c: Likewise.
4275 * soft-fp/floatundisf.c: Likewise.
4276 * soft-fp/floatunditf.c: Likewise.
4277 * soft-fp/floatunsidf.c: Likewise.
4278 * soft-fp/floatunsisf.c: Likewise.
4279 * soft-fp/floatunsitf.c: Likewise.
4280 * soft-fp/floatuntidf.c: Likewise.
4281 * soft-fp/floatuntisf.c: Likewise.
4282 * soft-fp/floatuntitf.c: Likewise.
4283 * soft-fp/fmadf4.c: Likewise.
4284 * soft-fp/fmasf4.c: Likewise.
4285 * soft-fp/fmatf4.c: Likewise.
4286 * soft-fp/gedf2.c: Likewise.
4287 * soft-fp/gesf2.c: Likewise.
4288 * soft-fp/getf2.c: Likewise.
4289 * soft-fp/ledf2.c: Likewise.
4290 * soft-fp/lesf2.c: Likewise.
4291 * soft-fp/letf2.c: Likewise.
4292 * soft-fp/muldf3.c: Likewise.
4293 * soft-fp/mulsf3.c: Likewise.
4294 * soft-fp/multf3.c: Likewise.
4295 * soft-fp/negdf2.c: Likewise.
4296 * soft-fp/negsf2.c: Likewise.
4297 * soft-fp/negtf2.c: Likewise.
4298 * soft-fp/op-1.h: Likewise.
4299 * soft-fp/op-2.h: Likewise.
4300 * soft-fp/op-4.h: Likewise.
4301 * soft-fp/op-8.h: Likewise.
4302 * soft-fp/op-common.h: Likewise.
4303 * soft-fp/quad.h: Likewise.
4304 * soft-fp/single.h: Likewise.
4305 * soft-fp/soft-fp.h: Likewise.
4306 * soft-fp/sqrtdf2.c: Likewise.
4307 * soft-fp/sqrtsf2.c: Likewise.
4308 * soft-fp/sqrttf2.c: Likewise.
4309 * soft-fp/subdf3.c: Likewise.
4310 * soft-fp/subsf3.c: Likewise.
4311 * soft-fp/subtf3.c: Likewise.
4312 * soft-fp/truncdfsf2.c: Likewise.
4313 * soft-fp/trunctfdf2.c: Likewise.
4314 * soft-fp/trunctfsf2.c: Likewise.
4315 * soft-fp/trunctfxf2.c: Likewise.
4316 * soft-fp/unorddf2.c: Likewise.
4317 * soft-fp/unordsf2.c: Likewise.
4318 * soft-fp/unordtf2.c: Likewise.
4319
4320 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4321
4322 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4323 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4324
4325 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4326
4327 * elf/dl-libc.c: Clear initfini list after freeing.
4328
4329 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4330
4331 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4332 * soft-fp/addsf3.c: Likewise.
4333 * soft-fp/addtf3.c: Likewise.
4334 * soft-fp/divdf3.c: Likewise.
4335 * soft-fp/divsf3.c: Likewise.
4336 * soft-fp/divtf3.c: Likewise.
4337 * soft-fp/double.h: Likewise.
4338 * soft-fp/eqdf2.c: Likewise.
4339 * soft-fp/eqsf2.c: Likewise.
4340 * soft-fp/eqtf2.c: Likewise.
4341 * soft-fp/extenddftf2.c: Likewise.
4342 * soft-fp/extended.h: Likewise.
4343 * soft-fp/extendsfdf2.c: Likewise.
4344 * soft-fp/extendsftf2.c: Likewise.
4345 * soft-fp/extendxftf2.c: Likewise.
4346 * soft-fp/fixdfdi.c: Likewise.
4347 * soft-fp/fixdfsi.c: Likewise.
4348 * soft-fp/fixdfti.c: Likewise.
4349 * soft-fp/fixsfdi.c: Likewise.
4350 * soft-fp/fixsfsi.c: Likewise.
4351 * soft-fp/fixsfti.c: Likewise.
4352 * soft-fp/fixtfdi.c: Likewise.
4353 * soft-fp/fixtfsi.c: Likewise.
4354 * soft-fp/fixtfti.c: Likewise.
4355 * soft-fp/fixunsdfdi.c: Likewise.
4356 * soft-fp/fixunsdfsi.c: Likewise.
4357 * soft-fp/fixunsdfti.c: Likewise.
4358 * soft-fp/fixunssfdi.c: Likewise.
4359 * soft-fp/fixunssfsi.c: Likewise.
4360 * soft-fp/fixunssfti.c: Likewise.
4361 * soft-fp/fixunstfdi.c: Likewise.
4362 * soft-fp/fixunstfsi.c: Likewise.
4363 * soft-fp/fixunstfti.c: Likewise.
4364 * soft-fp/floatdidf.c: Likewise.
4365 * soft-fp/floatdisf.c: Likewise.
4366 * soft-fp/floatditf.c: Likewise.
4367 * soft-fp/floatsidf.c: Likewise.
4368 * soft-fp/floatsisf.c: Likewise.
4369 * soft-fp/floatsitf.c: Likewise.
4370 * soft-fp/floattidf.c: Likewise.
4371 * soft-fp/floattisf.c: Likewise.
4372 * soft-fp/floattitf.c: Likewise.
4373 * soft-fp/floatundidf.c: Likewise.
4374 * soft-fp/floatundisf.c: Likewise.
4375 * soft-fp/floatunsidf.c: Likewise.
4376 * soft-fp/floatunsisf.c: Likewise.
4377 * soft-fp/floatuntidf.c: Likewise.
4378 * soft-fp/floatuntisf.c: Likewise.
4379 * soft-fp/floatuntitf.c: Likewise.
4380 * soft-fp/fmadf4.c: Likewise.
4381 * soft-fp/fmasf4.c: Likewise.
4382 * soft-fp/fmatf4.c: Likewise.
4383 * soft-fp/gedf2.c: Likewise.
4384 * soft-fp/gesf2.c: Likewise.
4385 * soft-fp/getf2.c: Likewise.
4386 * soft-fp/ledf2.c: Likewise.
4387 * soft-fp/lesf2.c: Likewise.
4388 * soft-fp/letf2.c: Likewise.
4389 * soft-fp/muldf3.c: Likewise.
4390 * soft-fp/mulsf3.c: Likewise.
4391 * soft-fp/multf3.c: Likewise.
4392 * soft-fp/negdf2.c: Likewise.
4393 * soft-fp/negsf2.c: Likewise.
4394 * soft-fp/negtf2.c: Likewise.
4395 * soft-fp/op-1.h: Likewise.
4396 * soft-fp/op-2.h: Likewise.
4397 * soft-fp/op-4.h: Likewise.
4398 * soft-fp/op-8.h: Likewise.
4399 * soft-fp/op-common.h: Likewise.
4400 * soft-fp/quad.h: Likewise.
4401 * soft-fp/single.h: Likewise.
4402 * soft-fp/soft-fp.h: Likewise.
4403 * soft-fp/sqrtdf2.c: Likewise.
4404 * soft-fp/sqrtsf2.c: Likewise.
4405 * soft-fp/sqrttf2.c: Likewise.
4406 * soft-fp/subdf3.c: Likewise.
4407 * soft-fp/subsf3.c: Likewise.
4408 * soft-fp/subtf3.c: Likewise.
4409 * soft-fp/truncdfsf2.c: Likewise.
4410 * soft-fp/trunctfdf2.c: Likewise.
4411 * soft-fp/trunctfsf2.c: Likewise.
4412 * soft-fp/trunctfxf2.c: Likewise.
4413 * soft-fp/unorddf2.c: Likewise.
4414 * soft-fp/unordsf2.c: Likewise.
4415 * soft-fp/unordtf2.c: Likewise.
4416
4417 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4418
4419 [BZ #15672]
4420 * misc/error.c (error_tail): Fix possible buffer overflow.
4421
4422 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4423
4424 [BZ #13028]
4425 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4426 address.
4427
4428 2013-10-14 P. J. McDermott <pj@pehjota.net>
4429
4430 [BZ #832]
4431 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4432 testing pipefail option.
4433
4434 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4435
4436 * soft-fp/double.h: Indent preprocessor directives inside #if.
4437 * soft-fp/extended.h: Likewise.
4438 * soft-fp/op-2.h: Likewise.
4439 * soft-fp/op-4.h: Likewise.
4440 * soft-fp/op-common.h: Likewise.
4441 * soft-fp/quad.h: Likewise.
4442 * soft-fp/single.h: Likewise.
4443 * soft-fp/soft-fp.h: Likewise.
4444
4445 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4446
4447 * iconv/iconv_prog.c: Fix typos.
4448 * stdio-common/psiginfo-data.h: Likewise.
4449
4450 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4451
4452 [BZ #15764]
4453 * locale/setlocale.c: Fix typo.
4454
4455 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4456
4457 [BZ #16036]
4458 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4459 signaling NaN arguments.
4460 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4461 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4462
4463 [BZ #14910]
4464 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4465 unordered operands.
4466 * soft-fp/gesf2.c (__gesf2): Likewise.
4467 * soft-fp/getf2.c (__getf2): Likewise.
4468 * soft-fp/ledf2.c (__ledf2): Likewise.
4469 * soft-fp/lesf2.c (__lesf2): Likewise.
4470 * soft-fp/letf2.c (__letf2): Likewise.
4471
4472 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4473 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4474 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4475 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4476 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4477 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4478 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4479 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4480 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4481 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4482 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4483 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4484 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4485 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4486 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4487 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4488 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4489 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4490 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4491 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4492 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4493 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4494 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4495 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4496 * soft-fp/floattidf.c (__floattidf): Likewise.
4497 * soft-fp/floattisf.c (__floattisf): Likewise.
4498 * soft-fp/floattitf.c (__floattitf): Likewise.
4499 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4500 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4501 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4502 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4503 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4504 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4505 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4506 * soft-fp/gesf2.c (__gesf2): Likewise.
4507 * soft-fp/getf2.c (__getf2): Likewise.
4508 * soft-fp/ledf2.c (__ledf2): Likewise.
4509 * soft-fp/lesf2.c (__lesf2): Likewise.
4510 * soft-fp/letf2.c (__letf2): Likewise.
4511
4512 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4513 Undefine and redefine.
4514 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4515 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4516 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4517 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4518 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4519 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4520 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4521 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4522 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4523 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4524 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4525 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4526 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4527 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4528 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4529
4530 [BZ #16032]
4531 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4532 without decrementing exponent if mantissa >= that for the
4533 denominator, not >.
4534 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4535 denominator, not >. Decrement exponent in < case instead of
4536 incrementing in >= case.
4537 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4538 without decrementing exponent if mantissa >= that for the
4539 denominator, not >.
4540
4541 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4542 computing saturated result for unsigned overflow.
4543
4544 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4545 Jeff Law <law@redhat.com>
4546
4547 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4548 (atan2Mp): Add systemtap probe marker.
4549 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4550 (__ieee754_log): Add systemtap probe marker.
4551 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4552 (atanMp): Add systemtap probe marker.
4553 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4554 (tanMp): Add systemtap probe marker.
4555 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4556 (__slowexp): Add systemtap probe marker.
4557 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4558 (__slowpow): Add systemtap probe marker.
4559 * manual/probes.texi: Document probes.
4560
4561 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4562
4563 [BZ #15362]
4564 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4565 written.
4566 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4567 written.
4568 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4569 written to buffer but not flushed.
4570 * libio/iofwrite_u.c: Likewise.
4571 * libio/iopadn.c: Return bytes returned even if EOF was
4572 encountered.
4573 * libio/iowpadn.c: Likewise.
4574 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4575 if _IO_padn does not write the whole buffer.
4576 [!COMPILE_WPRINTF] (PAD): Likewise.
4577
4578 2013-10-10 David S. Miller <davem@davemloft.net>
4579
4580 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4581 directory block.
4582
4583 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4584
4585 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4586 instead of FSF address.
4587 * soft-fp/fixdfti.c: Likewise.
4588 * soft-fp/fixsfti.c: Likewise.
4589 * soft-fp/fixtfti.c: Likewise.
4590 * soft-fp/fixunsdfti.c: Likewise.
4591 * soft-fp/fixunssfti.c: Likewise.
4592 * soft-fp/fixunstfti.c: Likewise.
4593 * soft-fp/floattidf.c: Likewise.
4594 * soft-fp/floattisf.c: Likewise.
4595 * soft-fp/floattitf.c: Likewise.
4596 * soft-fp/floatuntidf.c: Likewise.
4597 * soft-fp/floatuntisf.c: Likewise.
4598 * soft-fp/floatuntitf.c: Likewise.
4599 * soft-fp/trunctfxf2.c: Likewise.
4600
4601 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4602 * soft-fp/fixdfti.c: Likewise.
4603 * soft-fp/fixsfti.c: Likewise.
4604 * soft-fp/fixtfti.c: Likewise.
4605 * soft-fp/fixunsdfti.c: Likewise.
4606 * soft-fp/fixunssfti.c: Likewise.
4607 * soft-fp/fixunstfti.c: Likewise.
4608 * soft-fp/floattidf.c: Likewise.
4609 * soft-fp/floattisf.c: Likewise.
4610 * soft-fp/floattitf.c: Likewise.
4611 * soft-fp/floatuntidf.c: Likewise.
4612 * soft-fp/floatuntisf.c: Likewise.
4613 * soft-fp/floatuntitf.c: Likewise.
4614 * soft-fp/trunctfxf2.c: Likewise.
4615
4616 2013-10-10 David S. Miller <davem@davemloft.net>
4617
4618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4619
4620 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4621
4622 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4623 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4624 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4629
4630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4631 for NaNs before doing comparisons on argument.
4632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4633 Likewise.
4634
4635 2013-10-10 Will Newton <will.newton@linaro.org>
4636
4637 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4638 passed to _int_memalign does not overflow.
4639
4640 2013-10-10 Torvald Riegel <triegel@redhat.com>
4641
4642 * scripts/bench.pl: Add include-sources directive.
4643 * benchtests/README: Update documentation.
4644
4645 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4646
4647 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4648 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4649 instead of FP_INIT_ROUNDMODE.
4650 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4651 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4652
4653 [BZ #16034]
4654 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4655 copy class of input value.
4656 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4657 not handle exceptions.
4658 * soft-fp/negsf2.c (__negsf2): Likewise.
4659 * soft-fp/negtf2.c (__negtf2): Likewise.
4660 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4661
4662 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4663
4664 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4665 semicolon. From Linux kernel.
4666
4667 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4668
4669 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4670
4671 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4672
4673 [BZ #156]
4674 * manual/socket.texi: Added statement about buffer
4675 for gethostbyname2_r.
4676
4677 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4678
4679 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4680 Use .p2align directive instead, throughout.
4681 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4682 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4683 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4686 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4687 * sysdeps/x86_64/strchr.S: Likewise.
4688 * sysdeps/x86_64/strrchr.S: Likewise.
4689
4690 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4691
4692 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4693
4694 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4695
4696 * sysdeps/generic/math_private.h (__mpsin1): Remove
4697 declaration.
4698 (__mpcos1): Likewise.
4699 (__mpsin): New argument __range_reduce.
4700 (__mpcos): Likewise.
4701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4702 (slow): Use __mpsin and __mpcos.
4703 (slow1): Likewise.
4704 (slow2): Likewise.
4705 (sloww): Likewise.
4706 (sloww1): Likewise.
4707 (sloww2): Likewise.
4708 (bsloww): Likewise.
4709 (bsloww1): Likewise.
4710 (bsloww2): Likewise.
4711 (cslow2): Likewise.
4712 (csloww): Likewise.
4713 (csloww1): Likewise.
4714 (csloww2): Likewise.
4715 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4716 range_reduce. Merge in __mpsin1.
4717 (__mpcos): Likewise.
4718 (__mpsin1): Remove.
4719 (__mpcos1): Likewise.
4720
4721 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4722
4723 * locale/loadlocale.c (_nl_intern_locale_data): Use
4724 LOCFILE_ALIGNED_P.
4725 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4726 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4727 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4728 obstack data is appropriately aligned.
4729 (obstack_int32_grow_fast): Likewise.
4730 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4731 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4732 (add_locale_uint32_array): Likewise.
4733
4734 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4735
4736 * benchtests/Makefile: Remove ARGLIST and RET variables.
4737 ($(objpfx)bench-%.c): Pass only function name to the script.
4738 * benchtests/README: Update documentation.
4739 * benchtests/acos-inputs: Add new directives.
4740 * benchtests/acosh-inputs: Likewise.
4741 * benchtests/asin-inputs: Likewise.
4742 * benchtests/asinh-inputs: Likewise.
4743 * benchtests/atan-inputs: Likewise.
4744 * benchtests/atanh-inputs: Likewise.
4745 * benchtests/cos-inputs: Likewise.
4746 * benchtests/cosh-inputs: Likewise.
4747 * benchtests/exp-inputs: Likewise.
4748 * benchtests/log-inputs: Likewise.
4749 * benchtests/pow-inputs: Likewise.
4750 * benchtests/rint-inputs: Likewise.
4751 * benchtests/sin-inputs: Likewise.
4752 * benchtests/sinh-inputs: Likewise.
4753 * benchtests/tan-inputs: Likewise.
4754 * benchtests/tanh-inputs: Likewise.
4755 * scripts/bench.pl: Add support for new directives.
4756
4757 2013-10-07 Alan Modra <amodra@gmail.com>
4758
4759 * README: Fix careless merge.
4760
4761 2013-10-05 Alan Modra <amodra@gmail.com>
4762
4763 * NEWS: Mention powerpc64le support and bugs fixed.
4764 * README: Both big-endian and little-endian powerpc64 supported.
4765
4766 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4767
4768 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4769 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4770 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4771 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4772
4773 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4774
4775 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4776 match prototype.
4777
4778 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4779
4780 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4781 Move -mhard-float appending from
4782 ports/sysdeps/powerpc/powerpc32/Makefile.
4783 [$(with-fp) = yes] (ASFLAGS): Likewise.
4784 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4785 * sysdeps/powerpc/nofpu: Move directory from
4786 ports/sysdeps/powerpc/nofpu.
4787 * sysdeps/powerpc/soft-fp: Move directory from
4788 ports/sysdeps/powerpc/soft-fp.
4789 * sysdeps/powerpc/powerpc32/405: Move directory from
4790 ports/sysdeps/powerpc/powerpc32/405.
4791 * sysdeps/powerpc/powerpc32/440: Move directory from
4792 ports/sysdeps/powerpc/powerpc32/440.
4793 * sysdeps/powerpc/powerpc32/464: Move directory from
4794 ports/sysdeps/powerpc/powerpc32/464.
4795 * sysdeps/powerpc/powerpc32/476: Move directory from
4796 ports/sysdeps/powerpc/powerpc32/476.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4800 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4802 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4804 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4806 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4807 * README: Update for powerpc-*-linux-gnu software floating point
4808 support in libc.
4809
4810 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4811 case to powerpc/powerpc32*.
4812 * sysdeps/unix/sysv/linux/configure: Regenerated.
4813
4814 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4815 (_FPU_MASK_OM): Define as 0x04.
4816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4818 0x00c10080.
4819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4820 0x0000003c.
4821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4822
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4824 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4825 getcontext_e500.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4827 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4828 setcontext_e500.
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4830 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4831 and setcontext_e500.
4832
4833 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4834
4835 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4836
4837 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4838
4839 * manual/threads.texi (Default Thread Attributes): Fix typo.
4840
4841 2013-10-04 Will Newton <will.newton@linaro.org>
4842
4843 * malloc/Makefile: Add tst-memalign.
4844 * malloc/tst-memalign.c: New file.
4845
4846 * malloc/tst-posix_memalign.c: Add comments.
4847 (do_test): Add comments and call free on all potentially
4848 allocated pointers. Add space after cast.
4849
4850 * malloc/tst-pvalloc.c: Add comments.
4851 (do_test): Add comments and call free on all potentially
4852 allocated pointers. Remove duplicate check for NULL pointer.
4853 Add space after cast.
4854
4855 * malloc/tst-valloc.c: Add comments.
4856 (do_test): Add comments and call free on all potentially
4857 allocated pointers. Remove duplicate check for NULL pointer.
4858 Add space after cast.
4859
4860 2013-10-04 Alan Modra <amodra@gmail.com>
4861
4862 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4863 Use stdint types in rather than __attribute__((mode())).
4864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4865
4866 2013-10-04 Alan Modra <amodra@gmail.com>
4867
4868 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4869 Correct handling of unaligned relocs for little-endian.
4870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4871
4872 2013-10-04 Alan Modra <amodra@gmail.com>
4873
4874 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4875 * configure: Regenerate.
4876 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4877 * shlib-versions: Likewise.
4878
4879 2013-10-04 Alan Modra <amodra@gmail.com>
4880
4881 * string/tester.c (test_memrchr): Increment reported test cycle.
4882
4883 2013-10-04 Alan Modra <amodra@gmail.com>
4884
4885 * string/test-memcpy.c (do_one_test): When reporting errors, print
4886 string address and don't overrun end of string.
4887
4888 2013-10-04 Alan Modra <amodra@gmail.com>
4889
4890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4891 insrdi. Make better use of reg selection to speed exit slightly.
4892 Schedule entry path a little better. Remove useless "are we done"
4893 checks on entry to main loop. Handle wrapping around zero address.
4894 Correct main loop count. Handle single left-over word from main
4895 loop inline rather than by using loop_small. Remove extra word
4896 case in loop_small caused by wrong loop count. Add little-endian
4897 support.
4898 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4899 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4900 cache hint.
4901 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4903 support. Avoid rlwimi.
4904 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4905
4906 2013-10-04 Alan Modra <amodra@gmail.com>
4907
4908 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4909 insrdi. Formatting.
4910 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4912 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4913 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4914 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4915 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4916
4917 2013-10-04 Alan Modra <amodra@gmail.com>
4918
4919 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4921 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4923 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4925 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4928 use of regs. Use power7 mtocrf. Tidy function tails.
4929
4930 2013-10-04 Alan Modra <amodra@gmail.com>
4931
4932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4933 Formatting. Consistently use rXXX register defines or rN defines.
4934 Use early exit labels that avoid restoring unused non-volatile regs.
4935 Make cr field use more consistent with rWORDn compares. Rename
4936 regs used as shift registers for unaligned loop, using rN defines
4937 for short lifetime/multiple use regs.
4938 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4939 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4940 addi 1,1,64 to pop stack frame. Simplify return value code.
4941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4942
4943 2013-10-04 Alan Modra <amodra@gmail.com>
4944
4945 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4946 support. Correct typos, formatting. Optimize tail. Use insrdi
4947 rather than rlwimi.
4948 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4949 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4950 little-endian support. Correct typos.
4951 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4952 rather than rlwimi.
4953 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4954 in loop and entry code to keep "and." results.
4955 (strchr): Add little-endian support. Comment. Move cntlzd
4956 earlier in tail.
4957 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4958
4959 2013-10-04 Alan Modra <amodra@gmail.com>
4960
4961 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4962 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4963 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4964 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4965
4966 2013-10-04 Alan Modra <amodra@gmail.com>
4967
4968 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4969 (rTMP): Define as r11.
4970 (strcmp): Add little-endian support. Optimise tail.
4971 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4972 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4973 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4974 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4978
4979 2013-10-04 Alan Modra <amodra@gmail.com>
4980
4981 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4982 little-endian support. Remove unnecessary "are we done" tests.
4983 Handle "s" wrapping around zero and extremely large "size".
4984 Correct main loop count. Handle single left-over word from main
4985 loop inline rather than by using small_loop. Correct comments.
4986 Delete "zero" tail, use "end_max" instead.
4987 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4988
4989 2013-10-04 Alan Modra <amodra@gmail.com>
4990
4991 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4992 support. Don't branch over align.
4993 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4994 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4995 support. Rearrange tmp reg use to suit. Comment.
4996 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4997
4998 2013-10-04 Alan Modra <amodra@gmail.com>
4999
5000 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5001
5002 2013-10-04 Alan Modra <amodra@gmail.com>
5003
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5005 conditional form of branch and link when obtaining pc.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5007
5008 2013-10-04 Alan Modra <amodra@gmail.com>
5009
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5011 HIWORD/LOWORD.
5012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5014
5015 2013-10-04 Alan Modra <amodra@gmail.com>
5016
5017 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5018 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5019 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5020 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5021 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5022 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5023 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5024 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5025 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5026 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5027
5028 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5029 Alistair Popple <alistair@ozlabs.au.ibm.com>
5030 Alan Modra <amodra@gmail.com>
5031
5032 [BZ #15723]
5033 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5034 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5035 _dl_hwcap access for little-endian.
5036 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5037 destroy vmx regs when saving unaligned.
5038 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5039 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5040 destroy vmx regs when saving unaligned.
5041
5042 2013-10-04 Alan Modra <amodra@gmail.com>
5043
5044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5045 Don't use a union to pack hi/low value.
5046
5047 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5048
5049 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5050 for little-endian.
5051 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5053 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5054 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5055 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5056
5057 2013-10-04 Alan Modra <amodra@gmail.com>
5058
5059 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5060 constants to usual value for .cst8 section, and remove redundant
5061 high address load.
5062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5063 constant for 0x1p52. Load little-endian words of double from
5064 correct stack offsets.
5065
5066 2013-10-04 Alan Modra <amodra@gmail.com>
5067
5068 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5069 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5070 words of double from correct stack offsets.
5071 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5072 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5073 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5074 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5075 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5076 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5077 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5078 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5079 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5081 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5082 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5083 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5084 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5086 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5087 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5088
5089 2013-10-04 Alan Modra <amodra@gmail.com>
5090
5091 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5092 64-bit int/double union.
5093 (_FPU_SETCW): Likewise.
5094 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5095 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5096
5097 2013-10-04 Alan Modra <amodra@gmail.com>
5098
5099 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5100 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5101
5102 2013-10-04 Alan Modra <amodra@gmail.com>
5103
5104 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5105 use vector int constants.
5106 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5107
5108 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5109
5110 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5111 array with long long.
5112 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5113 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5114 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5115 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5116 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5117 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5118 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5119 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5120 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5121 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5122 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5123 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5124 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5125
5126 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5127
5128 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5129 (__signbit): Likewise. Correct for little-endian.
5130 (__signbitl): Call __signbit.
5131 (lrint): Correct for little-endian.
5132 (lrintf): Call lrint.
5133
5134 2013-10-04 Alan Modra <amodra@gmail.com>
5135
5136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5137 union 32-bit int array member with 64-bit int array.
5138 (t515, tm256): Double rather than long double.
5139 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5140
5141 2013-10-04 Alan Modra <amodra@gmail.com>
5142
5143 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5144 Delete.
5145 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5147 version of math_ldbl.h.
5148
5149 2013-10-04 Alan Modra <amodra@gmail.com>
5150
5151 [BZ #15734], [BZ #15735]
5152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5153 all uses of ieee875 long double macros and unions. Simplify test
5154 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5155 ldbl_extract_mantissa value for ix,iy exponents. Properly
5156 normalize after ldbl_extract_mantissa, and don't add hidden bit
5157 already handled. Don't treat low word of ieee854 mantissa like
5158 low word of IBM long double and mask off bit when testing for
5159 zero.
5160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5161 all uses of ieee875 long double macros and unions. Simplify tests
5162 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5163 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5164 two1022, instead use their values. Recognise that tests for large
5165 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5166 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5167 Rewrite all uses of ieee875 long double macros and unions. Simplify
5168 test for 0.0L and nan. Correct negation.
5169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5170 ieee875 long double macros and unions. Correct output for large
5171 magnitude x. Correct absolute value calculation.
5172 (__erfcl): Likewise.
5173 * math/libm-test.inc: Add tests for errors discovered in IBM long
5174 double versions of fmodl, remainderl, erfl and erfcl.
5175
5176 2013-10-04 Alan Modra <amodra@gmail.com>
5177
5178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5179 all uses of ieee854 long double macros and unions. Simplify tests
5180 for long doubles that are fully specified by the high double.
5181 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5182 Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5184 Remove dead code too.
5185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5186 (__ieee754_ynl): Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5190 Remove dead code too.
5191 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5195 Simplify.
5196 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5197 Simplify.
5198 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5201 Comment on variable precision.
5202 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5204 Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5209 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5210
5211 2013-10-04 Alan Modra <amodra@gmail.com>
5212
5213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5215 all uses of ieee854 long double macros and unions.
5216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5222 Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5229 Simplify sign and nan test too.
5230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5234 Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5237 Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5242 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5244
5245 2013-10-04 Alan Modra <amodra@gmail.com>
5246
5247 * stdio-common/printf_size.c (__printf_size): Don't use
5248 union ieee854_long_double in fpnum union.
5249 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5250 signbit macro to retrieve sign from long double.
5251 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5252 retrieve sign from long double.
5253 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5254 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5255 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5256 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5257 * math/test-misc.c (main): Don't use union ieee854_long_double.
5258
5259 2013-10-04 Alan Modra <amodra@gmail.com>
5260
5261 [BZ #15680]
5262 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5263 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5264 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5265 calculation. Remove unnecessary test for denormal exponent.
5266 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5267 Correct handling of denormals. Avoid undefined shift behaviour.
5268 Correct normalisation of low mantissa when low double is denormal.
5269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5270 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5271 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5272 Correct normalisation of low mantissa. Test for overflow of high
5273 mantissa and normalise.
5274 (ldbl_nearbyint): Use more readable constant for two52.
5275 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5276 (__mpn_construct_long_double): Fix test for overflow of high
5277 mantissa and correct normalisation. Avoid undefined shift.
5278
5279 2013-10-04 Alan Modra <amodra@gmail.com>
5280
5281 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5282 (union ibm_extended_long_double): Define as an array of ieee754_double.
5283 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5285 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5286 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5294
5295 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5296
5297 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5298 page size instead of calling getpagesize.
5299
5300 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5301 (LOCFILE_ALIGN_MASK): Likewise.
5302 (LOCFILE_ALIGN_UP): Likewise.
5303 (LOCFILE_ALIGNED_P): Likewise.
5304 * locale/programs/ld-collate.c (collate_output): Use the new
5305 macros instead of __alignof__ (int32_t).
5306 * locale/weight.h (findidx): Likewise.
5307
5308 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5309
5310 [BZ #431]
5311 * manual/string.texi: Fix strncat and wcsncat.
5312
5313 2013-10-03 Brooks Moses <bmoses@google.com>
5314
5315 [BZ #15915]
5316 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5317 * Makerules: ...here, and adjust associated comments.
5318
5319 2013-10-02 Will Newton <will.newton@linaro.org>
5320
5321 * malloc/Makefile: Add tst-pvalloc.
5322 * malloc/tst-pvalloc.c: New file.
5323
5324 2013-10-02 Will Newton <will.newton@linaro.org>
5325
5326 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5327 improve test coverage.
5328
5329 2013-10-02 Will Newton <will.newton@linaro.org>
5330
5331 * malloc/Makefile: Add tst-posix_memalign.
5332 * malloc/tst-posix_memalign.c: New file.
5333
5334 2013-10-01 Eric Blake <eblake@redhat.com>
5335
5336 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5337 Use __THROWNL rather than __THROW on static functions.
5338
5339 2013-09-30 Petr Machata <pmachata@redhat.com>
5340
5341 * elf/elf.h (R_AARCH64_ABS16): New macro.
5342 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5343 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5344 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5345 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5346 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5347 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5348 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5349 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5350 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5351 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5352 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5353 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5354 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5355 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5356 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5357 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5358 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5359 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5360 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5361 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5362 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5363 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5364 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5365 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5366 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5367 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5368 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5369 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5370 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5371 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5372 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5373 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5374 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5375 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5376 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5377 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5378 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5379 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5380 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5381 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5382 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5383 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5384 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5385 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5386 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5387 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5388 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5389 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5390 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5391 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5392 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5393 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5394 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5395 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5396 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5397 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5398 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5399 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5400 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5401 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5402 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5403 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5404 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5405 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5406 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5407 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5408 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5409 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5410 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5411 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5412 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5413 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5414 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5415 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5416 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5417 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5418 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5419 (R_AARCH64_TLSDESC_LDR): Likewise.
5420 (R_AARCH64_TLSDESC_ADD): Likewise.
5421 (R_AARCH64_TLSDESC_CALL): Likewise.
5422
5423 2013-09-30 Andreas Schwab <schwab@suse.de>
5424
5425 [BZ #15048]
5426 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5427 the nss database lookup.
5428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5430
5431 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5432
5433 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5434
5435 2013-09-28 P. J. McDermott <pj@pehjota.net>
5436
5437 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5438 ${Bash-specific parameter/pattern/string} parameter expansion.
5439 * sysdeps/unix/make-syscalls.sh: Likewise.
5440
5441 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5442
5443 * sysdeps/sh/stackguard-macros.h: New file.
5444
5445 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5446
5447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5449 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5450 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5451 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5452 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5453
5454 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5455
5456 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5457 Fix thread ID register.
5458
5459 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5460
5461 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5462 [POSIX || UNIX98]: Require rather than permitting all symbols from
5463 <time.h>.
5464 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5465 element of struct sched_param.
5466 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5467 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5468 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5469 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5470 constant.
5471
5472 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5473
5474 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5475 argument calculation.
5476
5477 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5478
5479 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5480 Expect macro.
5481 [POSIX] (pthread_attr_t): Do not require type.
5482 [POSIX] (pthread_cond_t): Likewise.
5483 [POSIX] (pthread_condattr_t): Likewise.
5484 [POSIX] (pthread_key_t): Likewise.
5485 [POSIX] (pthread_mutex_t): Likewise.
5486 [POSIX] (pthread_mutexattr_t): Likewise.
5487 [POSIX] (pthread_once_t): Likewise.
5488 [POSIX] (pthread_t): Likewise.
5489 [POSIX-based standards] (pthread_atfork): Expect function.
5490
5491 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5492 Richard Sandiford <richard@codesourcery.com>
5493
5494 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5495 (swap_endianness_p): New extern variable.
5496 (set_big_endian): New inline function.
5497 (maybe_swap_uint32): Likewise.
5498 (maybe_swap_uint32_array): Likewise.
5499 (maybe_swap_uint32_obstack): Likewise.
5500 * locale/programs/locfile.c: Include <stdbool.h>.
5501 (swap_endianness_p): New variable.
5502 (add_locale_uint32): Call maybe_swap_uint32.
5503 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5504 (write_locale_data): Call maybe_swap_uint32_array.
5505 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5506 maybe_swap_uint32.
5507 (obstack_int32_grow_fast): Likewise.
5508 (output_weightwc): Call maybe_swap_uint32_obstack.
5509 (collate_output): Likewise.
5510 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5511 (OPT_LITTLE_ENDIAN): Likewise.
5512 (options): Add --little-endian and --big-endian options.
5513 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5514 * locale/programs/locarchive.c: Include "locfile.h".
5515 (GET): New macro.
5516 (SET): Likewise.
5517 (INC): Likewise.
5518 (create_archive): Use the new macros to access fields of
5519 structures directly mapped from or written to locale archives.
5520 (oldlocrecentcmp): Likewise.
5521 (enlarge_archive): Likewise.
5522 (insert_name): Likewise.
5523 (add_alias): Likewise.
5524 (add_locale): Likewise.
5525 (delete_locales_from_archive): Likewise.
5526 (show_archive_content): Likewise.
5527 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5528 locale data.
5529
5530 2013-09-24 Roland McGrath <roland@hack.frob.com>
5531
5532 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5533 http://www.gnu.org/doc/freemanuals.texi.
5534 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5535
5536 2013-09-24 Will Newton <will.newton@linaro.org>
5537
5538 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5539 macro.
5540
5541 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5542
5543 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5544 unsigned char.
5545
5546 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5547
5548 * manual/threads.texi (POSIX Threads): Fix a typo.
5549
5550 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5551
5552 [BZ #14547]
5553 * string/tst-strcoll-overflow.c: New test case.
5554 * string/Makefile (xtests): Add tst-strcoll-overflow.
5555 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5556 cache if string sizes may cause integer overflow.
5557
5558 [BZ #14547]
5559 * string/strcoll_l.c (coll_seq): New members rule, idx,
5560 save_idx and back_us.
5561 (get_next_seq_nocache): New function.
5562 (do_compare_nocache): New function.
5563 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5564 when malloc fails.
5565
5566 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5567
5568 [BZ #15754]
5569 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5570 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5571 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5572
5573 [BZ #15754]
5574 * elf/Makefile (tests): Add tst-ptrguard1.
5575 (tests-static): Add tst-ptrguard1-static.
5576 (tst-ptrguard1-ARGS): Define.
5577 (tst-ptrguard1-static-ARGS): Define.
5578 * elf/tst-ptrguard1.c: New file.
5579 * elf/tst-ptrguard1-static.c: New file.
5580 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5581 * sysdeps/i386/stackguard-macros.h: Likewise.
5582 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5583 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5584 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5585 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5586 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5587 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5588
5589 2013-09-23 Hector Marco <hecmargi@upv.es>
5590 Ismael Ripoll <iripoll@disca.upv.es>
5591 Carlos O'Donell <carlos@redhat.com>
5592
5593 [BZ #15754]
5594 * sysdeps/generic/stackguard-macros.h: Define
5595 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5596 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5597 Define __pointer_chk_guard_local.
5598 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5599 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5600
5601 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5602
5603 [BZ #15859]
5604 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5605
5606 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5607
5608 * include/string.h (__ffs): Declare as hidden.
5609 * string/ffs.c (__ffs): Define as hidden.
5610 * sysdeps/i386/ffs.c (__ffs): Likewise.
5611 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5612 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5613 * sysdeps/s390/ffs.c (__ffs): Likewise.
5614 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5615
5616 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5617
5618 * NEWS: Mention malloc probes.
5619
5620 * malloc/arena.c (new_heap): New memory_heap_new probe.
5621 (grow_heap): New memory_heap_more probe.
5622 (shrink_heap): New memory_heap_less probe.
5623 (heap_trim): New memory_heap_free probe.
5624 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5625 (systrim): New memory_sbrk_less probe.
5626 * manual/probes.texi: Document them.
5627
5628 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5629 * manual/probes.texi: Document it.
5630
5631 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5632 (__libc_realloc): Add memory_realloc_retry probe.
5633 (__libc_memalign): Add memory_memalign_retry probe.
5634 (__libc_valloc): Add memory_valloc_retry probe.
5635 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5636 (__libc_calloc): Add memory_calloc_retry probe.
5637 * manual/probes.texi: Document them.
5638
5639 * malloc/arena.c (get_free_list): Add probe
5640 memory_arena_reuse_free_list.
5641 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5642 and memory_arena_reuse.
5643 (arena_get2) [!PER_THREAD]: Likewise.
5644 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5645 memory_arena_reuse_realloc.
5646 * manual/probes.texi: Document them.
5647
5648 * malloc/malloc.c (__libc_free): Add
5649 memory_mallopt_free_dyn_thresholds probe.
5650 (__libc_mallopt): Add multiple memory_mallopt probes.
5651 * manual/probes.texi: Document them.
5652
5653 * malloc/malloc.c: Include stap-probe.h.
5654 (__libc_mallopt): Add memory_mallopt probe.
5655 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5656 * manual/probes.texi: New.
5657 * manual/Makefile (chapters): Add probes.
5658 * manual/threads.texi: Set next node.
5659
5660 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5661
5662 [BZ #15963, #13985]
5663 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5664 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5665 Add `Chinese' to `nan' entry name.
5666
5667 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5668
5669 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5670 (POLYNOMIAL): Likewise.
5671 (TAYLOR_SINCOS): Likewise.
5672 (TAYLOR_SLOW): Likewise.
5673 (__sin): Use TAYLOR_SINCOS.
5674 (__cos): Likewise.
5675 (slow): Use TAYLOR_SLOW.
5676 (sloww): Likewise.
5677 (bsloww): Likewise.
5678 (csloww): Likewise.
5679
5680 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5681
5682 * stdlib/strtod_l.c: Fix buffer overrun.
5683
5684 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5685
5686 * benchtests/Makefile (bench): Add sincos.
5687 * benchtests/bench-sincos.c: New file.
5688
5689 * math/libm-test.inc (cos_test_data): New test inputs.
5690 (sin_test_data): Likewise.
5691
5692 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5693 macro.
5694 (__sin): Use it.
5695 (__cos): Likewise.
5696 (slow1): Likewise.
5697 (slow2): Likewise.
5698 (sloww1): Likewise.
5699 (sloww2): Likewise.
5700 (bsloww1): Likewise.
5701 (bsloww2): Likewise.
5702 (cslow2): Likewise.
5703 (csloww1): Likewise.
5704 (csloww2): Likewise.
5705
5706 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5707 function.
5708 (__sin): Use it.
5709 (__cos): Likewise.
5710
5711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5712 gotos.
5713 (__cos): Likewise.
5714
5715 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5716
5717 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5718 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5719 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5720 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5721 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5722 * elf/cache.c (print_entry): Handle the new cache flags.
5723
5724 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5725 Aldy Hernandez <aldyh@redhat.com>
5726
5727 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5728 Change condition to [_SOFT_FLOAT].
5729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5741 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5744 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5745 declaration.
5746
5747 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5748
5749 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5750 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5751 (__longjmp): Use LOAD_GP to load saved GPRs.
5752 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5753 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5754 (__sigsetjmp): Use SAVE_GP to save GPRs.
5755
5756 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5757 Do not append -msoft-float.
5758 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5759
5760 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5761
5762 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5763
5764 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5765
5766 [BZ #15966]
5767 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5768 (_FPU_GETCW): Use initial "__" on variable and field names but not
5769 on macro parameter name.
5770 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5771 parentheses around reference to macro parameter.
5772
5773 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5774
5775 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5776 prototype.
5777 (ctype_startup): Use uint32_t in cast and sizeof for
5778 ctype->charnames.
5779
5780 2013-09-11 Jia Liu <proljc@gmail.com>
5781
5782 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5783 __daddr_t_defined.
5784 [__FreeBSD__]: Likewise.
5785
5786 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5787
5788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5789 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5790 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5791 (strchr): Remove __strchr_sse42 ifunc selection.
5792 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5793 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5794
5795 2013-09-11 Will Newton <will.newton@linaro.org>
5796
5797 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5798 parameter to RES. Remove hardcoded 1000 value.
5799 * benchtests/bench-skeleton.c (main): Pass RES parameter
5800 to TIMING_INIT and multiply result by 1000.
5801
5802 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803
5804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5805
5806 2013-09-11 Andreas Schwab <schwab@suse.de>
5807
5808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5809 if not defined.
5810 (O_TMPFILE) [__USE_GNU]: Define.
5811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5812 Define.
5813
5814 2013-09-11 Will Newton <will.newton@linaro.org>
5815
5816 [BZ #15857]
5817 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5818 does not overflow.
5819
5820 2013-09-11 Will Newton <will.newton@linaro.org>
5821
5822 [BZ #15856]
5823 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5824 does not overflow.
5825
5826 2013-09-11 Will Newton <will.newton@linaro.org>
5827
5828 [BZ #15855]
5829 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5830 does not overflow.
5831
5832 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5833
5834 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5835 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5838 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5839
5840 2013-09-10 Allan McRae <allan@archlinux.org>
5841
5842 [BZ #15748]
5843 * manual/arith.texi (Parsing of Floats): Clarify
5844 cross-reference.
5845
5846 [BZ #15849]
5847 * manual/install.texi (Running make install): Mention
5848 --enable-pt-chown.
5849 * INSTALL: Regenerated.
5850
5851 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5852
5853 * csu/init-first.c (_init): Remove the !SHARED condition around
5854 FPU control word initialization.
5855 * elf/dl-support.c (_dl_fpu_control): New variable.
5856 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5857 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5858 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5859 * math/test-fpucw-static.c: New file.
5860 * math/test-fpucw-ieee.c: New file.
5861 * math/test-fpucw-ieee-static.c: New file.
5862 * math/Makefile (tests): Add `test-fpucw-ieee' and
5863 `$(tests-static)'.
5864 (tests-static): New variable.
5865 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5866 dependency to...
5867 [($(build-shared),yes)]
5868 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5869 ... this.
5870 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5871 New dependency.
5872
5873 2013-09-09 Allan McRae <allan@archlinux.org>
5874
5875 [BZ #15939]
5876 * manual/string.texi (Collation Functions): Fix typo in
5877 strcoll example.
5878 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5879
5880 [BZ #15893]
5881 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5882
5883 [BZ #15892]
5884 * libio/memstream.c (open_memstream): Fix memory leak.
5885 * libio/wmemstream.c (open_wmemstream): Likewise.
5886
5887 [BZ #15895]
5888 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5889
5890 2013-09-09 Will Newton <will.newton@linaro.org>
5891
5892 * malloc/Makefile: Add tst-realloc to tests.
5893 * malloc/tst-realloc.c: New file.
5894
5895 2013-09-09 Allan McRae <allan@archlinux.org>
5896
5897 [BZ #15844]
5898 * COPYING: Update from GNU website to fix FSF address.
5899 * COPYING.LIB: Likewise.
5900
5901 2013-09-06 David S. Miller <davem@davemloft.net>
5902
5903 * po/zh_TW.po: Update Chinese (traditional) translation from
5904 translation project.
5905
5906 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5907 Joseph Myers <joseph@codesourcery.com>
5908
5909 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5910 "localeinfo.h".
5911 (obstack_chunk_alloc): New macro.
5912 (obstack_chunk_free): Likewise.
5913 (record_offset): New function.
5914 (init_locale_data): Likewise.
5915 (align_locale_data): Likewise.
5916 (add_locale_empty): Likewise.
5917 (add_locale_raw_data): Likewise.
5918 (add_locale_raw_obstack): Likewise.
5919 (add_locale_string): Likewise.
5920 (add_locale_wstring): Likewise.
5921 (add_locale_uint32): Likewise.
5922 (add_locale_uint32_array): Likewise.
5923 (add_locale_char): Likewise.
5924 (start_locale_structure): Likewise.
5925 (end_locale_structure): Likewise.
5926 (start_locale_prelude): Likewise.
5927 (end_locale_prelude): Likewise.
5928 (write_locale_data): Take locale_file structure rather than an
5929 iovec.
5930 * locale/programs/locfile.h: Include "obstack.h".
5931 (struct locale_file): Change to store locale file contents instead
5932 of header.
5933 (init_locale_data): New prototype.
5934 (align_locale_data): Likewise.
5935 (add_locale_empty): Likewise.
5936 (add_locale_raw_data): Likewise.
5937 (add_locale_raw_obstack): Likewise.
5938 (add_locale_string): Likewise.
5939 (add_locale_wstring): Likewise.
5940 (add_locale_uint32): Likewise.
5941 (add_locale_uint32_array): Likewise.
5942 (add_locale_char): Likewise.
5943 (start_locale_structure): Likewise.
5944 (end_locale_structure): Likewise.
5945 (start_locale_prelude): Likewise.
5946 (end_locale_prelude): Likewise.
5947 (write_locale_data): Update prototype.
5948 * locale/programs/3level.h (struct TABLE): Remove result field.
5949 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5950 Use new locale_file interface.
5951 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5952 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5953 * locale/programs/ld-address.c (address_output): Use new
5954 locale_file interface.
5955 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5956 NO_ADD_LOCALE.
5957 (collate_finish): Don't call collseq_table_finalize.
5958 (collate_output): Use new locale_file interface.
5959 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5960 in file.
5961 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5962 (TABLE): Move defines earlier in file.
5963 (ELEMENT): Likewise.
5964 (DEFAULT): Likewise.
5965 (wctrans_table_add): Move macro and inline function earlier in
5966 file.
5967 (struct wctype_table): Move type earlier in file.
5968 (add_locale_wctype_table): New static prototype.
5969 (struct locale_ctype_t): Use logical types instead of struct iovec
5970 pointers for members.
5971 (ctype_output): Use new locale_file interface.
5972 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5973 new locale_file interface.
5974 (allocate_arrays): Update for use of new locale_file interface.
5975 * locale/programs/ld-identification.c (identification_output): Use
5976 new locale_file interface.
5977 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5978 * locale/programs/ld-messages.c (messages_output): Likewise.
5979 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5980 * locale/programs/ld-name.c (name_output): Likewise.
5981 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5982 * locale/programs/ld-paper.c (paper_output): Likewise.
5983 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5984 * locale/programs/ld-time.c (time_output): Likewise.
5985
5986 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987
5988 * benchtests/Makefile: Add memrchr benchmark.
5989 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5990 benchmark as memrchr.
5991 * benchtests/bench-memrchr-ifunc.c: New file.
5992 * benchtests/bench-memrchr.c: New file.
5993
5994 2013-09-06 Will Newton <will.newton@linaro.org>
5995
5996 * benchtests/Makefile (string-bench): Add memcpy.
5997
5998 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5999 Cong Wang <amwang@redhat.com>
6000
6001 [BZ #15850]
6002 * sysdeps/unix/sysv/linux/bits/in.h
6003 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6004 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6005 before __USE_KERNEL_IPV6_DEFS uses.
6006 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6007 IPPROTO_BEETPH.
6008 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6009 sockaddr_in6, or ipv6_mreq.
6010
6011 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6014 memory access for final bytes in some large inputs.
6015 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6016
6017 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018
6019 * string/test-memrchr.c: New file.
6020 * string/test-memrchr-ifunc.c: New file.
6021 * string/Makefile: Add new memrchr testcase.
6022
6023 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6024
6025 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6026 fanotify_init returns EPERM.
6027
6028 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6029
6030 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6031 errors.
6032 (top level): Treat second token from macro or constant entries for
6033 allowed headers as allowed.
6034 * include/complex.h: Condition internal declarations on
6035 [!_ISOMAC].
6036 * include/fenv.h: Condition include of <stdbool.h> and internal
6037 declarations on [!_ISOMAC].
6038
6039 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6040
6041 [BZ #15923]
6042 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6043
6044 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6045
6046 * configure.in (--enable-versioning): Remove configure option.
6047 (libc_cv_asm_symver_directive): Remove configure test.
6048 (libc_cv_ld_version_script_option): Likewise.
6049 (VERSIONING): Remove variable and AC_SUBST.
6050 (DO_VERSIONING): Remove AC_DEFINE.
6051 * configure: Regenerated.
6052 * config.h.in (DO_VERSIONING): Remove macro.
6053 * Makerules [$(versioning) = yes]: Change conditionals to
6054 [$(build-shared) = yes].
6055 * config.make.in (versioning): Remove variable.
6056 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6057 [$(build-shared) = yes].
6058 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6059 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6060 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6061 [$(build-shared) = yes].
6062 * extra-lib.mk [$(versioning) = yes]: Likewise.
6063 * hurd/Makefile [$(versioning) = yes]: Likewise.
6064 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6065 [SHARED].
6066 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6067 [SHARED].
6068 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6069 [SHARED && !NO_HIDDEN].
6070 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6071 [SHARED].
6072 [SHARED && DO_VERSIONING]: Likewise..
6073 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6074 [$(build-shared) = yes].
6075 * manual/install.texi (--disable-versioning): Remove
6076 documentation.
6077 * INSTALL: Regenerated.
6078 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6079 to [SHARED].
6080 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6081 [$(build-shared) = yes].
6082 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6083 * sysdeps/i386/i686/multiarch/strstr-c.c
6084 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6085 [SHARED && !NO_HIDDEN].
6086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6087 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6088 * sysdeps/powerpc/powerpc32/dl-machine.c
6089 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6090 * sysdeps/powerpc/powerpc32/sysdep.h
6091 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6092 to [SHARED && PIC && !NO_HIDDEN].
6093 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6094 conditional to [SHARED].
6095
6096 2013-09-04 Will Newton <will.newton@linaro.org>
6097
6098 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6099 * benchtests/bench-string.h: Include bench-timing.h instead
6100 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6101 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6102 call to HP_TIMING_DIFF_INIT.
6103 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6104 instead of hp-timing.h macros.
6105 * benchtests/bench-memchr.c: Likewise.
6106 * benchtests/bench-memcmp.c: Likewise.
6107 * benchtests/bench-memcpy.c: Likewise.
6108 * benchtests/bench-memmem.c: Likewise.
6109 * benchtests/bench-memmove.c: Likewise.
6110 * benchtests/bench-memset.c: Likewise.
6111 * benchtests/bench-rawmemchr.c: Likewise.
6112 * benchtests/bench-strcasecmp.c: Likewise.
6113 * benchtests/bench-strcasestr.c: Likewise.
6114 * benchtests/bench-strcat.c: Likewise.
6115 * benchtests/bench-strchr.c: Likewise.
6116 * benchtests/bench-strcmp.c: Likewise.
6117 * benchtests/bench-strcpy.c: Likewise.
6118 * benchtests/bench-strcpy_chk.c: Likewise.
6119 * benchtests/bench-strlen.c: Likewise.
6120 * benchtests/bench-strncasecmp.c: Likewise.
6121 * benchtests/bench-strncat.c: Likewise.
6122 * benchtests/bench-strncmp.c: Likewise.
6123 * benchtests/bench-strncpy.c: Likewise.
6124 * benchtests/bench-strnlen.c: Likewise.
6125 * benchtests/bench-strpbrk.c: Likewise.
6126 * benchtests/bench-strrchr.c: Likewise.
6127 * benchtests/bench-strspn.c: Likewise.
6128 * benchtests/bench-strstr.c: Likewise.
6129
6130 2013-09-04 Will Newton <will.newton@linaro.org>
6131
6132 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6133
6134 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6135
6136 [BZ #15427]
6137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6138 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6139 * math/libm-test.inc (lgamma_test_data): Add more tests.
6140 * sysdeps/i386/fpu/libm-test-ulps: Update.
6141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6142
6143 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6144
6145 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6147 Add ifunc.
6148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6149 Add strcmp-sse2-unaligned
6150 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6151
6152 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6153
6154 * Versions.def (libc): Add GLIBC_2.19.
6155
6156 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6157
6158 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6159 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6160
6161 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6162
6163 [BZ #14155]
6164 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6165 intermediate calculations in recurrence.
6166 (__ieee754_ynf): Likewise.
6167 * math/libm-test.inc (jn_test_data): Do not allow spurious
6168 underflow exception. Add more tests.
6169 (yn_test_data): Add more tests.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6172
6173 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6174
6175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6176
6177 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6178
6179 * csu/init-first.c: Fix then/than typos.
6180 * locale/programs/ld-collate.c: Likewise.
6181 * locale/programs/linereader.h: Likewise.
6182 * manual/charset.texi: Likewise.
6183 * manual/filesys.texi: Likewise.
6184 * manual/stdio.texi: Likewise.
6185 * manual/string.texi: Likewise.
6186 * stdlib/fmtmsg.c: Likewise.
6187 * sysdeps/i386/stpncpy.S: Likewise.
6188 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6189 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6190 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6191 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6192
6193 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6194
6195 * elf/dl-open.c: Fix typos.
6196 * iconvdata/gbbig5.c: Likewise.
6197 * iconvdata/iso-2022-jp.c: Likewise.
6198 * iconv/gconv_int.h: Likewise.
6199 * iconv/loop.c: Likewise.
6200 * nis/rpcsvc/nis.h: Likewise.
6201 * resolv/ns_name.c: Likewise.
6202 * stdio-common/vfscanf.c: Likewise.
6203 * streams/stropts.h: Likewise.
6204 * sunrpc/rpc_thread.c: Likewise.
6205 * sysdeps/i386/strpbrk.S: Likewise.
6206 * sysdeps/ieee754/k_standard.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6209 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6210 * sysdeps/mach/hurd/profil.c: Likewise.
6211 * sysdeps/s390/dl-procinfo.h: Likewise.
6212 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6213 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6214 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6215 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6217
6218 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6219
6220 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6222
6223 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6224
6225 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6226 aix specific files.
6227 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6228 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6229 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6230 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6231 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6232 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6233 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6235
6236 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6237 Roland McGrath <roland@hack.frob.com>
6238
6239 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6240 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6241
6242 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6243
6244 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6245 __executable_start symbol instead of _start.
6246
6247 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6248
6249 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6250 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6251 Move macros to...
6252 * sysdeps/gnu/ldsodefs.h: ... this new file.
6253
6254 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6255 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6256 instead of ELFOSABI_LINUX.
6257
6258 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6259 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6260 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6261 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6262 Likewise.
6263 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6264 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6266 Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6268 (ibm_extended_long_double): Add ieee_nan member.
6269 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6270 (do_test): New function.
6271
6272 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6273 TEST_TRUNC.
6274 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6275 functions, renamed from truncdfsf_test, trunctfsf_test,
6276 trunctfdf_test.
6277 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6278 functions.
6279 (do_test): Run all these.
6280
6281 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6282
6283 * argp/argp-help.c: Fix typos.
6284 * argp/argp-parse.c: Likewise.
6285 * debug/backtracesyms.c: Likewise.
6286 * elf/elf.h: Likewise.
6287 * malloc/malloc.c: Likewise.
6288 * nis/nis_print.c: Likewise.
6289 * resolv/res_comp.c: Likewise.
6290 * stdlib/stdlib.h: Likewise.
6291 * sunrpc/clnt_tcp.c: Likewise.
6292 * sunrpc/clnt_udp.c: Likewise.
6293 * sunrpc/clnt_unix.c: Likewise.
6294 * sysdeps/unix/bsd/ptsname.c: Likewise.
6295 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6296 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6298 Likewise.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6300 Likewise.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6302 Likewise.
6303 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6304
6305 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
6307 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6309
6310 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6311
6312 [BZ #15897]
6313 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6314 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6315 ($(objpfx)bug-dl-leaf): New rule.
6316 ($(objpfx)bug-dl-leaf.so): Likewise.
6317 ($(objpfx)bug-dl-leaf.out): Likewise.
6318 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6319 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6320 * dlfcn/bug-dl-leaf.c: New test.
6321 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6322 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6323 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6324 (dlclose): Likewise.
6325 (dlmopen): Likewise.
6326
6327 2013-08-27 Roland McGrath <roland@hack.frob.com>
6328
6329 * include/netdb.h [!_ISOMAC]:
6330 Don't include <tls.h>.
6331 (h_errno, __libc_h_errno): Move declaration and macros out of
6332 [_LIBC_REENTRANT].
6333
6334 * include/resolv.h [_RESOLV_H_]:
6335 Don't include <tls.h>.
6336 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6337 * resolv/res_libc.c: Don't include <tls.h>.
6338 (_res): Use __attribute__ ((nocommon)) in place of
6339 __attribute__ ((section (".bss"))).
6340
6341 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6342 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6343
6344 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6345
6346 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6347 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6348
6349 * resolv/res_mkquery.c: Include <sys/time.h>.
6350
6351 * inet/ifreq.c: Moved to ...
6352 * sysdeps/unix/ifreq.c: ... here.
6353 * inet/ifreq.c: New file, true stub version.
6354
6355 * socket/sa_len.c: New file.
6356 * socket/Makefile (aux): Add it.
6357 * sysdeps/unix/sysv/linux/Makefile
6358 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6359 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6360 and #include <socket/sa_len.c>.
6361 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6362 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6363
6364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6365 * bits/socket.h: ... here.
6366
6367 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6368 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6369 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6370
6371 2013-08-27 Andreas Schwab <schwab@suse.de>
6372
6373 [BZ #15736]
6374 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6375 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6376 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6377 * string/test-strcasecmp.c (test_main): Run tests in several
6378 locales.
6379 * string/test-strncasecmp.c (test_main): Likewise.
6380
6381 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6382 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6383 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6385 (__strncasecmp_ssse3) [PIC]: Likewise.
6386
6387 2013-08-26 Roland McGrath <roland@hack.frob.com>
6388
6389 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6390
6391 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6392 instead of explicitly declaring xdecrypt.
6393 * nis/nss_nis/nis-publickey.c: Likewise.
6394
6395 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6396
6397 [BZ #15890]
6398 * nscd/aicache.c: Include res_hconf.h.
6399 (addhstaiX): Initialize res_hconf.
6400
6401 2013-08-26 Andreas Schwab <schwab@suse.de>
6402
6403 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6404 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6405
6406 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6407
6408 * nscd/aicache.c (addhstaiX): Fix indentation.
6409
6410 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6411
6412 * configure.ac: Quote $build_pt_chown test.
6413 * configure: Regenerated.
6414
6415 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6416
6417 [BZ #15532]
6418 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6419 * math/s_cexpf.c (__cexpf): Likewise.
6420 * math/s_cexpl.c (__cexpl): Likewise.
6421 * math/libm-test.inc (cexp_test_data): Correct expected return
6422 value for NaN + i0. Add another test.
6423
6424 2013-08-22 David S. Miller <davem@davemloft.net>
6425
6426 * po/ca.po: Update Catalan translation from translation project.
6427 * po/uk.po: Add Ukrainian translations from translation project.
6428
6429 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6430
6431 [BZ #15797]
6432 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6433 is infinite, not alongside NaN test.
6434 * math/s_fdimf.c (__fdimf): Likewise.
6435 * math/s_fdiml.c (__fdiml): Likewise.
6436 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6437 errno is unchanged.
6438
6439 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6440
6441 * argp/argp-help.c: Fix typos.
6442 * crypt/speeds.c: Likewise.
6443 * csu/check_fds.c: Likewise.
6444 * elf/dl-load.c: Likewise.
6445 * elf/dl-open.c: Likewise.
6446 * elf/reldep3.c: Likewise.
6447 * elf/reldep.c: Likewise.
6448 * elf/sprof.c: Likewise.
6449 * iconv/iconv_charmap.c: Likewise.
6450 * iconv/skeleton.c: Likewise.
6451 * iconv/strtab.c: Likewise.
6452 * io/lockf64.c: Likewise.
6453 * libio/libioP.h: Likewise.
6454 * resolv/gai_notify.c: Likewise.
6455 * resolv/ns_name.c: Likewise.
6456 * resolv/ns_samedomain.c: Likewise.
6457 * resolv/res_send.c: Likewise.
6458 * stdlib/random.c: Likewise.
6459 * sunrpc/rpc/xdr.h: Likewise.
6460 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6468 * sysdeps/mach/hurd/check_fds.c: Likewise.
6469 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6470 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6473 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6475 * sysdeps/pthread/aio_notify.c: Likewise.
6476 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6477 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6478 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6480 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6481
6482 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6483
6484 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6485 version if bit_Slow_SSE4_2 is set.
6486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6488
6489 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6490
6491 [BZ #15867]
6492 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6493 trampoline stack frame information.
6494 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6496 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6497 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6498 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6499 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6500 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6501 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6502 sa_flags value.
6503 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6504 interrupting a syscall and set with option SA_SIGINFO.
6505
6506 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6507
6508 [BZ #15531]
6509 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6510 argument is infinite.
6511 * math/s_cprojf.c (__cprojf): Likewise.
6512 * math/s_cprojl.c (__cprojl): Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6514 * math/libm-test.inc (cproj_test_data): Add more tests.
6515
6516 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6517
6518 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6519 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6520 size. Use __ffs to determine corresponding shift.
6521
6522 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6523 Roland McGrath <roland@hack.frob.com>
6524
6525 * Makefile (INSTALL): Remove trailing blank lines from output of
6526 makeinfo.
6527
6528 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6529
6530 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6531 Align 32 bit compat elf_greg to 8 bytes.
6532
6533 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6534
6535 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6536
6537 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
6539 * string/strcoll_l.c (coll_seq): New structure.
6540 (get_next_seq_cached): New function.
6541 (get_next_seq): New function.
6542 (do_compare): New function.
6543 (STRCOLL): Use GNU style definition. Simplify implementation
6544 by using get_next_seq, get_next_seq_cached and do_compare.
6545
6546 2013-08-16 Florian Weimer <fweimer@redhat.com>
6547
6548 [BZ #14699]
6549 CVE-2013-4237
6550 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6551 member.
6552 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6553 member.
6554 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6555 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6556 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6557 conditional.
6558 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6559 GETDENTS_64BIT_ALIGNED.
6560 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6561 * manual/filesys.texi (Reading/Closing Directory): Document
6562 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6563 strongly.
6564 * manual/conf.texi (Limits for Files): Add portability note to
6565 NAME_MAX, PATH_MAX.
6566 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6567
6568 2013-08-13 Andreas Schwab <schwab@suse.de>
6569
6570 [BZ #15749]
6571 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6572 of fabs.
6573 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6574 LDBL_MAX_EXP >= 16384]: Add tests for it.
6575
6576 2013-08-12 David S. Miller <davem@davemloft.net>
6577
6578 * version.h (RELEASE): Set to "development".
6579 (VERSION): Set to "2.18.90".
6580 * NEWS: Add 2.19 section.
6581
6582 2013-08-03 David S. Miller <davem@davemloft.net>
6583
6584 * po/ko.po: Update Korean translation from translation project.
6585
6586 2013-08-01 David S. Miller <davem@davemloft.net>
6587
6588 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6589 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6590 Bilka.
6591
6592 2013-07-30 David S. Miller <davem@davemloft.net>
6593
6594 * po/fr.po: Update French translation from translation project.
6595
6596 2013-07-28 David S. Miller <davem@davemloft.net>
6597
6598 * po/cs.po: Update Czech translation from translation project.
6599
6600 * po/sv.po: Update Swedish translation from translation project.
6601
6602 2013-07-27 David S. Miller <davem@davemloft.net>
6603
6604 * po/eo.po: Update Esperanto translation from translation project.
6605
6606 * po/vi.po: Update Vietnamese translation from translation project.
6607
6608 * po/de.po: Update German translation from translation project.
6609
6610 2013-07-26 David S. Miller <davem@davemloft.net>
6611
6612 * po/bg.po: Update Bulgarian translation from translation project.
6613
6614 * po/nl.po: Update Dutch translation from translation project.
6615 * po/pl.po: Update Polish translation from translation project.
6616 * po/ru.po: Update Russian translation from translation project.
6617
6618 2013-07-24 David S. Miller <davem@davemloft.net>
6619
6620 * po/libc.pot: Update.
6621
6622 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6625 variable page size.
6626 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6627 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6628 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6629
6630 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6631
6632 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6633
6634 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6635 Andreas Schwab <schwab@suse.de>
6636 Roland McGrath <roland@hack.frob.com>
6637 Joseph Myers <joseph@codesourcery.com>
6638 Carlos O'Donell <carlos@redhat.com>
6639
6640 [BZ #15755]
6641 * config.h.in: Define HAVE_PT_CHOWN.
6642 * config.make.in (build-pt-chown): New variable.
6643 * configure.in (--enable-pt_chown): New configure option.
6644 * configure: Regenerate.
6645 * login/Makefile: Include Makeconfig. Build pt_chown only if
6646 build-pt-chown is enabled.
6647 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6648 pt_chown to fix pty ownership.
6649 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6650 CLOSE_ALL_FDS.
6651 * manual/install.texi (Configuring and compiling): Mention
6652 --enable-pt_chown. Add @findex for grantpt.
6653 * INSTALL: Regenerate.
6654
6655 2013-07-20 David S. Miller <davem@davemloft.net>
6656
6657 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6658 difference between 32-bit and 64-bit.
6659
6660 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6661
6662 [BZ #15711]
6663 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6664 Avoid system header dependency with -ffreestanding.
6665 ($(objpfx)bits/syscall%d): Likewise.
6666
6667 2013-07-13 David S. Miller <davem@davemloft.net>
6668
6669 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6670 underflows from atanl/atan2l due to bug 15319.
6671 (casinh_test_data): Likewise.
6672
6673 2013-07-07 David S. Miller <davem@davemloft.net>
6674
6675 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6676
6677 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6678
6679 * sysdeps/i386/fpu/libm-test-ulps: Update.
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6681
6682 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6683
6684 * configure.in (--enable-lock-elision): Fix message text.
6685 * INSTALL: Regenerate.
6686 * configure: Regenerate.
6687
6688 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6689
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6691
6692 2013-07-03 Andreas Jaeger <aj@suse.de>
6693
6694 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6695 define.
6696 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6697 (ptrace_peeksiginfo_args): Add.
6698 (__ptrace_peeksiginfo_flags): Add.
6699 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6700 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6702
6703 2013-07-03 Allan McRae <allan@archlinux.org>
6704
6705 * sysdeps/i386/fpu/libm-test-ulps: Update.
6706
6707 2013-07-02 David S. Miller <davem@davemloft.net>
6708
6709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6710
6711 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6712
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6714
6715 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6716
6717 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6719
6720 2013-07-02 Andi Kleen <ak@linux.intel.com>
6721
6722 * config.h.in (ENABLE_LOCK_ELISION): Add.
6723 * configure.in (--enable-lock-elision): Add option.
6724 * manual/install.texi: Document --enable lock elision.
6725 * configure: Regenerate
6726 * INSTALL: Regenerate.
6727
6728 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6729
6730 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6731 SSE4.2 strcasecmp for libc.a.
6732 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6733
6734 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6735
6736 [BZ #13304]
6737 * soft-fp/op-common.h (_FP_FMA): New macro.
6738 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6739 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6740 (_FP_MUL_MEAT_1_imm): ... here.
6741 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6742 (_FP_MUL_MEAT_1_wide): ... here.
6743 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6744 (_FP_MUL_MEAT_1_hard): ... here.
6745 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6746 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6747 (_FP_MUL_MEAT_2_wide): ... here.
6748 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6749 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6750 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6751 (_FP_MUL_MEAT_2_gmp): ... here.
6752 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6753 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6754 (_FP_MUL_MEAT_4_wide): ... here.
6755 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6756 (_FP_MUL_MEAT_4_gmp): ... here.
6757 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6758 (_FP_WFRACBITS_DW_S): Likewise.
6759 (_FP_WFRACXBITS_DW_S): Likewise.
6760 (_FP_HIGHBIT_DW_S): Likewise.
6761 (FP_FMA_S): Likewise.
6762 (_FP_FRAC_HIGH_DW_S): Likewise.
6763 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6764 (_FP_WFRACBITS_DW_D): Likewise.
6765 (_FP_WFRACXBITS_DW_D): Likewise.
6766 (_FP_HIGHBIT_DW_D): Likewise.
6767 (FP_FMA_D): Likewise.
6768 (_FP_FRAC_HIGH_DW_D): Likewise.
6769 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6770 (_FP_WFRACBITS_DW_E): Likewise.
6771 (_FP_WFRACXBITS_DW_E): Likewise.
6772 (_FP_HIGHBIT_DW_E): Likewise.
6773 (FP_FMA_E): Likewise.
6774 (_FP_FRAC_HIGH_DW_E): Likewise.
6775 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6776 (_FP_WFRACBITS_DW_Q): Likewise.
6777 (_FP_WFRACXBITS_DW_Q): Likewise.
6778 (_FP_HIGHBIT_DW_Q): Likewise.
6779 (FP_FMA_Q): Likewise.
6780 (_FP_FRAC_HIGH_DW_Q): Likewise.
6781 * soft-fp/fmasf4.c: New file.
6782 * soft-fp/fmadf4.c: Likewise.
6783 * soft-fp/fmatf4.c: Likewise.
6784
6785 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6786
6787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6788 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6789 Silvermont.
6790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6791 macro.
6792 (index_Slow_SSE4_2): Likewise.
6793 (index_Prefer_PMINUB_for_stringop): Likewise.
6794 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6795 bit_Slow_SSE4_2 is set.
6796 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6797 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6798
6799 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6800
6801 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6802 rtld_global._dl_hwcap2.
6803 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6804 POWER8.
6805 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6806 POWER8 feature descriptions defined in _dl_hwcap2.
6807 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6808 string handling for POWER8 feature bits.
6809 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6810 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6811 _dl_powerpc_cap_flags.
6812 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6813 * sysdeps/powerpc/rtld-global-offsets.sym
6814 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6815 _dl_hwcap2 in the rtld_global_ro structure.
6816
6817 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6818
6819 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6820 hardware capabilities in support of AT_HWCAP2.
6821 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6822 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6823 GLRO(dl_hwcap2).
6824 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6825 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6826 explicitly the unknown a_type display mechanism is used.
6827 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6828 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6829 struct member.
6830 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6831 to macro prototype for AT_HWCAP2 support.
6832 * sysdeps/i386/dl-procinfo.h: Likewise.
6833 * sysdeps/s390/dl-procinfo.h: Likewise.
6834 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6835 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6836 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6837 return -1 for unknown a_type display fallback.
6838 * sysdeps/sparc/dl-procinfo.h: Likewise.
6839 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6840 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6841
6842 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6843
6844 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6845 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6846
6847 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6848
6849 [BZ #12492]
6850 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6851 mprotect making __stack_prot writable.
6852
6853 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6854 Joseph Myers <joseph@codesourcery.com>
6855
6856 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6857 as being properly aligned.
6858
6859 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6860
6861 * dlfcn/modstatic5.c: New file.
6862 * dlfcn/tststatic5.c: New file.
6863 * dlfcn/Makefile (tests): Add tststatic5.
6864 (tests-static): Likewise.
6865 (modules-names): Add modstatic5.
6866 (tststatic5-ENV): New variable.
6867 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6868
6869 [BZ #15022]
6870 * elf/dl-support.c (_dl_main_map): New variable.
6871 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6872 (_dl_nns, _dl_load_adds): Set to 1.
6873 (_dl_initial_searchlist): Refer to _dl_main_map.
6874 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6875 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6876 call to _dl_get_origin.
6877 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6878 around call_map.
6879 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6880 * dlfcn/modstatic3.c: New file.
6881 * dlfcn/tststatic3.c: New file.
6882 * dlfcn/tststatic4.c: New file.
6883 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6884 (tests-static): Likewise.
6885 (modules-names): Add modstatic3.
6886 (tststatic3-ENV, tststatic4-ENV): New variables.
6887 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6888 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6889
6890 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6891
6892 * configure.in (CC): Require GCC version 4.4 or later.
6893 * configure: Regenerated.
6894 * manual/install.texi (Tools for Compilation): Update GCC version
6895 requirement.
6896 * INSTALL: Regenerated.
6897
6898 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6899
6900 [BZ #15674]
6901 * string/test-memcmp.c (check2): New.
6902 (main): Call check2.
6903
6904 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6905
6906 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6907
6908 [BZ #15022]
6909 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6910 over to...
6911 (dl_open_worker) [!SHARED]: ... here.
6912
6913 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6914
6915 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6916
6917 2013-06-25 Richard Henderson <rth@redhat.com>
6918
6919 * locale/programs/locarchive.c: Include <libc-internal.h>
6920
6921 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6922
6923 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6924 trailing whitespace removed.
6925
6926 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6927
6928 [BZ #10283]
6929 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6930 * locale/programs/locarchive.c: Include libc-mmap.h.
6931 (prepare_address_space): Take two new outputs (the mmap base and len).
6932 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6933 values.
6934 (create_archive): Declare new mmap base and len values for
6935 prepare_address_space, and store the result in ah.
6936 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6937 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6938 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6939 Declare new mmap base and len values for
6940 prepare_address_space, and store the result in new_ah.
6941 (open_archive): Declare new mmap base and len values for
6942 prepare_address_space, and store the result in ah.
6943 (close_archive): If ah->mmap_base is not NULL, use that and
6944 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6945 * sysdeps/generic/libc-mmap.h: New file.
6946
6947 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6948
6949 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6950 (ALIGN_UP): Likewise.
6951 (PTR_ALIGN_DOWN): Likewise.
6952 (PTR_ALIGN_UP): Likewise.
6953
6954 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6955
6956 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6957 entry mapped to PPC_PLATFORM_POWER8.
6958 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6959 POWER8.
6960 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6961 (_dl_string_platform): Add case for exporting platform position for
6962 POWER8.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6964 search path to sysdeps/powerpc/powerpc32/power8 directory.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6966 search path to sysdeps/powerpc/powerpc64/power8 directory.
6967 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6968 power7 directories.
6969 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6970 power7 directories.
6971
6972 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6973
6974 * INSTALL: Regenerate.
6975
6976 * nscd/connections.c (nscd_init): Fix comment.
6977
6978 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6979
6980 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6981
6982 [BZ #15667]
6983 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6984 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6985
6986 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6987
6988 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6989 DL_DST_REQ_STATIC.
6990 (DL_DST_REQ_STATIC): Remove macro.
6991
6992 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6993
6994 [BZ #7006]
6995 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6996 with a shift of 0 bits.
6997
6998 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6999
7000 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7001 $(tststatic-ENV).
7002
7003 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7004
7005 [BZ #15655]
7006 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7007
7008 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7009
7010 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7011 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7012 accepts -fno-tree-loop-distribute-patterns.
7013 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7014 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7015 recursive call.
7016 * string/memset.c (memset): Likewise.
7017 * string/test-memmove.c (simple_memmove): Disable loop transformation
7018 to library calls.
7019 * string/test-memset.c (simple_memset): Likewise.
7020 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7021 * benchtests/bench-memset.c (simple_memset): Likewise.
7022 * configure: Regenerated.
7023
7024 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7025
7026 * math/test-misc.c (main): Ignore fesetround failure when failures
7027 of subsequent rounding tests would be ignored.
7028
7029 [BZ #15654]
7030 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7031 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7032 * math/fegetenv.c (__fegetenv): Return 0.
7033 * math/fegetexcept.c (fegetexcept): Return 0.
7034 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7035 FE_TONEAREST.
7036 * math/feholdexcpt.c (feholdexcept): Return 0.
7037 * math/fesetenv.c (__fesetenv): Return 0.
7038 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7039 argument FE_TONEAREST.
7040 * math/feupdateenv.c (__feupdateenv): Return 0.
7041 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7042
7043 2013-06-18 Roland McGrath <roland@hack.frob.com>
7044
7045 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7046 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7047 ($(objpfx)rtld-%.os rules): Use them.
7048
7049 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050
7051 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7052 fields.
7053
7054 2013-06-17 Roland McGrath <roland@hack.frob.com>
7055
7056 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7057 length of target pattern, then descending length of dependency pattern.
7058 * configure.in (AWK): Require gawk 3.1.2 or newer.
7059 * manual/install.texi (Tools for Compilation): Say that we do.
7060 * configure: Regenerated.
7061
7062 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7063 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7064 * scripts/sysd-rules.awk: ... this new script.
7065 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7066 than a glob-style pattern.
7067
7068 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7069
7070 * math/test-misc.c (main): Do not treat incorrectly rounded
7071 conversions as failure unless ROUNDING_TESTS passes.
7072
7073 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7074
7075 [BZ #15631]
7076 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7077 restore exception state around main square root computation, then
7078 check for inexactness explicitly.
7079
7080 * math/libm-test.inc (fma_test_data): Add another test.
7081
7082 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7083
7084 * manual/threads.texi (Non-POSIX Extensions): New document
7085 node. Document pthread_getattr_default_np and
7086 pthread_setattr_default_np.
7087
7088 * Versions.def (libpthread): Add GLIBC_2.18.
7089 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7091 Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7093 Likewise.
7094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7095 Likewise.
7096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7097 Likewise.
7098 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7099 Likewise.
7100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7101 Likewise.
7102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7103 Likewise.
7104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7105 Likewise.
7106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7107 Likewise.
7108
7109 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7110
7111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7112 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7113
7114 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7115 H.J. Lu <hjl.tools@gmail.com>
7116
7117 [BZ #15627]
7118 * sysdeps/x86_64/rtld-memset.c: Remove file.
7119 * sysdeps/x86_64/rtld-memset.S: New file.
7120
7121 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7122
7123 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7124 (test_in_one_mode): Take arguments for whether the rounding mode
7125 is supported for each floating-point type.
7126 (do_test): Pass new arguments to test_in_one_mode using
7127 ROUNDING_TESTS.
7128
7129 2013-06-13 Roland McGrath <roland@hack.frob.com>
7130
7131 * posix/tst-waitid.c (do_test): Distinguish different instances of
7132 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7133 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7134 before entering the kernel for waitpid.
7135
7136 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
7138 * NEWS: Fix note on clock function precision. Text by Roland
7139 McGrath.
7140
7141 2013-06-13 Roland McGrath <roland@hack.frob.com>
7142
7143 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7144 it into place only when and if the sanity check passes.
7145
7146 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7147
7148 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7149 output for whether conversion result is exact. Take argument
7150 indicating whether type is IBM long double.
7151 (round_for_all): Change need_exact field to ibm_ld.
7152 * stdlib/tst-strtod-round.c (struct exactness): New type.
7153 (struct test): Change bool ld_ok field to struct exactness exact.
7154 (TEST): Update all definitions for change to field.
7155 (tests): Regenerate array contents.
7156 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7157 field value. Check for IBM long double here.
7158 (do_test): Update calls to test_in_one_mode.
7159
7160 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7161
7162 [BZ #12515]
7163 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7164 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7165
7166 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7167
7168 [BZ #15605]
7169 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7170 generated by the compiler on loop optimizations.
7171 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7172 general definitions.
7173
7174 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7175
7176 * math/bug-nextafter.c: Include <math-tests.h>.
7177 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7178 the relevant type.
7179 * math/bug-nexttoward.c: Include <math-tests.h>.
7180 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7181 the relevant type.
7182 * math/test-misc.c: Include <math-tests.h>.
7183 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7184 the relevant type.
7185
7186 2013-06-12 Andreas Jaeger <aj@suse.de>
7187
7188 * po/ia.po: Update Interlingua translation from translation
7189 project.
7190
7191 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7192
7193 * include/fenv.h: Include stdbool.h.
7194 (struct rm_ctx): New structure.
7195 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7196 Define macro.
7197 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7198 (SET_RESTORE_ROUNDF): Likewise.
7199 (SET_RESTORE_ROUNDL): Likewise.
7200 (SET_RESTORE_ROUND_NOEX): Likewise.
7201 (SET_RESTORE_ROUND_NOEXF): Likewise.
7202 (SET_RESTORE_ROUND_NOEXL): Likewise.
7203 (SET_RESTORE_ROUND_53BIT): Likewise.
7204 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7205 (libc_feresetround_noexf_ctx): Likewise.
7206 (libc_feresetround_noexl_ctx): Likewise.
7207 (libc_feholdsetround_53bit_ctx): Likewise.
7208 (libc_feresetround_53bit_ctx): Likewise.
7209 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7210 (libc_feholdexcept_setround_sse_ctx): New function.
7211 (libc_fesetenv_sse_ctx): Likewise.
7212 (libc_feupdateenv_sse_ctx): Likewise.
7213 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7214 (libc_feholdexcept_setround_387_ctx): Likewise.
7215 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7216 (libc_feholdsetround_387_prec_ctx): Likewise.
7217 (libc_feholdsetround_387_ctx): Likewise.
7218 (libc_feholdsetround_387_53bit_ctx): Likewise.
7219 (libc_feholdsetround_sse_ctx): Likewise.
7220 (libc_feresetround_sse_ctx): Likewise.
7221 (libc_feresetround_387_ctx): Likewise.
7222 (libc_feupdateenv_387_ctx): Likewise.
7223 (libc_feholdexcept_setroundf_ctx): Define macro.
7224 (libc_fesetenvf_ctx): Likewise.
7225 (libc_feupdateenvf_ctx): Likewise.
7226 (libc_feholdsetroundf_ctx): Likewise.
7227 (libc_feresetroundf_ctx): Likewise.
7228 (libc_feholdexcept_setround_ctx): Likewise.
7229 (libc_fesetenv_ctx): Likewise.
7230 (libc_feupdateenv_ctx): Likewise.
7231 (libc_feholdsetround_ctx): Likewise.
7232 (libc_feresetround_ctx): Likewise.
7233 (libc_feholdexcept_setroundl_ctx): Likewise.
7234 (libc_feupdateenvl_ctx): Likewise.
7235 (libc_feholdsetroundl_ctx): Likewise.
7236 (libc_feresetroundl_ctx): Likewise.
7237 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7238 (libc_feresetround_53bit_ctx): Likewise.
7239
7240 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7241
7242 * locale/iso-639.def: Convert to UTF-8.
7243
7244 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7245
7246 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7247 (EXCEPTION_TESTS_double): Likewise.
7248 (EXCEPTION_TESTS_long_double): Likewise.
7249 (EXCEPTION_TESTS): Likewise.
7250 * math/libm-test.inc (test_exceptions): Only test exceptions if
7251 EXCEPTION_TESTS (FLOAT).
7252
7253 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7254
7255 * benchtests/Makefile (string-bench): Add strcpy_chk and
7256 stpcpy_chk.
7257 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7258 * benchtests/bench-stpcpy_chk.c: New file.
7259 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7260 * benchtests/bench-strcpy_chk.c: New file.
7261 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7262 code.
7263 (do_test): Likewise.
7264
7265 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7266
7267 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7268 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7269 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7270 with tabs where appropriate.
7271 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7272 dl-procinfo.h.
7273 [PPC_PLATFORM_PPC440]: Likewise.
7274 [PPC_PLATFORM_PPC464]: Likewise.
7275 [PPC_PLATFORM_PPC476]: Likewise.
7276 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7277 ppc464, and ppc476 platform strings merging from ports/
7278 dl-procinfo.h.
7279
7280 2013-06-11 Andreas Schwab <schwab@suse.de>
7281
7282 [BZ #14991]
7283 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7284 (from_ucs4_idx): Regenerate.
7285 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7286 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7287 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7288 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7289 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7290 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7291 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7292 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7293 from FROM_LOOP and TO_LOOP specific macros.
7294 (BODY): Handle combining characters.
7295 * iconvdata/BIG5HKSCS.irreversible: Update.
7296 * iconvdata/BIG5HKSCS.precomposed: New file.
7297 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7298 characters.
7299 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7300
7301 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7302
7303 * include/sys/time.h: Fix indentation and add copyright header.
7304
7305 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7306 (do_test): Likewise.
7307 * string/test-memchr.c (do_one_test): Likewise.
7308 (do_test): Likewise.
7309 * string/test-memcmp.c (do_one_test): Likewise.
7310 (do_test): Likewise.
7311 * string/test-memcpy.c (do_one_test): Likewise.
7312 (do_test): Likewise.
7313 * string/test-memmem.c (do_one_test): Likewise.
7314 (do_test): Likewise.
7315 (do_random_tests): Likewise.
7316 * string/test-memmove.c (do_one_test): Likewise.
7317 (do_test): Likewise.
7318 * string/test-memset.c (do_one_test): Likewise.
7319 (do_test): Likewise.
7320 * string/test-rawmemchr.c (do_one_test): Likewise.
7321 (do_test): Likewise.
7322 * string/test-strcasecmp.c (do_one_test): Likewise.
7323 (do_test): Likewise.
7324 * string/test-strcasestr.c (do_one_test): Likewise.
7325 (do_test): Likewise.
7326 * string/test-strcat.c (do_one_test): Likewise.
7327 (do_test): Likewise.
7328 * string/test-strchr.c (do_one_test): Likewise.
7329 (do_test): Likewise.
7330 * string/test-strcmp.c (do_one_test): Likewise.
7331 (do_test): Likewise.
7332 * string/test-strcpy.c (do_one_test): Likewise.
7333 (do_test): Likewise.
7334 * string/test-string.h: Likewise.
7335 (test_init): Likewise.
7336 * string/test-strlen.c (do_one_test): Likewise.
7337 (do_test): Likewise.
7338 * string/test-strncasecmp.c (do_one_test): Likewise.
7339 (do_test): Likewise.
7340 * string/test-strncat.c (do_one_test): Likewise.
7341 (do_test): Likewise.
7342 * string/test-strncmp.c (do_one_test): Likewise.
7343 (do_test_limit): Likewise.
7344 (do_test): Likewise.
7345 * string/test-strncpy.c (do_one_test): Likewise.
7346 (do_test): Likewise.
7347 * string/test-strnlen.c (do_one_test): Likewise.
7348 (do_test): Likewise.
7349 * string/test-strpbrk.c (do_one_test): Likewise.
7350 (do_test): Likewise.
7351 * string/test-strrchr.c (do_one_test): Likewise.
7352 (do_test): Likewise.
7353 * string/test-strspn.c (do_one_test): Likewise.
7354 (do_test): Likewise.
7355 * string/test-strstr.c (do_one_test): Likewise.
7356 (do_test): Likewise.
7357
7358 * benchtests/Makefile (string-bench): Add string benchmarks.
7359 * benchtests/bench-bcopy-ifunc.c: New file.
7360 * benchtests/bench-bcopy.c: New file.
7361 * benchtests/bench-bzero-ifunc.c: New file.
7362 * benchtests/bench-bzero.c: New file.
7363 * benchtests/bench-memccpy-ifunc.c: New file.
7364 * benchtests/bench-memccpy.c: New file.
7365 * benchtests/bench-memchr-ifunc.c: New file.
7366 * benchtests/bench-memchr.c: New file.
7367 * benchtests/bench-memcmp-ifunc.c: New file.
7368 * benchtests/bench-memcmp.c: New file.
7369 * benchtests/bench-memmem-ifunc.c: New file.
7370 * benchtests/bench-memmem.c: New file.
7371 * benchtests/bench-memmove-ifunc.c: New file.
7372 * benchtests/bench-memmove.c: New file.
7373 * benchtests/bench-mempcpy-ifunc.c: New file.
7374 * benchtests/bench-mempcpy.c: New file.
7375 * benchtests/bench-memset-ifunc.c: New file.
7376 * benchtests/bench-memset.c: New file.
7377 * benchtests/bench-rawmemchr-ifunc.c: New file.
7378 * benchtests/bench-rawmemchr.c: New file.
7379 * benchtests/bench-stpcpy-ifunc.c: New file.
7380 * benchtests/bench-stpcpy.c: New file.
7381 * benchtests/bench-stpncpy-ifunc.c: New file.
7382 * benchtests/bench-stpncpy.c: New file.
7383 * benchtests/bench-strcasecmp-ifunc.c: New file.
7384 * benchtests/bench-strcasecmp.c: New file.
7385 * benchtests/bench-strcasestr-ifunc.c: New file.
7386 * benchtests/bench-strcasestr.c: New file.
7387 * benchtests/bench-strcat-ifunc.c: New file.
7388 * benchtests/bench-strcat.c: New file.
7389 * benchtests/bench-strchr-ifunc.c: New file.
7390 * benchtests/bench-strchr.c: New file.
7391 * benchtests/bench-strchrnul-ifunc.c: New file.
7392 * benchtests/bench-strchrnul.c: New file.
7393 * benchtests/bench-strcmp-ifunc.c: New file.
7394 * benchtests/bench-strcmp.c: New file.
7395 * benchtests/bench-strcpy-ifunc.c: New file.
7396 * benchtests/bench-strcpy.c: New file.
7397 * benchtests/bench-strcspn-ifunc.c: New file.
7398 * benchtests/bench-strcspn.c: New file.
7399 * benchtests/bench-strlen-ifunc.c: New file.
7400 * benchtests/bench-strlen.c: New file.
7401 * benchtests/bench-strncasecmp-ifunc.c: New file.
7402 * benchtests/bench-strncasecmp.c: New file.
7403 * benchtests/bench-strncat-ifunc.c: New file.
7404 * benchtests/bench-strncat.c: New file.
7405 * benchtests/bench-strncmp-ifunc.c: New file.
7406 * benchtests/bench-strncmp.c: New file.
7407 * benchtests/bench-strncpy-ifunc.c: New file.
7408 * benchtests/bench-strncpy.c: New file.
7409 * benchtests/bench-strnlen-ifunc.c: New file.
7410 * benchtests/bench-strnlen.c: New file.
7411 * benchtests/bench-strpbrk-ifunc.c: New file.
7412 * benchtests/bench-strpbrk.c: New file.
7413 * benchtests/bench-strrchr-ifunc.c: New file.
7414 * benchtests/bench-strrchr.c: New file.
7415 * benchtests/bench-strspn-ifunc.c: New file.
7416 * benchtests/bench-strspn.c: New file.
7417 * benchtests/bench-strstr-ifunc.c: New file.
7418 * benchtests/bench-strstr.c: New file.
7419
7420 * benchtests/Makefile: Disable parallel execution of targets.
7421 (string-bench): Add memcpy.
7422 (benchset): New variable to store a list of benchmark sets.
7423 (bench-func): Renamed from bench.
7424 (bench-set): New target.
7425 (bench): Depend on bench-func and bench-set.
7426 * benchtests/README: Add section on benchmark sets.
7427 * benchtests/bench-memcpy-ifunc.c: New file.
7428 * benchtests/bench-memcpy.c: New file.
7429 * benchtests/bench-string.h: New file.
7430
7431 2013-06-11 Andreas Schwab <schwab@suse.de>
7432
7433 [BZ #15577]
7434 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7435 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7436 values in the triple.
7437 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7438 terminator in the group key.
7439
7440 2013-06-11 Andreas Jaeger <aj@suse.de>
7441
7442 * po/zh_TW.po: Update Chinese (traditional) translation from
7443 translation project.
7444
7445 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7446
7447 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7448 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7449 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7450 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7451 (clock_getcpuclockid): Likewise.
7452 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7453 Add weak_alias and libc_hidden_def.
7454 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7455 * rt/clock_gettime.c (clock_gettime): Rename to
7456 __clock_gettime. Add weak_alias and libc_hidden_def.
7457 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7458 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7459 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7460 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7461 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7462 Likewise.
7463 * rt/clock_settime.c (clock_settime): Rename to
7464 __clock_settime. Add weak_alias and libc_hidden_def.
7465 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7466
7467 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7468
7469 * mach/err_boot.sub: Remove trailing whitespace.
7470 * mach/err_ipc.sub: Likewise.
7471 * mach/err_mach.sub: Likewise.
7472
7473 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7474 (ROUNDING_TESTS_double): Likewise.
7475 (ROUNDING_TESTS_long_double): Likewise.
7476 (ROUNDING_TESTS): Likewise.
7477 * math/libm-test.inc: Include <math-tests.h>.
7478 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7479 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7480 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7481 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7482
7483 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7484
7485 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7486 of assigning.
7487
7488 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7489
7490 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7491 otherwise empty TRANS lines.
7492 * sysdeps/gnu/errlist.c: Regenerated.
7493
7494 * catgets/gencat.c (error_print): Use (void) in function
7495 definition.
7496 * crypt/crypt_util.c (__init_des): Likewise.
7497 * crypt/speeds.c (Stop): Likewise.
7498 (main): Likewise.
7499 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7500 * inet/ruserpass.c (token): Likewise.
7501 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7502 * intl/localealias.c (extend_alias_table): Likewise.
7503 * intl/plural-exp.c (init_germanic_plural): Likewise.
7504 * libio/fcloseall.c (__fcloseall): Likewise.
7505 * libio/genops.c (_IO_flush_all): Likewise.
7506 (_IO_flush_all_linebuffered): Likewise.
7507 (_IO_cleanup): Likewise.
7508 (_IO_iter_begin): Likewise.
7509 (_IO_iter_end): Likewise.
7510 (_IO_list_lock): Likewise.
7511 (_IO_list_unlock): Likewise.
7512 (_IO_list_resetlock): Likewise.
7513 * libio/getchar.c (getchar): Likewise.
7514 * libio/getchar_u.c (getchar_unlocked): Likewise.
7515 * libio/getwchar.c (getwchar): Likewise.
7516 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7517 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7518 * login/getpt.c (__getpt): Likewise.
7519 * login/tst-utmp.c (main): Likewise.
7520 * malloc/hooks.c (__malloc_check_init): Likewise.
7521 * malloc/malloc.c (__malloc_stats): Likewise.
7522 * malloc/mtrace.c (tr_break): Likewise.
7523 (mtrace): Likewise.
7524 (muntrace): Likewise.
7525 * misc/fstab.c (endfsent): Likewise.
7526 * misc/getclktck.c (__getclktck): Likewise.
7527 * misc/getdtsz.c (__getdtablesize): Likewise.
7528 * misc/gethostid.c (gethostid): Likewise.
7529 * misc/getpagesize.c (__getpagesize): Likewise.
7530 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7531 (__get_nprocs): Likewise.
7532 (__get_phys_pages): Likewise.
7533 (__get_avphys_pages): Likewise.
7534 * misc/getttyent.c (getttyent): Likewise.
7535 (setttyent): Likewise.
7536 (endttyent): Likewise.
7537 * misc/getusershell.c (getusershell): Likewise.
7538 (endusershell): Likewise.
7539 (setusershell): Likewise.
7540 (initshells): Likewise.
7541 * misc/hsearch.c (__hdestroy): Likewise.
7542 * misc/sync.c (sync): Likewise.
7543 * misc/syslog.c (closelog_internal): Likewise.
7544 (closelog): Likewise.
7545 * misc/ttyslot.c (ttyslot): Likewise.
7546 * misc/vhangup.c (vhangup): Likewise.
7547 * posix/fork.c (__fork): Likewise.
7548 * posix/getegid.c (__getegid): Likewise.
7549 * posix/geteuid.c (__geteuid): Likewise.
7550 * posix/getgid.c (__getgid): Likewise.
7551 * posix/getpid.c (__getpid): Likewise.
7552 * posix/getppid.c (__getppid): Likewise.
7553 * posix/getuid.c (__getuid): Likewise.
7554 * posix/pause.c (pause): Likewise.
7555 * posix/setpgrp.c (setpgrp): Likewise.
7556 * posix/setsid.c (__setsid): Likewise.
7557 * posix/test-vfork.c (noop): Likewise.
7558 * resolv/gethnamaddr.c (_endhtent): Likewise.
7559 (_gethtent): Likewise.
7560 (ht_endhostent): Likewise.
7561 (gethostent): Likewise.
7562 (dns_service): Likewise.
7563 * stdlib/drand48.c (drand48): Likewise.
7564 * stdlib/lrand48.c (lrand48): Likewise.
7565 * stdlib/mrand48.c (mrand48): Likewise.
7566 * stdlib/rand.c (rand): Likewise.
7567 * stdlib/random.c (__random): Likewise.
7568 * stdlib/setenv.c (clearenv): Likewise.
7569 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7570 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7571 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7572 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7573 (__get_nprocs): Likewise.
7574 (__get_phys_pages): Likewise.
7575 (__get_avphys_pages): Likewise.
7576 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7577 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7578 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7579 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7580 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7581 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7582 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7583 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7584 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7585 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7586 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7587 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7588 * sysdeps/posix/clock.c (clock): Likewise.
7589 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7590 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7591 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7592 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7593 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7595 (__get_nprocs_conf): Likewise.
7596 (__get_phys_pages): Likewise.
7597 (__get_avphys_pages): Likewise.
7598 * time/clock.c (clock): Likewise.
7599 * time/tzset.c (__tzname_max): Likewise.
7600
7601 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7602
7603 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7604 (__bswap_32): Do not use "register".
7605 * crypt/crypt.c (_ufc_doit_r): Likewise.
7606 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7607 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7608 * gmon/gmon.c (__monstartup): Likewise.
7609 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7610 * hurd/hurdmalloc.c (more_memory): Likewise.
7611 (malloc): Likewise.
7612 (free): Likewise.
7613 (realloc): Likewise.
7614 (malloc_fork_prepare): Likewise.
7615 (malloc_fork_parent): Likewise.
7616 (malloc_fork_child): Likewise.
7617 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7618 (_svcauth_des): Likewise.
7619 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7620 * inet/inet_net.c (inet_network): Likewise.
7621 * inet/inet_netof.c (inet_netof): Likewise.
7622 * inet/rcmd.c (__validuser2_sa): Likewise.
7623 * io/fts.c (fts_open): Likewise.
7624 (fts_load): Likewise.
7625 (fts_close): Likewise.
7626 (fts_read): Likewise.
7627 (fts_children): Likewise.
7628 (fts_build): Likewise.
7629 (fts_stat): Likewise.
7630 (fts_sort): Likewise.
7631 (fts_alloc): Likewise.
7632 (fts_lfree): Likewise.
7633 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7634 (_IO_file_xsgetn): Likewise.
7635 (_IO_file_xsgetn_mmap): Likewise.
7636 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7637 (_IO_cookie_write): Likewise.
7638 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7639 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7640 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7641 * malloc/obstack.c (_obstack_begin): Likewise.
7642 (_obstack_begin_1): Likewise.
7643 (_obstack_newchunk): Likewise.
7644 (_obstack_allocated_p): Likewise.
7645 (obstack_free): Likewise.
7646 (_obstack_memory_used): Likewise.
7647 * misc/getttyent.c (getttynam): Likewise.
7648 (getttyent): Likewise.
7649 (skip): Likewise.
7650 (value): Likewise.
7651 * misc/getusershell.c (initshells): Likewise.
7652 * misc/syslog.c (__vsyslog_chk): Likewise.
7653 * misc/ttyslot.c (ttyslot): Likewise.
7654 * nis/nis_hash.c (__nis_hash): Likewise.
7655 * posix/fnmatch_loop.c (FCT): Likewise.
7656 * posix/getconf.c (print_all): Likewise.
7657 (main): Likewise.
7658 * posix/getopt.c (exchange): Likewise.
7659 * posix/glob.c (globfree): Likewise.
7660 (prefix_array): Likewise.
7661 (__glob_pattern_type): Likewise.
7662 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7663 (NS_GET32): Likewise.
7664 (NS_PUT16): Likewise.
7665 (NS_PUT32): Likewise.
7666 * resolv/gethnamaddr.c (getanswer): Likewise.
7667 (gethostbyname2): Likewise.
7668 (gethostbyaddr): Likewise.
7669 (_gethtent): Likewise.
7670 (_gethtbyname2): Likewise.
7671 (_gethtbyaddr): Likewise.
7672 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7673 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7674 * resolv/res_init.c (__res_vinit): Likewise.
7675 (net_mask): Likewise.
7676 * resolv/res_mkquery.c (outchar): Likewise.
7677 (PRINT): Likewise.
7678 * stdio-common/printf_fp.c (outchar): Likewise.
7679 (PRINT): Likewise.
7680 * stdio-common/printf_fphex.c (outchar): Likewise.
7681 (PRINT): Likewise.
7682 * stdio-common/printf_size.c (outchar): Likewise.
7683 (PRINT): Likewise.
7684 * stdio-common/test_rdwr.c (main): Likewise.
7685 * stdio-common/tfformat.c (matches): Likewise.
7686 * stdio-common/vfprintf.c (outchar): Likewise.
7687 (printf_unknown): Likewise.
7688 (buffered_vfprintf): Likewise.
7689 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7690 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7691 (ReadFile): Likewise.
7692 * stdlib/qsort.c (SWAP): Likewise.
7693 (_quicksort): Likewise.
7694 * stdlib/setenv.c (__add_to_environ): Likewise.
7695 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7696 * stdlib/strtol_l.c (__strtol_l): Likewise.
7697 * stdlib/tst-strtod.c (main): Likewise.
7698 * stdlib/tst-strtol.c (main): Likewise.
7699 * stdlib/tst-strtoll.c (main): Likewise.
7700 * string/bits/string2.h (__strcmp_cc): Likewise.
7701 (__strcmp_cg): Likewise.
7702 (__strcspn_c1): Likewise.
7703 (__strcspn_c2): Likewise.
7704 (__strcspn_c3): Likewise.
7705 (__strspn_c1): Likewise.
7706 (__strspn_c2): Likewise.
7707 (__strspn_c3): Likewise.
7708 (__strsep_1c): Likewise.
7709 (__strsep_2c): Likewise.
7710 (__strsep_3c): Likewise.
7711 * string/memccpy.c (__memccpy): Likewise.
7712 * string/stpcpy.c (__stpcpy): Likewise.
7713 * string/strcmp.c (strcmp): Likewise.
7714 * string/strrchr.c (strrchr): Likewise.
7715 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7716 Likewise.
7717 * sysdeps/mach/hurd/getcwd.c
7718 (_hurd_canonicalize_directory_name_internal): Likewise.
7719 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7720 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7721 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7722 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7723 Likewise, in both definitions.
7724 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7725 definitions.
7726 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7727 64] (__bswap_64): Likewise.
7728 * time/test_time.c (main): Likewise.
7729 * time/tzfile.c (__tzfile_read): Likewise.
7730 (__tzfile_compute): Likewise.
7731 * time/tzset.c (__tzset_parse_tz): Likewise.
7732 (tzset_internal): Likewise.
7733 (compute_change): Likewise.
7734 * wcsmbs/wcscat.c (__wcscat): Likewise.
7735 * wcsmbs/wcschr.c (wcschr): Likewise.
7736 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7737 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7738 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7739 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7740 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7741 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7742 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7743 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7744 * wcsmbs/wmemset.c (wmemset): Likewise.
7745
7746 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7747
7748 * scripts/config.guess: Update to version 2013-05-16.
7749 * scripts/config.sub: Update to version 2013-04-24.
7750 * scripts/install-sh: Update to version 2011-11-20.07.
7751 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7752 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7753
7754 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7755
7756 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7757 * elf/sln.c: Likewise.
7758 * hurd/hurd/ioctl.h: Likewise.
7759 * hurd/hurdmalloc.c: Likewise.
7760 * hurd/xattr.c: Likewise.
7761 * include/shlib-compat.h: Likewise.
7762 * inet/ruserpass.c: Likewise.
7763 * libio/iofgets_u.c: Likewise.
7764 * libio/iofgetws_u.c: Likewise.
7765 * locale/programs/ld-identification.c: Likewise.
7766 * locale/programs/ld-time.c: Likewise.
7767 * mach/msg-destroy.c: Likewise.
7768 * nss/nss_files/files-netgrp.c: Likewise.
7769 * resolv/res_data.c: Likewise.
7770 * soft-fp/op-1.h: Likewise.
7771 * soft-fp/op-2.h: Likewise.
7772 * soft-fp/op-4.h: Likewise.
7773 * soft-fp/op-common.h: Likewise.
7774 * stdio-common/printf_fphex.c: Likewise.
7775 * stdlib/strtod_l.c: Likewise.
7776 * sunrpc/rpc/clnt.h: Likewise.
7777 * sysdeps/generic/framestate.c: Likewise.
7778 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7779 * sysdeps/i386/bsd-setjmp.S: Likewise.
7780 * sysdeps/i386/__longjmp.S: Likewise.
7781 * sysdeps/i386/setjmp.S: Likewise.
7782 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7783 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7800 * sysdeps/ieee754/support.c: Likewise.
7801 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7802 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7803 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7804 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7805 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7806 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7807 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7808 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7809 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7810 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7811 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7812 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7813 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7814 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7815 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7816 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7817 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7819
7820 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7821
7822 * posix/transbug.c: Remove executable mode.
7823
7824 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7825
7826 * crypt/speeds.c: Remove trailing whitespace.
7827 * dlfcn/default.c: Likewise.
7828 * elf/ifuncdep2.c: Likewise.
7829 * elf/ifuncmain1.c: Likewise.
7830 * elf/ifuncmain1vis.c: Likewise.
7831 * elf/testobj.h: Likewise.
7832 * elf/tst-stackguard1.c: Likewise.
7833 * gmon/sys/gmon.h: Likewise.
7834 * hurd/hurdmsg.c: Likewise.
7835 * hurd/new-fd.c: Likewise.
7836 * hurd/ports-get.c: Likewise.
7837 * iconvdata/ibm1008_420.c: Likewise.
7838 * inet/tst-getni1.c: Likewise.
7839 * inet/tst-getni2.c: Likewise.
7840 * libio/ioungetc.c: Likewise.
7841 * libio/wfiledoalloc.c: Likewise.
7842 * manual/libm-err-tab.pl: Likewise.
7843 * math/w_dremf.c: Likewise.
7844 * misc/ftruncate.c: Likewise.
7845 * posix/bug-glob2.c: Likewise.
7846 * posix/tst-pcre.c: Likewise.
7847 * posix/wait4.c: Likewise.
7848 * resolv/README: Likewise.
7849 * resolv/res_debug.h: Likewise.
7850 * resolv/tst-inet_ntop.c: Likewise.
7851 * setjmp/bug269-setjmp.c: Likewise.
7852 * soft-fp/extended.h: Likewise.
7853 * soft-fp/op-1.h: Likewise.
7854 * soft-fp/op-2.h: Likewise.
7855 * soft-fp/op-4.h: Likewise.
7856 * soft-fp/op-8.h: Likewise.
7857 * soft-fp/testit.c: Likewise.
7858 * stdio-common/bug16.c: Likewise.
7859 * stdlib/random.c: Likewise.
7860 * sunrpc/rpcsvc/rquota.x: Likewise.
7861 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7862 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7863 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7864 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7865 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7866 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7867 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7869 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7870 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7871 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7890 * sysdeps/ieee754/s_lib_version.c: Likewise.
7891 * sysdeps/mach/hurd/check_fds.c: Likewise.
7892 * sysdeps/mach/hurd/getsockname.c: Likewise.
7893 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7894 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7895 * sysdeps/powerpc/bits/link.h: Likewise.
7896 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7897 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7898 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7899 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7900 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7901 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7902 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7903 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7904 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7905 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7906 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7909 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7910 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7911 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7915 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7916 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7917 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7919 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7920 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7922 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7923 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7924 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7927 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7928 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7930 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7931 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7932 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7933 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7934 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7935 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7936 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7937 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7938 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7939 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7940 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7941 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7942 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7943 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7944 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7945 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7948 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7949 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7950 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7951 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7952 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7954 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7955 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7956 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7957 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7960 * sysdeps/powerpc/sysdep.h: Likewise.
7961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7962 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7963 * sysdeps/sh/dl-trampoline.S: Likewise.
7964 * sysdeps/sh/memset.S: Likewise.
7965 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7966 * sysdeps/sh/strlen.S: Likewise.
7967 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7968 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7969 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7970 * sysdeps/sparc/sparc32/rem.S: Likewise.
7971 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7972 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7973 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7974 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7975 * sysdeps/sparc/sparc32/urem.S: Likewise.
7976 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7977 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7978 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7979 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7981 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7982 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7983 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7984 * sysdeps/unix/bsd/times.c: Likewise.
7985 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7986 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7992 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7993 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7994 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7995 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7996 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7997 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7998 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7999 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8000 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8002 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8003 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8005 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8006 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8007 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8008 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8009 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8010 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8013 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8014 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8015 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8016 * sysdeps/x86_64/strcspn.S: Likewise.
8017
8018 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8019
8020 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8021 generated file. Regenerate properly from gen-translit.pl.
8022 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8023 locale/C-translit.h.
8024
8025 2013-06-05 Andreas Schwab <schwab@suse.de>
8026
8027 [BZ #15100]
8028 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8029 week as 6 instead of -1.
8030 * time/tst-strptime.c (day_tests): Add test case.
8031
8032 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8033
8034 * sysdeps/generic/math_private.h
8035 (libc_feholdexcept_setround_53bit): Replace with
8036 libc_feholdsetround_53bit.
8037 (libc_feupdateenv_53bit): Replace with
8038 libc_feresetround_53bit.
8039 (SET_RESTORE_ROUND_53BIT): Adjust.
8040
8041 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8042
8043 * string/test-strchrnul.c: Add copyright header.
8044
8045 * posix/tst-getaddrinfo4.c: Increase test timeout.
8046
8047 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8048
8049 [BZ #15536]
8050 * math/libm-test.inc (MAX_EXP): Remove
8051 (MIN_EXP): Define.
8052 (ulp): Use MIN_EXP - MANT_DIG.
8053 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8054
8055 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8056
8057 * po/be.po: Revert last change.
8058 * po/zh_CN.po: Likewise.
8059 * po/header.pot: Likewise.
8060
8061 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8062
8063 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8064 link-libc-deps to empty as target-specific variable.
8065 * Makerules (link-libc-args): New variable.
8066 (libc-for-link): Likewise.
8067 (link-libc-deps): Likewise.
8068 (lib%.so): Depend on $(link-libc-deps). Link with
8069 $(link-libc-args).
8070 (build-module): Link with $(link-libc-args).
8071 (build-module-asneeded): Likewise.
8072 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8073 list of objects.
8074 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8075 target-specific variable.
8076 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8077 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8078 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8079 libc.
8080 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8081 libc and ld.so.
8082 ($(objpfx)libpcprofile.so): Likewise.
8083 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8084 libc_nonshared.a.
8085 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8086 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8087 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8088 $(link-libc-deps).
8089 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8090 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8091 * login/Makefile ($(objpfx)libutil.so): Likewise.
8092 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8093 * math/Makefile ($(objpfx)libm.so): Likewise.
8094 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8095 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8096 variable instead of depending directly on libc.
8097 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8098 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8099 $(link-libc-deps).
8100 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8101 libc.
8102 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8103 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8104 ($(objpfx)libanl.so): Likewise.
8105 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8106 ld.so.
8107 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8108 $(link-libc-deps).
8109 * sysdeps/i386/fpu/Makefile: Remove file.
8110 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8111 ($(objpfx)libm.so): Remove dependency on ld.so.
8112
8113 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8114
8115 [BZ # 15553]
8116 * nis/yp_xdr.c (XDRMAXNAME): Define.
8117 (XDRMAXRECORD): Define.
8118 (xdr_domainname): Use XDRMAXNAME.
8119 (xdr_mapname): Likewise.
8120 (xdr_peername): Likewise.
8121 (xdr_keydat): Use XDRMAXRECORD.
8122 (xdr_valdat): Likewise.
8123
8124 2013-05-30 Jeff Law <law@redhat.com>
8125
8126 [BZ #14256]
8127 * manual/errno.texi (ESTALE): Update to account for more than
8128 just NFS file systems.
8129 * sysdeps/gnu/errlist.c: Regenerated.
8130
8131 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8132
8133 [BZ #15465]
8134 * elf/Makefile (tests): Add tst-null-argv.
8135 (modules-names): Add tst-null-argv-lib.
8136 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8137 (tst-null-argv-ENV): Set environment for tst-null-argv.
8138 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8139 (RTLD_PROGNAME): New macro.
8140 * elf/tst-null-argv.c: New test case.
8141 * elf/tst-null-argv-lib.c: Library for test case.
8142 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8143 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8144 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8145 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8146 * elf/dl-init.c (call_init): Likewise.
8147 (_dl_init): Likewise.
8148 * elf/dl-load.c (print_search_path): Likewise.
8149 (_dl_map_object): Likewise.
8150 * elf/dl-lookup.c (do_lookup_x): Likewise.
8151 (add_dependency): Likewise.
8152 (_dl_lookup_symbol_x): Likewise.
8153 (_dl_debug_bindings): Likewise.
8154 * elf/dl-open.c (_dl_show_scope): Likewise.
8155 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8156 * elf/dl-version.c (match_symbol): Likewise.
8157 (_dl_check_map_versions): Likewise.
8158 * elf/rtld.c (dl_main): Likewise.
8159 (print_unresolved): Use RTLD_PROGNAME.
8160 (print_missing_version): Likewise.
8161 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8162 (elf_machine_rela): Likewise.
8163 * sysdeps/powerpc/powerpc32/dl-machine.c
8164 (__process_machine_rela): Likewise.
8165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8166 Likewise.
8167 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8168 Likewise.
8169 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8170 Likewise.
8171 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8173 Likewise.
8174 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8175 Likewise.
8176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8177
8178 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8179
8180 * po/be.po: Add descriptive title.
8181 * po/zh_CN.po: Likewise.
8182 * po/header.pot: Likewise.
8183
8184 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8185
8186 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8187 error message.
8188 (enlarge_archive): Likewise.
8189
8190 2013-05-28 Ben North <ben@redfrontdoor.org>
8191
8192 * manual/arith.texi (frexp): It is the magnitude of the return
8193 value which lies in [0.5, 1), not the return value itself.
8194
8195 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8196
8197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8198
8199 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8200
8201 * stdio-common/bug26.c (main): Correct fscanf template.
8202
8203 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8204 declare _dl_skip_args.
8205
8206 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8207 Don't declare.
8208
8209 * manual/platform.texi: Add missing @end deftypefun.
8210
8211 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8212
8213 [BZ #15529]
8214 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8215 bit of mantissa of 2^16382.
8216 * math/libm-test.inc (hypot_test_data): Add more tests.
8217
8218 * math/libm-test.inc: Add drem and pow10 to list of tested
8219 functions.
8220 (pow10_test): New function.
8221 (drem_test): Likewise.
8222 (drem_test_tonearest): Likewise.
8223 (drem_test_towardzero): Likewise.
8224 (drem_test_downward): Likewise.
8225 (drem_test_upward): Likewise.
8226 (main): Call the new functions.
8227
8228 * math/libm-test.inc (finite_test_data): Remove.
8229 (finite_test): Run tests from isfinite_test_data.
8230 (gamma_test_data): Remove.
8231 (gamma_test): Run tests from lgamma_test_data.
8232 * sysdeps/i386/fpu/libm-test-ulps: Update.
8233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8234
8235 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8236
8237 * manual/platform.texi: Add PowerPC PPR function set documentation.
8238 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8239 implementation.
8240
8241 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8242
8243 * math/libm-test.inc (MAX_EXP): Define.
8244 (ULPDIFF): Define.
8245 (ulp): New function.
8246 (check_float_internal): Use ULPDIFF.
8247 (cpow_test): Disable failing test.
8248 (check_ulp): Test ulp() implemetnation.
8249 (main): Call check_ulp before starting tests.
8250
8251 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8252
8253 * math/gen-libm-test.pl (generate_testfile): Do not handle
8254 START_DATA and END_DATA.
8255 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8256 END_DATA.
8257 (acos_tonearest_test_data): Likewise.
8258 (acos_towardzero_test_data): Likewise.
8259 (acos_downward_test_data): Likewise.
8260 (acos_upward_test_data): Likewise.
8261 (acosh_test_data): Likewise.
8262 (asin_test_data): Likewise.
8263 (asin_tonearest_test_data): Likewise.
8264 (asin_towardzero_test_data): Likewise.
8265 (asin_downward_test_data): Likewise.
8266 (asin_upward_test_data): Likewise.
8267 (asinh_test_data): Likewise.
8268 (atan_test_data): Likewise.
8269 (atanh_test_data): Likewise.
8270 (atan2_test_data): Likewise.
8271 (cabs_test_data): Likewise.
8272 (cacos_test_data): Likewise.
8273 (cacosh_test_data): Likewise.
8274 (carg_test_data): Likewise.
8275 (casin_test_data): Likewise.
8276 (casinh_test_data): Likewise.
8277 (catan_test_data): Likewise.
8278 (catanh_test_data): Likewise.
8279 (cbrt_test_data): Likewise.
8280 (ccos_test_data): Likewise.
8281 (ccosh_test_data): Likewise.
8282 (ceil_test_data): Likewise.
8283 (cexp_test_data): Likewise.
8284 (cimag_test_data): Likewise.
8285 (clog_test_data): Likewise.
8286 (clog10_test_data): Likewise.
8287 (conj_test_data): Likewise.
8288 (copysign_test_data): Likewise.
8289 (cos_test_data): Likewise.
8290 (cos_tonearest_test_data): Likewise.
8291 (cos_towardzero_test_data): Likewise.
8292 (cos_downward_test_data): Likewise.
8293 (cos_upward_test_data): Likewise.
8294 (cosh_test_data): Likewise.
8295 (cosh_tonearest_test_data): Likewise.
8296 (cosh_towardzero_test_data): Likewise.
8297 (cosh_downward_test_data): Likewise.
8298 (cosh_upward_test_data): Likewise.
8299 (cpow_test_data): Likewise.
8300 (cproj_test_data): Likewise.
8301 (creal_test_data): Likewise.
8302 (csin_test_data): Likewise.
8303 (csinh_test_data): Likewise.
8304 (csqrt_test_data): Likewise.
8305 (ctan_test_data): Likewise.
8306 (ctan_tonearest_test_data): Likewise.
8307 (ctan_towardzero_test_data): Likewise.
8308 (ctan_downward_test_data): Likewise.
8309 (ctan_upward_test_data): Likewise.
8310 (ctanh_test_data): Likewise.
8311 (ctanh_tonearest_test_data): Likewise.
8312 (ctanh_towardzero_test_data): Likewise.
8313 (ctanh_downward_test_data): Likewise.
8314 (ctanh_upward_test_data): Likewise.
8315 (erf_test_data): Likewise.
8316 (erfc_test_data): Likewise.
8317 (exp_test_data): Likewise.
8318 (exp_tonearest_test_data): Likewise.
8319 (exp_towardzero_test_data): Likewise.
8320 (exp_downward_test_data): Likewise.
8321 (exp_upward_test_data): Likewise.
8322 (exp10_test_data): Likewise.
8323 (exp2_test_data): Likewise.
8324 (expm1_test_data): Likewise.
8325 (fabs_test_data): Likewise.
8326 (fdim_test_data): Likewise.
8327 (finite_test_data): Likewise.
8328 (floor_test_data): Likewise.
8329 (fma_test_data): Likewise.
8330 (fma_towardzero_test_data): Likewise.
8331 (fma_downward_test_data): Likewise.
8332 (fma_upward_test_data): Likewise.
8333 (fmax_test_data): Likewise.
8334 (fmin_test_data): Likewise.
8335 (fmod_test_data): Likewise.
8336 (fpclassify_test_data): Likewise.
8337 (frexp_test_data): Likewise.
8338 (gamma_test_data): Likewise.
8339 (hypot_test_data): Likewise.
8340 (ilogb_test_data): Likewise.
8341 (isfinite_test_data): Likewise.
8342 (isgreater_test_data): Likewise.
8343 (isgreaterequal_test_data): Likewise.
8344 (isinf_test_data): Likewise.
8345 (isless_test_data): Likewise.
8346 (islessequal_test_data): Likewise.
8347 (islessgreater_test_data): Likewise.
8348 (isnan_test_data): Likewise.
8349 (isnormal_test_data): Likewise.
8350 (issignaling_test_data): Likewise.
8351 (isunordered_test_data): Likewise.
8352 (j0_test_data): Likewise.
8353 (j1_test_data): Likewise.
8354 (jn_test_data): Likewise.
8355 (ldexp_test_data): Likewise.
8356 (lgamma_test_data): Likewise.
8357 (lrint_test_data): Likewise.
8358 (lrint_tonearest_test_data): Likewise.
8359 (lrint_towardzero_test_data): Likewise.
8360 (lrint_downward_test_data): Likewise.
8361 (lrint_upward_test_data): Likewise.
8362 (llrint_test_data): Likewise.
8363 (llrint_tonearest_test_data): Likewise.
8364 (llrint_towardzero_test_data): Likewise.
8365 (llrint_downward_test_data): Likewise.
8366 (llrint_upward_test_data): Likewise.
8367 (log_test_data): Likewise.
8368 (log10_test_data): Likewise.
8369 (log1p_test_data): Likewise.
8370 (log2_test_data): Likewise.
8371 (logb_test_data): Likewise.
8372 (logb_downward_test_data): Likewise.
8373 (lround_test_data): Likewise.
8374 (llround_test_data): Likewise.
8375 (modf_test_data): Likewise.
8376 (nearbyint_test_data): Likewise.
8377 (nextafter_test_data): Likewise.
8378 (nexttoward_test_data): Likewise.
8379 (pow_test_data): Likewise.
8380 (pow_tonearest_test_data): Likewise.
8381 (pow_towardzero_test_data): Likewise.
8382 (pow_downward_test_data): Likewise.
8383 (pow_upward_test_data): Likewise.
8384 (remainder_test_data): Likewise.
8385 (remainder_tonearest_test_data): Likewise.
8386 (remainder_towardzero_test_data): Likewise.
8387 (remainder_downward_test_data): Likewise.
8388 (remainder_upward_test_data): Likewise.
8389 (remquo_test_data): Likewise.
8390 (rint_test_data): Likewise.
8391 (rint_tonearest_test_data): Likewise.
8392 (rint_towardzero_test_data): Likewise.
8393 (rint_downward_test_data): Likewise.
8394 (rint_upward_test_data): Likewise.
8395 (round_test_data): Likewise.
8396 (scalb_test_data): Likewise.
8397 (scalbn_test_data): Likewise.
8398 (scalbln_test_data): Likewise.
8399 (signbit_test_data): Likewise.
8400 (sin_test_data): Likewise.
8401 (sin_tonearest_test_data): Likewise.
8402 (sin_towardzero_test_data): Likewise.
8403 (sin_downward_test_data): Likewise.
8404 (sin_upward_test_data): Likewise.
8405 (sincos_test_data): Likewise.
8406 (sinh_test_data): Likewise.
8407 (sinh_tonearest_test_data): Likewise.
8408 (sinh_towardzero_test_data): Likewise.
8409 (sinh_downward_test_data): Likewise.
8410 (sinh_upward_test_data): Likewise.
8411 (sqrt_test_data): Likewise.
8412 (tan_test_data): Likewise.
8413 (tan_tonearest_test_data): Likewise.
8414 (tan_towardzero_test_data): Likewise.
8415 (tan_downward_test_data): Likewise.
8416 (tan_upward_test_data): Likewise.
8417 (tanh_test_data): Likewise.
8418 (tgamma_test_data): Likewise.
8419 (trunc_test_data): Likewise.
8420 (y0_test_data): Likewise.
8421 (y1_test_data): Likewise.
8422 (yn_test_data): Likewise.
8423 (significand_test_data): Likewise.
8424
8425 * math/gen-libm-test.pl (@functions): Remove variable.
8426 (generate_testfile): Don't handle START and END lines.
8427 * math/libm-test.inc (START): New macro.
8428 (END): Likewise.
8429 (END_COMPLEX): Likewise.
8430 (acos_test): Use END macro without arguments.
8431 (acos_test_tonearest): Likewise.
8432 (acos_test_towardzero): Likewise.
8433 (acos_test_downward): Likewise.
8434 (acos_test_upward): Likewise.
8435 (acosh_test): Likewise.
8436 (asin_test): Likewise.
8437 (asin_test_tonearest): Likewise.
8438 (asin_test_towardzero): Likewise.
8439 (asin_test_downward): Likewise.
8440 (asin_test_upward): Likewise.
8441 (asinh_test): Likewise.
8442 (atan_test): Likewise.
8443 (atanh_test): Likewise.
8444 (atan2_test): Likewise.
8445 (cabs_test): Likewise.
8446 (cacos_test): Use END_COMPLEX macro without arguments.
8447 (cacosh_test): Likewise.
8448 (carg_test): Use END macro without arguments.
8449 (casin_test): Use END_COMPLEX macro without arguments.
8450 (casinh_test): Likewise.
8451 (catan_test): Likewise.
8452 (catanh_test): Likewise.
8453 (cbrt_test): Use END macro without arguments.
8454 (ccos_test): Use END_COMPLEX macro without arguments.
8455 (ccosh_test): Likewise.
8456 (ceil_test): Use END macro without arguments.
8457 (cexp_test): Use END_COMPLEX macro without arguments.
8458 (cimag_test): Use END macro without arguments.
8459 (clog_test): Use END_COMPLEX macro without arguments.
8460 (clog10_test): Likewise.
8461 (conj_test): Likewise.
8462 (copysign_test): Use END macro without arguments.
8463 (cos_test): Likewise.
8464 (cos_test_tonearest): Likewise.
8465 (cos_test_towardzero): Likewise.
8466 (cos_test_downward): Likewise.
8467 (cos_test_upward): Likewise.
8468 (cosh_test): Likewise.
8469 (cosh_test_tonearest): Likewise.
8470 (cosh_test_towardzero): Likewise.
8471 (cosh_test_downward): Likewise.
8472 (cosh_test_upward): Likewise.
8473 (cpow_test): Use END_COMPLEX macro without arguments.
8474 (cproj_test): Likewise.
8475 (creal_test): Use END macro without arguments.
8476 (csin_test): Use END_COMPLEX macro without arguments.
8477 (csinh_test): Likewise.
8478 (csqrt_test): Likewise.
8479 (ctan_test): Likewise.
8480 (ctan_test_tonearest): Likewise.
8481 (ctan_test_towardzero): Likewise.
8482 (ctan_test_downward): Likewise.
8483 (ctan_test_upward): Likewise.
8484 (ctanh_test): Likewise.
8485 (ctanh_test_tonearest): Likewise.
8486 (ctanh_test_towardzero): Likewise.
8487 (ctanh_test_downward): Likewise.
8488 (ctanh_test_upward): Likewise.
8489 (erf_test): Use END macro without arguments.
8490 (erfc_test): Likewise.
8491 (exp_test): Likewise.
8492 (exp_test_tonearest): Likewise.
8493 (exp_test_towardzero): Likewise.
8494 (exp_test_downward): Likewise.
8495 (exp_test_upward): Likewise.
8496 (exp10_test): Likewise.
8497 (exp2_test): Likewise.
8498 (expm1_test): Likewise.
8499 (fabs_test): Likewise.
8500 (fdim_test): Likewise.
8501 (finite_test): Likewise.
8502 (floor_test): Likewise.
8503 (fma_test): Likewise.
8504 (fma_test_towardzero): Likewise.
8505 (fma_test_downward): Likewise.
8506 (fma_test_upward): Likewise.
8507 (fmax_test): Likewise.
8508 (fmin_test): Likewise.
8509 (fmod_test): Likewise.
8510 (fpclassify_test): Likewise.
8511 (frexp_test): Likewise.
8512 (gamma_test): Likewise.
8513 (hypot_test): Likewise.
8514 (ilogb_test): Likewise.
8515 (isfinite_test): Likewise.
8516 (isgreater_test): Likewise.
8517 (isgreaterequal_test): Likewise.
8518 (isinf_test): Likewise.
8519 (isless_test): Likewise.
8520 (islessequal_test): Likewise.
8521 (islessgreater_test): Likewise.
8522 (isnan_test): Likewise.
8523 (isnormal_test): Likewise.
8524 (issignaling_test): Likewise.
8525 (isunordered_test): Likewise.
8526 (j0_test): Likewise.
8527 (j1_test): Likewise.
8528 (jn_test): Likewise.
8529 (ldexp_test): Likewise.
8530 (lgamma_test): Likewise.
8531 (lrint_test): Likewise.
8532 (lrint_test_tonearest): Likewise.
8533 (lrint_test_towardzero): Likewise.
8534 (lrint_test_downward): Likewise.
8535 (lrint_test_upward): Likewise.
8536 (llrint_test): Likewise.
8537 (llrint_test_tonearest): Likewise.
8538 (llrint_test_towardzero): Likewise.
8539 (llrint_test_downward): Likewise.
8540 (llrint_test_upward): Likewise.
8541 (log_test): Likewise.
8542 (log10_test): Likewise.
8543 (log1p_test): Likewise.
8544 (log2_test): Likewise.
8545 (logb_test): Likewise.
8546 (logb_test_downward): Likewise.
8547 (lround_test): Likewise.
8548 (llround_test): Likewise.
8549 (modf_test): Likewise.
8550 (nearbyint_test): Likewise.
8551 (nextafter_test): Likewise.
8552 (nexttoward_test): Likewise.
8553 (pow_test): Likewise.
8554 (pow_test_tonearest): Likewise.
8555 (pow_test_towardzero): Likewise.
8556 (pow_test_downward): Likewise.
8557 (pow_test_upward): Likewise.
8558 (remainder_test): Likewise.
8559 (remainder_test_tonearest): Likewise.
8560 (remainder_test_towardzero): Likewise.
8561 (remainder_test_downward): Likewise.
8562 (remainder_test_upward): Likewise.
8563 (remquo_test): Likewise.
8564 (rint_test): Likewise.
8565 (rint_test_tonearest): Likewise.
8566 (rint_test_towardzero): Likewise.
8567 (rint_test_downward): Likewise.
8568 (rint_test_upward): Likewise.
8569 (round_test): Likewise.
8570 (scalb_test): Likewise.
8571 (scalbn_test): Likewise.
8572 (scalbln_test): Likewise.
8573 (signbit_test): Likewise.
8574 (sin_test): Likewise.
8575 (sin_test_tonearest): Likewise.
8576 (sin_test_towardzero): Likewise.
8577 (sin_test_downward): Likewise.
8578 (sin_test_upward): Likewise.
8579 (sincos_test): Likewise.
8580 (sinh_test): Likewise.
8581 (sinh_test_tonearest): Likewise.
8582 (sinh_test_towardzero): Likewise.
8583 (sinh_test_downward): Likewise.
8584 (sinh_test_upward): Likewise.
8585 (sqrt_test): Likewise.
8586 (tan_test): Likewise.
8587 (tan_test_tonearest): Likewise.
8588 (tan_test_towardzero): Likewise.
8589 (tan_test_downward): Likewise.
8590 (tan_test_upward): Likewise.
8591 (tanh_test): Likewise.
8592 (tgamma_test): Likewise.
8593 (trunc_test): Likewise.
8594 (y0_test): Likewise.
8595 (y1_test): Likewise.
8596 (yn_test): Likewise.
8597 (significand_test): Likewise.
8598
8599 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8600
8601 [BZ #15381]
8602 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8603
8604 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8605
8606 [BZ #14894]
8607 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8608 __ppc_mdoio and __ppc_mdoom.
8609 * manual/platform.texi: Document new functions __ppc_yield,
8610 __ppc_mdoio and __ppc_mdoom.
8611
8612 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8613
8614 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8615 (main): Mention "tls" pseudo-hwcap is legacy.
8616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8617
8618 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8619
8620 * math/gen-libm-test.pl (parse_args): Output only string of
8621 arguments as text for test name, not full call or descriptions of
8622 tests for extra outputs.
8623 (generate_testfile): Do not pass function name to parse_args.
8624 Generate this_func variable from START.
8625 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8626 field to arg_str.
8627 (struct test_ff_f_data): Likewise.
8628 (test_ff_f_data_nexttoward): Likewise.
8629 (struct test_fi_f_data): Likewise.
8630 (struct test_fl_f_data): Likewise.
8631 (struct test_if_f_data): Likewise.
8632 (struct test_fff_f_data): Likewise.
8633 (struct test_c_f_data): Likewise.
8634 (struct test_f_f1_data): Likewise. Remove field extra_name.
8635 (struct test_fF_f1_data): Likewise.
8636 (struct test_ffI_f1_data): Likewise.
8637 (struct test_c_c_data): Rename test_name field to arg_str.
8638 (struct test_cc_c_data): Likewise.
8639 (struct test_f_i_data): Likewise.
8640 (struct test_ff_i_data): Likewise.
8641 (struct test_f_l_data): Likewise.
8642 (struct test_f_L_data): Likewise.
8643 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8644 and extra2_name.
8645 (COMMON_TEST_SETUP): New macro.
8646 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8647 (COMMON_TEST_CLEANUP): Likewise.
8648 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8649 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8650 macros.
8651 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8652 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8653 macros.
8654 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8655 (RUN_TEST_fff_f): Take argument string. Call new setup and
8656 cleanup macros.
8657 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8658 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8659 macros.
8660 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8661 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8662 macros.
8663 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8664 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8665 cleanup macros.
8666 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8667 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8668 cleanup macros.
8669 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8670 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8671 cleanup macros.
8672 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8673 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8674 macros.
8675 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8676 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8677 macros.
8678 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8679 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8680 macros.
8681 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8682 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8683 cleanup macros.
8684 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8685 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8686 cleanup macros.
8687 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8688 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8689 macros.
8690 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8691 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8692 cleanup macros.
8693 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8694 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8695 macros.
8696 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8697 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8698 macros.
8699 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8700 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8701 cleanup macros.
8702 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8703
8704 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8705
8706 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8707 to _sifields.sigfault.
8708 (si_addr_lsb): Define new macro.
8709 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8711 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8712
8713 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8714
8715 [BZ #15441]
8716 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8717 returns -1.
8718 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8719 null return -1.
8720 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8721 loading the domain.
8722
8723 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8724
8725 * math/gen-libm-test.pl (parse_args): Do not include expected
8726 result in test name.
8727 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8728 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8729 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8730 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8731 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8733
8734 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8735
8736 * benchtests/Makefile: Sort function entries.
8737
8738 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8739 tanh, asinh, acosh, atanh.
8740 * benchtests/acos-inputs: New file.
8741 * benchtests/acosh-inputs: New file.
8742 * benchtests/asin-inputs: New file.
8743 * benchtests/asinh-inputs: New file.
8744 * benchtests/atanh-inputs: New file.
8745 * benchtests/cosh-inputs: New file.
8746 * benchtests/log-inputs: New file.
8747 * benchtests/sinh-inputs: New file.
8748 * benchtests/tanh-inputs: New file.
8749
8750 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8751
8752 [BZ #15339]
8753 * posix/tst-getaddrinfo4.c: New test.
8754 * posix/Makefile (tests): Add it.
8755
8756 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8757
8758 [BZ #15339]
8759 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8760 when no services were used.
8761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8762 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8763
8764 2013-05-21 Andreas Schwab <schwab@suse.de>
8765
8766 [BZ #15014]
8767 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8768 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8769 successful.
8770 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8771 redundant variable declarations and reallocation of buffer when
8772 parsing as IPv6 address. Always set NSS status when called from
8773 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8774 buffer too small. Correct computation of needed size.
8775 * nss/Makefile (tests): Add test-digits-dots.
8776 * nss/test-digits-dots.c: New test.
8777
8778 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8779
8780 * benchtests/Makefile: Remove instructions for adding
8781 benchmark tests.
8782 * benchtests/README: New file to explain how to execute and
8783 enhance the benchmark tests.
8784
8785 2013-05-21 Andreas Schwab <schwab@suse.de>
8786
8787 [BZ #15493]
8788 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8789 * setjmp/tst-sigsetjmp.c: New test.
8790
8791 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8792
8793 * sysdeps/x86_64/memset.S (memset): New implementation.
8794 (__bzero): Likewise.
8795 (__memset_tail): New function.
8796
8797 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8798
8799 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8800 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8801 __memcpy_sse2_unaligned ifunc selection.
8802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8803 Add memcpy-sse2-unaligned.S.
8804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8805 Add: __memcpy_sse2_unaligned.
8806
8807 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8808
8809 [BZ #15490]
8810 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8811 math_force_eval before restoring floating-point envrionment.
8812 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8814 Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8816 <math_private.h>.
8817 (__nearbyintl): Use math_force_eval before restoring
8818 floating-point environment.
8819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8820
8821 * math/gen-libm-test.pl (special_functions): Remove.
8822 (parse_args): Don't handle TEST_extra. Handle functions with no
8823 return value.
8824 * math/libm-test.inc (struct test_sincos_data): Replace with
8825 struct test_fFF_11_data.
8826 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8827 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8828 (sincos_test_data): Change element type to struct
8829 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8830 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8831 RUN_TEST_LOOP_sincos.
8832 * math/README.libm-test: Don't mention special handling of
8833 individual functions.
8834 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8836 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8837 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8838 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8840
8841 * math/gen-libm-test.pl (get_variable): Remove function.
8842 (parse_args): Don't show pointer parameters to call in test
8843 names. Use "extra output N" in test names for extra outputs
8844 rather than naming variables.
8845
8846 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8847
8848 [BZ #15488]
8849 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8850 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8851 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8852 double tests.
8853 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8854 disable.
8855 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8856 check_long_double.
8857
8858 * math/gen-libm-test.pl (@tests): Remove variable.
8859 ($count): Likewise.
8860 (new_test): Remove function.
8861 (show_exceptions): New function.
8862 (special_functions): Use show_exceptions instead of new_test.
8863 (parse_args): Likewise.
8864 (generate_testfile): Pass only function name in generated call to
8865 print_max_error or print_complex_max_error.
8866 (get_ulps): Do not handle complex tests specially.
8867 (output_test): Rename to ...
8868 (get_all_ulps_for_test): ... this. Return a string rather than
8869 printing to a file. Require ulps to be present.
8870 (output_ulps): Generate arrays rather than #defines.
8871 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8872 (struct ulp_data): New type.
8873 (BUILD_COMPLEX_ULP): Remove macro.
8874 (compare_ulp_data): New function.
8875 (find_ulps): Likewise.
8876 (find_test_ulps): Likewise.
8877 (find_function_ulps): Likewise.
8878 (find_complex_function_ulps): Likewise.
8879 (print_max_error): Determine allowed ulps using
8880 find_function_ulps.
8881 (print_complex_max_error): Determine allowed ulps using
8882 find_complex_function_ulps.
8883 (check_float_internal): Determine max ulps using find_test_ulps.
8884 (check_float): Do not take max_ulp parameter. Update call to
8885 check_float_internal.
8886 (check_complex): Likewise.
8887 (check_int): Do not take max_ulp parameter.
8888 (check_long): Likewise.
8889 (check_bool): Likewise.
8890 (check_longlong): Likewise.
8891 (struct test_f_f_data): Remove max_ulp field.
8892 (struct test_ff_f_data): Likewise.
8893 (struct test_ff_f_data_nexttoward): Likewise.
8894 (struct test_fi_f_data): Likewise.
8895 (struct test_fl_f_data): Likewise.
8896 (struct test_if_f_data): Likewise.
8897 (struct test_fff_f_data): Likewise.
8898 (struct test_c_f_data): Likewise.
8899 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8900 (struct test_fF_f1_data): Likewise.
8901 (struct test_ffI_f1_data): Likewise.
8902 (struct test_c_c_data): Remove max_ulp field.
8903 (struct test_cc_c_data): Likewise.
8904 (struct test_f_i_data): Likewise.
8905 (struct test_ff_i_data): Likewise.
8906 (struct test_f_l_data): Likewise.
8907 (struct test_f_L_data): Likewise.
8908 (struct test_sincos_data): Likewise.
8909 (RUN_TEST_f_f): Do not handle ulps.
8910 (RUN_TEST_LOOP_f_f): Likewise.
8911 (RUN_TEST_2_f): Likewise.
8912 (RUN_TEST_LOOP_2_f): Likewise.
8913 (RUN_TEST_fff_f): Likewise.
8914 (RUN_TEST_LOOP_fff_f): Likewise.
8915 (RUN_TEST_c_f): Likewise.
8916 (RUN_TEST_LOOP_c_f): Likewise.
8917 (RUN_TEST_f_f1): Likewise.
8918 (RUN_TEST_LOOP_f_f1): Likewise.
8919 (RUN_TEST_fF_f1): Likewise.
8920 (RUN_TEST_LOOP_fF_f1): Likewise.
8921 (RUN_TEST_fI_f1): Likewise.
8922 (RUN_TEST_LOOP_fI_f1): Likewise.
8923 (RUN_TEST_ffI_f1): Likewise.
8924 (RUN_TEST_LOOP_ffI_f1): Likewise.
8925 (RUN_TEST_c_c): Likewise.
8926 (RUN_TEST_LOOP_c_c): Likewise.
8927 (RUN_TEST_cc_c): Likewise.
8928 (RUN_TEST_LOOP_cc_c): Likewise.
8929 (RUN_TEST_f_i): Likewise.
8930 (RUN_TEST_LOOP_f_i): Likewise.
8931 (RUN_TEST_f_i_tg): Likewise.
8932 (RUN_TEST_LOOP_f_i_tg): Likewise.
8933 (RUN_TEST_ff_i_tg): Likewise.
8934 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8935 (RUN_TEST_f_b): Likewise.
8936 (RUN_TEST_LOOP_f_b): Likewise.
8937 (RUN_TEST_f_b_tg): Likewise.
8938 (RUN_TEST_LOOP_f_b_tg): Likewise.
8939 (RUN_TEST_f_l): Likewise.
8940 (RUN_TEST_LOOP_f_l): Likewise.
8941 (RUN_TEST_f_L): Likewise.
8942 (RUN_TEST_LOOP_f_L): Likewise.
8943 (RUN_TEST_sincos): Likewise.
8944 (RUN_TEST_LOOP_sincos): Likewise.
8945
8946 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8947
8948 [BZ #15480]
8949 [BZ #15485]
8950 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8951 main case of finite arguments, set rounding mode to FE_TONEAREST
8952 and discard exceptions.
8953 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8954 exceptions.
8955 (remainder_tonearest_test_data): New variable.
8956 (remainder_test_tonearest): New function.
8957 (remainder_towardzero_test_data): New variable.
8958 (remainder_test_towardzero): New function.
8959 (remainder_downward_test_data): New variable.
8960 (remainder_test_downward): New function.
8961 (remainder_upward_test_data): New variable.
8962 (remainder_test_upward): New function.
8963 (main): Call the new test functions.
8964
8965 * math/libm-test.inc (struct test_f_f1_data): Remove field
8966 extra_init.
8967 (struct test_fF_f1_data): Likewise.
8968 (struct test_ffI_f1_data): Likewise.
8969 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8970 based on value of EXTRA_EXPECTED.
8971 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8972 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8973 EXTRA_VAR based on value of EXTRA_EXPECTED.
8974 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8975 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8976 EXTRA_VAR based on value of EXTRA_EXPECTED.
8977 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8978 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8979 EXTRA_VAR based on value of EXTRA_EXPECTED.
8980 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8981 * math/gen-libm-test.pl (parse_args): Don't output initializers
8982 for extra output values.
8983
8984 * math/libm-test.inc (check_int): Expect result to be exactly
8985 equal to expected value and do not handle ulps.
8986 (check_long): Likewise.
8987 (check_longlong): Likewise.
8988
8989 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8990 exceptions.
8991 (cimag_test_data): Likewise.
8992 (conj_test_data): Likewise.
8993 (copysign_test_data): Likewise.
8994 (cproj_test_data): Likewise.
8995 (creal_test_data): Likewise.
8996 (fabs_test_data): Likewise.
8997 (fdim_test_data): Likewise.
8998 (finite_test_data): Likewise.
8999 (floor_test_data): Likewise.
9000 (fmax_test_data): Likewise.
9001 (fmin_test_data): Likewise.
9002 (fmod_test_data): Likewise.
9003 (fpclassify_test_data): Likewise.
9004 (frexp_test_data): Likewise.
9005 (ilogb_test_data): Likewise.
9006 (isfinite_test_data): Likewise.
9007 (isgreater_test_data): Likewise.
9008 (isgreaterequal_test_data): Likewise.
9009 (isinf_test_data): Likewise.
9010 (isless_test_data): Likewise.
9011 (islessequal_test_data): Likewise.
9012 (islessgreater_test_data): Likewise.
9013 (isnan_test_data): Likewise.
9014 (isnormal_test_data): Likewise.
9015 (issignaling_test_data): Likewise.
9016 (isunordered_test_data): Likewise.
9017 (ldexp_test_data): Likewise.
9018 (lrint_test_data): Likewise.
9019 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9020 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9021 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9022 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9023 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9024 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9025 test input.
9026 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9027 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9028 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9029 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9030 that test input.
9031 (lrint_downward_test_data): Test for "inexact" exceptions.
9032 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9033 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9034 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9035 test input.
9036 (lrint_upward_test_data): Test for "inexact" exceptions.
9037 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9038 test input.
9039 (llrint_test_data): Test for "inexact" exceptions.
9040 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9041 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9042 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9043 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9044 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9045 (llrint_downward_test_data): Test for "inexact" exceptions.
9046 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9047 (llrint_upward_test_data): Test for "inexact" exceptions.
9048 (logb_test_data): Likewise.
9049 (logb_downward_test_data): Likewise.
9050 (nextafter_test_data): Likewise.
9051 (nexttoward_test_data): Likewise.
9052 (remainder_test_data): Likewise.
9053 (remquo_test_data): Likewise.
9054 (scalbn_test_data): Likewise.
9055 (scalbln_test_data): Likewise.
9056 (signbit_test_data): Likewise.
9057 (sqrt_test_data): Likewise.
9058 (significand_test_data): Likewise.
9059
9060 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9061
9062 [BZ #15424]
9063 * benchtests/bench-modf.c (struct args): Mark arg0 as
9064 volatile.
9065 * scripts/bench.pl: Mark members of struct args as volatile.
9066
9067 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9068
9069 [BZ # 15497]
9070 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9071 negative infinity on POWER6 or lower.
9072 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9073
9074 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9075
9076 [BZ #15442]
9077 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9078 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9079 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9080 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9081 (_FP_SETQNAN): New macro.
9082 (_FP_SETQNAN_SEMIRAW): Likewise.
9083 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9084 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9085 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9086 (FP_EXTEND): Use _FP_FRAC_SNANP.
9087 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9088 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9089 into account.
9090 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9091 New macro.
9092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9093 Likewise.
9094
9095 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9096
9097 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9098 with DIVIDE_BY_ZERO_EXCEPTION.
9099 (gamma_test_data): Likewise.
9100 (lgamma_test_data): Likewise.
9101 (log_test_data): Likewise.
9102 (log10_test_data): Likewise.
9103 (log2_test_data): Likewise.
9104 (tgamma_test_data): Likewise.
9105
9106 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9107 (acos_test_tonearest): Likewise.
9108 (acos_test_towardzero): Likewise.
9109 (acos_test_downward): Likewise.
9110 (acos_test_upward): Likewise.
9111 (acosh_test): Likewise.
9112 (asin_test): Likewise.
9113 (asin_test_tonearest): Likewise.
9114 (asin_test_towardzero): Likewise.
9115 (asin_test_downward): Likewise.
9116 (asin_test_upward): Likewise.
9117 (asinh_test): Likewise.
9118 (atan_test): Likewise.
9119 (atanh_test): Likewise.
9120 (atan2_test): Likewise.
9121 (cabs_test): Likewise.
9122 (cacos_test): Likewise.
9123 (cacosh_test): Likewise.
9124 (casin_test): Likewise.
9125 (casinh_test): Likewise.
9126 (catan_test): Likewise.
9127 (catanh_test): Likewise.
9128 (cbrt_test): Likewise.
9129 (ccos_test): Likewise.
9130 (ccosh_test): Likewise.
9131 (cexp_test): Likewise.
9132 (clog_test): Likewise.
9133 (clog10_test): Likewise.
9134 (cos_test): Likewise.
9135 (cos_test_tonearest): Likewise.
9136 (cos_test_towardzero): Likewise.
9137 (cos_test_downward): Likewise.
9138 (cos_test_upward): Likewise.
9139 (cosh_test): Likewise.
9140 (cosh_test_tonearest): Likewise.
9141 (cosh_test_towardzero): Likewise.
9142 (cosh_test_downward): Likewise.
9143 (cosh_test_upward): Likewise.
9144 (cpow_test): Likewise.
9145 (csin_test): Likewise.
9146 (csinh_test): Likewise.
9147 (csqrt_test): Likewise.
9148 (ctan_test): Likewise.
9149 (ctan_test_tonearest): Likewise.
9150 (ctan_test_towardzero): Likewise.
9151 (ctan_test_downward): Likewise.
9152 (ctan_test_upward): Likewise.
9153 (ctanh_test): Likewise.
9154 (ctanh_test_tonearest): Likewise.
9155 (ctanh_test_towardzero): Likewise.
9156 (ctanh_test_downward): Likewise.
9157 (ctanh_test_upward): Likewise.
9158 (erf_test): Likewise.
9159 (erfc_test): Likewise.
9160 (exp_test): Likewise.
9161 (exp_test_tonearest): Likewise.
9162 (exp_test_towardzero): Likewise.
9163 (exp_test_downward): Likewise.
9164 (exp_test_upward): Likewise.
9165 (exp10_test): Likewise.
9166 (exp2_test): Likewise.
9167 (expm1_test): Likewise.
9168 (fmod_test): Likewise.
9169 (gamma_test): Likewise.
9170 (hypot_test): Likewise.
9171 (j0_test): Likewise.
9172 (j1_test): Likewise.
9173 (jn_test): Likewise.
9174 (lgamma_test): Likewise.
9175 (log_test): Likewise.
9176 (log10_test): Likewise.
9177 (log1p_test): Likewise.
9178 (log2_test): Likewise.
9179 (logb_test_downward): Likewise.
9180 (pow_test): Likewise.
9181 (pow_test_tonearest): Likewise.
9182 (pow_test_towardzero): Likewise.
9183 (pow_test_downward): Likewise.
9184 (pow_test_upward): Likewise.
9185 (remainder_test): Likewise.
9186 (remquo_test): Likewise.
9187 (sin_test): Likewise.
9188 (sin_test_tonearest): Likewise.
9189 (sin_test_towardzero): Likewise.
9190 (sin_test_downward): Likewise.
9191 (sin_test_upward): Likewise.
9192 (sincos_test): Likewise.
9193 (sinh_test): Likewise.
9194 (sinh_test_tonearest): Likewise.
9195 (sinh_test_towardzero): Likewise.
9196 (sinh_test_downward): Likewise.
9197 (sinh_test_upward): Likewise.
9198 (sqrt_test): Likewise.
9199 (tan_test): Likewise.
9200 (tan_test_tonearest): Likewise.
9201 (tan_test_towardzero): Likewise.
9202 (tan_test_downward): Likewise.
9203 (tan_test_upward): Likewise.
9204 (tanh_test): Likewise.
9205 (tgamma_test): Likewise.
9206 (y0_test): Likewise.
9207 (y1_test): Likewise.
9208 (yn_test): Likewise.
9209
9210 * math/gen-libm-test.pl (adjust_arg): Remove function.
9211 (special_function): Remove argument $in_func. Only handle
9212 generating output for tables of tests, not inside functions.
9213 (parse_args): Likewise.
9214 (generate_testfile): Remove variable $in_func. Update call to
9215 parse_args.
9216 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9217 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9218 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9219 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9220 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9221 (MAX_VALUE_INIT): Rename macro to max_value.
9222 (MIN_VALUE_INIT): Rename macro to min_value.
9223 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9224 (plus_zero): Remove variable.
9225 (minus_zero): Likewise.
9226 (plus_infty): Likewise.
9227 (minus_infty): Likewise.
9228 (qnan_value): Likewise.
9229 (max_value): Likewise.
9230 (min_value): Likewise.
9231 (min_subnorm_value): Likewise.
9232
9233 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9234
9235 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9236 uint64_t or uint32_t usage.
9237 * crypt/sha256-block.c: Likewise.
9238 * crypt/sha256-crypt.c: Likewise.
9239 * crypt/sha256.c: Likewise.
9240 * crypt/sha512-block.c: Likewise.
9241 * crypt/sha512-crypt.c: Likewise.
9242 * crypt/sha512.c: Likewise.
9243 * debug/backtrace-tst.c: Likewise.
9244 * debug/pcprofiledump.c: Likewise.
9245 * elf/cache.c: Likewise.
9246 * elf/dl-cache.c: Likewise.
9247 * elf/dl-misc.c: Likewise.
9248 * elf/dl-profile.c: Likewise.
9249 * elf/dl-support.c: Likewise.
9250 * elf/ldconfig.c: Likewise.
9251 * elf/sprof.c: Likewise.
9252 * iconv/dummy-repertoire.c: Likewise.
9253 * iconv/iconv_charmap.c: Likewise.
9254 * iconv/skeleton.c: Likewise.
9255 * iconvdata/8bit-generic.c: Likewise.
9256 * iconvdata/cp737.h: Likewise.
9257 * iconvdata/cp775.h: Likewise.
9258 * iconvdata/ibm1008.h: Likewise.
9259 * iconvdata/ibm1025.h: Likewise.
9260 * iconvdata/ibm1046.h: Likewise.
9261 * iconvdata/ibm1097.h: Likewise.
9262 * iconvdata/ibm1112.h: Likewise.
9263 * iconvdata/ibm1122.h: Likewise.
9264 * iconvdata/ibm1123.h: Likewise.
9265 * iconvdata/ibm1124.h: Likewise.
9266 * iconvdata/ibm1129.h: Likewise.
9267 * iconvdata/ibm1130.h: Likewise.
9268 * iconvdata/ibm1132.h: Likewise.
9269 * iconvdata/ibm1133.h: Likewise.
9270 * iconvdata/ibm1137.h: Likewise.
9271 * iconvdata/ibm1140.h: Likewise.
9272 * iconvdata/ibm1141.h: Likewise.
9273 * iconvdata/ibm1142.h: Likewise.
9274 * iconvdata/ibm1143.h: Likewise.
9275 * iconvdata/ibm1144.h: Likewise.
9276 * iconvdata/ibm1145.h: Likewise.
9277 * iconvdata/ibm1146.h: Likewise.
9278 * iconvdata/ibm1147.h: Likewise.
9279 * iconvdata/ibm1148.h: Likewise.
9280 * iconvdata/ibm1149.h: Likewise.
9281 * iconvdata/ibm1153.h: Likewise.
9282 * iconvdata/ibm1154.h: Likewise.
9283 * iconvdata/ibm1155.h: Likewise.
9284 * iconvdata/ibm1156.h: Likewise.
9285 * iconvdata/ibm1157.h: Likewise.
9286 * iconvdata/ibm1158.h: Likewise.
9287 * iconvdata/ibm1160.h: Likewise.
9288 * iconvdata/ibm1161.h: Likewise.
9289 * iconvdata/ibm1162.h: Likewise.
9290 * iconvdata/ibm1163.h: Likewise.
9291 * iconvdata/ibm1164.h: Likewise.
9292 * iconvdata/ibm1166.h: Likewise.
9293 * iconvdata/ibm1167.h: Likewise.
9294 * iconvdata/ibm12712.h: Likewise.
9295 * iconvdata/ibm1390.h: Likewise.
9296 * iconvdata/ibm1399.h: Likewise.
9297 * iconvdata/ibm16804.h: Likewise.
9298 * iconvdata/ibm4517.h: Likewise.
9299 * iconvdata/ibm4899.h: Likewise.
9300 * iconvdata/ibm4909.h: Likewise.
9301 * iconvdata/ibm4971.h: Likewise.
9302 * iconvdata/ibm5347.h: Likewise.
9303 * iconvdata/ibm803.h: Likewise.
9304 * iconvdata/ibm856.h: Likewise.
9305 * iconvdata/ibm901.h: Likewise.
9306 * iconvdata/ibm902.h: Likewise.
9307 * iconvdata/ibm9030.h: Likewise.
9308 * iconvdata/ibm9066.h: Likewise.
9309 * iconvdata/ibm921.h: Likewise.
9310 * iconvdata/ibm922.h: Likewise.
9311 * iconvdata/ibm9448.h: Likewise.
9312 * iconvdata/isiri-3342.h: Likewise.
9313 * iconvdata/jis0201.h: Likewise.
9314 * include/link.h: Likewise.
9315 * include/netdb.h: Likewise.
9316 * inet/check_native.c: Likewise.
9317 * inet/check_pf.c: Likewise.
9318 * inet/getipv4sourcefilter.c: Likewise.
9319 * inet/getnameinfo.c: Likewise.
9320 * inet/getsourcefilter.c: Likewise.
9321 * inet/htonl.c: Likewise.
9322 * inet/setipv4sourcefilter.c: Likewise.
9323 * inet/setsourcefilter.c: Likewise.
9324 * inet/test-inet6_opt.c: Likewise.
9325 * inet/tst-network.c: Likewise.
9326 * locale/C-collate.c: Likewise.
9327 * locale/C-ctype.c: Likewise.
9328 * locale/C-time.c: Likewise.
9329 * locale/C-translit.h: Likewise.
9330 * locale/loadarchive.c: Likewise.
9331 * locale/programs/3level.h: Likewise.
9332 * locale/programs/charmap.c: Likewise.
9333 * locale/programs/charmap.h: Likewise.
9334 * locale/programs/ld-address.c: Likewise.
9335 * locale/programs/ld-collate.c: Likewise.
9336 * locale/programs/ld-ctype.c: Likewise.
9337 * locale/programs/ld-identification.c: Likewise.
9338 * locale/programs/ld-measurement.c: Likewise.
9339 * locale/programs/ld-messages.c: Likewise.
9340 * locale/programs/ld-monetary.c: Likewise.
9341 * locale/programs/ld-name.c: Likewise.
9342 * locale/programs/ld-numeric.c: Likewise.
9343 * locale/programs/ld-paper.c: Likewise.
9344 * locale/programs/ld-telephone.c: Likewise.
9345 * locale/programs/ld-time.c: Likewise.
9346 * locale/programs/linereader.c: Likewise.
9347 * locale/programs/locale.c: Likewise.
9348 * locale/programs/locarchive.c: Likewise.
9349 * locale/programs/locfile.h: Likewise.
9350 * locale/programs/repertoire.c: Likewise.
9351 * locale/programs/simple-hash.c: Likewise.
9352 * locale/programs/simple-hash.h: Likewise.
9353 * malloc/memusage.c: Likewise.
9354 * malloc/memusagestat.c: Likewise.
9355 * nis/nis_defaults.c: Likewise.
9356 * nis/nis_hash.c: Likewise.
9357 * nis/nis_print.c: Likewise.
9358 * nis/nis_xdr.c: Likewise.
9359 * nscd/connections.c: Likewise.
9360 * nscd/hstcache.c: Likewise.
9361 * nscd/nscd_gethst_r.c: Likewise.
9362 * nscd/nscd_getserv_r.c: Likewise.
9363 * nscd/nscd_helper.c: Likewise.
9364 * nscd/servicescache.c: Likewise.
9365 * nss/makedb.c: Likewise.
9366 * nss/nss_db/db-XXX.c: Likewise.
9367 * nss/nss_db/db-initgroups.c: Likewise.
9368 * nss/nss_db/db-netgrp.c: Likewise.
9369 * nss/nss_files/files-network.c: Likewise.
9370 * nss/nss_files/files-parse.c: Likewise.
9371 * posix/bug-regex5.c: Likewise.
9372 * posix/fnmatch_loop.c: Likewise.
9373 * posix/regcomp.c: Likewise.
9374 * posix/regexec.c: Likewise.
9375 * posix/tst-rfc3484-2.c: Likewise.
9376 * posix/tst-rfc3484-3.c: Likewise.
9377 * posix/tst-rfc3484.c: Likewise.
9378 * resolv/nss_dns/dns-canon.c: Likewise.
9379 * resolv/nss_dns/dns-network.c: Likewise.
9380 * resolv/res_init.c: Likewise.
9381 * resolv/res_mkquery.c: Likewise.
9382 * resolv/tst-aton.c: Likewise.
9383 * stdlib/cxa_atexit.c: Likewise.
9384 * stdlib/cxa_finalize.c: Likewise.
9385 * stdlib/gen-fpioconst.c: Likewise.
9386 * stdlib/strtol_l.c: Likewise.
9387 * string/tst-endian.c: Likewise.
9388 * sunrpc/auth_des.c: Likewise.
9389 * sunrpc/clnt_udp.c: Likewise.
9390 * sunrpc/rtime.c: Likewise.
9391 * sunrpc/svcauth_des.c: Likewise.
9392 * sunrpc/xdr.c: Likewise.
9393 * sunrpc/xdr_intXX_t.c: Likewise.
9394 * sunrpc/xdr_rec.c: Likewise.
9395 * sysdeps/generic/ldconfig.h: Likewise.
9396 * sysdeps/generic/ldsodefs.h: Likewise.
9397 * sysdeps/generic/memusage.h: Likewise.
9398 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9408 * sysdeps/posix/getaddrinfo.c: Likewise.
9409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9411 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9412 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9413 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9414 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9415 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9416 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9417 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9418 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9419 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9420 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9421 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9422 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9424 * sysdeps/x86_64/dl-tls.h: Likewise.
9425 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9426 * time/alt_digit.c: Likewise.
9427 * time/era.c: Likewise.
9428 * wcsmbs/tst-c16c32-1.c: Likewise.
9429
9430 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9431
9432 * math/libm-test.inc (struct test_sincos_data): New type.
9433 (RUN_TEST_LOOP_sincos): New macro.
9434 (sincos_test_data): New variable.
9435 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9436
9437 2013-05-16 Richard Henderson <rth@redhat.com>
9438
9439 * math/atest-exp2.c (LIMB64): New macro.
9440 (CONSTSZ): New macro.
9441 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9442 (hexdig): Move ...
9443 (print_mpn_fp): ... to function scope.
9444 (read_mpn_hex): Remove.
9445 (get_log2): Remove.
9446 (exp2_mpn): Use mp_log2.
9447 (main): Use mp_exp1.
9448
9449 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9450
9451 * math/libm-test.inc: Remove comment about not testing "inexact"
9452 exceptions.
9453 (INEXACT_EXCEPTION): New macro.
9454 (NO_INEXACT_EXCEPTION): Likewise.
9455 (INVALID_EXCEPTION_OK): Update value.
9456 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9457 (OVERFLOW_EXCEPTION_OK): Likewise.
9458 (UNDERFLOW_EXCEPTION_OK): Likewise.
9459 (IGNORE_ZERO_INF_SIGN): Likewise.
9460 (ERRNO_UNCHANGED): Likewise.
9461 (ERRNO_EDOM): Likewise.
9462 (ERRNO_ERANGE): Likewise.
9463 (test_exceptions): Handle testing "inexact" exceptions.
9464 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9465 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9466 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9467 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9468 INEXACT_EXCEPTION.
9469 (rint_towardzero_test_data): Likewise.
9470 (rint_downward_test_data): Likewise.
9471 (rint_upward_test_data): Likewise.
9472
9473 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9474 with OVERFLOW_EXCEPTION.
9475 (exp10_test_data): Likewise.
9476 (exp2_test_data): Likewise.
9477 (expm1_test_data): Likewise.
9478 (lgamma_test_data): Likewise.
9479 (pow_test_data): Likewise.
9480 (tgamma_test_data): Likewise.
9481 (yn_test_data): Remove duplicate test of overflow.
9482
9483 * math/libm-test.inc (struct test_cc_c_data): New type.
9484 (RUN_TEST_LOOP_cc_c): New macro.
9485 (cpow_test_data): New variable.
9486 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9487
9488 * math/libm-test.inc (struct test_f_L_data): New type.
9489 (RUN_TEST_LOOP_f_L): New macro.
9490 (llrint_test_data): New variable.
9491 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9492 (llrint_tonearest_test_data): New variable.
9493 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9494 (llrint_towardzero_test_data): New variable.
9495 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9496 (llrint_downward_test_data): New variable.
9497 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9498 (llrint_upward_test_data): New variable.
9499 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9500 (llround_test_data): New variable.
9501 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9502
9503 2013-05-13 Peter Collingbourne <pcc@google.com>
9504
9505 * math/atest-exp2.c (get_log2): Remove const attribute.
9506
9507 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9508
9509 * math/libm-test.inc (struct test_f_l_data): New type.
9510 (RUN_TEST_LOOP_f_l): New macro.
9511 (lrint_test_data): New variable.
9512 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9513 (lrint_tonearest_test_data): New variable.
9514 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9515 (lrint_towardzero_test_data): New variable.
9516 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9517 (lrint_downward_test_data): New variable.
9518 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9519 (lrint_upward_test_data): New variable.
9520 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9521 (lround_test_data): New variable.
9522 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9523
9524 2013-05-15 Peter Collingbourne <pcc@google.com>
9525
9526 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9527 (EXTRACT_WORDS64) Use where appropriate.
9528 (INSERT_WORDS64) Likewise.
9529
9530 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9531 constraints with x constraints.
9532 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9533
9534 * malloc/obstack.c (_obstack_compat): Add initializer.
9535
9536 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9537
9538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9539 si_trapno and add si_addr_lsb to _sifields.sigfault.
9540 (si_trapno): Remove macro.
9541 (si_addr_lsb): Define new macro.
9542 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9543
9544 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9545
9546 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9547 instead of TEST_f_l.
9548 (llrint_test_tonearest): Likewise.
9549 (llrint_test_towardzero): Likewise.
9550 (llrint_test_downward): Likewise.
9551 (llrint_test_upward): Likewise.
9552 (llround_test): Likewise.
9553
9554 * math/libm-test.inc (struct test_f_i_data): Add comment.
9555 (RUN_TEST_LOOP_f_b): New macro.
9556 (RUN_TEST_LOOP_f_b_tg): Likewise.
9557 (finite_test_data): New variable.
9558 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9559 (isfinite_test_data): New variable.
9560 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9561 (isinf_test_data): New variable.
9562 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9563 (isnan_test_data): New variable.
9564 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9565 (isnormal_test_data): New variable.
9566 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9567 (issignaling_test_data): New variable.
9568 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9569 (signbit_test_data): New variable.
9570 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9571
9572 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9573 with INVALID_EXCEPTION.
9574 (acosh_test_data): Likewise.
9575 (asin_test_data): Likewise.
9576 (atanh_test_data): Likewise.
9577 (fmod_test_data): Likewise.
9578 (log_test_data): Likewise.
9579 (log10_test_data): Likewise.
9580 (log2_test_data): Likewise.
9581 (pow_test_data): Likewise.
9582 (sqrt_test_data): Likewise.
9583 (y0_test_data): Likewise.
9584 (y1_test_data): Likewise.
9585 (yn_test_data): Likewise.
9586
9587 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9588 function contents.
9589
9590 * math/libm-test.inc (struct test_ff_i_data): New type.
9591 (RUN_TEST_LOOP_ff_i_tg): New macro.
9592 (isgreater_test_data): New variable.
9593 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9594 (isgreaterequal_test_data): New variable.
9595 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9596 (isless_test_data): New variable.
9597 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9598 (islessequal_test_data): New variable.
9599 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9600 (islessgreater_test_data): New variable.
9601 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9602 (isunordered_test_data): New variable.
9603 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9604
9605 2013-05-14 David S. Miller <davem@davemloft.net>
9606
9607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9608
9609 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9610
9611 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9612
9613 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9614 extra_test to int.
9615 (struct test_f_i_data): Change type of max_ulp to int.
9616
9617 * math/libm-test.inc (test_ffI_f1_data): New type.
9618 (RUN_TEST_LOOP_ffI_f1): New macro.
9619 (remquo_test_data): New variable.
9620 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9621
9622 * setjmp/tst-setjmp-fp.c: New file.
9623 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9624 (link-libm): New variable.
9625 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9626
9627 * math/libm-test.inc (struct test_f_i_data): New type.
9628 (RUN_TEST_LOOP_f_i): New macro.
9629 (RUN_TEST_LOOP_f_i_tg): Likewise.
9630 (fpclassify_test_data): New variable.
9631 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9632 (ilogb_test_data): New variable.
9633 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9634
9635 * math/libm-test.inc (scalbln_test): Correct function name in END
9636 call.
9637
9638 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9639 (RUN_TEST_LOOP_fI_f1): New macro.
9640 (frexp_test_data): New variable.
9641 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9642
9643 * math/libm-test.inc (struct test_fF_f1_data): New type.
9644 (RUN_TEST_LOOP_fF_f1): New macro.
9645 (modf_test_data): New variable.
9646 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9647
9648 * math/libm-test.inc (struct test_f_f1_data): New type.
9649 (RUN_TEST_LOOP_f_f1): New macro.
9650 (gamma_test_data): New variable.
9651 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9652 (lgamma_test_data): New variable.
9653 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9654
9655 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9656
9657 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9658 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9659 (main): Comment "tls" pseudo-hwcap.
9660
9661 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9662
9663 * math/libm-test.inc (struct test_fl_f_data): New type.
9664 (RUN_TEST_LOOP_fl_f): New variable.
9665 (scalbln_test_data): New variable.
9666 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9667
9668 * math/libm-test.inc (struct test_fi_f_data): New type.
9669 (RUN_TEST_LOOP_fi_f): New macro.
9670 (ldexp_test_data): New variable.
9671 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9672 (scalbn_test_data): New variable.
9673 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9674
9675 * math/libm-test.inc (struct test_c_f_data): New type.
9676 (RUN_TEST_LOOP_c_f): New macro.
9677 (cabs_test_data): New variable.
9678 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9679 (carg_test_data): New variable.
9680 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9681 (cimag_test_data): New variable.
9682 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9683 (creal_test_data): New variable.
9684 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9685
9686 * math/libm-test.inc (struct test_if_f_data): New type.
9687 (RUN_TEST_LOOP_if_f): New macro.
9688 (jn_test_data): New variable.
9689 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9690 (yn_test_data): New variable.
9691 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9692
9693 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9694
9695 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9696
9697 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9698 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9699
9700 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9701
9702 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9703 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9704 (bench-deps): Add bench-timing.h.
9705 * benchtests-bench-skeleton.c: Include bench-timing.h.
9706 (main): Use TIMING_* macros instead of clock_gettime.
9707 * benchtests/bench-timing.h: New file.
9708
9709 [BZ #14582]
9710 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9711 Renamed from _LIB_VERSION.
9712 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9713
9714 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9715
9716 * math/libm-test.inc (struct test_fff_f_data): New type.
9717 (RUN_TEST_LOOP_fff_f): New macro.
9718 (fma_test_data): New variable.
9719 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9720 (fma_towardzero_test_data): New variable.
9721 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9722 (fma_downward_test_data): New variable.
9723 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9724 (fma_upward_test_data): New variable.
9725 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9726
9727 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9728 (struct test_c_c_data): New type.
9729 (RUN_TEST_LOOP_c_c): New macro.
9730 (cacos_test_data): New variable.
9731 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9732 (cacosh_test_data): New variable.
9733 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9734 (casin_test_data): New variable.
9735 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9736 (casinh_test_data): New variable.
9737 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9738 (catan_test_data): New variable.
9739 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9740 (catanh_test_data): New variable.
9741 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9742 (ccos_test_data): New variable.
9743 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9744 (ccosh_test_data): New variable.
9745 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9746 (cexp_test_data): New variable.
9747 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9748 (clog_test_data): New variable.
9749 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9750 (clog10_test_data): New variable.
9751 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9752 (conj_test_data): New variable.
9753 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9754 (cproj_test_data): New variable.
9755 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9756 (csin_test_data): New variable.
9757 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9758 (csinh_test_data): New variable.
9759 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9760 (csqrt_test_data): New variable.
9761 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9762 (ctan_test_data): New variable.
9763 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9764 (ctan_tonearest_test_data): New variable.
9765 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9766 (ctan_towardzero_test_data): New variable.
9767 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9768 (ctan_downward_test_data): New variable.
9769 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9770 (ctan_upward_test_data): New variable.
9771 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9772 (ctanh_test_data): New variable.
9773 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9774 (ctanh_tonearest_test_data): New variable.
9775 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9776 (ctanh_towardzero_test_data): New variable.
9777 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9778 (ctanh_downward_test_data): New variable.
9779 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9780 (ctanh_upward_test_data): New variable.
9781 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9782 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9783 of BUILD_COMPLEX.
9784
9785 * math/libm-test.inc (struct test_ff_f_data): New type.
9786 (struct test_ff_f_data_nexttoward): Likewise.
9787 (RUN_TEST_LOOP_2_f): New macro.
9788 (RUN_TEST_LOOP_ff_f): Likewise.
9789 (atan2_test_data): New variable.
9790 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9791 (copysign_test_data): New variable.
9792 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9793 (fdim_test_data): New variable.
9794 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9795 (fmax_test_data): New variable.
9796 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9797 (fmin_test_data): New variable.
9798 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9799 (fmod_test_data): New variable.
9800 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9801 (hypot_test_data): New variable.
9802 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9803 (nextafter_test_data): New variable.
9804 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9805 (nexttoward_test_data): New variable.
9806 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9807 (pow_test_data): New variable.
9808 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9809 (pow_tonearest_test_data): New variable.
9810 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9811 (pow_towardzero_test_data): New variable.
9812 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9813 (pow_downward_test_data): New variable.
9814 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9815 (pow_upward_test_data): New variable.
9816 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9817 (remainder_test_data): New variable.
9818 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9819 (scalb_test_data): New variable.
9820 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9821 * sysdeps/i386/fpu/libm-test-ulps: Update.
9822
9823 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9824
9825 * math/libm-test.inc (fma_test): Use max_value instead of local
9826 variable fltmax.
9827 (nextafter_test): Likewise.
9828
9829 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9830 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9831 (acos_downward_test_data): New variable.
9832 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9833 (acos_upward_test_data): New variable.
9834 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9835 (acosh_test_data): New variable.
9836 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9837 (asin_test_data): New variable.
9838 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9839 (asin_tonearest_test_data): New variable.
9840 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9841 (asin_towardzero_test_data): New variable.
9842 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9843 (asin_downward_test_data): New variable.
9844 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9845 (asin_upward_test_data): New variable.
9846 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9847 (asinh_test_data): New variable.
9848 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9849 (atan_test_data): New variable.
9850 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9851 (atanh_test_data): New variable.
9852 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9853 (cbrt_test_data): New variable.
9854 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9855 (ceil_test_data): New variable.
9856 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9857 (cos_test_data): New variable.
9858 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9859 (cos_tonearest_test_data): New variable.
9860 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9861 (cos_towardzero_test_data): New variable.
9862 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9863 (cos_downward_test_data): New variable.
9864 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9865 (cos_upward_test_data): New variable.
9866 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9867 (cosh_test_data): New variable.
9868 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9869 (cosh_tonearest_test_data): New variable.
9870 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9871 (cosh_towardzero_test_data): New variable.
9872 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9873 (cosh_downward_test_data): New variable.
9874 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9875 (cosh_upward_test_data): New variable.
9876 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9877 (erf_test_data): New variable.
9878 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9879 (erfc_test_data): New variable.
9880 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9881 (exp_test_data): New variable.
9882 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9883 (exp_tonearest_test_data): New variable.
9884 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9885 (exp_towardzero_test_data): New variable.
9886 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9887 (exp_downward_test_data): New variable.
9888 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9889 (exp_upward_test_data): New variable.
9890 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9891 (exp10_test_data): New variable.
9892 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9893 (exp2_test_data): New variable.
9894 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9895 (expm1_test_data): New variable.
9896 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9897 (fabs_test_data): New variable.
9898 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9899 (floor_test_data): New variable.
9900 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9901 (j0_test_data): New variable.
9902 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9903 (j1_test_data): New variable.
9904 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9905 (log_test_data): New variable.
9906 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9907 (log10_test_data): New variable.
9908 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9909 (log1p_test_data): New variable.
9910 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9911 (log2_test_data): New variable.
9912 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9913 (logb_test_data): New variable.
9914 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9915 (logb_downward_test_data): New variable.
9916 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9917 (nearbyint_test_data): New variable.
9918 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9919 (rint_test_data): New variable.
9920 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9921 (rint_tonearest_test_data): New variable.
9922 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9923 (rint_towardzero_test_data): New variable.
9924 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9925 (rint_downward_test_data): New variable.
9926 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9927 (rint_upward_test_data): New variable.
9928 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9929 (round_test_data): New variable.
9930 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9931 (sin_test_data): New variable.
9932 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9933 (sin_tonearest_test_data): New variable.
9934 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9935 (sin_towardzero_test_data): New variable.
9936 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9937 (sin_downward_test_data): New variable.
9938 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9939 (sin_upward_test_data): New variable.
9940 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9941 (sinh_test_data): New variable.
9942 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9943 (sinh_tonearest_test_data): New variable.
9944 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9945 (sinh_towardzero_test_data): New variable.
9946 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9947 (sinh_downward_test_data): New variable.
9948 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9949 (sinh_upward_test_data): New variable.
9950 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9951 (sqrt_test_data): New variable.
9952 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9953 (tan_test_data): New variable.
9954 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9955 (tan_tonearest_test_data): New variable.
9956 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9957 (tan_towardzero_test_data): New variable.
9958 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9959 (tan_downward_test_data): New variable.
9960 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9961 (tan_upward_test_data): New variable.
9962 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9963 (tanh_test_data): New variable.
9964 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9965 (tgamma_test_data): New variable.
9966 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9967 (trunc_test_data): New variable.
9968 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9969 (y0_test_data): New variable.
9970 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9971 (y1_test_data): New variable.
9972 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9973 (significand_test_data): New variable.
9974 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9975
9976 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9977
9978 [BZ #12387]
9979 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9980
9981 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9982
9983 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9984
9985 2013-05-10 Andreas Jaeger <aj@suse.de>
9986
9987 [BZ #15448]
9988 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9989 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9990
9991 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9992
9993 * math/gen-libm-test.pl (adjust_arg): New function.
9994 (special_functions): Handle generating output in both functions
9995 and arrays.
9996 (parse_args): Likewise.
9997 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9998 $in_func argument to parse_args.
9999 * math/libm-test.inc (struct test_f_f_data): New type.
10000 (IF_ROUND_INIT_): New macro.
10001 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10002 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10003 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10004 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10005 (ROUND_RESTORE_): Likewise.
10006 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10007 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10008 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10009 (ROUND_RESTORE_FE_UPWARD): Likewise.
10010 (RUN_TEST_LOOP_f_f): New macro.
10011 (acos_test_data): New variable.
10012 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10013 (acos_tonearest_test_data): New variable.
10014 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10015
10016 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10017
10018 * benchtests/bench-skeleton.c (startup): Fix coding style.
10019
10020 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10021
10022 [BZ #6809]
10023 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10024 negative infinity argument.
10025 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10026 negative infinity argument.
10027 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10028 negative infinity argument.
10029 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10030 domain errors.
10031
10032 2013-05-10 Florian Weimer <fweimer@redhat.com>
10033
10034 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10035 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10036 * iconv/iconv_prog.c (main): Likewise.
10037 * locale/programs/charmap-dir.c (charmap_readdir)
10038 (fopen_uncompressed): Likewise.
10039 * locale/programs/locfile.c (siblings_uncached)
10040 (write_locale_data): Use lstat64 instead of lstat.
10041 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10042 stat.
10043
10044 2013-05-10 Andreas Jaeger <aj@suse.de>
10045
10046 [BZ #15395]
10047 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10048 localization.
10049 Include <locale.h>.
10050
10051 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10052
10053 * elf/dl-close.c (_dl_close_worker): Add comments.
10054
10055 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10056
10057 [BZ #15359]
10058 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10059 high part of pi/2.
10060 (__ieee754_rem_pio2l): Update comments.
10061
10062 [BZ #15429]
10063 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10064 high part of pi/2.
10065 (__ieee754_rem_pio2l): Update comments.
10066
10067 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10068 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10069
10070 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10071 M_PI_4l.
10072
10073 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10074 (M_PI_34_LOG10El): Likewise.
10075 (M_PI2_LOG10El): Likewise.
10076 (M_PI4_LOG10El): Likewise.
10077 (M_PI_LOG10El): Likewise.
10078
10079 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10080
10081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10082
10083 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10084
10085 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10086 (MINUS_ZERO_INIT): Likewise.
10087 (PLUS_INFTY_INIT): Likewise.
10088 (MINUS_INFTY_INIT): Likewise.
10089 (QNAN_VALUE_INIT): Likewise.
10090 (MAX_VALUE_INIT): Likewise.
10091 (MIN_VALUE_INIT): Likewise.
10092 (MIN_SUBNORM_VALUE_INIT): Likewise.
10093 (plus_zero): Initialize with PLUS_ZERO_INIT.
10094 (minus_zero): Initialize with MINUS_ZERO_INIT.
10095 (plus_infty): Initialize with PLUS_INFTY_INIT.
10096 (minus_infty): Initialize with MINUS_INFTY_INIT.
10097 (qnan_value): Initialize with QNAN_VALUE_INIT.
10098 (max_value): Initialize with MAX_VALUE_INIT.
10099 (min_value): Initialize with MIN_VALUE_INIT.
10100 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10101
10102 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10103 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10104 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10105 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10106
10107 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10108 (RUN_TEST_2_f): Likewise.
10109 (RUN_TEST_ff_f): Likewise.
10110 (RUN_TEST_fi_f): Likewise.
10111 (RUN_TEST_fl_f): Likewise.
10112 (RUN_TEST_fff_f): Likewise.
10113 (RUN_TEST_c_f): Likewise.
10114 (RUN_TEST_f_f1): Likewise.
10115 (RUN_TEST_fF_f1): Likewise.
10116 (RUN_TEST_fI_f1): Likewise.
10117 (RUN_TEST_ffI_f1): Likewise.
10118 (RUN_TEST_c_c): Likewise.
10119 (RUN_TEST_cc_c): Likewise.
10120 (RUN_TEST_f_i): Likewise.
10121 (RUN_TEST_f_i_tg): Likewise.
10122 (RUN_TEST_ff_i_tg): Likewise.
10123 (RUN_TEST_f_b): Likewise.
10124 (RUN_TEST_f_b_tg): Likewise.
10125 (RUN_TEST_f_l): Likewise.
10126 (RUN_TEST_f_L): Likewise.
10127 (RUN_TEST_sincos): Likewise.
10128 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10129 whether to show exceptions. Do not include ");\n" in return
10130 value.
10131 (special_functions): Output call to RUN_TEST_sincos instead of
10132 check_float calls. Update calls to new_test.
10133 (parse_args): Output call to single RUN_TEST_* macro instead of
10134 check_* calls and other assignments. Update calls to new_test.
10135
10136 [BZ #2546]
10137 [BZ #2560]
10138 [BZ #5159]
10139 [BZ #15426]
10140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10141 input to result for tgamma overflow.
10142 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10143 (gamma_coeff): New variable.
10144 (NCOEFF): New macro.
10145 (gamma_positive): New function.
10146 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10147 underflow here. Use gamma_positive instead of exp (lgamma) for
10148 other arguments.
10149 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10150 (gamma_coeff): New variable.
10151 (NCOEFF): New macro.
10152 (gammaf_positive): New function.
10153 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10154 underflow here. Use gamma_positive instead of exp (lgamma) for
10155 other arguments.
10156 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10157 (gamma_coeff): New variable.
10158 (NCOEFF): New macro.
10159 (gammal_positive): New function.
10160 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10161 underflow here. Use gamma_positive instead of exp (lgamma) for
10162 other arguments.
10163 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10164 (gamma_coeff): New variable.
10165 (NCOEFF): New macro.
10166 (gammal_positive): New function.
10167 (__ieee754_gammal_r): Handle positive infinity, overflow and
10168 underflow here. Handle NaN the same as positive infinity. Remove
10169 check x < 0xffffffff for negative integers. Use gamma_positive
10170 instead of exp (lgamma) for other arguments.
10171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10172 (gamma_coeff): New variable.
10173 (NCOEFF): New macro.
10174 (gammal_positive): New function.
10175 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10176 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10180 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10181 * sysdeps/generic/math_private.h (__gamma_productf): New
10182 prototype.
10183 (__gamma_product): Likewise.
10184 (__gamma_productl): Likewise.
10185 * math/Makefile (libm-calls): Add gamma_product.
10186 * math/libm-test.inc (tgamma_test): Add more tests.
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10189
10190 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10191
10192 * benchtests/bench-skeleton.c (main): Preheat CPU.
10193
10194 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10195
10196 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10197
10198 2013-05-07 Roland McGrath <roland@hack.frob.com>
10199
10200 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10201 and _dl_skip_args_internal.
10202
10203 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10204
10205 * manual/message.texi (Message Translation): Talk about users.
10206 Message to key mapping impacts design.
10207
10208 2013-05-06 Roland McGrath <roland@hack.frob.com>
10209
10210 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10211
10212 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10213
10214 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10215 * sysdeps/wordsize-64/glob64.c: ... here.
10216
10217 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10218 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10219 New macros.
10220
10221 * debug/getlogin_r_chk.c: Moved to ...
10222 * login/getlogin_r_chk.c: ... here.
10223 * debug/Makefile (routines): Move getlogin_r_chk to ...
10224 * login/Makefile (routines): ... here.
10225 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10226 * login/Versions (libc: GLIBC_2.4): ... here.
10227
10228 * io/poll.c (__poll): Renamed from poll.
10229 Add libc_hidden_def.
10230 (poll): Define as weak alias.
10231
10232 * debug/ptsname_r_chk.c: Moved to ...
10233 * login/ptsname_r_chk.c: ... here.
10234 * debug/Makefile (routines): Move ptsname_r_chk to ...
10235 * login/Makefile (routines): ... here.
10236 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10237 * login/Versions (libc: GLIBC_2.4): ... here.
10238
10239 * posix/getlogin.c: Moved to ...
10240 * login/getlogin.c: ... here.
10241 * posix/getlogin_r.c: Moved to ...
10242 * login/getlogin_r.c: ... here.
10243 * posix/getlogin_r.c: Moved to ...
10244 * login/getlogin_r.c: ... here.
10245 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10246 * login/Makefile (routines): ... here.
10247 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10248 * login/Versions (libc: GLIBC_2.0): ... here.
10249
10250 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10251 (setrlimit): Define as weak alias.
10252
10253 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10254 Call __ names for open, ftruncate, and close.
10255 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10256 (truncate): Define as weak alias.
10257
10258 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10259
10260 * math/gen-libm-test.pl (parse_args): Initialize x before each
10261 test of frexp, modf and remquo.
10262
10263 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10264 test signgam value.
10265
10266 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10267
10268 [BZ #15418]
10269 [BZ #15419]
10270 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10271 internal tests.
10272 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10273
10274 2013-05-06 Roland McGrath <roland@hack.frob.com>
10275
10276 * elf/dl-writev.h: New file.
10277 * elf/dl-misc.c: Include it.
10278 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10279 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10280
10281 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10282
10283 * math/libm-test.inc (noXFails): Remove variable.
10284 (noXPasses): Likewise.
10285 (BUILD_COMPLEX_INT): Remove macro.
10286 (print_screen): Remove xfail argument.
10287 (print_screen_max_error): Likewise.
10288 (update_stats): Likewise.
10289 (print_max_error): Likewise. Update calls to other affected
10290 functions.
10291 (print_complex_max_error): Likewise.
10292 (test_single_exception): Update calls to print_screen.
10293 (test_single_errno): Likewise.
10294 (check_float_internal): Remove xfail argument. Update calls to
10295 other affected functions.
10296 (check_float): Likewise.
10297 (check_complex): Likewise.
10298 (check_int): Likewise.
10299 (check_long): Likewise.
10300 (check_bool): Likewise.
10301 (check_longlong): Likewise.
10302 (main): Don't print noXFails and noXPasses.
10303 * math/gen-libm-test.pl (top level): Don't mention expected
10304 failure handling in comment.
10305 (new_test): Don't handle expected failures.
10306 (parse_args): Don't mention expected failure handling in comment.
10307 (generate_testfile): Don't handle expected failures.
10308 (parse_ulps): Likewise.
10309 (print_ulps_file): Likewise.
10310 (get_failure): Remove function.
10311 (output_test): Don't handle expected failures.
10312 * make/README.libm-test: Don't mention expected failure handling.
10313
10314 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10315 (minus_zero): Likewise.
10316 (plus_infty): Likewise.
10317 (minus_infty): Likewise.
10318 (qnan_value): Likewise.
10319 (max_value): Likewise.
10320 (min_value): Likewise.
10321 (min_subnorm_value): Likewise.
10322 (initialize): Do not initialize those variables dynamically.
10323
10324 2013-05-03 Roland McGrath <roland@hack.frob.com>
10325
10326 * io/open.c (__open_2): Moved to ...
10327 * io/open_2.c: ... this new file.
10328 * io/open64.c (__open64_2): Moved to ...
10329 * io/open64_2.c: ... this new file.
10330 * io/openat.c (__openat_2): Moved to ...
10331 * io/openat_2.c: ... this new file.
10332 * io/openat64.c (__openat64_2): Moved to ...
10333 * io/openat64_2.c: ... this new file.
10334 * io/Makefile (routines): Add them.
10335 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10336 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10337 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10338 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10339 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10340 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10341 (__openat64): Add hidden_ver.
10342 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10343 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10344
10345 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10346 Separately conditionalize setting of GLRO(dl_sysinfo) so
10347 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10348 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10349
10350 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10351
10352 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10354 definition.
10355 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10356 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10357 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10358 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10359 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10360
10361 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10362
10363 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10364 test signgam value.
10365
10366 * math/libm-test.inc (hypot_test): Do not use
10367 IGNORE_ZERO_INF_SIGN.
10368
10369 2013-05-03 Andreas Jaeger <aj@suse.de>
10370
10371 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10372 Linux 3.9.
10373 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10374 (PF_MAX): Adjust for VSOCK change.
10375
10376 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10377
10378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10379
10380 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10381
10382 [BZ #15264]
10383 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10384 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10385 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10386
10387 2013-05-02 David S. Miller <davem@davemloft.net>
10388
10389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10390
10391 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10392
10393 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10394
10395 2013-05-01 Roland McGrath <roland@hack.frob.com>
10396
10397 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10398
10399 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10400
10401 [BZ #14952]
10402 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10403 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10404 Use __attribute__ ((__gnu_inline__)).
10405 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10406 Don't use __attribute__ ((__gnu_inline__)).
10407
10408 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10409
10410 [BZ #15423]
10411 * math/s_catan.c (__catan): Handle small real or imaginary part of
10412 input specially to avoid spurious underflow.
10413 * math/s_catanf.c (__catanf): Likewise.
10414 * math/s_catanh.c (__catanh): Likewise.
10415 * math/s_catanhf.c (__catanhf): Likewise.
10416 * math/s_catanhl.c (__catanhl): Likewise.
10417 * math/s_catanl.c (__catanl): Likewise.
10418 * math/libm-test.inc (catan_test): Add more tests.
10419 (catanh_test): Likewise.
10420 * sysdeps/i386/fpu/libm-test-ulps: Update.
10421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10422
10423 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10424
10425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10426
10427 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10428
10429 [BZ #15416]
10430 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10431 accurately for denominator in atan2.
10432 * math/s_catanf.c (__catanf): Likewise.
10433 * math/s_catanh.c (__catanh): Likewise.
10434 * math/s_catanhf.c (__catanhf): Likewise.
10435 * math/s_catanhl.c (__catanhl): Likewise.
10436 * math/s_catanl.c (__catanl): Likewise.
10437 * math/libm-test.inc (catan_test): Add more tests.
10438 (catanh_test): Likewise.
10439 * sysdeps/i386/fpu/libm-test-ulps: Update.
10440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
10442 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
10444 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10445
10446 * benchtests/Makefile (bench): Remove slow benchmarks.
10447 * benchtests/atan-inputs: Add slow benchmark inputs.
10448 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10449 (BENCH_FUNC): Accept variant offset.
10450 (VARIANT): Define.
10451 * benchtests/bench-skeleton.c (main): Run benchmark for each
10452 variant.
10453 * benchtests/cos-inputs: Add slow benchmark inputs.
10454 * benchtests/exp-inputs: Likewise.
10455 * benchtests/pow-inputs: Likewise.
10456 * benchtests/sin-inputs: Likewise.
10457 * benchtests/slowatan-inputs: Remove.
10458 * benchtests/slowatan.c: Remove.
10459 * benchtests/slowcos-inputs: Remove.
10460 * benchtests/slowcos.c: Remove.
10461 * benchtests/slowexp-inputs: Remove.
10462 * benchtests/slowexp.c: Remove.
10463 * benchtests/slowpow-inputs: Remove.
10464 * benchtests/slowpow.c: Remove.
10465 * benchtests/slowsin-inputs: Remove.
10466 * benchtests/slowsin.c: Remove.
10467 * benchtests/slowtan-inputs: Remove.
10468 * benchtests/slowtan.c: Remove.
10469 * benchtests/tan-inputs: Add slow benchmark inputs.
10470 * scripts/bench.pl: Parse comments and directives.
10471
10472 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10473 in CPPFLAGS.
10474 ($(objpfx)bench-%.c): Remove *-ITER.
10475 * benchtests/bench-modf.c: Remove definition of ITER.
10476 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10477 (main): Loop for DURATION seconds instead of fixed number of
10478 iterations.
10479 * scripts/bench.pl: Don't expect iterations in parameters.
10480
10481 2013-04-29 Roland McGrath <roland@hack.frob.com>
10482
10483 * io/fchdir.c (__fchdir): Renamed from fchdir.
10484 (fchdir): Define as weak alias.
10485
10486 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10487
10488 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10489 (ERRNO_EDOM): Likewise.
10490 (ERRNO_ERANGE): Likewise.
10491 (noErrnoTests): New variable.
10492 (init_max_error): Set errno to 0.
10493 (test_single_errno): New function.
10494 (test_errno): Likewise.
10495 (check_float_internal): Call test_errno. Set errno to 0.
10496 (check_complex): Refer to errno tests in comment.
10497 (check_int): Call test_errno. Set errno to 0.
10498 (check_long): Likewise.
10499 (check_bool): Likewise.
10500 (check_longlong): Likewise.
10501 (cos_test): Use ERRNO_* flags for errno tests instead of
10502 check_int.
10503 (expm1_test): Likewise.
10504 (fmod_test): Likewise.
10505 (ilogb_test): Likewise.
10506 (lgamma_test): Likewise.
10507 (pow_test): Likewise.
10508 (remainder_test): Likewise.
10509 (sin_test): Likewise.
10510 (tan_test): Likewise.
10511 (yn_test): Likewise.
10512 (initialize): Set errno to 0.
10513 (main): Print number of errno tests.
10514 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10515
10516 2013-04-29 Andreas Jaeger <aj@suse.de>
10517
10518 [BZ #15084]
10519 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10520 and RES_USEVC.
10521
10522 [BZ #15085]
10523 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10524 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10525 unimplemented.
10526
10527 [BZ #15380]
10528 * stdlib/random.c (__initstate): Return NULL if
10529 __initstate fails.
10530
10531 [BZ #15086]
10532 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10533 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10534 RES_SNGLKUPREOP.
10535
10536 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10537
10538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10539
10540 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10541
10542 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10543 of individual tests.
10544 (casin_test): Likewise.
10545 (casinh_test): Likewise.
10546
10547 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10548
10549 [BZ #15409]
10550 * math/s_catan.c (__catan): Handle arguments with large real or
10551 imaginary part separately without squaring.
10552 * math/s_catanf.c (__catanf): Likewise.
10553 * math/s_catanh.c (__catanh): Likewise.
10554 * math/s_catanhf.c (__catanhf): Likewise.
10555 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10556 and redefine.
10557 (__catanhl): Handle arguments with large real or imaginary part
10558 separately without squaring.
10559 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10560 and redefine.
10561 (__catanl): Handle arguments with large real or imaginary part
10562 separately without squaring.
10563 * math/libm-test.inc (catan_test): Add more tests.
10564 (catanh_test): Likewise.
10565 * sysdeps/i386/fpu/libm-test-ulps: Update.
10566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10567
10568 2013-04-27 Andreas Jaeger <aj@suse.de>
10569
10570 [BZ #15007]
10571 * stdlib/stdlib.h: Update guards for qecvt.
10572 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10573 <stdlib.h>.
10574
10575 2013-04-27 Allan McRae <allan@archlinux.org>
10576
10577 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578
10579 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10580
10581 [BZ #15406]
10582 * math/s_catan.c: Include <float.h>.
10583 (__catan): Ensure underflow exception occurs for underflowed
10584 result.
10585 * math/s_catanf.c: Include <float.h>.
10586 (__catanf): Ensure underflow exception occurs for underflowed
10587 result.
10588 * math/s_catanh.c: Include <float.h>.
10589 (__catanh): Ensure underflow exception occurs for underflowed
10590 result.
10591 * math/s_catanhf.c: Include <float.h>.
10592 (__catanhf): Ensure underflow exception occurs for underflowed
10593 result.
10594 * math/s_catanhl.c: Include <float.h>.
10595 (__catanhl): Ensure underflow exception occurs for underflowed
10596 result.
10597 * math/s_catanl.c: Include <float.h>.
10598 (__catanl): Ensure underflow exception occurs for underflowed
10599 result.
10600 * math/libm-test.inc (catan_test): Add more tests.
10601 (catanh_test): Likewise.
10602
10603 [BZ #15405]
10604 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10605 underflowed result.
10606 * math/s_ccoshf.c (__ccoshf): Likewise.
10607 * math/s_ccoshl.c (__ccoshl): Likewise.
10608 * math/s_csin.c (__csin): Likewise.
10609 * math/s_csinf.c (__csinf): Likewise.
10610 * math/s_csinh.c (__csinh): Likewise.
10611 * math/s_csinhf.c (__csinhf): Likewise.
10612 * math/s_csinhl.c (__csinhl): Likewise.
10613 * math/s_csinl.c (__csinl): Likewise.
10614 * math/libm-test.inc (ccos_test): Add more tests.
10615 (ccosh_test): Likewise.
10616 (csin_test): Likewise.
10617 (csinh_test): Likewise.
10618
10619 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10620
10621 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10622 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10623 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10624 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10625 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10626 powerpc/power5+/fpu folders.
10627 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10628
10629
10630 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10631
10632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10633
10634 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10635
10636 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10637 additions to variable.
10638 [$(config-machine) = x86_64] (modules-names): Likewise.
10639 ($(objpfx)tst-audit3): Remove dependency.
10640 ($(objpfx)tst-audit3.out): Likewise.
10641 ($(objpfx)tst-audit4): Likewise.
10642 ($(objpfx)tst-audit4.out): Likewise.
10643 ($(objpfx)tst-audit5): Likewise.
10644 ($(objpfx)tst-audit5.out): Likewise.
10645 ($(objpfx)tst-audit6): Likewise.
10646 ($(objpfx)tst-audit6.out): Likewise.
10647 ($(objpfx)tst-audit7): Likewise.
10648 ($(objpfx)tst-audit7.out): Likewise.
10649 (tst-audit3-ENV): Remove variable.
10650 (tst-audit4-ENV): Likewise.
10651 (tst-audit5-ENV): Likewise.
10652 (tst-audit6-ENV): Likewise.
10653 (tst-audit7-ENV): Likewise.
10654 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10655 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10656 addition to variable.
10657 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10658 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10659 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10660 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10661 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10662 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10663 tst-audit3, tst-audit4 and tst-audit5.
10664 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10665 tst-audit6 and tst-audit7.
10666 [$(subdir) = elf] (modules-names): Add audit modules for those
10667 tests.
10668 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10669 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10670 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10671 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10672 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10673 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10674 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10675 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10676 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10677 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10678 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10679 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10680 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10681 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10682 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10683 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10684 Likewise.
10685 [$(subdir) = elf && $(config-cflags-avx) = yes]
10686 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10687 [$(subdir) = elf && $(config-cflags-avx) = yes]
10688 (CFLAGS-tst-auditmod4a.c): Likewise.
10689 [$(subdir) = elf && $(config-cflags-avx) = yes]
10690 (CFLAGS-tst-auditmod4b.c): Likewise.
10691 [$(subdir) = elf && $(config-cflags-avx) = yes]
10692 (CFLAGS-tst-auditmod6b.c): Likewise.
10693 [$(subdir) = elf && $(config-cflags-avx) = yes]
10694 (CFLAGS-tst-auditmod6c.c): Likewise.
10695 [$(subdir) = elf && $(config-cflags-avx) = yes]
10696 (CFLAGS-tst-auditmod7b.c): Likewise.
10697 * elf/tst-audit3.c: Move to ...
10698 * sysdeps/x86_64/tst-audit3.c: ... here.
10699 * elf/tst-audit4.c: Move to ...
10700 * sysdeps/x86_64/tst-audit4.c: ... here.
10701 * elf/tst-audit5.c: Move to ...
10702 * sysdeps/x86_64/tst-audit5.c: ... here.
10703 * elf/tst-audit6.c: Move to ...
10704 * sysdeps/x86_64/tst-audit6.c: ... here.
10705 * elf/tst-audit7.c: Move to ...
10706 * sysdeps/x86_64/tst-audit7.c: ... here.
10707 * elf/tst-auditmod3a.c: Move to ...
10708 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10709 * elf/tst-auditmod3b.c: Move to ...
10710 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10711 * elf/tst-auditmod4a.c: Move to ...
10712 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10713 * elf/tst-auditmod4b.c: Move to ...
10714 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10715 * elf/tst-auditmod5a.c: Move to ...
10716 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10717 * elf/tst-auditmod5b.c: Move to ...
10718 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10719 * elf/tst-auditmod6a.c: Move to ...
10720 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10721 * elf/tst-auditmod6b.c: Move to ...
10722 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10723 * elf/tst-auditmod6c.c: Move to ...
10724 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10725 * elf/tst-auditmod7a.c: Move to ...
10726 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10727 * elf/tst-auditmod7b.c: Move to ...
10728 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10729
10730 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10731
10732 [BZ #15366]
10733 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10734 define unconditionally.
10735 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10736 define unconditionally.
10737 (INT8_C, INT16_C, etc.): Likewise.
10738
10739 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10740
10741 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10742 __ehdr_start with hidden visibility.
10743
10744 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10745
10746 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10747
10748 * math/libm-test.inc (cos_test): Use accurate hex constants.
10749 (sincost_test): Likewise.
10750
10751 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10752
10753 * math/libm-test.inc (catan_test): Add more tests.
10754 (catanh_test): Likewise.
10755
10756 * math/s_catanf.c (__catanf): Use suffixed floating-point
10757 constants.
10758 * math/s_catanhf.c (__catanhf): Likewise.
10759 * math/s_catanhl.c (__catanhl): Likewise.
10760 * math/s_catanl.c (__catanl): Likewise.
10761
10762 [BZ #15394]
10763 * math/s_catan.c (__catan): Calculate imaginary part of result
10764 with log1p not log unless computing log of number close to 0.
10765 * math/s_catanf.c (__catanf): Likewise.
10766 * math/s_catanl.c (__catanl): Likewise.
10767 * math/s_catanh.c (__catanh): Calculate real part of result with
10768 log1p not log unless computing log of number close to 0.
10769 * math/s_catanhf.c (__catanhf): Likewise.
10770 * math/s_catanhl.c (__catanhl): Likewise.
10771 * math/libm-test.inc (catan_test): Add more tests.
10772 (catanh_test): Likewise.
10773 * sysdeps/i386/fpu/libm-test-ulps: Update.
10774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775
10776 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10777
10778 * benchtests/Makefile: Mention files in which fast and slow
10779 paths of math functions are implemented.
10780
10781 2013-04-23 Roland McGrath <roland@hack.frob.com>
10782
10783 * sysdeps/posix/timespec_get.c: New file.
10784
10785 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786
10787 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10788 POWER.
10789 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10790 for POWER.
10791 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10792 powerpc/power5/fpu folders.
10793 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10794 * benchtests/Makefile: Add modf testcase.
10795 * benchtests/bench-modf.c: New file: Benchmark test for mo
10796
10797 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 [BZ #14888]
10800 * time/Makefile (tests): Add tst-strptime-whitespace.
10801 * time/strptime_l.c (get_number): Use ISSPACE.
10802 (__strptime_internal): Likewise.
10803 * time/tst-strptime-whitespace.c: New test case.
10804
10805 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10808 member.
10809 (_nss_files_init): Set it here.
10810
10811 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10812
10813 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10814 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10815 unsigned.
10816
10817 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10818
10819 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10820
10821 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10822
10823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10824 size just once.
10825
10826 2013-04-21 David S. Miller <davem@davemloft.net>
10827
10828 * po/ru.po: Update Russion translation from translation project.
10829
10830 2013-04-17 Adam Conrad <adconrad@0c3.net>
10831
10832 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10833 and setfsgid.
10834
10835 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10836
10837 * configure.in: Remove i386 configure warning. Remove i386 case.
10838 * configure: Regenerate.
10839 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10840 Add example to error message.
10841 * sysdeps/i386/configure: Regenerate.
10842
10843 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10844
10845 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10846 slowtan.
10847 * benchtests/cos-inputs: New file.
10848 * benchtests/slowcos-inputs: New file.
10849 * benchtests/slowcos.c: New file.
10850 * benchtests/slowtan-inputs: New file.
10851 * benchtests/slowtan.c: New file.
10852 * benchtests/tan-inputs: New file.
10853
10854 2013-04-16 Roland McGrath <roland@hack.frob.com>
10855
10856 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10857 considered kosher.
10858
10859 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10860
10861 * benchtests/Makefile: Include cppflags-iterator.mk to add
10862 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10863
10864 * Makefile.in (bench-clean): New target.
10865 * benchtests/Makefile (bench-clean): Likewise.
10866
10867 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10868
10869 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10870
10871 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10872
10873 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10874
10875 2013-04-15 Andreas Schwab <schwab@suse.de>
10876
10877 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10878 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10879 * nscd/pwdcache.c (cache_addpw): Likewise.
10880 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10881 more than recsize.
10882
10883 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10884
10885 * benchtests/Makefile (bench): Write all output to
10886 bench-out.tmp together.
10887
10888 2013-04-15 Andreas Schwab <schwab@suse.de>
10889
10890 * nscd/nscd.c (main): Don't fork again after closing files.
10891
10892 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10893
10894 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10895
10896 * benchtests/Rules (bench-deps): Collect dependencies into a
10897 single variable. Add Makefile to dependencies.
10898 ($(objpfx)bench-%.c): Depend on bench-deps.
10899
10900 2013-04-12 Roland McGrath <roland@hack.frob.com>
10901 Xavier Roche <roche+kml2@exalead.com>
10902
10903 [BZ #15361]
10904 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10905 just that it's a file descriptor.
10906 * manual/llio.texi (Synchronizing AIO Operations): Update description
10907 for EBADF error from aio_fsync.
10908
10909 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10910
10911 * Rules (bench): Move target definition...
10912 * benchtests/Makefile: ... here.
10913
10914 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10915
10916 * math/libm-test.inc (cos_test): Fix PI/2 test.
10917 (sincos_test): Likewise.
10918 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10919 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10920
10921 2013-04-11 Andreas Schwab <schwab@suse.de>
10922
10923 [BZ #13988]
10924 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10925 accept exponent character only when digits were seen.
10926 * stdio-common/Makefile (tests): Add bug26.
10927 * stdio-common/bug26.c: New file.
10928
10929 [BZ #14293]
10930 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10931 non-freeable.
10932
10933 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10934
10935 * Makeconfig (rtld-prefix): Define built linker prefix.
10936 * Rules (run-bench): Use it.
10937 * math/Makefile (run-regen-ulps): Likewise.
10938
10939 * Rules (bench): Remove eval.
10940
10941 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10942 Roland McGrath <roland@hack.frob.com>
10943 Ondrej Bilka <neleai@seznam.cz>
10944
10945 [BZ #15346]
10946 * time/getdate.c: Include ctype.h and alloca.h.
10947 (__getdate_r): Trim leading and trailing spaces of input.
10948 * time/tst-getdate.c (tests): Add tests with leading and
10949 trailing spaces.
10950
10951 2013-04-08 Roland McGrath <roland@hack.frob.com>
10952
10953 [BZ #14280]
10954 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10955 when computing value.
10956
10957 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10958
10959 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10960 Use testrun.sh to run libm tests.
10961
10962 [BZ #15309]
10963 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10964
10965 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10966
10967 [BZ #15264]
10968 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10969
10970 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10971
10972 * Makefile.in (regen-ulps): New target.
10973 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10974 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10975 [ifneq (no,$(PERL)] (regen-ulps): New target.
10976 [ifeq (no,$(PERL)] (regen-ulps): New target.
10977 * math/libm-test.inc (ulps_file_name): Define.
10978 (output_dir): New variable.
10979 (options): Add "output-dir" option.
10980 (parse_opt): Handle 'o' case.
10981 (main): If output_dir is non-NULL use it as a prefix
10982 otherwise use "".
10983 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10984
10985 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10986
10987 [BZ #10060, #10062]
10988 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10989 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10990 fail configure if __sync_val_compare_and_swap is not inlined.
10991 * sysdeps/i386/configure: Regenerate.
10992 * configure.in: Build for i686 when configured for i386.
10993 * configure: Regenerate.
10994 * README: Remove i386 reference.
10995
10996 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10997
10998 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10999 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11000
11001 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11002
11003 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11004 (lmsnanval): New variables.
11005 (F): Add conversion tests.
11006 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11007 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11008
11009 * stdio-common/tstdiomisc.c (F): Properly collect individual
11010 tests' results.
11011
11012 [BZ #14686, #15336]
11013 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11014 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11015 Instead, use input NaN values or generate a qNaN by arithmetic
11016 operation. Also fix bugs to comply with the standard.
11017 * math/libm-test.inc (remainder_test): Add more tests.
11018
11019 [BZ #15335, #15342]
11020 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11022 input NaN values or generate a qNaN by arithmetic operation.
11023
11024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11025 unreachable code.
11026
11027 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11028 definitions.
11029
11030 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11031
11032 [BZ #14478]
11033 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11034 underflowed result.
11035 * math/s_cexpf.c (__cexpf): Likewise.
11036 * math/s_cexpl.c (__cexpl): Likewise.
11037 * math/libm-test.inc (cexp_test): Add more tests.
11038
11039 2013-04-03 Andreas Schwab <schwab@suse.de>
11040
11041 [BZ #15330]
11042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11043 order arrays from heap if bigger than alloca cutoff.
11044
11045 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11046
11047 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11048 (SNAN_TESTS_double): Refer to GCC PR56831.
11049 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11050 GCC PR56828.
11051
11052 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11053
11054 * Rules (bench): Move bench.out after the run is complete.
11055
11056 * Rules (bench): Echo currently running benchmark.
11057
11058 * benchtests/Makefile (bench): Add atan and slowatan.
11059 * benchtests/atan-inputs: New file.
11060 * benchtests/slowatan-inputs: New file.
11061 * benchtests/slowatan.c: New file.
11062
11063 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11064 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11065 its value.
11066
11067 [BZ #15305]
11068 * sysdeps/unix/sysv/linux/kernel-features.h
11069 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11070 __ASSUME_XFS_RESTRICTED_CHOWN.
11071 * sysdeps/unix/sysv/linux/pathconf.c
11072 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11073 Save and restore errno.
11074
11075 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11076
11077 [BZ #15327]
11078 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11079 arguments using __kernel_casinh.
11080 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11081 arguments using __kernel_casinhf.
11082 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11083 arguments using __kernel_casinhl.
11084 * math/libm-test.inc (cacosh_test): Add more tests.
11085 * sysdeps/i386/fpu/libm-test-ulps: Update.
11086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11087
11088 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11089
11090 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11092
11093 * bench/Makefile (bench): Add sin and slowsin.
11094 * benchtests/sin-inputs: New file.
11095 * benchtests/slowsin-inputs: New file.
11096 * benchtests/slowsin.c: New file.
11097
11098 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11099 (bench): Add slowexp and slowpow.
11100 (exp-ITER): Increase iterations.
11101 (pow-ITER): Likewise.
11102 * benchtests/exp-inputs: Change input.
11103 * benchtests/pow-inputs: Likewise.
11104 * benchtests/slowexp-inputs: New file.
11105 * benchtests/slowexp.c: New file.
11106 * benchtests/slowpow-inputs: New file.
11107 * benchtests/slowpow.c: New file.
11108
11109 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11110
11111 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11112 instructions.
11113 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11114 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11115 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11116 * benchtests/Makefile: Add rint benchtest.
11117 * benchtests/rint-inputs: Input for rint benchtest.
11118
11119 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11120
11121 * Versions.def (libm): Add GLIBC_2.18.
11122 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11123 hidden libm prototypes.
11124 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11125 * math/Makefile (libm-calls): Add s_issignaling.
11126 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11127 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11128 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11129 declaration.
11130 * math/math.h [__USE_GNU] (issignaling): New macro.
11131 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11132 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11137 * manual/arith.texi (issignaling): New section.
11138 * manual/libm-err-tab.pl (@all_functions): Update comment.
11139 * math/gen-libm-test.pl (parse_args): Apply special handling for
11140 issignaling.
11141 * math/libm-test.inc (print_float, issignaling_test): New
11142 functions.
11143 (check_float_internal): Add issignaling checks.
11144 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11145 default definition.
11146 * sysdeps/powerpc/math-tests.h: New file.
11147 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11148 tests.
11149 * math/test-snan.c (TEST_FUNC): Likewise.
11150
11151 2013-03-30 David S. Miller <davem@davemloft.net>
11152
11153 * po/de.po: Update from translation team.
11154
11155 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11156
11157 [BZ #10357]
11158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11159 imaginary part less than 1.0 and real part less than 0.5
11160 specially.
11161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11163 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11164 (cacos_test): Add more tests.
11165 (casin_test): Likewise.
11166 (casinh_test): Likewise.
11167 * sysdeps/i386/fpu/libm-test-ulps: Update.
11168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11169
11170 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11171
11172 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11173 ONE with its value.
11174
11175 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11176 (__pow_mp): Replace ONE and MONE with their values.
11177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11179 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11180 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11181 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11183
11184 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11185
11186 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11187 (__pow_mp): Replace ZERO and MZERO with their values.
11188 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11189 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11192 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11193 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11194 (__sqr): Likewise.
11195
11196 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11197
11198 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11199
11200 2013-03-28 Roland McGrath <roland@hack.frob.com>
11201
11202 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11203 Declare with __attribute__ ((weak)).
11204 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11205 Call __call_tls_dtors only if it's not NULL.
11206
11207 2013-03-28 Roland McGrath <roland@hack.frob.com>
11208
11209 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11210 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11211 magic __ehdr_start linker symbol if it's defined.
11212 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11213 them up here if it was already done.
11214
11215 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11216 (_dl_aux_init): Use const in cast when setting it.
11217 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11218 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11219 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11220
11221 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11222 Declare them here.
11223 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11224 * csu/libc-tls.c: Nor here.
11225 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11226
11227 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11228 (__libc_message): Never call vsyslog.
11229
11230 2013-03-28 Alan Modra <amodra@gmail.com>
11231
11232 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11233 Define as empty.
11234 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11235 Likewise.
11236
11237 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11238
11239 [BZ #15214]
11240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11241 underflow.
11242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11243
11244 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11245
11246 [BZ #15304]
11247 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11248 Don't add gid passed as argument.
11249
11250 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11251
11252 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11253
11254 [BZ #15307]
11255 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11256 imaginary part between 1.0 and 1.5 and real part less than 0.5
11257 specially.
11258 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11259 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11260 * math/libm-test.inc (cacos_test): Add more tests.
11261 (casin_test): Likewise.
11262 (casinh_test): Likewise.
11263 * sysdeps/i386/fpu/libm-test-ulps: Update.
11264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11265
11266 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11267
11268 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11269 constants.
11270 (norm): Likewise.
11271 (denorm): Likewise.
11272 (__dbl_mp): Likewise.
11273 (add_magnitudes): Likewise.
11274 (sub_magnitudes): Likewise.
11275 (__add): Likewise.
11276 (__sub): Likewise.
11277 (__mul): Likewise.
11278 (__sqr): Likewise.
11279 (__inv): Likewise.
11280 (__dvd): Likewise.
11281
11282 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11283 commented code.
11284 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11285 (__dubcos): Likewise.
11286 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11287 (__ieee754_acos): Likewise.
11288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11289 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11290 (__exp1): Likewise.
11291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11293 (log1): Likewise.
11294 (my_log2): Likewise.
11295 (checkint): Likewise.
11296 * sysdeps/ieee754/dbl-64/e_remainder.c
11297 (__ieee754_remainder): Likewise.
11298 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11300 (bsloww): Likewise.
11301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11302
11303 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11305 MANTISSA_STORE_T to store computations on mantissa. Use
11306 macros for rounding and division.
11307 (denorm): Likewise.
11308 (__dbl_mp): Likewise.
11309 (add_magnitudes): Likewise.
11310 (sub_magnitudes): Likewise.
11311 (__mul): Likewise.
11312 (__sqr): Likewise.
11313 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11314 powers of two in terms of TWOPOW macro.
11315 (mp_no): Make type of mantissa as MANTISSA_T.
11316 [!RADIXI]: Define RADIXI.
11317 [!TWO52]: Define TWO52.
11318 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11319
11320 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11321
11322 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11323 llroundl symbol when building for PPC32.
11324
11325 2013-03-24 Mark H Weaver <mhw@netris.org>
11326
11327 * manual/arith.texi (Normalization Functions): Fix prototypes for
11328 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11329
11330 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11331
11332 [BZ #13889]
11333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11334 high value to check if expl overflow.
11335 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11336 to check for underflow and overflow.
11337 * math/libm-test.inc: Add exp test.
11338
11339 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11340
11341 [BZ #11120]
11342 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11343 with NOT_IN_libc.
11344
11345 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11346
11347 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11348 symbol.
11349
11350 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11351
11352 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11353 wrap blocks consisting of several statements.
11354
11355 * sysdeps/generic/math-tests.h: New file.
11356 * sysdeps/i386/fpu/math-tests.h: Likewise.
11357 * math/test-snan.c: Include it.
11358 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11359
11360 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11361
11362 [BZ #15285]
11363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11364 (__ieee754_j0l): Do not improve calculations using cos of twice
11365 input for inputs above LDBL_MAX / 2.0L.
11366 (__ieee754_y0l): Likewise.
11367 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11368 (__ieee754_j1l): Do not improve calculations using cos of twice
11369 input for inputs above LDBL_MAX / 2.0L.
11370 (__ieee754_y1l): Likewise.
11371 * math/libm-test.inc (j0_test): Add another test.
11372 (j1_test): Likewise.
11373 (y0_test): Likewise.
11374 (y1_test): Likewise.
11375 * sysdeps/i386/fpu/libm-test-ulps: Update.
11376
11377 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11378
11379 * Rules ($(objpfx)bench-%.c): Include code from a C source
11380 file.
11381
11382 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11383
11384 [BZ #15287]
11385 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11386 imaginary part 1.0 and real part less than 0.5 specially.
11387 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11388 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11389 * math/libm-test.inc (cacos_test): Add more tests.
11390 (casin_test): Likewise.
11391 (casinh_test): Likewise.
11392 * sysdeps/i386/fpu/libm-test-ulps: Update.
11393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11394
11395 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11396
11397 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11398 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11399
11400 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11401
11402 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11403 * config.make.in (config-cflags-sse4): Remove variable.
11404 (config-cflags-avx): Likewise.
11405 (config-cflags-sse2avx): Likewise.
11406 (config-cflags-novzeroupper): Likewise.
11407 (config-asflags-i686): Likewise.
11408 (have-mfma4): Likewise.
11409 (have-as-vis3): Likewise.
11410 (MIG): Likewise.
11411 * configure.in (MIG): Do not AC_SUBST.
11412 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11413 (libc_cv_cc_sse4): Do not AC_SUBST.
11414 (libc_cv_cc_avx): Likewise.
11415 (libc_cv_cc_sse2avx): Likewise.
11416 (libc_cv_cc_novzeroupper): Likewise.
11417 (libc_cv_cc_fma4): Likewise.
11418 (libc_cv_as_i686): Likewise.
11419 (libc_cv_sparc_as_vis3): Likewise.
11420 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11421 LIBC_CONFIG_VAR.
11422 (config-asflags-i686): Likewise.
11423 (config-cflags-avx): Likewise.
11424 (config-cflags-sse2avx): Likewise.
11425 (have-mfma4): Likewise.
11426 (config-cflags-novzeroupper): Likewise.
11427 * sysdeps/mach/configure.in (MIG): Likewise.
11428 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11429 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11430 LIBC_CONFIG_VAR.
11431 (config-cflags-avx): Likewise.
11432 (config-cflags-sse2avx): Likewise.
11433 (have-mfma4): Likewise.
11434 (config-cflags-novzeroupper): Likewise.
11435 * configure: Regenerated.
11436 * sysdeps/i386/configure: Likewise.
11437 * sysdeps/mach/configure: Likewise.
11438 * sysdeps/sparc/configure: Likewise.
11439 * sysdeps/x86_64/configure: Likewise.
11440
11441 2013-03-20 Roland McGrath <roland@hack.frob.com>
11442
11443 [BZ #14812]
11444 * locale/programs/localedef.c (options): Put N_ translation marker
11445 on argument names, not just descriptions.
11446
11447 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11448
11449 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11450
11451 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11452
11453 [BZ #14176]
11454 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11455
11456 2013-03-19 Roland McGrath <roland@hack.frob.com>
11457
11458 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11459 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11460 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11461 [!BEFORE_ABORT] (before_abort): New function.
11462 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11463 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11464 (writev_for_fatal): New function.
11465 (WRITEV_FOR_FATAL): New macro; call that.
11466 (backtrace_and_maps): New function.
11467 (BEFORE_ABORT): New macro; call that.
11468 (struct str_list): Type removed.
11469 (__libc_message, __libc_fatal): Functions removed.
11470 Include <sysdeps/posix/libc_fatal.c> instead.
11471
11472 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11473
11474 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11475 constants.
11476 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11477 double constants.
11478
11479 2013-03-19 Andreas Schwab <schwab@suse.de>
11480
11481 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11482 * sysdeps/gnu/configure: Regenerate.
11483
11484 * configure.in: Substitute libc_cv_rtlddir.
11485 * configure: Regenerate.
11486 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11487 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11488 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11489 * elf/Makefile (install-others, CFLAGS-interp.c)
11490 (ldso_install, common-ldd-rewrite): Likewise.
11491 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11492 $(inst_slibdir)/$(rtld-installed-name).
11493 * scripts/rellns-sh: Add -p option.
11494 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11495 for source.
11496
11497 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11498
11499 * manual/nptl.texi: Renamed to ...
11500 * manual/threads.texi: ... this.
11501 * manual/Makefile (chapters): Update.
11502
11503 2013-03-18 Roland McGrath <roland@hack.frob.com>
11504
11505 [BZ #14812]
11506 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11507 on argument names, not just descriptions.
11508 * malloc/memusagestat.c (options): Likewise.
11509 * nss/getent.c (options): Likewise.
11510
11511 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11512
11513 [BZ #14812]
11514 * iconv/iconv_prog.c (options): Put N_ translation marker
11515 on argument names, not just descriptions.
11516 * iconv/iconvconfig.c (options): Likewise.
11517
11518 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11519
11520 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11521 implementation which is faster on all x86_64 architectures.
11522 Tested on AMD, Intel Nehalem, SNB, IVB.
11523 * sysdeps/x86_64/strnlen.S: Likewise.
11524
11525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11526 Remove all multiarch strlen and strnlen versions.
11527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11528 Remove strlen and strnlen related parts.
11529
11530 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11531 Inline strlen part.
11532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11533
11534 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11535 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11536 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11537 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11538 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11539 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11540
11541 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11542
11543 * manual/memory.texi (Malloc Tunable Parameters):
11544 Sort parameters alphabetically. Add comments for missing entries.
11545
11546 2013-03-17 David S. Miller <davem@davemloft.net>
11547
11548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11549
11550 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11551
11552 [BZ #15283]
11553 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11554 for arguments at most half maximum finite value.
11555 * math/libm-test.inc (j0_test): Add more tests.
11556 (j1_test): Likewise.
11557 (y0_test): Likewise.
11558 (y1_test): Likewise.
11559 * sysdeps/i386/fpu/libm-test-ulps: Update.
11560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11561
11562 [BZ #14155]
11563 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11564 1 / x and functions P and Q for arguments above 0x1p256L.
11565 (__ieee754_y0l): Likewise.
11566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11567 (__ieee754_y1l): Likewise.
11568 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11569 (j1_test): Likewise.
11570 (y0_test): Likewise.
11571 (y1_test): Likewise.
11572
11573 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11574
11575 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11576 variable.
11577
11578 2013-03-15 Roland McGrath <roland@hack.frob.com>
11579
11580 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11581 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11582 zero since it's initialized to EXEC_PAGESIZE.
11583
11584 * sysdeps/unix/sysv/linux/ldsodefs.h
11585 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11586 * sysdeps/generic/ldsodefs.h: ... here.
11587
11588 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11589
11590 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11591
11592 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11593 math/test-snan.c.
11594 * math/test-snan.c: Renamed from
11595 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11596 * math/Makefile (tests): Add test-snan.
11597 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11598 test-powerpc-snan.
11599
11600 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11601 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11602 functions.
11603 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11604 __builtin_nan family of functions.
11605 * math/libm-test.inc (initialize): Initialize qnan_value with
11606 __builtin_nan family of functions.
11607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11608 Remove variables.
11609 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11610 Remove functions.
11611 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11612 storage class. Initialize qNaN_var and sNaN_var with
11613 __builtin_nan and __builtin_nans families of functions,
11614 respectively.
11615
11616 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11617 (sqrt_test): Remove duplicate test with qNaN input.
11618 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11619 (round_test, signbit_test, significand_test): Note missing +/-Inf
11620 as well as qNaN tests.
11621
11622 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11623 qNaN_var. Fix a few strings, too.
11624 * math/libm-test.inc (nan_value): Rename to qnan_value.
11625 * math/gen-libm-test.pl (%beautify): Adjust to that.
11626 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11627 * math/test-misc.c (main): Likewise.
11628 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11629 to __qnan_bytes, and __qnan_union, respectively.
11630 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11631 Likewise.
11632 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11633 and lqnanval, respectively.
11634 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11635 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11636 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11637 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11638
11639 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11640 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11641 doubles.
11642
11643 * math/test-misc.c (main): Fix copy'n'pastos.
11644 * misc/tst-efgcvt.c (special): Likewise.
11645
11646 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11647 Remove declarations.
11648
11649 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11650
11651 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11652 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11653 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11654 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11655
11656 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11657
11658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11659 macro to return vdso values correctly in IFUNC implementations.
11660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11661 Optimization by using IFUNC.
11662
11663 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11664 Richard Henderson <rth@redhat.com>
11665 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11666
11667 * Makefile.in (bench): New target.
11668 * NEWS: Mention the benchmark framework.
11669 * Rules (bench): Likewise.
11670 (binaries-bench): Generate binaries for functions to
11671 benchmark.
11672 * benchtests/Makefile: New makefile for benchmark tests.
11673 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11674 programs.
11675 * benchtests/exp-inputs: New input file for EXP function.
11676 * benchtests/pow-inputs: New input file for POW function.
11677 * scripts/bench.pl: New script to generate source files for
11678 benchmark programs.
11679
11680 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11681
11682 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11684 computations on mantissa. Use macros for rounding and
11685 division.
11686 (denorm): Likewise.
11687 (__dbl_mp): Likewise.
11688 (add_magnitudes): Likewise.
11689 (sub_magnitudes): Likewise.
11690 (__mul): Likewise.
11691 (__sqr): Likewise.
11692 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11693 powers of two in terms of TWOPOW macro.
11694 (mp_no): Make type of mantissa as MANTISSA_T.
11695 [!RADIXI]: Define RADIXI.
11696 [!TWO52]: Define TWO52.
11697 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11698
11699 * manual/nptl.texi (cindex): Modify threads to pthreads.
11700
11701 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11702
11703 * sysdeps/x86_64/preconfigure: Regenerated.
11704
11705 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11706
11707 [BZ #14155]
11708 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11709 0x1p28 and above.
11710 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11711 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11712 0x1p28 and above.
11713 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11714 * math/libm-test.inc (j0_test): Do not allow one spurious
11715 underflow exception.
11716 (y1_test): Likewise.
11717
11718 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11719
11720 * manual/Makefile (chapters): Add nptl.
11721 * manual/debug.texi (Debugging Support): Add link to Threads
11722 chapter.
11723 * manual/nptl.texi: New file.
11724
11725 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11726
11727 2013-03-14 Petr Baudis <pasky@ucw.cz>
11728
11729 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11730 for non-NULL pointer before the memory validity test. Pointed
11731 out by Holger Brunck <holger.brunck@keymile.com>.
11732
11733 2013-03-13 Andreas Schwab <schwab@suse.de>
11734
11735 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11736 instead of .os.
11737
11738 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11739
11740 * timezone/zic.c: Update from tzcode 2013b.
11741
11742 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11743
11744 * manual/install.texi (Configuring and compiling):
11745 Mention i686 and i586.
11746 * INSTALL: Regenerate.
11747
11748 2013-03-12 Roland McGrath <roland@hack.frob.com>
11749
11750 * sysdeps/init_array/elf-init.c: New file.
11751 * csu/elf-init.c
11752 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11753 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11754
11755 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11756 __gmon_start__ as global, but as static with a .preinit_array pointer.
11757 * sysdeps/init_array/gmon-start.c: New file. Use that.
11758 * sysdeps/init_array/crti.S: New file, empty except for comments.
11759 * sysdeps/init_array/crtn.S: Likewise.
11760
11761 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11762
11763 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11764 definining bcopy.
11765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11766 Remove Prefer_SSE_for_memop.
11767 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11768 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11769 HAS_PREFER_SSE_FOR_MEMOP.
11770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11771 memset-x86-64.
11772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11773 Remove bzero, memset ifunc support.
11774 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11775 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11776 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11777 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11778
11779 2013-03-11 Andreas Schwab <schwab@suse.de>
11780
11781 [BZ #15234]
11782 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11783 by SHLIB_COMPAT.
11784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11785 (GLIBC_2.16): Remove pthread_atfork.
11786
11787 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11788
11789 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11790 (ptestcases.h): Likewise.
11791
11792 2013-03-08 Roland McGrath <roland@hack.frob.com>
11793
11794 * Makeconfig ($(common-objpfx)config.status): Depend on
11795 sysdeps/*/preconfigure{,.in} too.
11796
11797 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11798
11799 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11800 (__free_hook): Use void * instead of __malloc_ptr_t.
11801 (__malloc_hook): Likewise.
11802 (__realloc_hook): Likewise.
11803 (__memalign_hook): Likewise.
11804 (__after_morecore_hook): Likewise.
11805 * malloc/arena.c (save_malloc_hook): Likewise.
11806 (save_free_hook): Likewise.
11807 * malloc/hooks.c (malloc_hook_ini): Likewise.
11808 (realloc_hook_ini): Likewise.
11809 (memalign_hook_ini): Likewise.
11810 * malloc/malloc.c (malloc_hook_ini): Likewise.
11811 (realloc_hook_ini): Likewise.
11812 (memalign_hook_ini): Likewise.
11813 (__free_hook): Likewise.
11814 (__malloc_hook): Likewise.
11815 (__realloc_hook): Likewise.
11816 (__memalign_hook): Likewise.
11817 (__libc_malloc): Likewise.
11818 (__libc_free): Likewise.
11819 (__libc_realloc): Likewise.
11820 (__libc_memalign): Likewise.
11821 (__libc_valloc): Likewise.
11822 (__libc_pvalloc): Likewise.
11823 (__libc_calloc): Likewise.
11824 (__posix_memalign): Likewise.
11825 * malloc/morecore.c (__sbrk): Likewise.
11826 (__default_morecore): Likewise.
11827
11828 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11829
11830 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11831 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11832 __malloc_ptrdiff_t.
11833
11834 * malloc/malloc.h (__malloc_size_t): Remove macro.
11835 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11836 __malloc_size_t.
11837 (old_memalign_hook): Likewise.
11838 (old_realloc_hook): Likewise.
11839 (struct hdr): Likewise.
11840 (flood): Likewise.
11841 (mallochook): Likewise.
11842 (memalignhook): Likewise.
11843 (reallochook): Likewise.
11844 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11845 (tr_old_realloc_hook): Likewise.
11846 (tr_old_memalign_hook): Likewise.
11847 (tr_mallochook): Likewise.
11848 (tr_reallochook): Likewise.
11849 (tr_memalignhook): Likewise.
11850
11851 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11852
11853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11854 default_ldbl_pack and using as default implementation.
11855 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11856 implementation.
11857 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11858 redundant definition.
11859 (ldbl_insert_mantissa): Likewise.
11860 (ldbl_canonicalize): Likewise.
11861 (ldbl_nearbyint): Likewise.
11862 (ldbl_pack): Rename to ldbl_pack_ppc.
11863 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11864 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11865 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11866
11867 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11868
11869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11870 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11871 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11872 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11875 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11876 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11877
11878 2013-03-07 Andreas Jaeger <aj@suse.de>
11879
11880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11881 bits/mman-linux.h.
11882
11883 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11884
11885 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11886 Include mpa.h and declare __MPEXP.
11887 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11889 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11891 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11892 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11894
11895 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11896 (__slowpow): Use long double EXPL and LOGL functions to
11897 compute POW.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11899 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11902 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11904
11905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11906 intermediate variable to calculate exponent.
11907 (__sqr): Likewise.
11908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11909 Likewise.
11910 (__sqr): Likewise.
11911
11912 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11913 [!NO__SQR]: Define __sqr.
11914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11915 and NO__SQR. Remove all code except __mul and __sqr. Include
11916 sysdeps/ieee754/dbl-64/mpa.c.
11917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11918
11919 [BZ #12723]
11920 * posix/Makefile (tests): Add tst-pathconf.
11921 * posix/tst-pathconf.c: New test case.
11922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11923 _PC_PIPE_BUF.
11924 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11925
11926 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11927
11928 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11929
11930 2013-03-06 Andreas Jaeger <aj@suse.de>
11931
11932 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11933 definition via __MAP_ANONYMOUS.
11934
11935 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11936 it's not part of Linux headers.
11937
11938 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11939 (MAP_HUGE_MASK): Define.
11940
11941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11942 Define.
11943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11945 Define.
11946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11947 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11948 Define.
11949 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11950 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11951 Define.
11952 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11953
11954 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11955 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11956 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11957 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11958 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11959 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11960
11961 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11962 Handle f2fs.
11963
11964 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11965 Handle f2fs and efivarfs.
11966
11967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11968 f2fs.
11969
11970 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11971 (EFIVARFS_MAGIC): Add.
11972 (F2FS_LINK_MAX): Add.
11973
11974 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11975
11976 * stdio-common/vfprintf.c: Replace __builtin_expect with
11977 __glibc_unlikely.
11978
11979 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11980
11981 [BZ #13550]
11982 * sysdeps/generic/bp-sym.h: Remove file.
11983 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11984 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11985 <bp-sym.h> and <bp-asm.h>.
11986 (__longjmp): Don't use BP_SYM.
11987 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11988 and <bp-asm.h>.
11989 (memcpy): Don't use BP_SYM.
11990 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11991 <bp-sym.h> and <bp-asm.h>.
11992 (memcpy): Don't use BP_SYM.
11993 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11994 <bp-asm.h>.
11995 (memcpy): Don't use BP_SYM.
11996 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11997 <bp-asm.h>.
11998 (memset): Don't use BP_SYM.
11999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12001 (__bzero): Don't use BP_SYM.
12002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12004 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12005 <bp-sym.h> and <bp-asm.h>.
12006 (memcmp): Don't use BP_SYM. Remove comment about bounded
12007 pointers.
12008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12009 <bp-sym.h> and <bp-asm.h>.
12010 (memcpy): Don't use BP_SYM.
12011 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12012 <bp-sym.h> and <bp-asm.h>.
12013 (memset): Don't use BP_SYM.
12014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12016 (__bzero): Don't use BP_SYM.
12017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12019 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12020 <bp-sym.h> and <bp-asm.h>.
12021 (strncmp): Don't use BP_SYM. Remove comment about bounded
12022 pointers.
12023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12024 <bp-sym.h> and <bp-asm.h>.
12025 (memcpy): Don't use BP_SYM.
12026 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12027 <bp-sym.h> and <bp-asm.h>.
12028 (memset): Don't use BP_SYM.
12029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12031 (__bzero): Don't use BP_SYM.
12032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12035 <bp-sym.h> and <bp-asm.h>.
12036 (__memchr): Don't use BP_SYM.
12037 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12038 <bp-sym.h> and <bp-asm.h>.
12039 (memcmp): Don't use BP_SYM. Remove comment about bounded
12040 pointers.
12041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12042 <bp-sym.h> and <bp-asm.h>.
12043 (memcpy): Don't use BP_SYM.
12044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12045 <bp-sym.h> and <bp-asm.h>.
12046 (__mempcpy): Don't use BP_SYM.
12047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12048 <bp-sym.h> and <bp-asm.h>.
12049 (__memrchr): Don't use BP_SYM.
12050 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12051 <bp-sym.h> and <bp-asm.h>.
12052 (memset): Don't use BP_SYM.
12053 (__bzero): Likewise.
12054 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12055 <bp-sym.h> and <bp-asm.h>.
12056 (__rawmemchr): Don't use BP_SYM.
12057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12058 <bp-sym.h> and <bp-asm.h>.
12059 (__STRCMP): Don't use BP_SYM.
12060 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12061 <bp-sym.h> and <bp-asm.h>.
12062 (strchr): Don't use BP_SYM.
12063 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12064 <bp-sym.h> and <bp-asm.h>.
12065 (__strchrnul): Don't use BP_SYM.
12066 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12067 <bp-sym.h> and <bp-asm.h>.
12068 (strlen): Don't use BP_SYM.
12069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12070 <bp-sym.h> and <bp-asm.h>.
12071 (strncmp): Don't use BP_SYM. Remove comment about bounded
12072 pointers.
12073 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12074 <bp-sym.h> and <bp-asm.h>.
12075 (__strnlen): Don't use BP_SYM.
12076 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12077 <bp-sym.h> and <bp-asm.h>.
12078 (__GI__setjmp): Don't use BP_SYM.
12079 (_setjmp): Likewise.
12080 (__sigsetjmp): Likewise.
12081 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12082 (L(start_addresses)): Don't use BP_SYM.
12083 (_start): Likewise.
12084 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12085 <bp-asm.h>.
12086 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12087 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12088 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12089 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12090 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12091 <bp-asm.h>.
12092 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12093 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12094 about bounded pointers.
12095 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12096 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12097 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12098 <bp-asm.h>.
12099 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12100 about bounded pointers. Remove GKM FIXME comments.
12101 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12102 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12103 <bp-asm.h>.
12104 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12105 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12106 Remove GKM FIXME comments.
12107 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12108 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12109 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12110 <bp-asm.h>.
12111 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12112 about bounded pointers. Remove GKM FIXME comment.
12113 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12114 and <bp-asm.h>.
12115 (strncmp): Don't use BP_SYM. Remove comment about bounded
12116 pointers.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12118 <bp-sym.h> and <bp-asm.h>.
12119 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12121 <bp-sym.h> and <bp-asm.h>.
12122 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12123 comment.
12124
12125 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12126
12127 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12128 call free(NULL).
12129
12130 2013-03-05 David S. Miller <davem@davemloft.net>
12131
12132 * po/es.po: Update from translation team.
12133
12134 2013-03-05 Andreas Jaeger <aj@suse.de>
12135
12136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12137 <bits/mman-linux.h>.
12138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12139 is fine.
12140 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12141 <bits/mman-linux.h> to end of file.
12142 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12143 is fine.
12144 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12145 <bits/mman-linux.h> to end of file.
12146 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12147 is fine.
12148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12149 <bits/mman-linux.h> to end of file.
12150
12151 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12152 (MCL_CURRENT, MCL_FUTURE): Define here.
12153
12154 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12155
12156 [BZ #15232]
12157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12158 attribute_hidden.
12159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12160
12161 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12162
12163 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12164 fourth parameter needed for rt_sigprocmask syscall.
12165 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12166 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12169 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12170 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12171
12172 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12173
12174 [BZ #13550]
12175 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12176 comment about bounded pointers.
12177 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12178 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12179
12180 2013-03-04 Andreas Jaeger <aj@suse.de>
12181
12182 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12183 common definitions.
12184
12185 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12186 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12187 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12189 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12191
12192 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12193
12194 [BZ #15055]
12195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12196 __ieee754_sqrl instead of __sqrl.
12197
12198 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12199
12200 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12201 * sysdeps/powerpc/fpu_control.h: ... here.
12202 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12203 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12204 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12205 * sysdeps/powerpc/bits/mathinline.h: ... here.
12206
12207 2013-03-01 Roland McGrath <roland@hack.frob.com>
12208
12209 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12210 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12211 to just [NEED_DL_SYSINFO_DSO].
12212 * elf/dl-support.c: Likewise.
12213 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12214 * elf/rtld.c (dl_main): Likewise.
12215 * elf/setup-vdso.h (setup_vdso): Likewise.
12216 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12217 * sysdeps/unix/sysv/linux/dl-sysdep.c
12218 (_dl_discover_osversion): Likewise.
12219
12220 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12221
12222 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12223 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12224
12225 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12226
12227 * NEWS: Mention libm performance improvements and non-x86 PI
12228 futex support.
12229
12230 * csu/libc-start.c (__pthread_initialize_minimal): Change
12231 function arguments.
12232 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12233
12234 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12235
12236 [BZ #13550]
12237 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12238 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12239 <bp-sym.h> and <bp-asm.h>.
12240 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12242 and <bp-asm.h>.
12243 (memcpy): Don't use BP_SYM.
12244 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12245 <bp-asm.h>.
12246 (__mpn_add_n): Don't use BP_SYM.
12247 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12248 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12249 and <bp-asm.h>.
12250 (__mpn_addmul_1): Don't use BP_SYM.
12251 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12252 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12253 <bp-sym.h>.
12254 (_setjmp): Don't use BP_SYM.
12255 (__novmx_setjmp): Likewise.
12256 (__GI__setjmp): Likewise.
12257 (__vmx_setjmp): Likewise.
12258 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12259 <bp-sym.h>.
12260 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12261 (__bzero): Don't use BP_SYM.
12262 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12263 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12264 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12265 <bp-sym.h> and <bp-asm.h>.
12266 (memcpy): Don't use BP_SYM.
12267 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12268 <bp-sym.h> and <bp-asm.h>.
12269 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12270 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12271 <bp-sym.h> and <bp-asm.h>.
12272 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12273 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12274 <bp-asm.h>.
12275 (__mpn_lshift): Don't use BP_SYM.
12276 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12277 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12278 <bp-asm.h>.
12279 (memset): Don't use BP_SYM.
12280 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12281 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12282 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12283 <bp-asm.h>.
12284 (__mpn_mul_1): Don't use BP_SYM.
12285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12287 <bp-sym.h> and <bp-asm.h>.
12288 (memcmp): Don't use BP_SYM.
12289 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12290 <bp-sym.h> and <bp-asm.h>.
12291 (memcpy): Don't use BP_SYM.
12292 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12293 <bp-sym.h> and <bp-asm.h>.
12294 (memset): Don't use BP_SYM.
12295 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12296 <bp-sym.h> and <bp-asm.h>.
12297 (strncmp): Don't use BP_SYM.
12298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12299 <bp-sym.h> and <bp-asm.h>.
12300 (memcpy): Don't use BP_SYM.
12301 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12302 <bp-sym.h> and <bp-asm.h>.
12303 (memset): Don't use BP_SYM.
12304 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12305 <bp-sym.h> and <bp-asm.h>.
12306 (__memchr): Don't use BP_SYM.
12307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12308 <bp-sym.h> and <bp-asm.h>.
12309 (memcmp): Don't use BP_SYM.
12310 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12311 <bp-sym.h> and <bp-asm.h>.
12312 (memcpy): Don't use BP_SYM.
12313 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12314 <bp-sym.h> and <bp-asm.h>.
12315 (__mempcpy): Don't use BP_SYM.
12316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12317 <bp-sym.h> and <bp-asm.h>.
12318 (__memrchr): Don't use BP_SYM.
12319 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12320 <bp-sym.h> and <bp-asm.h>.
12321 (memset): Don't use BP_SYM.
12322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12323 <bp-sym.h> and <bp-asm.h>.
12324 (__rawmemchr): Don't use BP_SYM.
12325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12326 <bp-sym.h> and <bp-asm.h>.
12327 (__STRCMP): Don't use BP_SYM.
12328 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12329 <bp-sym.h> and <bp-asm.h>.
12330 (strchr): Don't use BP_SYM.
12331 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12332 <bp-sym.h> and <bp-asm.h>.
12333 (__strchrnul): Don't use BP_SYM.
12334 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12335 <bp-sym.h> and <bp-asm.h>.
12336 (strlen): Don't use BP_SYM.
12337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12338 <bp-sym.h> and <bp-asm.h>.
12339 (strncmp): Don't use BP_SYM.
12340 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12341 <bp-sym.h> and <bp-asm.h>.
12342 (__strnlen): Don't use BP_SYM.
12343 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12344 <bp-asm.h>.
12345 (__mpn_rshift): Don't use BP_SYM.
12346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12347 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12348 <bp-sym.h> and <bp-asm.h>.
12349 (__sigsetjmp): Don't use BP_SYM.
12350 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12351 (L(start_addresses)): Don't use BP_SYM.
12352 (_start): Likewise.
12353 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12354 <bp-asm.h>.
12355 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12356 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12357 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12358 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12359 <bp-asm.h>.
12360 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12361 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12362 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12363 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12364 <bp-asm.h>.
12365 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12366 comments.
12367 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12368 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12369 <bp-asm.h>.
12370 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12371 FIXME comments.
12372 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12373 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12374 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12375 <bp-asm.h>.
12376 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12377 comment.
12378 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12379 and <bp-asm.h>.
12380 (strncmp): Don't use BP_SYM,
12381 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12382 <bp-asm.h>.
12383 (__mpn_sub_n): Don't use BP_SYM.
12384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12385 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12386 and <bp-asm.h>.
12387 (__mpn_submul_1): Don't use BP_SYM.
12388 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12390 <bp-sym.h> and <bp-asm.h>.
12391 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12393 <bp-sym.h> and <bp-asm.h>.
12394 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12395 comment.
12396
12397 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12398
12399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12400 Use ZK to minimize writes to Z.
12401 (sub_magnitudes): Simplify code a bit.
12402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12403 Use ZK to minimize writes to Z.
12404 (sub_magnitudes): Simplify code a bit.
12405
12406 2013-02-27 Roland McGrath <roland@hack.frob.com>
12407
12408 * csu/gmon-start.c: Add special exception to license text.
12409
12410 2013-02-27 Richard Henderson <rth@redhat.com>
12411
12412 * scripts/config.guess: Update from config.git.
12413 * scripts/config.sub: Likewise.
12414
12415 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12416
12417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12418
12419 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12420
12421 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12422
12423 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12424
12425 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12426
12427 2013-02-26 Roland McGrath <roland@hack.frob.com>
12428
12429 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12430 [$(build-shared = yes].
12431
12432 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12433
12434 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12435 (__mul): Reduce iterations for calculating mantissa.
12436
12437 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12438 MPTWO.
12439 (__mpranred): Likewise.
12440
12441 [BZ #15160]
12442 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12443 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12444
12445 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12446
12447 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12448 Define __attribute__.
12449
12450 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12451
12452 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12453 unused.
12454 * posix/regex_internal.h (__attribute): Remove.
12455 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12456 (re_string_context_at): Likewise.
12457 (bitset_not): Use __attribute__ and mark function as possibly
12458 unused.
12459 (bitset_merge): Likewise.
12460 (bitset_mask): Likewise.
12461 (re_string_char_size_at): Likewise.
12462 (re_string_wchar_at): Likewise.
12463 (re_string_elem_size_at): Likewise.
12464
12465 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12466
12467 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12468 code.
12469 (cc32): Likewise.
12470
12471 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12472 (__acr): Likewise.
12473 (__cpy): Likewise.
12474 (norm): Likewise.
12475 (denorm): Likewise.
12476 (__dbl_mp): Likewise.
12477 (add_magnitudes): Likewise.
12478 (sub_magnitudes): Likewise.
12479 (__mul): Likewise.
12480 (__inv): Likewise.
12481
12482 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12483 style.
12484
12485 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12486 style.
12487
12488 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12489 code.
12490
12491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12492 up changes with default code.
12493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12494 Likewise.
12495
12496 2013-02-24 Allan McRae <allan@archlinux.org>
12497
12498 * manual/socket.texi (The Internet Namespace): Order menu items
12499 to match that in the file.
12500
12501 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12502 node listing of the info page menu.
12503
12504 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12505
12506 [BZ #13550]
12507 * sysdeps/i386/bp-asm.h: Remove file.
12508 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12509 (PARMS): Do not use macros from bp-asm.h.
12510 (S1): Likewise.
12511 (S2): Likewise.
12512 (SIZE): Likewise.
12513 (__mpn_add_n): Do not use BP_SYM
12514 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12515 "bp-asm.h".
12516 (PARMS): Do not use macros from bp-asm.h.
12517 (S1): Likewise.
12518 (SIZE): Likewise.
12519 (__mpn_addmul_1): Do not use BP_SYM
12520 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12521 "bp-asm.h".
12522 (PARMS): Do not use macros from bp-asm.h.
12523 (SIGMSK): Likewise.
12524 (_setjmp): Likewise. Do not use BP_SYM.
12525 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12526 "bp-asm.h".
12527 (PARMS): Do not use macros from bp-asm.h.
12528 (SIGMSK): Likewise.
12529 (setjmp): Likewise. Do not use BP_SYM.
12530 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12531 "bp-asm.h".
12532 (PARMS): Do not use macros from bp-asm.h.
12533 (__frexp): Do not use BP_SYM.
12534 (frexp): Likewise.
12535 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12536 "bp-asm.h".
12537 (PARMS): Do not use macros from bp-asm.h.
12538 (__frexpf): Do not use BP_SYM.
12539 (frexpf): Likewise.
12540 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12541 "bp-asm.h".
12542 (PARMS): Do not use macros from bp-asm.h.
12543 (__frexpl): Do not use BP_SYM.
12544 (frexpl): Likewise.
12545 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12546 "bp-asm.h".
12547 (PARMS): Do not use macros from bp-asm.h.
12548 (__remquo): Do not use BP_SYM.
12549 (remquo): Likewise.
12550 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12551 "bp-asm.h".
12552 (PARMS): Do not use macros from bp-asm.h.
12553 (__remquof): Do not use BP_SYM.
12554 (remquof): Likewise.
12555 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12556 "bp-asm.h".
12557 (PARMS): Do not use macros from bp-asm.h.
12558 (__remquol): Do not use BP_SYM.
12559 (remquol): Likewise.
12560 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12561 "bp-asm.h".
12562 (PARMS): Do not use macros from bp-asm.h.
12563 (DEST): Likewise.
12564 (SRC): Likewise.
12565 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12566 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12567 "bp-asm.h".
12568 (PARMS): Do not use macros from bp-asm.h.
12569 (strlen): Do not use BP_SYM.
12570 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12571 "bp-asm.h".
12572 (PARMS): Do not use macros from bp-asm.h.
12573 (S1): Likewise.
12574 (S2): Likewise.
12575 (SIZE): Likewise.
12576 (__mpn_add_n): Do not use BP_SYM.
12577 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12578 "bp-asm.h".
12579 (PARMS): Do not use macros from bp-asm.h.
12580 (S1): Likewise.
12581 (SIZE): Likewise.
12582 (__mpn_addmul_1): Do not use BP_SYM.
12583 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12584 weak_alias.
12585 (bzero): Likewise.
12586 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12587 "bp-asm.h".
12588 (PARMS): Do not use macros from bp-asm.h.
12589 (S): Likewise.
12590 (SIZE): Likewise.
12591 (__mpn_lshift): Do not use BP_SYM.
12592 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12593 "bp-asm.h".
12594 (PARMS): Do not use macros from bp-asm.h.
12595 (DEST): Likewise.
12596 (SRC): Likewise.
12597 (LEN): Likewise.
12598 (memcpy): Likewise. Do not use BP_SYM.
12599 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12600 libc_hidden_def and weak_alias.
12601 (mempcpy): Do not use BP_SYM in weak_alias.
12602 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12603 "bp-asm.h".
12604 (PARMS): Do not use macros from bp-asm.h.
12605 (DEST): Likewise.
12606 (LEN): Likewise.
12607 [!BZERO_P] (CHR): Likewise.
12608 (memset): Likewise. Do not use BP_SYM.
12609 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12610 "bp-asm.h".
12611 (PARMS): Do not use macros from bp-asm.h.
12612 (S1): Likewise.
12613 (SIZE): Likewise.
12614 (__mpn_mul_1): Do not use BP_SYM.
12615 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12616 "bp-asm.h".
12617 (PARMS): Do not use macros from bp-asm.h.
12618 (S): Likewise.
12619 (SIZE): Likewise.
12620 (__mpn_rshift): Do not use BP_SYM.
12621 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12622 "bp-asm.h".
12623 (PARMS): Do not use macros from bp-asm.h.
12624 (STR): Likewise.
12625 (CHR): Likewise.
12626 (strchr): Likewise. Do not use BP_SYM.
12627 (index): Do not use BP_SYM in weak_alias.
12628 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12629 "bp-asm.h".
12630 (PARMS): Do not use macros from bp-asm.h.
12631 (DEST): Likewise.
12632 (SRC): Likewise.
12633 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12634 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12635 "bp-asm.h".
12636 (PARMS): Do not use macros from bp-asm.h.
12637 (strlen): Do not use BP_SYM.
12638 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12639 "bp-asm.h".
12640 (PARMS): Do not use macros from bp-asm.h.
12641 (S1): Likewise.
12642 (S2): Likewise.
12643 (SIZE): Likewise.
12644 (__mpn_sub_n): Do not use BP_SYM.
12645 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12646 "bp-asm.h".
12647 (PARMS): Do not use macros from bp-asm.h.
12648 (S1): Likewise.
12649 (SIZE): Likewise.
12650 (__mpn_submul_1): Do not use BP_SYM.
12651 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12652 "bp-asm.h".
12653 (PARMS): Do not use macros from bp-asm.h.
12654 (S1): Likewise.
12655 (S2): Likewise.
12656 (SIZE): Likewise.
12657 (__mpn_add_n): Do not use BP_SYM.
12658 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12659 weak_alias.
12660 (bzero): Likewise.
12661 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12662 "bp-asm.h".
12663 (PARMS): Do not use macros from bp-asm.h.
12664 (BLK2): Likewise.
12665 (LEN): Likewise.
12666 (memcmp): Do not use BP_SYM.
12667 (bcmp): Do not use BP_SYM in weak_alias.
12668 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12669 "bp-asm.h".
12670 (PARMS): Do not use macros from bp-asm.h.
12671 (DEST): Likewise.
12672 (SRC): Likewise.
12673 (LEN): Likewise.
12674 (memcpy): Likewise. Do not use BP_SYM.
12675 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12676 "bp-asm.h".
12677 (PARMS): Do not use macros from bp-asm.h.
12678 (DEST): Likewise.
12679 (SRC): Likewise.
12680 (LEN): Likewise.
12681 (memmove): Likewise. Do not use BP_SYM.
12682 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12683 "bp-asm.h".
12684 (PARMS): Do not use macros from bp-asm.h.
12685 (DEST): Likewise.
12686 (SRC): Likewise.
12687 (LEN): Likewise.
12688 (__mempcpy): Likewise. Do not use BP_SYM.
12689 (mempcpy): Do not use BP_SYM in weak_alias.
12690 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12691 "bp-asm.h".
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (DEST): Likewise.
12694 (LEN): Likewise.
12695 [!BZERO_P] (CHR): Likewise.
12696 (memset): Likewise. Do not use BP_SYM.
12697 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12698 "bp-asm.h".
12699 (PARMS): Do not use macros from bp-asm.h.
12700 (STR2): Likewise.
12701 (strcmp): Do not use BP_SYM.
12702 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12703 "bp-asm.h".
12704 (PARMS): Do not use macros from bp-asm.h.
12705 (STR): Likewise.
12706 (DELIM): Likewise.
12707 [USE_AS_STRTOK_R] (SAVE): Likewise.
12708 (FUNCTION): Likewise. Do not use BP_SYM.
12709 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12710 aliases.
12711 (strtok_r): Likewise.
12712 (__GI___strtok_r): Likewise.
12713 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12714 (PARMS): Do not use macros from bp-asm.h.
12715 (S): Likewise.
12716 (SIZE): Likewise.
12717 (__mpn_lshift): Do not use BP_SYM.
12718 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12719 (PARMS): Do not use macros from bp-asm.h.
12720 (STR): Likewise.
12721 (CHR): Likewise.
12722 (__memchr): Do not use BP_SYM.
12723 (memchr): Do not use BP_SYM in weak_alias.
12724 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12725 (PARMS): Do not use macros from bp-asm.h.
12726 (BLK2): Likewise.
12727 (LEN): Likewise.
12728 (memcmp): Do not use BP_SYM.
12729 (bcmp): Do not use BP_SYM in weak_alias.
12730 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12731 (PARMS): Do not use macros from bp-asm.h.
12732 (S1): Likewise.
12733 (SIZE): Likewise.
12734 (__mpn_mul_1): Do not use BP_SYM.
12735 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12736 "bp-asm.h".
12737 (PARMS): Do not use macros from bp-asm.h.
12738 (STR): Likewise.
12739 (CHR): Likewise.
12740 (__rawmemchr): Do not use BP_SYM.
12741 (rawmemchr): Do not use BP_SYM in weak_alias.
12742 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12743 (PARMS): Do not use macros from bp-asm.h.
12744 (S): Likewise.
12745 (SIZE): Likewise.
12746 (__mpn_rshift): Do not use BP_SYM.
12747 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12748 (PARMS): Do not use macros from bp-asm.h.
12749 (SIGMSK): Likewise.
12750 (__sigsetjmp): Likewise. Do not use BP_SYM.
12751 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12752 (_start): Do not use BP_SYM.
12753 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12754 (PARMS): Do not use macros from bp-asm.h.
12755 (DEST): Likewise.
12756 (SRC): Likewise.
12757 (__stpcpy): Likewise. Do not use BP_SYM.
12758 (stpcpy): Do not use BP_SYM in weak_alias.
12759 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12760 "bp-asm.h".
12761 (PARMS): Do not use macros from bp-asm.h.
12762 (DEST): Likewise.
12763 (SRC): Likewise.
12764 (LEN): Likewise.
12765 (__stpncpy): Likewise. Do not use BP_SYM.
12766 (stpncpy): Do not use BP_SYM in weak_alias.
12767 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12768 (PARMS): Do not use macros from bp-asm.h.
12769 (STR): Likewise.
12770 (CHR): Likewise.
12771 (strchr): Likewise. Do not use BP_SYM.
12772 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12773 "bp-asm.h".
12774 (PARMS): Do not use macros from bp-asm.h.
12775 (STR): Likewise.
12776 (CHR): Likewise.
12777 (__strchrnul): Likewise. Do not use BP_SYM.
12778 (strchrnul): Do not use BP_SYM in weak_alias.
12779 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12780 "bp-asm.h".
12781 (PARMS): Do not use macros from bp-asm.h.
12782 (STOP): Likewise.
12783 (strcspn): Do not use BP_SYM.
12784 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12785 "bp-asm.h".
12786 (PARMS): Do not use macros from bp-asm.h.
12787 (STR): Likewise.
12788 (STOP): Likewise.
12789 (strpbrk): Likewise. Do not use BP_SYM.
12790 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12791 "bp-asm.h".
12792 (PARMS): Do not use macros from bp-asm.h.
12793 (STR): Likewise.
12794 (CHR): Likewise.
12795 (strrchr): Likewise. Do not use BP_SYM.
12796 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12797 (PARMS): Do not use macros from bp-asm.h.
12798 (SKIP): Likewise.
12799 (strspn): Do not use BP_SYM.
12800 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12801 (PARMS): Do not use macros from bp-asm.h.
12802 (STR): Likewise.
12803 (DELIM): Likewise.
12804 (SAVE): Likewise.
12805 (FUNCTION): Likewise. Do not use BP_SYM.
12806 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12807 aliases.
12808 (strtok_r): Likewise.
12809 (__GI___strtok_r): Likewise.
12810 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12811 (PARMS): Do not use macros from bp-asm.h.
12812 (S1): Likewise.
12813 (S2): Likewise.
12814 (SIZE): Likewise.
12815 (__mpn_sub_n): Do not use BP_SYM.
12816 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12817 "bp-asm.h".
12818 (PARMS): Do not use macros from bp-asm.h.
12819 (S1): Likewise.
12820 (SIZE): Likewise.
12821 (__mpn_submul_1): Do not use BP_SYM.
12822 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12823 <bp-sym.h>.
12824 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12825 and <bp-asm.h>.
12826 (PARMS): Do not use macros from bp-asm.h.
12827 (FLAGS): Likewise.
12828 (PTID): Likewise.
12829 (TLS): Likewise.
12830 (CTID): Likewise.
12831 (__clone): Do not use BP_SYM.
12832 (clone): Do not use BP_SYM in weak_alias.
12833 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12834 and <bp-asm.h>.
12835 (PARMS): Do not use macros from bp-asm.h.
12836 (LEN): Likewise.
12837 (__mmap64): Do not use BP_SYM.
12838 (mmap64): Do not use BP_SYM in weak_alias.
12839 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12840 <bp-sym.h> and <bp-asm.h>.
12841 (PARMS): Do not use macros from bp-asm.h.
12842 (__posix_fadvise64_l64): Do not use BP_SYM.
12843 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12844 (PARMS): Do not use macros from bp-asm.h.
12845 (NSOPS): Likewise.
12846 (semtimedop): Do not use BP_SYM.
12847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12848 and <bp-asm.h>.
12849
12850 2013-02-21 Allan McRae <allan@archlinux.org>
12851
12852 * manual/message.texi (Charset conversion in gettext):
12853 Move @end statement to beginning of line.
12854
12855 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12856
12857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12858 static.
12859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12860 Likewise.
12861
12862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12863 (denorm): Likewise.
12864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12866
12867 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12868
12869 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12870 tail-call to the resolved function if pltexit isn't needed.
12871
12872 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12873
12874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12875 or Y being zero as being unlikely.
12876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12877 Likewise.
12878
12879 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12880
12881 * manual/nss.texi (System Databases and Name Service Switch):
12882 Remove frobnicate @pxref.
12883
12884 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12885
12886 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12887 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12888
12889 2013-02-20 Petr Machata <pmachata@redhat.com>
12890
12891 * elf/elf.h (R_ARM_TARGET1): New macro.
12892 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12893 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12894 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12895 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12896 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12897 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12898 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12899 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12900 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12901 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12902 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12903 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12904 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12905 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12906 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12907 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12908 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12909 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12910 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12911 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12912 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12913 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12914 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12915 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12916 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12917 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12918 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12919 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12920 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12921 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12922 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12923 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12924 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12925 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12926 (R_ARM_THM_GOT_BREL12): Likewise.
12927 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12928 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12929 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12930 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12931 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12932 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12933 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12934 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12935 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12936
12937 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12938
12939 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12940 __attribute_used__ to __attribute__ ((unused)).
12941
12942 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12943
12944 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12945 powerpc mpa.c.
12946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12947 comment formatting.
12948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12949
12950 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12951
12952 [BZ #13550]
12953 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12954 Remove macro.
12955 (ENTER): Remove both macro definitions.
12956 (LEAVE): Likewise.
12957 (CHECK_BOUNDS_LOW): Likewise.
12958 (CHECK_BOUNDS_HIGH): Likewise.
12959 (CHECK_BOUNDS_BOTH): Likewise.
12960 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12961 (RETURN_BOUNDED_POINTER): Likewise.
12962 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12963 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12964 (POP_ERRNO_LOCATION_RETURN): Likewise.
12965 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12967 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12968 macros.
12969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12970 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12971 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12972 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12973 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12974 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12975 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12976 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12977 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12978 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12979 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12980 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12982 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12983 removed macros.
12984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12985 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12986 macros.
12987 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12988 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12989 * sysdeps/i386/i586/memset.S (memset): Likewise.
12990 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12991 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12992 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12993 macros.
12994 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12995 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12996 Change uses of L(2) to L(out).
12997 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12998 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12999 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13000 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13001 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13002 removed macros.
13003 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13004 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13005 macros.
13006 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13007 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13008 (RETURN): Do not use macro LEAVE.
13009 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13010 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13011 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13012 * sysdeps/i386/i686/memset.S (memset): Likewise.
13013 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13014 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13015 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13016 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13017 Likewise.
13018 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13019 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13020 L(1_2) and L(1_3) into L(1).
13021 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13022 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13023 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13024 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13025 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13026 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13027 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13029 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13030 macros.
13031 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13032 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13033 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13034 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13035 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13036 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13037 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13038 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13039 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13040 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13041 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13042 * sysdeps/i386/strspn.S (strspn): Likewise.
13043 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13044 conditional code.
13045 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13046 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13048 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13049 L(1_3) into L(1_1).
13050 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13051 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13052 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13053 macros.
13054 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13055
13056 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13057
13058 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13059 macro.
13060
13061 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13062
13063 * math/atest-exp.c (exp_mpn): Remove ROUND.
13064 * math/atest-exp2.c (exp_mpn): Likewise.
13065 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13066
13067 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13068 * stdlib/tst-tls-atexit-lib.c: Likewise.
13069 * stdlib/tst-tls-atexit.c: Likewise.
13070
13071 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13072
13073 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13074 and __attribute_alloc_size__.
13075
13076 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13077
13078 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13079 __attribute_alloc_size__.
13080 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13081 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13082
13083 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13084
13085 * include/programs/xmalloc.h: New file.
13086 * catgets/gencat.c: Include it.
13087 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13088 * elf/pldd.c: Likewise.
13089 * iconv/iconv_charmap.c: Likewise.
13090 * iconv/iconvconfig.c: Likewise.
13091 * iconv/strtab.c: Likewise.
13092 * locale/programs/locale.c: Likewise.
13093 * locale/programs/localedef.h: Likewise.
13094 * locale/programs/simple-hash.c: Likewise.
13095 * nscd/nscd.h: Likewise.
13096 * nss/makedb.c: Likewise.
13097 * sysdeps/generic/ldconfig.h: Likewise.
13098
13099 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13100
13101 * Versions.def: Add GLIBC_2.18.
13102 * include/link.h (struct link_map): New member l_tls_dtor_count.
13103 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13104 (__call_tls_dtors): Likewise.
13105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13106 __cxa_thread_atexit_impl.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13108 Likewise.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13110 Likewise.
13111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13112 Likewise.
13113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13114 Likewise.
13115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13117 Likewise.
13118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13119 Likewise.
13120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13122 Likewise.
13123 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13124 (tests): Add test case tst-tls-atexit.
13125 (modules-names): Add shared library for tst-tls-atexit.
13126 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13127 (GLIBC_PRIVATE): Add __call_tls_dtors.
13128 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13129 for libstdc++.
13130 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13131 * stdlib/tst-tls-atexit.c: New test case.
13132 * stdlib/tst-tls-atexit-lib.c: New test case.
13133
13134 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13135
13136 * elf/Versions (ld): Add _dl_find_dso_for_object.
13137 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13138 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13139 (dl_open_worker): Use _dl_find_dso_for_object.
13140 * elf/dl-sym.c (do_sym): Likewise.
13141 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13142
13143 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13144
13145 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13146 Syntactic changes only.
13147 (_dl_runtime_profile): Do a tail-call to the resolved function.
13148
13149 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13150
13151 [BZ #13550]
13152 * sysdeps/x86_64/bp-asm.h: Remove file.
13153 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13154 <bp-sym.h> and <bp-asm.h>.
13155 (__clone): Do not use BP_SYM.
13156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13157 <bp-sym.h> and <bp-asm.h>.
13158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13159 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13160 "bp-asm.h".
13161 (_setjmp): Do not use BP_SYM.
13162 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13163 "bp-asm.h".
13164 (setjmp): Do not use BP_SYM.
13165 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13166 libc_hidden_def.
13167 (mempcpy): Do not use BP_SYM in weak_alias.
13168 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13169 "bp-asm.h".
13170 (strchr): Do not use BP_SYM.
13171 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13172 "bp-asm.h".
13173 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13174 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13175 (_start): Do not use BP_SYM.
13176 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13177 "bp-asm.h".
13178 (strcat): Do not use BP_SYM.
13179 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13180 "bp-asm.h".
13181 (STRCMP): Do not use BP_SYM.
13182 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13183 "bp-asm.h".
13184 (STRCPY): Do not use BP_SYM.
13185 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13186 "bp-asm.h".
13187 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13188 "bp-asm.h".
13189 (FUNCTION): Do not use BP_SYM.
13190 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13191 weak_alias.
13192 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13193
13194 2013-02-17 Andreas Jaeger <aj@suse.de>
13195
13196 * time/Versions: Sort entries.
13197 * string/Versions: Likewise.
13198 * resolv/Versions: Likewise.
13199 * posix/Versions: Likewise.
13200 * iconv/Versions: Likewise.
13201 * elf/Versions: Likewise.
13202 * wcsmbs/Versions: Likewise.
13203
13204 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13205
13206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13207 loop termination condition.
13208
13209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13210 variable to calculate EZ.
13211 (__sqr): Likewise.
13212
13213 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13214 the lower precision input.
13215
13216 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13217
13218 [BZ #13550]
13219 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13220 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13221 (run-via-rtld-prefix): Do not handle %-bp tests.
13222 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13223 (all-object-suffixes): Remove .ob.
13224 (bppfx): Remove variable.
13225 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13226 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13227 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13228 [$(build-bounded) = yes] (libtype.ob): Likewise.
13229 * Makerules (elide-routines.ob): Remove variable.
13230 (do-tests-clean): Do not handle *-bp.out.
13231 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13232 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13233 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13234 (tests): Do not include $(tests-bp.out).
13235 (xtests): Do not include $(xtests-bp.out).
13236 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13237 [$(build-bounded) = yes] ($(addprefix
13238 $(objpfx),$(binaries-bounded))): Remove rule.
13239 ($(objpfx)%-bp.out): Remove rule.
13240 * config.make.in (build-bounded): Remove variable.
13241 * crypt/Makefile [$(build-bounded) = yes]
13242 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13243 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13244 append to variable.
13245 [$(build-bounded) = yes] (install-lib): Likewise.
13246 [$(build-bounded) = yes] (generated): Likewise.
13247 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13248 Remove rule.
13249 * intl/Makefile [$(build-bounded) = yes]
13250 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13251 * math/Makefile [$(build-bounded) = yes]
13252 ($(tests:%=$(objpfx)%-bp): Likewise.
13253 * misc/Makefile [$(build-bounded) = yes]
13254 ($(objpfx)tst-tsearch-bp): Likewise.
13255 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13256 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13257 Remove dependency.
13258 * string/Makefile (o-objects.ob): Remove variable.
13259 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13260 (CFLAGS-.ob): Remove variable.
13261 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13262 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13263 both definitions of variable.
13264 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13265 (ASFLAGS-.ob): Remove variable.
13266
13267 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13268
13269 [BZ #13550]
13270 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13271 Remove __BOUNDED_POINTERS__ from condition.
13272 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13273 * string/bits/string2.h [!__NO_STRING_INLINES &&
13274 !__BOUNDED_POINTERS__]: Likewise.
13275 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13276 Likewise.
13277 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13278 Remove conditional code.
13279 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13280 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13281 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13282 condition.
13283
13284 [BZ #13550]
13285 * csu/libc-start.c: Do not include <bp-sym.h>.
13286 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13287 * elf/dl-open.c: Do not include <bp-sym.h>.
13288 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13289 * math/fegetenv.c: Do not include <bp-sym.h>.
13290 (fegetenv): Do not use BP_SYM in versioned symbols.
13291 * nptl/sysdeps/pthread/bits/libc-lockP.h
13292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13293 <bp-sym.h>.
13294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13295 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13297 (__pthread_mutex_destroy): Likewise.
13298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13299 (__pthread_mutex_lock): Likewise.
13300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13301 (__pthread_mutex_trylock): Likewise.
13302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13303 (__pthread_mutex_unlock): Likewise.
13304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13305 (__pthread_mutexattr_init): Likewise.
13306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13307 (__pthread_mutexattr_destroy): Likewise.
13308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13309 (__pthread_mutexattr_settype): Likewise.
13310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13311 (__pthread_rwlock_init): Likewise.
13312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13313 (__pthread_rwlock_destroy): Likewise.
13314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13315 (__pthread_rwlock_rdlock): Likewise.
13316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13317 (__pthread_rwlock_tryrdlock): Likewise.
13318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13319 (__pthread_rwlock_wrlock): Likewise.
13320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13321 (__pthread_rwlock_trywrlock): Likewise.
13322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13323 (__pthread_rwlock_unlock): Likewise.
13324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13325 (__pthread_key_create): Likewise.
13326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13327 (__pthread_setspecific): Likewise.
13328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13329 (__pthread_getspecific): Likewise.
13330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13331 Likewise.
13332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13333 (_pthread_cleanup_push_defer): Likewise.
13334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13335 (_pthread_cleanup_pop_restore): Likewise.
13336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13337 (pthread_setcancelstate): Likewise.
13338 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13339 <bp-sym.h>.
13340 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13341 (memchr): Do not use BP_SYM in weak_alias.
13342 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13343 (fegetenv): Do not use BP_SYM in versioned symbols.
13344 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13345 (fesetenv): Do not use BP_SYM in versioned symbols.
13346 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13347 (feupdateenv): Do not use BP_SYM in versioned symbols.
13348 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13350 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13351 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13352 (open64): Do not use BP_SYM in weak_alias.
13353 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13354 (fegetenv): Do not use BP_SYM in versioned symbols.
13355 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13356 (fesetenv): Do not use BP_SYM in versioned symbols.
13357 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13358 (feupdateenv): Do not use BP_SYM in versioned symbols.
13359 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13360 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13361 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13362 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13363 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13366 <bp-sym.h>.
13367 (__libc_start_main): Do not use BP_SYM.
13368
13369 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13370
13371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13372 redundant return line.
13373 (norm): Likewise.
13374 (denorm): Likewise.
13375 (dbl_mp): Likewise.
13376 (sub_magnitudes): Likewise.
13377 (__add): Likewise.
13378 (__sub): Likewise.
13379 (__mul): Likewise.
13380 (__inv): Likewise.
13381 (__dvd): Likewise.
13382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13383 (norm): Likewise.
13384 (denorm): Likewise.
13385 (dbl_mp): Likewise.
13386 (sub_magnitudes): Likewise.
13387 (__add): Likewise.
13388 (__sub): Likewise.
13389 (__mul): Likewise.
13390 (__inv): Likewise.
13391 (__dvd): Likewise.
13392
13393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13394 instead of __mul.
13395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13396 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13397 (cc32): Likewise.
13398
13399 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13400 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13402 of __mul for squares.
13403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13404 function
13405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13406 Likewise.
13407 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13409
13410 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13411
13412 [BZ #13550]
13413 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13414 code.
13415 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13416 prototype or function definition. Rename ubp_* variables and
13417 parameters. Remove argv definitions conditional on
13418 [__BOUNDED_POINTERS__].
13419 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13420 * elf/dl-runtime.c (_dl_fixup): Likewise.
13421 * include/set-hooks.h (RUN_HOOK): Likewise.
13422 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13423 definition.
13424 * string/strcpy.c (strcpy): Do not use __unbounded.
13425 * sysdeps/generic/frame.h (struct layout): Likewise.
13426 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13427 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13428 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13429 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13430 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13431 (__backtrace): Likewise.
13432 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13433 use __ptrvalue.
13434 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13436 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13437 Likewise.
13438 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13439 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13440 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13441 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13442 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13443 Do not use __unbounded.
13444 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13445 Rename __unboundedrlimits parameter to rlimits in prototype.
13446 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13447 Do not use __unbounded.
13448 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13449 not use __ptrvalue.
13450 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13451 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13452 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13454 __ptrvalue or __unbounded.
13455 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13456 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13457 use __unbounded.
13458 (__new_msgctl): Do not use __ptrvalue.
13459 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13460 __unbounded.
13461 (__libc_msgrcv): Do not use __ptrvalue.
13462 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13463 startup_info): Do not use __unbounded.
13464 (__libc_start_main): Likewise. Rename ubp_* variables and
13465 parameters. Remove argv definitions conditional on
13466 [__BOUNDED_POINTERS__].
13467 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13468 __ptrvalue.
13469 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13470 use __unbounded.
13471 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13472 or __ptrvalue.
13473 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13474 use __unbounded.
13475 (__new_shmctl): Do not use __ptrvalue.
13476 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13477 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13478 Likewise.
13479 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13481 (__libc_sigaction): Likewise.
13482 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13484 Likewise.
13485 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13486
13487 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13488
13489 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13490
13491 * string/mempcpy.c: Implement by calling memcpy.
13492
13493 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13494
13495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13496
13497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13498 evaluation.
13499
13500 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13501 values in the mantissa.
13502
13503 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13504 minimize writes to Z.
13505 (sub_magnitudes): Simplify code a bit.
13506
13507 2013-02-12 Roland McGrath <roland@hack.frob.com>
13508
13509 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13510 from the message. The linker prefixes all warnings with that already.
13511
13512 2013-02-12 Andreas Schwab <schwab@suse.de>
13513
13514 [BZ #15078]
13515 * posix/regexec.c (extend_buffers): Add parameter min_len.
13516 (check_matching): Pass minimum needed length.
13517 (clean_state_log_if_needed): Likewise.
13518 (get_subexp): Likewise.
13519 * posix/Makefile (tests): Add bug-regex34.
13520 (bug-regex34-ENV): Define.
13521 * posix/bug-regex34.c: New file.
13522
13523 [BZ #11561]
13524 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13525 elements compare against the byte sequence of it, not its name.
13526 * posix/Makefile (tests): Add bug-regex35.
13527 (bug-regex35-ENV): Define.
13528 * posix/bug-regex35.c: New file.
13529
13530 2013-02-11 Tom de Vries <tom@codesourcery.com>
13531
13532 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13533 comment.
13534 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13535 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13536 (CHECK_EOL): Add undef.
13537
13538 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13539
13540 * bits/stdlib-bsearch.h: New file.
13541 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13542 * stdlib/stdlib.h: Likewise.
13543
13544 2013-02-11 Roland McGrath <roland@hack.frob.com>
13545
13546 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13547 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13548 declaration.
13549 * manual/search.texi (Array Search Function): Add missing const in
13550 lfind prototype.
13551 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13552 declaration to use rlim_t.
13553 (Basic Scheduling Functions): Remove erroneous const from
13554 sched_getparam prototype. Remove erroneous * from
13555 sched_get_priority_max and sched_get_priority_min prototypes.
13556 (Resource Usage): Fix summary @comment on vtimes to refer to
13557 sys/vtimes.h rather than vtimes.h.
13558 Add missing *s in vtimes prototype.
13559 (Limits on Resources): Fix ulimit prototype to return long int.
13560 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13561 prototypes to use long int rather than double.
13562 (BSD Random): Fix initstate and setstate to use char *, not void *.
13563 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13564 prototype to make second argument 'struct aiocb64 *const[]'.
13565 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13566 (Status of AIO Operations): Remove erroneous const in aio_return and
13567 aio_return64 prototypes.
13568 (Synchronizing I/O): Fix sync prototype to return void.
13569 * manual/startup.texi (Suboptions): Remove an erroneous const in
13570 getsubopt prototype.
13571 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13572 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13573 use size_t rather than int.
13574 (Scanning All Users): Likewise for getpwent_r.
13575 (Setting Groups): Add missing const to setgroups prototype.
13576 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13577 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13578 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13579 'const void *' rather than 'const char *'.
13580 (Host Address Functions): Likewise for inet_ntop.
13581 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13582 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13583 ssize_t for return value.
13584 (Sending Data): Likewise for send, sendto, sendmsg.
13585 (Socket Option Functions): Add a missing const in setsockopt prototype.
13586 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13587 use wchar_t for the argument.
13588 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13589 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13590 take no arguments.
13591 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13592 double/float/long double for second argument.
13593 Fix return types of significand, significandf, significandl.
13594 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13595 argument in fchmod prototype.
13596 (File Owner): Use uid_t and gid_t in fchown prototype.
13597 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13598 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13599 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13600 use 'const struct dirent **' as argument types to CMP function pointer
13601 argument.
13602 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13603 (File Times): Fix summary magic @comment for struct utimbuf and utime
13604 to refer to utime.h, not time.h.
13605 * manual/string.texi (Argz Functions): Add missing const in
13606 argz_extract and argz_next prototypes.
13607 (Finding Tokens in a String): Likewise for basename.
13608 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13609 (Copying and Concatenation): Fix typo in wmemmove prototype.
13610 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13611 (Signal Stack): Remove erroneous const in sigstack prototype.
13612 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13613 prototype.
13614 (Simple Calendar Time): Likewise for stime.
13615 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13616 prototype.
13617 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13618 say sys/sysctl.h instead.
13619 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13620 and vsyslog prototypes.
13621
13622 2013-02-11 Tom de Vries <tom@codesourcery.com>
13623
13624 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13625 Remove.
13626
13627 2013-02-11 Roland McGrath <roland@hack.frob.com>
13628
13629 * misc/sys/mman.h: Fix typo in mremap comment.
13630
13631 2013-02-08 Roland McGrath <roland@hack.frob.com>
13632
13633 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13634 the '\0' terminator.
13635
13636 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13637
13638 [BZ #13550]
13639 * debug/segfault.c: Don't include <bp-checks.h>.
13640 * sysdeps/generic/bp-checks.h: Remove file.
13641 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13642 (__GETDENTS): Don't use CHECK_N.
13643 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13644 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13645 (__getgroups): Don't use CHECK_N.
13646 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13647 (setgroups): Don't use CHECK_N.
13648 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13649 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13650 (__libc_msgrcv): Don't use CHECK_N.
13651 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13652 (__libc_msgsnd): Don't use CHECK_N.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13654 <bp-checks.h>.
13655 (__libc_pread): Don't use CHECK_N.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13657 include <bp-checks.h>.
13658 (__libc_pread64): Don't use CHECK_N.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13660 include <bp-checks.h>.
13661 (__libc_pwrite): Don't use CHECK_N.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13663 include <bp-checks.h>.
13664 (__libc_pwrite64): Don't use CHECK_N.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13666 <bp-checks.h>.
13667 (__libc_pread): Don't use CHECK_N.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13669 include <bp-checks.h>.
13670 (__libc_pread64): Don't use CHECK_N.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13672 include <bp-checks.h>.
13673 (__libc_pwrite): Don't use CHECK_N.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13675 include <bp-checks.h>.
13676 (__libc_pwrite64): Don't use CHECK_N.
13677 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13678 (do_pread): Don't use CHECK_N.
13679 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13680 (do_pread64): Don't use CHECK_N.
13681 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13682 (do_pwrite): Don't use CHECK_N.
13683 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13684 (do_pwrite64): Don't use CHECK_N.
13685 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13686 (__libc_readv): Don't use CHECK_N.
13687 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13688 (semop): Don't use CHECK_N.
13689 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13690 <bp-checks.h>.
13691 (semtimedop): Don't use CHECK_N.
13692 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13693 (__libc_pread): Don't use CHECK_N.
13694 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13695 <bp-checks.h>.
13696 (__libc_pread64): Don't use CHECK_N.
13697 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13698 <bp-checks.h>.
13699 (__libc_pwrite): Don't use CHECK_N.
13700 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13701 <bp-checks.h>.
13702 (__libc_pwrite64): Don't use CHECK_N.
13703 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13704 <bp-checks.h>.
13705 (__libc_msgrcv): Don't use CHECK_N.
13706 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13707 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13708 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13709 (__libc_writev): Don't use CHECK_N.
13710
13711 2013-02-08 Roland McGrath <roland@hack.frob.com>
13712
13713 * string/strcpy.c: Removed unused variable.
13714
13715 * Makeconfig (+sysdep-includes): Define with := rather than =.
13716 Use an existing include/ subdir of each sysdeps dir before it.
13717
13718 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13719
13720 * nscd/connection.c (register_traced_file): Comment function.
13721 [HAVE_INOTIFY] (union __inev): Define.
13722 [HAVE_INOTIFY] (inotify_check_files): New function.
13723 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13724 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13725 clear_db_cache.
13726 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13727
13728 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13729
13730 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13731 loaded if not already and that a failure is permanent.
13732
13733 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13734
13735 [BZ #15006]
13736 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13737 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13738
13739 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13740
13741 [BZ #13550]
13742 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13743 (CHECK_1_NULL_OK): Likewise.
13744 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13745 (__fxstat): Do not use CHECK_1.
13746 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13747 <bp-checks.h>.
13748 (___fxstat64): Do not use CHECK_1.
13749 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13750 <bp-checks.h>.
13751 (__fxstatat): Do not use CHECK_1.
13752 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13753 <bp-checks.h>.
13754 (__fxstatat64): Do not use CHECK_1.
13755 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13756 <bp-checks.h>.
13757 (__fxstat): Do not use CHECK_1.
13758 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13759 <bp-checks.h>.
13760 (__fxstatat): Do not use CHECK_1.
13761 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13762 <bp-checks.h>.
13763 (__getresgid): Do not use CHECK_1.
13764 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13765 <bp-checks.h>.
13766 (__getresuid): Do not use CHECK_1.
13767 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13768 <bp-checks.h>.
13769 (__lxstat): Do not use CHECK_1.
13770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13771 <bp-checks.h>.
13772 (__old_msgctl): Do not use CHECK_1.
13773 (__new_msgctl): Likewise.
13774 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13775 <bp-checks.h>.
13776 (__new_setrlimit): Do not use CHECK_1.
13777 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13778 <bp-checks.h>.
13779 (__old_shmctl): Do not use CHECK_1.
13780 (__new_shmctl): Likewise.
13781 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13782 <bp-checks.h>.
13783 (__xstat): Do not use CHECK_1.
13784 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13785 (__lxstat): Do not use CHECK_1.
13786 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13787 <bp-checks.h>.
13788 (___lxstat64): Do not use CHECK_1.
13789 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13790 (__old_msgctl): Do not use CHECK_1.
13791 (__new_msgctl): Likewise.
13792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13793 <bp-checks.h>.
13794 (__gettimeofday): Do not use CHECK_1.
13795 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13796 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13797 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13798 <bp-checks.h>.
13799 (__gettimeofday): Do not use CHECK_1.
13800 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13801 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13802 (__new_shmctl): Do not use CHECK_1.
13803 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13804 <bp-checks.h>.
13805 (do_sigtimedwait): Do not use CHECK_1.
13806 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13807 <bp-checks.h>.
13808 (do_sigwaitinfo): Do not use CHECK_1.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13810 <bp-checks.h>.
13811 (msgctl): Do not use CHECK_1.
13812 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13813 <bp-checks.h>.
13814 (shmctl): Do not use CHECK_1.
13815 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13816 (ustat): Do not use CHECK_1.
13817 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13818 <bp-checks.h>.
13819 (__fxstat): Do not use CHECK_1.
13820 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13821 <bp-checks.h>.
13822 (__fxstatat): Do not use CHECK_1.
13823 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13824 <bp-checks.h>.
13825 (__lxstat): Do not use CHECK_1.
13826 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13827 <bp-checks.h>.
13828 (__xstat): Do not use CHECK_1.
13829 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13830 (__xstat): Do not use CHECK_1.
13831 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13832 (___xstat64): Do not use CHECK_1.
13833
13834 [BZ #13550]
13835 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13836 definitions.
13837 (CHECK_BOUNDS_HIGH): Likewise.
13838 * string/strcpy.c: Do not include <bp-checks.h>.
13839 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13840
13841 2013-02-07 Roland McGrath <roland@hack.frob.com>
13842
13843 * nscd/nscd-client.h (__nscd_drop_map_ref):
13844 Add __attribute__ ((unused)).
13845 * nis/nss-nisplus.h (niserr2nss): Likewise.
13846
13847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13848 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13849
13850 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13851 Remove inline keyword.
13852 * include/rounding-mode.h (round_away): Likewise.
13853 * libio/wfileops.c (adjust_wide_data): Likewise.
13854 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13855 (__m128i_strloadu_tolower): Likewise.
13856 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13857 (__m128i_strloadu_tolower): Likewise.
13858 * time/mktime.c (ydhms_diff): Likewise.
13859 * locale/elem-hash.h (elem_hash): Likewise.
13860 * locale/setlocale.c (setdata): Likewise.
13861 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13862 (re_string_wchar_at): Likewise.
13863 (bitset_not, bitset_merge, bitset_mask): Likewise.
13864 [!(__GNUC__ > 3)] (inline): Remove macro.
13865 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13866 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13867 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13868 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13869 * string/memcmp.c (memcmp_bytes): Likewise.
13870 * locale/programs/locarchive.c (compute_hashval): Likewise.
13871 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13872 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13873 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13874 * nss/getent.c (print_rpc, print_protocols): Likewise.
13875 (print_passwd, print_group, print_aliases): Likewise.
13876 * nis/nss-nisplus.h (niserr2nss): Likewise.
13877 * nscd/connections.c (restart_p): Likewise.
13878 Change return type to bool.
13879
13880 2013-02-05 Roland McGrath <roland@hack.frob.com>
13881
13882 * Makeconfig (all-Depend-files): Add existing
13883 $(sorted-subdirs:=/Depend) files.
13884 (all-subdirs): Remove nss.
13885 * sysdeps/unix/inet/Subdirs: Add it here instead.
13886 * hesiod/Depend: New file.
13887
13888 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13889 instead of calling alloca.
13890
13891 * io/lseek.c (__lseek): Rename to __libc_lseek.
13892 Define __lseek as an alias.
13893
13894 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13895
13896 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13897
13898 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13899 else clause and remove check for non-standard endianness.
13900
13901 2013-02-04 David S. Miller <davem@davemloft.net>
13902
13903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13904
13905 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13906
13907 [BZ #13550]
13908 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13909 (__ubp_memchr): Remove prototype.
13910 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13911 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13912 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13913 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13914 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13915 Remove alias.
13916 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13917 (__ubp_memchr): Likewise.
13918 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13919 (__ubp_memchr): Likewise.
13920 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13921 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13922 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13923 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13924 CHECK_STRING.
13925 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13926 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13927 (__getcwd): Do not use CHECK_STRING.
13928 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13929 <bp-checks.h>.
13930 (__real_chown): Do not use CHECK_STRING.
13931 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13932 <bp-checks.h>.
13933 (fchownat): Do not use CHECK_STRING.
13934 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13935 CHECK_STRING.
13936 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13937 <bp-checks.h>.
13938 (__lchown): Do not use CHECK_STRING.
13939 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13940 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13941 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13942 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13944 include <bp-checks.h>.
13945 (truncate64): Do not use CHECK_STRING.
13946 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13947 <bp-checks.h>.
13948 (__real_chown): Do not use CHECK_STRING.
13949 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13950 <bp-checks.h>.
13951 (__lchown): Do not use CHECK_STRING.
13952 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13953 <bp-checks.h>.
13954 (__chown): Do not use CHECK_STRING.
13955 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13956 <bp-checks.h>.
13957 (truncate64): Do not use CHECK_STRING.
13958 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13959 Likewise.
13960 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13961 (__xmknod): Do not use CHECK_STRING.
13962 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13963 <bp-checks.h>.
13964 (__xmknodat): Do not use CHECK_STRING.
13965 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13966 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13967
13968 2013-02-04 Andreas Schwab <schwab@suse.de>
13969
13970 [BZ #14142]
13971 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13972 * include/netdb.h: Likewise for h_errno.
13973 * elf/tst-stackguard1.c: Include <tls.h>.
13974
13975 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13976
13977 * elf/link.h (struct link_map): Extend the l_addr comment.
13978 * include/link.h (struct link_map): Likewise.
13979
13980 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13981
13982 [BZ #13550]
13983 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13984 (BOUNDED_1): Remove macro.
13985 * debug/backtrace.c: Don't include <bp-checks.h>.
13986 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13987 (__backtrace): Likewise.
13988 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13989 <bp-checks.h>.
13990 (__backtrace): Don't use BOUNDED_1.
13991 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13992 <bp-checks.h>.
13993 (__backtrace): Don't use BOUNDED_1.
13994 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13995 (__backtrace): Don't use BOUNDED_1.
13996 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13997 (shmat): Don't use BOUNDED_N.
13998
13999 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14000
14001 [BZ #13550]
14002 * sysdeps/generic/bp-start.h: Remove file.
14003 * csu/libc-start.c: Don't include <bp-start.h>.
14004 (LIBC_START_MAIN): Set up __environ directly instead of using
14005 INIT_ARGV_and_ENVIRON.
14006 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14007 <bp-start.h>.
14008
14009 [BZ #13550]
14010 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14011 definitions.
14012 (CHECK_FCNTL): Likewise.
14013 (CHECK_N_PAGES): Likewise.
14014
14015 [BZ #13550]
14016 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14017 definitions.
14018 (CHECK_SIGSET_NULL_OK): Likewise.
14019 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14020 <bp-checks.h>.
14021 (sigpending): Don't use CHECK_SIGSET.
14022 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14023 <bp-checks.h>.
14024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14025 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14026 <bp-checks.h>.
14027 (do_sigsuspend): Don't use CHECK_SIGSET.
14028 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14029 use CHECK_SIGSET.
14030 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14031 (do_sigwait): Don't use CHECK_SIGSET.
14032 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14033 use CHECK_SIGSET.
14034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14035 include <bp-checks.h>.
14036 (sigpending): Don't use CHECK_SIGSET.
14037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14038 include <bp-checks.h>.
14039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14040 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14041 <bp-checks.h>.
14042 (sigpending): Don't use CHECK_SIGSET.
14043 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14044 <bp-checks.h>.
14045 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14046
14047 [BZ #13550]
14048 * sysdeps/generic/bp-semctl.h: Remove file.
14049 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14050 <bp-checks.h> and <bp-semctl.h>.
14051 (__old_semctl): Don't use CHECK_SEMCTL.
14052 (__new_semctl): Likewise.
14053 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14054 and <bp-semctl.h>.
14055 (__old_semctl): Don't use CHECK_SEMCTL.
14056 (__new_semctl): Likewise.
14057 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14058 <bp-checks.h> and <bp-semctl.h>.
14059 (__old_semctl): Don't use CHECK_SEMCTL.
14060 (__new_semctl): Likewise.
14061 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14062 <bp-checks.h> and <bp-semctl.h>.
14063 (semctl): Don't use CHECK_SEMCTL.
14064
14065 [BZ #13550]
14066 * Makerules (elide-bp-thunks): Remove variable.
14067 (elide-routines.oS): Don't use $(elide-bp-thunks).
14068 (elide-routines.os): Likewise.
14069 (elide-routines.o): Likewise.
14070 (elide-routines.op): Likewise.
14071 (elide-routines.og): Likewise.
14072 (objects): Don't use $(bp-thunks).
14073 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14074 include.
14075 (common-generated): Do not add s-proto-bp.d.
14076 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14077 (int): Likewise.
14078 (typ): Likewise.
14079 Do not generate makefile rules for bounded-pointer thunks.
14080 * sysdeps/generic/bp-thunks.h: Remove file.
14081 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14082 * sysdeps/unix/s-proto-bp.S: Likewise.
14083
14084 [BZ #15062]
14085 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14086 parts of result separately when argument is not close to line from
14087 -i to i and one part of argument is small.
14088 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14089 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14090 * math/libm-test.inc (cacos_test): Add more tests.
14091 (casin_test): Likewise.
14092 (casinh_test): Likewise.
14093 * sysdeps/i386/fpu/libm-test-ulps: Update.
14094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14095
14096 2013-01-31 David S. Miller <davem@davemloft.net>
14097
14098 * po/de.po: Update from translation team.
14099
14100 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14101
14102 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14103
14104 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14105
14106 * configure.in (_AC_PROG_CC_C89): New definition.
14107 * configure: Regenerate.
14108
14109 * configure.in (AC_PROG_CPP): New definition.
14110 * configure: Regenerate.
14111
14112 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14113
14114 * debug/tst-backtrace.h: New file.
14115 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14116 (ret): Remove variable.
14117 (x): Likewise.
14118 (FAIL): Remove macro.
14119 (NO_INLINE): Likewise.
14120 (fn1): Use match function instead of strstr.
14121 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14122 (ret): Remove variable.
14123 (x): Likewise.
14124 (FAIL): Remove macro.
14125 (NO_INLINE): Likewise.
14126 (fn): Use match function instead of strstr.
14127 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14128 (ret): Remove variable.
14129 (x): Likewise.
14130 (FAIL): Remove macro.
14131 (NO_INLINE): Likewise.
14132 (handle_signal): Use match function instead of strstr.
14133 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14134 (ret): Remove variable.
14135 (x): Likewise.
14136 (FAIL): Remove macro.
14137 (NO_INLINE): Likewise.
14138 (handle_signal): Use match function instead of strstr.
14139
14140 2013-01-23 Roland McGrath <roland@hack.frob.com>
14141
14142 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14143
14144 2013-01-23 David S. Miller <davem@davemloft.net>
14145
14146 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14147 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14148 argument of CAS if possible.
14149 * sysdeps/sparc/sparc64/bits/atomic.h
14150 (__arch_compare_and_exchange_val_32_acq): Likewise.
14151 (__arch_compare_and_exchange_val_64_acq): Likewise.
14152
14153 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14154
14155 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14156 * sysdeps/posix/ulimit.c: ... this.
14157 Include <limits.h>.
14158 * sysdeps/unix/bsd/ulimit.c: Remove file.
14159
14160 2013-01-23 Adam Conrad <adconrad@0c3.net>
14161
14162 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14163 (LDFLAGS-tst-array5): Likewise.
14164
14165 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14166
14167 [BZ #15036]
14168 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14169 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14170 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14172
14173 2013-01-21 David S. Miller <davem@davemloft.net>
14174
14175 * sysdeps/sparc/backtrace.c: New file.
14176 * sysdeps/sparc/sparc32/backtrace.h: New file.
14177 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14178 * sysdeps/sparc/sparc64/backtrace.h: New file.
14179 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14180 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14181 -funwind-tables.
14182
14183 2013-01-21 Andreas Schwab <schwab@suse.de>
14184
14185 [BZ #15020]
14186 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14187 closed its stdout.
14188
14189 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14190
14191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14192 "mpa2.h".
14193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14194
14195 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14196 Mark Mitchell <mark@codesourcery.com>
14197 Tom de Vries <tom@codesourcery.com>
14198 Paul Pluzhnikov <ppluzhnikov@google.com>
14199
14200 * debug/tst-backtrace2.c: New file.
14201 * debug/tst-backtrace3.c: Likewise.
14202 * debug/tst-backtrace4.c: Likewise.
14203 * debug/tst-backtrace5.c: Likewise.
14204 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14205 (CFLAGS-tst-backtrace3.c): Likewise.
14206 (CFLAGS-tst-backtrace4.c): Likewise.
14207 (CFLAGS-tst-backtrace5.c): Likewise.
14208 (LDFLAGS-tst-backtrace2): Likewise.
14209 (LDFLAGS-tst-backtrace3): Likewise.
14210 (LDFLAGS-tst-backtrace4): Likewise.
14211 (LDFLAGS-tst-backtrace5): Likewise.
14212 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14213 tst-backtrace4 and tst-backtrace5.
14214
14215 2013-01-18 Anton Blanchard <anton@samba.org>
14216 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14217
14218 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14219 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14221 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14223 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14224 "+r" and remove output regs list as redundant. Add explicit inline
14225 asm to specify register of return val to work around compiler codegen
14226 bug. Remove (int) cast on return value. Add return type parameter to
14227 use in macro so that this macro does not truncate return value for
14228 64-bit values.
14229 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14230 pass to INTERNAL_VSYSCALL_NCS.
14231 (INLINE_VSYSCALL): Add 'long int' as return type to
14232 INTERNAL_VSYSCALL_NCS macro invocation.
14233 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14234 INTERNAL_VSYSCALL_NCS macro invocation.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14236
14237 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14238
14239 [BZ #14496]
14240 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14241 Fix application of SIMD FP exception mask.
14242
14243 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14244 mp_no from a power of two.
14245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14246 __mpexp_twomm1. Use __pow_mp.
14247
14248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14249 multiplication.
14250
14251 2013-01-17 David S. Miller <davem@davemloft.net>
14252
14253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14254
14255 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14256
14257 [BZ #15023]
14258 * include/complex.h: Condition contents on [!_COMPLEX_H].
14259 (__kernel_casinhf): New prototype.
14260 (__kernel_casinh): Likewise.
14261 (__kernel_casinhl): Likewise.
14262 * math/Makefile (libm_calls): Add k_casinh.
14263 * math/k_casinh.c: New file.
14264 * math/k_casinhf.c: Likewise.
14265 * math/k_casinhl.c: Likewise.
14266 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14267 finite nonzero arguments.
14268 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14269 finite nonzero arguments.
14270 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14271 finite nonzero arguments.
14272 * math/s_casinh.c: Do not include <float.h>.
14273 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14274 * math/s_casinhf.c: Do not include <float.h>.
14275 (__casinhf): Move code for finite nonzero arguments to
14276 k_casinhf.c.
14277 * math/s_casinhl.c: Do not include <float.h>.
14278 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14279 redefine.
14280 (__casinhl): Move code for finite nonzero arguments to
14281 k_casinhl.c.
14282 * math/libm-test.inc (cacos_test): Add more tests.
14283 * sysdeps/i386/fpu/libm-test-ulps: Update.
14284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14285
14286 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14287
14288 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14289 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14290 [!HAVE_MREMAP]: Remove [defined linux] case.
14291 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14292
14293 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14294
14295 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14296
14297 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14298
14299 * elf/elf.h (R_386_SIZE32): New relocation.
14300 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14301 R_386_SIZE32.
14302 (elf_machine_rela): Likewise.
14303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14304 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14305
14306 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14307
14308 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14309 (FP_FAST_FMA): Do not define.
14310 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14311 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14312 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14313 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14314 !_SOFT_FLOAT]: Likewise.
14315 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14316 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14317 value.
14318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14319 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14320 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14321 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14322 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14323 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14324 file.
14325
14326 2013-01-16 Andreas Schwab <schwab@suse.de>
14327
14328 [BZ #14327]
14329 * include/stdlib.h (__mktemp): Add declaration.
14330 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14331 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14332
14333 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14334
14335 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14336 definitions.
14337 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14338 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14339 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14340 definitions here.
14341 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14342 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14343 definitions.
14344 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14345 and ONE.
14346 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14347 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14348 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14349 definitions.
14350 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14351 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14352 definitions.
14353 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14354
14355 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14356
14357 2013-01-15 David S. Miller <davem@davemloft.net>
14358
14359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14360 trunc{,f} to libm-sysdep_routes.
14361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14363 file.
14364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14366 file.
14367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14368 file.
14369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14371 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14372 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14375 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14376 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14377
14378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14379 nearbyint{,f} to libm-sysdep_routes.
14380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14382 New file.
14383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14384 file.
14385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14386 New file.
14387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14388 file.
14389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14391 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14392 file.
14393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14394 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14395 file.
14396 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14397 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14398 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14399
14400 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14401 libc_feholdexcept and libc_fesetenv.
14402
14403 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14404
14405 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14406
14407 2013-01-14 David S. Miller <davem@davemloft.net>
14408
14409 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14410 (SPARC_ASM_VIS2_IFUNC): Likewise.
14411 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14413 use of 'siam' instruction.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14415 Likewise.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14417 Likewise.
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14419 Likewise.
14420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14425 file.
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14427 file.
14428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14429 file.
14430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14431 file.
14432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14437 new VIS2 routines.
14438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14441 Likewise.
14442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14447 routines to libm-sysdep_routines.
14448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14449
14450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14451 fdim/fdimf to libm-sysdep_routines.
14452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14453 file.
14454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14456 file.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14460 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14461 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14463 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14464
14465 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14466
14467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14468 to optimize copies.
14469
14470 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14473
14474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14475 local variable MPTWO.
14476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14477 Likewise.
14478
14479 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14480
14481 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14482 GLOB_NOESCAPE.
14483
14484 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14485
14486 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14487
14488 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14489
14490 * manual/pattern.texi (glob_t): Document gl_flags.
14491 (glob64_t): Likewise.
14492
14493 2013-01-11 David S. Miller <davem@davemloft.net>
14494
14495 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14496 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14497 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14498 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14499 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14500 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14501 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14502 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14503 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14504 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14505 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14506 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14507 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14508
14509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14510 sparc V9 rather than using V8 code.
14511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14513
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14515 Move to...
14516 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14517 Here.
14518
14519 2013-01-11 Roland McGrath <roland@hack.frob.com>
14520
14521 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14522 not in the main loop.
14523 * configure: Regenerated.
14524
14525 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14526
14527 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14528 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14529 to just #else.
14530 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14531 [!__GLIBC_HAVE_LONG_LONG] case.
14532 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14533 condition to just #else.
14534 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14535 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14536 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14537 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14538 unconditional.
14539 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14540 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14541 #elif condition to just #else.
14542 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14543 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14544 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14545 #elif condition to just #else.
14546
14547 2013-01-11 Steve Ellcey <sellcey@mips.com>
14548
14549 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14550 (EF_MIPS_ARCH_64): Fix value.
14551 (EF_MIPS_ARCH_32R2): New.
14552 (EF_MIPS_ARCH_64R2): New.
14553
14554 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14555
14556 * Makeconfig (+link-pie-before-libc): New.
14557 (+link-pie-after-libc): Likewise.
14558 (+link-pie-tests): Likewise.
14559 (+link-pie): Rewritten.
14560 (link-before-libc): Remove $(config-LDFLAGS).
14561 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14562 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14563 (config-LDFLAGS): Renamed to ...
14564 (rtld-LDFLAGS): This.
14565 (rtld-tests-LDFLAGS): New macro.
14566 (link-libc-rpath-link): Likewise.
14567 (link-libc-tests-rpath-link): Likewise.
14568 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14569 (link-libc): Prepand $(link-libc-rpath-link).
14570 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14571 (test-program-prefix): New macro.
14572 (test-via-rtld-prefix): Likewise.
14573 (test-program-cmd): Likewise.
14574 (host-test-program-cmd): Likewise.
14575 * Makefile ($(common-objpfx)testrun.sh): Replace
14576 $(run-program-prefix) with $(test-program-prefix).
14577 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14578 $(rtld-LDFLAGS).
14579 ($(common-objpfx)shlib.lds): Likewise.
14580 (build-module-helper): Likewise.
14581 ($(common-objpfx)format.lds): Likewise.
14582 * Rules (binaries-pie-tests): New.
14583 (binaries-pie-notests): Likewise.
14584 (binaries-pie): Rewritten.
14585 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14586 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14587 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14588 (make-test-out): Replace $(host-built-program-cmd) with
14589 $(host-test-program-cmd).
14590 * config.make.in (build-hardcoded-path-in-tests): New variable.
14591 * configure.in (--enable-hardcoded-path-in-tests): New configure
14592 option.
14593 (hardcoded_path_in_tests): New AC_SUBST.
14594 * configure: Regenerated.
14595 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14596 $(built-program-cmd) with $(test-program-cmd).
14597 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14598 (test_program_cmd): This.
14599 * elf/Makefile ($(objpfx)order.out): Run test with
14600 $(test-program-prefix).
14601 ($(objpfx)order2.out): Likewise.
14602 ($(objpfx)tst-initorder.out): Likewise.
14603 ($(objpfx)tst-initorder2.out): Likewise.
14604 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14605 $(test-program-cmd).
14606 ($(objpfx)tst-array1-static.out): Likewise.
14607 ($(objpfx)tst-array2.out): Likewise.
14608 ($(objpfx)tst-array3.out): Likewise.
14609 ($(objpfx)tst-array4.out): Likewise.
14610 ($(objpfx)tst-array5.out): Likewise.
14611 ($(objpfx)tst-array5-static.out): Likewise.
14612 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14613 $(test-program-cmd).
14614 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14615 $(run-program-prefix) with $(test-program-prefix).
14616 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14617 (test_program_prefix): This.
14618 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14619 $(run-program-prefix) with $(test-program-prefix).
14620 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14621 (test_program_prefix): This.
14622 * iconvdata/tst-tables.sh: Likewise.
14623 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14624 $(run-program-prefix) with $(test-program-prefix).
14625 ($(objpfx)tst-translit.out): Likewise.
14626 ($(objpfx)tst-gettext2.out): Likewise.
14627 ($(objpfx)tst-gettext4.out): Likewise.
14628 ($(objpfx)tst-gettext6.out): Likewise.
14629 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14630 (test_program_prefix): This.
14631 * intl/tst-gettext2.sh: Likewise.
14632 * intl/tst-gettext4.sh Likewise.
14633 * intl/tst-gettext6.sh: Likewise.
14634 * intl/tst-translit.sh: Likewise.
14635 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14636 with $(test-program-cmd).
14637 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14638 $(run-program-prefix) with $(test-program-prefix).
14639 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14640 (test_program_prefix): This.
14641 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14642 $(run-program-prefix) with $(test-program-prefix).
14643 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14644 (test_program_prefix): This.
14645 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14646 * posix/Makefile ($(objpfx)globtest.out): Replace
14647 $(run-via-rtld-prefix) and $(test-wrapper) with
14648 $(test-program-prefix) and $(test-via-rtld-prefix).
14649 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14650 $(test-program-prefix).
14651 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14652 $(host-test-program-cmd).
14653 (tst-spawn-ARGS): Likewise.
14654 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14655 $(test-program-prefix).
14656 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14657 (test_via_rtld_prefix): This.
14658 (test_wrapper): Renamed to ...
14659 (test_program_prefix): This.
14660 (run_program_prefix): Replaced by test_program_prefix.
14661 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14662 (test_program_prefix): This.
14663 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14664 with $(host-test-program-cmd).
14665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14666 $(run-program-prefix) with $(test-program-prefix).
14667 ($(objpfx)tst-printf.out): Likewise.
14668 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14669 $(test-program-cmd).
14670 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14671 (test_program_prefix): This.
14672 * stdio-common/tst-unbputc.sh: Likewise.
14673 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14674 $(run-program-prefix) with $(test-program-prefix).
14675 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14676 (test_program_prefix): This.
14677 * string/Makefile ($(objpfx)tst-svc.out): Replace
14678 $(built-program-cmd) with $(test-program-cmd).
14679
14680 2013-01-11 Andreas Jaeger <aj@suse.de>
14681
14682 [BZ #15003]
14683 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14684 value. Sync with Linux 3.7.
14685
14686 2013-01-10 David S. Miller <davem@davemloft.net>
14687
14688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14689 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14690 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14691
14692 2013-01-10 Roland McGrath <roland@hack.frob.com>
14693
14694 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14695 never set.
14696 * configure: Regenerated.
14697
14698 2013-01-10 David S. Miller <davem@davemloft.net>
14699
14700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14701 sparc V9 rather than using V8 code.
14702 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14703 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14704
14705 2013-01-10 Roland McGrath <roland@hack.frob.com>
14706
14707 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14708 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14709 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14710 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14711 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14712 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14713 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14714 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14715 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14716 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14717 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14718 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14719 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14720 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14721 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14722 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14723 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14724 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14725 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14726 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14727 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14728 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14729 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14730 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14731 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14732 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14733 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14734
14735 2013-01-10 David S. Miller <davem@davemloft.net>
14736
14737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14738
14739 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14740
14741 * posix/Makefile (tests-static): New variable.
14742 (tests): Add $(tests-static).
14743 (tst-exec-static-ARGS): New variable.
14744 (tst-spawn-static-ARGS): Likewise.
14745 * posix/tst-exec-static.c: New file.
14746 * posix/tst-spawn-static.c: Likewise.
14747 * posix/tst-exec.c: Support run directly.
14748 * posix/tst-spawn.c: Likewise.
14749
14750 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14751
14752 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14753 long.
14754 * math/bits/mathcalls.h (llrint): Likewise.
14755 (llround): Likewise.
14756 * stdlib/stdlib.h (struct drand48_data): Likewise.
14757 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14758 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14759 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14760 Likewise.
14761 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14762 Likewise.
14763 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14764 (elf_greg_t): Likewise.
14765 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14766 (__jmp_buf): Likewise.
14767 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14768 definitions.
14769 (llrint): Likewise, for all definitions.
14770 (llrintl): Likewise.
14771
14772 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14773 Remove [__GNUC__] condition.
14774 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14775 condition to just [__USE_ISOC99].
14776 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14777
14778 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 [BZ #14200]
14781 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14782 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14783 defined.
14784 (_POSIX_V6_ILP32_OFF32): Likewise.
14785 (_XBS5_ILP32_OFF32): Likewise.
14786 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14787 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14788
14789 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14790
14791 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14792
14793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14794 doubles __mpexp_twomm1. Adjust usage.
14795 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14796 Remove.
14797
14798 2013-01-10 Andreas Schwab <schwab@suse.de>
14799
14800 [BZ #14964]
14801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14802 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14803
14804 2013-01-09 David S. Miller <davem@davemloft.net>
14805
14806 [BZ #15003]
14807 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14808 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14809 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14810 TCP_FASTOPEN): Define.
14811 (tcp_repair_opt): New structure.
14812 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14813 enum values.
14814 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14815 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14816 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14817 (tcp_cookie_transactions): New structure.
14818
14819 2013-01-09 Anton Blanchard <anton@samba.org>
14820
14821 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14822 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14823 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14825
14826 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14827
14828 * include/features.h (__USE_ANSI): Remove.
14829
14830 2013-01-09 Roland McGrath <roland@hack.frob.com>
14831
14832 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14833
14834 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14835
14836 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14837
14838 * sysdeps/s390/fpu/libm-test-ulps: Update.
14839
14840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14841
14842 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14843 (__acr): Likewise.
14844 (__cpy): Likewise.
14845 (norm): Likewise.
14846 (denorm): Likewise.
14847 (__mp_dbl): Likewise.
14848 (__dbl_mp): Likewise.
14849 (add_magnitudes): Likewise.
14850 (sub_magnitudes): Likewise.
14851 (__add): Likewise.
14852 (__sub): Likewise.
14853 (__mul): Likewise.
14854 (__inv): Likewise.
14855 (__dvd): Likewise.
14856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14857 (__acr): Likewise.
14858 (__cpy): Likewise.
14859 (norm): Likewise.
14860 (denorm): Likewise.
14861 (__mp_dbl): Likewise.
14862 (__dbl_mp): Likewise.
14863 (add_magnitudes): Likewise.
14864 (sub_magnitudes): Likewise.
14865 (__add): Likewise.
14866 (__sub): Likewise.
14867 (__mul): Likewise.
14868 (__inv): Likewise.
14869 (__dvd): Likewise.
14870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14871 (__acr): Likewise.
14872 (__cpy): Likewise.
14873 (norm): Likewise.
14874 (denorm): Likewise.
14875 (__mp_dbl): Likewise.
14876 (__dbl_mp): Likewise.
14877 (add_magnitudes): Likewise.
14878 (sub_magnitudes): Likewise.
14879 (__add): Likewise.
14880 (__sub): Likewise.
14881 (__mul): Likewise.
14882 (__inv): Likewise.
14883 (__dvd): Likewise.
14884
14885 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14886
14887 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14888 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14889 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14890 2 && __USE_EXTERN_INLINES]: Likewise.
14891
14892 2013-01-08 Andreas Jaeger <aj@suse.de>
14893
14894 [BZ# 14985]
14895 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14896 Remove.
14897 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14898 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14899
14900 2013-01-07 Anton Blanchard <anton@samba.org>
14901
14902 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14903 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14904 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14905 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14906 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14907 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14908 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14909 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14912 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14916 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14919 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14920 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14923 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14925 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14926 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14927 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14928 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14929 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14932 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14935 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14936 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14939 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14942 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14945
14946 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14947
14948 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14949 (__MALLOC_PMT): Likewise.
14950 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14951 [__GNUC__], only on [_LIBC].
14952 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14953 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14954 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14955 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14956 forward declaration.
14957 (realloc_hook_ini): Likewise.
14958 (memalign_hook_ini): Likewise.
14959 (__libc_memalign): Do not use __MALLOC_PMT in variable
14960 declaration.
14961 (__libc_valloc): Likewise.
14962 (__libc_pvalloc): Likewise.
14963 (__libc_calloc): Likewise.
14964 (__posix_memalign): Likewise.
14965
14966 [BZ #14996]
14967 * math/s_casinh.c: Include <float.h>.
14968 (__casinh): Do not do computation with squaring and square root
14969 for large arguments.
14970 * math/s_casinhf.c: Include <float.h>.
14971 (__casinhf): Do not do computation with squaring and square root
14972 for large arguments.
14973 * math/s_casinhl.c: Include <float.h>.
14974 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14975 (__casinhl): Do not do computation with squaring and square root
14976 for large arguments.
14977 * math/libm-test.inc (casin_test): Add more tests.
14978 (casinh_test): Likewise.
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14981
14982 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14983
14984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14985 (__x86_64_raw_data_cache_size): Likewise.
14986 (__x86_64_data_cache_size_half): Likewise.
14987 (__x86_64_raw_data_cache_size_half): Likewise.
14988 (__x86_64_shared_cache_size): Likewise.
14989 (__x86_64_raw_shared_cache_size): Likewise.
14990 (__x86_64_shared_cache_size_half): Likewise.
14991 (__x86_64_raw_shared_cache_size_half): Likewise.
14992 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14993 to ...
14994 (__x86_data_cache_size): This.
14995 (__x86_64_raw_data_cache_size): Renamed to ...
14996 (__x86_raw_data_cache_size): This.
14997 (__x86_64_data_cache_size_half): Renamed to ...
14998 (__x86_data_cache_size_half): This.
14999 (__x86_64_raw_data_cache_size_half): Renamed to ...
15000 (__x86_raw_data_cache_size_half): This.
15001 (__x86_64_shared_cache_size): Renamed to ...
15002 (__x86_shared_cache_size): This.
15003 (__x86_64_raw_shared_cache_size): Renamed to ...
15004 (__x86_raw_shared_cache_size): This.
15005 (__x86_64_shared_cache_size_half): Renamed to ...
15006 (__x86_shared_cache_size_half): This.
15007 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15008 (__x86_raw_shared_cache_size_half): This.
15009 * sysdeps/x86_64/memcpy.S: Updated.
15010 * sysdeps/x86_64/memset.S: Likewise.
15011 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15014
15015 2013-01-04 David S. Miller <davem@davemloft.net>
15016
15017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15018
15019 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15020
15021 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15022 1 to avoid redefinition warning.
15023 (__USE_GNU): Don't define.
15024 (init_signaling_nan): Protoize.
15025
15026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15027
15028 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15029
15030 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15032 (__cpymn): Likewise.
15033 (norm): Remove commented code.
15034 (denorm): Likewise.
15035 (__mp_dbl): Likewise.
15036 (__inv): Likewise.
15037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15038 (__cpymn): Likewise.
15039 (norm): Remove commented code.
15040 (denorm): Likewise.
15041 (__mp_dbl): Likewise.
15042 (__inv): Likewise.
15043
15044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15045 mp_no value for 1.0 and 2.0.
15046 (norm): Use RADIXI instead of radixi.d.
15047 (denorm): Likewise.
15048 (__mul): Use 0.0 instead of zero.d.
15049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15050 mp_no value for 1.0 and 2.0.
15051 (norm): Use RADIXI instead of radixi.d.
15052 (denorm): Likewise.
15053 (__mul): Use 0.0 instead of zero.d.
15054
15055 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15056
15057 [BZ #14994]
15058 * math/s_casinh.c (__casinh): Reduce finite argument to first
15059 quadrant then set signs of results at the end.
15060 * math/s_casinhf.c (__casinhf): Likewise.
15061 * math/s_casinhl.c (__casinhl): Likewise.
15062 * math/libm-test.inc (casin_test): Add more tests.
15063 (casinh_test): Likewise.
15064 * sysdeps/i386/fpu/libm-test-ulps: Update.
15065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15066
15067 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15068
15069 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15070
15071 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15072
15073 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15074 declarations.
15075 (denorm): Likewise.
15076 (__mp_dbl): Likewise.
15077 (__inv): Likewise.
15078
15079 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15080 and adjust the header comment.
15081
15082 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15083 variable name from declaration.
15084
15085 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15086
15087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15088 Initialize COMMON_CPUID_INDEX_7 element.
15089 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15090 (CPUID_RTM): Likewise.
15091 (HAS_RTM): Likewise.
15092 (COMMON_CPUID_INDEX_7): New enum.
15093
15094 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15095
15096 [BZ #14981]
15097 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15098 size is zero, record memory as freed.
15099
15100 2013-01-03 Andreas Jaeger <aj@suse.de>
15101
15102 * po/ia.po: Add new Interlingua translation.
15103
15104 2012-01-03 Allan McRae <allan@archlinux.org>
15105
15106 * locale/programs/localedef.c: Fix description of '--posix' flag.
15107
15108 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15109
15110 * NEWS: Update dates in second copyright notice.
15111 * README: Update copyright dates in example.
15112 * manual/libc.texinfo: Update copyright dates.
15113 * scripts/test-installation.pl: Update copyright date in --version
15114 output.
15115
15116 * hurd/ctty-input.c: Fix copyright notice formatting.
15117 * hurd/ctty-output.c: Likewise.
15118 * hurd/dtable.c: Likewise.
15119 * hurd/hurd-raise.c: Likewise.
15120 * hurd/hurdprio.c: Likewise.
15121 * hurd/msgportdemux.c: Likewise.
15122 * misc/sys/file.h: Likewise.
15123 * misc/sys/ioctl.h: Likewise.
15124 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15125 * sysdeps/mach/hurd/chdir.c: Likewise.
15126 * sysdeps/mach/hurd/fchdir.c: Likewise.
15127 * sysdeps/mach/hurd/rename.c: Likewise.
15128 * sysdeps/mach/hurd/rmdir.c: Likewise.
15129 * sysdeps/mach/hurd/seekdir.c: Likewise.
15130 * sysdeps/mach/hurd/setsid.c: Likewise.
15131 * sysdeps/posix/wait3.c: Likewise.
15132
15133 * All files with FSF copyright notices: Update copyright dates
15134 using scripts/update-copyrights.
15135 * intl/plural.c: Regenerated.
15136 * locale/programs/charmap-kw.h: Likewise.
15137 * locale/programs/locfile-kw.h: Likewise.
15138
15139 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15140
15141 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15142 four values.
15143
15144 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15145 calculation loop and add branch prediction.
15146
15147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15148 check access beyond bounds of m1np.
15149
15150 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15151 MPTWO.
15152 (__inv): Remove local variable MPTWO to use the global
15153 constant.
15154 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15155 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15156 variable MPTWO.
15157 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15158 MP3HALFS static const.
15159
15160 2013-01-01 David S. Miller <davem@davemloft.net>
15161
15162 * po/ca.po: Update from translation team.
15163
15164 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15165
15166 * scripts/update-copyrights: New file.
15167 * Makeconfig: Reformat copyright notice.
15168 * ctype/ctype.h: Likewise.
15169 * debug/swprintf_chk.c: Likewise.
15170 * elf/dl-cache.c: Likewise.
15171 * elf/dl-debug.c: Likewise.
15172 * elf/dl-object.c: Likewise.
15173 * grp/initgroups.c: Likewise.
15174 * hurd/Makefile: Likewise.
15175 * hurd/hurd/signal.h: Likewise.
15176 * hurd/hurdfault.c: Likewise.
15177 * hurd/hurdioctl.c: Likewise.
15178 * hurd/hurdlookup.c: Likewise.
15179 * hurd/intr-msg.c: Likewise.
15180 * iconv/gconv_open.c: Likewise.
15181 * libio/swprintf.c: Likewise.
15182 * locale/lc-ctype.c: Likewise.
15183 * locale/nl_langinfo.c: Likewise.
15184 * mach/Machrules: Likewise.
15185 * mach/Makefile: Likewise.
15186 * malloc/obstack.h: Likewise.
15187 * manual/Makefile: Likewise.
15188 * manual/tsort.awk: Likewise.
15189 * misc/bits/stab.def: Likewise.
15190 * nis/nis_print_group_entry.c: Likewise.
15191 * nis/nis_table.c: Likewise.
15192 * nis/nss_compat/compat-pwd.c: Likewise.
15193 * nis/nss_compat/compat-spwd.c: Likewise.
15194 * po/Makefile: Likewise.
15195 * posix/fnmatch.c: Likewise.
15196 * posix/regex.h: Likewise.
15197 * resolv/Makefile: Likewise.
15198 * resolv/nss_dns/dns-network.c: Likewise.
15199 * resolv/res_hconf.c: Likewise.
15200 * scripts/gen-sorted.awk: Likewise.
15201 * soft-fp/soft-fp.h: Likewise.
15202 * stdio-common/printf.h: Likewise.
15203 * stdlib/monetary.h: Likewise.
15204 * stdlib/random.c: Likewise.
15205 * stdlib/random_r.c: Likewise.
15206 * sysdeps/generic/Makefile: Likewise.
15207 * sysdeps/gnu/Makefile: Likewise.
15208 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15231 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15232 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15234 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15236 * sysdeps/mach/hurd/errnos.awk: Likewise.
15237 * sysdeps/mach/hurd/fork.c: Likewise.
15238 * sysdeps/mach/hurd/getcwd.c: Likewise.
15239 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15240 * sysdeps/mach/hurd/mmap.c: Likewise.
15241 * sysdeps/mach/hurd/utimes.c: Likewise.
15242 * sysdeps/mach/hurd/xmknod.c: Likewise.
15243 * sysdeps/posix/profil.c: Likewise.
15244 * sysdeps/posix/readdir_r.c: Likewise.
15245 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15246 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15247 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15248 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15252 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15254 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15256 * sysdeps/pthread/lio_listio.c: Likewise.
15257 * sysdeps/sparc/dl-procinfo.h: Likewise.
15258 * sysdeps/unix/i386/sysdep.S: Likewise.
15259 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15260 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15261 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15262 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15264 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15265 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15266 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15267 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15268 * sysdeps/wordsize-32/divdi3.c: Likewise.
15269 * time/sys/time.h: Likewise.
15270 * wcsmbs/Makefile: Likewise.
15271
15272 2013-01-01 David S. Miller <davem@davemloft.net>
15273
15274 * po/fr.po: Update from translation team.
15275
15276 * catgets/gencat.c: Update copyright year.
15277 * csu/version.c: Likewise.
15278 * debug/catchsegv.sh: Likewise.
15279 * debug/pcprofiledump.c: Likewise.
15280 * debug/xtrace.sh: Likewise.
15281 * elf/ldconfig.c: Likewise.
15282 * elf/ldd.bash.in: Likewise.
15283 * elf/pldd.c: Likewise.
15284 * elf/sotruss.ksh: Likewise.
15285 * elf/sprof.c: Likewise.
15286 * iconv/iconv_prog.c: Likewise.
15287 * iconv/iconvconfig.c: Likewise.
15288 * locale/programs/locale.c: Likewise.
15289 * locale/programs/localedef.c: Likewise.
15290 * login/programs/pt_chown.c: Likewise.
15291 * malloc/memusage.sh: Likewise.
15292 * malloc/memusagestat.c: Likewise.
15293 * malloc/mtrace.pl: Likewise.
15294 * nscd/nscd.c: Likewise.
15295 * nss/getent.c: Likewise.
15296 * nss/makedb.c: Likewise.
15297 * posix/getconf.c: Likewise.
15298
15299 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15300
15301 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15302 numbers.
15303
15304 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15305
15306 * math/bits/mathcalls.h (modf): Use __nonnull.
15307
15308 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15309
15310 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15311 (split): Use macro CN instead of the bare value.
15312 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15313 could be used.
15314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15315 instead of the bare value.
15316 (power1): Likewise.
15317
15318 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15319
15320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15321 __ATAN_TWOM.
15322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15323
15324 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15325 their values.
15326 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15328 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15329 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15330
15331 2012-12-28 Andreas Jaeger <aj@suse.de>
15332
15333 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15334 values are from Linux 3.7.
15335
15336 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15337 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15338
15339 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15340
15341 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15342 TRUE case.
15343
15344 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15345 (norm): Likewise.
15346 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15347 variables with preprocessor constants.
15348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15349 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15350 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15351
15352 2012-12-27 Bruno Haible <bruno@clisp.org>
15353
15354 [BZ #14317]
15355 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15356 only if needed.
15357
15358 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15359
15360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15361 and use variable directly.
15362 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15363
15364 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15365 MPONE.
15366 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15368 variable MPONE.
15369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15371 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15372 include directive. Remove local variable MPONE.
15373 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15374 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15375 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15376
15377 2012-12-25 David S. Miller <davem@davemloft.net>
15378
15379 * version.h (RELEASE): Set to "development".
15380 (VERSION): Set to "2.17.90".
15381 * NEWS: Add 2.18 section.
15382
15383 2012-12-21 David S. Miller <davem@davemloft.net>
15384
15385 * po/hr.po: Update from translation team.
15386
15387 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15388
15389 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15390
15391 2012-12-19 Steve Ellcey <sellcey@mips.com>
15392
15393 * NEWS: Mention new memcpy for MIPS.
15394
15395 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15396
15397 * manual/contrib.texi (Contributors): Spelling correction.
15398
15399 2012-12-15 David S. Miller <davem@davemloft.net>
15400
15401 * po/ru.po: Update from translation team.
15402
15403 2012-12-13 David S. Miller <davem@davemloft.net>
15404
15405 * NEWS: Mention IFUNC testsuite enhancements.
15406
15407 * po/pl.po: Update from translation team.
15408 * po/bg.po: Likewise.
15409
15410 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15411 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15412
15413 2012-12-11 David S. Miller <davem@davemloft.net>
15414
15415 * po/sv.po: Update from translation team.
15416
15417 * po/vi.po: Update from translation team.
15418
15419 * po/cs.po: Update from translation team.
15420
15421 * po/de.po: Update from translation team.
15422 * po/eo.po: Likewise.
15423 * po/nl.po: Likewise.
15424
15425 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15426
15427 [BZ #14246]
15428 * manual/argp.texi (Argp Helper Functions): Move node to follow
15429 Argp Parsing State.
15430
15431 [BZ #14872]
15432 * manual/conf.texi (Limits on File System Capacity): Mention if
15433 terminating null is included in the max size.
15434
15435 2012-12-10 Andreas Jaeger <aj@suse.de>
15436
15437 * po/cs.po: Update from translation team.
15438
15439 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15440
15441 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15442 void pointer and cast to uintptr_t.
15443 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15444 path.
15445 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15446 * sysdeps/s390/s390-64/memset.S: Likewise.
15447
15448 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15449
15450 [BZ #14833]
15451 * menual/message.texi (Message Translation): Fix typos.
15452 (Helper programs for gettext): Likewise.
15453
15454 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15455
15456 [BZ #14898]
15457 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15458 Change to -1.
15459
15460 2012-12-07 David S. Miller <davem@davemloft.net>
15461
15462 * po/libc.pot: Update.
15463
15464 2012-12-07 Richard Henderson <rth@redhat.com>
15465
15466 [BZ #10114]
15467 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15468 normal/normal case to before the switch.
15469 (_FP_DIV): Likewise.
15470
15471 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15472 Mike Frysinger <vapier@gentoo.org>
15473
15474 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15475 check for __NR_fadvise64_64.
15476
15477 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15478
15479 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15480 0, not just to plain "0" as a statement.
15481 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15482 with cw.
15483
15484 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15485
15486 * NEWS: Use sourceware.org in Bugzilla URL.
15487
15488 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15489
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15491 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15492
15493 * stdio-common/tst-put-error.c (do_test): Add newline to the
15494 padded test to ensure flush.
15495
15496 2012-12-05 Jeff Law <law@redhat.com>
15497
15498 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15499
15500 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15501
15502 * README: Don't refer to ports add-on as distributed separately.
15503 Mention AArch64 in list of systems supported in the ports add-on.
15504
15505 * LICENSES: Add more non-FSF copyright and license notices.
15506
15507 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15508 ((unused)).
15509
15510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15511
15512 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15513 10000 as width of padded output.
15514
15515 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15516
15517 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15518
15519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15520 variable LX with __attribute__ ((unused)).
15521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15522 Likewise.
15523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15526 with __attribute__ ((unused)).
15527
15528 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15529
15530 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15531
15532 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15533
15534 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15535 (CFLAGS-nldbl-acos.c): New variable.
15536 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15537 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15538 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15539 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15540 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15541 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15542 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15543 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15544 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15545 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15546 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15547 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15548 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15549 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15550 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15551 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15552 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15553 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15554 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15555 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15556 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15557 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15558 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15559 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15560 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15561 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15562 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15563 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15564 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15565 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15566 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15567 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15568 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15569 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15633
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15635 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15636
15637 [BZ #14914]
15638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15639 whole low double instead of just low 47 bits when splitting values
15640 into two parts.
15641
15642 2012-12-03 Allan McRae <allan@archlinux.org>
15643
15644 * manual/stdio.texi (Predefined Printf Handlers): Remove
15645 @hsep and @vsep usage.
15646
15647 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15648
15649 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15650 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15651
15652 2012-12-03 Jeff Law <law@redhat.com>
15653
15654 * time/sys/time.h (settimeofday): Do not mark TV argument
15655 as __nonnull.
15656
15657 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15658
15659 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15660 when currently writing and seek to current position when not.
15661 * libio/Makefile (tests): Remove bug-fclose1.
15662 * libio/bug-fclose1.c: Delete.
15663
15664 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15665
15666 * manual/arith.texi (feenableexcept): Fix typo.
15667 (fedisableexcept): Likewise.
15668
15669 2012-11-30 Roland McGrath <roland@hack.frob.com>
15670
15671 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15672 second, differently-typed declaration, rather than a cast.
15673
15674 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15675
15676 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15677 * include/rpc/svc.h: ... here.
15678
15679 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15680
15681 [BZ #13013]
15682 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15683 depending n and resplen2 to catch cases where answer
15684 equals answerp2.
15685
15686 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15687
15688 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15689 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15690
15691 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15692
15693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15694
15695 2012-11-29 Roland McGrath <roland@hack.frob.com>
15696
15697 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15698
15699 2012-11-28 Jeff Law <law@redhat.com>
15700
15701 [BZ #13761]
15702 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15703 dataset_temporary. Track alloca usage into alloca_used.
15704 If dataset is large allocate and release it via malloc/free.
15705
15706 2012-06-04 Florian Weimer <fweimer@redhat.com>
15707
15708 [BZ #14197]
15709 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15710
15711 2012-11-28 David S. Miller <davem@davemloft.net>
15712
15713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15714
15715 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15716
15717 [BZ #14803]
15718 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15719 of pi/2 rounded to nearest to 64 bits.
15720 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15721 nearest to 64 bits.
15722 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15723 bits.
15724
15725 2012-11-28 Jeff Law <law@redhat.com>
15726 Martin Osvald <mosvald@redhat.com>
15727
15728 [BZ #14889]
15729 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15730 * sunrpc/svc.c: Include time.h.
15731 (__svc_accept_failed): New function.
15732 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15733 any reason other than EINTR, call __svc_accept_failed.
15734 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15735 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15736
15737 2012-11-28 Andreas Schwab <schwab@suse.de>
15738
15739 * scripts/abilist.awk: Also handle indirect functions in .opd
15740 section.
15741
15742 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15743
15744 [BZ #13881]
15745 * sysdeps/x86/fpu/powl_helper.c: New file.
15746 * sysdeps/x86/fpu/Makefile: Likewise.
15747 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15748 (p3): New object.
15749 (__ieee754_powl): Use __powl_helper for finite arguments except
15750 integer exponents below 8.
15751 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15752 (p3): New object.
15753 (__ieee754_powl): Use __powl_helper for finite arguments except
15754 integer exponents below 8.
15755 * math/libm-test.inc (pow_test): Add more tests and enable some
15756 previously disabled tests.
15757 * sysdeps/i386/fpu/libm-test-ulps: Update.
15758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15759
15760 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15761 Carlos O'Donell <carlos_odonell@mentor.com>
15762
15763 * nss/makedb.c (is_prime): Assert that input is odd and greater
15764 than 4. Note that fact in a comment too.
15765 (next_prime): Add 4 to input.
15766
15767 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15768
15769 [BZ #11741]
15770 * libio/Makefile (tests): Add test case tst-fwrite-error.
15771 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15772 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15773 * libio/tst-fwrite-error.c: New test case.
15774
15775 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15776
15777 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15778 before casting to void *.
15779 * include/libc-internal.h (__pointer_type): New macro.
15780 (__integer_if_pointer_type_sub): Likewise.
15781 (__integer_if_pointer_type): Likewise.
15782 (cast_to_integer): Likewise.
15783 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15784 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15785 before casting to atomic64_t.
15786 (atomic_exchange_acq): Likewise.
15787 (__arch_exchange_and_add_body): Likewise.
15788 (__arch_add_body): Likewise.
15789 (atomic_add_negative): Likewise.
15790 (atomic_add_zero): Likewise.
15791
15792 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15793
15794 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15795 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15796 (add_fdes): Likewise.
15797 (linear_search_fdes): Likewise.
15798 (binary_search_unencoded_fdes): Likewise.
15799
15800 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15801
15802 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15803
15804 2012-11-24 Adam Conrad <adconrad@0c3.net>
15805
15806 * configure.in: Autodetect C++ header directories.
15807 * configure: Regenerated.
15808
15809 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15810
15811 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15812
15813 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15814
15815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15816
15817 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15818
15819 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15820 LDBL_MANT_DIG == 106]: Disable some tests.
15821 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15822 Likewise.
15823 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15824 Likewise.
15825
15826 [BZ #14871]
15827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15828 input for small inputs. Return +/- pi/2 for large inputs.
15829 * math/libm-test.inc (atan_test): Add more tests.
15830
15831 * sysdeps/generic/unwind-dw2-fde-glibc.c
15832 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15833 __attribute__ ((unused)).
15834
15835 [BZ #14645]
15836 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15837 x * y if x and y are nonzero and z is zero.
15838
15839 [BZ #14811]
15840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15841 nonzero exponents with absolute value below 0x1p-117 to +/-
15842 0x1p-117.
15843
15844 [BZ #14869]
15845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15846 up arguments below 2**-450, not just those below 2**-500.
15847 * math/libm-test.inc (hypot_test): Add another test.
15848
15849 [BZ #14868]
15850 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15851 Return a+b for ratio over 2**120, not 2**60.
15852 * math/libm-test.inc (hypot_test): Add another test.
15853
15854 * math/libm-test.inc (clog_test): Use
15855 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15856 (clog10_test): Likewise.
15857
15858 [BZ #6778]
15859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15860
15861 2012-11-22 Andreas Schwab <schwab@suse.de>
15862
15863 * sysdeps/i386/fpu/libm-test-ulps: Update.
15864
15865 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15866
15867 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15868 printf output with newline.
15869
15870 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15871
15872 [BZ #14865]
15873 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15874 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15875 -z nodlopen, -z initfirst and -z execstack support.
15876 * configure: Regenerated.
15877
15878 * elf/elf.h (DF_1_NODIRECT): New macro.
15879 (DF_1_IGNMULDEF): Likewise.
15880 (DF_1_NOKSYMS): Likewise.
15881 (DF_1_NOHDR): Likewise.
15882 (DF_1_EDITED): Likewise.
15883 (DF_1_NORELOC): Likewise.
15884 (DF_1_SYMINTPOSE): Likewise.
15885 (DF_1_GLOBAUDIT): Likewise.
15886 (DF_1_SINGLETON): Likewise.
15887 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15888 DT_1_SUPPORTED_MASK bits.
15889 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15890
15891 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15892
15893 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15894
15895 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15896
15897 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15898 macro.
15899
15900 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15901 (sendmmsg): Move declarations...
15902 * socket/sys/socket.h: ... here.
15903 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15904 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15905 include it from...
15906 * socket/recvmmsg.c: ... this new file.
15907 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15908 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15909 definition of __sendmmsg hidden.
15910 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15911 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15912 Move ENOSYS stub into and include it from...
15913 * socket/sendmmsg.c: ... this new file.
15914 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15915 (sysdep_routines): Move recvmmsg and sendmmsg...
15916 * socket/Makefile (routines): ... here.
15917 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15918 (GLIBC_PRIVATE): Add __sendmmsg.
15919 * include/sys/socket.h (__sendmmsg): Add declarations.
15920 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15921 sendmmsg.
15922
15923 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15924
15925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15926 variable I1 with __attribute__ ((unused)).
15927 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15928
15929 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15930
15931 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15932 DUMMY variables with __attribute__ ((unused)).
15933
15934 * bits/byteswap.h: Include <bits/types.h>.
15935 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15936
15937 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15938
15939 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15940 string_t. Do not manually set errno.
15941 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15942 length with __strnlen. Make sure to both set errno and return it on
15943 failure.
15944
15945 2012-11-19 David S. Miller <davem@davemloft.net>
15946
15947 With help from Joseph Myers.
15948 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15949 very large arguments properly.
15950 * math/libm-test.inc (atan_test): New tests.
15951 (atan2_test): New tests.
15952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15954
15955 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15956
15957 [BZ #14856]
15958 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15959 Define to 3.
15960
15961 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15962 [POSIX] (EADDRNOTAVAIL): Likewise.
15963 [POSIX] (EAFNOSUPPORT): Likewise.
15964 [POSIX] (EALREADY): Likewise.
15965 [POSIX] (ECONNABORTED): Likewise.
15966 [POSIX] (ECONNREFUSED): Likewise.
15967 [POSIX] (ECONNRESET): Likewise.
15968 [POSIX] (EDESTADDRREQ): Likewise.
15969 [POSIX] (EDQUOT): Likewise.
15970 [POSIX] (EHOSTUNREACH): Likewise.
15971 [POSIX] (EIDRM): Likewise.
15972 [POSIX] (EISCONN): Likewise.
15973 [POSIX] (ELOOP): Likewise.
15974 [POSIX] (EMULTIHOP): Likewise.
15975 [POSIX] (ENETDOWN): Likewise.
15976 [POSIX] (ENETUNREACH): Likewise.
15977 [POSIX] (ENOBUFS): Likewise.
15978 [POSIX] (ENODATA): Likewise.
15979 [POSIX] (ENOLINK): Likewise.
15980 [POSIX] (ENOMSG): Likewise.
15981 [POSIX] (ENOPROTOOPT): Likewise.
15982 [POSIX] (ENOSR): Likewise.
15983 [POSIX] (ENOSTR): Likewise.
15984 [POSIX] (ENOTCONN): Likewise.
15985 [POSIX] (ENOTSOCK): Likewise.
15986 [POSIX] (EOPNOTSUPP): Likewise.
15987 [POSIX] (EOVERFLOW): Likewise.
15988 [POSIX] (EPROTO): Likewise.
15989 [POSIX] (EPROTONOSUPPORT): Likewise.
15990 [POSIX] (EPROTOTYPE): Likewise.
15991 [POSIX] (ESTALE): Likewise.
15992 [POSIX] (ETIME): Likewise.
15993 [POSIX] (ETXTBSY): Likewise.
15994 [POSIX] (EWOULDBLOCK): Likewise.
15995 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15996 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15997 [POSIX] (SEEK_CUR): Likewise.
15998 [POSIX] (SEEK_END): Likewise.
15999 [POSIX || UNIX98] (mode_t): Do not require.
16000 [POSIX] (off_t): Likewise.
16001 [POSIX] (pid_t): Likewise.
16002 [POSIX] (sys/stat.h): Do not allow header.
16003 [POSIX] (unistd.h): Likewise.
16004 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16005 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16006 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16007 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16008 require.
16009 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16010 sigevent): Specify elements.
16011 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16012 entry.
16013 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16014 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16015
16016 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16017 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16018 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16019 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16020 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16021 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16022 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16023 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16024 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16025 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16026 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16027 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16028 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16030 Likewise.
16031 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16032 Likewise.
16033 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16034 Likewise.
16035 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16036 Likewise.
16037 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16039 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16040 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16041 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16042 Specify lower bound on value.
16043 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16044 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16045 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16046 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16049 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16050 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16051 value.
16052 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16053 as optional.
16054 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16055 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16056 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16058 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16061 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16063 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16064 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16065 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16067 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16070 entry.
16071 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16072 optional.
16073 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16076 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16078 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16079 Likewise.
16080 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16082 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16083 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16085 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16086 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16087 as optional.
16088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16092 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16093 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16094 specify as optional.
16095 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16096 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16098 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16099 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16100 [XPG3] (NL_LANGMAX): Likewise.
16101 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16102 [POSIX || XPG3] (NL_NMAX): Likewise.
16103 [POSIX || XPG3] (NL_SETMAX): Likewise.
16104 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16105 [XPG3] (NZERO): Likewise.
16106 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16107 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16108 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16109 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16110 (REG_ERANGE): Expect.
16111 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16112 optional-constant.
16113 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16114 Use (void) in prototype.
16115 [POSIX] (*_t): Allow.
16116 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16117 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16118 (WRDE_BADVAL): Expect.
16119
16120 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16121 expect.
16122 [XPG3 || XPG4] (O_RSYNC): Likewise.
16123 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16124 Likewise.
16125 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16126 [XPG3 || XPG4] (sigqueue): Likewise.
16127 [XPG3 || XPG4] (sigtimedwait): Likewise.
16128 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16129 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16130 [XPG3 || XPG4] (vsnprintf): Likewise.
16131 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16132 Likewise.
16133 [XPG3 || XPG4] (blksize_t): Likewise.
16134 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16135 Likewise.
16136 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16137 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16138 [XPG3 || XPG4] (struct itimerspec): Likewise.
16139 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16140 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16141 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16142 [XPG3 || XPG4] (clockid_t): Likewise.
16143 [XPG3 || XPG4] (timer_t): Likewise.
16144 [XPG3 || XPG4] (clock_getres): Likewise.
16145 [XPG3 || XPG4] (clock_gettime): Likewise.
16146 [XPG3 || XPG4] (clock_settime): Likewise.
16147 [XPG3 || XPG4] (nanosleep): Likewise.
16148 [XPG3 || XPG4] (timer_create): Likewise.
16149 [XPG3 || XPG4] (timer_delete): Likewise.
16150 [XPG3 || XPG4] (timer_gettime): Likewise.
16151 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16152 [XPG3 || XPG4] (timer_settime): Likewise.
16153 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16154 [XPG3 || XPG4] (getlogin_r): Likewise.
16155 [XPG3 || XPG4] (pread): Likewise.
16156 [XPG3 || XPG4] (pthread_atfork): Likewise.
16157 [XPG3 || XPG4] (pwrite): Likewise.
16158
16159 [BZ #14835]
16160 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16161 <bits/siginfo.h>.
16162
16163 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16164
16165 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16166 finalizing MALLSTREAM.
16167
16168 * sysdeps/mach/hurd/syncfs.c: New file.
16169
16170 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16171
16172 [BZ #14719]
16173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16174 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16176 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16177 (_nss_dns_gethostbyname4_r): Likewise.
16178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16179 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16180
16181 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16182
16183 [BZ #13763]
16184 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16185
16186 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16187
16188 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16189 * elf/cache.c (print_entry): Print ",AArch64" for
16190 FLAG_AARCH64_LIB64
16191
16192 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16193 * elf/cache.c (print_entry): Print ",hard-float" for
16194 FLAG_ARM_LIBHF.
16195
16196 2012-11-18 David S. Miller <davem@davemloft.net>
16197
16198 With help from Joseph Myers.
16199 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16200 cutoff to 2**-13.
16201 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16202 cutoff to 2**-25.
16203 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16204 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16205 small.
16206 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16207 * math/libm-test.inc (y0_test): New tests.
16208 (y1_test): New tests.
16209 * sysdeps/i386/fpu/libm-test-ulps: Update.
16210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16212
16213 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16214
16215 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16216 64-bit targets.
16217 * configure: Regenerated.
16218
16219 2012-11-17 David S. Miller <davem@davemloft.net>
16220
16221 [BZ #14811]
16222 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16223 nonzero exponents with absolute value below 0x1p-128 to +/-
16224 0x1p-128.
16225
16226 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16227
16228 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16229
16230 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16231
16232 * posix/getconf-speclist.c: New file.
16233 * posix/posix-envs.def: Likewise.
16234 * posix/confstr.c (START_ENV_GROUP): New macro.
16235 (END_ENV_GROUP): Likewise.
16236 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16237 (KNOWN_PRESENT_ENV_STRING): Likewise.
16238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16239 (UNKNOWN_ENVIRONMENT): Likewise.
16240 (confstr): Include posix-envs.def instead of handling
16241 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16242 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16243 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16244 (END_ENV_GROUP): Likewise.
16245 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16246 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16247 (UNKNOWN_ENVIRONMENT): Likewise.
16248 (__sysconf): Include posix-envs.def instead of handling associated
16249 cases directly here.
16250 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16251 preprocessing getconf-speclist.c rather than running getconf or
16252 generating empty file.
16253
16254 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16255
16256 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16257
16258 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16259
16260 [BZ #14672]
16261 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16262
16263 2012-11-16 David S. Miller <davem@davemloft.net>
16264
16265 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16266 smaller than LDBL_EPSILON/2.0L, just return xm1.
16267
16268 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16269
16270 * elf/tst-array1.c (init): Set constructor priority to 1000.
16271 (fini): Set destructor priority to 1000.
16272 * elf/tst-array2dep.c: Likewise.
16273
16274 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16275
16276 [BZ #11741]
16277 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16278 (_IO_new_file_xsputn): Also return EOF if none of the input
16279 data was written when overflow failed.
16280 * libio/iopadn.c (_IO_padn): Likewise.
16281 * libio/iowpadn.c (_IO_wpadn): Likewise.
16282 * stdio-common/tst-put-error.c: Add copyright notice.
16283 (do_test): Add case for printing padded string.
16284 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16285 _IO_padn returned error.
16286 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16287 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16288 return EOF.
16289
16290 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16291
16292 * libio/libioP.h: Add comment note that the references to C++
16293 bits are now obsolete.
16294
16295 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16296
16297 * math/libm-test.inc (check_complex): Use asprintf.
16298
16299 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16300
16301 * debug/pcprofiledump.c (print_version): Update copyright year.
16302 * malloc/memusagestat.c (print_version): Likewise.
16303
16304 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16305
16306 [BZ #14831]
16307 * elf/Makefile (tests): Add tst-audit8.
16308 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16309 ($(objpfx)tst-audit8.out): New target.
16310 (tst-audit8-ENV): New variable.
16311 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16312 audit if l_reloc_result is NULL.
16313 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16314 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16315 * elf/tst-audit8.c: New file.
16316
16317 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16318
16319 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16320 * misc/Makefile (CFLAGS-select.c): Define.
16321 * posix/Makefile (CFLAGS-pause.c): Define.
16322
16323 2012-11-13 David S. Miller <davem@davemloft.net>
16324
16325 * crypt/Makefile: Move test targets after toplevel Rules
16326 inclusion. Grab any necessary sysdep routines when linking.
16327 * crypt/md5.c (md5_process_block): Remove define, we will always
16328 name it __md5_process_block.
16329 (md5_finish_ctx): Update md5_process_block call.
16330 (md5_stream): Likewise.
16331 (md5_process_bytes): Likewise.
16332 (md5_process_block): Rename to __md5_process_block and move to ...
16333 * crypt/md5-block.c: ... here.
16334 * crypt/sha256.c (sha256_process_block): Move to ...
16335 * crypt/sha256-block.c: ... here.
16336 * crypt/sha512.c (sha512_process_block): Move to ...
16337 * crypt/sha512-block.c: ... here.
16338 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16339 path.
16340 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16341 * sysdeps/sparc/sparc64/multiarch/Makefile
16342 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16343 crypt subdir.
16344 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16345 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16346 multiarch changes.
16347 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16348 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16349 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16350 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16351 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16352 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16353 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16354 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16355 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16356 file.
16357 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16358 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16359 file.
16360 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16361
16362 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16363
16364 * timezone/tzselect.ksh: Update from tzcode git revision
16365 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16366 * timezone/zdump.c: Likewise.
16367 * timezone/zic.c: Likewise.
16368 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16369 in TZVERSION setting, not $(PKGVERSION).
16370 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16371 REPORT_BUGS_TO settings.
16372
16373 [BZ #14838]
16374 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16375 macro.
16376
16377 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16378
16379 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16380 detection to immediately after _FP_ROUND().
16381 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16382 bits are 0.
16383
16384 2012-11-11 David S. Miller <davem@davemloft.net>
16385
16386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16387 inttypes.h
16388 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16389 __close rather than their public counterparts.
16390
16391 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16392
16393 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16394 file.
16395 [UNIX98] (sem_timedwait): Do not expect.
16396 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16397 [XPG4 || UNIX98] (sockatmark): Do not expect.
16398 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16399 (clock_getcpuclockid): Do not expect.
16400 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16401 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16402 Do not expect.
16403 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16404 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16405 [UNIX98] (vwscanf): Likewise.
16406 [UNIX98] (vswscanf): Likewise.
16407
16408 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16409
16410 * timezone/version.h: Remove file.
16411 * timezone/README: Do not refer to version.h.
16412 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16413 $(objpfx)version.h.
16414 ($(objpfx)zdump.o): Likewise.
16415 ($(objpfx)version.h): New target.
16416
16417 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16418 2012i.
16419 * timezone/README: Don't mention modification to tzselect.ksh.
16420 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16421 work on unmodified tzselect.ksh. Substitute version numbers in
16422 tzselect.ksh.
16423
16424 * Makefile (format-me): Remove.
16425 (INSTALL): Adjust indentation. Use commands directly instead of
16426 using $(format-me).
16427
16428 * aclocal.m4 (ACX_PKGVERSION): New macro.
16429 (ACX_BUGURL): Likewise.
16430 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16431 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16432 (REPORT_BUGS_TO): Likewise.
16433 * configure: Regenerated.
16434 * config.h.in (PKGVERSION): New macro.
16435 (REPORT_BUGS_TO): Likewise.
16436 * config.make.in (PKGVERSION): New variable.
16437 (PKGVERSION_TEXI): Likewise.
16438 (REPORT_BUGS_TO): Likewise.
16439 (REPORT_BUGS_TEXI): Likewise.
16440 * Makefile (format-me): Use -I$(common-objpfx)manual.
16441 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16442 ($(common-objpfx)manual/%): New target.
16443 (manual/%): Remove target.
16444 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16445 (print_version): Use PKGVERSION.
16446 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16447 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16448 and REPORT_BUGS_TO.
16449 ($(objpfx)xtrace): Likewise.
16450 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16451 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16452 (print_version): Use PKGVERSION.
16453 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16454 (do_version): Use PKGVERSION.
16455 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16456 REPORT_BUGS_TO.
16457 (common-ldd-rewrite): Likewise.
16458 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16459 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16460 (print_version): Use PKGVERSION.
16461 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16462 * elf/pldd.c (argp_program_bug_address): Remove variable.
16463 (more_help): New function.
16464 (argp): Use more_help.
16465 (print_version): Use PKGVERSION.
16466 * elf/sln.c (main): Use PKGVERSION.
16467 (usage): Use REPORT_BUGS_TO.
16468 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16469 (top level): Use PKGVERSION.
16470 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16471 (print_version): Use PKGVERSION.
16472 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16473 (print_version): Use PKGVERSION.
16474 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16475 (print_version): Use PKGVERSION.
16476 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16477 (print_version): Use PKGVERSION.
16478 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16479 (print_version): Use PKGVERSION.
16480 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16481 (print_version): Use PKGVERSION.
16482 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16483 and BUGURL.
16484 ($(objpfx)memusage): Likewise.
16485 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16486 (do_version): Use PKGVERSION.
16487 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16488 (print_version): Use PKGVERSION.
16489 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16490 ($PKGVERSION): New variable.
16491 ($REPORT_BUGS_TO): Likewise.
16492 (usage): Use $REPORT_BUGS_TO.
16493 (top level): Use $PKGVERSION.
16494 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16495 ($(objpfx)pkgvers.texi): New rule.
16496 ($(objpfx)stamp-pkgvers): Likewise.
16497 * manual/install.texi: Include pkgvers.texi.
16498 (--with-pkgversion): Document new configure option.
16499 (--with-bugurl): Likewise.
16500 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16501 than necessarily for this particular distribution. Use
16502 REPORT_BUGS_TO for where to report bugs.
16503 * INSTALL: Regenerated.
16504 * manual/libc.texinfo: Include pkgvers.texi.
16505 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16506 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16507 (print_version): Use PKGVERSION.
16508 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16509 (print_version): Use PKGVERSION.
16510 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16511 (print_version): Use PKGVERSION.
16512 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16513 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16514 macro.
16515 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16516 (print_version): Use PKGVERSION.
16517 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16518 (print_version): Use PKGVERSION.
16519 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16520 and PKGVERSION.
16521
16522 * timezone/checktab.awk: Update from tzcode 2012i.
16523 * timezone/ialloc.c: Likewise.
16524 * timezone/private.h: Likewise.
16525 * timezone/scheck.c: Likewise.
16526 * timezone/tzfile.h: Likewise.
16527 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16528 (TZVERSION): Hardcode tzcode version number.
16529 * timezone/zdump.c: Update from tzcode 2012i.
16530 * timezone/zic.c: Likewise.
16531 * timezone/version.h: New file.
16532 * timezone/README: Describe version.h. Update upstream location.
16533
16534 [BZ #14824]
16535 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16536 (mktemp): Enable declaration.
16537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16541 Likewise.
16542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16543 Likewise.
16544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16545 Likewise.
16546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16547 Likewise.
16548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16549 Likewise.
16550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16551 Likewise.
16552
16553 [BZ #14821]
16554 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16555 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16556 for copies of such integer values.
16557 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16558 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16559
16560 2012-11-09 Andreas Jaeger <aj@suse.de>
16561
16562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16563 definitions and declarations that are provided by
16564 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16565
16566 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16567
16568 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16569 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16570 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16571 definition.
16572
16573 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16574
16575 * elf/elf.h: Update comment before AArch64 relocations.
16576
16577 2012-11-07 David S. Miller <davem@davemloft.net>
16578
16579 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16580 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16581 (__start_context): Declare.
16582 (__makecontext_ret): Delete.
16583 (__makecontext): Hook up __start_context instead of
16584 __makecontext_ret.
16585 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16586 (sysdep_routines): Add __start_context when in stdlib.
16587
16588 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16589
16590 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16591 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16592 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16593 hardcoded "nm".
16594 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16595 (READELF): New variable. Use it instead of hardcoded "readelf".
16596
16597 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16598
16599 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16600 * sysdeps/x86/Makefile: Here.
16601 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16602 * sysdeps/x86/tst-xmmymm.sh: This.
16603
16604 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16605
16606 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16607 expectations.
16608 [UNIX98] (pthread_barrier_t): Do not expect.
16609 [UNIX98] (pthread_barrierattr_t): Likewise.
16610 [UNIX98] (pthread_spinlock_t): Likewise.
16611 [UNIX98] (pthread_barrier_destroy): Likewise.
16612 [UNIX98] (pthread_barrier_init): Likewise.
16613 [UNIX98] (pthread_barrier_wait): Likewise.
16614 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16615 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16616 [UNIX98] (pthread_barrierattr_init): Likewise.
16617 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16618 [UNIX98] (pthread_getcpuclockid): Likewise.
16619 [UNIX98] (pthread_mutex_timedlock): Likewise.
16620 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16621 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16622 [UNIX98] (pthread_sigmask): Likewise.
16623 [UNIX98] (pthread_spin_destroy): Likewise.
16624 [UNIX98] (pthread_spin_init): Likewise.
16625 [UNIX98] (pthread_spin_lock): Likewise.
16626 [UNIX98] (pthread_spin_trylock): Likewise.
16627 [UNIX98] (pthread_spin_unlock): Likewise.
16628 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16629 Do not expect.
16630 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16632 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16633 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16634 [XPG3 || XPG4] (pthread_key_t): Likewise.
16635 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16636 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16637 [XPG3 || XPG4] (pthread_once_t): Likewise.
16638 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16639 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16641 [XPG3 || XPG4] (pthread_t): Likewise.
16642
16643 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16644 not expect.
16645 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16646
16647 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16648 Change function return type to int.
16649
16650 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16651 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16652 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16653 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16654 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16655 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16656 [!POSIX] (posix_madvise): Likewise.
16657 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16658 && !UNIX98].
16659 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16660 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16661 (mode_t): Likewise.
16662 (posix_mem_offset): Likewise.
16663 (posix_typed_mem_get_info): Likewise.
16664 (posix_typed_mem_open): Likewise.
16665
16666 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16667 Change condition to [XOPEN2K8].
16668
16669 * conform/conformtest.pl: Preprocess allow-header data with -x c
16670 instead of from stdin.
16671 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16672 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16673 [C99-based standards] (cerfc): Likewise.
16674 [C99-based standards] (cexp2): Likewise.
16675 [C99-based standards] (cexpm1): Likewise.
16676 [C99-based standards] (clog10): Likewise.
16677 [C99-based standards] (clog1p): Likewise.
16678 [C99-based standards] (clog2): Likewise.
16679 [C99-based standards] (clgamma): Likewise.
16680 [C99-based standards] (ctgamma): Likewise.
16681 [C99-based standards] (cerff): Likewise.
16682 [C99-based standards] (cerfcf): Likewise.
16683 [C99-based standards] (cexp2f): Likewise.
16684 [C99-based standards] (cexpm1f): Likewise.
16685 [C99-based standards] (clog10f): Likewise.
16686 [C99-based standards] (clog1pf): Likewise.
16687 [C99-based standards] (clog2f): Likewise.
16688 [C99-based standards] (clgammaf): Likewise.
16689 [C99-based standards] (ctgammaf): Likewise.
16690 [C99-based standards] (cerfl): Likewise.
16691 [C99-based standards] (cerfcl): Likewise.
16692 [C99-based standards] (cexp2l): Likewise.
16693 [C99-based standards] (cexpm1l): Likewise.
16694 [C99-based standards] (clog10l): Likewise.
16695 [C99-based standards] (clog1pl): Likewise.
16696 [C99-based standards] (clog2l): Likewise.
16697 [C99-based standards] (clgammal): Likewise.
16698 [C99-based standards] (ctgammal): Likewise.
16699 * conform/data/inttypes.h-data [C99-based standards]: Include
16700 stdint.h-data. Remove all expectations for stdint.h contents.
16701 [C99-based standards] (PRI*): Do not allow.
16702 [C99-based standards] (SCN*): Likewise.
16703 [C99-based standards] (*_t): Likewise.
16704 [C99-based-standards] (PRId8): Expect macro.
16705 [C99-based-standards] (PRIi8): Likewise.
16706 [C99-based-standards] (PRIo8): Likewise.
16707 [C99-based-standards] (PRIu8): Likewise.
16708 [C99-based-standards] (PRIx8): Likewise.
16709 [C99-based-standards] (PRIX8): Likewise.
16710 [C99-based-standards] (SCNd8): Likewise.
16711 [C99-based-standards] (SCNi8): Likewise.
16712 [C99-based-standards] (SCNo8): Likewise.
16713 [C99-based-standards] (SCNu8): Likewise.
16714 [C99-based-standards] (SCNx8): Likewise.
16715 [C99-based-standards] (PRIdLEAST8): Likewise.
16716 [C99-based-standards] (PRIiLEAST8): Likewise.
16717 [C99-based-standards] (PRIoLEAST8): Likewise.
16718 [C99-based-standards] (PRIuLEAST8): Likewise.
16719 [C99-based-standards] (PRIxLEAST8): Likewise.
16720 [C99-based-standards] (PRIXLEAST8): Likewise.
16721 [C99-based-standards] (SCNdLEAST8): Likewise.
16722 [C99-based-standards] (SCNiLEAST8): Likewise.
16723 [C99-based-standards] (SCNoLEAST8): Likewise.
16724 [C99-based-standards] (SCNuLEAST8): Likewise.
16725 [C99-based-standards] (SCNxLEAST8): Likewise.
16726 [C99-based-standards] (PRIdFAST8): Likewise.
16727 [C99-based-standards] (PRIiFAST8): Likewise.
16728 [C99-based-standards] (PRIoFAST8): Likewise.
16729 [C99-based-standards] (PRIuFAST8): Likewise.
16730 [C99-based-standards] (PRIxFAST8): Likewise.
16731 [C99-based-standards] (PRIXFAST8): Likewise.
16732 [C99-based-standards] (SCNdFAST8): Likewise.
16733 [C99-based-standards] (SCNiFAST8): Likewise.
16734 [C99-based-standards] (SCNoFAST8): Likewise.
16735 [C99-based-standards] (SCNuFAST8): Likewise.
16736 [C99-based-standards] (SCNxFAST8): Likewise.
16737 [C99-based-standards] (PRId16): Likewise.
16738 [C99-based-standards] (PRIi16): Likewise.
16739 [C99-based-standards] (PRIo16): Likewise.
16740 [C99-based-standards] (PRIu16): Likewise.
16741 [C99-based-standards] (PRIx16): Likewise.
16742 [C99-based-standards] (PRIX16): Likewise.
16743 [C99-based-standards] (SCNd16): Likewise.
16744 [C99-based-standards] (SCNi16): Likewise.
16745 [C99-based-standards] (SCNo16): Likewise.
16746 [C99-based-standards] (SCNu16): Likewise.
16747 [C99-based-standards] (SCNx16): Likewise.
16748 [C99-based-standards] (PRIdLEAST16): Likewise.
16749 [C99-based-standards] (PRIiLEAST16): Likewise.
16750 [C99-based-standards] (PRIoLEAST16): Likewise.
16751 [C99-based-standards] (PRIuLEAST16): Likewise.
16752 [C99-based-standards] (PRIxLEAST16): Likewise.
16753 [C99-based-standards] (PRIXLEAST16): Likewise.
16754 [C99-based-standards] (SCNdLEAST16): Likewise.
16755 [C99-based-standards] (SCNiLEAST16): Likewise.
16756 [C99-based-standards] (SCNoLEAST16): Likewise.
16757 [C99-based-standards] (SCNuLEAST16): Likewise.
16758 [C99-based-standards] (SCNxLEAST16): Likewise.
16759 [C99-based-standards] (PRIdFAST16): Likewise.
16760 [C99-based-standards] (PRIiFAST16): Likewise.
16761 [C99-based-standards] (PRIoFAST16): Likewise.
16762 [C99-based-standards] (PRIuFAST16): Likewise.
16763 [C99-based-standards] (PRIxFAST16): Likewise.
16764 [C99-based-standards] (PRIXFAST16): Likewise.
16765 [C99-based-standards] (SCNdFAST16): Likewise.
16766 [C99-based-standards] (SCNiFAST16): Likewise.
16767 [C99-based-standards] (SCNoFAST16): Likewise.
16768 [C99-based-standards] (SCNuFAST16): Likewise.
16769 [C99-based-standards] (SCNxFAST16): Likewise.
16770 [C99-based-standards] (PRId32): Likewise.
16771 [C99-based-standards] (PRIi32): Likewise.
16772 [C99-based-standards] (PRIo32): Likewise.
16773 [C99-based-standards] (PRIu32): Likewise.
16774 [C99-based-standards] (PRIx32): Likewise.
16775 [C99-based-standards] (PRIX32): Likewise.
16776 [C99-based-standards] (SCNd32): Likewise.
16777 [C99-based-standards] (SCNi32): Likewise.
16778 [C99-based-standards] (SCNo32): Likewise.
16779 [C99-based-standards] (SCNu32): Likewise.
16780 [C99-based-standards] (SCNx32): Likewise.
16781 [C99-based-standards] (PRIdLEAST32): Likewise.
16782 [C99-based-standards] (PRIiLEAST32): Likewise.
16783 [C99-based-standards] (PRIoLEAST32): Likewise.
16784 [C99-based-standards] (PRIuLEAST32): Likewise.
16785 [C99-based-standards] (PRIxLEAST32): Likewise.
16786 [C99-based-standards] (PRIXLEAST32): Likewise.
16787 [C99-based-standards] (SCNdLEAST32): Likewise.
16788 [C99-based-standards] (SCNiLEAST32): Likewise.
16789 [C99-based-standards] (SCNoLEAST32): Likewise.
16790 [C99-based-standards] (SCNuLEAST32): Likewise.
16791 [C99-based-standards] (SCNxLEAST32): Likewise.
16792 [C99-based-standards] (PRIdFAST32): Likewise.
16793 [C99-based-standards] (PRIiFAST32): Likewise.
16794 [C99-based-standards] (PRIoFAST32): Likewise.
16795 [C99-based-standards] (PRIuFAST32): Likewise.
16796 [C99-based-standards] (PRIxFAST32): Likewise.
16797 [C99-based-standards] (PRIXFAST32): Likewise.
16798 [C99-based-standards] (SCNdFAST32): Likewise.
16799 [C99-based-standards] (SCNiFAST32): Likewise.
16800 [C99-based-standards] (SCNoFAST32): Likewise.
16801 [C99-based-standards] (SCNuFAST32): Likewise.
16802 [C99-based-standards] (SCNxFAST32): Likewise.
16803 [C99-based-standards] (PRId64): Likewise.
16804 [C99-based-standards] (PRIi64): Likewise.
16805 [C99-based-standards] (PRIo64): Likewise.
16806 [C99-based-standards] (PRIu64): Likewise.
16807 [C99-based-standards] (PRIx64): Likewise.
16808 [C99-based-standards] (PRIX64): Likewise.
16809 [C99-based-standards] (SCNd64): Likewise.
16810 [C99-based-standards] (SCNi64): Likewise.
16811 [C99-based-standards] (SCNo64): Likewise.
16812 [C99-based-standards] (SCNu64): Likewise.
16813 [C99-based-standards] (SCNx64): Likewise.
16814 [C99-based-standards] (PRIdLEAST64): Likewise.
16815 [C99-based-standards] (PRIiLEAST64): Likewise.
16816 [C99-based-standards] (PRIoLEAST64): Likewise.
16817 [C99-based-standards] (PRIuLEAST64): Likewise.
16818 [C99-based-standards] (PRIxLEAST64): Likewise.
16819 [C99-based-standards] (PRIXLEAST64): Likewise.
16820 [C99-based-standards] (SCNdLEAST64): Likewise.
16821 [C99-based-standards] (SCNiLEAST64): Likewise.
16822 [C99-based-standards] (SCNoLEAST64): Likewise.
16823 [C99-based-standards] (SCNuLEAST64): Likewise.
16824 [C99-based-standards] (SCNxLEAST64): Likewise.
16825 [C99-based-standards] (PRIdFAST64): Likewise.
16826 [C99-based-standards] (PRIiFAST64): Likewise.
16827 [C99-based-standards] (PRIoFAST64): Likewise.
16828 [C99-based-standards] (PRIuFAST64): Likewise.
16829 [C99-based-standards] (PRIxFAST64): Likewise.
16830 [C99-based-standards] (PRIXFAST64): Likewise.
16831 [C99-based-standards] (SCNdFAST64): Likewise.
16832 [C99-based-standards] (SCNiFAST64): Likewise.
16833 [C99-based-standards] (SCNoFAST64): Likewise.
16834 [C99-based-standards] (SCNuFAST64): Likewise.
16835 [C99-based-standards] (SCNxFAST64): Likewise.
16836 [C99-based-standards] (PRIdMAX): Likewise.
16837 [C99-based-standards] (PRIiMAX): Likewise.
16838 [C99-based-standards] (PRIoMAX): Likewise.
16839 [C99-based-standards] (PRIuMAX): Likewise.
16840 [C99-based-standards] (PRIxMAX): Likewise.
16841 [C99-based-standards] (PRIXMAX): Likewise.
16842 [C99-based-standards] (SCNdMAX): Likewise.
16843 [C99-based-standards] (SCNiMAX): Likewise.
16844 [C99-based-standards] (SCNoMAX): Likewise.
16845 [C99-based-standards] (SCNuMAX): Likewise.
16846 [C99-based-standards] (SCNxMAX): Likewise.
16847 [C99-based-standards] (PRIdPTR): Likewise.
16848 [C99-based-standards] (PRIiPTR): Likewise.
16849 [C99-based-standards] (PRIoPTR): Likewise.
16850 [C99-based-standards] (PRIuPTR): Likewise.
16851 [C99-based-standards] (PRIxPTR): Likewise.
16852 [C99-based-standards] (PRIXPTR): Likewise.
16853 [C99-based-standards] (SCNdPTR): Likewise.
16854 [C99-based-standards] (SCNiPTR): Likewise.
16855 [C99-based-standards] (SCNoPTR): Likewise.
16856 [C99-based-standards] (SCNuPTR): Likewise.
16857 [C99-based-standards] (SCNxPTR): Likewise.
16858 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16859 allow.
16860 * conform/data/stdint.h-data: Update comments to clarify
16861 requirements.
16862 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16863 type.
16864 [C99-based standards] (INT8_MAX): Likewise.
16865 [C99-based standards] (INT16_MIN): Likewise.
16866 [C99-based standards] (INT16_MAX): Likewise.
16867 [C99-based standards] (INT32_MIN): Likewise.
16868 [C99-based standards] (INT32_MAX): Likewise.
16869 [C99-based standards] (INT64_MIN): Likewise.
16870 [C99-based standards] (INT64_MAX): Likewise.
16871 [C99-based standards] (UINT8_MAX): Likewise.
16872 [C99-based standards] (UINT16_MAX): Likewise.
16873 [C99-based standards] (UINT32_MAX): Likewise.
16874 [C99-based standards] (UINT64_MAX): Likewise.
16875 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16876 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16877 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16878 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16879 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16880 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16881 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16882 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16883 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16884 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16885 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16886 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16887 [C99-based standards] (INT_FAST8_MIN): Likewise.
16888 [C99-based standards] (INT_FAST8_MAX): Likewise.
16889 [C99-based standards] (INT_FAST16_MIN): Likewise.
16890 [C99-based standards] (INT_FAST16_MAX): Likewise.
16891 [C99-based standards] (INT_FAST32_MIN): Likewise.
16892 [C99-based standards] (INT_FAST32_MAX): Likewise.
16893 [C99-based standards] (INT_FAST64_MIN): Likewise.
16894 [C99-based standards] (INT_FAST64_MAX): Likewise.
16895 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16896 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16897 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16898 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16899 [C99-based standards] (INTPTR_MIN): Likewise.
16900 [C99-based standards] (INTPTR_MAX): Likewise.
16901 [C99-based standards] (UINTPTR_MAX): Likewise.
16902 [C99-based standards] (INTMAX_MIN): Likewise.
16903 [C99-based standards] (INTMAX_MAX): Likewise.
16904 [C99-based standards] (UINTMAX_MAX): Likewise.
16905 [C99-based standards] (PTRDIFF_MIN): Likewise.
16906 [C99-based standards] (PTRDIFF_MAX): Likewise.
16907 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16908 [C99-based standards] (SIZE_MAX): Likewise.
16909 [C99-based standards] (WCHAR_MAX): Likewise.
16910 [C99-based standards] (WINT_MAX): Likewise.
16911 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16912 constraint on value.
16913 [C99-based standards] (WCHAR_MIN): Likewise.
16914 [C99-based standards] (WINT_MIN): Likewise.
16915 [C99-based standards] (*_t): Allow.
16916 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16917 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16918 Include math.h-data and complex.h-data. Remove all expectations
16919 of math.h and complex.h contents.
16920 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16921 at end of line.
16922 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16923 (struct tm): Expect tag.
16924 [C99-based-standards] (wcstof): Expect function.
16925 [C99-based-standards] (wcstold): Likewise.
16926 [C99-based-standards] (wcstoll): Likewise.
16927 [C99-based-standards] (wcstoull): Likewise.
16928 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16929 macro-int-constant. Specify type.
16930 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16931 constraint on value.
16932 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16933 Specify type.
16934 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16935 Specify value.
16936 [ISO C standards]: Do not allow headers.
16937 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16938 wcs[abcdefghijklmnopqrstuvwxyz]*.
16939 [ISO C standards] (*_t): Do not allow.
16940 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16941 Expect function.
16942 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16943 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16944 Specify type.
16945 [ISO C standards]: Do not allow headers.
16946 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16947 is[abcdefghijklmnopqrstuvwxyz]*.
16948 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16949 to[abcdefghijklmnopqrstuvwxyz]*.
16950 [ISO C standards] (*_t): Do not allow.
16951 * conform/data/stdalign.h-data: New file.
16952 * conform/data/stdbool.h-data: Likewise.
16953 * conform/data/stdnoreturn.h-data: Likewise.
16954
16955 2012-11-07 Roland McGrath <roland@hack.frob.com>
16956
16957 [BZ #14815]
16958 * manual/filesys.texi (Directory Entries): Typo fix.
16959 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16960
16961 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16962
16963 * elf/elf.h (EM_AARCH64): New macro.
16964 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16965 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16966 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16967 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16968 (R_AARCH64_TLSDESC): Likewise.
16969 (NT_ARM_TLS): Likewise.
16970 (NT_ARM_HW_BREAK): Likewise.
16971 (NT_ARM_HW_WATCH): Likewise.
16972
16973 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16974
16975 [BZ #14811]
16976 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16977 (__ieee754_powl): Saturate nonzero exponents with absolute value
16978 below 0x1p-79 to +/- 0x1p-79.
16979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16980 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16981 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16982 nonzero exponents with absolute value below 0x1p-32 to +/-
16983 0x1p-32.
16984 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16985 (__ieee754_powl): Saturate nonzero exponents with absolute value
16986 below 0x1p-79 to +/- 0x1p-79.
16987 * math/libm-test.inc (pow_test): Add more tests.
16988
16989 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16990
16991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16992 _dl_s390_cap_flags with kernel. Increase string length.
16993 (_dl_s390_platforms): Add z196 and zEC12.
16994
16995 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16996
16997 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16998 Change XOPEN21K to XOPEN2K.
16999
17000 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17001
17002 * string/memmove.c: Use memcpy when possible.
17003
17004 2012-11-06 Andreas Jaeger <aj@suse.de>
17005
17006 * po/eo.po: Update from translation team.
17007
17008 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17009
17010 [BZ #14793]
17011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17012 exponent and small x and y exponents, scale x or y up. Increase
17013 by 2 the exponent used in scaling up.
17014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17016 * math/libm-test.inc (fma_test): Add more tests.
17017 (fma_test_towardzero): Likewise.
17018 (fma_test_downward): Likewise.
17019 (fma_test_upward): Likewise.
17020
17021 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17022
17023 [BZ #14805]
17024 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17025 fenv_t *.
17026
17027 [BZ #14801]
17028 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17029 namespace for names of struct fields.
17030 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17031 fenv_t fields.
17032 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17033 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17034
17035 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17036
17037 [BZ #3665]
17038 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17039
17040 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17041
17042 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17043 PTR_DEMANGLE.
17044
17045 [BZ #5246]
17046 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17047 PTR_DEMANGLE.
17048
17049 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17050
17051 [BZ #14797]
17052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17053 definitely overflow as x * y not x * y + z.
17054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17056 * math/libm-test.inc (fma_test): Add more tests.
17057 (fma_test_towardzero): Likewise.
17058 (fma_test_downward): Likewise.
17059 (fma_test_upward): Likewise.
17060
17061 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17062
17063 [BZ #157]
17064
17065 * include/stub-tag.h: Remove file.
17066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17067 '#include' of it.
17068 * manual/maint.texi (Porting): Don't reference it.
17069 * Makerules ($(objpfx)stubs): Likewise.
17070 * dirent/closedir.c: Don't include <stub-tag.h>.
17071 * dirent/dirfd.c: Likewise.
17072 * dirent/fdopendir.c: Likewise.
17073 * dirent/getdents.c: Likewise.
17074 * dirent/getdents64.c: Likewise.
17075 * dirent/opendir.c: Likewise.
17076 * dirent/readdir.c: Likewise.
17077 * dirent/readdir64.c: Likewise.
17078 * dirent/readdir64_r.c: Likewise.
17079 * dirent/readdir_r.c: Likewise.
17080 * dirent/rewinddir.c: Likewise.
17081 * dirent/seekdir.c: Likewise.
17082 * dirent/telldir.c: Likewise.
17083 * gmon/profil.c: Likewise.
17084 * grp/setgroups.c: Likewise.
17085 * inet/if_index.c: Likewise.
17086 * io/access.c: Likewise.
17087 * io/chdir.c: Likewise.
17088 * io/chmod.c: Likewise.
17089 * io/chown.c: Likewise.
17090 * io/close.c: Likewise.
17091 * io/dup.c: Likewise.
17092 * io/dup2.c: Likewise.
17093 * io/dup3.c: Likewise.
17094 * io/euidaccess.c: Likewise.
17095 * io/faccessat.c: Likewise.
17096 * io/fchdir.c: Likewise.
17097 * io/fchmod.c: Likewise.
17098 * io/fchmodat.c: Likewise.
17099 * io/fchown.c: Likewise.
17100 * io/fchownat.c: Likewise.
17101 * io/fcntl.c: Likewise.
17102 * io/flock.c: Likewise.
17103 * io/fstatfs.c: Likewise.
17104 * io/fstatfs64.c: Likewise.
17105 * io/fstatvfs.c: Likewise.
17106 * io/fstatvfs64.c: Likewise.
17107 * io/futimens.c: Likewise.
17108 * io/fxstat.c: Likewise.
17109 * io/fxstat64.c: Likewise.
17110 * io/fxstatat.c: Likewise.
17111 * io/fxstatat64.c: Likewise.
17112 * io/getcwd.c: Likewise.
17113 * io/isatty.c: Likewise.
17114 * io/lchmod.c: Likewise.
17115 * io/lchown.c: Likewise.
17116 * io/link.c: Likewise.
17117 * io/linkat.c: Likewise.
17118 * io/lseek.c: Likewise.
17119 * io/lseek64.c: Likewise.
17120 * io/lxstat64.c: Likewise.
17121 * io/mkdir.c: Likewise.
17122 * io/mkdirat.c: Likewise.
17123 * io/mkfifo.c: Likewise.
17124 * io/mkfifoat.c: Likewise.
17125 * io/open.c: Likewise.
17126 * io/open64.c: Likewise.
17127 * io/openat.c: Likewise.
17128 * io/openat64.c: Likewise.
17129 * io/pipe.c: Likewise.
17130 * io/pipe2.c: Likewise.
17131 * io/poll.c: Likewise.
17132 * io/posix_fadvise.c: Likewise.
17133 * io/posix_fadvise64.c: Likewise.
17134 * io/posix_fallocate.c: Likewise.
17135 * io/posix_fallocate64.c: Likewise.
17136 * io/read.c: Likewise.
17137 * io/readlink.c: Likewise.
17138 * io/readlinkat.c: Likewise.
17139 * io/rmdir.c: Likewise.
17140 * io/sendfile.c: Likewise.
17141 * io/sendfile64.c: Likewise.
17142 * io/statfs.c: Likewise.
17143 * io/statfs64.c: Likewise.
17144 * io/statvfs.c: Likewise.
17145 * io/statvfs64.c: Likewise.
17146 * io/symlink.c: Likewise.
17147 * io/symlinkat.c: Likewise.
17148 * io/ttyname.c: Likewise.
17149 * io/ttyname_r.c: Likewise.
17150 * io/umask.c: Likewise.
17151 * io/unlink.c: Likewise.
17152 * io/unlinkat.c: Likewise.
17153 * io/utime.c: Likewise.
17154 * io/utimensat.c: Likewise.
17155 * io/write.c: Likewise.
17156 * io/xmknod.c: Likewise.
17157 * io/xmknodat.c: Likewise.
17158 * io/xstat.c: Likewise.
17159 * io/xstat64.c: Likewise.
17160 * login/getpt.c: Likewise.
17161 * login/grantpt.c: Likewise.
17162 * login/unlockpt.c: Likewise.
17163 * math/e_acoshl.c: Likewise.
17164 * math/e_acosl.c: Likewise.
17165 * math/e_asinl.c: Likewise.
17166 * math/e_atan2l.c: Likewise.
17167 * math/e_atanhl.c: Likewise.
17168 * math/e_coshl.c: Likewise.
17169 * math/e_expl.c: Likewise.
17170 * math/e_fmodl.c: Likewise.
17171 * math/e_gammal_r.c: Likewise.
17172 * math/e_hypotl.c: Likewise.
17173 * math/e_j0l.c: Likewise.
17174 * math/e_j1l.c: Likewise.
17175 * math/e_jnl.c: Likewise.
17176 * math/e_lgammal_r.c: Likewise.
17177 * math/e_log10l.c: Likewise.
17178 * math/e_log2l.c: Likewise.
17179 * math/e_logl.c: Likewise.
17180 * math/e_powl.c: Likewise.
17181 * math/e_rem_pio2l.c: Likewise.
17182 * math/e_sinhl.c: Likewise.
17183 * math/e_sqrtl.c: Likewise.
17184 * math/fclrexcpt.c: Likewise.
17185 * math/fedisblxcpt.c: Likewise.
17186 * math/feenablxcpt.c: Likewise.
17187 * math/fegetenv.c: Likewise.
17188 * math/fegetexcept.c: Likewise.
17189 * math/fegetround.c: Likewise.
17190 * math/feholdexcpt.c: Likewise.
17191 * math/fesetenv.c: Likewise.
17192 * math/fesetround.c: Likewise.
17193 * math/feupdateenv.c: Likewise.
17194 * math/fgetexcptflg.c: Likewise.
17195 * math/fraiseexcpt.c: Likewise.
17196 * math/fsetexcptflg.c: Likewise.
17197 * math/ftestexcept.c: Likewise.
17198 * math/k_cosl.c: Likewise.
17199 * math/k_rem_pio2l.c: Likewise.
17200 * math/k_sinl.c: Likewise.
17201 * math/k_tanl.c: Likewise.
17202 * math/s_asinhl.c: Likewise.
17203 * math/s_atanl.c: Likewise.
17204 * math/s_cbrtl.c: Likewise.
17205 * math/s_erfl.c: Likewise.
17206 * math/s_expm1l.c: Likewise.
17207 * math/s_log1pl.c: Likewise.
17208 * math/s_tanhl.c: Likewise.
17209 * misc/acct.c: Likewise.
17210 * misc/brk.c: Likewise.
17211 * misc/chflags.c: Likewise.
17212 * misc/chroot.c: Likewise.
17213 * misc/fchflags.c: Likewise.
17214 * misc/fgetxattr.c: Likewise.
17215 * misc/flistxattr.c: Likewise.
17216 * misc/fremovexattr.c: Likewise.
17217 * misc/fsetxattr.c: Likewise.
17218 * misc/fsync.c: Likewise.
17219 * misc/ftruncate.c: Likewise.
17220 * misc/futimes.c: Likewise.
17221 * misc/futimesat.c: Likewise.
17222 * misc/getdomain.c: Likewise.
17223 * misc/getdtsz.c: Likewise.
17224 * misc/gethostid.c: Likewise.
17225 * misc/gethostname.c: Likewise.
17226 * misc/getloadavg.c: Likewise.
17227 * misc/getpagesize.c: Likewise.
17228 * misc/getsysstats.c: Likewise.
17229 * misc/getxattr.c: Likewise.
17230 * misc/gtty.c: Likewise.
17231 * misc/ioctl.c: Likewise.
17232 * misc/lgetxattr.c: Likewise.
17233 * misc/listxattr.c: Likewise.
17234 * misc/llistxattr.c: Likewise.
17235 * misc/lremovexattr.c: Likewise.
17236 * misc/lsetxattr.c: Likewise.
17237 * misc/lutimes.c: Likewise.
17238 * misc/madvise.c: Likewise.
17239 * misc/mincore.c: Likewise.
17240 * misc/mlock.c: Likewise.
17241 * misc/mlockall.c: Likewise.
17242 * misc/mmap.c: Likewise.
17243 * misc/mprotect.c: Likewise.
17244 * misc/msync.c: Likewise.
17245 * misc/munlock.c: Likewise.
17246 * misc/munlockall.c: Likewise.
17247 * misc/munmap.c: Likewise.
17248 * misc/preadv.c: Likewise.
17249 * misc/preadv64.c: Likewise.
17250 * misc/ptrace.c: Likewise.
17251 * misc/pwritev.c: Likewise.
17252 * misc/pwritev64.c: Likewise.
17253 * misc/readv.c: Likewise.
17254 * misc/reboot.c: Likewise.
17255 * misc/remap_file_pages.c: Likewise.
17256 * misc/removexattr.c: Likewise.
17257 * misc/revoke.c: Likewise.
17258 * misc/select.c: Likewise.
17259 * misc/setdomain.c: Likewise.
17260 * misc/setegid.c: Likewise.
17261 * misc/seteuid.c: Likewise.
17262 * misc/sethostid.c: Likewise.
17263 * misc/sethostname.c: Likewise.
17264 * misc/setregid.c: Likewise.
17265 * misc/setreuid.c: Likewise.
17266 * misc/setxattr.c: Likewise.
17267 * misc/sstk.c: Likewise.
17268 * misc/stty.c: Likewise.
17269 * misc/swapoff.c: Likewise.
17270 * misc/swapon.c: Likewise.
17271 * misc/sync.c: Likewise.
17272 * misc/syncfs.c: Likewise.
17273 * misc/syscall.c: Likewise.
17274 * misc/truncate.c: Likewise.
17275 * misc/ualarm.c: Likewise.
17276 * misc/usleep.c: Likewise.
17277 * misc/ustat.c: Likewise.
17278 * misc/utimes.c: Likewise.
17279 * misc/vhangup.c: Likewise.
17280 * misc/writev.c: Likewise.
17281 * posix/_exit.c: Likewise.
17282 * posix/alarm.c: Likewise.
17283 * posix/execve.c: Likewise.
17284 * posix/fexecve.c: Likewise.
17285 * posix/fork.c: Likewise.
17286 * posix/fpathconf.c: Likewise.
17287 * posix/getaddrinfo.c: Likewise.
17288 * posix/getegid.c: Likewise.
17289 * posix/geteuid.c: Likewise.
17290 * posix/getgid.c: Likewise.
17291 * posix/getgroups.c: Likewise.
17292 * posix/getlogin.c: Likewise.
17293 * posix/getlogin_r.c: Likewise.
17294 * posix/getpgid.c: Likewise.
17295 * posix/getpid.c: Likewise.
17296 * posix/getppid.c: Likewise.
17297 * posix/getresgid.c: Likewise.
17298 * posix/getresuid.c: Likewise.
17299 * posix/getsid.c: Likewise.
17300 * posix/getuid.c: Likewise.
17301 * posix/glob64.c: Likewise.
17302 * posix/nanosleep.c: Likewise.
17303 * posix/pathconf.c: Likewise.
17304 * posix/pause.c: Likewise.
17305 * posix/posix_madvise.c: Likewise.
17306 * posix/pread.c: Likewise.
17307 * posix/pread64.c: Likewise.
17308 * posix/pwrite.c: Likewise.
17309 * posix/pwrite64.c: Likewise.
17310 * posix/sched_getaffinity.c: Likewise.
17311 * posix/sched_getp.c: Likewise.
17312 * posix/sched_gets.c: Likewise.
17313 * posix/sched_primax.c: Likewise.
17314 * posix/sched_primin.c: Likewise.
17315 * posix/sched_rr_gi.c: Likewise.
17316 * posix/sched_setaffinity.c: Likewise.
17317 * posix/sched_setp.c: Likewise.
17318 * posix/sched_sets.c: Likewise.
17319 * posix/sched_yield.c: Likewise.
17320 * posix/setgid.c: Likewise.
17321 * posix/setlogin.c: Likewise.
17322 * posix/setpgid.c: Likewise.
17323 * posix/setresgid.c: Likewise.
17324 * posix/setresuid.c: Likewise.
17325 * posix/setsid.c: Likewise.
17326 * posix/setuid.c: Likewise.
17327 * posix/sleep.c: Likewise.
17328 * posix/spawni.c: Likewise.
17329 * posix/sysconf.c: Likewise.
17330 * posix/times.c: Likewise.
17331 * posix/wait.c: Likewise.
17332 * posix/wait3.c: Likewise.
17333 * posix/wait4.c: Likewise.
17334 * posix/waitpid.c: Likewise.
17335 * resolv/gai_sigqueue.c: Likewise.
17336 * resource/getpriority.c: Likewise.
17337 * resource/getrlimit.c: Likewise.
17338 * resource/getrusage.c: Likewise.
17339 * resource/nice.c: Likewise.
17340 * resource/setpriority.c: Likewise.
17341 * resource/setrlimit.c: Likewise.
17342 * resource/ulimit.c: Likewise.
17343 * rt/aio_cancel.c: Likewise.
17344 * rt/aio_fsync.c: Likewise.
17345 * rt/aio_read.c: Likewise.
17346 * rt/aio_sigqueue.c: Likewise.
17347 * rt/aio_suspend.c: Likewise.
17348 * rt/aio_write.c: Likewise.
17349 * rt/clock_getres.c: Likewise.
17350 * rt/clock_gettime.c: Likewise.
17351 * rt/clock_nanosleep.c: Likewise.
17352 * rt/clock_settime.c: Likewise.
17353 * rt/lio_listio.c: Likewise.
17354 * rt/mq_close.c: Likewise.
17355 * rt/mq_getattr.c: Likewise.
17356 * rt/mq_notify.c: Likewise.
17357 * rt/mq_open.c: Likewise.
17358 * rt/mq_receive.c: Likewise.
17359 * rt/mq_send.c: Likewise.
17360 * rt/mq_setattr.c: Likewise.
17361 * rt/mq_timedreceive.c: Likewise.
17362 * rt/mq_timedsend.c: Likewise.
17363 * rt/mq_unlink.c: Likewise.
17364 * rt/shm_open.c: Likewise.
17365 * rt/shm_unlink.c: Likewise.
17366 * rt/timer_create.c: Likewise.
17367 * rt/timer_delete.c: Likewise.
17368 * rt/timer_getoverr.c: Likewise.
17369 * rt/timer_gettime.c: Likewise.
17370 * rt/timer_settime.c: Likewise.
17371 * setjmp/__longjmp.c: Likewise.
17372 * setjmp/setjmp.c: Likewise.
17373 * signal/kill.c: Likewise.
17374 * signal/killpg.c: Likewise.
17375 * signal/raise.c: Likewise.
17376 * signal/sigaction.c: Likewise.
17377 * signal/sigaltstack.c: Likewise.
17378 * signal/sigblock.c: Likewise.
17379 * signal/sigignore.c: Likewise.
17380 * signal/sigintr.c: Likewise.
17381 * signal/signal.c: Likewise.
17382 * signal/sigpause.c: Likewise.
17383 * signal/sigpending.c: Likewise.
17384 * signal/sigqueue.c: Likewise.
17385 * signal/sigreturn.c: Likewise.
17386 * signal/sigset.c: Likewise.
17387 * signal/sigsetmask.c: Likewise.
17388 * signal/sigstack.c: Likewise.
17389 * signal/sigsuspend.c: Likewise.
17390 * signal/sigtimedwait.c: Likewise.
17391 * signal/sigvec.c: Likewise.
17392 * signal/sigwait.c: Likewise.
17393 * signal/sigwaitinfo.c: Likewise.
17394 * signal/sysv_signal.c: Likewise.
17395 * socket/accept.c: Likewise.
17396 * socket/accept4.c: Likewise.
17397 * socket/bind.c: Likewise.
17398 * socket/connect.c: Likewise.
17399 * socket/getpeername.c: Likewise.
17400 * socket/getsockname.c: Likewise.
17401 * socket/getsockopt.c: Likewise.
17402 * socket/isfdtype.c: Likewise.
17403 * socket/listen.c: Likewise.
17404 * socket/recv.c: Likewise.
17405 * socket/recvfrom.c: Likewise.
17406 * socket/recvmsg.c: Likewise.
17407 * socket/send.c: Likewise.
17408 * socket/sendmsg.c: Likewise.
17409 * socket/sendto.c: Likewise.
17410 * socket/setsockopt.c: Likewise.
17411 * socket/shutdown.c: Likewise.
17412 * socket/sockatmark.c: Likewise.
17413 * socket/socket.c: Likewise.
17414 * socket/socketpair.c: Likewise.
17415 * stdio-common/ctermid.c: Likewise.
17416 * stdio-common/cuserid.c: Likewise.
17417 * stdio-common/remove.c: Likewise.
17418 * stdio-common/rename.c: Likewise.
17419 * stdio-common/renameat.c: Likewise.
17420 * stdio-common/tempname.c: Likewise.
17421 * stdlib/getcontext.c: Likewise.
17422 * stdlib/makecontext.c: Likewise.
17423 * stdlib/setcontext.c: Likewise.
17424 * stdlib/swapcontext.c: Likewise.
17425 * stdlib/system.c: Likewise.
17426 * streams/fattach.c: Likewise.
17427 * streams/fdetach.c: Likewise.
17428 * streams/getmsg.c: Likewise.
17429 * streams/getpmsg.c: Likewise.
17430 * streams/putmsg.c: Likewise.
17431 * streams/putpmsg.c: Likewise.
17432 * sysdeps/unix/bsd/getpt.c: Likewise.
17433 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17434 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17435 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17437 Likewise.
17438 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17439 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17440 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17441 * sysvipc/msgctl.c: Likewise.
17442 * sysvipc/msgget.c: Likewise.
17443 * sysvipc/msgrcv.c: Likewise.
17444 * sysvipc/msgsnd.c: Likewise.
17445 * sysvipc/semctl.c: Likewise.
17446 * sysvipc/semget.c: Likewise.
17447 * sysvipc/semop.c: Likewise.
17448 * sysvipc/semtimedop.c: Likewise.
17449 * sysvipc/shmat.c: Likewise.
17450 * sysvipc/shmctl.c: Likewise.
17451 * sysvipc/shmdt.c: Likewise.
17452 * sysvipc/shmget.c: Likewise.
17453 * termios/tcdrain.c: Likewise.
17454 * termios/tcflow.c: Likewise.
17455 * termios/tcflush.c: Likewise.
17456 * termios/tcgetattr.c: Likewise.
17457 * termios/tcgetpgrp.c: Likewise.
17458 * termios/tcsendbrk.c: Likewise.
17459 * termios/tcsetattr.c: Likewise.
17460 * termios/tcsetpgrp.c: Likewise.
17461 * time/adjtime.c: Likewise.
17462 * time/clock.c: Likewise.
17463 * time/getitimer.c: Likewise.
17464 * time/gettimeofday.c: Likewise.
17465 * time/setitimer.c: Likewise.
17466 * time/settimeofday.c: Likewise.
17467 * time/stime.c: Likewise.
17468 * time/time.c: Likewise.
17469
17470 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17471
17472 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17473 /usr/old/bin.
17474
17475 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17476 instead of spaces.
17477 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17478
17479 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17480
17481 [BZ #14796]
17482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17483 FE_TONEAREST before applying Dekker multiplication and Knuth
17484 addition. Clear inexact exceptions and check for exact zero
17485 results afterwards.
17486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17489 * math/libm-test.inc (fma_test): Add more tests.
17490 (fma_test_towardzero): Likewise.
17491 (fma_test_downward): Likewise.
17492 (fma_test_upward): Likewise.
17493 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17494 function.
17495 (libc_fesetround): New macro.
17496 (libc_fesetroundf): Likewise.
17497 (libc_fesetroundl): Likewise.
17498 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17499 function.
17500 (libc_fesetround_387): Likewise.
17501 (libc_fesetroundf): New macro.
17502 (libc_fesetround): Likewise.
17503 (libc_fesetroundl): Likewise.
17504 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17505 function.
17506 (libc_fesetroundf): New macro.
17507 (libc_fesetround): Likewise.
17508 (libc_fesetroundl): Likewise.
17509 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17510 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17511 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17512 libm_hidden_ver.
17513 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17514 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17515 libm_hidden_def.
17516 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17517 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17518 libm_hidden_ver.
17519 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17520 libm_hidden_def.
17521
17522 [BZ #3439]
17523 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17524 integer constant usable in #if and use that to give value to enum
17525 constant.
17526 (FE_DIVBYZERO): Likewise.
17527 (FE_UNDERFLOW): Likewise.
17528 (FE_OVERFLOW): Likewise.
17529 (FE_INVALID): Likewise.
17530 (FE_INVALID_SNAN): Likewise.
17531 (FE_INVALID_ISI): Likewise.
17532 (FE_INVALID_IDI): Likewise.
17533 (FE_INVALID_ZDZ): Likewise.
17534 (FE_INVALID_IMZ): Likewise.
17535 (FE_INVALID_COMPARE): Likewise.
17536 (FE_INVALID_SOFTWARE): Likewise.
17537 (FE_INVALID_SQRT): Likewise.
17538 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17539 (FE_TONEAREST): Likewise.
17540 (FE_TOWARDZERO): Likewise.
17541 (FE_UPWARD): Likewise.
17542 (FE_DOWNWARD): Likewise.
17543 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17544 (FE_DIVBYZERO): Likewise.
17545 (FE_OVERFLOW): Likewise.
17546 (FE_UNDERFLOW): Likewise.
17547 (FE_INEXACT): Likewise.
17548 (FE_TONEAREST): Likewise.
17549 (FE_DOWNWARD): Likewise.
17550 (FE_UPWARD): Likewise.
17551 (FE_TOWARDZERO): Likewise.
17552 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17553 (FE_UNDERFLOW): Likewise.
17554 (FE_OVERFLOW): Likewise.
17555 (FE_DIVBYZERO): Likewise.
17556 (FE_INVALID): Likewise.
17557 (FE_TONEAREST): Likewise.
17558 (FE_TOWARDZERO): Likewise.
17559 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17560 (FE_OVERFLOW): Likewise.
17561 (FE_UNDERFLOW): Likewise.
17562 (FE_DIVBYZERO): Likewise.
17563 (FE_INEXACT): Likewise.
17564 (FE_TONEAREST): Likewise.
17565 (FE_TOWARDZERO): Likewise.
17566 (FE_UPWARD): Likewise.
17567 (FE_DOWNWARD): Likewise.
17568 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17569 (FE_DIVBYZERO): Likewise.
17570 (FE_OVERFLOW): Likewise.
17571 (FE_UNDERFLOW): Likewise.
17572 (FE_INEXACT): Likewise.
17573 (FE_TONEAREST): Likewise.
17574 (FE_DOWNWARD): Likewise.
17575 (FE_UPWARD): Likewise.
17576 (FE_TOWARDZERO): Likewise.
17577
17578 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17579
17580 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17581
17582 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17583
17584 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17585 commands. Quote $PWD.
17586 (blacklist_exports): Don't use remove_newlines. Replace "declare
17587 -x" by "export".
17588 (remove_newlines): Remove.
17589
17590 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17591
17592 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17593 * stdlib/stdlib.h (atof): Moved to ...
17594 * include/bits/stdlib-float.h: Here. New file.
17595 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17596 * stdlib/bits/stdlib-float.h: New file.
17597 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17598 -mno-sse -mno-mmx.
17599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17600 <xmmintrin.h>.
17601
17602 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17603
17604 * conform/conformtest.pl (@headers): Add fenv.h.
17605 * conform/data/fenv.h-data: New file.
17606 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17607 include of <math/fenv.h>.
17608
17609 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17610 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17611 && !UNIX98]. Enables tests for XOPEN2K8.
17612 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17613 POSIX2008]: Likewise.
17614
17615 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17616 (struct rusage): Do not expect type or its members.
17617
17618 [BZ #3439]
17619 * math/math.h (FP_NAN): Define macro to integer constant usable in
17620 #if and use that to give value to enum constant.
17621 (FP_INFINITE): Likewise.
17622 (FP_ZERO): Likewise.
17623 (FP_SUBNORMAL): Likewise.
17624 (FP_NORMAL): Likewise.
17625
17626 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17627
17628 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17629 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17630 arguments.
17631
17632 2012-11-02 Roland McGrath <roland@hack.frob.com>
17633
17634 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17635 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17636 autoconf-time if not.
17637 * configure.in: Remove AC_PREREQ.
17638
17639 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17640
17641 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17642 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17643 of the internal implementation.
17644
17645 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17646
17647 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17648 except include of <misc/sys/syslog.h>.
17649
17650 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17651
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17653 function returns with a NULL context exit with zero.
17654
17655 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17656
17657 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17658
17659 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17660
17661 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17662 (run_program_cmd): This.
17663 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17664 (tst_langinfo): New variable. Use it.
17665
17666 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17667
17668 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17669 floating point opcodes.
17670
17671 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17672
17673 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17674 variable.
17675
17676 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17677
17678 * sysdeps/mach/hurd/powerpc: Remove directory.
17679 * sysdeps/mach/powerpc: Likewise.
17680
17681 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17682
17683 * scripts/check-local-headers.sh: Ignore c++ headers.
17684
17685 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17686
17687 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17688 __libc_cleanup_region_start argument.
17689
17690 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17691
17692 [BZ #14784]
17693 [BZ #14785]
17694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17695 x * y using scaling, not as x * y + z.
17696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17698 * math/libm-test.inc (fma_test): Add more tests.
17699 (fma_test_towardzero): Likewise.
17700 (fma_test_downward): Likewise.
17701 (fma_test_upward): Likewise.
17702
17703 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17704
17705 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17706
17707 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17708
17709 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17710 New variable.
17711
17712 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17713
17714 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17715
17716 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17717
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17719 Fix sort order.
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17721 Likewise.
17722
17723 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17724
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17726 Fix the order of the list for glibc 2.17.
17727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17728 Likewise.
17729
17730 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17731
17732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17733
17734 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17735
17736 [BZ #14610]
17737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17738 for low part of x being zero before using __atanl (y).
17739 * math/libm-test.inc (atan2_test): Add another test.
17740
17741 * manual/install.texi (Configuring and compiling): Document
17742 general use of test-wrapper and test-wrapper-env.
17743 * INSTALL: Regenerated.
17744
17745 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17746 (__fma): Do not extract and scale down low bits on after-rounding
17747 systems when result rounded to normal precision would have normal
17748 exponent.
17749 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17750 (__fmal): Do not extract and scale down low bits on after-rounding
17751 systems when result rounded to normal precision would have normal
17752 exponent.
17753 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17754 (__fmal): Do not extract and scale down low bits on after-rounding
17755 systems when result rounded to normal precision would have normal
17756 exponent.
17757 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17758 macro.
17759 (fma_test): Add more tests.
17760 (fma_test_towardzero): Likewise.
17761 (fma_test_downward): Likewise.
17762 (fma_test_upward): Likewise.
17763
17764 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17765
17766 * sysdeps/i386/tininess.h: Renamed to ...
17767 * sysdeps/x86/tininess.h: This.
17768 * sysdeps/x86_64/tininess.h: Removed.
17769
17770 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17771
17772 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17773 input. Use $(build-program-cmd).
17774 ($(objpfx)tst-array1-static.out): Likewise.
17775 ($(objpfx)tst-array2.out): Likewise.
17776 ($(objpfx)tst-array3.out): Likewise.
17777 ($(objpfx)tst-array4.out): Likewise.
17778 ($(objpfx)tst-array5.out): Likewise.
17779 ($(objpfx)tst-array5-static.out): Likewise.
17780
17781 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17782
17783 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17784 if defined.
17785
17786 * nss/nsswitch.h (nss_interface_function): Provide new
17787 macro for use with NSS functions.
17788 * grp/initgroups.c: Use new macro.
17789 * nss/getXXbyYY.c: Likewise.
17790 * nss/getXXbyYY_r.c: Likewise.
17791 * nss/getXXent.c: Likewise.
17792 * nss/getXXent_r.c: Likewise.
17793 * sysdeps/posix/getaddrinfo.c: Likewise.
17794
17795 2012-10-30 Andreas Jaeger <aj@suse.de>
17796
17797 * po/ru.po: Update Russion translation from translation project.
17798
17799 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17800
17801 [BZ #14152]
17802 [BZ #14783]
17803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17804 result and shift together with sticky bit instead of replicating
17805 round-to-nearest rounding.
17806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17808 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17809 missing underflow exceptions.
17810 (fma_test_towardzero): Add more tests.
17811 (fma_test_downward): Likewise.
17812 (fma_test_upward): Likewise.
17813
17814 [BZ #14047]
17815 * sysdeps/generic/tininess.h: New file.
17816 * sysdeps/i386/tininess.h: Likewise.
17817 * sysdeps/sh/tininess.h: Likewise.
17818 * sysdeps/x86_64/tininess.h: Likewise.
17819 * stdlib/tst-strtod-underflow.c: Likewise.
17820 * stdlib/tst-tininess.c: Likewise.
17821 * stdlib/strtod_l.c: Include <tininess.h>.
17822 (round_and_return): Do not set errno for exact underflow cases.
17823 Force an underflow exception when setting errno for underflow.
17824 Determine underflow based on rounding to normal precision if
17825 TININESS_AFTER_ROUNDING.
17826 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17827 ERANGE for exact underflow cases.
17828 * stdlib/Makefile (tests): Add tst-tininess and
17829 tst-strtod-underflow.
17830 ($(objpfx)tst-tininess): Use $(link-libm).
17831 ($(objpfx)tst-strtod-underflow): Likewise.
17832
17833 2012-10-30 Andreas Jaeger <aj@suse.de>
17834
17835 [BZ#14767]
17836 * elf/Makefile (tests): Remove conditional for have-initfini-array
17837 since this is now always required and the variable does not exist
17838 anymore.
17839 (tests-static): Likewise.
17840 (modules-names): Likewise.
17841
17842 * po/eo.po: Add Esperanto translation from translation project.
17843
17844 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17845 merged with constructor/destructor.
17846 (init_array): Likewise.
17847 * elf/tst-array2dep.c (fini_array): Likewise.
17848 (init_array): Likewise.
17849
17850 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17851
17852 * manual/message.texi: Delete @cartouche tags.
17853
17854 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17855
17856 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17857 EOPNOTSUPP.
17858 * sysdeps/mach/hurd/fsync.c: Likewise.
17859
17860 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17861 [_POSIX_REALTIME_SIGNALS]: Change condition to
17862 [_POSIX_REALTIME_SIGNALS > 0].
17863
17864 2012-10-27 Andreas Jaeger <aj@suse.de>
17865
17866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17867 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17869 [__WORDSIZE != 64]: Likewise.
17870
17871 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17872
17873 * iconvdata/tst-table.sh: Remove ${SHELL}.
17874 * iconvdata/tst-tables.sh: Likewise.
17875
17876 2012-10-25 David S. Miller <davem@davemloft.net>
17877
17878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17879 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17880 of strtoull.
17881
17882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17883 ifunc-impl-list.c
17884 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17885 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17886 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17887 file.
17888
17889 2012-10-25 Roland McGrath <roland@hack.frob.com>
17890
17891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17892 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17893 __getdirentries.
17894
17895 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17896 Jim Blandy <jimb@codesourcery.com>
17897
17898 * scripts/cross-test-ssh.sh: New file.
17899 * manual/install.texi (Configuring and compiling): Document use of
17900 cross-test-ssh.sh.
17901 * INSTALL: Regenerated.
17902
17903 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17904
17905 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17906 EOPNOTSUPP.
17907
17908 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17909
17910 * Makeconfig (run-program-prefix): Fix comment.
17911
17912 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17913 Jim Blandy <jimb@codesourcery.com>
17914
17915 * Makeconfig (test-wrapper): New variable,
17916 (test-wrapper-env): Likewise.
17917 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17918 (run-built-tests): Define to yes.
17919 (run-program-prefix): Use $(test-wrapper).
17920 (built-program-cmd): Likewise.
17921 * Rules (make-test-out): Use $(test-wrapper-env) and
17922 $(host-built-program-cmd).
17923 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17924 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17925 tst-pathopt.sh.
17926 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17927 $(test-wrapper-env) to tst-rtld-load-self.sh.
17928 ($(objpfx)order2.out): Use $(test-wrapper).
17929 ($(objpfx)tst-initorder.out): Likewise.
17930 ($(objpfx)tst-initorder2.out): Likewise.
17931 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17932 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17933 (test_wrapper_env): New variable. Use it to run ld.so.
17934 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17935 Use it to run ld.so.
17936 (test_wrapper_env): Likewise.
17937 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17938 $(test-wrapper) to run-iconv-test.sh.
17939 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17940 (ICONV): Use $test_wrapper.
17941 * posix/Makefile ($(objpfx)globtest.out): Pass
17942 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17943 globtest.sh, not $(run-program-prefix).
17944 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17945 (test_wrapper): Likewise.
17946 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17947 set together with run_via_rtld_prefix.
17948 (run_program_prefix): Define in terms of test_wrapper and
17949 run_via_rtld_prefix.
17950
17951 2012-10-24 Roland McGrath <roland@hack.frob.com>
17952
17953 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17954 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17955 Targets removed.
17956
17957 [BZ #14743]
17958 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17959 Declare __clock_getres, __clock_gettime, __clock_settime,
17960 __clock_nanosleep, and __clock_getcpuclockid.
17961 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17962 Remove librt_hidden_def (clock_gettime).
17963 * sysdeps/unix/clock_gettime.c: Likewise.
17964 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17966 * rt/clock_getres.c: Define __clock_getres as an alias.
17967 * sysdeps/posix/clock_getres.c: Likewise.
17968 * rt/clock_settime.c: Define __clock_settime as an alias.
17969 * sysdeps/unix/clock_settime.c: Likewise.
17970 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17971 * sysdeps/unix/clock_nanosleep.c: Likewise.
17972 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17973 * rt/clock-compat.c: New file.
17974 * rt/Makefile (librt-routines): Add clock-compat and move
17975 $(clock-routines) to ...
17976 (routines): ... here, new variable.
17977 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17978 Don't add get_clockfreq here.
17979 * rt/Versions (libc: GLIBC_2.17): New version set.
17980 Add clock_* symbols here.
17981 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17983 (GLIBC_2.17): Add clock_* symbols.
17984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17988 Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17990 Likewise.
17991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17995 * NEWS: Mention the move.
17996
17997 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17998 Use __open, __read, __close rather than their public counterparts.
17999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18000 (__get_clockfreq_via_cpuinfo): Likewise.
18001 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18002 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18003
18004 * config.h.in (HAVE_IFUNC): New #undef.
18005 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18006 was successful.
18007 * configure: Regenerated.
18008
18009 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18010
18011 * configure.in: Move READELF check to start of file.
18012 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18013 libc_cv_asm_gnu_indirect_function in the process.
18014 * configure: Regenerated.
18015
18016 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18017
18018 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18019 send the output to /dev/null.
18020 (libc_cv_cc_with_libunwind): Likewise.
18021 (libc_cv_as_noexecstack): Likewise.
18022 * configure: Regenerate.
18023
18024 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18025
18026 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18027
18028 * posix/globtest.sh (TMPDIR): Do not set.
18029 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18030 (testout): Likewise.
18031
18032 2012-10-24 Andreas Jaeger <aj@suse.de>
18033
18034 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18035 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18036 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18037 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18038 posix_fadvise64, posix_fallocate64.
18039
18040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18041 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18042 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18043 Likewise.
18044 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18045 Likewise.
18046 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18047
18048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18049 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18050 <bits/fcntl-linux.h>.
18051 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18052
18053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18054 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18055 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18056 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18057 [__WORDSIZE != 64]: Likewise.
18058
18059 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18060
18061 * Makeconfig (run-built-tests): New variable.
18062 * Rules [$(cross-compiling) = yes]: Change condition to
18063 [$(run-built-tests) = no].
18064 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18065 to [$(run-built-tests) = yes].
18066 * elf/Makefile [$(cross-compiling) = no]: Likewise
18067 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18068 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18069 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18070 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18071 * io/Makefile [$(cross-compiling) = no]: Likewise.
18072 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18073 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18074 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18075 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18076 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18077 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18078 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18079 * string/Makefile [$(cross-compiling) = no]: Likewise.
18080
18081 * posix/Makefile ($(objpfx)globtest.out): Pass
18082 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18083 $(rtld-installed-name).
18084 * posix/globtest.sh (elf_objpfx): Remove variable.
18085 (rtld_installed_name): Likewise.
18086 (library_path): Likewise.
18087 (run_program_prefix): New variable. Use for running globtest
18088 binary.
18089
18090 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18091 Joseph Myers <joseph@codesourcery.com>
18092
18093 * Makeconfig (host-built-program-cmd): New variable.
18094 * elf/Makefile (tst-stackguard1-ARGS): Use
18095 $(host-built-program-cmd).
18096 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18097 (tst-spawn-ARGS): Likewise.
18098 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18099
18100 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18101 Jim Blandy <jimb@codesourcery.com>
18102
18103 * Makeconfig (run-via-rtld-prefix): New variable.
18104 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18105 (built-program-cmd): Likewise.
18106
18107 2012-10-22 Andreas Jaeger <aj@suse.de>
18108
18109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18110 __O_RSYNC if it exists, otherwise to O_SYNC.
18111
18112 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18113 Joseph Myers <joseph@codesourcery.com>
18114
18115 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18116 /dev/null.
18117 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18118 from /dev/null
18119 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18120 /dev/null.
18121
18122 2012-10-22 Andreas Jaeger <aj@suse.de>
18123
18124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18125 Define always.
18126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18127
18128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18129 bits/fcntl-linux.h.
18130
18131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18132 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18133
18134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18135 to __O_LARGEFILE.
18136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18137 to __O_LARGEFILE.
18138
18139 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18140 Joseph Myers <joseph@codesourcery.com>
18141
18142 * config.make.in (NM): New variable.
18143
18144 2012-10-21 Andreas Jaeger <aj@suse.de>
18145
18146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18147 definitions and declarations that are provided by
18148 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18149
18150 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18151
18152 [BZ #14683]
18153 * elf/Makefile (tests-static): Add tst-leaks1-static.
18154 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18155 ($(objpfx)tst-leaks1-static): New rule.
18156 ($(objpfx)tst-leaks1-static-mem): Likewise.
18157 (tst-leaks1-static-ENV): New macro.
18158 * elf/dl-open.c (dl_open_worker): Check the main application
18159 only if SHARED is defined.
18160 * elf/tst-leaks1-static.c: New file.
18161
18162 2012-10-20 Andreas Jaeger <aj@suse.de>
18163
18164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18165 generic values for Linux.
18166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18167 and declarations that are provided by <bits/fcntl-linux.h> and
18168 include <bits/fcntl-linux.h>.
18169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18171
18172 2012-10-20 Roland McGrath <roland@hack.frob.com>
18173
18174 * io/fcntl.h: Move include of <bits/types.h> to the top and
18175 include it unconditionally.
18176
18177 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 * wcsmbs/Makefile (tests-ifunc): New variable.
18180 (tests): Add $(tests-ifunc).
18181 * wcsmbs/test-wcschr-ifunc.c: New file.
18182 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18183 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18184 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18185 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18186 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18187
18188 * string/Makefile (tests-ifunc): New variable.
18189 (tests): Add $(tests-ifunc).
18190 * string/test-memccpy.c (TEST_NAME): New macro.
18191 * string/test-memchr.c (TEST_NAME): Likewise.
18192 * string/test-memcmp.c (TEST_NAME): Likewise.
18193 * string/test-memcpy.c (TEST_NAME): Likewise.
18194 * string/test-memmem.c (TEST_NAME): Likewise.
18195 * string/test-memmove.c (TEST_NAME): Likewise.
18196 * string/test-memset.c (TEST_NAME): Likewise.
18197 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18198 * string/test-stpcpy.c (TEST_NAME): Likewise.
18199 * string/test-stpncpy.c (TEST_NAME): Likewise.
18200 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18201 * string/test-strcasestr.c (TEST_NAME): Likewise.
18202 * string/test-strcat.c (TEST_NAME): Likewise.
18203 * string/test-strchr.c (TEST_NAME): Likewise.
18204 * string/test-strcmp.c(TEST_NAME): Likewise.
18205 * string/test-strcpy.c (TEST_NAME): Likewise.
18206 * string/test-strcspn.c (TEST_NAME): Likewise.
18207 * string/test-strlen.c (TEST_NAME): Likewise.
18208 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18209 * string/test-strncmp.c (TEST_NAME): Likewise.
18210 * string/test-strncpy.c (TEST_NAME): Likewise.
18211 * string/test-strnlen.c (TEST_NAME): Likewise.
18212 * string/test-strpbrk.c (TEST_NAME): Likewise.
18213 * string/test-strrchr.c (TEST_NAME): Likewise.
18214 * string/test-strspn.c (TEST_NAME): Likewise.
18215 * string/test-strstr.c (TEST_NAME): Likewise.
18216 * string/test-bcopy-ifunc.c: New file.
18217 * string/test-bzero-ifunc.c: Likewise.
18218 * string/test-memccpy-ifunc.c: Likewise.
18219 * string/test-memchr-ifunc.c: Likewise.
18220 * string/test-memcmp-ifunc.c: Likewise.
18221 * string/test-memcpy-ifunc.c: Likewise.
18222 * string/test-memmem-ifunc.c: Likewise.
18223 * string/test-memmove-ifunc.c: Likewise.
18224 * string/test-mempcpy-ifunc.c: Likewise.
18225 * string/test-memset-ifunc.c: Likewise.
18226 * string/test-rawmemchr-ifunc.c: Likewise.
18227 * string/test-stpcpy-ifunc.c: Likewise.
18228 * string/test-stpncpy-ifunc.c: Likewise.
18229 * string/test-strcasecmp-ifunc.c: Likewise.
18230 * string/test-strcasestr-ifunc.c: Likewise.
18231 * string/test-strcat-ifunc.c: Likewise.
18232 * string/test-strchr-ifunc.c: Likewise.
18233 * string/test-strchrnul-ifunc.c: Likewise.
18234 * string/test-strcmp-ifunc.c: Likewise.
18235 * string/test-strcpy-ifunc.c: Likewise.
18236 * string/test-strcspn-ifunc.c: Likewise.
18237 * string/test-strlen-ifunc.c: Likewise.
18238 * string/test-strncasecmp-ifunc.c: Likewise.
18239 * string/test-strncat-ifunc.c: Likewise.
18240 * string/test-strncmp-ifunc.c: Likewise.
18241 * string/test-strncpy-ifunc.c: Likewise.
18242 * string/test-strnlen-ifunc.c: Likewise.
18243 * string/test-strpbrk-ifunc.c: Likewise.
18244 * string/test-strrchr-ifunc.c: Likewise.
18245 * string/test-strspn-ifunc.c: Likewise.
18246 * string/test-strstr-ifunc.c: Likewise.
18247
18248 * debug/Makefile (tests-ifunc): New variable.
18249 (tests): Add $(tests-ifunc).
18250 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18251 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18252 * debug/test-stpcpy_chk-ifunc.c: New file.
18253 * debug/test-strcpy_chk-ifunc.c: Likewise.
18254
18255 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18256
18257 [BZ #13601]
18258 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18259 header is not read in.
18260
18261 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18262
18263 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18264 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18265 directly. Pass built executable to script as
18266 $(built-program-cmd).
18267 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18268 $testprogram without using LD_LIBRARY_PATH and $ldso.
18269
18270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18271 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18272 $(rtld-installed-name).
18273 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18274 (rtld_installed_name): Likewise.
18275 (library_path): Likewise.
18276 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18277 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18278 $(run-program-prefix) to tst-tables.sh.
18279 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18280 it to run tst-table-from and tst-table-to.
18281 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18282 Pass it to tst-table.sh.
18283 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18284 $(run-program-prefix) to tst-gettext.sh.
18285 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18286 tst-translit.sh.
18287 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18288 tst-gettext2.sh.
18289 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18290 to run tst-gettext.
18291 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18292 to run tst-gettext2.
18293 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18294 to run tst-translit.
18295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18296 $(run-program-prefix) to tst-mtrace.sh.
18297 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18298 to run tst-mtrace.
18299 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18300 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18301 $(rtld-installed-name).
18302 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18303 (rtld_installed_name): Likewise.
18304 (run_program_prefix): New variable. Use it to run wordexp-test.
18305
18306 * Makeconfig (ARCH): Remove all definitions.
18307 (machine): Likewise.
18308 [ARCH]: Remove conditional code.
18309 [!objdir]: Give error.
18310 [!objdir] (objpfx): Remove.
18311 [!objdir] (common-objpfx): Likewise.
18312 [!objdir] (common-objdir): Likewise.
18313 * configure.in (config_makefile): Remove. Hardcode Makefile in
18314 AC_CONFIG_FILES call.
18315 * configure: Regenerated.
18316
18317 [BZ #13888]
18318 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18319 or TMPDIR.
18320 (testout): Likewise.
18321
18322 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18323 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18324 $(rtld-installed-name).
18325 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18326 (rtld_installed_name): Likwise.
18327 (runit): Remove function.
18328 (run_getconf): New variable, Use it for running getconf binary.
18329
18330 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18331
18332 [BZ #14716]
18333 * string/test-memmem.c (check_result): New function.
18334 (do_one_test): Use it.
18335 (check1): New function.
18336 (test_main): Use it.
18337
18338 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18339
18340 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18341
18342 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18343
18344 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18345 (_G_LSEEK64): Likewise.
18346 (_G_MMAP64): Likewise.
18347 (_G_FSTAT64): Likewise.
18348 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18349 (_G_LSEEK64): Likewise.
18350 (_G_MMAP64): Likewise.
18351 (_G_FSTAT64): Likewise.
18352 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18353 unconditional. Call __mmap64 directly.
18354 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18355 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18356 __lseek64 directly.
18357 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18358 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18359 __mmap64 directly.
18360 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18361 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18362 __lseek64 directly.
18363 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18364 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18365 __lseek64 directly.
18366 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18367 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18368 __lseek64 directly.
18369 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18370 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18371 __fxstat64 directly.
18372 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18373 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18374 unconditional.
18375 (freopen64) [!_G_OPEN64]: Remove conditional code.
18376 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18377 unconditional.
18378 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18379 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18380 unconditional.
18381 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18382 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18383 unconditional.
18384 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18385 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18386 unconditional.
18387 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18388 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18389 unconditional.
18390 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18391 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18392 unconditional.
18393 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18394 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18395 unconditional.
18396 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18397
18398 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18399
18400 [BZ #12140]
18401 * manual/memory.texi (Malloc Tunable Parameters): Add note
18402 about free list pointers overwriting some perturb bytes.
18403 Wording suggested by Roland McGrath.
18404
18405 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18406
18407 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18408 (lgamma_test): Likewise.
18409 (tgamma_test): Likewise.
18410
18411 2012-10-16 Florian Weimer <fweimer@redhat.com>
18412
18413 [BZ #14700]
18414 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18415 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18416
18417 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18418
18419 * NEWS: Mention BZ #14716.
18420 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18421 when removing AVAILABLE1_USES_J macro.
18422
18423 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18424
18425 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18426 (__bswap_64): __uint64_t for unsigned 64-bit int.
18427
18428 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18429
18430 * include/string.h (memmem): Declare libc hidden alias.
18431 * string/memmem.c (memmem): Define libc hidden alias.
18432 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18433 __read, __close instead of open, read, close.
18434
18435 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18436
18437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18438 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18439 global and hidden.
18440 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18441 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18442 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18443 Likewise.
18444 (__rawmemchr_sse2): Likewise.
18445 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18446 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18447 (__strchr_sse2): Likewise.
18448 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18449 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18450 (__strcasecmp_sse2): Likewise.
18451 (__strncasecmp_sse2): Likewise.
18452 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18453 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18454 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18455 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18456 (__strrchr_sse2): Likewise.
18457 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18458 ifunc-impl-list.c.
18459 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18460 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18461 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18462 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18463 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18464 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18465 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18466 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18467 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18468 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18469 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18470 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18471 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18472 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18473 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18474 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18475 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18476 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18477 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18478 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18479 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18480 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18481 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18482 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18483 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18485 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18486 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18487 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18488 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18489
18490 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18491 global and hidden.
18492 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18493 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18494 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18495 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18496 Likewise.
18497 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18498 Likewise.
18499 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18500 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18501 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18502 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18503 ifunc-impl-list.c.
18504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18510 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18513 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18514 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18522 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18526 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18545
18546 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18547 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18548 * include/ifunc-impl-list.h: New file.
18549 * misc/ifunc-impl-list.c: Likewise.
18550 * misc/Makefile (routines): Add ifunc-impl-list.
18551 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18552 * string/test-string.h: Include <ifunc-impl-list.h>.
18553 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18554 impl_array): New variables.
18555 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18556 are defined.
18557 (test_init): Call __libc_ifunc_impl_list to initialize
18558 func_list if TEST_IFUNC and TEST_NAME are defined.
18559
18560 * string/Makefile (strop-tests): Add bcopy and bzero.
18561 * string/test-bcopy.c: New file.
18562 * string/test-bzero.c: Likewise.
18563 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18564 defined.
18565 * string/test-memset.c: Support bzero test if TEST_BZERO is
18566 defined.
18567 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18568 __libc_memmove.
18569 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18570 __libc_memset.
18571 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18572 of memset.
18573
18574 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18575
18576 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18577 * configure: Regenerated.
18578
18579 * Makeconfig (+link-static-before-libc): Don't include
18580 $(link-static-libc).
18581
18582 * libio/libio.h (_IO_pos_t): Remove.
18583
18584 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18585
18586 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18587 McGrath.
18588
18589 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18590
18591 * crypt/crypt-entry.c: Include fips-private.h.
18592 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18593 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18594 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18595 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18596
18597 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18598
18599 * crypt/crypt-private.h: Include stdbool.h.
18600 (_ufc_setup_salt_r): Return bool.
18601 * crypt/crypt-entry.c: Include errno.h.
18602 (__crypt_r): Return NULL with EINVAL for bad salt.
18603 * crypt/crypt_util.c (bad_for_salt): New.
18604 (_ufc_setup_salt_r): Check that salt is long enough and within
18605 the specified alphabet.
18606 * crypt/badsalttest.c: New file.
18607 * crypt/Makefile (tests): Add it.
18608 ($(objpfx)badsalttest): New.
18609
18610 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18611
18612 * NEWS: Add entry for BZ #14602.
18613
18614 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18615
18616 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18617 type-generic.
18618 * math/libm-test.inc: Update comment listing what functions and
18619 macros are tested.
18620 (isgreater_test): New function.
18621 (isgreaterequal_test): Likewise.
18622 (isless_test): Likewise.
18623 (islessequal_test): Likewise.
18624 (islessgreater_test): Likewise.
18625 (isunordered_test): Likewise.
18626 (main): Call the new functions.
18627
18628 2012-10-09 Roland McGrath <roland@hack.frob.com>
18629
18630 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18631 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18632 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18633 * sysdeps/i386/configure: Regenerated.
18634 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18635 * sysdeps/mach/configure: Regenerated.
18636 * sysdeps/mach/hurd/configure: Regenerated.
18637 * sysdeps/powerpc/configure: Regenerated.
18638 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18639 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18640 * sysdeps/s390/s390-32/configure: Regenerated.
18641 * sysdeps/s390/s390-64/configure: Regenerated.
18642 * sysdeps/sh/configure: Regenerated.
18643 * sysdeps/sparc/configure: Regenerated.
18644 * sysdeps/unix/sysv/linux/configure: Regenerated.
18645 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18646 * sysdeps/x86_64/configure: Regenerated.
18647
18648 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18649 defined. Don't check if MAP is NULL.
18650
18651 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18652
18653 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18654 (_G_stat64): Likewise.
18655 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18656 (_G_stat64): Likewise.
18657 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18658 instead of struct _G_stat64.
18659 * libio/fileops.c (mmap_remap_check): Likewise.
18660 (decide_maybe_mmap): Likewise.
18661 (_IO_new_file_seekoff): Likewise.
18662 (_IO_file_stat): Likewise.
18663 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18664 _G_off64_t.
18665 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18666 instead of struct _G_stat64.
18667 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18668
18669 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18670
18671 [BZ #14602]
18672 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18673 Replace with ...
18674 (CHECK_EOL): New macro.
18675 (two_way_short_needle): Check beginning of haystack for EOL. Use
18676 CHECK_EOL.
18677 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18678 Replace with CHECK_EOL.
18679 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18680 Replace with CHECK_EOL.
18681
18682 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18683
18684 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18685 type-generic.
18686 * math/libm-test.inc: Update comment listing what functions and
18687 macros are tested.
18688 (finite_test): New function.
18689 (isinf_test): Likewise.
18690 (isnan_test): Likewise.
18691 (fpclassify_test): Test subnormal input.
18692 (isfinite_test): Likewise.
18693 (isnormal_test): Likewise.
18694 (main): Call the new functions.
18695
18696 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18697
18698 [BZ #14660]
18699 * Makerules (%.dynsym): Force C locale when running
18700 $(OBJDUMP) --dynamic-syms.
18701
18702 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18703
18704 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18705 <stdint.h>.
18706
18707 2012-10-06 David S. Miller <davem@davemloft.net>
18708
18709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18710 upper 32-bits of the length value in %o2 since we use branch-on-register
18711 tests which consider the entire 64-bit register.
18712
18713 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18714
18715 * string/test-strstr.c (check2): Add a test for page boundary.
18716
18717 2012-10-05 David S. Miller <davem@davemloft.net>
18718
18719 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18721 file.
18722 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18723 sysdep_routines.
18724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18725 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18726 and bzero when HWCAP_SPARC_CRYPTO is present.
18727
18728 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18729
18730 [BZ #14602]
18731 * string/test-strstr.c (check2): New function.
18732 (test_main): Call check2.
18733
18734 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18735 and bug-strchr1.
18736 * string/bug-strcasestr1.c (do_test): Moved to ...
18737 * string/test-strcasestr.c (check1): Here. New function.
18738 (do_one_test): Break out result checking code into ...
18739 (check_result): This. New function.
18740 (do_one_test): Call check_result.
18741 (test_main): Call check1.
18742 * string/bug-strchr1.c (do_test): Moved to ...
18743 * string/test-strchr.c (check1): Here. New function.
18744 (do_one_test): Break out result checking code into ...
18745 (check_result): This. New function.
18746 (do_one_test): Call check_result.
18747 (test_main): Call check1.
18748 * string/bug-strstr1.c (main): Moved to ...
18749 * string/test-strstr.c (check1): Here. New function.
18750 (do_one_test): Break out result checking code into ...
18751 (check_result): This. New function.
18752 (do_one_test): Call check_result.
18753 (test_main): Call check1.
18754 * string/bug-strcasestr1.c: Removed.
18755 * string/bug-strchr1.c: Likewise.
18756 * string/bug-strstr1.c: Likewise.
18757
18758 * elf/Makefile (dl-routines): Add hwcaps.
18759 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18760 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18761 (_dl_important_hwcaps): Moved to ...
18762 * elf/dl-hwcaps.c: Here. New file.
18763 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18764
18765 [BZ #14557]
18766 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18767 if IS_IN_rtld isn't defined.
18768
18769 * elf/dl-support.c (_dl_sysinfo_map): New.
18770 Include "get-dynamic-info.h" and "setup-vdso.h".
18771 (_dl_non_dynamic_init): Call setup_vdso.
18772 * elf/dynamic-link.h: Don't include <assert.h>.
18773 (elf_get_dynamic_info): Moved to ...
18774 * elf/get-dynamic-info.h: Here. New file.
18775 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18776 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18777 * elf/setup-vdso.h: Here. New file.
18778 * elf/rtld.c: Include "setup-vdso.h".
18779 (dl_main): Call setup_vdso.
18780
18781 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18782
18783 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18784 creal in comment listing functions tested. List finite, isinf,
18785 isnan, isless, islessequal, isgreater, isgreaterequal,
18786 islessgreater, isunordered, lgamma_r and pow10 as functions and
18787 macros not tested. Mention which functions not tested are aliases
18788 for other functions. Fix typo. Note that signs of NaNs are not
18789 tested.
18790
18791 * scripts/config.guess: Update from config.git.
18792 * scripts/config.sub: Likewise.
18793
18794 2012-10-04 Roland McGrath <roland@hack.frob.com>
18795
18796 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18797 * misc/madvise.c (madvise): Renamed to __madvise.
18798 Make madvise a weak alias.
18799 * include/sys/mman.h: Declare __madvise.
18800 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18801 * sysdeps/unix/syscalls.list
18802 (madvise): Make __madvise the strong name, and madvise a weak alias.
18803 * sysdeps/unix/sysv/linux/syscalls.list
18804 (madvise, mmap): Remove redundant entries.
18805 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18806 * malloc/malloc.c (mtrim): Likewise.
18807 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18808
18809 2012-10-03 Roland McGrath <roland@hack.frob.com>
18810
18811 * sysdeps/mach/hurd/dl-cache.c: File removed.
18812 * config.h.in (USE_LDCONFIG): New #undef.
18813 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18814 * configure: Regenerated.
18815 * elf/Makefile (dl-routines): Add dl-cache only under
18816 [$(use-ldconfig) = yes].
18817 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18818 cache on [USE_LDCONFIG].
18819 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18820 [USE_LDCONFIG].
18821 * elf/rtld.c (dl_main): Likewise.
18822
18823 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18824
18825 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18826 _SC_LEVEL4_CACHE_LINESIZE.
18827
18828 2012-10-03 Roland McGrath <roland@hack.frob.com>
18829
18830 * sysdeps/unix/bsd/confstr.h: File removed.
18831
18832 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18833
18834 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18835 sys/sdt-config.h.
18836
18837 2012-10-02 Roland McGrath <roland@hack.frob.com>
18838
18839 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18840 Make 'mapoff' field ElfW(Off) rather than off_t.
18841
18842 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18843
18844 * nscd/Makefile: Remove nscd-cflags and all its users.
18845 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18846 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18847
18848 [BZ #10631]
18849 * malloc.c (malloc_printerr): Clarify error message.
18850
18851 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18852
18853 [BZ #14648]
18854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18855 Set bit_FMA_Usable if FMA is supported.
18856 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18857 macro.
18858 (bit_FMA4_Usable): Updated.
18859 (index_FMA_Usable): New macro.
18860 (CPUID_FMA): Likewise
18861 (HAS_FMA): Defined with bit_FMA_Usable.
18862
18863 2012-10-01 Roland McGrath <roland@hack.frob.com>
18864
18865 * bits/types.h (__swblk_t): Type removed.
18866 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18867 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18869 (__SWBLK_T_TYPE): Likewise.
18870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18871 (__SWBLK_T_TYPE): Likewise.
18872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18873 (__SWBLK_T_TYPE): Likewise.
18874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18875 (__SWBLK_T_TYPE): Likewise.
18876
18877 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18878 Honza Horak <hhorak@redhat.com>
18879
18880 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18881 (xdr_mapname): Use YPMAXMAP as maxsize.
18882 (xdr_peername): Use YPMAXPEER as maxsize.
18883 (xdr_keydat): Use YPAXRECORD as maxsize.
18884 (xdr_valdat): Use YPMAXRECORD as maxsize.
18885
18886 2012-10-01 Roland McGrath <roland@hack.frob.com>
18887
18888 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18889
18890 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18891 * csu/init-first.c: ... here.
18892 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18893 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18894 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18895 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18896 * sysdeps/i386/init-first.c: File removed.
18897 * sysdeps/sh/init-first.c: File removed.
18898
18899 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18900
18901 [BZ #14645]
18902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18903 if x * y might underflow to zero and z is zero.
18904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18906 * math/libm-test.inc (min_subnorm_value): New variable.
18907 (fma_test): Add more tests.
18908 (fma_test_towardzero): Likewise.
18909 (fma_test_downward): Likewise
18910 (fma_test_upward): Likewise.
18911 (initialize): Set min_subnorm_value.
18912
18913 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18914
18915 [BZ #14638]
18916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18917 0 + 0.
18918 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18919 mode for addition resulting in exact zero.
18920 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18922 exact 0 + 0.
18923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18925 * math/libm-test.inc (fma_test): Add more tests.
18926 (fma_test_towardzero): New function.
18927 (fma_test_downward): Likewise.
18928 (fma_test_upward): Likewise.
18929 (main): Call the new functions.
18930
18931 2012-09-28 David S. Miller <davem@davemloft.net>
18932
18933 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18934
18935 2012-09-28 Roland McGrath <roland@hack.frob.com>
18936
18937 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18938 instead of SIGALRM.
18939
18940 * sysdeps/gnu/_G_config.h: Moved to ...
18941 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18942 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18943 * sysdeps/generic/_G_config.h: ... here.
18944
18945 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18946
18947 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18948
18949 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18950 Conditionalize target on [libnss_test1.so-version].
18951
18952 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18953
18954 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18955 (elfobjdir): Move out of conditionals.
18956
18957 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18958 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18959 (__nss_lookup_function): Conditionalize label remove_from_tree on
18960 [!DO_STATIC_NSS || SHARED], matching its only use.
18961
18962 2012-09-28 David S. Miller <davem@davemloft.net>
18963
18964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18965 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18966 file.
18967 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18968 sysdep_routines.
18969 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18971 when HWCAP_SPARC_CRYPTO is present.
18972
18973 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18974
18975 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18976
18977 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18978
18979 [BZ #6530]
18980 * stdio-common/vfprintf.c (process_string_arg): Revert
18981 2000-07-22 change.
18982
18983 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18984
18985 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18986 for testcase.
18987 * stdio-common/tst-sprintf.c: Include <locale.h>
18988 (main): Test sprintf's handling of incomplete multibyte
18989 characters.
18990
18991 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18992
18993 * elf/dl-runtime.c (VERSYMIDX): Removed.
18994 * elf/dl-version.c (VERSYMIDX): Likewise.
18995 * elf/do-rel.h (VERSYMIDX): Likewise.
18996 (VALIDX): Likewise.
18997 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18998 * elf/rtld.c (VALIDX): Likewise.
18999 (ADDRIDX): Likewise.
19000 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19001 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19002 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19003 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19004 (VALIDX): Likewise.
19005 (ADDRIDX): Likewise.
19006
19007 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19008
19009 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19010
19011 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19012
19013 [BZ #11438]
19014 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19015 to global scope.
19016 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19017 addresses are in the same scope as 192.0.2/24.
19018 * posix/gai.conf: Document new scope table defaults.
19019
19020 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19021
19022 [BZ #5298]
19023 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19024 for ftell. Compute offsets from write pointers instead.
19025 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19026
19027 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19028
19029 [BZ #14543]
19030 * libio/Makefile (tests): New test case tst-fseek.
19031 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19032 combination works in wide mode.
19033 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19034 state when the external buffer state changes.
19035
19036 2012-09-27 David S. Miller <davem@davemloft.net>
19037
19038 [BZ #14376]
19039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19040 pass reloc->r_addend in as the 'high' argument to
19041 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19042
19043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19044
19045 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19046
19047 * rt/tst-aio2.c: Include <pthread.h>.
19048 * rt/tst-aio3.c: Likewise.
19049
19050 2012-09-27 Steve Ellcey <sellcey@mips.com>
19051
19052 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19053
19054 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19055
19056 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19057 contents on [SHARED].
19058
19059 2012-09-26 Marek Polacek <polacek@redhat.com>
19060
19061 [BZ #14530]
19062 [BZ #13741]
19063 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19064 for C++ and GCC <4.3 as well as for non GCC compilers.
19065
19066 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19067
19068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19069
19070 2012-09-25 Roland McGrath <roland@hack.frob.com>
19071
19072 * Makefile.in (all, install): Declare with .PHONY.
19073 Reported by Michael Hope <michael.hope@linaro.org>.
19074
19075 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19076
19077 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19078 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19079 system header.
19080 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19081 Likewise.
19082 (sydep_routines): Add the new and the internal functions.
19083 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19084 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19086 (GLIBC_2.17): Add the new function.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19088 (GLIBC_2.17): Likewise.
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19090 (GLIBC_2.17): Likewise.
19091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19092 (GLIBC_2.17): Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19094
19095 2012-09-25 Alan Modra <amodra@gmail.com>
19096
19097 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19098 Add release barrier before setting once_control to say
19099 initialisation is done. Add hints on lwarx. Use macro in
19100 place of isync.
19101 (clear_once_control): Add release barrier.
19102
19103 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19104
19105 [BZ #13629]
19106 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19107 specially.
19108 * math/s_clog10.c (__clog10): Likewise.
19109 * math/s_clog10f.c (__clog10f): Likewise.
19110 * math/s_clog10l.c (__clog10l): Likewise.
19111 * math/s_clogf.c (__clogf): Likewise.
19112 * math/s_clogl.c (__clogl): Likewise.
19113 * math/Makefile (libm-calls): Add x2y2m1.
19114 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19115 (__x2y2m1): Likewise.
19116 (__x2y2m1l): Likewise.
19117 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19118 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19121 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19122 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19123 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19124 * sysdeps/i386/fpu/libm-test-ulps: Update.
19125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19126
19127 [BZ #14621]
19128 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19129 int as type of variable DEPTH.
19130 (glob): Use size_t instead of int as type of variables NEWCOUNT
19131 and OLD_PATHC.
19132
19133 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19134
19135 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19136 Add s_sincosf-sse2.
19137 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19138 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19139 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19140 macros for using routine as __sincosf_ia32.
19141 Use macro for function declaration and weak_alias.
19142 * sysdeps/i386/fpu/libm-test-ulps: Update.
19143
19144 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19146
19147 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19148 subnormal argument.
19149 * math/s_cexpf.c (__cexpf): Likewise.
19150 * math/s_csinf.c (__csinf): Likewise.
19151 * math/s_csinhf.c (__csinhf): Likewise.
19152 * math/s_ctanf.c (__ctanf): Likewise.
19153 * math/s_ctanhf.c (__ctanhf): Likewise.
19154 * math/s_ccosh.c (__ccoshf): Likewise.
19155 * math/s_cexp.c (__cexpl): Likewise.
19156 * math/s_csin.c (__csin): Likewise.
19157 * math/s_csinh.c (__csinh): Likewise.
19158 * math/s_ctan.c (__ctan): Likewise.
19159 * math/s_ctanh.c (ctanh): Likewise.
19160 * math/s_ccoshl.c (__ccoshl): Likewise.
19161 * math/s_cexpl.c (__cexpl): Likewise.
19162 * math/s_csinl.c (__csinl): Likewise.
19163 * math/s_csinhl.c (__csinhl): Likewise.
19164 * math/s_ctanl.c (__ctanl): Likewise.
19165 * math/s_ctanhl.c (__ctanhl): Likewise.
19166
19167 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19168
19169 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19170 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19171 (_IO_off_t): Define to __off_t, not _G_off_t.
19172 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19173 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19174 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19175 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19176 type of __dummy and __dummy2 fields.
19177 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19178 (_G_ssize_t): Likewise.
19179 (_G_off_t): Likewise.
19180 (_G_pid_t): Likewise.
19181 (_G_uid_t): Likewise.
19182 (_G_wchar_t): Likewise.
19183 (_G_wint_t): Likewise.
19184 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19185 (_G_ssize_t): Likewise.
19186 (_G_off_t): Likewise.
19187 (_G_pid_t): Likewise.
19188 (_G_uid_t): Likewise.
19189 (_G_wchar_t): Likewise.
19190 (_G_wint_t): Likewise.
19191 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19192 (_G_ssize_t): Likewise.
19193 (_G_off_t): Likewise.
19194 (_G_pid_t): Likewise.
19195 (_G_uid_t): Likewise.
19196 (_G_wchar_t): Likewise.
19197 (_G_wint_t): Likewise.
19198
19199 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19200
19201 * malloc/arena.c: Include malloc-sysdep.h.
19202 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19203 is sufficient to shrink the heap or an unmap is needed.
19204 * sysdeps/generic/malloc-sysdep.h: New file. Define
19205 new function check_may_shrink_heap.
19206 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19207 new function check_may_shrink_heap.
19208
19209 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19210
19211 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19212 comments.
19213
19214 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19215
19216 * catgets/test-gencat.sh: Add "set -e".
19217 * elf/tst-pathopt.sh: Likewise.
19218 * grp/tst_fgetgrent.sh: Likewise.
19219 * iconvdata/run-iconv-test.sh: Likewise.
19220 * intl/tst-gettext.sh: Likewise.
19221 * intl/tst-gettext2.sh: Likewise.
19222 * intl/tst-gettext4.sh: Likewise.
19223 * intl/tst-gettext6.sh: Likewise.
19224 * intl/tst-translit.sh: Likewise.
19225 * io/ftwtest-sh: Likewise.
19226 * libio/test-freopen.sh: Likewise.
19227 * malloc/tst-mtrace.sh: Likewise.
19228 * posix/globtest.sh: Likewise.
19229 * posix/tst-getconf.sh: Likewise.
19230 * posix/wordexp-tst.sh: Likewise.
19231 * stdio-common/tst-printf.sh: Likewise.
19232 * stdio-common/tst-unbputc.sh: Likewise.
19233 * stdlib/tst-fmtmsg.sh: Likewise.
19234 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19235 * catgets/Makefile: Do not specify -e option when running
19236 testsuite shell scripts.
19237 * elf/Makefile: Likewise.
19238 * grp/Makefile: Likewise.
19239 * iconvdata/Makefile: Likewise.
19240 * intl/Makefile: Likewise.
19241 * io/Makefile: Likewise.
19242 * libio/Makefile: Likewise.
19243 * malloc/Makefile: Likewise.
19244 * posix/Makefile: Likewise.
19245 * stdio-common/Makefile: Likewise.
19246 * stdlib/Makefile: Likewise.
19247 * sysdeps/x86_64/Makefile: Likewise.
19248
19249 * io/ftwtest-sh: Add copyright header.
19250 * posix/globtest.sh: Likewise.
19251 * posix/tst-getconf.sh: Likewise.
19252 * posix/wordexp-tst.sh: Likewise.
19253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19254
19255 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19256
19257 [BZ #13679]
19258 * Makeconfig (+link): Defined as $(+link-static) if
19259 $(build-shared) isn't yes.
19260 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19261 isn't yes.
19262 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19263
19264 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19265
19266 [BZ #14562]
19267 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19268 new chunk size with MALLOC_ALIGN_MASK.
19269
19270 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19271
19272 [BZ #5044]
19273 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19274 <rounding-mode.h>.
19275 (__printf_fphex): Determine rounding using get_rounding_mode and
19276 round_away.
19277 * stdio-common/tst-printf-round.c (struct hex_test): New
19278 structure.
19279 (hex_tests): New variable.
19280 (test_hex_in_one_mode): New function.
19281 (do_test): Also run tests for hex float output.
19282
19283 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19284
19285 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19286 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19287 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19288 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19289 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19290 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19291 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19292 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19293
19294 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19295
19296 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19297 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19298 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19299 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19300
19301 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19302
19303 [BZ #14579]
19304 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19305 mode only.
19306 * elf/tst-rtld-load-self.sh: New test.
19307 * elf/Makefile: Run it.
19308
19309 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19310
19311 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19312 (tst-writev-ENV): Remove.
19313 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19314
19315 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19316
19317 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19318
19319 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19320
19321 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19322 unconditional.
19323 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19324 Likewise.
19325 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19326 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19328 Likewise.
19329
19330 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19331
19332 [BZ #14587]
19333 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19334 * config.make.in (have-cpp-asm-debuginfo): Removed.
19335 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19336 * configure: Regenerated.
19337
19338 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19339
19340 [BZ #5044]
19341 * stdio-common/printf_fp.c: Include <stdbool.h> and
19342 <rounding-mode.h>.
19343 (___printf_fp): Determine rounding using get_rounding_mode and
19344 round_away.
19345 * stdio-common/tst-printf-round.c: New file.
19346 * stdio-common/Makefile (tests): Add tst-printf-round.
19347 (link-libm): New variable.
19348 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19349
19350 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19351
19352 [BZ #14576]
19353 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19354 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19355 Likewise.
19356 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19357 Likewise.
19358
19359 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19360
19361 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19362 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19363 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19365
19366 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19367
19368 [BZ #14518]
19369 * include/rounding-mode.h: New file.
19370 * sysdeps/generic/get-rounding-mode.h: Likewise.
19371 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19372 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19373 (MAX_VALUE): New macro.
19374 (MIN_VALUE): Likewise.
19375 (overflow_value): New function.
19376 (underflow_value): Likewise.
19377 (round_and_return): Use overflow_value and underflow_value to
19378 determine return values in overflow and underflow cases. Use
19379 round_away to determine rounding depending on rounding mode.
19380 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19381 determine return values in overflow and underflow cases.
19382 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19383 (struct test_results): New structure.
19384 (struct test): Use struct test_results to store expected results
19385 for all rounding modes.
19386 (TEST): Include expected results for all rounding modes.
19387 (test_in_one_mode): New function.
19388 (do_test): Use test_in_one_mode to compute and check results.
19389 Check results for all rounding modes.
19390 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19391 $(link-libm).
19392
19393 2012-12-09 Allan McRae <allan@archlinux.org>
19394
19395 * sysdeps/i386/fpu/libm-test-ulps: Update
19396
19397 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19398
19399 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19400 (_G_int32_t): Likewise.
19401 (_G_uint16_t): Likewise.
19402 (_G_uint32_t): Likewise.
19403 (_G_HAVE_BOOL): Likewise.
19404 (_G_HAVE_ATEXIT): Likewise.
19405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19406 (_G_HAVE_IO_FILE_OPEN): Likewise.
19407 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19408 (_G_int32_t): Likewise.
19409 (_G_uint16_t): Likewise.
19410 (_G_uint32_t): Likewise.
19411 (_G_HAVE_BOOL): Likewise.
19412 (_G_HAVE_ATEXIT): Likewise.
19413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19414 (_G_HAVE_IO_FILE_OPEN): Likewise.
19415 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19416 (_G_int32_t): Likewise.
19417 (_G_uint16_t): Likewise.
19418 (_G_uint32_t): Likewise.
19419 (_G_HAVE_BOOL): Likewise.
19420 (_G_HAVE_ATEXIT): Likewise.
19421 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19422 (_G_HAVE_IO_FILE_OPEN): Likewise.
19423
19424 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19425
19426 * csu/libc-tls.c: Update copyright years.
19427
19428 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19429
19430 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19431 [!_G_USING_THUNKS]: Remove conditional code.
19432 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19433 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19434
19435 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19436 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19437 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19438 (_G_VTABLE_LABEL_PREFIX): Likewise.
19439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19440 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19441 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19442 (_G_VTABLE_LABEL_PREFIX): Likewise.
19443 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19444 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19445 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19446 (_G_VTABLE_LABEL_PREFIX): Likewise.
19447 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19448
19449 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19450
19451 * libio/Makefile: Include ../Makeconfig before tests.
19452 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19453 only if $(build-shared) is yes.
19454
19455 * iconv/gconv_db.c: Update copyright years.
19456
19457 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19458
19459 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19460 unwind info if defined PIC. Fix special cases description.
19461 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19462
19463 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19464 DP_HI_MASK entry.
19465 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19466
19467 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19468
19469 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19470
19471 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19472 is NULL.
19473
19474 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19475 (LDLIBS-tst-chk4): This.
19476 (LDFLAGS-tst-chk5): Renamed to ...
19477 (LDLIBS-tst-chk5): This.
19478 (LDFLAGS-tst-chk6): Renamed to ...
19479 (LDLIBS-tst-chk6): This.
19480 (LDFLAGS-tst-lfschk4): Renamed to ...
19481 (LDLIBS-tst-lfschk4): This.
19482 (LDFLAGS-tst-lfschk5): Renamed to ...
19483 (LDLIBS-tst-lfschk5): This.
19484 (LDFLAGS-tst-lfschk6): Renamed to ...
19485 (LDLIBS-tst-lfschk6): This.
19486
19487 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19488 on $(common-objpfx)soversions.mk.
19489
19490 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19491
19492 [BZ #10014]
19493 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19494 example host name.
19495
19496 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19497
19498 * malloc/arena.c (arena_get_retry): New function that gets
19499 another arena for the caller to try its request on.
19500 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19501 current arena cannot fulfill the request.
19502 (__libc_memalign): Likewise.
19503 (__libc_memalign): Likewise.
19504 (__libc_pvalloc): Likewise.
19505 (__libc_calloc): Likewise.
19506
19507 2012-09-05 John Tobey <john.tobey@gmail.com>
19508
19509 [BZ #13542]
19510 * manual/arith.texi (Operations on Complex): Fix description
19511 of carg branch cut.
19512
19513 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19514
19515 [BZ #10014]
19516 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19517 host name.
19518
19519 [BZ #10038]
19520 * manual/memory.texi (Memory): Make order of menu items match
19521 order of sections.
19522
19523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19524
19525 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19526 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19527 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19528
19529 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19530
19531 * csu/libc-tls.c (static_dtv): Renamed to ...
19532 (_dl_static_dtv): This. Make it global.
19533 (_dl_initial_dtv): Removed.
19534 (__libc_setup_tls): Updated.
19535 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19536 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19537 DL_INITIAL_DTV.
19538
19539 2012-09-06 Petr Machata <pmachata@redhat.com>
19540
19541 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19542 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19543 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19544 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19545
19546 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19547
19548 [BZ #14545]
19549 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19550 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19551 freeing dtv[-1].
19552
19553 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19554
19555 [BZ #14544]
19556 * Makeconfig (link-static-before-libc): Replace $(+prector)
19557 with $(+prectorT).
19558 (link-static-after-libc): Replace $(+postctor) with
19559 $(+postctorT).
19560 (link-bounded): Replace $(+prector)/$(+postctor) with
19561 $(+prectorT)/$(+postctorT).
19562 (+prectorT): New macro.
19563 (+postctorT): Likewise.
19564
19565 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19566
19567 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19568 (round_str): Handle values above the maximum for IBM long double
19569 as inexact.
19570 * stdlib/tst-strtod-round.c (tests): Regenerated.
19571
19572 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19573
19574 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19575 assembler flag.
19576 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19577 zarch_nohighgprs around the zarch optimized routines.
19578 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19579 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19581 for zarch.
19582
19583 2012-09-05 David S. Miller <davem@davemloft.net>
19584
19585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19586
19587 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19588 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19589 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19590 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19591 entries.
19592
19593 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19594
19595 * malloc/arena.c: Fold copyright years.
19596 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19597
19598 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19599
19600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19601
19602 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19603
19604 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19605
19606 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19607
19608 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19609 change internal state upon failure.
19610
19611 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19612
19613 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19614 * malloc/memusage.c (mmap): Likewise.
19615 (mmap64, mremap): Likewise. Adjust name in comment.
19616
19617 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19618
19619 * libio/fileops.c: Fix typos in comments.
19620 * libio/oldfileops.c: Likewise.
19621 * libio/wfileops.c: Likewise.
19622
19623 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19624
19625 [BZ #1349]
19626 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19627 (tst-malloc-usable-ENV): Set environment for test case.
19628 * malloc/hooks.c (malloc_check_get_size): New function to get
19629 requested size.
19630 * malloc/malloc.c (musable): Use malloc_check_get_size.
19631 * malloc/tst-malloc-usable.c: New test case.
19632
19633 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19634
19635 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19636
19637 2012-09-05 Allan McRae <allan@archlinux.org>
19638
19639 [BZ #13966]
19640 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19641 determine header location.
19642 * configure: Regenerated.
19643
19644 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19645
19646 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19647 float format.
19648 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19649 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19650 format.
19651 (test): Regenerate.
19652
19653 2012-09-04 David S. Miller <davem@davemloft.net>
19654
19655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19657 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19658
19659 2012-09-04 Florian Weimer <fweimer@redhat.com>
19660
19661 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19662 failures.
19663
19664 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19665
19666 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19667
19668 [BZ #9914]
19669 * libio/iogetdelim.c: Include <limits.h>.
19670 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19671 + len + 1 would overflow.
19672
19673 2012-09-03 Andreas Jaeger <aj@suse.de>
19674
19675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19676 * sysdeps/i386/fpu/libm-test-ulps: Update.
19677
19678 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19679
19680 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19681 Add s_sinf-sse2, s_conf-sse2.
19682
19683 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19684 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19685 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19686 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19687
19688 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19689 for using routine as __sinf_ia32.
19690 Use macro for function declaration and weak_alias.
19691 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19692 for using routine as __cosf_ia32.
19693 Use macro for function declaration and weak_alias.
19694
19695 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19696 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19697
19698 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19699 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19701
19702 * math/libm-test.inc (cos_test): Add more test cases.
19703 (sin_test): Likewise.
19704 (sincos_test): Likewise.
19705
19706 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19707
19708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19709 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19710 hidden.
19711 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19712
19713 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19714
19715 [BZ #14538]
19716 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19717 first element of the GOT.
19718 (elf_machine_load_address): Return the difference between
19719 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19720
19721 2012-09-01 Allan McRae <allan@archlinux.org>
19722
19723 [BZ #13412]
19724 * configure.in (AWK): Require gawk version 3.0 or later.
19725 * configure: Regenerated.
19726
19727 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19728
19729 * sysdeps/unix/sysv/linux/kernel-features.h
19730 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19732 [__NR_clock_getres]: Make code unconditional.
19733 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19734 (clock_getcpuclockid): Remove code left unreachable by removal of
19735 conditionals.
19736 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19737 code unconditional.
19738 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19739 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19740 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19741 Make code unconditional.
19742 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19743 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19744 * sysdeps/unix/sysv/linux/clock_settime.c
19745 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19746 conditional code.
19747 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19748 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19749
19750 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 [BZ #14476]
19753 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19754 scripts/test-installation.pl.
19755
19756 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19757 and $ld_so_version if it is set.
19758
19759 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19760
19761 [BZ #14516]
19762 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19763 failure if reading from procfs failed.
19764 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19765
19766 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19767
19768 * sysdeps/unix/sysv/linux/kernel-features.h
19769 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19770 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19771 Remove conditional code.
19772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19773 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19774 Remove conditional code.
19775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19776 * sysdeps/unix/sysv/linux/i386/fxstat.c
19777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19779 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19780 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19782 * sysdeps/unix/sysv/linux/i386/lxstat.c
19783 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19785 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19786 Remove conditional code.
19787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19788 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19789 Remove conditional code.
19790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19791 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19792 <kernel-features.h>.
19793 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19794 Remove.
19795 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19796 Remove conditional code.
19797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19798 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19799 Remove conditional.
19800
19801 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19802
19803 [BZ #5400]
19804 * NEWS: Add fixed bug number.
19805
19806 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19807
19808 [BZ #14519]
19809 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19810 underflowing exponent in case of negative sign.
19811 * stdlib/tst-strtod-round-data: Add more tests.
19812 * stdlib/tst-strtod-round.c (tests): Regenerated.
19813
19814 [BZ #3479]
19815 * stdlib/strtod_l.c (NDIG): Remove.
19816 (HEXNDIG): Likewise.
19817 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19818 smallest representable value.
19819 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19820 lie within an exact representation of 1/2 ulp of the result.
19821 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19822 unconditionally.
19823 (TENS_P9_IDX): Define unconditionally.
19824 (TENS_P9_SIZE): Likewise.
19825 (TENS_P10_IDX): Likewise.
19826 (TENS_P10_SIZE): Likewise.
19827 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19828 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19829 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19830 entries for 10^2^13 and 10^2^14.
19831 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19832 (TENS_P13_IDX): Define.
19833 (TENS_P13_SIZE): Likewise.
19834 (TENS_P14_IDX): Likewise.
19835 (TENS_P14_SIZE): Likewise.
19836 (_fpioconst_pow10): Change array size to
19837 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19838 unconditional.
19839 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19840 1024]: Add entries for 10^2^13 and 10^2^14.
19841 [LAST_POW10 > _LAST_POW10]: Remove #error.
19842 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19843 (_fpioconst_pow10): Change array size to
19844 FPIOCONST_POW10_ARRAY_SIZE.
19845 * stdlib/gen-fpioconst.c: New file.
19846 * stdlib/gen-tst-strtod-round.c: Likewise.
19847 * stdlib/tst-strtod-round-data: Likewise.
19848 * stdlib/tst-strtod-round.c: Likewise.
19849 * stdlib/Makefile (tests): Add tst-strtod-round.
19850
19851 [BZ #14459]
19852 * stdlib/strtod_l.c: Include <stdint.h>.
19853 (NDEBUG): Do not define.
19854 (round_and_return): Change EXPONENT parameter to type intmax_t.
19855 Rearrange calculations to avoid internal overflow possibilities.
19856 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19857 Rearrange calculations to avoid internal overflow possibilities.
19858 Assert that number fits inside MPNSIZE limbs.
19859 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19860 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19861 calculations and add assertions to avoid internal overflow
19862 possibilities. Add casts to avoid signed/unsigned operations.
19863 * stdlib/tst-strtod-overflow.c: New file.
19864 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19865
19866 2012-08-25 Marek Polacek <polacek@redhat.com>
19867
19868 * time/time.h: Fix some typos in comments.
19869
19870 2012-08-23 Roland McGrath <roland@hack.frob.com>
19871
19872 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19873 * posix/tst-rfc3484-2.c: Likewise.
19874 * posix/tst-rfc3484-3.c: Likewise.
19875
19876 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19877
19878 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19879 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19880
19881 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19882
19883 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19884 #include of fxstatat64.c.
19885
19886 2012-08-22 Roland McGrath <roland@hack.frob.com>
19887
19888 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19889 * shadow/getspent_r.c: Likewise.
19890 * shadow/getspnam.c: Likewise.
19891 * shadow/getspnam_r.c: Likewise.
19892 * gshadow/getsgent.c: Likewise.
19893 * gshadow/getsgent_r.c: Likewise.
19894 * gshadow/getsgnam.c: Likewise.
19895 * gshadow/getsgnam_r.c: Likewise.
19896 * inet/getnetbyad.c: Likewise.
19897 * inet/getnetbyad_r.c: Likewise.
19898 * inet/getnetbynm.c: Likewise.
19899 * inet/getnetbynm_r.c: Likewise.
19900 * inet/getnetent.c: Likewise.
19901 * inet/getnetent_r.c: Likewise.
19902 * inet/getproto.c: Likewise.
19903 * inet/getproto_r.c: Likewise.
19904 * inet/getprtent.c: Likewise.
19905 * inet/getprtent_r.c: Likewise.
19906 * inet/getprtname.c: Likewise.
19907 * inet/getprtname_r.c: Likewise.
19908 * inet/getrpcbyname.c: Likewise.
19909 * inet/getrpcbyname_r.c: Likewise.
19910 * inet/getrpcbynumber.c: Likewise.
19911 * inet/getrpcbynumber_r.c: Likewise.
19912 * inet/getrpcent.c: Likewise.
19913 * inet/getrpcent_r.c: Likewise.
19914 * inet/getaliasent.c: Likewise.
19915 * inet/getaliasent_r.c: Likewise.
19916 * inet/getaliasname.c: Likewise.
19917 * inet/getaliasname_r.c: Likewise.
19918 * nscd/getgrgid_r.c: Likewise.
19919 * nscd/getgrnam_r.c: Likewise.
19920 * nscd/gethstbyad_r.c: Likewise.
19921 * nscd/gethstbynm3_r.c: Likewise.
19922 * nscd/getpwnam_r.c: Likewise.
19923 * nscd/getpwuid_r.c: Likewise.
19924 * nscd/getsrvbynm_r.c: Likewise.
19925 * nscd/getsrvbypt_r.c: Likewise.
19926 * nscd/gai.c: Likewise.
19927
19928 * configure.in (build_nscd): New substituted variable, set
19929 by --disable-build-nscd and defaults to $use_nscd.
19930 * configure: Regenerated.
19931 * config.make.in (build-nscd): New substituted variable.
19932 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19933 Change conditional to require [$(build-nscd) = yes] as well.
19934 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19935
19936 [BZ# 13696]
19937 * configure.in (use_nscd): New substituted variable, set by
19938 --disable-nscd. If enabled, define USE_NSCD.
19939 * configure: Regenerated.
19940 * config.h.in: Add USE_NSCD.
19941 * config.make.in (use-nscd): New substituted variable.
19942 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19943 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19944 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19945 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19946 (CFLAGS-getgrnam_r.c): Likewise.
19947 (CFLAGS-initgroups.c): Likewise.
19948 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19949 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19950 Variables removed.
19951 * inet/getnetgrent_r.c
19952 (nscd_setnetgrent): New function, broken out of ...
19953 (setnetgrent): ... here. Call it.
19954 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19955 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19956 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19957 * nscd/Makefile (routines, aux): Move definitions after include of
19958 Makeconfig. Conditionalize on [$(use-nscd) != no].
19959 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19960 Conditionalize on [USE_NSCD].
19961 (is_nscd, nscd_init_cb): Likewise.
19962 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19963 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19964 * nss/nss_db/db-init.c: Likewise.
19965 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19966 [USE_NSCD].
19967 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19968 (make_request): Use it.
19969 (cache_valid_p): New function.
19970 (__check_pf): Use it.
19971 * NEWS: Add item for --disable-nscd.
19972
19973 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19974
19975 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19976 to support sed >= 4.2.1-20-ga9bf076.
19977 * configure: Regenerated.
19978
19979 2012-08-22 Roland McGrath <roland@hack.frob.com>
19980
19981 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19982 Conditionalize whole body on [IREL].
19983
19984 2012-08-22 Jeff Law <law@redhat.com>
19985
19986 [BZ #14505]
19987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19988 if the family is PF_UNSPEC.
19989
19990 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19991
19992 * Makerules (lib-version): Rename from V.
19993 (install-lib-nosubdir): Change V to lib-version.
19994
19995 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19996
19997 [BZ #14252]
19998 * powerpc32/power6/wcschr.c: New file.
19999 * powerpc32/power6/wcscpy.c: New file.
20000 * powerpc32/power6/wcsrchr.c: New file.
20001 * powerpc64/power6/wcschr.c: New file.
20002 * powerpc64/power6/wcscpy.c: New file.
20003 * powerpc64/power6/wcsrchr.c: New file.
20004
20005 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20006
20007 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20008 (two_way_short_needle): Use it.
20009 * string/strstr.c (AVAILABLE1_USES_J): Define.
20010 * string/strcasestr.c: Likewise.
20011
20012 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20013 array references.
20014 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20015
20016 [BZ #11607]
20017 * NEWS: Add an entry.
20018 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20019 define their defaults.
20020 (two_way_short_needle): Detect end-of-string on-the-fly.
20021 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20022 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20023 * string/bug-strcasestr1.c: New test.
20024 * string/Makefile: Run it.
20025
20026 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20027
20028 [BZ #11607]
20029 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20030 the first character.
20031
20032 2012-08-21 Roland McGrath <roland@hack.frob.com>
20033
20034 * csu/elf-init.c (__libc_csu_irel): Function removed.
20035 * csu/libc-start.c (apply_irel): New function.
20036 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20037
20038 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20039
20040 * sysdeps/unix/sysv/linux/kernel-features.h
20041 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20042 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20043 <kernel-features.h>.
20044 [__NR_fadvise64_64]: Make code unconditional.
20045 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20046 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20047 !__NR_fadvise64_64)]: Likewise.
20048 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20049 !__NR_fadvise64_64))]: Likewise.
20050 [__NR_fadvise64]: Make code unconditional.
20051 [!__NR_fadvise64]: Remove conditional code.
20052 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20053 <kernel-features.h>.
20054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20055 unconditional.
20056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20057 conditional code.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20059 not include <kernel-features.h>.
20060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20061 unconditional.
20062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20063 conditional code.
20064 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20065 include <kernel-features.h>.
20066 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20067 unconditional.
20068 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20069 conditional code.
20070
20071 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20072
20073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20074 slight instruction rearrangements per scrollpipe analysis.
20075 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20076
20077 2012-08-20 Roland McGrath <roland@hack.frob.com>
20078
20079 * manual/syslog.texi (syslog; vsyslog, closelog):
20080 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20081 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20082
20083 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20084 DSOCAPS to match condition on defining it.
20085
20086 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20087
20088 * sysdeps/unix/sysv/linux/kernel-features.h
20089 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20094 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20095 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20097 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20098 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20099
20100 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20101 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20102
20103 * sysdeps/unix/sysv/linux/kernel-features.h
20104 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20105 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20106 unconditional.
20107 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20108 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20109 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20110 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20111 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20112 Make code unconditional.
20113 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20114 (__mmap64) [!__NR_mmap2]: Likewise.
20115 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20116 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20117 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20118 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20119 [__NR_mmap2]: Make code unconditional.
20120 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20121 (__mmap64) [!__NR_mmap2]: Likewise.
20122
20123 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20124
20125 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20126
20127 2012-08-18 Andreas Jaeger <aj@suse.de>
20128
20129 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20130
20131 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20132
20133 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20134 * include/unistd.h (__have_sock_cloexec): Likewise.
20135 (__have_pipe2): Likewise.
20136 (__have_dup3): Likewise.
20137
20138 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20139
20140 [BZ #9685]
20141 * include/unistd.h (__have_pipe2): Change define into an extern int.
20142 (__have_dup3): Likewise.
20143 * socket/have_sock_cloexec.c: Include fcntl.h.
20144 (__have_pipe2): New variable.
20145 (__have_dup3): Likewise.
20146
20147 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20148
20149 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20150
20151 2012-08-17 Marek Polacek <polacek@redhat.com>
20152
20153 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20154 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20155
20156 2012-08-17 Roland McGrath <roland@hack.frob.com>
20157
20158 * configure.in: Add AC_SUBST for sysheaders.
20159 * configure: Regenerated.
20160 * config.make.in (sysheaders): New substituted variable.
20161
20162 * sysdeps/unix/mkfifo.c: Moved ...
20163 * sysdeps/posix/mkfifo.c: ... here.
20164 * sysdeps/unix/mkfifoat.c: Moved ...
20165 * sysdeps/posix/mkfifoat.c: ... here.
20166
20167 * sysdeps/unix/utime.c: Moved ...
20168 * sysdeps/posix/utime.c: ... here.
20169
20170 * sysdeps/unix/time.c: Moved ...
20171 * sysdeps/posix/time.c: ... here.
20172 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20173 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20174
20175 * sysdeps/unix/nice.c: Moved ...
20176 * sysdeps/posix/nice.c: ... here.
20177
20178 * sysdeps/unix/alarm.c: Moved ...
20179 * sysdeps/posix/alarm.c: ... here.
20180
20181 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20182
20183 2012-08-17 Jeff Law <law@redhat.com>
20184
20185 * intl/Makefile (codeset_mo): New variable.
20186 ($(codeset_mo)): New target.
20187 (tst-codeset.out): Depend on that. Remove explicit rule.
20188 (tst-gettext3.out, tst-gettext5.out): Likewise.
20189 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20190 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20191 * intl/tst-codeset.sh: Remove.
20192 * intl/tst-gettext3.sh: Likewise.
20193 * intl/tst-gettext5.sh: Likewise.
20194
20195 2012-08-17 Roland McGrath <roland@hack.frob.com>
20196
20197 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20198 * sysdeps/unix/syscalls.list: ... here.
20199
20200 * sysdeps/posix/getaddrinfo.c
20201 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20202 (gaiconf_init, gaiconf_reload): Use them.
20203 [!_STATBUF_ST_NSEC]
20204 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20205 Define using time_t rather than struct timespec.
20206
20207 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20208 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20209 Macros removed.
20210 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20211 [!NO_THREADS].
20212 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20213 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20214 Likewise.
20215
20216 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20217 __libc_cleanup_push argument.
20218
20219 * bits/param.h: New file.
20220 * misc/sys/param.h: New file.
20221 * include/sys/param.h: New file.
20222 * misc/Makefile (headers): Add bits/param.h.
20223 * sysdeps/generic/sys/param.h: File removed.
20224 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20225 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20226 * sysdeps/mach/hurd/bits/param.h: New file.
20227 * sysdeps/mach/hurd/sys/param.h: File removed.
20228
20229 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20230 last change.
20231
20232 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20233 [_IO_MTSAFE_IO].
20234 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20235 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20236 New macros.
20237
20238 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20239 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20240 rather than -D_IO_MTSAFE_IO conditionally.
20241 * stdio-common/Makefile (CPPFLAGS): Likewise.
20242 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20243 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20244 Use $(libio-mtsafe).
20245 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20246 of -D_IO_MTSAFE_IO.
20247 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20248 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20249 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20250 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20251 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20252 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20253 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20254 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20255 (CFLAGS-fread_u_chk.c): Likewise.
20256 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20257 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20258 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20259 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20260 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20261 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20262 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20263 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20264 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20265
20266 * libio/Makefile: Test [$(libc-reentrant) = yes]
20267 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20268
20269 * Makeconfig
20270 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20271 * sysdeps/pthread/configure: File removed.
20272 * sysdeps/pthread/Makeconfig: New file.
20273 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20274 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20275
20276 2012-08-16 Gary Benson <gbenson@redhat.com>
20277
20278 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20279 unmapping the first object in a namespace.
20280
20281 2012-08-16 Roland McGrath <roland@hack.frob.com>
20282
20283 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20284 (__internal_setnetgrent): ... this. Add internal_function to
20285 definition. Add libc_hidden_def.
20286 (setnetgrent): Update caller.
20287 (internal_endnetgrent): Renamed to ...
20288 (__internal_endnetgrent): ... this. Add internal_function to
20289 definition. Add libc_hidden_def.
20290 (endnetgrent): Update caller.
20291 (internal_getnetgrent_r): Renamed to ...
20292 (__internal_getnetgrent_r): ... this. Add internal_function to
20293 definition. Add libc_hidden_def.
20294 (__getnetgrent_r): Update caller.
20295 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20296
20297 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20298
20299 * stdlib/longlong.h: Update from GCC.
20300
20301 2012-08-16 Roland McGrath <roland@hack.frob.com>
20302
20303 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20304 on _QL, which is set by umul_ppmm but never used.
20305 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20306 variables, which are set by GMP macros but never used.
20307 * stdio-common/_itowa.c (_itowa): Likewise.
20308 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20309 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20310
20311 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20312
20313 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20314 struct La_sh_regs is not constant.
20315 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20316 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20317 and struct La_sparc64_regs are not constant.
20318
20319 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20320
20321 * sysdeps/unix/sysv/linux/kernel-features.h
20322 (__ASSUME_POSIX_TIMERS): Remove.
20323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20325 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20326 Make code unconditional.
20327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20328 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20329 Make code unconditional.
20330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20331 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20332 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20333 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20334 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20335 Make code unconditional.
20336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20337 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20338 (__libc_missing_posix_timers): Remove.
20339
20340 2012-08-15 Roland McGrath <roland@hack.frob.com>
20341
20342 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20343 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20344
20345 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20346
20347 * elf/dl-sym.c: Include <stdlib.h>.
20348
20349 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20350 constants, which avoids warnings in 32-bit builds.
20351
20352 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20353 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20354
20355 * misc/lseek.c: File moved to ...
20356 * io/lseek.c: ... here.
20357
20358 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20359
20360 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20361 shifting LEN more than 31 bits at once.
20362
20363 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20364
20365 [BZ #14195]
20366 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20367 segmentation fault for a case of two empty input strings.
20368 * string/test-strncasecmp.c (check1): Renamed to...
20369 (bz12205): ...this.
20370 (bz14195): Add new testcase for two empty input strings and N > 0.
20371 (test_main): Call new testcase, adapt for renamed function.
20372
20373 2012-08-15 Andreas Jaeger <aj@suse.de>
20374
20375 [BZ #14090]
20376 * crypt/md5test2.c: New test, based on test supplied by Serge
20377 Belyshev <belyshev@depni.sinp.msu.ru>.
20378 * crypt/Makefile (xtests): Add md5test-giant..
20379 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20380
20381 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20382
20383 [BZ #14090]
20384 * crypt/md5.c (md5_process_block): Don't assume the buffer
20385 length is less than 2**32.
20386 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20387 length is less than 2**64.
20388
20389 2012-08-15 Roland McGrath <roland@hack.frob.com>
20390
20391 * string/str-two-way.h: Include <sys/param.h>.
20392 (MAX): Macro removed.
20393
20394 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20395 Move #define and #undef of memmove to just before and after
20396 including <string.h>.
20397
20398 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20399 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20400 and after including <string.h>. Move declarations of
20401 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20402 to before #include "string/memmove.c".
20403
20404 * include/dirent.h: Declare __getdirentries.
20405
20406 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20407 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20408
20409 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20410
20411 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20412 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20413 * sysdeps/i386/configure: Regenerated.
20414 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20415 STABS_CURRENT_FILE, and STABS_FUN.
20416 (END): Remove call to STABS_FUN_END.
20417 (STABS_CURRENT_FILE1): Delete.
20418 (STABS_CURRENT_FILE): Likewise.
20419 (STABS_FUN): Likewise.
20420 (STABS_FUN_END): Likewise.
20421 (STABS_FUN2): Likewise.
20422 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20423 * sysdeps/x86_64/configure: Regenerated.
20424
20425 2012-08-14 Roland McGrath <roland@hack.frob.com>
20426
20427 * elf/dl-open.c: Include <atomic.h>.
20428 * elf/dl-lookup.c: Likewise.
20429
20430 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20431
20432 * sysdeps/unix/sysv/linux/kernel-features.h
20433 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20434 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20435 unconditionally.
20436 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20437 unconditionally.
20438 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20439 condition on __ASSUME_CLONE_THREAD_FLAGS.
20440
20441 2012-08-14 Andreas Jaeger <aj@suse.de>
20442
20443 * sysdeps/i386/fpu/libm-test-ulps: Update.
20444
20445 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20446
20447 * include/atomic.h (atomic_exchange_and_add): Split into ...
20448 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20449 New atomic macros.
20450
20451 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20452
20453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20454
20455 2012-08-13 Jeff Law <law@redhat.com>
20456
20457 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20458 null byte in the output string.
20459
20460 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20461
20462 * sysdeps/unix/sysv/linux/kernel-features.h
20463 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20464 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20465 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20466 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20467 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20468 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20469 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20470
20471 2012-08-09 Jeff Law <law@redhat.com>
20472
20473 [BZ #13939]
20474 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20475 When avoid_arena is set, don't retry in the that arena. Pick the
20476 next one, whatever it might be.
20477 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20478 (arena_lock): Pass in new parameter to arena_get2.
20479 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20480 arena_get2.
20481 (__libc_malloc): Unify retrying after main arena failure with
20482 __libc_memalign version.
20483 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20484
20485 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20486
20487 [BZ #14166]
20488 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20489 to __redirect_strstr.
20490 (__strstr_sse42): Use typeof __redirect_strstr.
20491 (__strstr_ia32): Likewise.
20492 (__libc_strstr): New prototype.
20493 (strstr): Renamed to ...
20494 (__libc_strstr): This.
20495 (strstr): New strong alias of __libc_strstr.
20496 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20497 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20498 __redirect_time.
20499 Include <time.h>.
20500 (__libc_time): New prototype.
20501 (time_ifunc): Replace time with __libc_time.
20502 (time): New strong alias and hidden definition of __libc_time.
20503 (__GI_time): Remove strong alias.
20504 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20505 Include <stddef.h>.
20506 (memmove): Redefined to __redirect_memmove.
20507 (__memmove_sse2): Use typeof __redirect_memmove.
20508 (__memmove_ssse3): Likewise.
20509 (__memmove_ssse3_back): Likewise.
20510 (__libc_memmove): New prototype.
20511 (memmove): Renamed to ...
20512 (__libc_memmove): This.
20513 (memmove): New strong alias of __libc_memmove.
20514
20515 2012-08-08 Mark Salter <msalter@redhat.com>
20516
20517 * elf/elf.h
20518 (R_MN10300_TLS_GD): Define.
20519 (R_MN10300_TLS_LD): Likewise.
20520 (R_MN10300_TLS_LDO): Likewise.
20521 (R_MN10300_TLS_GOTIE): Likewise.
20522 (R_MN10300_TLS_IE): Likewise.
20523 (R_MN10300_TLS_LE): Likewise.
20524 (R_MN10300_TLS_DTPMOD): Likewise.
20525 (R_MN10300_TLS_DTPOFF): Likewise.
20526 (R_MN10300_TLS_TPOFF): Likewise.
20527 (R_MN10300_SYM_DIFF): Likewise.
20528 (R_MN10300_ALIGN): Likewise.
20529 (R_MN10300_NUM): Update.
20530
20531 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20532
20533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20534 Remove.
20535
20536 2012-08-08 Roland McGrath <roland@hack.frob.com>
20537
20538 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20539
20540 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20541 sysdeps/unix -> sysdeps/posix move.
20542 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20543
20544 2012-08-07 Allan McRae <allan@archlinux.org>
20545
20546 [BZ #14303]
20547 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20548 (SUNOS_CPP): Likewise.
20549 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20550 not found.
20551 (open_input): Call CPP using execvp.
20552
20553 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20554
20555 * sysdeps/unix/sysv/linux/kernel-features.h
20556 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20557 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20558 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20559 (__ASSUME_WAITID_SYSCALL): Likewise.
20560 * sysdeps/unix/sysv/linux/dl-execstack.c
20561 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20562 code unconditional.
20563 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20564 conditional code.
20565 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20566 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20567 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20568 code.
20569 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20570 unconditional.
20571 [__ASSUME_WAITID_SYSCALL]: Likewise.
20572 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20573
20574 2012-08-07 Roland McGrath <roland@hack.frob.com>
20575
20576 * sysdeps/unix/closedir.c: Renamed to ...
20577 * sysdeps/posix/closedir.c: ... here.
20578 * sysdeps/unix/dirfd.c: Renamed to ...
20579 * sysdeps/posix/dirfd.c: ... here.
20580 * sysdeps/unix/dirstream.h: Renamed to ...
20581 * sysdeps/posix/dirstream.h: ... here.
20582 * sysdeps/unix/fdopendir.c: Renamed to ...
20583 * sysdeps/posix/fdopendir.c: ... here.
20584 * sysdeps/unix/opendir.c: Renamed to ...
20585 * sysdeps/posix/opendir.c: ... here.
20586 * sysdeps/unix/readdir.c: Renamed to ...
20587 * sysdeps/posix/readdir.c: ... here.
20588 * sysdeps/unix/readdir_r.c: Renamed to ...
20589 * sysdeps/posix/readdir_r.c: ... here.
20590 * sysdeps/unix/rewinddir.c: Renamed to ...
20591 * sysdeps/posix/rewinddir.c: ... here.
20592 * sysdeps/unix/seekdir.c: Renamed to ...
20593 * sysdeps/posix/seekdir.c: ... here.
20594 * sysdeps/unix/telldir.c: Renamed to ...
20595 * sysdeps/posix/telldir.c: ... here.
20596 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20597 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20598 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20599 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20600
20601 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20602 * bits/fcntl.h: ... here.
20603
20604 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20605 not 0.
20606 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20607 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20608 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20609 (struct flock): Move l_start, l_len to the beginning.
20610 Use __pid_t for l_pid.
20611 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20612 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20613 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20614 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20615 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20616 [__USE_LARGEFILE64] (struct flock64): New type.
20617 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20618
20619 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20620 * bits/dirent.h: ... here.
20621
20622 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20623 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20624
20625 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20626
20627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20628 Change from 2.6.0 to 2.6.16.
20629 * sysdeps/unix/sysv/linux/configure: Regenerated.
20630 * sysdeps/unix/sysv/linux/kernel-features.h
20631 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20632 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20633 version.
20634 (__ASSUME_UTIMES): Likewise.
20635 (__ASSUME_CLONE_STOPPED): Remove.
20636 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20637 architectures, not kernel version.
20638 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20639 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20640 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20641 (__ASSUME_WAITID_SYSCALL): Likewise.
20642 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20643 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20644 * README: State 2.6.16 as minimum Linux kernel version. Do not
20645 refer to older versions.
20646
20647 2012-08-06 Roland McGrath <roland@hack.frob.com>
20648
20649 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20650 Define alphasort64 as an alias.
20651 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20652 Define versionsort64 as an alias.
20653 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20654 Define scandir64 as an alias.
20655 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20656 Define scandirat64 as an alias.
20657 * dirent/alphasort64.c (alphasort64):
20658 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20659 * dirent/versionsort64.c: Likewise.
20660 * dirent/scandir64.c: Likewise.
20661 * dirent/scandirat64.c: Likewise.
20662 * sysdeps/wordsize-64/alphasort.c: File removed.
20663 * sysdeps/wordsize-64/alphasort64.c: File removed.
20664 * sysdeps/wordsize-64/scandir.c: File removed.
20665 * sysdeps/wordsize-64/scandir64.c: File removed.
20666 * sysdeps/wordsize-64/scandirat.c: File removed.
20667 * sysdeps/wordsize-64/scandirat64.c: File removed.
20668 * sysdeps/wordsize-64/versionsort.c: File removed.
20669 * sysdeps/wordsize-64/versionsort64.c: File removed.
20670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20673 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20675 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20677 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20678
20679 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20681 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20683 [defined __arch64__ || defined __sparcv9]
20684 (__INO_T_MATCHES_INO64_T): New macro.
20685 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20686 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20687 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20688 * sysdeps/unix/sysv/linux/bits/dirent.h
20689 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20690 (_DIRENT_MATCHES_DIRENT64): New macro.
20691
20692 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20693 Define lockf64 as an alias.
20694 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20695 Define fseeko64 as an alias.
20696 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20697 Define ftello64 as an alias.
20698 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20699 Define _IO_fgetpos64 and fgetpos64 as aliases.
20700 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20701 Define _IO_fsetpos64 and fsetpos64 as aliases.
20702 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20703 Conditionalize body on this.
20704 * libio/fseeko64.c: Likewise.
20705 * libio/ftello64.c: Likewise.
20706 * libio/iofgetpos64.c: Likewise.
20707 * libio/iofsetpos64.c: Likewise.
20708 * sysdeps/wordsize-64/lockf.c: File removed.
20709 * sysdeps/wordsize-64/lockf64.c: File removed.
20710 * sysdeps/wordsize-64/fseeko.c: File removed.
20711 * sysdeps/wordsize-64/fseeko64.c: File removed.
20712 * sysdeps/wordsize-64/ftello.c: File removed.
20713 * sysdeps/wordsize-64/ftello64.c: File removed.
20714 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20715 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20716 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20717 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20728
20729 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20731 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20733 [defined __arch64__ || defined __sparcv9]
20734 (__OFF_T_MATCHES_OFF64_T): New macro.
20735 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20736 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20738 (__OFF_T_MATCHES_OFF64_T): New macro.
20739
20740 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20741
20742 * stdlib/secure-getenv.c (__secure_getenv): Replace
20743 GLIBC_2_16 with GLIBC_2_17.
20744
20745 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20746
20747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20749
20750 2012-08-03 David S. Miller <davem@davemloft.net>
20751
20752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20753
20754 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20755
20756 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20757 Remove.
20758 (__ASSUME_CORRECT_SI_PID): Likewise.
20759 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20760 (__ASSUME_TMPFS_NAME): Likewise.
20761 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20762 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20763 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20764 (HAVE_AUX_SECURE): Make definition unconditional.
20765 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20766 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20767
20768 2012-08-03 Roland McGrath <roland@hack.frob.com>
20769
20770 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20771 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20772 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20774 __eloop_threshold instead of SYMLOOP_MAX.
20775
20776 * sysdeps/generic/eloop-threshold.h: New file.
20777 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20778 of MAXSYMLINKS.
20779 * elf/chroot_canon.c (chroot_canon): Likewise.
20780
20781 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20782
20783 [BZ #13717]
20784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20785 Change to 2.6.0 everywhere.
20786 * sysdeps/unix/sysv/linux/configure: Regenerated.
20787 * sysdeps/unix/sysv/linux/kernel-features.h
20788 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20789 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20790 kernel versions.
20791 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20792 (__ASSUME_FUTEX_REQUEUE): Remove.
20793 (__ASSUME_STATFS64): Define unconditionally.
20794 (__ASSUME_AT_SECURE): Likewise.
20795 (__ASSUME_CORRECT_SI_PID): Likewise.
20796 (__ASSUME_TGKILL): Define without depending on kernel version for
20797 i386.
20798 (__ASSUME_UTIMES): Likewise.
20799 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20800 kernel version.
20801 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20802 (__ASSUME_TMPFS_NAME): Likewise.
20803 * README: Update reference to Linux kernel versions.
20804
20805 2012-08-02 Marek Polacek <polacek@redhat.com>
20806
20807 [BZ# 14150]
20808 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20809 libc_cv_asm_type_prefix with %.
20810 * configure: Regenerated.
20811 * include/libc-symbols.h: Remove comment about
20812 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20813 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20814 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20815 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20816 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20817 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20818 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20819 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20820 * elf/tst-unique2mod1.c: Likewise.
20821 * elf/tst-unique1mod2.c: Likewise.
20822 * elf/tst-unique1mod1.c: Likewise.
20823 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20824 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20825 Replace ASM_TYPE_DIRECTIVE with .type.
20826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20827 * sysdeps/i386/sysdep.h: Likewise.
20828 * sysdeps/x86_64/sysdep.h: Likewise.
20829 * sysdeps/sh/sysdep.h: Likewise.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20831 Do not define ASM_TYPE_DIRECTIVE.
20832 * sysdeps/powerpc/sysdep.h: Likewise.
20833 * sysdeps/powerpc/powerpc32/sysdep.h:
20834 Replace ASM_TYPE_DIRECTIVE with .type.
20835 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20836 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20837 * sysdeps/i386/fpu/e_powf.S: Likewise.
20838 * sysdeps/i386/fpu/e_expl.S: Likewise.
20839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20840 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20841 * sysdeps/i386/fpu/e_pow.S: Likewise.
20842 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20843 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20844 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20845 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20846 * sysdeps/i386/fpu/e_log2.S: Likewise.
20847 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20848 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20849 * sysdeps/i386/fpu/e_powl.S: Likewise.
20850 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20851 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20852 * sysdeps/i386/fpu/e_logl.S: Likewise.
20853 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20854 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20855 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20856 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20858 * sysdeps/i386/fpu/e_log.S: Likewise.
20859 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20860 * sysdeps/i386/fpu/e_logf.S: Likewise.
20861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20863 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20864 * sysdeps/i386/fpu/e_log10.S: Likewise.
20865 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20866 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20867 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20868 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20869 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20871 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20872 * sysdeps/i386/i686/strtok.S: Likewise.
20873 * sysdeps/i386/i386-mcount.S: Likewise.
20874 * sysdeps/i386/strtok.S: Likewise.
20875 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20876 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20878 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20879 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20880 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20881 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20882 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20883 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20884 * sysdeps/x86_64/_mcount.S: Likewise.
20885 * sysdeps/x86_64/strtok.S: Likewise.
20886 * sysdeps/sh/_mcount.S: Likewise.
20887
20888 2012-08-01 Roland McGrath <roland@hack.frob.com>
20889
20890 * libio/iofopen.c: Include <fcntl.h>.
20891 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20892 (_IO_fopen64, fopen64): Define as aliases.
20893 * libio/iofopen64.c: Include <fcntl.h>.
20894 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20895 Conditionalize body on this.
20896 * sysdeps/wordsize-64/iofopen.c: File removed.
20897 * sysdeps/wordsize-64/iofopen64.c: File removed.
20898
20899 2012-08-01 Marek Polacek <polacek@redhat.com>
20900
20901 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20902 Use dlfcn directly instead of a variable.
20903 (binfmt-subdir): Do not define.
20904 (dlfcn): Likewise.
20905
20906 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20907
20908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20909 Remove all definitions.
20910 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20911 <kernel-features.h>.
20912 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20913 (miss_F_GETOWN_EX): Remove all definitions.
20914 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20915 macro definition.
20916 [!__ASSUME_FCNTL64]: Remove conditional code.
20917 [__ASSUME_FCNTL64]: Make code unconditional.
20918 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20919 <kernel-features.h>.
20920 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20921 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20922 (lockf64) [__NR_fcntl64]: Make code unconditional.
20923 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20924
20925 * sysdeps/unix/sysv/linux/kernel-features.h
20926 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20927 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20928 Make code unconditional.
20929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20932 [__NR_vfork]: Make code unconditional.
20933 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20934 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20936 [__NR_vfork]: Make code unconditional.
20937 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20938 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20939
20940 2012-08-01 Roland McGrath <roland@hack.frob.com>
20941
20942 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20943 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20944
20945 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20946 Define mkstemp64 as an alias.
20947 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20948 Define mkstemps64 as an alias.
20949 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20950 Define mkostemp64 as an alias.
20951 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20952 Define mkostemps64 as an alias.
20953 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20954 Conditionalize body on this.
20955 * misc/mkostemp64.c: Likewise.
20956 * misc/mkostemps64.c: Likewise.
20957 * misc/mkstemps64.c: Likewise.
20958 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20959 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20960 * sysdeps/wordsize-64/mkostemp.c: File removed.
20961 * sysdeps/wordsize-64/mkstemp.c: File removed.
20962 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20964 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20965 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20966
20967 [BZ #14138]
20968 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20969 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20970 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20971 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20972
20973 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20974 compat_symbol macros from <shlib-compat.h> rather than the underlying
20975 default_symbol_version and symbol_version macros, so that DEFAULT
20976 lines in shlib-versions are respected.
20977 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20978
20979 2012-08-01 Florian Weimer <fweimer@redhat.com>
20980
20981 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20982 Declare with warn_unused_result.
20983 (setgid, setregid, setegid, setresgid): Likewise.
20984 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20985 Likewise.
20986 * WUR-REPORT: Remove set*id functions.
20987
20988 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20989
20990 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20991
20992 2012-07-31 Roland McGrath <roland@hack.frob.com>
20993
20994 [BZ #10191]
20995 * include/sys/socket.h (__libc_accept, __libc_accept4):
20996 Add attribute_hidden.
20997 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20998
20999 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21000 use of PTR_MANGLE.
21001 * inet/getnetgrent_r.c (setup): Likewise.
21002
21003 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21004
21005 2012-07-31 David S. Miller <davem@davemloft.net>
21006
21007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21008
21009 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21010
21011 [BZ #13629]
21012 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21013 value between 1.0 and 2.0 and smaller part has absolute value less
21014 than 1.0.
21015 * math/s_clog10.c (__clog10): Likewise.
21016 * math/s_clog10f.c (__clog10f): Likewise.
21017 * math/s_clog10l.c (__clog10l): Likewise.
21018 * math/s_clogf.c (__clogf): Likewise.
21019 * math/s_clogl.c (__clogl): Likewise.
21020 * math/libm-test.inc (clog_test): Add more tests.
21021 (clog10_test): Likewise.
21022 * sysdeps/i386/fpu/libm-test-ulps: Update.
21023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21024
21025 2012-07-31 Florian Weimer <fweimer@redhat.com>
21026
21027 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21028 Exit with zero in case no suitable GID is found, and write a
21029 message to standard error.
21030
21031 2012-07-30 Roland McGrath <roland@hack.frob.com>
21032
21033 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21034 rather than to 1.
21035 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21036 (MAXPATHLEN): Removed.
21037 (NOGROUP, NODEV): New macros.
21038 (setbit, clrbit, isset, isclr): New macros.
21039 (howmany, roundup, powerof2): New macros.
21040 (DEV_BSIZE): New macro.
21041
21042 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21043 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21044
21045 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21046 definition on [!__NO_LONG_DOUBLE_MATH].
21047
21048 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21049 PTR_MANGLE and PTR_DEMANGLE.
21050
21051 * socket/accept4.c (accept4): Rename to __libc_accept4.
21052 Define accept4 as a weak alias.
21053
21054 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21055 on [_DIRENT_HAVE_D_TYPE].
21056 * io/ftw.c (ftw_dir): Likewise.
21057
21058 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21059
21060 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21061
21062 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21063 Use the BSD numbers rather than the arbitrary ones we had.
21064 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21065 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21066 (SIGXCPU, SIGXFSZ): New macros.
21067 (_NSIG): Now 32.
21068
21069 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21070 initializer on [_LIBC_REENTRANT].
21071
21072 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21073 definitions inside [_POSIX_MAPPED_FILES].
21074
21075 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21076
21077 * dirent/opendir.c: Include <fcntl.h>.
21078
21079 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21080 (__libc_getspecific): Likewise.
21081 (__libc_key_create): Likewise.
21082
21083 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21084 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21085 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21086 (tmpfile64): Define as alias.
21087 * sysdeps/wordsize-64/tmpfile.c: File removed.
21088 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21089 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21091
21092 * stdio-common/vfscanf.c: Include <stdbool.h>.
21093 * nss/makedb.c: Likewise.
21094 * stdio-common/_i18n_number.h: Likewise.
21095 * argp/argp-help.c: Likewise.
21096 * posix/wordexp.c: Likewise.
21097 * sysdeps/posix/spawni.c: Likewise.
21098 * nss/nss_files/files-initgroups.c: Likewise.
21099 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21100 * nss/nss_files/files-initgroups.c: Likewise.
21101 * nss/nss_db/db-netgrp.c: Likewise.
21102 * nss/nss_db/db-initgroups.c: Likewise.
21103 * io/fchmodat.c: Include <sys/stat.h>.
21104
21105 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21106 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21107
21108 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21109 [HAVE_MMAP].
21110
21111 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21112 Add multiple inclusion protection.
21113
21114 2012-07-27 David S. Miller <davem@davemloft.net>
21115
21116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21117
21118 2012-07-27 Gary Benson <gbenson@redhat.com>
21119
21120 [BZ #14298]
21121 * elf/rtld.c: Include <stap-probe.h>.
21122 (dl_main): Added static probes "init_start" and "init_complete".
21123 * elf/dl-load.c: Include <stap-probe.h>.
21124 (lose): Take new parameter "nsid".
21125 Added static probe "map_failed".
21126 (_dl_map_object_from_fd): Pass namespace id to lose.
21127 Added static probe "map_start".
21128 (open_verify): Pass namespace id to lose.
21129 * elf/dl-open.c: Include <stap-probe.h>.
21130 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21131 and "reloc_complete".
21132 * elf/dl-close.c: Include <stap-probe.h>.
21133 (_dl_close_worker): Added static probes "unmap_start" and
21134 "unmap_complete".
21135 * elf/rtld-debugger-interface.txt: New file documenting the above.
21136
21137 2012-07-26 Roland McGrath <roland@hack.frob.com>
21138
21139 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21140 rather than a string variable.
21141 * sunrpc/rpc_main.c (h_output): Likewise.
21142 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21143
21144 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21145
21146 * inet/check_native.c: New file.
21147
21148 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21149
21150 [BZ #13629]
21151 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21152 if larger part has absolute value 1.0.
21153 * math/s_clog10.c (__clog10): Likewise.
21154 * math/s_clog10f.c (__clog10f): Likewise.
21155 * math/s_clog10l.c (__clog10l): Likewise.
21156 * math/s_clogf.c (__clogf): Likewise.
21157 * math/s_clogl.c (__clogl): Likewise.
21158 * math/libm-test.inc (clog_test): Add more tests.
21159 (clog10_test): Likewise.
21160 * sysdeps/i386/fpu/libm-test-ulps: Update.
21161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21162
21163 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21164 (pltexit): Likewise.
21165 (La_regs): Likewise.
21166 (La_retval): Likewise.
21167 (int_retval): Likewise.
21168 Update #error for removed macros to refer only to definitions in
21169 tst-audit.h.
21170 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21171 macro.
21172 (pltexit): Likewise.
21173 (La_regs): Likewise.
21174 (La_retval): Likewise.
21175 (int_retval): Likewise.
21176 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21177 macro.
21178 (pltexit): Likewise.
21179 (La_regs): Likewise.
21180 (La_retval): Likewise.
21181 (int_retval): Likewise.
21182 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21183 macro.
21184 (pltexit): Likewise.
21185 (La_regs): Likewise.
21186 (La_retval): Likewise.
21187 (int_retval): Likewise.
21188 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21189 macro.
21190 (pltexit): Likewise.
21191 (La_regs): Likewise.
21192 (La_retval): Likewise.
21193 (int_retval): Likewise.
21194 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21195 macro.
21196 (pltexit): Likewise.
21197 (La_regs): Likewise.
21198 (La_retval): Likewise.
21199 (int_retval): Likewise.
21200 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21201 macro.
21202 (pltexit): Likewise.
21203 (La_regs): Likewise.
21204 (La_retval): Likewise.
21205 (int_retval): Likewise.
21206 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21207 macro definitions in tst-audit.h.
21208 * sysdeps/i386/tst-audit.h: New file.
21209 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21210 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21211 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21212 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21213 * sysdeps/sh/tst-audit.h: Likewise.
21214 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21215 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21216 * sysdeps/x86_64/tst-audit.h: Likewise.
21217
21218 2012-07-26 Andreas Jaeger <aj@suse.de>
21219
21220 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21221 ptrace.
21222
21223 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21224 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21225 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21226 PTRACE_O_MASK.
21227 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21228 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21229 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21230
21231 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21232 value.
21233
21234 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21235 _sigsys.
21236 (si_call_addr, si_syscall, si_arch): Define new macro.
21237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21238 _sigsys.
21239 (si_call_addr, si_syscall, si_arch): Define new marcro.
21240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21241 _sigsys.
21242 (si_call_addr, si_syscall, si_arch): Define new macro.
21243 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21244 _sigsys.
21245 (si_call_addr, si_syscall, si_arch): Define new macro.
21246
21247 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21248
21249 [BZ #13717]
21250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21251 Change to 2.4.21 where previously 2.4.1.
21252 * sysdeps/unix/sysv/linux/configure: Regenerated.
21253 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21254 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21255 Linux kernel version.
21256 (__ASSUME_STD_AUXV): Remove.
21257 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21258 kernel version.
21259 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21260 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21261 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21262 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21263 (__ASSUME_NETLINK_SUPPORT): Likewise.
21264 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21265 (__no_netlink_support): Remove conditional definition.
21266 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21267 Remove.
21268 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21269 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21270 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21271 (if_nameindex_ioctl): Remove.
21272 (if_nameindex_netlink): Do not handle __no_netlink_support.
21273 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21274 code.
21275 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21276 Remove conditional code.
21277 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21278 code.
21279 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21280 unconditional.
21281 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21282 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21283 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21284 Remove.
21285 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21286 [!__ASSUME_STD_AUXV]: Remove conditional code.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21288 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21289 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21291 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21292 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21293 code.
21294 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21296 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21298 conditional code.
21299 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21301 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21302 code.
21303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21304 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21305 conditional code.
21306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21307 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21308 code unconditional.
21309 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21310 conditional code.
21311 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21312 unconditional.
21313 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21314 conditional code.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21316 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21317 unconditional.
21318 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21319 conditional code.
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21321 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21322 code unconditional.
21323 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21324 conditional code.
21325 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21326 unconditional.
21327 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21328 conditional code.
21329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21330 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21331 code unconditional.
21332 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21333 conditional code.
21334 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21335 unconditional.
21336 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21337 conditional code.
21338
21339 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21340
21341 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21342 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21343 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21344 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21345 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21346 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21347 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21348 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21349 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21350 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21351 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21352 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21353 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21354 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21355 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21356 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21357 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21358 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21359 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21361 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21362 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21363 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21364
21365 2012-07-25 Florian Weimer <fweimer@redhat.com>
21366
21367 * Versions.def: Add GLIBC_2.17.
21368 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21369 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21370 Introduce __libc_secure_getenv.
21371 * stdlib/Versions (2.17): Add secure_getenv
21372 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21373 * stdlib/secure-getenv.c: Rename __secure_getenv to
21374 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21375 symbol __secure_getenv for GLIBC_2.0.
21376 * stdlib/tst-secure-getenv.c: New.
21377 * stdlib/Makefile (tests): Add testcase.
21378 * manual/startup.texi (Environment Access): Document
21379 secure_getenv.
21380 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21381 __libc_secure_getenv.
21382 * inet/ruserpass.c (ruserpass): Likewise.
21383 * malloc/mtrace.c (mtrace): Likewise.
21384 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21385 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21386 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21387 * sysdeps/posix/tempname.c: Likewise. Evaluate
21388 HAVE_SECURE_GETENV.
21389 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21390 __secure_getenv to __libc_secure_getenv.
21391 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21393 Likewise.
21394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21395 Likewise.
21396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21403
21404 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21405
21406 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21407 (struct La_i86_retval): Likewise.
21408 (struct La_x86_64_regs): Likewise.
21409 (struct La_x86_64_retval): Likewise.
21410 (struct La_x32_regs): Likewise.
21411 (struct La_x32_retval): Likewise.
21412 (struct La_ppc32_regs): Likewise.
21413 (struct La_ppc32_retval): Likewise.
21414 (struct La_ppc64_regs): Likewise.
21415 (struct La_ppc64_retval): Likewise.
21416 (struct La_sh_regs): Likewise.
21417 (struct La_sh_retval): Likewise.
21418 (struct La_s390_32_regs): Likewise.
21419 (struct La_s390_32_retval): Likewise.
21420 (struct La_s390_64_regs): Likewise.
21421 (struct La_s390_64_retval): Likewise.
21422 (struct La_sparc32_regs): Likewise.
21423 (struct La_sparc32_retval): Likewise.
21424 (struct La_sparc64_regs): Likewise.
21425 (struct La_sparc64_retval): Likewise.
21426 (struct audit_ifaces): Remove architecture-specific pltenter and
21427 pltexit members.
21428 * sysdeps/i386/ldsodefs.h: New file.
21429 * sysdeps/powerpc/ldsodefs.h: Likewise.
21430 * sysdeps/s390/ldsodefs.h: Likewise.
21431 * sysdeps/sh/ldsodefs.h: Likewise.
21432 * sysdeps/sparc/ldsodefs.h: Likewise.
21433 * sysdeps/x86_64/ldsodefs.h: Likewise.
21434
21435 2012-07-25 Marek Polacek <polacek@redhat.com>
21436
21437 [BZ #6808]
21438 * math/libm-test.inc (yn_test): Add another test.
21439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21440 to ERANGE when the result is +-Inf.
21441 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21442 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21443 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21444 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21445
21446 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21447
21448 * conform/data/time.h-data (NULL): Use macro-constant. Require
21449 equal to 0.
21450 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21451 clock_t.
21452 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21453
21454 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21455
21456 * configure.in <sysdeps resolving>: Correct printing
21457 Implies_before.
21458 * configure: Regenerate.
21459
21460 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21461
21462 * math/w_ilogb.c: Include <limits.h>.
21463 * math/w_ilogbl.c: Likewise.
21464
21465 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21466
21467 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21468 va_copy. Document allowing for unavailable va_copy only as
21469 pre-C99 compatibility.
21470 * manual/string.texi (Copying and Concatenation): Use va_copy
21471 instead of __va_copy in concat example.
21472
21473 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21474
21475 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21476 (__sendto): Use create_address_port. Initialize APORT and deallocate
21477 it if not null.
21478
21479 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21480 with O_NOLINK passed to __file_name_lookup.
21481
21482 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21483 with O_NOLINK passed to __file_name_lookup.
21484
21485 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21486 negative N or less than NGIDS.
21487
21488 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21489 type to string_t. Set ERANGE as errno and return it if NAME is not big
21490 enough. Use memcpy instead of strncpy.
21491
21492 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21493
21494 * elf/Makefile (check-data): Remove.
21495 (localplt.data): New vpath directive.
21496 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21497 instead of $(check-data).
21498 * scripts/data/localplt-generic.data: Move to ...
21499 * sysdeps/generic/localplt.data: ... here.
21500 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21501 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21502 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21504 ... here.
21505 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21507 ... here.
21508 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21510 ... here.
21511 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21513 ... here.
21514 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21516 ... here.
21517 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21519 ... here.
21520
21521 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21522
21523 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21524 PPC32 and PPC64 files.
21525 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21526 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21527
21528 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21529
21530 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21531 __makecontext_ret to ...
21532 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21533 ... here and call exit if uc_link is NULL. New file.
21534 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21535 __makecontext_ret.S.
21536 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21537 __makecontext_ret to ...
21538 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21539 ... here and call exit if uc_link is NULL. New file.
21540 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21541 __makecontext_ret.S.
21542
21543 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21544
21545 * elf/elf.h (R_390_IRELATIVE): New definition.
21546 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21547 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21548 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21549 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21550 (elf_machine_lazy_rel): Likewise.
21551 * sysdeps/s390/dl-irel.h: New file.
21552 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21553 * sysdeps/s390/s390-64/memset.S: New asm code.
21554 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21555 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21556 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21557 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21558 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21559 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21560 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21561 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21562 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21563 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21564 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21565 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21566 * sysdeps/s390/s390-32/memset.S: New asm code.
21567 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21568
21569 2012-07-17 Marek Polacek <polacek@redhat.com>
21570
21571 [BZ #14349]
21572 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21573 * sysdeps/s390/s390-64/configure.in: Likewise.
21574 * sysdeps/sparc/configure.in: Likewise.
21575 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21576 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21577 * sysdeps/i386/configure.in: Likewise.
21578 * sysdeps/x86_64/configure.in: Likewise.
21579 * sysdeps/sh/configure.in: Likewise.
21580 * sysdeps/s390/s390-32/configure: Regenerated.
21581 * sysdeps/s390/s390-64/configure: Likewise.
21582 * sysdeps/x86_64/configure: Likewise.
21583 * sysdeps/sh/configure: Likewise.
21584 * sysdeps/powerpc/powerpc64/configure: Likewise.
21585 * sysdeps/powerpc/powerpc32/configure: Likewise.
21586 * sysdeps/sparc/configure: Likwise.
21587 * sysdeps/i386/configure: Likewise.
21588
21589 * elf/dl-open.c: Comment fixes.
21590
21591 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21592
21593 * Makefile [CXX] (check-data): Remove.
21594 [CXX] (c++-types.data): New vpath directive.
21595 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21596 vpath. Do not allow for C++ type data being missing.
21597 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21598 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21599 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21600 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21601 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21602 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21603 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21605 ... here.
21606 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21608 ... here.
21609 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21611 ... here.
21612 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21614 ... here.
21615 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21617 ... here.
21618 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21620 ... here.
21621 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21623 ... here.
21624 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21626
21627 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21628 definitions to architecture-specific files.
21629 (TLS_IE): Likewise.
21630 (TLS_LD): Likewise.
21631 (TLS_GD): Likewise.
21632 * sysdeps/i386/tls-macros.h: New file.
21633 * sysdeps/powerpc/tls-macros.h: Likewise.
21634 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21635 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21636 * sysdeps/sh/tls-macros.h: Likewise.
21637 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21638 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21639 * sysdeps/x86_64/tls-macros.h: Likewise.
21640
21641 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21642
21643 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21644 zero value for regular exit case.
21645
21646 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21647 (__start_context): Preserve zero value for regular exit case.
21648
21649 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21650 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21651
21652 * manual/setjmp.texi (setcontext): Clarify normal process
21653 termination when uc_link is the null pointer.
21654 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21655 exit call.
21656
21657 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21658
21659 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21660 preprocessor. Test for each exception mask separately.
21661
21662 2012-07-16 Andreas Jaeger <aj@suse.de>
21663
21664 * po/ru.po: Update from translation team.
21665
21666 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21667
21668 * conform/data/string.h-data (NULL): Use macro-constant. Require
21669 equal to 0.
21670 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21671 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21672 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21673 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21675
21676 2012-07-13 Andreas Jaeger <aj@suse.de>
21677
21678 * po/fr.po: Update from translation team.
21679
21680 2012-07-12 Marek Polacek <polacek@redhat.com>
21681
21682 [BZ #14173]
21683 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21684 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21685 loop condition.
21686
21687 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21688
21689 [BZ #13717]
21690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21691 Change to 2.4.1 where previously 2.4.0.
21692 * sysdeps/unix/sysv/linux/configure: Regenerated.
21693 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21694 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21695 version.
21696 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21697 (__ASSUME_AT_CLKTCK): Remove.
21698 (__ASSUME_AT_PAGESIZE): Likewise.
21699 (__ASSUME_AT_XID): Likewise.
21700 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21701 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21702 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21703 unconditionally.
21704 (HAVE_AUX_PAGESIZE): Likewise.
21705 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21706 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21707 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21708
21709 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21710
21711 [BZ #14307]
21712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21713 the temporary buffer used to invoke __gethostbyname2_r,
21714 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21715 host_data / struct gaih_addrtuple.
21716 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21717 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21718 header file nss/nsswitch.h.
21719 * nss/nsswitch.h (global scope): Add definition of implementation
21720 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21721 resolv/nss_dns/dns-host.c).
21722
21723 2012-07-11 Andreas Jaeger <aj@suse.de>
21724
21725 * po/fr.po: Update from translation team.
21726
21727 * po/sv.po: Update from translation team
21728 * po/fr.po: Another update from translation team.
21729
21730 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21731
21732 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21733 for subnormals or multiply small sinh result by itself.
21734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21736
21737 2012-07-11 David S. Miller <davem@davemloft.net>
21738
21739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21740
21741 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21742
21743 [BZ #14347]
21744 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21745 (INTERNAL_MARK): Shift it here.
21746
21747 2012-07-10 Marek Polacek <polacek@redhat.com>
21748
21749 [BZ #14151]
21750 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21751 libc_cv_asm_global_directive with .globl.
21752 * configure: Regenerated.
21753 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21754 with .globl.
21755 * sysdeps/i386/configure: Regenerated.
21756 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21757 with .globl.
21758 * sysdeps/x86_64/configure: Regenerated.
21759 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21760 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21761 * elf/tst-unique2mod2.c: Likewise.
21762 * elf/tst-unique2mod1.c: Likewise.
21763 * elf/tst-unique1mod2.c: Likewise.
21764 * elf/tst-unique1mod1.c: Likewise.
21765 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21766 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21768 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21769 * sysdeps/mach/sysdep.h: Likewise.
21770 * sysdeps/i386/sysdep.h: Likewise.
21771 * sysdeps/i386/i386-mcount.S: Likewise.
21772 * sysdeps/x86_64/_mcount.S: Likewise.
21773 * sysdeps/x86_64/sysdep.h: Likewise.
21774 * sysdeps/sh/_mcount.S: Likewise.
21775 * sysdeps/sh/sysdep.h: Likewise.
21776 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21777 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21778 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21779 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21780 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21781 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21782 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21783 * locale/localeinfo.h: Likewise.
21784 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21785 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21786
21787 2012-07-09 Roland McGrath <roland@hack.frob.com>
21788
21789 [BZ #14336]
21790 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21791 system".
21792 * manual/message.texi (The Uniforum approach): Likewise.
21793 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21794 (glibc iconv Implementation): Likewise.
21795
21796 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21797
21798 [BZ #14337]
21799 * math/s_clog.c (__clog): Avoid scaling a value down where that
21800 could result in underflow.
21801 * math/s_clog10.c (__clog10): Likewise.
21802 * math/s_clog10f.c (__clog10f): Likewise.
21803 * math/s_clog10l.c (__clog10l): Likewise.
21804 * math/s_clogf.c (__clogf): Likewise.
21805 * math/s_clogl.c (__clogl): Likewise.
21806 * math/libm-test.inc (clog_test): Add more tests.
21807 (clog10_test): Likewise.
21808 * sysdeps/i386/fpu/libm-test-ulps: Update.
21809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21810
21811 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21812
21813 [BZ #14283]
21814 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21815 by 7 not 8 to examine high bit of fractional part.
21816
21817 [BZ #14042]
21818 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21819 for call to __mcount_internal.
21820 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21821 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21822 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21823
21824 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21825
21826 [BZ #14154]
21827 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21828 approximation for values within 0x1p-13f of an odd multiple of
21829 pi/4.
21830 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21831 exception. Add more tests.
21832 * sysdeps/i386/fpu/libm-test-ulps: Update.
21833
21834 [BZ #6778]
21835 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21836 inputs and return -1 for them. Do not check for +Inf in case not
21837 reachable for +Inf.
21838 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21839 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21840 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21841 and return -1 for them. Do not check for +Inf in case not
21842 reachable for +Inf.
21843 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21844 define.
21845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21846 and return -1 for them. Do not check for +Inf in case not
21847 reachable for +Inf.
21848 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21849 spurious underflow.
21850 * sysdeps/i386/fpu/libm-test-ulps: Update.
21851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21852
21853 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21854
21855 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21856
21857 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21858
21859 [BZ #14157]
21860 [BZ #14331]
21861 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21862 could result in spurious underflow. Scale down values above
21863 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21864 * math/s_csqrtf.c (__csqrtf): Likewise.
21865 * math/s_csqrtl.c (__csqrtl): Likewise.
21866 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21867 spurious underflow.
21868 * sysdeps/i386/fpu/libm-test-ulps: Update.
21869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21870
21871 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21872
21873 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21874 xopen-msg.sed.
21875 * catgets/xopen-msg.awk: New file.
21876 * catgets/xopen-msg.sed: Removed.
21877
21878 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21879 po2text.sed.
21880 * intl/po2test.awk: New file.
21881 * intl/po2test.sed: Removed.
21882
21883 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21884
21885 [BZ #14328]
21886 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21887 or multiply small sinh result by itself.
21888 * math/s_ctanf.c (__ctanf): Likewise.
21889 * math/s_ctanh.c (__ctanh): Likewise.
21890 * math/s_ctanhf.c (__ctanhf): Likewise.
21891 * math/s_ctanhl.c (__ctanhl): Likewise.
21892 * math/s_ctanl.c (__ctanl): Likewise.
21893 * math/libm-test.inc (ctan_test_tonearest): New function.
21894 (ctan_test_towardzero): Likewise.
21895 (ctan_test_downward): Likewise.
21896 (ctan_test_upward): Likewise.
21897 (ctanh_test_tonearest): Likewise.
21898 (ctanh_test_towardzero): Likewise.
21899 (ctanh_test_downward): Likewise.
21900 (ctanh_test_upward): Likewise.
21901 (main): Call these new functions.
21902 * sysdeps/i386/fpu/libm-test-ulps: Update.
21903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21904
21905 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21906
21907 * .gitignore: Delete /ports entry.
21908
21909 2012-07-03 Andreas Jaeger <aj@suse.de>
21910
21911 * po/bg.po: Update from translation team.
21912 * po/cs.po: Likewise.
21913 * po/de.po: Likewise.
21914 * po/hr.po: Likewise.
21915 * po/nl.pl: Likewise.
21916 * po/pl.po: Likewise.
21917 * po/vi.po: Likewise.
21918
21919 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21920
21921 * Makeconfig [!+link] (+link-before-libc): New variable.
21922 [!+link] (+link-after-libc): Likewise.
21923 [!+link] (+link-tests): Likewise.
21924 [!+link] (+link): Define in terms of $(+link-before-libc) and
21925 $(+link-after-libc).
21926 [!+link-static] (+link-static-before-libc): New variable.
21927 [!+link-static] (+link-static-after-libc): Likewise.
21928 [!+link-static] (+link-static-tests): Likewise.
21929 [!+link-static] (+link-static): Define in terms of
21930 $(+link-static-before-libc) and $(+link-static-after-libc).
21931 [build-shared] (link-libc-before-gnulib): New variable.
21932 [build-shared] (link-libc-tests): Likewise.
21933 [build-shared] (link-libc): Define in terms of
21934 $(link-libc-before-gnulib).
21935 [!build-shared] (link-libc-tests): New variable.
21936 (link-libc-static-tests): New variable.
21937 [!gnulib] (gnulib-arch): New variable.
21938 [!gnulib] (gnulib-tests): Likewise.
21939 [!gnulib] (static-gnulib-arch): Likewise.
21940 [!gnulib] (static-gnulib-tests): Likewise.
21941 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21942 Define with "=" instead of ":=".
21943 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21944 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21945 * Rules (binaries-all-notests): New variable.
21946 (binaries-all-tests): Likewise.
21947 (binaries-static-notests): Likewise.
21948 (binaries-static-tests): Likewise.
21949 (binaries-all): Define using $(binaries-all-notests) and
21950 $(binaries-all-tests).
21951 (binaries-static): Define using $(binaries-static-notests) and
21952 $(binaries-static-tests).
21953 (binaries-shared-tests): New variable.
21954 (binaries-shared-notests): Likewise.
21955 (binaries-shared): Remove variable.
21956 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21957 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21958 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21959 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21960 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21961 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21962 * elf/Makefile (sln-modules): New variable.
21963 (extra-objs): Add $(sln-modules:=.o).
21964 (ldconfig-modules): Add static-stubs.
21965 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21966 * elf/static-stubs.c: New file.
21967
21968 [BZ #14283]
21969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21970 by 7 not 8 to examine high bit of fractional part. Use volatile
21971 variables when splitting into final array of floats if
21972 __FLT_EVAL_METHOD__ != 0.
21973 * math/libm-test.inc (cos_test): Add another test.
21974 (sin_test): Likewise.
21975 * sysdeps/i386/fpu/libm-test-ulps: Update.
21976
21977 [BZ #14273]
21978 * math/libm-test.inc (cosh_test): Add more tests.
21979
21980 * version.h (RELEASE): Set to "development".
21981 (VERSION): Set to "2.16.90".
21982
21983 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21984
21985 * NEWS: Update copyright. Remove last-updated date.
21986 Mention math library bug fixes and timezone data changes.
21987 * README: Mention GNU/Hurd, x32, and HPPA support status.
21988
21989 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21990
21991 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21992
21993 2012-06-27 Andreas Jaeger <aj@suse.de>
21994
21995 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21996
21997 2012-06-25 Andreas Jaeger <aj@suse.de>
21998
21999 * sysdeps/s390/fpu/libm-test-ulps: Update.
22000
22001 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22002 Thomas Schwinge <thomas@codesourcery.com>
22003
22004 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22005 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22007 fanotify_mark.
22008
22009 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22010
22011 * sysdeps/mach/start.c: Remove file.
22012 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22013 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22014 * sysdeps/sh/init-first.c: Likewise.
22015
22016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22017 registers for frame unwinding purposes, add CFI directives.
22018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22020 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22021 Likewise.
22022
22023 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22024 __fortify_fail returning.
22025 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22026
22027 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22028 sysdeps/sh/____longjmp_chk.S.
22029 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22030 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22031 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22032 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22033
22034 * sysdeps/sh/abort-instr.h: New file.
22035 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22036 process in case exit returns.
22037
22038 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22039 initialize the GOT register before use.
22040
22041 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22042 calculation of ARGC > 4.
22043
22044 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22045 meaningful names to some local labels.
22046
22047 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22048 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22049
22050 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22051 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22052 (__arch_compare_and_exchange_val_16_acq): Likewise.
22053 (__arch_compare_and_exchange_val_32_acq): Likewise.
22054 (atomic_exchange_and_add): Fix gUSA sequence.
22055 (atomic_add): Likewise.
22056 (atomic_add_negative): Likewise.
22057 (atomic_add_zero): Likewise.
22058 (atomic_bit_test_set): Likewise.
22059
22060 2012-06-22 Andreas Schwab <schwab@redhat.com>
22061
22062 [BZ #13579]
22063 * include/link.h (struct link_map): Add l_free_initfini.
22064 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22065 l_initfini.
22066 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22067 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22068 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22069 set.
22070
22071 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22072
22073 * configure.in: Use AC_LANG_SOURCE.
22074 * configure: Regenerate.
22075
22076 2012-06-22 Roland McGrath <roland@hack.frob.com>
22077
22078 * configure.in (libc_cv_localstatedir): New substituted variable.
22079 * configure: Regenerated.
22080 * config.make.in (localstatedir): New variable, substituted from
22081 libc_cv_localstatedir.
22082 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22083 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22084 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22085 * sysdeps/gnu/configure: Regenerated.
22086
22087 2012-06-21 Jeff Law <law@redhat.com>
22088
22089 [BZ #14277]
22090 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22091 free. Simplify list management for _LIBC case.
22092
22093 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22094
22095 [BZ #14273]
22096 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22097 Clear sign bit of 64-bit integer value before comparing against
22098 overflow value.
22099
22100 * sysdeps/mach/configure: Regenerated.
22101
22102 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22103
22104 [BZ #14278]
22105 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22106
22107 2012-06-21 Jeff Law <law@redhat.com>
22108
22109 [BZ #13882]
22110 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22111 uint16_t for elements in the "seen" array to avoid char overflows.
22112 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22113 * elf/dl-open.c (dl_open_worker): Likewise.
22114
22115 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22116
22117 * scripts/list-sources.sh: Scan PORTS for translations.
22118 * po/libc.pot: Regenerated.
22119
22120 2012-06-21 Andreas Jaeger <aj@suse.de>
22121
22122 [BZ #12194]
22123 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22124 warning.
22125 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22126 * bits/byteswap-16.h (__bswap_16): Likewise.
22127 * bits/byteswap.h (__bswap_constant_16): Likewise.
22128
22129 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 [BZ #14117]
22132 * sysdeps/i386/fpu_control.h: Removed.
22133 * sysdeps/x86_64/fpu_control.h: Moved to ...
22134 * sysdeps/x86/fpu_control.h: Here.
22135
22136 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22137 (_FPU_SETCW): Likewise.
22138
22139 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22140
22141 [BZ #14117]
22142 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22143 * sysdeps/x86/fpu/bits/mathinline.h: This.
22144 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22145
22146 [BZ #14050]
22147 [BZ #14117]
22148 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22149 functions if __x86_64__ is defined.
22150
22151 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22152
22153 * string/endian.h: Add !__ASSEMBLER__ condition for including
22154 conversion interfaces.
22155
22156 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22157
22158 [BZ #14241]
22159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22160 of ABS(x) in calculating zero to negative powers other than odd
22161 integers.
22162 * math/libm-test.inc (pow_test): Add more tests.
22163
22164 2012-06-15 Andreas Jaeger <aj@suse.de>
22165
22166 * manual/contrib.texi (Contributors): Update entry of Liubov
22167 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22168 Machado Filho.
22169
22170 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22171
22172 * string/string.h: Add __wur to GNU version of strerror_r.
22173
22174 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22175
22176 [BZ #14229]
22177 * string/Makefile (tests): Add tst-strtok_r.
22178 * string/tst-strtok_r.c: New file.
22179 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22180 RAX_LP/RDX_LP on SAVE_PTR.
22181
22182 2012-06-14 Roland McGrath <roland@hack.frob.com>
22183
22184 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22185
22186 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22187
22188 * libm_test.inc (csqrt_test): Allow more spurious underflow
22189 exceptions.
22190 (j0_test): Likewise.
22191 (j1_test): Likewise.
22192 (y0_test): Likewise.
22193 (y1_test): Likewise.
22194
22195 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22196
22197 * po/Makefile (libc.pot): Use UTF-8 charset.
22198
22199 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22200
22201 [BZ #14210]
22202 Suppress sign-conversion warning from FD_SET.
22203 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22204 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22205 not unsigned long int.
22206 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22207
22208 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22209
22210 [BZ #14050]
22211 [BZ #14117]
22212 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22213 __extern_always_inline instead of __extern_inline.
22214 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22215 (__signbit): Likewise.
22216 (__signbitl): Support C++ namespace.
22217 (lrintf): New inline function.
22218 (lrint): Likewise.
22219 (llrintf): Likewise.
22220 (llrint): Likewise.
22221 (fmaxf): Likewise.
22222 (fmax): Likewise.
22223 (fminf): Likewise.
22224 (fmin): Likewise.
22225 (rint): Likewise.
22226 (rintf): Likewise.
22227 (ceil): Likewise.
22228 (ceilf): Likewise.
22229 (floor): Likewise.
22230 (floorf): Likewise.
22231 (nearbyint): Likewise.
22232 (nearbyintf): Likewise.
22233
22234 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22235
22236 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22237 non-default versions.
22238
22239 2012-06-11 Roland McGrath <roland@hack.frob.com>
22240
22241 [BZ #14218]
22242 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22243
22244 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22245
22246 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22247 (FE_UPWARD, FE_DOWNWARD): Don't define.
22248 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22249 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22250
22251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22252 reading it.
22253 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22254 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22255
22256 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22257
22258 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22260 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22261 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22262
22263 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22264
22265 [BZ #14117]
22266 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22267 * sysdeps/i386/fpu/Implies: New file.
22268 * sysdeps/x86_64/fpu/Implies: Likewise.
22269 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22270 * sysdeps/x86/fpu/bits/fenv.h: This.
22271
22272 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22273 __SSE_MATH__.
22274
22275 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22276
22277 [BZ #14134]
22278 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22279 character 0xffff that matches the last element of the
22280 conversion table.
22281
22282 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22283
22284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22285 fmodl commit.
22286
22287 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22288
22289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22290 values higher than 25.6283.
22291
22292 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22293
22294 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22295 subnormal exponent extraction and add some __builtin_expect.
22296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22297 Fix for subnormal mantissa calculation.
22298
22299 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22300
22301 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22302 cpu2 is -1 and errno is not ENOSYS.
22303
22304 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22305
22306 [BZ #14117]
22307 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22308 * sysdeps/x86/bits/string.h: This.
22309 * sysdeps/x86_64/bits/string.h: Removed.
22310
22311 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22312 if not compiling for x86-64, but compiling for >= i486.
22313
22314 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22315 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22316
22317 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22318 New macro from Linux kernel 3.4.0.
22319 (FP_XSTATE_MAGIC2): Likewise.
22320 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22321 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22322 (struct _fpx_sw_bytes): New struct.
22323 (struct _xsave_hdr): Likewise.
22324 (struct _ymmh_state): Likewise.
22325 (struct _xstate): Likewise.
22326
22327 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22328 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22329 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22330 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22332 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22333
22334 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22335 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22336 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22337 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22338 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22339 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22340
22341 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22342
22343 [BZ #13743]
22344 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22345 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22346 (sysdep_headers): Include sys/platform/ppc.h.
22347 * sysdeps/powerpc/test-gettimebase.c: Test for
22348 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22349 * manual/Makefile (appendices): Include platform.texi.
22350 * manual/contrib.texi (Contributors): Update @node pointers.
22351 * manual/maint.texi (Maintenance): Likewise.
22352 (Platform): New node.
22353 * manual/platform.texi: New file. Document the new features.
22354
22355 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22356 Jakub Jelinek <jakub@redhat.com>
22357
22358 [BZ #14188]
22359 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22360 where __builtin_expect is unavailable.
22361
22362 2012-06-03 David S. Miller <davem@davemloft.net>
22363
22364 * stdlib/longlong.h: Updated from GCC.
22365
22366 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22367
22368 [BZ #14042]
22369 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22370 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22371 __mcount_internal.
22372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22373 (GLIBC_2.16): Likewise.
22374
22375 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22376
22377 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22378
22379 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22380
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22382 (default-abi): New variable.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22384 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22385 variable.
22386 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22387 Likewise.
22388 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22389 Likewise.
22390 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22391 Likewise.
22392
22393 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22394 definition. Document in comment.
22395
22396 2012-06-01 David S. Miller <davem@davemloft.net>
22397
22398 * stdlib/longlong.h: Updated from GCC.
22399
22400 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 [BZ #14117]
22403 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22404 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22405 sys/debugreg.h sys/io.h here.
22406 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22407 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22408 sys/io.h.
22409 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22410 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22411 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22412 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22413 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22414 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22415
22416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22417 Define only if __x86_64__ is defined.
22418
22419 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22420
22421 [BZ #14048]
22422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22423 Use int64_t for variable i.
22424 * math/libm-test.inc (fmod_test): Add more tests.
22425
22426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22427 z computation is not scheduled after fetestexcept.
22428 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22429 Use math_force_eval instead of asm to ensure calculation scheduled
22430 before exception test.
22431 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22432 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22433
22434 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22435
22436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22437 computation is not scheduled after fetestexcept.
22438
22439 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22440
22441 [BZ #14117]
22442 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22443 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22444
22445 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22446
22447 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22448 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22449
22450 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22451
22452 [BZ #14117]
22453 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22454 <bits/wordsize.h>.
22455 (__WCHAR_MIN): Support __WORDSIZE == 64.
22456 (__WCHAR_MAX): Likewise.
22457
22458 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22460
22461 [BZ #14183]
22462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22463 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22464
22465 [BZ #14117]
22466 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22467 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22468
22469 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22470 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22471
22472 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22473 Defined to 1 if __x86_64__ isn't defined.
22474 (_STAT_VER_LINUX_OLD): New.
22475 (st_atime): Remove duplicate.
22476 (st_mtime): Likewise.
22477 (st_ctime): Likewise.
22478
22479 2012-05-31 David S. Miller <davem@davemloft.net>
22480
22481 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22482 entries.
22483
22484 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22485
22486 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22487 gen-libm-test.pl.
22488
22489 [BZ #14132]
22490 * elf/dl-reloc.c: Include <_itoa.h>.
22491 (_dl_reloc_bad_type): Remove use of INTUSE.
22492 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22493 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22494 * stdio-common/psiginfo.c (psiginfo): Likewise.
22495 * stdio-common/psignal.c (psignal): Likewise.
22496 * string/strsignal.c (strsignal): Likewise.
22497 * include/signal.h (_sys_siglist): Declare hidden proto.
22498 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22499 INTVARDEF with libc_hidden_data_def.
22500 * stdio-common/itoa-udigits.c: Likewise.
22501 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22502 (_itoa_lower_digits_internal): Remove declaration.
22503 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22504 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22505 (_sys_sigabbrev_internal): Remove aliases.
22506 (_sys_siglist): Define hidden alias.
22507
22508 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22509
22510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22511 bits/sysctl.h.
22512
22513 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22514
22515 [BZ #14117]
22516 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22517 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22518
22519 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22520 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22521 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22522 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22524 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22525
22526 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22527 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22528 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22529
22530 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22531 with __addr.
22532 (insw): Likewise.
22533 (insl): Likewise.
22534 (outsb): Likewise.
22535 (outsw): Likewise.
22536 (outsl): Likewise.
22537
22538 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22539 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22540 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22541
22542 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22543 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22544 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22545 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22546 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22547 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22548
22549 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22550 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22551
22552 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22553 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22554
22555 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22557 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22558
22559 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22560 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22561 to ...
22562 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22563
22564 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22565 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22566 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22567
22568 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22569 for x86-64.
22570 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22571
22572 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22573
22574 * math/math.h (M_El): Use two more decimal places.
22575 (M_LOG2El): Likewise.
22576 (M_LOG10El): Likewise.
22577 (M_LN2l): Likewise.
22578 (M_LN10l): Likewise.
22579 (M_PIl): Likewise.
22580 (M_PI_2l): Likewise.
22581 (M_PI_4l): Likewise.
22582 (M_1_PIl): Likewise.
22583 (M_2_PIl): Likewise.
22584 (M_2_SQRTPIl): Likewise.
22585 (M_SQRT2l): Likewise.
22586 (M_SQRT1_2l): Likewise.
22587
22588 2012-05-31 David S. Miller <davem@davemloft.net>
22589
22590 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22591 values between float registers.
22592 * sysdeps/sparc/sparc64/memset.S: Likewise.
22593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22594
22595 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22596
22597 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22598 -D_FORTIFY_SOURCE=1.
22599 (CPPFLAGS-tst-longjmp_chk.c): Define.
22600 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22601 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22602 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22603 CFLAGS-tst-wchar-h.c.
22604
22605 2012-05-31 Marek Polacek <polacek@redhat.com>
22606
22607 [BZ #14132]
22608 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22609 __endmntent_internal): Remove declaration.
22610 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22611 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22612 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22613
22614 2012-05-30 David S. Miller <davem@davemloft.net>
22615
22616 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22617 (___Q_simulate_exceptions): Use real FP ops rather than writing
22618 into the %fsr.
22619 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22620 Likewise.
22621
22622 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 [BZ #14117]
22625 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22626 * sysdeps/x86/bits/xtitypes.h: This.
22627
22628 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22629 * sysdeps/x86/bits/wordsize.h: This.
22630
22631 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22632 * sysdeps/x86/bits/huge_vall.h: This.
22633
22634 * sysdeps/i386/bits/select.h: Removed.
22635 * sysdeps/x86_64/bits/select.h: Renamed to ...
22636 * sysdeps/x86/bits/select.h: This.
22637
22638 * sysdeps/i386/bits/setjmp.h: Removed.
22639 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22640 * sysdeps/x86/bits/setjmp.h: This.
22641
22642 * sysdeps/i386/bits/mathdef.h: Removed.
22643 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22644 * sysdeps/x86/bits/mathdef.h: This.
22645
22646 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22647
22648 [BZ #14132]
22649 * include/sys/socket.h (__connect_internal)
22650 (__libc_sa_len_internal): Remove declaration.
22651 (__connect, __libc_sa_len): Declare hidden_proto.
22652 (SA_LEN): Remove use of INTUSE.
22653 * socket/connect.c: Add libc_hidden_def.
22654 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22655 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22656 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22657 alias.
22658 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22659 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22660 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22661 of adding _internal alias.
22662
22663 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22664
22665 [BZ #14117]
22666 * sysdeps/i386/bits/link.h: Removed.
22667 * sysdeps/i386/bits/linkmap.h: Likewise.
22668 * sysdeps/x86_64/bits/link.h: Renamed to ...
22669 * sysdeps/x86/bits/link.h: This.
22670 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22671 * sysdeps/x86/bits/linkmap.h: This.
22672
22673 * sysdeps/i386/bits/endian.h: Removed.
22674 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22675 * sysdeps/x86/bits/endian.h: This.
22676
22677 * sysdeps/i386/bits/byteswap.h: Removed.
22678 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22679 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22680 * sysdeps/x86/bits/byteswap.h: This.
22681 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22682 * sysdeps/x86/bits/byteswap-16.h: This.
22683 * sysdeps/i386/Implies: Add x86.
22684 * sysdeps/x86_64/Implies: Likewise.
22685
22686 2012-05-30 David S. Miller <davem@davemloft.net>
22687
22688 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22689 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22690 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22691 (FP_TRAPPING_EXCEPTIONS): Define.
22692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22693 (FP_TRAPPING_EXCEPTIONS): Define.
22694 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22695 subnormals only when inexact has been signalled or underflow
22696 exceptions are enabled.
22697 (_FP_PACK_CANONICAL): Likewise.
22698
22699 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22700
22701 [BZ #14183]
22702 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22703 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22704
22705 2012-05-30 Richard Henderson <rth@twiddle.net>
22706
22707 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22708 with #ifndef NOT_IN_libc.
22709
22710 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22711 marked to avoid plt entry.
22712
22713 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22714
22715 [BZ #14112]
22716 * Makeconfig (default-abi): New macro.
22717 (abi-includes): Likewise.
22718 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22719 $(abi-$(default-abi)-lib-soname) for soname if defined.
22720 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22721 abi-variants.
22722 * Makefile (installed-stubs): Likewise.
22723 * include/stubs-biarch.h: Removed.
22724 * scripts/lib-names.awk: Only handle one library at a time.
22725 * scripts/soversions.awk: Remove WORDSIZE support.
22726 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22727 entries.
22728 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22729 Removed.
22730 (syscall-list-default-condition): Likewise.
22731 (syscall-list-default-condition): Likewise.
22732 (syscall-list-includes): Likewise.
22733 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22734 syscall-list-* with abi-*. Handle undefined abi-variants.
22735 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22736 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22737 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22738 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22739 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22740 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22741 Removed.
22742 (syscall-list-32-options): Likewise.
22743 (syscall-list-32-condition): Likewise.
22744 (syscall-list-64-options): Likewise.
22745 (syscall-list-64-condition): Likewise.
22746 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22747 macro.
22748 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22749 Renamed to ...
22750 (abi-*): This.
22751 (abi-64-ld-soname): New macro.
22752 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22753 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22754 Renamed to ...
22755 (abi-*): This.
22756 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22757 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22758
22759 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22760
22761 * sysdeps/unix/sysv/linux/kernel-features.h
22762 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22763 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22764 include <kernel-features.h>.
22765 [!__NR_ftruncate64]: Remove conditional code.
22766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22767 [__NR_ftruncate64]: Make code unconditional.
22768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22769 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22770 include <kernel-features.h>.
22771 [!__NR_ftruncate64]: Remove conditional code.
22772 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22773 [__NR_ftruncate64]: Make code unconditional.
22774 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22776 include <kernel-features.h>.
22777 [!__NR_ftruncate64]: Remove conditional code.
22778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22779 [__NR_ftruncate64]: Make code unconditional.
22780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22782 include <kernel-features.h>.
22783 [!__NR_ftruncate64]: Remove conditional code.
22784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22785 [__NR_ftruncate64]: Make code unconditional.
22786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22787
22788 * configure.in (libc_cv_fpie): Weaken to a compile test using
22789 LIBC_TRY_CC_OPTION.
22790 * configure: Regenerated.
22791
22792 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22793
22794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22798 Refreshed.
22799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22805 Refreshed.
22806
22807 2012-05-27 David S. Miller <davem@davemloft.net>
22808
22809 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22810 (___Q_zero): New.
22811 (__Q_simulate_exceptions): Return void. Change to simulate
22812 exceptions by writing into the %fsr.
22813 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22814 (__Qp_handle_exceptions): Likewise.
22815 (numbers): Delete.
22816 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22817 __Qp_handle_exceptions.
22818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22819 __Qp_handle_exceptions.
22820 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22821 as unused and give dummy FP_RND_NEAREST initializer.
22822 (FP_INHIBIT_RESULTS): Define.
22823 (___Q_simulate_exceptions): Update declaration.
22824 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22825 formatting.
22826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22827 as unused and give dummy FP_RND_NEAREST initializer.
22828 (__Qp_handle_exceptions): Update declaration.
22829 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22830 formatting.
22831
22832 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22833
22834 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22835 the temporary FPU control word.
22836 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22837 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22838 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22839 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22840 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22842 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22843 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22844 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22845 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22846 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22847
22848 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22849
22850 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22851 fields.
22852
22853 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22854
22855 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22856 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22857 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22858 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22859 Likewise.
22860 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22861 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22862 Likewise.
22863
22864 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22865
22866 * po/h.po: Update from translation team.
22867
22868 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22869
22870 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22871
22872 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22873 handling of denormals.
22874 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22875 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22876 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22877 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22881 Likewise.
22882
22883 2012-05-26 Marek Polacek <polacek@redhat.com>
22884
22885 [BZ #14152]
22886 * math/libm-test.inc (fma_test): Don't always expect underflow
22887 exception.
22888
22889 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22890
22891 [BZ #12416]
22892 * elf/tst-execstack.c: Include stackinfo.h.
22893 (do_test): Adjust test case to ensure that pthread_getattr_np
22894 behaviour remains the same after marking stack executable.
22895
22896 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22897
22898 * sysdeps/unix/sysv/linux/kernel-features.h
22899 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22900 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22901 kernel-features.h.
22902 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22903 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22904 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22905 kernel-features.h.
22906 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22907 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22908
22909 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 * configure.in: Define the default includes to being none.
22912 * configure: Regenerated.
22913
22914 2012-05-25 Roland McGrath <roland@hack.frob.com>
22915
22916 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22917 * sysdeps/x86_64/setjmp.S: Likewise.
22918 * sysdeps/i386/bsd-setjmp.S: Likewise.
22919 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22920 * sysdeps/i386/setjmp.S: Likewise.
22921 * sysdeps/i386/__longjmp.S: Likewise.
22922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22923 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22924
22925 * include/stap-probe.h: New file.
22926 * configure.in: Handle --enable-systemtap.
22927 * configure: Regenerated.
22928 * config.h.in (USE_STAP_PROBE): New #undef.
22929 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22930 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22931 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22932
22933 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22934
22935 [BZ #13717]
22936 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22937 to 2.4.0 where earlier.
22938 * sysdeps/unix/sysv/linux/configure: Regenerated.
22939 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22940 <kernel-features.h>.
22941 [__ASSUME_32BITUIDS]: Make code unconditional.
22942 [!__ASSUME_32BITUIDS]: Remove conditional code.
22943 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22944 <kernel-features.h>.
22945 [__ASSUME_32BITUIDS]: Make code unconditional.
22946 [!__ASSUME_32BITUIDS]: Remove conditional code.
22947 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22948 [__ASSUME_32BITUIDS]: Make code unconditional.
22949 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22950 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22951 <kernel-features.h>.
22952 [__ASSUME_32BITUIDS]: Make code unconditional.
22953 [!__ASSUME_32BITUIDS]: Remove conditional code.
22954 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22955 <kernel-features.h>.
22956 [__ASSUME_32BITUIDS]: Make code unconditional.
22957 [!__ASSUME_32BITUIDS]: Remove conditional code.
22958 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22959 <kernel-features.h>.
22960 [__ASSUME_32BITUIDS]: Make code unconditional.
22961 [!__ASSUME_32BITUIDS]: Remove conditional code.
22962 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22963 <kernel-features.h>.
22964 [__ASSUME_32BITUIDS]: Make code unconditional.
22965 [!__ASSUME_32BITUIDS]: Remove conditional code.
22966 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22967 <kernel-features.h>.
22968 [__ASSUME_32BITUIDS]: Make code unconditional.
22969 [!__ASSUME_32BITUIDS]: Remove conditional code.
22970 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22971 <kernel-features.h>.
22972 [__ASSUME_32BITUIDS]: Make code unconditional.
22973 [!__ASSUME_32BITUIDS]: Remove conditional code.
22974 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22975 <kernel-features.h>.
22976 [__ASSUME_32BITUIDS]: Make code unconditional.
22977 [!__ASSUME_32BITUIDS]: Remove conditional code.
22978 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22979 <kernel-features.h>.
22980 [__ASSUME_32BITUIDS]: Make code unconditional.
22981 [!__ASSUME_32BITUIDS]: Remove conditional code.
22982 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22983 <kernel-features.h>.
22984 [__ASSUME_32BITUIDS]: Make code unconditional.
22985 [!__ASSUME_32BITUIDS]: Remove conditional code.
22986 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22987 <kernel-features.h>.
22988 [__ASSUME_32BITUIDS]: Make code unconditional.
22989 [!__ASSUME_32BITUIDS]: Remove conditional code.
22990 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22991 <kernel-features.h>.
22992 [__NR_setresgid] (__setresgid): Do not declare.
22993 [__ASSUME_32BITUIDS]: Make code unconditional.
22994 [!__ASSUME_32BITUIDS]: Remove conditional code.
22995 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22996 <kernel-features.h>.
22997 [__NR_setresuid] (__setresuid): Do not declare.
22998 [__ASSUME_32BITUIDS]: Make code unconditional.
22999 [!__ASSUME_32BITUIDS]: Remove conditional code.
23000 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23001 <kernel-features.h>.
23002 [__ASSUME_32BITUIDS]: Make code unconditional.
23003 [!__ASSUME_32BITUIDS]: Remove conditional code.
23004 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23005 <kernel-features.h>.
23006 [__ASSUME_32BITUIDS]: Make code unconditional.
23007 [!__ASSUME_32BITUIDS]: Remove conditional code.
23008 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23009 <kernel-features.h>.
23010 [__ASSUME_32BITUIDS]: Make code unconditional.
23011 [!__ASSUME_32BITUIDS]: Remove conditional code.
23012 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23013 <kernel-features.h>.
23014 [__ASSUME_32BITUIDS]: Make code unconditional.
23015 [!__ASSUME_32BITUIDS]: Remove conditional code.
23016 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23017 <kernel-features.h>.
23018 [__ASSUME_32BITUIDS]: Make code unconditional.
23019 [!__ASSUME_32BITUIDS]: Remove conditional code.
23020 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23021 <kernel-features.h>.
23022 [__ASSUME_32BITUIDS]: Make code unconditional.
23023 [!__ASSUME_32BITUIDS]: Remove conditional code.
23024 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23025 <kernel-features.h>.
23026 [__ASSUME_32BITUIDS]: Make code unconditional.
23027 [!__ASSUME_32BITUIDS]: Remove conditional code.
23028 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23029 <kernel-features.h>.
23030 [__ASSUME_32BITUIDS]: Make code unconditional.
23031 [!__ASSUME_32BITUIDS]: Remove conditional code.
23032 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23033 <kernel-features.h>.
23034 [__ASSUME_32BITUIDS]: Make code unconditional.
23035 [!__ASSUME_32BITUIDS]: Remove conditional code.
23036 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23037 <kernel-features.h>.
23038 [__ASSUME_32BITUIDS]: Make code unconditional.
23039 [!__ASSUME_32BITUIDS]: Remove conditional code.
23040 * sysdeps/unix/sysv/linux/kernel-features.h
23041 (__ASSUME_SETRESUID_SYSCALL): Remove.
23042 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23043 (__ASSUME_32BITUIDS): Likewise.
23044 (__ASSUME_LDT_WORKS): Likewise.
23045 (__ASSUME_O_DIRECTORY): Likewise.
23046 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23047 architecture but not kernel version.
23048 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23049 (__ASSUME_MMAP2_SYSCALL): Likewise.
23050 (__ASSUME_STAT64_SYSCALL): Likewise.
23051 (__ASSUME_IPC64): Likewise.
23052 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23053 <kernel-features.h>.
23054 [__ASSUME_32BITUIDS]: Make code unconditional.
23055 [!__ASSUME_32BITUIDS]: Remove conditional code.
23056 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23057 <kernel-features.h>.
23058 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23059 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23060 132096]: Remove conditional code.
23061 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23062 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23063 <kernel-features.h>.
23064 [__ASSUME_32BITUIDS]: Make code unconditional.
23065 [!__ASSUME_32BITUIDS]: Remove conditional code.
23066 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23067 <kernel-features.h>.
23068 [__ASSUME_32BITUIDS]: Make code unconditional.
23069 [!__ASSUME_32BITUIDS]: Remove conditional code.
23070 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23071 <kernel-features.h>.
23072 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23073 unconditional.
23074 (__setresgid): Do not declare.
23075 [__ASSUME_32BITUIDS]: Make code unconditional.
23076 [!__ASSUME_32BITUIDS]: Remove conditional code.
23077 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23078 <kernel-features.h>.
23079 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23080 unconditional.
23081 (__setresuid): Do not declare.
23082 [__ASSUME_32BITUIDS]: Make code unconditional.
23083 [!__ASSUME_32BITUIDS]: Remove conditional code.
23084 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23085 <kernel-features.h>.
23086 [__ASSUME_32BITUIDS]: Make code unconditional.
23087 [!__ASSUME_32BITUIDS]: Remove conditional code.
23088 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23089 <kernel-features.h>.
23090 [__ASSUME_32BITUIDS]: Make code unconditional.
23091 [!__ASSUME_32BITUIDS]: Remove conditional code.
23092
23093 2012-05-25 Richard Henderson <rth@twiddle.net>
23094
23095 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23096 dl_hwcap to ifunc resolver.
23097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23098 elf_ifunc_invoke.
23099 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23100 dl_hwcap to ifunc resolver.
23101 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23102
23103 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23104
23105 [BZ #14153]
23106 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23107 for |x| <= 2**-26, not 2**-57.
23108 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23109 exception.
23110
23111 2012-05-24 Jeff Law <law@redhat.com>
23112
23113 * stdio-common/Makefile (tests): Add bug25.
23114 * stdio-common/bug25.c: New test.
23115
23116 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23117
23118 [BZ #13576]
23119 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23120 multiple of MALLOC_ALIGNMENT in size.
23121 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23122
23123 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23124
23125 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23126 Require >= 256.
23127 (FILENAME_MAX): Use macro-int-constant.
23128 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23129 (_IOFBF): Use macro-int-constant.
23130 (_IOLBF): Likewise.
23131 (_IONBF): Likewise.
23132 (SEEK_CUR): Likewise.
23133 (SEEK_END): Likewise.
23134 (SEEK_SET): Likewise.
23135 (TMP_MAX): Likewise.
23136 (EOF): Use macro-int-constant. Require < 0.
23137 (NULL): Use macro-constant. Require == 0.
23138 (stdin): Require type to be FILE *.
23139 (stdout): Likewise.
23140 (stderr): Likewise.
23141 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23142 macro-int-constant.
23143 (EXIT_SUCCESS): Likewise.
23144 (NULL): Use macro-constant. Require == 0.
23145 (RAND_MAX): Use macro-int-constant.
23146 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23147 [C99-based standards] (strtof): Require function.
23148 [C99-based standards] (strtold): Likewise.
23149 [C99-based standards] (strtoll): Likewise.
23150 [C99-based standards] (strtoull): Likewise.
23151 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23152 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23153 [ISO || ISO99 || ISO11] (math.h): Likewise.
23154 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23155 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23156 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23157
23158 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23159
23160 [BZ #14132]
23161 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23162 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23163 * intl/dgettext.c (DCGETTEXT): Likewise.
23164 * intl/gettext.c (DCGETTEXT): Likewise.
23165 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23166 * posix/regex_internal.h (gettext): Likewise.
23167 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23168 Remove declaration.
23169 * include/argz.h (__argz_count_internal)
23170 (__argz_stringify_internal): Remove declaration.
23171 (__argz_count, __argz_stringify): Declare hidden proto.
23172 * intl/dcgettext.c: Remove use of INTDEF.
23173 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23174 * string/argz-stringify.c: Likewise.
23175 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23176 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23177 Declare hidden proto.
23178 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23179 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23180 Declare hidden proto.
23181 * include/stdio.h (__asprintf_internal): Don't declare.
23182 (__asprintf): Don't define as macro. Declare hidden proto.
23183 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23184 (__fsetlocking): Declare hidden proto.
23185 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23186 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23187 hidden proto.
23188 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23189 (_IO_setlinebuf): Remove use of INTUSE.
23190 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23191 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23192 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23193 Remove declaration.
23194 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23195 (_IO_do_flush): Remove use of INTUSE.
23196 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23197 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23198 (_IO_adjust_column, _IO_least_wmarker)
23199 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23200 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23201 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23202 (_IO_default_doallocate, _IO_wdefault_doallocate)
23203 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23204 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23205 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23206 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23207 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23208 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23209 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23210 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23211 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23212 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23213 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23214 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23215 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23216 proto.
23217 (_IO_flush_all_internal, _IO_adjust_column_internal)
23218 (_IO_default_uflow_internal, _IO_default_finish_internal)
23219 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23220 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23221 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23222 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23223 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23224 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23225 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23226 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23227 (_IO_file_close_internal, _IO_file_close_it_internal)
23228 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23229 (_IO_file_init_internal, _IO_file_attach_internal)
23230 (_IO_file_fopen_internal, _IO_file_read_internal)
23231 (_IO_file_sync_internal, _IO_file_seek_internal)
23232 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23233 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23234 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23235 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23236 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23237 (_IO_list_all_internal, _IO_link_in_internal)
23238 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23239 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23240 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23241 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23242 (_IO_do_write_internal, _IO_padn_internal)
23243 (_IO_getline_info_internal, _IO_getline_internal)
23244 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23245 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23246 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23247 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23248 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23249 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23250 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23251 with libc_hidden_ver, remove use of INTUSE.
23252 * libio/genops.c: Likewise.
23253 * libio/freopen.c: Likewise.
23254 * libio/freopen64.c: Likewise.
23255 * libio/iofclose.c: Likewise.
23256 * libio/iofdopen.c: Likewise.
23257 * libio/iofflush.c: Likewise.
23258 * libio/iofflush_u.c: Likewise.
23259 * libio/iofgets.c: Likewise.
23260 * libio/iofgets_u.c: Likewise.
23261 * libio/iofopen.c: Likewise.
23262 * libio/iofopncook.c: Likewise.
23263 * libio/iofread.c: Likewise.
23264 * libio/iofread_u.c: Likewise.
23265 * libio/ioftell.c: Likewise.
23266 * libio/iofwrite.c: Likewise.
23267 * libio/iogetline.c: Likewise.
23268 * libio/iogets.c: Likewise.
23269 * libio/iogetwline.c: Likewise.
23270 * libio/iopadn.c: Likewise.
23271 * libio/iopopen.c: Likewise.
23272 * libio/ioseekoff.c: Likewise.
23273 * libio/ioseekpos.c: Likewise.
23274 * libio/iosetbuffer.c: Likewise.
23275 * libio/iosetvbuf.c: Likewise.
23276 * libio/ioungetc.c: Likewise.
23277 * libio/ioungetwc.c: Likewise.
23278 * libio/iovdprintf.c: Likewise.
23279 * libio/iovsprintf.c: Likewise.
23280 * libio/iovsscanf.c: Likewise.
23281 * libio/memstream.c: Likewise.
23282 * libio/obprintf.c: Likewise.
23283 * libio/oldfileops.c: Likewise.
23284 * libio/oldiofclose.c: Likewise.
23285 * libio/oldiofdopen.c: Likewise.
23286 * libio/oldiofopen.c: Likewise.
23287 * libio/oldiopopen.c: Likewise.
23288 * libio/oldstdfiles.c: Likewise.
23289 * libio/putc.c: Likewise.
23290 * libio/setbuf.c: Likewise.
23291 * libio/setlinebuf.c: Likewise.
23292 * libio/stdfiles.c: Likewise.
23293 * libio/strops.c: Likewise.
23294 * libio/vasprintf.c: Likewise.
23295 * libio/vscanf.c: Likewise.
23296 * libio/vsnprintf.c: Likewise.
23297 * libio/vswprintf.c: Likewise.
23298 * libio/wfiledoalloc.c: Likewise.
23299 * libio/wfileops.c: Likewise.
23300 * libio/wgenops.c: Likewise.
23301 * libio/wmemstream.c: Likewise.
23302 * libio/wstrops.c: Likewise.
23303 * libio/__fpurge.c: Likewise.
23304 * libio/__fsetlocking.c: Likewise.
23305 * assert/assert.c: Likewise.
23306 * debug/fgets_chk.c: Likewise.
23307 * debug/fgets_u_chk.c: Likewise.
23308 * debug/fread_chk.c: Likewise.
23309 * debug/fread_u_chk.c: Likewise.
23310 * debug/gets_chk.c: Likewise.
23311 * debug/obprintf_chk.c: Likewise.
23312 * debug/vasprintf_chk.c: Likewise.
23313 * debug/vdprintf_chk.c: Likewise.
23314 * debug/vsnprintf_chk.c: Likewise.
23315 * debug/vsprintf_chk.c: Likewise.
23316 * malloc/mtrace.c: Likewise.
23317 * misc/error.c: Likewise.
23318 * misc/syslog.c: Likewise.
23319 * stdio-common/asprintf.c: Likewise.
23320 * stdio-common/fxprintf.c: Likewise.
23321 * stdio-common/getw.c: Likewise.
23322 * stdio-common/isoc99_fscanf.c: Likewise.
23323 * stdio-common/isoc99_scanf.c: Likewise.
23324 * stdio-common/isoc99_vfscanf.c: Likewise.
23325 * stdio-common/isoc99_vscanf.c: Likewise.
23326 * stdio-common/isoc99_vsscanf.c: Likewise.
23327 * stdio-common/printf-prs.c: Likewise.
23328 * stdio-common/printf_fp.c: Likewise.
23329 * stdio-common/printf_fphex.c: Likewise.
23330 * stdio-common/printf_size.c: Likewise.
23331 * stdio-common/putw.c: Likewise.
23332 * stdio-common/scanf.c: Likewise.
23333 * stdio-common/sprintf.c: Likewise.
23334 * stdio-common/tmpfile.c: Likewise.
23335 * stdio-common/vfprintf.c: Likewise.
23336 * stdio-common/vfscanf.c: Likewise.
23337 * stdlib/strfmon_l.c: Likewise.
23338 * sunrpc/openchild.c: Likewise.
23339 * sunrpc/xdr_stdio.c: Likewise.
23340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23341 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23342
23343 2012-05-24 Roland McGrath <roland@hack.frob.com>
23344
23345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23346
23347 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23348 in the third column, to generate for the shared library an IFUNC
23349 that uses _dl_vdso_vsym.
23350 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23351 * Makeconfig (object-suffixes-noshared): New variable.
23352
23353 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23354 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23355 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23356 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23357
23358 [BZ #14132]
23359 * include/sys/time.h (__gettimeofday): Remove macro.
23360 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23361 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23362 Remove INTDEF.
23363 (__gettimeofday): Add libc_hidden_def.
23364 (gettimeofday): Add libc_hidden_weak.
23365 * sysdeps/mach/gettimeofday.c: Likewise.
23366 * sysdeps/posix/gettimeofday.c: Likewise.
23367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23368 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23370 (__gettimeofday_internal): Remove strong_alias.
23371 (__gettimeofday): Add libc_hidden_def.
23372 (gettimeofday): Add libc_hidden_weak.
23373 * sysdeps/unix/syscalls.list (gettimeofday):
23374 Remove __gettimeofday_internal alias.
23375
23376 2012-05-24 Daniel Jacobowitz <drow@false.org>
23377 H.J. Lu <hongjiu.lu@intel.com>
23378
23379 [BZ #12495]
23380 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23381 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23382 (largebin_index_32_big): New.
23383 (largebin_index): Use it for 16-byte alignment.
23384 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23385 correction with front_misalign.
23386
23387 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23388
23389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23391 Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23393 Likewise.
23394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23395 Likewise.
23396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23397 Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23399 Likewise.
23400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23401 Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23403 Likewise.
23404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23405 Likewise.
23406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23407 Likewise.
23408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23409 Likewise.
23410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23411 Likewise.
23412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23413 Likewise.
23414
23415 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23416 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23417
23418 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23419
23420 [BZ #10846]
23421 [BZ #14036]
23422 * math/libm-test.inc (exp_test): Add test from bug 14036.
23423 (pow_test): Add test from bug 10846.
23424
23425 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23426 and other flags.
23427 (special_function): Do not include flags in test name.
23428 (parse_args): Likewise.
23429 * sysdeps/i386/fpu/libm-test-ulps: Update.
23430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23431 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23432 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23434
23435 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23436 exceptions.
23437 * math/libm-test.inc ("Philosophy"): Update comment about
23438 exception testing.
23439 (UNDERFLOW_EXCEPTION): New macro.
23440 (UNDERFLOW_EXCEPTION_OK): Likewise.
23441 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23442 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23443 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23444 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23445 (INVALID_EXCEPTION_OK): Update value.
23446 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23447 (OVERFLOW_EXCEPTION_OK): Likewise.
23448 (IGNORE_ZERO_INF_SIGN): Likewise.
23449 (test_exceptions): Handle underflow exceptions.
23450 (acos_test): Update for underflow exception expectations.
23451 (cexp_test): Likewise.
23452 (clog_test): Likewise.
23453 (clog10_test): Likewise.
23454 (csqrt_test): Likewise.
23455 (ctan_test): Likewise.
23456 (ctanh_test): Likewise.
23457 (exp_test): Likewise.
23458 (exp10_test): Likewise.
23459 (exp2_test): Likewise.
23460 (expm1_test): Likewise.
23461 (fma_test): Likewise.
23462 (j0_test): Likewise.
23463 (jn_test): Likewise.
23464 (nexttoward_test): Likewise.
23465 (pow_test): Likewise.
23466 (scalbn_test): Likewise.
23467 (scalbln_test): Likewise.
23468 (tan_test): Likewise.
23469 (y1_test): Likewise.
23470 * sysdeps/i386/fpu/libm-test-ulps: Update.
23471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23472
23473 2012-05-23 David S. Miller <davem@davemloft.net>
23474
23475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23476 (__libc_sigaction): Remove unused local variables.
23477
23478 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23479
23480 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23481
23482 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23483
23484 mktime: avoid signed integer overflow
23485 * time/mktime.c (__mktime_internal): Do not mishandle the case
23486 where diff == INT_MIN.
23487
23488 mktime: simplify computation of average
23489 * time/mktime.c (ranged_convert): Use new time_t_avg function
23490 instead of rolling our own (probably-slower) code.
23491
23492 mktime: do not assume signed right shift propagates sign bit
23493 * time/mktime.c (isdst_differ): New static function.
23494 (__mktime_internal): No need to normalize tm_isdst now.
23495 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23496 tm_isdst values.
23497
23498 mktime: merge another wrapv change from gnulib
23499 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23500 from some compilers.
23501
23502 mktime: remove incorrect attempt at unusual arithmetics
23503 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23504 The code didn't really work on such machines anyway.
23505 (TYPE_MINIMUM): Assume two's complement.
23506 (twos_complement_arithmetic): Verify that long_int and time_t
23507 are two's complement (or unsigned, in the latter case).
23508
23509 mktime: check signed shifts on long_int and time_t, too
23510 * time/mktime.c (SHR): Check that shifts work as desired
23511 on the types long_int and time_t too, as SHR is used on
23512 such types.
23513
23514 mktime: do not assume 'long' is wide enough
23515 * time/mktime.c (verify): Move decl up.
23516 (long_int): New type.
23517 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23518 to remove assumption in the code that 'long' is wide enough to
23519 store year values. This assumption is not true on x32 and on
23520 some non-glibc platforms.
23521
23522 mktime: merge wrapv change from gnulib
23523 * time/mktime.c (WRAPV): New macro.
23524 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23525 (guess_time_tm, __mktime_internal): Do not assume that signed
23526 integer overflow wraps around; modern compilers generate code
23527 where this assumption is no longer valid.
23528
23529 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23530
23531 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23532 Replace "jmp L(pseudo_end)" with "ret".
23533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23534 Likewise.
23535
23536 2012-05-23 Andreas Jaeger <aj@suse.de>
23537
23538 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23539 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23540
23541 2012-05-23 Andreas Jaeger <aj@suse.de>
23542 Maximilian Attems <max@stro.at>
23543
23544 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23545 New macros.
23546
23547 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23548
23549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23550 code so that pseudo_end is just ret and the stack pointer is
23551 correct also for static library in error case.
23552
23553 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23554
23555 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23556 move to syscalls.list.
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23561
23562 * manual/install.texi (Running make install): Do not mention Linux
23563 kernel version for which pt_chown is not needed.
23564 (Linux): Do not mention problems with nscd with 2.0 kernels.
23565 * INSTALL: Regenerated.
23566
23567 2012-05-23 Andreas Jaeger <aj@suse.de>
23568
23569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23570 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23571 macro.
23572 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23574 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23575 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23576 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23577 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23582 * sysdeps/unix/sysv/linux/bits/in.h
23583 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23584
23585 2012-05-22 Roland McGrath <roland@hack.frob.com>
23586
23587 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23588 (PREPARE_VERSION): Just use assert instead, it will be elided
23589 under [NDEBUG] anyway.
23590
23591 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 * sysdeps/unix/sysv/linux/Makefile: Include
23594 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23595 (sysdep_routines): Remove sysctl.
23596 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23597 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23598 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23599 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23600 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23601
23602 2012-05-22 Andreas Jaeger <aj@suse.de>
23603
23604 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23605 that pseudo_end is just ret and the stack pointer is correct also
23606 for static library in error case.
23607
23608 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23609
23610 [BZ #14122]
23611 * nss/nsswitch.c (defconfig_entries): New variable.
23612 (__nss_database_lookup): Don't leak defconfig entries.
23613 (nss_parse_service_list): Don't leak on error paths.
23614 (free_database_entries): New function.
23615 (free_defconfig): New function.
23616 (free_mem): Move common code to free_database_entries.
23617
23618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23619
23620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23621 Add arch_prctl.
23622 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23623
23624 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23625 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23627 New macro.
23628 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23629 (INTERNAL_SYSCALL_TYPES): Likewise.
23630 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23631 (LOAD_REGS_TYPES_[1-6]): Likewise.
23632 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23633 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23634
23635 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23636
23637 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23638 copysignl for GLIBC_2_0.
23639 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23640 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23642 logbl for GLIBC_2_0.
23643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23644 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23645
23646 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23647
23648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23649 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23650
23651 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23652 Use "neg %eax".
23653
23654 * time/mktime.c: Update copyright years.
23655
23656 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23657
23658 mktime: merge comment-quoting-style change from gnulib
23659 * time/mktime.c: Quote 'like this' in comments.
23660 The GNU coding standards suggest that we no longer quote `like this',
23661 as "`" and "'" are typically rendered asymmetrically nowadays.
23662 The typical gnulib style is to quote 'like this' when quoting
23663 code, and "like this" when quoting English.
23664
23665 * time/mktime.c (compile-command): Add "-I.".
23666
23667 mktime: merge mktime-internal.h change from gnulib
23668 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23669
23670 mktime: merge time_r change from gnulib
23671 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23672
23673 mktime: merge DEBUG change from gnulib
23674 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23675 case system <time.h> has a #define.
23676
23677 mktime: merge <sys/types.h> change from gnulib
23678 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23679 since <time.t> is now guaranteed to define time_t.
23680
23681 mktime: merge HAVE_CONFIG_H change from gnulib
23682 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23683
23684 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23685
23686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23687 Use "neg %eax".
23688
23689 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23690 __rlim_t cast.
23691 (struct rusage): Use anonymous union to pad each field to
23692 __syscall_slong_t.
23693
23694 2012-05-21 David S. Miller <davem@davemloft.net>
23695
23696 * Makefules (o-iterator): Remove .s cases.
23697 (compile-command.s): Delete.
23698 (COMPILE.s): Delete.
23699 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23700
23701 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23702
23703 * configure.in (libc_cv_predef_stack_protector): Only consider
23704 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23705 * configure: Regenerated.
23706
23707 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23708
23709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23710 New macro. Use R*LP on int and pointer.
23711 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23712 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23713 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23714 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23715
23716 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23717 [__WORDSIZE_TIME64_COMPAT32] instead of
23718 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23719 (struct utmp): Likewise.
23720 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23721 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23722 Renamed to ...
23723 (__WORDSIZE_TIME64_COMPAT32): This.
23724 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23725 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23726 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23727 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23728 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23729 (__WORDSIZE_TIME64_COMPAT32): New macro.
23730
23731 2012-05-21 Andreas Jaeger <aj@suse.de>
23732
23733 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23734 only if [SHARED]. Add prototype for __wcschr_ia32.
23735
23736 2012-05-21 Roland McGrath <roland@hack.frob.com>
23737
23738 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23739 of %rbp unmolested in the jmp_buf while mangling the low bits.
23740 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23741 unmolested high bits of %rbp while demangling the low bits.
23742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23743
23744 2012-05-21 Andreas Jaeger <aj@suse.de>
23745
23746 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23747 * sunrpc/svc_simple.c: Use it for registerrpc.
23748 * sunrpc/xcrypt.c: Use it for passwd2des.
23749
23750 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23751
23752 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23753
23754 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23755 Don't define if [__SYSCALL_WORDSIZE != 32].
23756 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23757 New macro.
23758
23759 2012-05-21 Bruno Haible <bruno@clisp.org>
23760 Andreas Jaeger <aj@suse.de>
23761
23762 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23763 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23764 inptr and inend for must_buffer_ch.
23765 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23766 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23767 * stdio-common/Makefile (tests): Remove bug15.
23768 (bug15-ENV): Remove macro.
23769 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23770 anymore.
23771
23772 2012-05-19 Andreas Jaeger <aj@suse.de>
23773 Roland McGrath <roland@hack.frob.com>
23774
23775 * manual/contrib.texi: Completely rewritten. It contains now an
23776 alphabetical list of contributors and their contributions.
23777
23778 2012-05-21 Richard Henderson <rth@twiddle.net>
23779
23780 * misc/getauxval.c (__getauxval): Use unsigned long int.
23781 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23782 (getauxval): Use unsigned long int.
23783
23784 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23787
23788 2012-05-21 Roland McGrath <roland@hack.frob.com>
23789
23790 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23791 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23792 __alignof__ (long double).
23793
23794 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23795
23796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23797
23798 2012-05-20 Richard Henderson <rth@twiddle.net>
23799
23800 * misc/getauxval.c: New file.
23801 * misc/sys/auxv.h: New file.
23802 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23803 (routines): Add getauxval.
23804 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23805 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23806 * elf/dl-sysdep.c (_dl_auxv): Remove.
23807 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23808 * elf/dl-support.c (_dl_auxv): New variable.
23809 (_dl_aux_init): Initialize it.
23810 * manual/startup.texi (Auxiliary Vector): New node.
23811 * sysdeps/generic/bits/hwcap.h: New file.
23812 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23813 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23814 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23815 * sysdeps/sparc/sysdep.h: ... here. Include it.
23816 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23819 Update.
23820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23828
23829 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23830
23831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23832
23833 2012-05-19 David S. Miller <davem@davemloft.net>
23834
23835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23836
23837 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23838
23839 [BZ #14123]
23840 * math/s_ccosh.c: Include <float.h>
23841 (__ccosh): Avoid internal overflow calculating sinh and cosh
23842 values before multiplying by sin and cos values.
23843 * math/s_ccoshf.c: Likewise.
23844 * math/s_ccoshl.c: Likewise.
23845 * math/s_csin.c: Likewise.
23846 * math/s_csinf.c: Likewise.
23847 * math/s_csinl.c: Likewise.
23848 * math/s_csinh.c: Likewise.
23849 * math/s_csinhf.c: Likewise.
23850 * math/s_csinhl.c: Likewise.
23851 * math/libm-test.inc (ccos_test): Add more tests.
23852 (ccosh_test): Likewise.
23853 (csin_test): Likewise.
23854 (csinh_test): Likewise.
23855 * sysdeps/i386/fpu/libm-test-ulps: Update.
23856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857
23858 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23861 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23862
23863 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23864
23865 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23866
23867 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23868 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23869 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23870 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23871 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23872 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23873 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23874 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23875 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23876 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23877 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23878 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23879 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23880 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23881 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23882 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23883 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23884 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23885 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23886 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23887 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23888 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23889 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23890 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23891 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23892 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23893 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23894 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23895 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23896 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23897 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23898
23899 2012-05-18 Andreas Jaeger <aj@suse.de>
23900
23901 * csu/.gitignore: Delete.
23902
23903 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23904
23905 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23906 (timex): Use __syscall_slong_t.
23907
23908 2012-05-18 Andreas Jaeger <aj@suse.de>
23909 Carlos O'Donell <carlos_odonell@mentor.com>
23910
23911 * manual/install.texi (Configuring and compiling): Update
23912 description about files modified in the source directory.
23913 * INSTALL: Regenerated.
23914
23915 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23916
23917 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23918 value. Use "or" to set return value to -1.
23919 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23920 negate return value.
23921
23922 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23923
23924 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23925 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23926 failure if the compiler has Graphite support disabled.
23927 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23928 Likewise.
23929 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23930 CFLAGS-memmove.c): Likewise.
23931 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23932 Likewise.
23933
23934 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/x86_64/x32/_itoa.h: New file.
23937
23938 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23939 getdents system call only if kernel and user dirents have the
23940 same d_ino and d_off.
23941
23942 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23943 LLONG_MAX != LONG_MAX.
23944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23945 (_fitoa_word): Likewise.
23946
23947 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23948 years.
23949 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23951 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23952
23953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23954 include <bits/wordsize.h>. Check __x86_64__ instead of
23955 __WORDSIZE.
23956 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23957 if __x86_64__ is defined. Use anonymous union on fpstate.
23958
23959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23960 anonymous union.
23961
23962 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23963
23964 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23965 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23966 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23967 Refer to _rtld_local_ro instead of _rtld_global_ro.
23968 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23969 Likewise.
23970 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23971 Likewise.
23972 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23973 Likewise.
23974 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23975 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23976 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23977
23978 * sysdeps/powerpc/powerpc32/dl-machine.c
23979 (__elf_machine_runtime_setup) [PROF]: Don't reference
23980 _dl_prof_resolve.
23981
23982 2012-05-18 Andreas Jaeger <aj@suse.de>
23983
23984 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23985 function only available for GCCs before 3.4 since GCC 3.4
23986 introduced a builtin.
23987 (lrint): Likewise.
23988 (llrintf): Likewise.
23989 (llrint): Likewise.
23990 (fmaxf): Likewise.
23991 (fmax): Likewise.
23992 (fminf): Likewise.
23993 (fmin): Likewise.
23994 (rint): Likewise.
23995 (rintf): Likewise.
23996 (nearbyint): Likewise.
23997 (nearbyintf): Likewise.
23998 (ceil): Likewise.
23999 (ceilf): Likewise.
24000 (floor): Likewise.
24001 (floorf): Likewise.
24002
24003 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24004
24005 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24006 on both fields and cast pointer to __syscall_ulong_t.
24007
24008 * bits/types.h (__fsword_t): New type.
24009 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24010 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24012 (__FSWORD_T_TYPE): Likewise.
24013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24014 (__FSWORD_T_TYPE): Likewise.
24015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24016 (__FSWORD_T_TYPE): Likewise.
24017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24018 (__FSWORD_T_TYPE): Likewise.
24019 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24020 __SWORD_TYPE with __fsword_t.
24021 (statfs64): Likewise.
24022
24023 2012-05-17 David S. Miller <davem@davemloft.net>
24024
24025 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24026
24027 2012-05-17 Andreas Jaeger <aj@suse.de>
24028
24029 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24030 warning.
24031
24032 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24035
24036 2012-05-17 Andreas Jaeger <aj@suse.de>
24037
24038 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24039 when it is used.
24040
24041 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24042
24043 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24044
24045 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24046
24047 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24048 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24049
24050 2012-05-17 Andreas Jaeger <aj@suse.de>
24051 Carlos O'Donell <carlos_odonell@mentor.com>
24052
24053 [BZ #14059]
24054 * sysdeps/x86_64/multiarch/init-arch.h
24055 (bit_YMM_Usable): Rename to...
24056 (bit_AVX_Usable): ... this.
24057 (bit_FMA4_Usable): New macro.
24058 (bit_XMM_state): New macro.
24059 (bit_YMM_state): New macro.
24060 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24061 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24062 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24063 (CPUID_OSXSAVE): New macro.
24064 (CPUID_AVX): New macro.
24065 (CPUID_FMA4): New macro.
24066 (index_YMM_Usable): Rename to...
24067 (index_AVX_Usable): ... this.
24068 (HAS_AVX): Use HAS_ARCH_FEATURE.
24069 (HAS_FMA4): Likewise.
24070 (HAS_YMM_USABLE): Remove.
24071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24072 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24073 are present.
24074 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24075 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24076 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24077 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24078 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24079
24080 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24081
24082 * math/libm-test.c: Support platforms without multiple rounding modes.
24083 * math/bug-nextafter.c: Support platforms without FP exceptions.
24084 * math/bug-nexttoward.c: Likewise.
24085 * math/test-fenv.c: Likewise.
24086 * math/test-misc.c: Likewise.
24087 * stdlib/bug-getcontext.c: Likewise.
24088
24089 2012-05-17 Andreas Jaeger <aj@suse.de>
24090
24091 * manual/examples/search.c (critter_cmp): Change signature to
24092 avoid warnings.
24093 * manual/string.texi (Collation Functions): Likewise.
24094
24095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24096
24097 * bits/types.h: Fold copyright years.
24098 * bits/typesizes.h: Likewise.
24099 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24103 * time/time.h: Likewise.
24104
24105 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24106
24107 [BZ #208]
24108 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24109 in instead of returning them. Return void.
24110 (__libc_mallinfo): Accumulate over all arenas.
24111 (__malloc_stats): Adjust for change in int_mallinfo interface.
24112
24113 2012-05-16 Roland McGrath <roland@hack.frob.com>
24114
24115 [BZ #10375]
24116 * configure.in (NM): Add AC_CHECK_TOOL for it.
24117 (libc_extra_cflags): New substituted variable.
24118 Check for -fstack-protector being used implicitly.
24119 * configure: Regenerated.
24120 * config.make.in (config-extra-cflags): New variable,
24121 gets @libc_extra_cflags@.
24122 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24123
24124 [BZ #10375]
24125 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24126 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24127 * configure: Regenerated.
24128 * config.make.in (CPPUNDEFS): New substituted variable.
24129 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24130 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24131 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24132
24133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24134
24135 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24136 (mq_attr): Use __syscall_slong_t.
24137
24138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24139
24140 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24141 Check __x86_64__ instead of __WORDSIZE.
24142 (_STAT_VER_LINUX): Likewise.
24143 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24144 __syscall_ulong_t and __syscall_slong_t.
24145 (stat64): Likewise.
24146
24147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24148
24149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24150
24151 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24152
24153 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24154
24155 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24156
24157 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24158 __syscall_ulong_t.
24159
24160 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24161 include <bits/wordsize.h>. Check __x86_64__ instead of
24162 __WORDSIZE.
24163 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24164 defined.
24165 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24166
24167 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24168 include <bits/wordsize.h>. Check __x86_64__ instead of
24169 __WORDSIZE.
24170 (user_regs_struct): Use "__extension__ unsigned long long"
24171 instead of "unsigned long" if __x86_64__ is defined.
24172 (user): Likewise. Pad after pointer field if __ILP32__ is
24173 defined.
24174
24175 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24176
24177 * configure.in (makeinfo): Require version 4.5 or later. Allow
24178 versions 5 to 9.
24179 * configure: Regenerated.
24180 * manual/install.texi (texinfo): Increase version requirement to
24181 4.5 or later.
24182 * INSTALL: Regenerated.
24183
24184 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24185
24186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24187
24188 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24189
24190 * sysdeps/x86_64/x32/ffs.c: New file.
24191
24192 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24193 __syscall_ulong_t.
24194 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24195 defined. Use __syscall_ulong_t.
24196 (shminfo): Use __syscall_ulong_t.
24197 (shm_info): Likewise.
24198
24199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24200 __syscall_ulong_t.
24201
24202 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24203 <bits/wordsize.h>.
24204 (msgqnum_t): Use __syscall_ulong_t.
24205 (msglen_t): Likewise.
24206 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24207 __syscall_ulong_t.
24208
24209 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24211
24212 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24213
24214 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24215 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24216
24217 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24218 __syscall_slong_t.
24219
24220 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24221 include <bits/wordsize.h>. Check __x86_64__ instead of
24222 __WORDSIZE.
24223
24224 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24225 "unsigned long long int" if __x86_64__ is defined.
24226 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24227
24228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24230 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24231
24232 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24233 <stdint.h>.
24234 (GET_PC): Cast to uintptr_t first.
24235 (GET_FRAME): Likewise.
24236 (GET_STACK): Likewise.
24237
24238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24241 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24244 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24245 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24250 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24252 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24256 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24258 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24266 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24267
24268 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24269
24270 * Makerules (+depfiles): Also collect depfiles from .oS in
24271 $(extra-objs).
24272 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24273 .oS, $(libnldbl-routines)).
24274
24275 * Makerules (native-compile-mkdep-flags): Define.
24276 * sunrpc/Makefile (extra-objs): Add $(addprefix
24277 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24278 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24279 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24280 calling $(make-target-directory).
24281
24282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24283
24284 * bits/types.h (__snseconds_t): Removed.
24285 * time/time.h (struct timespec): Replace __snseconds_t with
24286 __syscall_slong_t.
24287 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24288 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24289 Likewise.
24290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24291 (__SNSECONDS_T_TYPE): Likewise.
24292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24293 (__SNSECONDS_T_TYPE): Likewise.
24294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24295 (__SNSECONDS_T_TYPE): Likewise.
24296
24297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24298
24299 * sysdeps/mach/hurd/bits/typesizes.h
24300 (__SYSCALL_SLONG_TYPE): New macro.
24301 (__SYSCALL_ULONG_TYPE): Likewise.
24302
24303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24304
24305 * bits/types.h (__syscall_slong_t): New type.
24306 (__syscall_ulong_t): Likewise.
24307
24308 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24309 (__SYSCALL_ULONG_TYPE): Likewise.
24310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24311 (__SYSCALL_SLONG_TYPE): Likewise.
24312 (__SYSCALL_ULONG_TYPE): Likewise.
24313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24314 (__SYSCALL_SLONG_TYPE): Likewise.
24315 (__SYSCALL_ULONG_TYPE): Likewise.
24316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24317 (__SYSCALL_SLONG_TYPE): Likewise.
24318 (__SYSCALL_ULONG_TYPE): Likewise.
24319
24320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24323 Add sigaltstack-offsets.sym.
24324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24325 <sigaltstack-offsets.h>.
24326 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24327 longjmp_msg pointer.
24328 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24329 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24330 signal stack.
24331 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24332
24333 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24334
24335 * elf/stackguard-macros.h: Remove file.
24336 * sysdeps/generic/stackguard-macros.h: New file.
24337 * sysdeps/i386/stackguard-macros.h: Likewise.
24338 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24339 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24340 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24341 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24342 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24343 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24344 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24345 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24346 <elf/stackguard-macros.h>.
24347
24348 [BZ #14109]
24349 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24350 __aligned__ in attribute.
24351 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24352 (gregset_t): Likewise.
24353
24354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24355
24356 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24357 * sysdeps/x86_64/64/Implies-after: Here. New file.
24358 * sysdeps/x86_64/x32/Implies-after: New file.
24359
24360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24363 and access return value for _dl_profile_fixup. Use R10_LP to
24364 load frame size.
24365
24366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24369
24370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24371
24372 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24373 * sysdeps/x86_64/x32/sysdep.h: New file.
24374
24375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24376
24377 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24378 * sysdeps/x86_64/setjmp.S: Likewise.
24379
24380 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24381
24382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24384 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24385 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24386 remove unused global constant.
24387
24388 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24389
24390 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24391 include of <not-cancel.h>.
24392
24393 2012-05-15 Roland McGrath <roland@hack.frob.com>
24394
24395 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24396
24397 2012-05-15 Jeff Law <law@redhat.com>
24398 Andreas Jaeger <aj@suse.de>
24399
24400 [BZ #13594]
24401 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24402 out from...
24403 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24404 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24405 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24406 code changing __hst_map_handle.map.
24407
24408 2012-05-15 Roland McGrath <roland@hack.frob.com>
24409
24410 * configure.in (sysnames): Look for Implies-before and Implies-after
24411 files.
24412 * configure: Regenerated.
24413
24414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24415
24416 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24417 8-byte data alignment with LP_SIZE alignment.
24418
24419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24422 into R10_LP.
24423
24424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24427
24428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24429
24430 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24431 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24432 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24433 Likewise.
24434 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24435
24436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24437
24438 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24439 (stackinfo_sub_sp): Likewise.
24440
24441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24442
24443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24444 RAX_LP.
24445
24446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24447
24448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24449 into R*_LP.
24450
24451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24452
24453 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24454 sizes into R*_LP.
24455
24456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24457
24458 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24459
24460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24461
24462 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24463 into R11_LP and load __x86_64_shared_cache_size_half into
24464 R8_LP.
24465
24466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24467
24468 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24469 R8_LP.
24470
24471 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24472
24473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24474 logb for POWER7.
24475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24476 logbf for POWER7.
24477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24478 logbl for POWER7.
24479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24480 powerpc32/power7/fpu/s_logb.c via #include.
24481 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24482 powerpc32/power7/fpu/s_logbf.c via #include.
24483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24484 powerpc32/power7/fpu/s_logbl.c via #include.
24485
24486 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24487
24488 * README.libm: Remove file.
24489
24490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24491
24492 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24493 count for x32. Use R*_LP and omit operand-size suffix.
24494
24495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24496
24497 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24498 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24499 * sysdeps/x86_64/x32/shlib-versions: New file.
24500
24501 2012-05-14 Roland McGrath <roland@hack.frob.com>
24502
24503 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24504 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24505 Use _dl_fatal_printf instead.
24506
24507 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24508
24509 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24510 set if not set by the user. Do not allow for being unset.
24511 * sysdeps/unix/sysv/linux/configure: Regenerated.
24512
24513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24514
24515 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24516 the `q' suffix from lea and replace .quad with ASM_ADDR.
24517
24518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24519
24520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24521 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24522 instead of $17.
24523 (PTR_DEMANGLE): Likewise.
24524
24525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24526
24527 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24528 (LP_OP): Likewise.
24529 (ASM_ADDR): Likewise.
24530 (RAX_LP): Likewise.
24531 (RBP_LP): Likewise.
24532 (RBX_LP): Likewise.
24533 (RCX_LP): Likewise.
24534 (RDI_LP): Likewise.
24535 (RSI_LP): Likewise.
24536 (RSP_LP): Likewise.
24537 (R8_LP): Likewise.
24538 (R9_LP): Likewise.
24539 (R10_LP): Likewise.
24540 (R10_LP): Likewise.
24541 (R11_LP): Likewise.
24542 (R12_LP): Likewise.
24543 (R13_LP): Likewise.
24544 (R14_LP): Likewise.
24545 (R15_LP): Likewise.
24546
24547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24548
24549 * sysdeps/x86_64/x32/dl-machine.h: New file.
24550
24551 2012-05-14 Andreas Jaeger <aj@suse.de>
24552
24553 * manual/Makefile (subdir): Remove export of subdir.
24554 (all): Remove target.
24555 (.PHONY): Remove all from list.
24556 (mkinstalldirs): Remove.
24557 (.PHONY): Remove installdirs from list.
24558 ($(inst_infodir)/libc.info): Use make-target-directory.
24559 (installdirs): Remove.
24560 (subdir_%): Remove.
24561 (glibc-targets): Remove.
24562 (lib): Remove.
24563 (stubs): Remove.
24564 ($(objpfx)stubs ../po/manual.pot): Remove.
24565 ($(objpfx)stamp%): Remove.
24566 (make-target-directory): Remove.
24567 (subdir_install): Remove.
24568 (routines): Remove.
24569 (aux): Remove.
24570 (sources): Remove.
24571 (objects): Remove.
24572 (headers): Remove.
24573
24574 [BZ #13750]
24575 * manual/.gitignore: Remove, it's not needed anymore.
24576 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24577 all files in it.
24578 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24579 directory.
24580 (texis): Renamed to $(objpfx)texis.
24581 (texis-path): New, contains path to generated files.
24582 (chapters.%): Use texis-path for complete path, add extra argument
24583 libc-texinfo.sh.
24584 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24585 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24586 (summary,texi, stamp-summary): Use complete path of
24587 files. Generate files in build dir.
24588 (dir-add.texi): Build in build dir.
24589 (libm-err.texi,stamp-libm-err): Likewise.
24590 (version.texi, stamp-version): Likewise.
24591 (.%c.texi): Likewise.
24592 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24593 (mostlyclean): Remove target.
24594 (realclean): Remove target.
24595 (generated): Add new variable with contents from mostlyclean and
24596 realclean, remove entries duplicated in common-mostlyclean, add
24597 stamp-libm-err and stamp-version.
24598 (generated-dirs): Add libc directory.
24599 ($(inst_infodir)/libc.info): Install files from build dir.
24600
24601 * manual/install.texi (Configuring and compiling): Adjust since
24602 the info files are not part of the tar ball anymore.
24603
24604 2012-05-14 Andreas Jaeger <aj@suse.de>
24605
24606 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24607 variable.
24608
24609 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24610
24611 [BZ #13717]
24612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24613 to 2.2.0 where earlier.
24614 * sysdeps/unix/sysv/linux/configure: Regenerated.
24615 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24616 Remove conditional code.
24617 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24618 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24619 Remove conditional code.
24620 [!__NR_lchown]: Likewise.
24621 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24622 [__NR_lchown]: Likewise.
24623 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24624 comment referencing __ASSUME_LCHOWN_SYSCALL.
24625 * sysdeps/unix/sysv/linux/i386/sigaction.c
24626 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24627 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24628 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24629 Remove conditional code.
24630 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24631 (__protocol_available): Remove #if 0 code.
24632 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24633 conditional code.
24634 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24635 * sysdeps/unix/sysv/linux/kernel-features.h
24636 (__ASSUME_GETCWD_SYSCALL): Don't define.
24637 (__ASSUME_REALTIME_SIGNALS): Likewise.
24638 (__ASSUME_PREAD_SYSCALL): Likewise.
24639 (__ASSUME_PWRITE_SYSCALL): Likewise.
24640 (__ASSUME_POLL_SYSCALL): Likewise.
24641 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24642 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24643 non-SPARC.
24644 (__ASSUME_SIOCGIFNAME): Don't define.
24645 (__ASSUME_MSG_NOSIGNAL): Likewise.
24646 (__ASSUME_SENDFILE): Define unconditionally.
24647 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24648 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24649 conditional code.
24650 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24651 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24652 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24653 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24654 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24655 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24656 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24661 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24681 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24682 Remove conditional code.
24683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24684 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24685 Remove conditional code.
24686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24687 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24688 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24689 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24690 Remove conditional code.
24691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24692 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24693 Remove conditional code.
24694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24695 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24696 Remove conditional code.
24697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24698 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24699 Remove conditional code.
24700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24701 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24702 Remove conditional code.
24703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24704 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24707 * sysdeps/unix/sysv/linux/sigaction.c
24708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24710 * sysdeps/unix/sysv/linux/sigpending.c
24711 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24712 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24713 * sysdeps/unix/sysv/linux/sigprocmask.c
24714 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24715 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24716 * sysdeps/unix/sysv/linux/sigsuspend.c
24717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24719 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24720 (__libc_missing_rt_sigs): Remove.
24721 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24722 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24723 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24724 Remove conditional code.
24725 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24726 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24727 return 1.
24728 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24729 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24730 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24731 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24732
24733 2012-05-14 Andreas Jaeger <aj@suse.de>
24734
24735 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24736 it's not used in glibc.
24737 (__coshm1): Likewise.
24738 (__acosh1p): Likewise.
24739 (__sgn): Likewise.
24740
24741 * manual/string.texi (Copying and Concatenation): Add missing
24742 variable in concat example.
24743 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24744
24745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24746
24747 [BZ #14103]
24748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24749 __builtin_clzl with __builtin_clzll.
24750
24751 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24752
24753 [BZ #14104]
24754 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24755 libc_freeres_ptr.
24756
24757 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24758
24759 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24760 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24761 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24762 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24763
24764 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24765
24766 * NEWS: Update ia64 info.
24767
24768 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24769
24770 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24771 used as bcopy.
24772
24773 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24774
24775 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24776 * sysdeps/unix/syscalls.list (dup3): Likewise.
24777 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24778 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24779
24780 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24781
24782 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24783 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24784
24785 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24786
24787 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24788 thread pointer.
24789 (TLS_IE): Use mov/add instead of movq/addq to load thread
24790 pointer.
24791 (TLS_GD_PREFIX): New.
24792 (TLS_GD): Use it.
24793
24794 2012-05-11 David S. Miller <davem@davemloft.net>
24795
24796 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24797 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24798 (_FPU_SETCW): Likewise.
24799
24800 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24801
24802 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24803 is 32-byte aligned.
24804
24805 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24806
24807 [BZ #11837]
24808 * iconvdata/gb18030.c: Update tables.
24809 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24810 characters specially.
24811 (BODY for TO_LOOP): Add encoding of missing ranges.
24812
24813 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24814
24815 [BZ #13673]
24816 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24817 * sysdeps/mach/hurd/dup3.c: Likewise.
24818 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24819 * sysdeps/powerpc/memmove.c:: Likewise.
24820
24821 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24822
24823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24824 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24825
24826 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24827
24828 * elf/elf.h (R_X86_64_RELATIVE64): New.
24829 (R_X86_64_NUM): Updated.
24830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24831 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24832 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24833 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24834 tst-quad1pie tst-quad2pie
24835 (modules-names): Add tst-quadmod1 tst-quadmod2.
24836 ($(objpfx)tst-quad1): New dependency.
24837 ($(objpfx)tst-quad2): Likewise.
24838 ($(objpfx)tst-quad1pie): Likewise.
24839 ($(objpfx)tst-quad2pie): Likewise.
24840 * sysdeps/x86_64/tst-quad1.c: New file.
24841 * sysdeps/x86_64/tst-quad1pie.c: New file.
24842 * sysdeps/x86_64/tst-quad2.c: Likewise.
24843 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24844 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24845 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24846 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24847 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24848
24849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24850
24851 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24852 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24853 * streams/stropts.h (t_scalar_t): Define type.
24854
24855 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24856 (_PATH_PRESERVE): Set to "/var/lib".
24857 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24858
24859 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24860 instead of int.
24861
24862 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24863 if __dir_mkfile succeeded.
24864
24865 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24866 checking for _hurd_dtablesize. Unlock it right after having
24867 finished _hurd_dtable allocation.
24868
24869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24870
24871 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24872 * sysdeps/mach/hurd/configure: Regenerated.
24873 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24874 special-casing to...
24875 * sysdeps/gnu/configure.in: ... this new file.
24876 * sysdeps/unix/sysv/linux/configure: Regenerated.
24877 * sysdeps/gnu/configure: New generated file.
24878
24879 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24880 for Linux: use nsec instead of usec, as well as:
24881 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24882 members of type struct timespec.
24883 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24884 New macros.
24885 (struct stat64): Likewise.
24886 (_STATBUF_ST_NSEC): New macro.
24887 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24888
24889 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24890 __strtoul_internal rather than strtoul.
24891
24892 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24893
24894 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24895 and reject them.
24896
24897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24898
24899 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24900 which preserves existing values.
24901 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24902
24903 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24904
24905 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24906 TIMEOUT values. Return EINVAL for NFDS values either negative or
24907 greater than FD_SETSIZE.
24908
24909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24910
24911 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24912 allocated, call __vm_protect to finish enabling the existing space, and
24913 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24914 allocate the remainder.
24915
24916 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24917
24918 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24919 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24920
24921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24922
24923 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24924 sysdeps/mach/hurd/readlink.c.
24925
24926 * posix/tst-sysconf.c (posix_options): Only use
24927 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24928 _POSIX_SYNCHRONIZED_IO when they are defined
24929 * sysdeps/mach/hurd/bits/posix_opt.h:
24930 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24931 (_XOPEN_REALTIME): Undefine macro.
24932 (_XOPEN_REALTIME_THREADS): Undefine macro.
24933 (_XOPEN_SHM): Undefine macro.
24934 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24935 macro to -1.
24936 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24937 macro to -1.
24938 (_POSIX_ASYNC_IO): Undefine macro.
24939 (_POSIX_PRIORITIZED_IO): Undefine macro.
24940 (_POSIX_SPIN_LOCKS): Define macro to -1.
24941
24942 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24943 SA_NODEFER, SA_RESETHAND.
24944 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24945 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24946 F_DUPFD_CLOEXEC.
24947
24948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24949
24950 * elf/Makefile (pldd-modules): Define unconditionally.
24951
24952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24953
24954 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24955
24956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24957
24958 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24959 Return ENOENT when name is empty.
24960 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24961
24962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24963
24964 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24965
24966 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24967
24968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24969
24970 Fix mlock in all cases except non-readable pages.
24971 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24972 instead of VM_PROT_ALL as parameter to __vm_wire function.
24973
24974 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24975 (__mkdir): When path is `/', just fail with EEXIST.
24976 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24977
24978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24979
24980 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24981 <sys/uio.h> (for writev).
24982 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24983 and <sys/param.h> (for MIN).
24984
24985 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24986
24987 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24988 REQUESTED_TIME. Properly set the remaining time and return EINTR
24989 if interrupted.
24990
24991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24992
24993 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24994 Depend on against $(link-rpcuserlibs).
24995
24996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24997
24998 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24999 (__libc_stack_end): Do not use attribute_relro.
25000 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25001 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25002 to libthread-provided value.
25003 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25004 attribute_relro.
25005
25006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25007
25008 [BZ #3748]
25009 * bits/libc-lock.h (__libc_once_get): New macro.
25010 * sysdeps/mach/bits/libc-lock.h: Likewise.
25011 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25013 instead of using implementation details.
25014
25015 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25016 * libio/freopen.c: Likewise.
25017 * libio/freopen64.c: Likewise.
25018 * misc/syslog.c: Likewise.
25019 * nscd/connections.c: Likewise.
25020 * nscd/netgroupcache.c: Likewise.
25021 * sysdeps/posix/getcwd.c: Likewise.
25022
25023 2012-05-10 Roland McGrath <roland@hack.frob.com>
25024
25025 * math/w_ilogbf.c: Add #include <limits.h>.
25026
25027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25028
25029 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25030 path instead of returning without unlocking.
25031
25032 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25033 immediate-write ioctls.
25034 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25035
25036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25037
25038 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25039 __builtin_frame_address instead of making assumptions about the
25040 location of the return address relative to DATA. Force early load of
25041 the return address.
25042 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25043 __builtin_frame_address.
25044
25045 dup3 for GNU Hurd.
25046 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25047 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25048 implement dup3 and do some further code clean-ups.
25049 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25050 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25051
25052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25053
25054 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25055
25056 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25057 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25058 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25059 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25060 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25061 d->port.lock.
25062
25063 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25064 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25065 when handler == SIG_ERR, not when handler != SIG_ERR.
25066
25067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25068
25069 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25070 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25071 definitions.
25072
25073 accept4 for GNU Hurd.
25074 * include/sys/socket.h (__libc_accept4): New prototype.
25075 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25076 to implement __libc_accept4.
25077 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25078 __libc_accept4.
25079 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25080
25081 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25082 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25083 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25084 signal-defines.sym.
25085
25086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25087
25088 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25089
25090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25091
25092 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25093 assertion on O_CLOEXEC flag.
25094 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25095 * hurd/intern-fd.c: Likewise.
25096 * hurd/port2fd.c: Likewise.
25097
25098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25099
25100 [BZ #3906]
25101 * bits/in.h (IPV6_PKTINFO): Define new macro.
25102 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25103
25104 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25105
25106 [BZ #13954]
25107 [BZ #13955]
25108 [BZ #13956]
25109 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25111 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25112 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25114 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25115 * math/libm-test.inc (logb_test) : Additional logb tests.
25116
25117 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25118 Andreas Jaeger <aj@suse.de>
25119
25120 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25121 * configure: Regenerated.
25122 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25123 * config.make.in (link-obsolete-rpc): New substituted variable.
25124 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25125 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25126 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25127 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25128 so that libc.a contains the symbols.
25129 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25130 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25131 * sunrpc/auth_none.c: Likewise.
25132 * sunrpc/auth_unix.c: Likewise.
25133 * sunrpc/authdes_prot.c: Likewise.
25134 * sunrpc/authuxprot.c: Likewise.
25135 * sunrpc/clnt_gen.c: Likewise.
25136 * sunrpc/clnt_perr.c: Likewise.
25137 * sunrpc/clnt_raw.c: Likewise.
25138 * sunrpc/clnt_simp.c: Likewise.
25139 * sunrpc/clnt_tcp.c: Likewise.
25140 * sunrpc/clnt_udp.c: Likewise.
25141 * sunrpc/clnt_unix.c: Likewise.
25142 * sunrpc/des_crypt.c: Likewise.
25143 * sunrpc/des_soft.c: Likewise.
25144 * sunrpc/get_myaddr.c: Likewise.
25145 * sunrpc/key_call.c: Likewise.
25146 * sunrpc/key_prot.c: Likewise.
25147 * sunrpc/netname.c: Likewise.
25148 * sunrpc/pm_getmaps.c: Likewise.
25149 * sunrpc/pm_getport.c: Likewise.
25150 * sunrpc/pmap_clnt.c: Likewise.
25151 * sunrpc/pmap_prot.c: Likewise.
25152 * sunrpc/pmap_prot2.c: Likewise.
25153 * sunrpc/pmap_rmt.c: Likewise.
25154 * sunrpc/publickey.c: Likewise.
25155 * sunrpc/rpc_cmsg.c: Likewise.
25156 * sunrpc/rpc_common.c: Likewise.
25157 * sunrpc/rpc_dtable.c: Likewise.
25158 * sunrpc/rpc_prot.c: Likewise.
25159 * sunrpc/rpc_thread.c: Likewise.
25160 * sunrpc/rtime.c: Likewise.
25161 * sunrpc/svc.c: Likewise.
25162 * sunrpc/svc_auth.c: Likewise.
25163 * sunrpc/svc_raw.c: Likewise.
25164 * sunrpc/svc_run.c: Likewise.
25165 * sunrpc/svc_tcp.c: Likewise.
25166 * sunrpc/svc_udp.c: Likewise.
25167 * sunrpc/svc_unix.c: Likewise.
25168 * sunrpc/svcauth_des.c: Likewise.
25169 * sunrpc/xcrypt.c: Likewise.
25170 * sunrpc/xdr.c: Likewise.
25171 * sunrpc/xdr_array.c: Likewise.
25172 * sunrpc/xdr_float.c: Likewise.
25173 * sunrpc/xdr_intXX_t.c: Likewise.
25174 * sunrpc/xdr_mem.c: Likewise.
25175 * sunrpc/xdr_rec.c: Likewise.
25176 * sunrpc/xdr_ref.c: Likewise.
25177 * sunrpc/xdr_sizeof.c: Likewise.
25178 * sunrpc/xdr_stdio.c: Likewise.
25179
25180 2012-05-10 Roland McGrath <roland@hack.frob.com>
25181
25182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25183 change. Update copyright years.
25184
25185 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25186
25187 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25188
25189 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25190 Joseph Myers <joseph@codesourcery.com>
25191 Paul Pluzhnikov <ppluzhnikov@google.com>
25192
25193 [BZ #14012]
25194 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25195 requiring rpcgen.
25196 [cross-compiling] (extra-libs): Likewise.
25197 [cross-compiling] (extra-libs-others): Likewise.
25198 [cross-compiling] (librpcsvc-routines): Likewise.
25199 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25200 [cross-compiling] (omit-deps): Likewise.
25201 (sunrpc-CPPFLAGS): New variable.
25202 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25203 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25204 (cross-rpcgen-objs): New variable.
25205 (extra-objs): Append $(cross-rpcgen-objs).
25206 ($(cross-rpcgen-objs)): New rule.
25207 ($(objpfx)cross-rpcgen): Likewise.
25208 (rpcgen-cmd): Define to use $(built-program-file). Expand
25209 comment.
25210 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25211 ($(objpfx)x%.stmp): Likewise.
25212 * sunrpc/proto.h [IS_IN_build] (_): Define.
25213 [IS_IN_build] (_libc_intl_domainname): Likewise.
25214
25215 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25216
25217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25218 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25219 and R_X86_64_TPOFF64.
25220
25221 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25222
25223 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25224 sysdeps/unix/sysv/syscalls.list.
25225 (stime): Likewise.
25226 (utime): Likewise.
25227 * sysdeps/unix/sysv/syscalls.list: Remove file.
25228
25229 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25230
25231 [BZ #3440]
25232 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25233 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25234 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25235 (__LC_IDENTIFICATION): Make these macros useful in #if
25236 expressions, as required by C99.
25237
25238 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25239
25240 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25241 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25242 after this.
25243
25244 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25245
25246 * stdlib/longlong.h: Updated from GCC.
25247
25248 2012-05-09 Andreas Jaeger <aj@suse.de>
25249
25250 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25251 default is first entry.
25252 (run_mode): Set type.
25253 (main): Remove informal message about syslog.
25254 (options): Fix typo.
25255
25256 [BZ #14053]
25257 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25258 to asm.
25259 (lrint): Likewise.
25260 (llrintf): Likewise.
25261 (llrint): Likewise.
25262 (rint): Likewise.
25263 (rintf): Likewise.
25264 (nearbyint): Likewise.
25265 (nearbyintf): Likewise.
25266
25267 2012-05-09 Andreas Jaeger <aj@suse.de>
25268 Pedro Alves <palves@redhat.com>
25269
25270 * nscd/nscd.c (run_mode): Use enum.
25271 (main): Cleanup coding style issue.
25272
25273 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25274 Andreas Jaeger <aj@suse.de>
25275
25276 * nscd/nscd.c (go_background): Replaced with...
25277 (run_mode): ... this.
25278 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25279 (options): Add -F --foreground.
25280 (main): Implement it.
25281 (parse_opt): Parse it.
25282
25283 2012-05-09 Andreas Jaeger <aj@suse.de>
25284
25285 [BZ #14083]
25286 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25287 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25288 -Wconversion warning.
25289 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25290 Likewise.
25291
25292 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25293
25294 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25295 == 0.
25296 (LC_ALL): Use macro-int-constant.
25297 (LC_COLLATE): Likewise.
25298 (LC_CTYPE): Likewise.
25299 (LC_MESSAGES): Likewise.
25300 (LC_MONETARY): Likewise.
25301 (LC_NUMERIC): Likewise.
25302 (LC_TIME): Likewise.
25303 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25304 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25306 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25307 Specify type.
25308 [C99-based standards] (float_t): Expect type.
25309 [C99-based standards] (double_t): Expect type.
25310 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25311 type.
25312 [C99-based standards] (HUGE_VALL): Likewise.
25313 [C99-based standards] (INFINITY): Likewise.
25314 [C99-based standards] (NAN): Likewise.
25315 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25316 [C99-based standards] (FP_NAN): Likewise.
25317 [C99-based standards] (FP_NORMAL): Likewise.
25318 [C99-based standards] (FP_SUBNORMAL): Likewise.
25319 [C99-based standards] (FP_ZERO): Likewise.
25320 [C99-based standards] (FP_FAST_FMA): Use
25321 optional-macro-int-constant. Specify type. Require == 1.
25322 [C99-based standards] (FP_FAST_FMAF): Likewise.
25323 [C99-based standards] (FP_FAST_FMAL): Likewise.
25324 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25325 [C99-based standards] (FP_ILOGBNAN): Likewise.
25326 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25327 Specify type.
25328 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25329 [C99-based standards] (math_errhandling): Specify type.
25330 [ISO99 || ISO11] (signgam): Do not allow.
25331 [non-C99-based standards] (copysignf): Do not allow.
25332 [non-C99-based standards] (exp2f): Likewise.
25333 [non-C99-based standards] (log2f): Likewise.
25334 [non-C99-based standards] (modff): Allow.
25335 [non-C99-based standards] (erff): Do not allow.
25336 [non-C99-based standards] (erfcf): Likewise.
25337 [non-C99-based standards] (gammaf): Likewise.
25338 [non-C99-based standards] (hypotf): Likewise.
25339 [non-C99-based standards] (j0f): Likewise.
25340 [non-C99-based standards] (j1f): Likewise.
25341 [non-C99-based standards] (jnf): Likewise.
25342 [non-C99-based standards] (lgammaf): Likewise.
25343 [non-C99-based standards] (tgammaf): Likewise.
25344 [non-C99-based standards] (y0f): Likewise.
25345 [non-C99-based standards] (y1f): Likewise.
25346 [non-C99-based standards] (ynf): Likewise.
25347 [non-C99-based standards] (isnanf): Likewise.
25348 [non-C99-based standards] (acoshf): Likewise.
25349 [non-C99-based standards] (asinhf): Likewise.
25350 [non-C99-based standards] (atanhf): Likewise.
25351 [non-C99-based standards] (cbrtf): Likewise.
25352 [non-C99-based standards] (expm1f): Likewise.
25353 [non-C99-based standards] (ilogbf): Likewise.
25354 [non-C99-based standards] (log1pf): Likewise.
25355 [non-C99-based standards] (logbf): Likewise.
25356 [non-C99-based standards] (nextafterf): Likewise.
25357 [non-C99-based standards] (remainderf): Likewise.
25358 [non-C99-based standards] (rintf): Likewise.
25359 [non-C99-based standards] (scalbf): Likewise.
25360 [non-C99-based standards] (copysignl): Likewise.
25361 [non-C99-based standards] (exp2l): Likewise.
25362 [non-C99-based standards] (log2l): Likewise.
25363 [non-C99-based standards] (modfl): Allow.
25364 [non-C99-based standards] (erfl): Do not allow.
25365 [non-C99-based standards] (erfcl): Likewise.
25366 [non-C99-based standards] (gammal): Likewise.
25367 [non-C99-based standards] (hypotl): Likewise.
25368 [non-C99-based standards] (j0l): Likewise.
25369 [non-C99-based standards] (j1l): Likewise.
25370 [non-C99-based standards] (jnl): Likewise.
25371 [non-C99-based standards] (lgammal): Likewise.
25372 [non-C99-based standards] (tgammal): Likewise.
25373 [non-C99-based standards] (y0l): Likewise.
25374 [non-C99-based standards] (y1l): Likewise.
25375 [non-C99-based standards] (ynl): Likewise.
25376 [non-C99-based standards] (isnanl): Likewise.
25377 [non-C99-based standards] (acoshl): Likewise.
25378 [non-C99-based standards] (asinhl): Likewise.
25379 [non-C99-based standards] (atanhl): Likewise.
25380 [non-C99-based standards] (cbrtl): Likewise.
25381 [non-C99-based standards] (expm1l): Likewise.
25382 [non-C99-based standards] (ilogbl): Likewise.
25383 [non-C99-based standards] (log1pl): Likewise.
25384 [non-C99-based standards] (logbl): Likewise.
25385 [non-C99-based standards] (nextafterl): Likewise.
25386 [non-C99-based standards] (remainderl): Likewise.
25387 [non-C99-based standards] (rintl): Likewise.
25388 [non-C99-based standards] (scalbl): Likewise.
25389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25390 [non-C99-based standards] (FP_*): Do not allow.
25391 [C99-based standards] (FP_*): Change to
25392 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25393 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25394 allow.
25395 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25396 (SIG_ERR): Likewise.
25397 [X/Open-based standards] (SIG_HOLD): Likewise.
25398 (SIG_IGN): Likewise.
25399 (SIGABRT): Use macro-int-constant. Specify type. Require
25400 positive value.
25401 (SIGFPE): Likewise.
25402 (SIGILL): Likewise.
25403 (SIGINT): Likewise.
25404 (SIGSEGV): Likewise.
25405 (SIGTER): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25417 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25418 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25420 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25421 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25422 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25423 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25424 [X/Open-based standards] (SIGTRAP): Likewise.
25425 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25426 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25427 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25428 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25429 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25430 allow.
25431
25432 2012-05-08 Ian Wienand <ianw@vmware.com>
25433
25434 [BZ #14080]
25435 * time/tzset.c (__tzset_parse_tz): Update default rules for
25436 daylight time changes in the Energy Policy Act of 2005.
25437
25438 2012-05-09 Andreas Jaeger <aj@suse.de>
25439
25440 [BZ #13983]
25441 * elf/ldconfig.c (parse_conf): Change string to make clear that
25442 ldconfig only issued a warning if ld.so.conf does not exist.
25443
25444 2012-05-08 David S. Miller <davem@davemloft.net>
25445
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25447 movxtod instead of popping the value on the stack.
25448
25449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25450
25451 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25452
25453 * config.h.in: Add HAVE_ARM_PCS_VFP.
25454
25455 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25456
25457 [BZ #13979]
25458 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25459 checking but the checks are disabled for any reason.
25460
25461 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25464 and ELF64_R_TYPE with ELFW(R_TYPE).
25465
25466 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25467
25468 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25469 (ulimit): Likewise.
25470
25471 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25472 (settimeofday): Likewise.
25473
25474 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25475
25476 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25477 a struct th_u2 inside the union, and move tu_block/tu_code into
25478 a new th_u3 union of tu_block/tu_code inside of that. Move
25479 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25480 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25481 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25482 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25483 (th_stuff): Change to th_u1.tu_stuff.
25484 (th_data): Define.
25485 (th_msg): Change to th_u1.th_u2.tu_data.
25486
25487 2012-05-07 David S. Miller <davem@davemloft.net>
25488
25489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25490
25491 [BZ #14074]
25492 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25493 (SETUP_PIC_REG): Use it.
25494 (SETUP_PIC_REG_LEAF): Use it.
25495
25496 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25497
25498 [BZ #13885]
25499 [BZ #13923]
25500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25501 USE_AS_EXPM1L.
25502 (EXPL_FINITE): Likewise.
25503 (FLDLOG): Likewise.
25504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25505 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25506 e_expl.S.
25507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25508 USE_AS_EXPM1L.
25509 (EXPL_FINITE): Likewise.
25510 (FLDLOG): Likewise.
25511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25512 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25513 e_expl.S.
25514 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25515 test of -max_value argument for long double.
25516 * sysdeps/i386/fpu/libm-test-ulps: Update.
25517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25518
25519 2012-05-06 David S. Miller <davem@davemloft.net>
25520
25521 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25522 quad soft-float symbols whose references which are compiler
25523 generated.
25524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25525
25526 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25527
25528 [BZ #13884]
25529 [BZ #13914]
25530 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25531 USE_AS_EXP10L.
25532 (EXPL_FINITE): Likewise.
25533 (FLDLOG): Likewise.
25534 (c0): Likewise.
25535 (c1): Likewise.
25536 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25537 Adjust comments for base varying.
25538 (__expl_finite): Change alias to EXPL_FINITE.
25539 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25540 e_expl.S.
25541 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25542 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25544 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25545 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25546 USE_AS_EXP10L.
25547 (EXPL_FINITE): Likewise.
25548 (FLDLOG): Likewise.
25549 (c0): Likewise.
25550 (c1): Likewise.
25551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25552 Adjust comments for base varying.
25553 (__expl_finite): Change alias to EXPL_FINITE.
25554 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25555 tests for bugs.
25556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25557
25558 [BZ #14064]
25559 * math/libm-test.inc (check_float_internal): Correct ulp
25560 calculation for subnormal expected results.
25561
25562 2012-05-06 Andreas Jaeger <aj@suse.de>
25563
25564 * Makeconfig (+math-flags): New, set to -frounding-math.
25565 (+cflags): Add +math-flags so that all of glibc gets compiled with
25566 it.
25567
25568 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25569
25570 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25571
25572 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25573 Disable one test.
25574
25575 [BZ #13787]
25576 [BZ #13922]
25577 [BZ #14036]
25578 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25579 (__ieee754_expl): Allow for and saturate large arguments.
25580 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25581 (u_threshold): Likewise.
25582 (__exp): Call __ieee754_exp before checking for overflow and
25583 underflow.
25584 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25585 (u_threshold): Likewise.
25586 (__expf): Call __ieee754_expf before checking for overflow and
25587 underflow.
25588 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25589 (u_threshold): Likewise.
25590 (__expl): Call __ieee754_expl before checking for overflow and
25591 underflow.
25592 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25593 (__ieee754_expl): Allow for and saturate large arguments.
25594 * math/libm-test.inc (exp_test): Add another test. Do not allow
25595 missing overflow exception on overflow.
25596 (expm1_test): Do not allow missing overflow exception on overflow.
25597
25598 * sysdeps/i386/fpu/e_expl.c: Move to ...
25599 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25600 rather than using inline asm.
25601 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25602 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25603 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25604
25605 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25606 (nice): Likewise.
25607 (poll): Likewise.
25608 (signal): Likewise.
25609 (time): Likewise.
25610 (times): Likewise.
25611
25612 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25613
25614 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25615 sysdeps/unix/common/syscalls.list.
25616 (fchmod): Likewise.
25617 (fchown): Likewise.
25618 (ftruncate): Likewise.
25619 (getrusage): Likewise.
25620 (gettimeofday): Likewise.
25621 (setpgid): Likewise.
25622 (setregid): Likewise.
25623 (setreuid): Likewise.
25624 (sigaction): Likewise.
25625 (truncate): Likewise.
25626 (vhangup): Likewise.
25627 * sysdeps/unix/common/syscalls.list: Remove file.
25628 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25629 * sysdeps/unix/sysv/linux/Implies: Likewise.
25630
25631 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25632
25633 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25635 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25636 Moved to ...
25637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25638 Here.
25639 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25640 to ...
25641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25642 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25643 to ...
25644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25645 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25646 to ...
25647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25648 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25649 to ...
25650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25651 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25652 to ...
25653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25654 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25655 to ...
25656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25657 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25658 to ...
25659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25660 Here.
25661 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25662 to ...
25663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25664 Here.
25665 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25666 to ...
25667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25668 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25669 Moved to ...
25670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25671 Here.
25672 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25673 to ...
25674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25675
25676 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25677
25678 * sysdeps/unix/common/bits/dirent.h: Remove file.
25679 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25680
25681 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25682 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25683 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25684 * sysdeps/unix/bsd/isatty.c: Likewise.
25685 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25686 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25687 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25688
25689 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25690
25691 [BZ #13563]
25692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25693 long double comparison inaccuracies.
25694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25696
25697 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25698
25699 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25701
25702 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25703
25704 [BZ #14049]
25705 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25706 nonzero digits before rounding a hex value.
25707 * stdlib/tst-strtod.c (tests): Add another test.
25708
25709 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25710
25711 * sysdeps/s390/fpu/libm-test-ulps: Update.
25712
25713 2012-05-03 Andreas Jaeger <aj@suse.de>
25714
25715 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25716 does not get optimized out.
25717 (malloc_opt_barrier): New.
25718
25719 2012-05-03 Andreas Jaeger <aj@suse.de>
25720 Roland McGrath <roland@hack.frob.com>
25721
25722 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25723 intermediate file deletion.
25724 (generated): Add .symlist files.
25725
25726 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25727
25728 [BZ #13775]
25729 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25730 Redirect under this condition.
25731 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25732 [__USE_GNU] (__dprintf_chk): Not under this condition.
25733 [__USE_GNU] (__vdprintf_chk): Likewise.
25734 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25735 under this condition.
25736 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25737 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25738 [__USE_XOPEN2K8] (vdprintf): Likewise.
25739 [__USE_GNU] (__dprintf_chk): Not under this condition.
25740 [__USE_GNU] (__vdprintf_chk): Likewise.
25741 [__USE_GNU] (dprintf): Likewise.
25742 [__USE_GNU] (vdprintf): Likewise.
25743
25744 2012-05-03 Roland McGrath <roland@hack.frob.com>
25745
25746 * elf/Makefile (common-generated): Set this instead of generated for
25747 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25748 $(all-built-dso)-derived lists.
25749
25750 2012-05-03 Andreas Jaeger <aj@suse.de>
25751
25752 * sysdeps/i386/fpu/libm-test-ulps: Update.
25753
25754 * FAQ: Removed.
25755 * FAQ.in: Likewise.
25756 * scripts/gen-FAQ.pl: Likewise.
25757 * manual/install.texi (Installation): Point to online location of
25758 FAQ.
25759 * Makefile (files-for-dist): Remove FAQ.
25760 (FAQ): Remove.
25761
25762 2012-05-02 Allan McRae <allan@archlinux.org>
25763
25764 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25765 (LDFLAGS-reldepmod5.so): Likewise.
25766 (LDFLAGS-reldep6mod1.so): Likewise.
25767 (LDFLAGS-reldep6mod4.so): Likewise.
25768 (LDFLAGS-reldep8mod3.so): Likewise.
25769 (LDFLAGS-unload4mod1.so): Likewise.
25770 (LDFLAGS-unload4mod2.so): Likewise.
25771 (LDFLAGS-tst-initorder): Likewise.
25772 (LDFLAGS-tst-initordera2.so): Likewise.
25773 (LDFLAGS-tst-initordera3.so): Likewise.
25774 (LDFLAGS-tst-initordera4.so): Likewise.
25775 (LDFLAGS-tst-initorderb2.so): Likewise.
25776 (LDFLAGS-noload): Likewise.
25777 (LDFLAGS-next): Likewise.
25778 (LDFLAGS-order2mod1.so): Likewise.
25779 (LDFLAGS-order2mod2.so): Likewise.
25780 (LDFLAGS-tst-initorder2): Likewise.
25781 (LDFLAGS-tst-initorder2a.so): Likewise.
25782 (LDFLAGS-tst-initorder2b.so): Likewise.
25783 (LDFLAGS-tst-initorder2c.so): Likewise.
25784 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25785
25786 2012-05-02 David S. Miller <davem@davemloft.net>
25787
25788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25789
25790 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25791
25792 [BZ #14055]
25793 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25794
25795 2012-05-02 Andreas Jaeger <aj@suse.de>
25796
25797 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25798 since we manipulate rounding mode.
25799 (CPPFLAGS-test-idouble.c): Likewise.
25800 (CPPFLAGS-test-ifloat.c): Likewise.
25801 (CFLAGS-test-ldouble.c): Likewise.
25802 (CFLAGS-test-double.c): Likewise.
25803 (CFLAGS-test-float.c): Likewise.
25804 (CFLAGS-test-misc.c): Likewise.
25805 (CFLAGS-test-test-fenv.c): Likewise.
25806
25807 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25808
25809 [BZ #2550]
25810 [BZ #2570]
25811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25812 comparisons to determine direction to adjust input.
25813
25814 2012-05-01 Roland McGrath <roland@hack.frob.com>
25815
25816 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25817 output to the target.
25818
25819 * scripts/localplt.awk: New file.
25820 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25821 (check-localplt-CFLAGS): Variable removed.
25822 ($(all-built-dso:=.jmprel)): New static pattern rule.
25823 (generated): Add those targets.
25824 (localplt-built-dso): New variable.
25825 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25826
25827 * elf/check-localplt.c: File removed.
25828
25829 * scripts/check-execstack.awk: New file.
25830 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25831 (check-execstack-CFLAGS): Variable removed.
25832 ($(objpfx)check-execstack.h): Target removed.
25833 ($(objpfx)execstack-default): New target.
25834 (generated): Add that instead of check-execstack.h.
25835 ($(all-built-dso:=.phdr)): New static pattern rule.
25836 (generated): Add those targets.
25837 * elf/check-execstack.c: File removed.
25838
25839 * scripts/check-textrel.awk: New file.
25840 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25841 (check-textrel-CFLAGS): Variable removed.
25842 (all-built-dso): Use := to define.o
25843 ($(all-built-dso:=.dyn)): New static pattern rule.
25844 (generated): Add those targets.
25845 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25846 * config.make.in (READELF): New substituted variable.
25847 * elf/check-textrel.c: File removed.
25848
25849 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25850
25851 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25852 allow.
25853 * conform/data/ctype.h-data [C99-based standards] (isblank):
25854 Expect function.
25855 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25856 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25858 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25859 Specify type. Require positive value.
25860 (EILSEQ): Likewise.
25861 (ERANGE): Likewise.
25862 [ISO || POSIX] (EILSEQ): Do not expect.
25863 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25864 Specify type. Require positive value.
25865 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25868 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25871 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25872 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25875 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25876 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25877 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25879 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25890 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25892 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25893 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25939 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25940 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25941 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25942 Require >= 2.
25943 (FLT_ROUNDS): Expect as macro, not constant.
25944 (FLT_MANT_DIG): Use macro-int-constant.
25945 (DBL_MANT_DIG): Likewise.
25946 (LDBL_MANT_DIG): Likewise.
25947 (FLT_DIG): Likewise.
25948 (DBL_DIG): Likewise.
25949 (LDBL_DIG): Likewise.
25950 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25951 (DBL_MIN_EXP): Likewise.
25952 (LDBL_MIN_EXP): Likewise.
25953 (FLT_MAX_EXP): Use macro-int-constant.
25954 (DBL_MAX_EXP): Likewise.
25955 (LDBL_MAX_EXP): Likewise.
25956 (FLT_MAX_10_EXP): Likewise.
25957 (DBL_MAX_10_EXP): Likewise.
25958 (LDBL_MAX_10_EXP): Likewise.
25959 (FLT_MAX): Use macro-constant.
25960 (DBL_MAX): Likewise.
25961 (LDBL_MAX): Likewise.
25962 (FLT_EPSILON): Use macro-constant. Give upper bound.
25963 (DBL_EPSILON): Likewise.
25964 (LDBL_EPSILON): Likewise.
25965 (FLT_MIN): Likewise.
25966 (DBL_MIN): Likewise.
25967 (LDBL_MIN): Likewise.
25968 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25969 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25970 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25971 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25972 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25973 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25974 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25975 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25976 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25977 [ISO11] (FLT_TRUE_MIN): Likewise.
25978 [ISO11] (LDBL_TRUE_MIN): Likewise.
25979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25980 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25981 (SCHAR_MIN): Use macro-int-constant. Specify type.
25982 (SCHAR_MAX): Likewise.
25983 (UCHAR_MAX): Likewise.
25984 (CHAR_MIN): Likewise.
25985 (CHAR_MAX): Likewise.
25986 (MB_LEN_MAX): Use macro-int-constant.
25987 (SHRT_MIN): Use macro-int-constant. Specify type.
25988 (SHRT_MAX): Likewise.
25989 (USHRT_MAX): Likewise.
25990 (INT_MAX): Likewise.
25991 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25992 bound negative.
25993 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25994 bound with "U".
25995 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25996 bound with "L".
25997 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25998 bound negative. Suffix upper bound with "L".
25999 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26000 bound with "UL".
26001 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26002 Specify type.
26003 [C99-based standards] (LLONG_MAX): Likewise.
26004 [C99-based standards] (ULLONG_MAX): Likewise.
26005 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26006 == 0.
26007 [ISO11] (max_align_t): Require type.
26008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26009
26010 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26011 from $CFLAGS, without defining away __attribute__ calls.
26012 (checknamespace): Use $CFLAGS_namespace.
26013
26014 * conform/conformtest.pl (@keywords): Only include C99 keywords
26015 for standards based on C99 or C11.
26016
26017 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26018 Disable tests.
26019 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26020 UNIX98]: Likewise.
26021
26022 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26023 usability of symbols in #if.
26024
26025 * conform/conformtest.pl: If macro or constant types start
26026 "promoted:", expect the symbol to be of the following type
26027 promoted by the integer promotions.
26028
26029 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26030 in one place. Also handle "macro-constant".
26031
26032 * conform/conformtest.pl: Only accept expected macro values with
26033 "==". Parse all "macro" lines in one place.
26034 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26035
26036 * conform/conformtest.pl: Handle braced types on "constant" lines
26037 instead of handling "typed-constant".
26038 * conform/data/signal.h-data: Use "constant" instead of
26039 "typed-constant".
26040
26041 * conform/conformtest.pl: Handle "optional-" at start of lines in
26042 one place rather than duplicating several cases. Handle each
26043 format of "macro" line with initial "optional-".
26044
26045 * conform/conformtest.pl: Only accept expected constant or
26046 optional-constant values with "==". Parse all "constant" lines in
26047 one place. Parse all "optional-constant" lines in one place.
26048 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26049 * conform/data/fmtmsg.h-data: Likewise.
26050 * conform/data/netinet/in.h-data: Likewise.
26051 * conform/data/tar.h-data: Likewise.
26052 * conform/data/limits.h-data: Use "==" form on "constant" and
26053 "optional-constant" lines.
26054
26055 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26056 Use -std=c99 for XOPEN2K.
26057 (@knownproblems): Remove.
26058 (newtoken): Don't check %isknown.
26059
26060 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26061 Do not expect macro.
26062 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26074 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26075 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26080 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26081 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26082 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26085 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26086 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26087 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26088 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26091 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26092 [XPG3] (acosh): Likewise.
26093 [XPG3] (asinh): Likewise.
26094 [XPG3] (atanh): Likewise.
26095 [XPG3] (cbrt): Likewise.
26096 [XPG3] (expm1): Likewise.
26097 [XPG3] (ilogb): Likewise.
26098 [XPG3] (log1p): Likewise.
26099 [XPG3] (logb): Likewise.
26100 [XPG3] (nextafter): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26103 [XPG3] (remainder): Likewise.
26104 [XPG3] (rint): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26112 [UNIX98 || XOPEN2K] (scalb): Expect.
26113 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26114 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26250
26251 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26252 _XOPEN_SOURCE_EXTENDED for XPG4.
26253
26254 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26255
26256 * Makeconfig (localtime): Remove variable.
26257 (inst_localtime-file): Likewise.
26258
26259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26260
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26262 Update.
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26264 Update.
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26266 Update.
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26268 Update.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26270 Update.
26271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26272 Update.
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26274 Update.
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26276 Update.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26278 Update.
26279
26280 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26281
26282 [BZ #2550]
26283 [BZ #2570]
26284 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26285 comparisons to determine direction to adjust input.
26286 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26287 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26289 Likewise.
26290 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26291 Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26293 Likewise.
26294 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26295 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26296 Likewise.
26297 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26298 Likewise.
26299 * math/libm-test.inc (nexttoward_test): Add more tests.
26300
26301 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26302
26303 [BZ #14040]
26304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26305 in version GLIBC_2.1, not GLIBC_2.0.
26306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26307 Likewise.
26308
26309 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26310
26311 [BZ #13942]
26312 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26313 (1 - x) * (1 + x).
26314 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26315 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26316 * math/libm-test.inc (acos_test): Add more tests.
26317 (asin_test): Likewise.
26318 * sysdeps/i386/fpu/libm-test-ulps: Update.
26319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26320
26321 [BZ #14034]
26322 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26323 of square root.
26324 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26325 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26326 * math/libm-test.inc (acos_test_tonearest): New function.
26327 (acos_test_towardzero): Likewise.
26328 (acos_test_downward): Likewise.
26329 (acos_test_upward): Likewise.
26330 (asin_test_tonearest): Likewise.
26331 (asin_test_towardzero): Likewise.
26332 (asin_test_downward): Likewise.
26333 (asin_test_upward): Likewise.
26334 (main): Call the new functions.
26335 * sysdeps/i386/fpu/libm-test-ulps: Update.
26336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26337
26338 [BZ #13884]
26339 [BZ #13924]
26340 * math/e_exp10.c: Include <float.h>.
26341 (__ieee754_exp10): Handle underflow here rather than multiplying
26342 large negative argument by M_LN10.
26343 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26344 of __ieee754_expf.
26345 * math/e_exp10l.c: Include <float.h>.
26346 (__ieee754_exp10l): Handle underflow here rather than multiplying
26347 large negative argument by M_LN10l.
26348 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26349 spurious overflow exception on underflow.
26350
26351 2012-04-29 Marek Polacek <polacek@redhat.com>
26352
26353 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26354 (__fortify_function): New macro.
26355 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26356 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26357 __extern_always_inline.
26358 * libio/bits/stdio2.h: Likewise.
26359 * libio/bits/stdio.h: Likewise.
26360 * string/string.h: Likewise.
26361 * string/bits/string3.h: Likewise.
26362 * include/stdio.h: Likewise.
26363 * stdlib/bits/stdlib.h: Likewise.
26364 * stdlib/stdlib.h: Likewise.
26365 * rt/bits/mqueue2.h: Likewise.
26366 * rt/mqueue.h: Likewise.
26367 * posix/bits/unistd.h: Likewise.
26368 * posix/unistd.h: Likewise.
26369 * io/bits/poll2.h: Likewise.
26370 * io/bits/fcntl2.h: Likewise.
26371 * io/fcntl.h: Likewise.
26372 * io/sys/poll.h: Likewise.
26373 * misc/bits/syslog.h: Likewise.
26374 * misc/bits/syslog-ldbl.h: Likewise.
26375 * misc/sys/syslog.h: Likewise.
26376 * socket/bits/socket2.h: Likewise.
26377 * socket/sys/socket.h: Likewise.
26378 * debug/tst-chk1.c: Likewise.
26379 * wcsmbs/bits/wchar2.h: Likewise.
26380 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26381 * wcsmbs/wchar.h: Likewise.
26382
26383 2012-04-29 Andreas Jaeger <aj@suse.de>
26384
26385 * Makerules (tests): Remove enable-check-abi protection.
26386 (check-abi-warn): Remove.
26387 (check-abi-%): Remove check-abi-warn usage.
26388
26389 * configure.in: Remove check-abi configure option.
26390 * configure: Regenerated.
26391 * config.make.in (enable-check-abi): Remove.
26392
26393 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26394
26395 [BZ #14033]
26396 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26397 double functions to double *_finite functions.
26398
26399 [BZ #13941]
26400 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26401 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26402 LDBL_MIN_EXP.
26403 * stdio-common/Makefile (tests): Add tst-sprintf3.
26404 * stdio-common/tst-sprintf3.c: New file.
26405
26406 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26407 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26408
26409 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26410
26411 * conform/conformtest.pl: Remove duplicate typed-constant
26412 handling.
26413
26414 2012-04-28 David S. Miller <davem@davemloft.net>
26415
26416 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26417 (check-abi-%): Remove AWK script prerequisite and explicit
26418 abilist directory.
26419 (check-abi): Rewrite to just diff the symlist with the abilist.
26420 (config-tls, config-abi-config): Delete, no longer used.
26421 (update-abi-%): Remove AWK script and explicit abilist directory.
26422 (update-abi): Rewrite to simply compare and conditionally copy the
26423 symlist and the sysdep abilist file. Remove update-abi-config
26424 checks.
26425 * abilist/ld.abilist: Remove.
26426 * abilist/libBrokenLocale.abilist: Remove.
26427 * abilist/libanl.abilist: Remove.
26428 * abilist/libcrypt.abilist: Remove.
26429 * abilist/libdl.abilist: Remove.
26430 * abilist/librt.abilist: Remove.
26431 * abilist/libthread_db.abilist: Remove.
26432 * abilist/libutil.abilist: Remove.
26433 * scripts/extract-abilist.awk: Remove.
26434 * scripts/merge-abilist.awk: Remove.
26435 * sysdeps/generic/libcidn.abilist: New file.
26436 * sysdeps/generic/libnss_compat.abilist: New file.
26437 * sysdeps/generic/libnss_db.abilist: New file.
26438 * sysdeps/generic/libnss_dns.abilist: New file.
26439 * sysdeps/generic/libnss_files.abilist: New file.
26440 * sysdeps/generic/libnss_hesiod.abilist: New file.
26441 * sysdeps/generic/libnss_nis.abilist: New file.
26442 * sysdeps/generic/libnss_nisplus.abilist: New file.
26443 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26444 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26445 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26446 file.
26447 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26448 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26449 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26450 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26451 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26452 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26453 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26454 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26455 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26456 file.
26457 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26458 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26459 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26460 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26461 file.
26462 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26463 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26464 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26465 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26467 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26468 file.
26469 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26470 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26471 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26472 file.
26473 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26475 New file.
26476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26477 New file.
26478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26479 New file.
26480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26481 New file.
26482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26483 New file.
26484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26485 New file.
26486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26487 New file.
26488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26489 New file.
26490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26491 New file.
26492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26493 New file.
26494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26495 New file.
26496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26497 New file.
26498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26499 New file.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26501 file.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26503 New file.
26504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26505 New file.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26507 file.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26509 New file.
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26511 New file.
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26513 file.
26514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26515 New file.
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26517 New file.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26519 New file.
26520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26521 New file.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26523 New file.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26525 New file.
26526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26528 file.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26530 New file.
26531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26532 file.
26533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26534 file.
26535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26536 file.
26537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26538 file.
26539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26540 file.
26541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26542 New file.
26543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26544 file.
26545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26546 file.
26547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26548 New file.
26549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26550 file.
26551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26553 file.
26554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26555 New file.
26556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26557 file.
26558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26559 file.
26560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26561 file.
26562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26563 file.
26564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26565 file.
26566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26567 New file.
26568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26569 file.
26570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26571 file.
26572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26573 New file.
26574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26575 file.
26576 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26577 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26578 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26579 file.
26580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26581 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26582 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26583 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26584 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26585 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26586 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26587 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26588 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26589 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26592 file.
26593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26594 New file.
26595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26596 file.
26597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26598 file.
26599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26600 file.
26601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26602 file.
26603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26604 file.
26605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26606 New file.
26607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26608 New file.
26609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26610 file.
26611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26612 New file.
26613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26614 file.
26615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26617 file.
26618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26619 New file.
26620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26621 file.
26622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26623 file.
26624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26625 file.
26626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26627 file.
26628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26629 file.
26630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26631 New file.
26632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26633 New file.
26634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26635 file.
26636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26637 New file.
26638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26639 file.
26640
26641 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26642
26643 * conform/conformtest.pl: Fix typo in handling typed-constant from
26644 allow-header.
26645
26646 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26647
26648 * README: Cut down references to pre-2.6 Linux kernels and
26649 Linuxthreads. Update lists of configurations in libc and ports
26650 and sort alphabetically. Say "or newer" with Linux kernel version
26651 requirements.
26652
26653 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26654
26655 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26656
26657 [BZ #887]
26658 * math/libm-test.inc (logb_test_downward): New test to expose
26659 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26660 rounding mode.
26661
26662 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26663
26664 [BZ #14027]
26665 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26666 to be done.
26667 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26668 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26669
26670 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26671
26672 * sysdeps/unix/i386/brk.S: Remove file.
26673 * sysdeps/unix/i386/dl-brk.S: Likewise.
26674 * sysdeps/unix/i386/pipe.S: Likewise.
26675 * sysdeps/unix/i386/sigreturn.S: Likewise.
26676 * sysdeps/unix/i386/syscall.S: Likewise.
26677 * sysdeps/unix/i386/vfork.S: Likewise.
26678 * sysdeps/unix/i386/wait.S: Likewise.
26679
26680 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26681 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26682
26683 * configure.in (arm*-none*): Do not allow without
26684 --enable-hacker-mode.
26685 (netbsd*): Remove case setting base_os.
26686 (386bsd*): Likewise.
26687 (freebsd*): Likewise.
26688 (bsdi*): Likewise.
26689 (osf*): Likewise.
26690 (sunos*): Likewise.
26691 (ultrix*): Likewise.
26692 (newsos*): Likewise.
26693 (dynix*): Likewise.
26694 (*bsd*): Likewise.
26695 (sysv*): Likewise.
26696 (isc*): Likewise.
26697 (esix*): Likewise.
26698 (sco*): Likewise.
26699 (minix*): Likewise.
26700 (irix4*): Likewise.
26701 (irix6*): Likewise.
26702 (solaris[2-9]*): Likewise.
26703 (none): Likewise.
26704 * configure: Regenerated.
26705
26706 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26707
26708 [BZ #11521]
26709 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26710 overflow or cancellation in calculating denominator.
26711 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26713 down expression to avoid unexpected rounding in newer GCCs.
26714 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26715
26716 2012-04-26 David S. Miller <davem@davemloft.net>
26717
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26719 long-double compat symbols.
26720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26733
26734 2012-04-25 David S. Miller <davem@davemloft.net>
26735
26736 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26737 HWCAP_* values only after the memory barriers have been defined.
26738 (atomic_full_barrier): Define.
26739 (atomic_read_barrier): Define.
26740 (atomic_write_barrier): Define.
26741
26742 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26743
26744 * shlib-versions: Add libgcc_s version information.
26745 * sysdeps/generic/libgcc_s.h: Remove.
26746 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26747 libgcc_s.h.
26748 * sysdeps/gnu/unwind-resume.c: Likewise.
26749 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26750
26751 2012-04-25 David S. Miller <davem@davemloft.net>
26752
26753 * sysdeps/unix/sparc/brk.S: Delete.
26754 * sysdeps/unix/sparc/dl-brk.S: Delete.
26755 * sysdeps/unix/sparc/pipe.S: Delete.
26756 * sysdeps/unix/sparc/sysdep.S: Delete.
26757 * sysdeps/unix/sparc/sysdep.h: Delete.
26758 * sysdeps/unix/sparc/vfork.S: Delete.
26759 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26760 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26762 ret_ERRVAL, r0, r1, MOVE): Define.
26763 (JUMPTARGET): Remove.
26764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26765 sysdeps/unix/sparc/sysdep.h
26766 (ENTRY, END): Remove.
26767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26768
26769 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26770
26771 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26772 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26773 -DIS_IN_build.
26774
26775 * timezone/README: Update upstream location and email address for
26776 tzcode and tzdata.
26777 * timezone/zdump.c: Update from tzcode 2012b.
26778 * timezone/zic.c: Likewise.
26779
26780 * configure.in (libc_cv_as_needed): Remove test.
26781 * configure: Regenerated.
26782 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26783 conditional definition.
26784 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26785 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26786 * config.make.in (have-as-needed): Remove variable.
26787
26788 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26789 Paul Pluzhnikov <ppluzhnikov@google.com>
26790
26791 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26792 strings correctly.
26793
26794 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26795
26796 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26797 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26798 * sysdeps/sh/strlen.S: Likewise.
26799
26800 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26801
26802 * sysdeps/unix/fork.S: Remove file.
26803 * sysdeps/unix/i386/fork.S: Likewise.
26804 * sysdeps/unix/sparc/fork.S: Likewise.
26805
26806 * sysdeps/unix/system.c: Remove file.
26807 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26808
26809 * sysdeps/unix/getegid.S: Remove file.
26810 * sysdeps/unix/geteuid.S: Likewise.
26811
26812 2012-04-24 Roland McGrath <roland@hack.frob.com>
26813
26814 * scripts/check-localplt.awk: New file.
26815 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26816 of diff.
26817 * scripts/data/localplt-generic.data: Add a comment.
26818
26819 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26820 NODE when __dir_mkfile failed.
26821 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26822 Reported by Ludovic Courtès <ludo@gnu.org>.
26823
26824 2012-04-24 Andreas Jaeger <aj@suse.de>
26825
26826 * Makerules (common-clean): Also remove gen-as-const-headers
26827 files.
26828
26829 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26830
26831 * Makerules (native-compile): Do not change working directory for
26832 build. Use $(OUTPUT_OPTION) in command.
26833 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26834
26835 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26836
26837 [BZ #13886]
26838 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26839 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26840 * math/libm-test.inc (floor_test): Add more tests.
26841 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26842
26843 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26844
26845 * sysdeps/unix/getdents.c: Remove file.
26846 * sysdeps/unix/sysv/getdents.c: Likewise.
26847 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26848
26849 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26850 sysdeps/unix/mman/syscalls.list.
26851 (mmap): Likewise.
26852 (mprotect): Likewise.
26853 (msync): Likewise.
26854 (munmap): Likewise.
26855 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26856 * sysdeps/unix/mman/syscalls.list: Remove.
26857 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26858
26859 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26860 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26861 * configure: Regenerated.
26862 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26863 $(libgcc_s_suffix).
26864 * config.make.in (libgcc_s_suffix): Remove variable.
26865
26866 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26867
26868 * sysdeps/unix/sysv/gethostname.c: Move to ...
26869 * sysdeps/posix/gethostname.c: ... here.
26870
26871 * sysdeps/unix/execve.S: Remove file.
26872
26873 * sysdeps/unix/_exit.S: Remove file.
26874
26875 2012-04-23 Andreas Jaeger <aj@suse.de>
26876
26877 [BZ #13739]
26878 * manual/Makefile: Remove make dist support, there's no
26879 need for a stand-alone documentation tar ball.
26880 (TEXI2DVI): Define always, it's not in Makeconfig.
26881 (dist): Removed.
26882 (tar-it): Removed.
26883 (edition): Removed.
26884 (glibc-doc-$(edition).tar): Removed
26885 (%.Z): Removed.
26886 (%.gz): Removed.
26887 (%.uu): Removed.
26888 (ETAGS): Remove, it's in Makeconfig.
26889 (move-if-change): Remove, it's in Makeconfig.
26890
26891 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26892
26893 [BZ #13970]
26894 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26895 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26896 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26897 (strtod_l, strtof_l, strtold_l): Remove __wur.
26898 It is not necessarily an error to ignore strtol's return value.
26899 One can reliably look at the stored endptr to decide whether
26900 the number had valid syntax.
26901
26902 2012-04-21 Andreas Jaeger <aj@suse.de>
26903
26904 [BZ #13739]
26905 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26906
26907 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26908
26909 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26910 * sysdeps/unix/sysv/Versions: Remove file.
26911
26912 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26913
26914 [BZ #13927]
26915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26916
26917 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26918
26919 [BZ #7064]
26920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26921 version from __vm86.
26922
26923 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26924
26925 * sysdeps/unix/common/lxstat.c: Remove file.
26926 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26927
26928 * sysdeps/unix/sysv/Makefile: Remove file.
26929
26930 * sysdeps/unix/sysv/direct.h: Remove file.
26931
26932 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26933 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26934 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26935 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26936 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26937 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26938 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26939
26940 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26941
26942 * sysdeps/unix/xmknod.c: Remove file.
26943 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26944
26945 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26946
26947 * sysdeps/unix/sysv/i386/time.S: Remove file.
26948
26949 * sysdeps/unix/fxstat.c: Remove file.
26950 * sysdeps/unix/xstat.c: Likewise.
26951 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26952
26953 * sysdeps/unix/sysv/sigaction.c: Remove file.
26954
26955 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26956 (sysdep_headers): Remove variable.
26957 [termio.h not in sysdep_headers] (generated): Likewise.
26958 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26959 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26960 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26961 * sysdeps/unix/sysv/tcflow.c: Likewise.
26962 * sysdeps/unix/sysv/tcflush.c: Likewise.
26963 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26964 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26965 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26966 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26967 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26968
26969 * sysdeps/unix/siglist.c: Remove file.
26970
26971 * sysdeps/unix/getppid.S: Remove file.
26972
26973 * sysdeps/unix/mkdir.c: Remove file.
26974 * sysdeps/unix/rmdir.c: Likewise.
26975
26976 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26977
26978 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26979 ERR_MAX value.
26980 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26981 errlist-compat value.
26982
26983 2012-04-18 David S. Miller <davem@davemloft.net>
26984
26985 * sysdeps/generic/memcopy.h (reg_char): Delete.
26986 * debug/strcat_chk.c: Use char, not reg_char.
26987 * debug/strcpy_chk.c: Likewise.
26988 * debug/strncat_chk.c: Likewise.
26989 * debug/strncpy_chk.c: Likewise.
26990 * string/memchr.c: Likewise.
26991 * string/memrchr.c: Likewise.
26992 * string/rawmemchr.c: Likewise.
26993 * string/strcat.c: Likewise.
26994 * string/strchr.c: Likewise.
26995 * string/strchrnul.c: Likewise.
26996 * string/strcmp.c: Likewise.
26997 * string/strcpy.c: Likewise.
26998 * string/strncat.c: Likewise.
26999 * string/strncmp.c: Likewise.
27000 * string/strncpy.c: Likewise.
27001
27002 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27003
27004 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27005 __builtin_memcopy is called when src and dest ranges are known to not
27006 overlap.
27007
27008 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27009
27010 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27011 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27012 fwd_align_merge macro call.
27013 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27014 bwd_align_merge macro call.
27015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27016
27017 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27018
27019 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27020 bwd_align_merge macros.
27021 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27022 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27024
27025 2012-04-18 David S. Miller <davem@davemloft.net>
27026
27027 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27028
27029 2012-04-18 Andreas Jaeger <aj@suse.de>
27030
27031 [BZ# 6794]
27032 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27033 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27034 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27035
27036 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27037 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27039
27040 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27041 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27042 Adjust for changed ldbl-128 files.
27043
27044 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27045 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27047
27048 2012-04-17 David S. Miller <davem@davemloft.net>
27049
27050 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27051
27052 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27053
27054 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27055 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27056 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27057 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27058 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27059 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27060
27061 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27062
27063 [BZ #6794]
27064 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27065 * math/libm-test.inc: Add ilogb errno and exception tests.
27066 * math/w_ilogb.c: New file: ilogb wrapper.
27067 * math/w_ilogbf.c: New file: ilogbf wrapper.
27068 * math/w_ilogbl.c: New file: ilogbl wrapper.
27069 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27070 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27071 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27072 exception being thrown with 0.0 as argument.
27073 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27074 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27075 exception being thrown with 0.0 as argument.
27076 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27077 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27078 exception being thrown with 0.0 as argument.
27079 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27080 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27081 exception being thrown with 0.0 as argument.
27082 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27083 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27085 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27087 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27088 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27089 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27090 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27091
27092 2012-04-17 Petr Baudis <pasky@ucw.cz>
27093
27094 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27095 with altivec.
27096
27097 2012-04-16 Marek Polacek <polacek@redhat.com>
27098
27099 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27100
27101 2012-04-16 Marek Polacek <polacek@redhat.com>
27102
27103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27104 operands of fdivp instruction.
27105
27106 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27107
27108 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27109 * elf/tst-auditmod3b.c: Likewise.
27110 * elf/tst-auditmod4b.c: Likewise.
27111 * elf/tst-auditmod5b.c: Likewise.
27112 * elf/tst-auditmod6b.c: Likewise.
27113 * elf/tst-auditmod6c.c: Likewise.
27114 * elf/tst-auditmod7b.c: Likewise.
27115 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27116 * sysdeps/x86_64/preconfigure.in: Likewise.
27117 * sysdeps/x86_64/preconfigure: Regenerated.
27118
27119 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27120
27121 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27122 __ILP32__.
27123
27124 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27125
27126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27127 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27128
27129 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27130
27131 [BZ #13973]
27132 * locale/iso-639.def: Fix gl language name. Spotted by
27133 Yaron Shahrabani.
27134
27135 2012-04-12 Roland McGrath <roland@hack.frob.com>
27136
27137 [BZ #2074]
27138 * libio/libio.h (__io_write_fn): Update comment.
27139
27140 2012-04-12 Petr Baudis <pasky@ucw.cz>
27141
27142 [BZ #2074]
27143 * stdio.texi (Hook Functions): The user provided writer function
27144 is not allowed to return -1.
27145
27146 2012-04-11 David S. Miller <davem@davemloft.net>
27147
27148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27149
27150 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27151
27152 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27153 Add a leading slash to rtkaio.
27154
27155 2012-04-11 Jim Meyering <meyering@redhat.com>
27156
27157 [BZ #11959]
27158 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27159 It is not necessarily an error to ignore fwrite's return
27160 value. One can reliably use ferror to test for errors after
27161 the fact.
27162
27163 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27164
27165 * bits/types.h (__snseconds_t): New type.
27166 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27167
27168 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27170 (__SNSECONDS_T_TYPE): Likewise.
27171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27172 (__SNSECONDS_T_TYPE): Likewise.
27173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27174 (__SNSECONDS_T_TYPE): Likewise.
27175
27176 2012-04-10 Andreas Jaeger <aj@suse.de>
27177
27178 [BZ #2636]
27179 * manual/time.texi (Processor Time): Return type of times is
27180 elapsed real time since an arbitrary point in the past.
27181 (CPU Time): Move CLK_TCK from here...
27182 (Processor Time): ...to here. Correct description.
27183 * manual/conf.texi (Constants for Sysconf): Correct description of
27184 _SC_CLK_TCK.
27185
27186 2012-04-10 David S. Miller <davem@davemloft.net>
27187
27188 [BZ #13967]
27189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27190 where the is a gap between DT_REL(A) and DT_JMPREL.
27191
27192 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27193
27194 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27195 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27196 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27197
27198 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27199
27200 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27201 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27202 (dl_main): Handle --inhibit-cache.
27203 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27204 _dl_inhibit_cache.
27205 * elf/dl-load.c (_dl_map_object): Use it.
27206 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27207
27208 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27209
27210 [BZ #13872]
27211 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27212 (__ieee754_powl): Saturate large exponents rather than testing for
27213 overflow of y*log2(x).
27214 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27215 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27216 exceptions.
27217
27218 [BZ #11521]
27219 * math/s_ctan.c: Include <float.h>.
27220 (__ctan): Avoid internal overflow or cancellation in calculating
27221 denominator.
27222 * math/s_ctanf.c: Likewise.
27223 * math/s_ctanl.c: Likewise.
27224 * math/s_ctanh.c: Likewise.
27225 * math/s_ctanhf.c: Likewise.
27226 * math/s_ctanhl.c: Likewise.
27227 * math/libm-test.inc (ctan_test): Add more tests.
27228 (ctanh_test): Likewise.
27229 * sysdeps/i386/fpu/libm-test-ulps: Update.
27230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27231
27232 2012-04-09 Andreas Jaeger <aj@suse.de>
27233
27234 [BZ #6894]
27235 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27236 is an optional BSD extension.
27237
27238 [BZ #10254]
27239 * manual/stdio.texi (Opening Streams): Document additional fopen
27240 parameters.
27241
27242 2012-04-09 Roland McGrath <roland@hack.frob.com>
27243
27244 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27245 %eax without telling the compiler.
27246
27247 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27248
27249 [BZ # 13963]
27250 * manual/install.texi: Use sourceware.org.
27251
27252 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27253
27254 [BZ #13873]
27255 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27256 (__ieee754_pow): Generate overflow and underflow using huge*huge
27257 and tiny*tiny rather than just returning constant infinity or zero
27258 for large exponents.
27259 * math/libm-test.inc (pow_test): Require overflow exceptions for
27260 applicable cases of large exponents.
27261
27262 [BZ #706]
27263 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27264 (__ieee754_pow): Use iterative multiplication algorithm only for
27265 integer exponents with absolute value below 1024. Check for odd
27266 integer exponents when using algorithm for real exponents.
27267 * math/libm-test.inc (pow_test): Add more tests.
27268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27269
27270 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27271
27272 [BZ #13705]
27273 * math/libm-test.inc (exp_test): Do not allow overflow exception
27274 on underflow test.
27275
27276 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27277
27278 [BZ #13705]
27279 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27280 instead of __kernel_standard_f.
27281
27282 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27283
27284 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27285 * sysdeps/x86_64/memset_chk.S: Likewise.
27286
27287 2012-04-08 Andreas Jaeger <aj@suse.de>
27288
27289 [BZ #10153]
27290 * manual/startup.texi (Environment Access): Describe return value
27291 for putenv and setenv.
27292
27293 [BZ #6895]
27294 * manual/filesys.texi (Directory Entries): Add description for
27295 DT_LNK.
27296
27297 [BZ #6890]
27298 * manual/filesys.texi (Directory Entries): Clarify that it's file
27299 system not operating system in the description of DT_UNKNOWN.
27300
27301 [BZ #6578]
27302 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27303
27304 2012-04-08 Stephen Compall <s11@member.fsf.org>
27305
27306 [BZ #6649]
27307 * manual/llio.texi (Opening and Closing Files): Add cross
27308 reference to explain mode argument.
27309
27310 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27311
27312 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27313 * sysdeps/x86_64/memset_chk.S: Likewise.
27314
27315 2012-04-07 David S. Miller <davem@davemloft.net>
27316
27317 * elf/elf.h (R_SPARC_WDISP10): Define.
27318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27319 R_SPARC_SIZE32.
27320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27321 R_SPARC_SIZE64 and R_SPARC_H34.
27322
27323 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27324
27325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27326 conditions and remove no longer applicable assertion.
27327
27328 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 * bits/byteswap.h: Include <features.h>.
27331 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27332 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27333
27334 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27335
27336 * bits/byteswap.h (__bswap_16): Removed.
27337 Include <bits/byteswap-16.h> to get __bswap_16.
27338 * sysdeps/i386/bits/byteswap.h: Likewise.
27339 * sysdeps/s390/bits/byteswap.h: Likewise.
27340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27341 * bits/byteswap-16.h: New file.
27342 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27343 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27344 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27345 * string/Makefile (headers): Add bits/byteswap-16.h.
27346
27347 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27348
27349 [BZ #13895]
27350 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27351 extra indirection.
27352 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27353 * nss/tst-nss-static.c: New.
27354
27355 2012-04-06 Robert Millan <rmh@gnu.org>
27356
27357 [BZ #6486]
27358 * manual/llio.texi (File Position Primitive): lseek
27359 refers to WHENCE when it really means OFFSET.
27360
27361 2012-04-06 Andreas Jaeger <aj@suse.de>
27362
27363 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27364 strncmp declarations.
27365
27366 * abilist/libc.abilist: Add __poll and __ppoll.
27367
27368 2012-04-05 David S. Miller <davem@davemloft.net>
27369
27370 * scripts/check-local-headers.sh: Accept a host triplet in the
27371 path matched by the exclude regexp.
27372
27373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27374 definition.
27375 * sysdeps/powerpc/powerpc32/dl-machine.h
27376 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27377 * sysdeps/s390/s390-32/dl-machine.h
27378 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27379 * sysdeps/sparc/sparc32/dl-machine.h
27380 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27381 * sysdeps/sparc/sparc64/dl-machine.h
27382 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27383
27384 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27385 lazy binding.
27386 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27387 undefined symbol errors.
27388
27389 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27390 DT_NEEDED entries.
27391
27392 2012-04-05 Michael Matz <matz@suse.de>
27393
27394 [BZ #13592]
27395 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27396
27397 2012-04-05 Andreas Jaeger <aj@suse.de>
27398
27399 [BZ #13908]
27400 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27401 comment.
27402
27403 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27404
27405 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27406 which ROUND is no valid rounding mode.
27407
27408 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27409
27410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27411 read again.
27412 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27413
27414 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27415
27416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27417 an exception using FPU order intentionally.
27418
27419 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27420
27421 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27422 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27423 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27424 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27425
27426 2012-04-05 Simon Josefsson <simon@josefsson.org>
27427
27428 [BZ #12340]
27429 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27430 EINVAL when BUFLEN is too smal.
27431
27432 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27433
27434 [BZ #13553]
27435 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27436 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27437
27438 2012-04-03 Andreas Jaeger <aj@suse.de>
27439
27440 [BZ #13938]
27441 * manual/setjmp.texi (System V contexts): Fix sentence.
27442
27443 [BZ #13926]
27444 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27445 New macro for this case.
27446 [!__GNUC__] (__bswap_64): New inline function for this case.
27447 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27448 * bits/byteswap.h: Likewise.
27449 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27450 ull, guard with __GLIBC_HAVE_LONG_LONG.
27451
27452 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27453 __GLIBC_HAVE_LONG_LONG.
27454
27455 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27456 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27457
27458 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27459
27460 [BZ #13691]
27461 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27462 inptr and inend, rather than using last_ch.
27463
27464 2012-04-02 David S. Miller <davem@davemloft.net>
27465
27466 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27467 * stdio-common/printf-parse.h (read_int): Change return type to
27468 'int', return -1 on INT_MAX overflow.
27469 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27470 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27471 overflows INT_MAX. Check for overflow of in-format-string precision
27472 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27473 SIZE_MAX not INT_MAX for integer overflow test.
27474 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27475 skip the construct in the format string but do not record anything.
27476 * stdio-common/bug22.c: Adjust to test both width/prevision
27477 INT_MAX overflow as well as total length INT_MAX overflow. Check
27478 explicitly for proper errno values.
27479
27480 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27481
27482 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27483 CHAR_MAX.
27484 * string/test-strcmp.c [! WIDE]: Likewise.
27485 * time/tst-mktime2.c: Likewise for INT_MAX.
27486 * string/test-string.h: #include <sys/param.h> for MIN.
27487
27488 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27489 * sysdeps/i386/init-first.c (init): Likewise.
27490 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27491 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27492 * sysdeps/sh/init-first.c (init): Likewise.
27493
27494 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27495
27496 * po/ru.po: Update from translation team.
27497 * po/vi.po: Likewise.
27498
27499 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27500
27501 * resolv/nss_dns/dns-host.c: Merge copyright years.
27502
27503 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27504
27505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27506 Optimize memcpy with prefetch if
27507 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27508 src, dst pointers have unequal 16 byte alignments.
27509
27510 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27511
27512 [BZ #13928]
27513 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27514 from a CNAME entry and return the minimum ttl for the query.
27515 (gaih_getanswer_slice): Likewise.
27516
27517 2012-03-30 Jeff Law <law@redhat.com>
27518
27519 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27520 due to long keys.
27521 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27522 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27523
27524 * resolv/nss_dns/dns-host.c: Update copyright year.
27525
27526 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27527
27528 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27529 requests to save a system call. Fix check that all bytes are sent.
27530
27531 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27532 comments for sendmmsg.
27533
27534 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27535
27536 [BZ #13691]
27537 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27538 with only 1 character between 0x0041 and 0x01b0.
27539 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27540 * wcsmbs/tst-mbsnrtowcs.c: New file.
27541
27542 2012-03-29 David S. Miller <davem@davemloft.net>
27543
27544 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27545 small copies by hand.
27546
27547 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27548
27549 [BZ #13761]
27550 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27551 _nss_compat_initgroups_dyn): Fall back to malloc/free
27552 for large group memberships.
27553
27554 2012-03-28 David S. Miller <davem@davemloft.net>
27555
27556 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27557 that branches into memcpy.
27558 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27560 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27561 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27563 bits.
27564 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27565 implementation too.
27566 * sysdeps/sparc/mempcpy.S: New file.
27567
27568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27569 the IFUNC routine in the libc case.
27570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27571
27572 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27573 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27574 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27575 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27576 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27577 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27578 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27579 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27580
27581 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27582 loop to 256 bytes instead of 64 bytes and fix test signedness.
27583
27584 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27585 * sysdeps/sparc/sparc32/Makefile: rather than here...
27586 * sysdeps/sparc/sparc64/Makefile: and here.
27587
27588 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27589
27590 * malloc/mallocbug.c: Avoid warnings about unused variables.
27591
27592 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27593
27594 [BZ #13760]
27595 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27596 in the right place. Discard and retry query if response is
27597 larger than input buffer size.
27598
27599 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27600
27601 [BZ #369]
27602 [BZ #2678]
27603 [BZ #3866]
27604 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27605 x for large integer exponent.
27606 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27607 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27608 sign of result as needed afterwards.
27609 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27611 result for underflowing pow the same as for overflow.
27612 (__kernel_standard_l): Handle powl overflow and underflow here
27613 rather than calling __kernel_standard.
27614 * math/libm-test.inc (pow_test): Add more tests.
27615
27616 [BZ #3868]
27617 [BZ #13879]
27618 [BZ #13910]
27619 [BZ #13911]
27620 [BZ #13912]
27621 [BZ #13913]
27622 [BZ #13915]
27623 [BZ #13916]
27624 [BZ #13917]
27625 [BZ #13918]
27626 [BZ #13919]
27627 [BZ #13920]
27628 [BZ #13921]
27629 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27630 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27631 (__kernel_standard_l): New function.
27632 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27633 __kernel_standard.
27634 * math/w_acosl.c (__acosl): Likewise.
27635 * math/w_asinl.c (__asinl): Likewise.
27636 * math/w_atan2l.c (__atan2l): Likewise.
27637 * math/w_atanhl.c (__atanhl): Likewise.
27638 * math/w_coshl.c (__coshl): Likewise.
27639 * math/w_exp10l.c (__exp10l): Likewise.
27640 * math/w_exp2l.c (__exp2l): Likewise.
27641 * math/w_fmodl.c (__fmodl): Likewise.
27642 * math/w_hypotl.c (__hypotl): Likewise.
27643 * math/w_j0l.c (__j0l, __y0l): Likewise.
27644 * math/w_j1l.c (__j1l, __y1l): Likewise.
27645 * math/w_jnl.c (__jnl, __ynl): Likewise.
27646 * math/w_lgammal.c (__lgammal): Likewise.
27647 * math/w_log10l.c (__log10l): Likewise.
27648 * math/w_log2l.c (__log2l): Likewise.
27649 * math/w_logl.c (__logl): Likewise.
27650 * math/w_powl.c (__powl): Likewise.
27651 * math/w_remainderl.c (__remainderl): Likewise.
27652 * math/w_scalbl.c (sysv_scalbl): Likewise.
27653 * math/w_sinhl.c (__sinhl): Likewise.
27654 * math/w_sqrtl.c (__sqrtl): Likewise.
27655 * math/w_tgammal.c (__tgammal): Likewise.
27656 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27657 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27658 * math/libm-test.inc (acos_test): Add more tests.
27659 (acosh_test): Likewise.
27660 (asin_test): Likewise.
27661 (atanh_test): Likewise.
27662 (exp_test): Likewise.
27663 (exp10_test): Likewise.
27664 (exp2_test): Likewise.
27665 (expm1_test): Likewise.
27666 (lgamma_test): Likewise.
27667 (log_test): Likewise.
27668 (log10_test): Likewise.
27669 (log1p_test): Likewise.
27670 (log2_test): Likewise.
27671 (pow_test): Do not allow some spurious overflow exceptions.
27672 (sqrt_test): Add more tests.
27673 (tgamma_test): Likewise.
27674 (y0_test): Likewise.
27675 (y1_test): Likewise.
27676 (yn_test): Likewise.
27677
27678 2012-03-27 Anton Blanchard <anton@samba.org>
27679
27680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27681 MAP_HUGETLB.
27682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27685
27686 2012-03-27 David S. Miller <davem@davemloft.net>
27687
27688 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27689
27690 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27691 have-as-vis3 check.
27692
27693 2012-03-27 Andreas Jaeger <aj@suse.de>
27694
27695 * sysdeps/x86_64/elf/configure.in: Moved to ...
27696 * sysdeps/x86_64/configure.in: ... here.
27697 * sysdeps/x86_64/elf/start.S: Moved to ...
27698 * sysdeps/x86_64/start.S: ... here.
27699 * sysdeps/x86_64/elf/configure: Delete.
27700
27701 * sysdeps/x86_64/configure.in: Merge contents from
27702 sysdeps/i386/configure.in (without i686 check).
27703
27704 * sysdeps/i386/elf/Versions: Merge into ...
27705 * sysdeps/i386/Versions: ... this.
27706 * sysdeps/i386/elf/Versions: Delete file.
27707 * sysdeps/i386/elf/start.S: Moved to ...
27708 * sysdeps/i386/start.S: ...here.
27709 * sysdeps/i386/elf/configure.in: Merge into...
27710 * sysdeps/i386/configure.in: ...here.
27711 * sysdeps/i386/elf/configure.in: Delete file.
27712 * sysdeps/i386/elf/configure: Delete file.
27713
27714 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27715 * debug/backtracesyms.c: ... here.
27716 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27717 * debug/backtracesymsfd.c: ... here.
27718 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27719 * sysdeps/generic/ifunc-sel.h: ... here.
27720
27721 * sysdeps/unix/i386/start.c: Delete file.
27722 * sysdeps/unix/sparc/start.c: Delete file.
27723 * sysdeps/unix/start.c: Delete file.
27724
27725 * sysdeps/sh/elf/configure.in: Moved to ...
27726 * sysdeps/sh/configure.in: ... here.
27727 * sysdeps/sh/elf/start.S: Moved to ...
27728 * sysdeps/sh/start.S: ... here.
27729 * sysdeps/sh/elf/configure: Delete file.
27730
27731 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27732 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27733 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27734 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27735 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27736 * sysdeps/powerpc/powerpc64/start.S: here.
27737 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27738 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27739 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27740 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27741 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27742
27743 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27744 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27745 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27746 * sysdeps/powerpc/powerpc32/start.S: ... here.
27747 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27748 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27749 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27750
27751 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27752 * sysdeps/powerpc/ifunc-sel.h: ... here.
27753 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27754 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27755
27756 * sysdeps/sparc/elf/configure.in: Moved to ...
27757 * sysdeps/sparc/configure.in: ... here.
27758 * sysdeps/sparc/elf/configure: Delete file.
27759 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27760 * sysdeps/sparc/sparc32/start.S: ... here.
27761 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27762 * sysdeps/sparc/sparc64/start.S: ... here.
27763 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27764 * sysdeps/sparc/sparc32/Makefile: ... this.
27765 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27766 * sysdeps/sparc/sparc64/Makefile: ... this.
27767
27768 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27769 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27770 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27771 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27772 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27773 * sysdeps/s390/s390-32/setjmp.S: ... here.
27774 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27775 * sysdeps/s390/s390-32/configure.in: ... here.
27776 * sysdeps/s390/s390-32/elf/configure: Delete file.
27777 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27778 * sysdeps/s390/s390-32/start.S: ... here.
27779
27780 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27781 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27782 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27783 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27784 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27785 * sysdeps/s390/s390-64/setjmp.S: ... here.
27786 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27787 * sysdeps/s390/s390-64/configure.in: ... here
27788 * sysdeps/s390/s390-64/elf/configure: Delete file.
27789 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27790 * sysdeps/s390/s390-64/start.S: ... here.
27791 * sysdeps/s390/s390-64/elf/configure: Delete.
27792
27793 * configure.in: Remove support for elf directories in sysdeps.
27794
27795 * configure: Regenerated.
27796 * sysdeps/i386/configure: Regenerated.
27797 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27798 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27799 * sysdeps/s390/s390-32/configure: Regenerated.
27800 * sysdeps/s390/s390-64/configure: Regenerated.
27801 * sysdeps/sh/configure: Regenerated.
27802 * sysdeps/sparc/configure: Regenerated.
27803 * sysdeps/x86_64/configure: Regenerated.
27804
27805 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27806
27807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27808
27809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27810 denormal result into account.
27811
27812 2012-03-25 Roland McGrath <roland@hack.frob.com>
27813
27814 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27815 Reported by Allan McRae <allan@archlinux.org>.
27816
27817 2012-03-23 Jeff Law <law@redhat.com>
27818
27819 * nss/getnssent.c (__nss_getent): Fix typo.
27820
27821 2012-03-23 David S. Miller <davem@davemloft.net>
27822
27823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27824
27825 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27826
27827 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27828 to pad to uint64_t for each field.
27829 (dl_tls_index): Replace unsigned long with uint64_t.
27830
27831 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27832 Paul Pluzhnikov <ppluzhnikov@google.com>
27833
27834 [BZ #6528]
27835 * grp/Makefile (otherlibs): Don't set it.
27836 * inet/Makefile (otherlibs): Likewise.
27837 * login/Makefile (otherlibs): Likewise.
27838 * nscd/Makefile (otherlibs): Likewise.
27839 * posix/Makefile (otherlibs): Likewise.
27840 * pwd/Makefile (otherlibs): Likewise.
27841 * rt/Makefile (otherlibs): Likewise.
27842 * sunrpc/Makefile (otherlibs): Likewise.
27843 * nss/Makefile (otherlibs): Likewise.
27844 Add libnss_files to routines and static-only-routines.
27845 ($(objpfx)getent): Remove rule.
27846 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27847 static-only-routines.
27848
27849 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27850
27851 [BZ #13892]
27852 * math/s_cexp.c: Include <float.h>.
27853 (__cexp): Handle exp result overflowing not necessarily
27854 overflowing both real and imaginary parts of result.
27855 * math/s_cexpf.c: Likewise.
27856 * math/s_cexpl.c: Likewise.
27857 * math/libm-test.inc (cexp_test): Add more tests.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27860
27861 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27862
27863 * include/link.h (ELFW): New macro.
27864 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27865 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27866
27867 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27868
27869 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27870 with uint64_t.
27871
27872 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27873
27874 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27875 declaration.
27876 (struct La_x32_retval): Likewise.
27877
27878 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27879
27880 * sysdeps/x86_64/preconfigure.in: New file.
27881 * sysdeps/x86_64/preconfigure: New generated file.
27882
27883 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27884
27885 [BZ #13824]
27886 * math/e_exp2l.c: Include <float.h>.
27887 (__ieee754_exp2l): Handle overflow and underflow cases
27888 separately. Only pass fractional part of argument to
27889 __ieee754_expl.
27890 * math/libm-test.inc (exp2_test): Add more tests.
27891
27892 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27893 negating x to take absolute value.
27894 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27895 Likewise.
27896 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27897 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27898 Likewise.
27899 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27900 computing low part if x was negated.
27901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27902
27903 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27904
27905 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27906 la_x32_gnu_pltexit.
27907 (pltexit): Cast int_retval to ptrdiff_t.
27908 * elf/tst-auditmod3b.c: Likewise.
27909 * elf/tst-auditmod4b.c: Likewise.
27910 * elf/tst-auditmod5b.c: Likewise.
27911 * elf/tst-auditmod6b.c: Likewise.
27912 * elf/tst-auditmod6c.c: Likewise.
27913 * elf/tst-auditmod7b.c: Likewise.
27914
27915 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27916 and x32_gnu_pltexit.
27917
27918 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27919 __ELF_NATIVE_CLASS.
27920 (La_x32_regs): New macro.
27921 (La_x32_retval): Likewise.
27922 (la_x32_gnu_pltenter): New function prototype.
27923 (la_x32_gnu_pltexit): Likewise.
27924
27925 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27926
27927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27928 exponent.
27929
27930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27931
27932 * configure.in (libc_cv_cc_nofma): Check for option to disable
27933 generation of FMA instructions.
27934 * configure: Regenerate.
27935 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27936 * sysdeps/ieee754/dbl-64/Makefile: New file.
27937 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27938 Remove brandred-fma4.
27939 (CFLAGS-brandred-fma4.c): Remove.
27940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27942 define.
27943 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27944 define.
27945
27946 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27947
27948 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27949 LLONG_MAX != LONG_MAX.
27950 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27951 (_fitoa_word): Likewise.
27952 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27953 LLONG_MAX != LONG_MAX.
27954 * stdio-common/_itowa.h: Include <_itoa.h>.
27955 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27956 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27957 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27958 only if not defined.
27959 (_ITOA_WORD_TYPE): Likewise.
27960 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27961 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27962
27963 2012-03-21 David S. Miller <davem@davemloft.net>
27964
27965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27966
27967 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27968
27969 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27970 of x86_64 when setting libc_cv_slibdir, libdir and
27971 libc_cv_localedir.
27972 * sysdeps/unix/sysv/linux/configure: Regenerated.
27973
27974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27975
27976 * manual/lang.texi (Old Varargs): Remove section.
27977 (How Variadic): Update menu.
27978 (va_start): Do not mention varargs.h.
27979
27980 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27981 Joseph Myers <joseph@codesourcery.com>
27982
27983 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27984 link test.
27985 * configure: Regenerated.
27986
27987 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27988
27989 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27990 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27991 conformtest.pl
27992
27993 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27994
27995 * NOTES: Remove.
27996 * Makefile (files-for-dist): Remove NOTES.
27997 (NOTES): Remove rule.
27998 * README: Don't refer to NOTES.
27999 * manual/creature.texi: Don't include macros.texi.
28000 * manual/intro.texi (creature.texi): Remove comment referring to
28001 NOTES.
28002
28003 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28004 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28005 * configure: Regenerated.
28006 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28007 LIBC_TRY_CC_OPTION.
28008 (libc_cv_as_i686): Likewise.
28009 (libc_cv_cc_avx): Likewise.
28010 (libc_cv_cc_sse2avx): Likewise.
28011 (libc_cv_cc_fma4): Likewise.
28012 (libc_cv_cc_novzeroupper): Likewise.
28013 * sysdeps/i386/configure: Regenerated.
28014
28015 [BZ #13883]
28016 * sysdeps/i386/fpu/s_cexp.S: Remove.
28017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28018 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28019 * math/libm-test.inc (cexp_test): Add more tests.
28020 * sysdeps/i386/fpu/libm-test-ulps: Update.
28021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28022
28023 2012-03-21 Allan McRae <allan@archlinux.org>
28024
28025 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28026
28027 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28028
28029 [BZ #13871]
28030 * math/w_exp2.c: Do not include <float.h>.
28031 (o_threshold, u_threshold): Remove.
28032 (__exp2): Calculate result before checking finiteness and calling
28033 __kernel_standard.
28034 * math/w_exp2f.c: Likewise.
28035 * math/w_exp2l.c: Likewise.
28036 * math/libm-test.inc (exp2_test): Require overflow exception for
28037 1e6 input.
28038
28039 [BZ #3866]
28040 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28041 range of signed 64-bit integers before using fistpll. Remove
28042 checks for whether integers fit in mantissa bits.
28043 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28044 the range of signed 32-bit integers before using fistpl. Remove
28045 checks for whether integers fit in mantissa bits.
28046 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28047 (__ieee754_powl): Test for y outside the range of signed 64-bit
28048 integers before using fistpll. Reduce 64-bit values to 63-bit
28049 ones as needed.
28050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28051 divide-by-zero is raised for zero to large negative powers.
28052 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28053 (__ieee754_powl): Test for y outside the range of signed 64-bit
28054 integers before using fistpll. Reduce 64-bit values to 63-bit
28055 ones as needed.
28056 * math/libm-test.inc (pow_test): Add more tests.
28057
28058 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28059
28060 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28061 <stdio-common/_itoa.h>.
28062 * debug/segfault.c: Likewise.
28063 * elf/dl-cache.c: Likewise.
28064 * elf/dl-minimal.c: Likewise.
28065 * elf/dl-misc.c: Likewise.
28066 * elf/dl-sysdep.c: Likewise.
28067 * elf/dl-version.c: Likewise.
28068 * elf/rtld.c: Likewise.
28069 * hurd/hurdsock.c: Likewise.
28070 * hurd/lookup-retry.c: Likewise.
28071 * malloc/malloc.c: Likewise.
28072 * malloc/mtrace.c: Likewise.
28073 * nscd/nscd_getgr_r.c: Likewise.
28074 * nscd/nscd_getpw_r.c: Likewise.
28075 * nscd/nscd_getserv_r.c: Likewise.
28076 * posix/getopt_init.c: Likewise.
28077 * posix/wordexp.c: Likewise.
28078 * stdio-common/_itoa.c: Likewise.
28079 * stdio-common/printf_fphex.c: Likewise.
28080 * stdio-common/vfprintf.c: Likewise.
28081 * string/_strerror.c: Likewise.
28082 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28083 * sysdeps/i386/i686/hp-timing.h: Likewise.
28084 * sysdeps/mach/_strerror.c: Likewise.
28085 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28086 * sysdeps/mach/hurd/sethostid.c: Likewise.
28087 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28088 * sysdeps/mach/xpg-strerror.c: Likewise.
28089 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28090 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28091 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28092 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28093 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28094 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28096 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28097 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28098 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28099 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28100 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28101 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28102 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28103 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28104 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28105 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28106 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28107 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28108 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28109 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28110
28111 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28112
28113 * stdio-common/_itoa.h: Moved to ...
28114 * sysdeps/generic/_itoa.h: Here.
28115
28116 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28117
28118 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28119 instead of "_itoa.h" and "_itowa.h".
28120 * stdio-common/vfprintf.: Likewise.
28121
28122 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28125 <bits/wordsize.h>.
28126 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28127 (__signbit): Likwise.
28128 (llrintf): Likwise.
28129 (llrint): Likwise.
28130
28131 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28132
28133 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28134 __WORDSIZE != 64.
28135
28136 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28137
28138 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28139 OVERFLOW_EXCEPTION_OK.
28140 * math/libm-test.inc ("Philosophy"): Update comment about
28141 exception testing.
28142 (OVERFLOW_EXCEPTION): Define.
28143 (OVERFLOW_EXCEPTION_OK): Likewise.
28144 (INVALID_EXCEPTION_OK): Renumber.
28145 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28146 (IGNORE_ZERO_INF_SIGN): Likewise.
28147 (test_exceptions): Handle FE_OVERFLOW.
28148 (exp10_test): Expect overflow exceptions.
28149 (exp2_test): Likewise.
28150 (expm1_test): Likewise.
28151 (nextafter_test): Likewise.
28152 (pow_test): Likewise.
28153 (scalbn_test): Likewise.
28154 (scalbln_test): Likewise.
28155
28156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28157
28158 * sysdeps/x86_64/bits/atomic.h
28159 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28160 64bit integer.
28161 (atomic_exchange_acq): Likewise.
28162 (__arch_exchange_and_add_body): Likewise.
28163 (__arch_add_body): Likewise.
28164 (atomic_add_negative): Likewise.
28165 (atomic_add_zero): Likewise.
28166
28167 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28168
28169 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28170 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28171
28172 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28173
28174 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28175 Check __x86_64__ instead of __WORDSIZE.
28176
28177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28180
28181 2012-03-19 David S. Miller <davem@davemloft.net>
28182
28183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28184
28185 * sysdeps/sparc/fpu/fenv_private.h: New file.
28186 * sysdeps/sparc/fpu/math_private.h: Use it.
28187 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28188 Remove.
28189 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28190 (libc_feholdexcept_setroundl): Remove.
28191 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28192 Remove.
28193 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28194 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28195
28196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28197
28198 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28199 int64_t instead of long int.
28200 (INSERT_WORDS64): Likwise.
28201
28202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28203
28204 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28205 _Unwind_GetCFA return to _Unwind_Ptr first.
28206
28207 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28208
28209 [BZ #13629]
28210 * math/s_clog.c: Include <float.h>.
28211 (__clog): Scale large or subnormal inputs.
28212 * math/s_clogf.c: Likewise.
28213 * math/s_clogl.c: Likewise.
28214 * math/s_clog10.c: Include <float.h>.
28215 (M_LOG10_2): Define.
28216 (__clog10): Scale large or subnormal inputs.
28217 * math/s_clog10f.c: Likewise.
28218 * math/s_clog10l.c: Likewise.
28219 * math/libm-test.inc (clog_test): Add more tests.
28220 (clog10_test): Likewise.
28221 * sysdeps/i386/fpu/libm-test-ulps: Update.
28222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28223
28224 [BZ #11451]
28225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28226 x and y.
28227 * math/libm-test.inc (atan2_test): Add another test.
28228
28229 * Makerules (common-objdir-compile): Remove.
28230 * sysdeps/unix/Makefile (config-generated): Do not add
28231 $(unix-generated) to variable.
28232 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28233 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28234 Remove rule.
28235 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28236 Likewise.
28237 [generic bits/local_lim.h] (before-compile): Do not append to
28238 variable.
28239 [generic bits/local_lim.h] (common-generated): Likewise.
28240 [generic sys/param.h] (before-compile): Do not append to variable.
28241 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28242 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28243 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28244 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28245 include.
28246 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28247 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28248 [generic sys/param.h] ($(addprefix
28249 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28250 [generic sys/param.h] (common-generated): Do not append to
28251 variable.
28252 [generic sys/param.h] (sysdep_headers): Likewise.
28253 [generic bits/errno.h] (before-compile): Do not append to
28254 variable.
28255 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28256 rule.
28257 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28258 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28259 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28260 [generic bits/errno.h] (common-generated): Do not append to
28261 variable.
28262 [generic bits/ioctls.h] (before-compile): Do not append to
28263 variable.
28264 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28265 rule.
28266 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28267 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28268 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28269 rule.
28270 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28271 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28272 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28273 [generic bits/ioctls.h] (common-generated): Do not append to
28274 variable.
28275 [generic sys/syscall.h] (syscall.h): Remove variable.
28276 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28277 rule.
28278 [generic sys/syscall.h] (before-compile): Do not append to
28279 variable.
28280 [generic sys/syscall.h] (common-generated): Likewise.
28281 * sysdeps/unix/errnos-tmpl.c: Remove file.
28282 * sysdeps/unix/errnos.awk: Likewise.
28283 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28284 * sysdeps/unix/ioctls.awk: Likewise.
28285 * sysdeps/unix/mk-local_lim.c: Likewise.
28286 * sysdeps/unix/snarf-ioctls: Likewise.
28287
28288 2012-03-19 Richard Henderson <rth@twiddle.net>
28289
28290 * sysdeps/i386/fpu/fenv_private.h: New file.
28291 * sysdeps/i386/fpu/math_private.h: Use it.
28292 (math_opt_barrier, math_force_eval): Remove.
28293 (libc_feholdexcept_setround_53bit): Remove.
28294 (libc_feupdateenv_53bit): Remove.
28295 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28296 (math_opt_barrier, math_force_eval): Remove.
28297 (libc_feholdexcept): Remove.
28298 (libc_feholdexcept_setround): Remove.
28299 (libc_fetestexcept, libc_fesetenv): Remove.
28300 (libc_feupdateenv_test): Remove.
28301 (libc_feupdateenv, libc_feholdsetround): Remove.
28302 (libc_feresetround): Remove.
28303
28304 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28305 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28306
28307 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28308 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28309 (libc_feupdateenv_testl): New.
28310 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28311 (libc_feupdateenv_testf): New.
28312 (libc_feupdateenv): Use libc_feupdateenv_test.
28313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28315
28316 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28317 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28318 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28319 (libc_feresetround_noex): New.
28320 (libc_feresetround_noexf): New.
28321 (libc_feresetround_noexl): New.
28322 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28323 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28324 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28325 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28326 SET_RESTORE_ROUND.
28327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28329 (__cos): Likewise.
28330 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28332 SET_RESTORE_ROUND_NOEX.
28333 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28334 SET_RESTORE_ROUND_NOEXF.
28335 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28336 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28337 (libc_feholdsetroundf): New.
28338 (libc_feresetround, libc_feresetroundf): New.
28339
28340 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28341 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28342 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28343
28344 * sysdeps/generic/math_private.h: Include <fenv.h>.
28345 (default_libc_feholdexcept): New.
28346 (default_libc_feholdexcept_setround): New.
28347 (default_libc_fesetenv, default_libc_feupdateenv): New.
28348 (libc_feholdexcept): Only define if undefined.
28349 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28350 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28351 (libc_feholdexcept_setroundl): Likewise.
28352 (libc_feholdexcept_setround_53bit): Likewise.
28353 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28354 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28355 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28356 (libc_feupdateenv_53bit): Likewise.
28357 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28358 (libc_feholdexcept): Convert from macro to inline function.
28359 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28360 (libc_fesetenv, libc_feupdateenv): Likewise.
28361
28362 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28363 not previously defined.
28364 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28365 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28366 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28367 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28368 * sysdeps/ieee754/flt-32/math_private.h: New file.
28369 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28370 math_private.h below SET_FLOAT_WORD.
28371 (__isnan, __isinf_ns, __finite): Remove.
28372 (__isnanf, __isinf_nsf, __finitef): Remove.
28373
28374 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28375
28376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28377
28378 2012-03-17 David S. Miller <davem@davemloft.net>
28379
28380 [BZ #6471]
28381 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28382 for 2.16.
28383
28384 2012-03-16 David S. Miller <davem@davemloft.net>
28385
28386 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28387 warnings.
28388
28389 [BZ #6471]
28390 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28391 properly.
28392 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28393 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28394 sysdep_routines when subdir is sysvipc.
28395 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28396 __getshmlba helper.
28397
28398 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28399
28400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28403 [__LP64__].
28404
28405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28408 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28409 (__lround): Renamed to ...
28410 (__llround): This. Replace long int with long long int.
28411 Define lround functions as aliases of llround functions.
28412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28413
28414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28415
28416 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28417 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28418 adresses to uintptr_t. Replace "long int" and "unsigned long
28419 int" with "greg_t" on va_arg.
28420
28421 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28424 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28425
28426 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28427 Move e_machine check before EI_CLASS check. Handle x32
28428 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28429 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28430 SKIP_EM_IA_64 and include
28431 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28432
28433 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28434 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28435 (add_system_dir): New macro.
28436
28437 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28438 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28439
28440 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28441
28442 [BZ #2551]
28443 [BZ #2552]
28444 [BZ #2553]
28445 [BZ #2554]
28446 [BZ #2562]
28447 [BZ #2563]
28448 [BZ #2565]
28449 [BZ #2566]
28450 [BZ #2576]
28451 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28452 (y0): Likewise.
28453 * math/w_j0f.c (j0f): Likewise.
28454 (y0f): Likewise.
28455 * math/w_j0l.c (__j0l): Likewise.
28456 (__y0l): Likewise.
28457 * math/w_j1.c (j1): Likewise.
28458 (y1): Likewise.
28459 * math/w_j1f.c (j1f): Likewise.
28460 (y1f): Likewise.
28461 * math/w_j1l.c (__j1l): Likewise.
28462 (__y1l): Likewise.
28463 * math/w_jn.c (jn): Likewise.
28464 (yn): Likewise.
28465 * math/w_jnf.c (jnf): Likewise.
28466 (ynf): Likewise.
28467 * math/w_jnl.c (__jnl): Likewise.
28468 (__ynl): Likewise.
28469 * math/libm-test.inc (j0_test): Add more tests.
28470 (j1_test): Likewise.
28471 (jn_test): Likewise. Add trailing semicolon to existing test.
28472 (y0_test): Likewise.
28473 (y1_test): Likewise.
28474 * sysdeps/i386/fpu/libm-test-ulps: Update.
28475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28476
28477 [BZ #13851]
28478 [BZ #13854]
28479 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28480 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28481 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28482 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28483 (__tanl): Set errno for infinite argument.
28484 * sysdeps/i386/fpu/mptan.c: Remove.
28485 * sysdeps/i386/fpu/s_tan.S: Likewise.
28486 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28487 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28488 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28489 * math/libm-test.inc (tan_test): Add more tests and enable more
28490 tests for double and long double.
28491 * sysdeps/i386/fpu/libm-test-ulps: Update.
28492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28493
28494 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28495
28496 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28497 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28498
28499 2012-03-16 Roland McGrath <roland@hack.frob.com>
28500
28501 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28502 * configure.in: Use it for both main tree and add-ons.
28503 * configure: Regenerated.
28504
28505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28508
28509 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28510
28511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28512 in comment.
28513
28514 [BZ #13851]
28515 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28516 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28517 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28518 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28519 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28520 infinite argument.
28521 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28523 != 0 for prec == 2.
28524 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28525 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28526 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28527 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28528 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28529 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28530 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28531 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28532 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28533 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28534 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28535 * math/libm-test.inc (cos_test): Add more tests and enable more
28536 tests for long double.
28537 (sin_test): Likewise.
28538 (sincos_test): Likewise.
28539 * sysdeps/i386/fpu/libm-test-ulps: Update.
28540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28541
28542 2012-03-16 David S. Miller <davem@davemloft.net>
28543
28544 * sysdeps/sparc/fpu/math_private.h: New file.
28545
28546 2012-03-15 David S. Miller <davem@davemloft.net>
28547
28548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28549 file.
28550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28552 file.
28553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28559 sysdep routines.
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28561
28562 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28563 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28564
28565 * sysdeps/sparc/sparc-ifunc.h: New file.
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28567 sparc-ifunc.h
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28570 Likewise.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28572 Likewise.
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28577 Likewise.
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28583 Likewise.
28584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28585 Likewise.
28586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28610
28611 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28612
28613 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28614 scaling.
28615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28616
28617 2012-03-15 Andreas Jaeger <aj@suse.de>
28618
28619 [BZ #13852]
28620 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28621 ieee754/flt-32 implementation for sin, cos and sincos.
28622 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28623 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28624 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28625 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28626 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28627 ieee754/flt-32 implementation for tan.
28628
28629 * math/libm-test.inc (cos_test): Enable some large input tests for
28630 float as well
28631 (sin_test): Likewise.
28632 (sincos_test): Likewise.
28633 (tan_test): Add tests for large input.
28634
28635 * sysdeps/i386/fpu/libm-test-ulps: Update.
28636
28637 2012-03-15 Andreas Jaeger <aj@suse.de>
28638
28639 [BZ #13658]
28640 * math/libm-test.inc (cos_test): Add more test cases.
28641 (sin_test): Likewise.
28642 (sincos_test): Likewise.
28643
28644 2012-03-15 Andreas Jaeger <aj@suse.de>
28645
28646 [BZ #13837]
28647 * math/libm-test.inc (cos_test): Add a test case for large input
28648 value.
28649 (sin_test): Likewise.
28650 (sincos_test): Likewise.
28651
28652 2012-03-15 Andreas Jaeger <aj@suse.de>,
28653 Joseph Myers <joseph@codesourcery.com>
28654
28655 [BZ #13658]
28656 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28657 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28658 * sysdeps/i386/fpu/branred.c: Likewise.
28659 * sysdeps/i386/fpu/dosincos.c: Likewise.
28660 * sysdeps/i386/fpu/mpa.c: Likewise.
28661 * sysdeps/i386/fpu/s_cos.S: Likewise.
28662 * sysdeps/i386/fpu/s_sin.S: Likewise.
28663 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28664 * sysdeps/i386/fpu/sincos32.c: Likewise.
28665
28666 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28667 Define.
28668 (libc_feupdateenv_53bit): Define.
28669 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28670 Define.
28671 (libc_feupdateenv_53bit): Define.
28672
28673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28674 53 bit (without extend i386 double precision).
28675
28676 * math/libm-test.inc (sincos_test): Add tests for large input.
28677 (sin): Likewise.
28678 (cos): Likewise.
28679
28680 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28681
28682 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28683
28684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28685
28686 2012-03-15 David S. Miller <davem@davemloft.net>
28687
28688 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28689 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28690 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28691 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28704 file.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28707 file.
28708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28710 file.
28711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28713 file.
28714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28716 fmin/fmax sysdep routines.
28717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28718
28719 2012-03-14 David S. Miller <davem@davemloft.net>
28720
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28750 routines.
28751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28752 file.
28753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28755 file.
28756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28758 file.
28759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28761 file.
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28764 file.
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28767 file.
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28769 file.
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28771 file.
28772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28773 file.
28774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28775 New file.
28776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28777 file.
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28779 file.
28780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28782 file.
28783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28785 file.
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28788 file.
28789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28791 VIS3 routines.
28792
28793 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28794 New file.
28795
28796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28797
28798 * sysdeps/sparc/configure.in: New file.
28799 * sysdeps/sparc/configure: Generate.
28800 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28801 * configure: Regenerate.
28802 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28803 * config.make.in (have-as-vis3): New.
28804 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28805 available use -Av9d instead of -Av9a.
28806 * sysdeps/sparc/sparc64/Makefile: Likewise.
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28809 New file.
28810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28811 file.
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28813 New file.
28814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28815 file.
28816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28821
28822 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28823 fzeros/fnegs to load 0x80000000 into a float register instead of
28824 using the stack.
28825 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28826
28827 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28828
28829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28830 bits/syscall.h.
28831 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28832 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28833 ($(inst_includedir)/bits/syscall.h): Remove rule.
28834 ($(objpfx)bits/syscall.d): Include instead of
28835 $(objpfx)syscall-list.d.
28836 (generated): Change syscall-list.h and syscall-list.d to
28837 bits/syscall.h and bits/syscall.d.
28838
28839 2012-03-14 Roland McGrath <roland@hack.frob.com>
28840
28841 [BZ #13846]
28842 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28843
28844 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28845
28846 [BZ #13841]
28847 * math/s_csqrt.c: Include <float.h>.
28848 (__csqrt): Scale large or subnormal inputs.
28849 * math/s_csqrtf.c: Likewise.
28850 * math/s_csqrtl.c: Likewise.
28851 * math/libm-test.inc (csqrt_test): Add more tests.
28852 * sysdeps/i386/fpu/libm-test-ulps: Update.
28853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28854
28855 [BZ #13840]
28856 * math/libm-test.inc (hypot_test): Add more tests.
28857
28858 2012-03-13 David S. Miller <davem@davemloft.net>
28859
28860 [BZ #13840]
28861 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28862 double-precision for the calculation instead of scaling.
28863
28864 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28865
28866 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28867 manipulate bits before adding and subtracting TWO52[sx].
28868 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28870 Likewise.
28871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28872
28873 2012-03-13 David S. Miller <davem@davemloft.net>
28874
28875 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28876 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28878 rtld-global-offsets.h
28879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28880
28881 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28882 large parameters.
28883
28884 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28885
28886 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28887 'err' in the ifdef scope in which it is actually used.
28888
28889 * nss/nss_db/db-init.c: Include string.h
28890
28891 2012-03-12 David S. Miller <davem@davemloft.net>
28892
28893 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28894 masking out of the most significant byte of random value used.
28895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28896 Fix coding style in previous change.
28897
28898 * sysdeps/unix/sysv/linux/kernel-features.h
28899 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28900 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28901 expression.
28902 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28903 later.
28904
28905 2012-03-11 David S. Miller <davem@davemloft.net>
28906
28907 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28908 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28910 for 'resultvar' otherwise things get truncated on 64-bit.
28911
28912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28913 Fix masking out of the most significant byte of random value used.
28914
28915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28916
28917 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28918
28919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28920
28921 2012-03-09 David S. Miller <davem@davemloft.net>
28922
28923 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28924 variables with appropriate CPP guards.
28925 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28926 frame pointer, not the stack pointer. Correct layout comments. Fix test
28927 on resulting framesize and the management of the outregs buffer for pltexit.
28928 Preserve floating point return values across _dl_call_pltexit call.
28929 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28930 framesize and the management of the outregs buffer for pltexit.
28931 Preserve floating point return values across _dl_call_pltexit
28932 call.
28933 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28934 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28935 (print_exit): Fix format string for return register value.
28936
28937 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28938
28939 * sunrpc/Makefile (others): Add rpcgen.
28940 ($(objpfx)rpcgen): Remove special build rule and dependency on
28941 libc.
28942 * sunrpc/rpcgen.c: New file.
28943
28944 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28945
28946 [BZ #13673]
28947 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28948 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28949 * sysdeps/i386/crti.S: Likewise.
28950 * sysdeps/i386/crtn.S: Likewise.
28951 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28952 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28953 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28955 * sysdeps/sh/crti.S: Likewise.
28956 * sysdeps/sh/crtn.S: Likewise.
28957 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28958
28959 [BZ #13673]
28960 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28961 with URL.
28962 * locale/programs/locfile-kw.gperf: Likewise.
28963 * locale/programs/charmap-kw.h: Regenerated.
28964 * locale/programs/locfile-kw.h: Likewise.
28965
28966 [BZ #13673]
28967 * intl/plural.y: Replace FSF snail mail address with URL.
28968 * intl/plural.c: Regenerated.
28969
28970 2012-03-09 Richard Henderson <rth@twiddle.net>
28971
28972 * include/math_private.h: Remove file.
28973 * math/math_private.h: Move file ...
28974 * sysdeps/generic/math_private.h: ... here.
28975
28976 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28977 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28978 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28979
28980 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28981 and <math_private.h>.
28982 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28983 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28984 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28985 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28986 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28990 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28991 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28993 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28994 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28996 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28997 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29001 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29003 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29070 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29071 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29072 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29073 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29074 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29075 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29076 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29077 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29078 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29079 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29080 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29081 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29082 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29083 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29084 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29085 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29086 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29087 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29088 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29089 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29090 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29091 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29092 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29093 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29094 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29095 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29096 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29097 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29099 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29101 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29102 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29103 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29104 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29105 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29107 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29108 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29109 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29110 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29112 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29113 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29115 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29116 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29117 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29118 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29119 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29120 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29121 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29122 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29123 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29124 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29125 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29126 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29127 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29129 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29131 * sysdeps/ieee754/k_standard.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29138 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29139 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29144 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29145 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29146 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29147 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29247 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29251 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29252 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29259 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29264 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29292 * sysdeps/ieee754/s_lib_version.c: Likewise.
29293 * sysdeps/ieee754/s_matherr.c: Likewise.
29294 * sysdeps/ieee754/s_signgam.c: Likewise.
29295 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29296 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29297 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29298 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29299 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29300 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29301 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29302 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29303 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29304 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29305 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29306 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29307 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29308 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29309 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29310 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29311 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29312 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29313 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29316
29317 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29318
29319 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29320 * sunrpc/rpc_main.c: Likewise.
29321 * sunrpc/rpc_svcout.c: Likewise.
29322
29323 2012-03-09 David S. Miller <davem@davemloft.net>
29324
29325 * include/math_private.h: New file.
29326
29327 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29328
29329 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29330 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29331 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29332 from <bits/socket_type.h>.
29333 (enum __socket_type): Don't define here.
29334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29336 bits/socket_type.h.
29337
29338 [BZ #13566]
29339 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29340 checking __USE_GNU.
29341
29342 * Makerules ($(inst_includedir)/%.h): New rule.
29343 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29344 (install-others): Remove variable setting.
29345 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29346
29347 2012-03-08 Richard Henderson <rth@twiddle.net>
29348
29349 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29350 from macro to inline function; merge with the
29351 !__LIBC_INTERNAL_MATH_INLINES version.
29352 (__ieee754_sqrtf): Likewise.
29353
29354 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29355 to inline function.
29356 (__rintf, __floor, __floorf): Likewise.
29357
29358 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29359 macro to inline function.
29360 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29361
29362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29363 not <math/math_private.h>.
29364
29365 2012-03-08 David S. Miller <davem@davemloft.net>
29366
29367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29368 copyright year.
29369 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29370
29371 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29372
29373 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29374 normalization.
29375 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29376 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29377
29378 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29379
29380 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29381 be defined individually, they must be defined as a block. Define
29382 S for printing a string instead of hidint the different by using a
29383 macro for adding the 'l'.
29384 * stdio-common/tst-fphex-wide.c: Adjust.
29385
29386 2012-03-07 Marek Polacek <polacek@redhat.com>
29387
29388 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29389
29390 2012-03-08 Marek Polacek <polacek@redhat.com>
29391
29392 [BZ #13806]
29393 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29394 * stdio-common/tst-fphex.c: Define a few macros to make the
29395 test reusable. Use them.
29396 * stdio-common/tst-fphex-wide.c: New file.
29397
29398 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29399
29400 [BZ #6911]
29401 * manual/macros.texi (gnusystems): New macro.
29402 (nongnusystems): Likewise.
29403 (gnulinuxhurdsystems): Likewise.
29404 (gnuhurdsystems): Likewise..
29405 (gnulinuxsystems): Likewise.
29406 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29407 variants of the GNU system, not "GNU system".
29408 * manual/conf.texi: Likewise.
29409 * manual/errno.texi: Likewise. Update example of errno macro
29410 expansion.
29411 * manual/filesys.texi: Likewise.
29412 (getumask): Document as specific to GNU/Hurd.
29413 * manual/install.texi: Likewise. Reword some references to
29414 GNU/Linux.
29415 * manual/intro.texi: Likewise.
29416 * manual/io.texi: Likewise.
29417 (File Name Portability): Detail which constraints are inapplicable
29418 to all GNU systems and which are only inapplicable to GNU/Hurd.
29419 * manual/job.texi: Likewise.
29420 * manual/llio.texi: Likewise.
29421 (O_NOCTTY): Document as present on GNU/Linux.
29422 * manual/maint.texi: Likewise.
29423 * manual/memory.texi: Likewise.
29424 * manual/pattern.texi: Likewise.
29425 * manual/pipe.texi: Likewise.
29426 * manual/process.texi: Likewise.
29427 * manual/resource.texi: Likewise.
29428 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29429 child on GNU/Hurd.
29430 * manual/setjmp.texi: Likewise.
29431 * manual/signal.texi: Likewise.
29432 * manual/startup.texi: Likewise.
29433 * manual/stdio.texi: Likewise.
29434 * manual/terminal.texi: Likewise.
29435 (ONLCR): Document as POSIX.
29436 (OXTABS): Document availability on GNU/Linux as XTABS.
29437 (ONOEOT): Document availability separately from other bits.
29438 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29439 * manual/time.texi: Likewise.
29440 * manual/users.texi: Likewise.
29441 * INSTALL: Regenerated.
29442 * sysdeps/gnu/errlist.c: Regenerated.
29443
29444 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29445 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29446 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29447 puts.
29448 * configure: Regenerated.
29449
29450 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29451
29452 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29453 default includes instead of AC_HEADER_CHECK.
29454 * sysdeps/i386/configure: Regenerated.
29455
29456 [BZ #10716]
29457 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29458 * math/s_cacoshf.c (__cacoshf): Likewise.
29459 * math/s_cacoshl.c (__cacoshl): Likewise.
29460 * math/s_casinh.c (__casinh): Set signs of result from argument.
29461 * math/s_casinhf.c (__casinhf): Likewise.
29462 * math/s_casinhl.c (__casinhl): Likewise.
29463 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29464 (casinh_test): Add more tests.
29465 * sysdeps/i386/fpu/libm-test-ulps: Update.
29466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29467
29468 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29469
29470 * po/zh_TW.po: Update from translation team.
29471
29472 * login/Makefile (distribute): Remove variable.
29473 * catgets/Makefile: Likewise.
29474 * mach/Makefile: Likewise.
29475 * malloc/Makefile: Likewise.
29476 * misc/Makefile: Likewise.
29477 * iconv/Makefile: Likewise.
29478 * nscd/Makefile: Likewise.
29479 * hurd/Makefile: Likewise.
29480 * manual/Makefile: Likewise.
29481 * locale/Makefile: Likewise.
29482 * intl/Makefile: Likewise.
29483 * conform/Makefile: Likewise.
29484 * nss/Makefile: Likewise.
29485 * time/Makefile: Likewise.
29486 * soft-fp/Makefile: Likewise.
29487 * dirent/Makefile: Likewise.
29488 * gmon/Makefile: Likewise.
29489 * po/Makefile: Likewise.
29490 * rt/Makefile: Likewise.
29491 * socket/Makefile: Likewise.
29492 * math/Makefile: Likewise.
29493 * signal/Makefile: Likewise.
29494 * debug/Makefile: Likewise.
29495 * elf/Makefile: Likewise.
29496 * timezone/Makefile: Likewise.
29497 * stdlib/Makefile: Likewise.
29498 * iconvdata/Makefile: Likewise.
29499 * sunrpc/Makefile: Likewise.
29500 * io/Makefile: Likewise.
29501 * argp/Makefile: Likewise.
29502 * inet/Makefile: Likewise.
29503 * hesiod/Makefile: Likewise.
29504 * grp/Makefile: Likewise.
29505 * csu/Makefile: Likewise.
29506 * wctype/Makefile: Likewise.
29507 * crypt/Makefile: Likewise.
29508 * libio/Makefile: Likewise.
29509 * string/Makefile: Likewise.
29510 * nis/Makefile: Likewise.
29511 * resolv/Makefile: Likewise.
29512 * stdio-common/Makefile: Likewise.
29513 * wcsmbs/Makefile: Likewise.
29514 * dlfcn/Makefile: Likewise.
29515 * posix/Makefile: Likewise.
29516
29517 [BZ #6959]
29518 * timezone/Makefile: Don't install timezone files, just the programs
29519 and scripts.
29520
29521 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29522
29523 * nss/databases.def: Add missing gshadow entry.
29524
29525 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29526
29527 2012-03-06 Marek Polacek <polacek@redhat.com>
29528
29529 [BZ #13726]
29530 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29531 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29532 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29533 * stdio-common/tst-long-dbl-fphex.c: New file.
29534
29535 2012-03-06 David S. Miller <davem@davemloft.net>
29536
29537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29538 (set_obp_int): New function.
29539 (get_obp_int): New function.
29540 (__get_clockfreq_via_dev_openprom): Likewise.
29541 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29542 Avoid unused variable warnings on 'val' and use builtin_expect.
29543 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29544 __builtin_expect.
29545 (INLINE_CLONE_SYSCALL): Likewise.
29546
29547 2012-03-05 David S. Miller <davem@davemloft.net>
29548
29549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29550
29551 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29552
29553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29554
29555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29556 only for |x| >= 40.
29557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29558
29559 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29560
29561 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29562 Replace gettimeofday with __vdso_gettimeofday.
29563
29564 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29565 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29566 __vdso_clock_gettime and __vdso_getcpu.
29567
29568 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29569 time with __vdso_time.
29570
29571 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29572
29573 * manual/lang.texi (size_t): Note types to which size_t may be
29574 equivalent with the GNU C Library, but do not describe when
29575 differences between them are significant.
29576
29577 2012-03-05 Andreas Jaeger <aj@suse.de>
29578
29579 * sysdeps/i386/fpu/libm-test-ulps: Update.
29580
29581 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29582
29583 [BZ #3976]
29584 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29585 (__ieee754_pow): Save and restore rounding mode and use
29586 round-to-nearest for main computations.
29587 * math/libm-test.inc (pow_test_tonearest): New function.
29588 (pow_test_towardzero): Likewise.
29589 (pow_test_downward): Likewise.
29590 (pow_test_upward): Likewise.
29591 (main): Call the new functions.
29592 * sysdeps/i386/fpu/libm-test-ulps: Update.
29593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29594
29595 [BZ #3976]
29596 * math/libm-test.inc (cosh_test_tonearest): New function.
29597 (cosh_test_towardzero): Likewise.
29598 (cosh_test_downward): Likewise.
29599 (cosh_test_upward): Likewise.
29600 (sinh_test_tonearest): Likewise.
29601 (sinh_test_towardzero): Likewise.
29602 (sinh_test_downward): Likewise.
29603 (sinh_test_upward): Likewise.
29604 (main): Call the new functions.
29605 * sysdeps/i386/fpu/libm-test-ulps: Update.
29606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29607
29608 2012-03-05 Tom de Vries <tom@codesourcery.com>
29609
29610 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29611 default stack guard is set in last bytes.
29612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29613
29614 2012-03-05 Kees Cook <keescook@chromium.org>
29615
29616 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29617
29618 [BZ #13656]
29619 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29620 possibly allocate from heap instead of stack.
29621 * stdio-common/bug-vfprintf-nargs.c: New file.
29622 * stdio-common/Makefile (tests): Add nargs overflow test.
29623
29624 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29625
29626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29627
29628 2012-03-03 Marek Polacek <polacek@redhat.com>
29629
29630 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29631 * math/math_private.h: Likewise.
29632 * stdlib/tst-strtod.c: Likewise.
29633 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29634 * sysdeps/x86_64/bits/atomic.h: Likewise.
29635
29636 2012-03-02 David S. Miller <davem@davemloft.net>
29637
29638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29642 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29643 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29644 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29645 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29646
29647 2012-03-02 Roland McGrath <roland@hack.frob.com>
29648
29649 [BZ #13792]
29650 * manual/examples/README: New file, says the example source files
29651 can be used under GPL>=2.
29652 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29653 line containing just "*/".
29654 * manual/examples/add.c: Add copyright header (GPL>=2).
29655 * manual/examples/argp-ex1.c: Likewise.
29656 * manual/examples/argp-ex2.c: Likewise.
29657 * manual/examples/argp-ex3.c: Likewise.
29658 * manual/examples/argp-ex4.c: Likewise.
29659 * manual/examples/atexit.c: Likewise.
29660 * manual/examples/db.c: Likewise.
29661 * manual/examples/dir.c: Likewise.
29662 * manual/examples/dir2.c: Likewise.
29663 * manual/examples/execinfo.c: Likewise.
29664 * manual/examples/filecli.c: Likewise.
29665 * manual/examples/filesrv.c: Likewise.
29666 * manual/examples/fmtmsgexpl.c: Likewise.
29667 * manual/examples/genpass.c: Likewise.
29668 * manual/examples/inetcli.c: Likewise.
29669 * manual/examples/inetsrv.c: Likewise.
29670 * manual/examples/isockad.c: Likewise.
29671 * manual/examples/longopt.c: Likewise.
29672 * manual/examples/memopen.c: Likewise.
29673 * manual/examples/memstrm.c: Likewise.
29674 * manual/examples/mkfsock.c: Likewise.
29675 * manual/examples/mkisock.c: Likewise.
29676 * manual/examples/mygetpass.c: Likewise.
29677 * manual/examples/pipe.c: Likewise.
29678 * manual/examples/popen.c: Likewise.
29679 * manual/examples/rprintf.c: Likewise.
29680 * manual/examples/search.c: Likewise.
29681 * manual/examples/select.c: Likewise.
29682 * manual/examples/setjmp.c: Likewise.
29683 * manual/examples/sigh1.c: Likewise.
29684 * manual/examples/sigusr.c: Likewise.
29685 * manual/examples/stpcpy.c: Likewise.
29686 * manual/examples/strdupa.c: Likewise.
29687 * manual/examples/strftim.c: Likewise.
29688 * manual/examples/strncat.c: Likewise.
29689 * manual/examples/subopt.c: Likewise.
29690 * manual/examples/swapcontext.c: Likewise.
29691 * manual/examples/termios.c: Likewise.
29692 * manual/examples/testopt.c: Likewise.
29693 * manual/examples/testpass.c: Likewise.
29694 * manual/examples/timeval_subtract.c: Likewise.
29695
29696 [BZ #13792]
29697 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29698 function to ...
29699 * manual/timeval_subtract.c.texi: ... here, new file.
29700
29701 2012-03-02 David S. Miller <davem@davemloft.net>
29702
29703 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29704
29705 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29706
29707 [BZ #3976]
29708 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29709 (__sin): Save and restore rounding mode and use round-to-nearest
29710 for all computations.
29711 (__cos): Save and restore rounding mode and use round-to-nearest
29712 for all computations.
29713 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29714 <fenv.h>.
29715 (tan): Save and restore rounding mode and use round-to-nearest for
29716 all computations.
29717 * math/libm-test.inc (cos_test_tonearest): New function.
29718 (cos_test_towardzero): Likewise.
29719 (cos_test_downward): Likewise.
29720 (cos_test_upward): Likewise.
29721 (sin_test_tonearest): Likewise.
29722 (sin_test_towardzero): Likewise.
29723 (sin_test_downward): Likewise.
29724 (sin_test_upward): Likewise.
29725 (tan_test_tonearest): Likewise.
29726 (tan_test_towardzero): Likewise.
29727 (tan_test_downward): Likewise.
29728 (tan_test_upward): Likewise.
29729 (main): Call the new functions.
29730 * sysdeps/i386/fpu/libm-test-ulps: Update.
29731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29732
29733 [BZ #10135]
29734 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29735 small n, then large n, before computing and testing k+n.
29736 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29738 Likewise.
29739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29740 Likewise.
29741 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29742 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29745 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29746 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29747 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29749 * math/libm-test.inc (scalbn_test): Add more tests.
29750 (scalbln_test): Likewise.
29751
29752 * manual/filesys.texi (mode_t): Describe constraints on size and
29753 signedness, not exact equivalence to a particular type.
29754 (ino_t): Likewise.
29755 (ino64_t): Likewise.
29756 (dev_t): Likewise.
29757 (nlink_t): Likewise.
29758 (blkcnt_t): Likewise.
29759 (blkcnt64_t): Likewise.
29760 * manual/llio.texi (off_t): Likewise.
29761
29762 [BZ #3976]
29763 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29764 (__ieee754_exp): Save and restore rounding mode and use
29765 round-to-nearest for all computations.
29766 * math/libm-test.inc (exp_test_tonearest): New function.
29767 (exp_test_towardzero): Likewise.
29768 (exp_test_downward): Likewise.
29769 (exp_test_upward): Likewise.
29770 (main): Call the new functions.
29771 * sysdeps/i386/fpu/libm-test-ulps: Update.
29772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29773
29774 2012-03-01 Chris Demetriou <cgd@google.com>
29775
29776 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29777 have predictable order.
29778
29779 2012-03-01 David S. Miller <davem@davemloft.net>
29780
29781 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29782
29783 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29784 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29786 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29787
29788 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29789 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29790 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29792 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29793 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29794 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29795 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29796 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29797
29798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29799
29800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29801 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29802 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29803
29804 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29805 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29806 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29807 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29808 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29811 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29812 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29813 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29814 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29815 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29817 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29818 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29820 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29821 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29822 * sysdeps/sparc/elf/configure: Regenerated.
29823
29824 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29825
29826 * configure.in (AS, LD): Require binutils 2.20 or later.
29827 * configure: Regenerated.
29828 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29829 as required minimum version.
29830 * INSTALL: Regenerated.
29831
29832 [BZ #2541]
29833 [BZ #4108]
29834 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29835 before squaring exponent.
29836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29837 bottom long double and 27 bits of top long double before squaring
29838 exponent.
29839 * math/libm-test.inc (erfc_test): Add more tests.
29840 * sysdeps/i386/fpu/libm-test-ulps: Update.
29841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29843
29844 2012-03-01 Kai Tietz <ktietz@redhat.com>
29845
29846 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29847 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29848 containing bit-fields.
29849 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29850 * soft-fp/single.h (_FP_UNION_S): Likewise.
29851 * soft-fp/double.h (_FP_UNION_D): Likewise.
29852
29853 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29854
29855 [BZ #13786]
29856 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29857 not include ../strcmp.S.
29858 [USE_AS_STRNCASECMP_L]: Likewise.
29859 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29860 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29861 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29862 (__strncasecmp_l_ia32): Define as alias to
29863 __strncasecmp_l_nonascii.
29864
29865 [BZ #5794]
29866 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29867 * sysdeps/i386/fpu/libm-test-ulps: Update.
29868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29869
29870 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29872
29873 2012-02-29 Jeff Law <law@redhat.com>
29874
29875 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29876 out of bounds read.
29877
29878 2012-02-29 Marek Polacek <polacek@redhat.com>
29879
29880 [BZ #13706]
29881 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29882 * elf/Makefile: Add rules to run tst-unused-dep.out.
29883
29884 2012-02-28 David S. Miller <davem@davemloft.net>
29885
29886 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29887 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29888 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29890 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29891 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29892
29893 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29894
29895 * math/libm-test.inc (llround_test): Move one test from
29896 lround_test. Use TEST_f_L in moved test.
29897 (lround_test): Move misplaced test to llround_test. Add testcase
29898 from bug 2561.
29899
29900 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29901
29902 * sysdeps/x86_64/fpu/e_expf.S: New file.
29903 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29904
29905 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29906
29907 [BZ #13637]
29908 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29909 of remain_len that may cause incomplete multi-byte character and
29910 false match.
29911 * posix/bug-regex33.c: New file.
29912 * posix/Makefile (tests): Add bug-regex33.
29913
29914 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29915
29916 * manual/macros.texi: New file.
29917 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29918 * manual/libc.texinfo: Include macros.texi.
29919 * manual/creatute.texi: Likewise.
29920 * manual/install.texi: Likewise.
29921 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29922 @glibcadj{} in references to the GNU C Library.
29923 * manual/charset.texi: Likewise.
29924 * manual/conf.texi: Likewise.
29925 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29926 when not using those macros.
29927 * manual/creature.texi: Likewise.
29928 * manual/crypt.texi: Likewise.
29929 * manual/errno.texi: Likewise.
29930 * manual/filesys.texi: Likewise.
29931 * manual/header.texi: Likewise.
29932 * manual/install.texi: Likewise.
29933 * manual/intro.texi: Likewise.
29934 * manual/io.texi: Likewise.
29935 * manual/job.texi: Likewise.
29936 * manual/lang.texi: Likewise.
29937 * manual/libc.texiinfo: Likewise.
29938 * manual/llio.texi: Likewise.
29939 * manual/locale.texi: Likewise.
29940 * manual/maint.texi: Likewise.
29941 * manual/math.texi: Likewise.
29942 * manual/memory.texi: Likewise.
29943 * manual/message.texi: Likewise.
29944 * manual/nss.texi: Likewise.
29945 * manual/pattern.texi: Likewise.
29946 * manual/process.texi: Likewise.
29947 * manual/resource.texi: Likewise.
29948 * manual/search.texi: Likewise.
29949 * manual/setjmp.texi: Likewise.
29950 * manual/signal.texi: Likewise.
29951 * manual/socket.texi: Likewise.
29952 * manual/startup.texi: Likewise.
29953 * manual/stdio.texi: Likewise.
29954 * manual/string.texi: Likewise.
29955 * manual/sysinfo.texi: Likewise.
29956 * manual/syslog.texi: Likewise.
29957 * manual/terminal.texi: Likewise.
29958 * manual/time.texi: Likewise.
29959 * manual/users.texi: Likewise.
29960 * INSTALL: Regenerated.
29961 * NOTES: Regenerated.
29962 * sysdeps/gnu/errlist.c: Regenerated.
29963
29964 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29965
29966 * include/dirent.h: Include <dirstream.h> before
29967 <dirent/dirent.h>.
29968
29969 2012-02-28 David S. Miller <davem@davemloft.net>
29970
29971 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29972 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29973 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29974 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29975
29976 2012-02-27 David S. Miller <davem@davemloft.net>
29977
29978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29980 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29981 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29982
29983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29984 frame pointer instead of stack pointer relative arg slot.
29985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29988
29989 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29990
29991 [BZ #3992]
29992 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29993
29994 2012-02-27 David S. Miller <davem@davemloft.net>
29995
29996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30000 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30001 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30002 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30003 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30004
30005 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30006
30007 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30008 later. Allow versions 5-9.
30009 * configure: Regenerated.
30010 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30011 required minimum version and 4.6 as recommended version. Do not
30012 mention bugs in GCC 2.7 and 2.8.
30013 * INSTALL: Regenerated.
30014
30015 2012-02-27 David S. Miller <davem@davemloft.net>
30016
30017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30023 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30024 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30025
30026 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30027 manipulate bits before adding and subtracting TWO112[sx].
30028 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30029
30030 2012-02-27 Roland McGrath <roland@hack.frob.com>
30031
30032 [BZ #13775]
30033 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30034 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30035 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30036 being in POSIX, because they are in 1003.1-2008.
30037
30038 * rt/tst-aio.c: Include <fcntl.h>.
30039 * rt/tst-aio7.c: Likewise.
30040 * rt/tst-aio64.c: Likewise.
30041
30042 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30043
30044 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30045
30046 * manual/install.texi (--with-headers): Describe headers as
30047 interface headers, not private headers.
30048 (Specific advice for GNU/Linux systems): Describe use of headers
30049 from "make headers_install", not private headers from older
30050 kernels.
30051 * INSTALL: Regenerated.
30052 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30053 Change to 2.6.19.
30054 * sysdeps/unix/sysv/linux/configure: Regenerated.
30055
30056 * manual/llio.texi (fclean): Remove documentation.
30057
30058 * manual/Makefile (libc-texi-generated): New variable. Include
30059 version.texi.
30060 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30061 $(libc-texi-generated), not duplicated list of files.
30062 (version.texi, stamp-version): New rules.
30063 (realclean): Remove $(libc-texi-generated), not individual files
30064 from that list. Do not remove dir-add.texinfo.
30065 * manual/libc.texinfo: Comment out uses of edition numbers and
30066 references to printed manual. Remove last-updated dates.
30067 (EDITION): Comment out.
30068 (ISBN): Likewise.
30069 (VERSION, UPDATED): Remove.
30070 (version.texi): Include.
30071
30072 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30073
30074 * sysdeps/posix/spawni.c: Include <signal.h>.
30075 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30076 * sysdeps/pthread/aio_fsync.c: Likewise.
30077
30078 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30079
30080 * conform/Makefile (tests): Run only when not cross-compiling and
30081 when fast-check is not defined.
30082
30083 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30084 * conform/data/limits.h-data: Fixes for POSIX2008.
30085 * conform/run-conformtest.sh: Run all tests.
30086 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30087 headers.
30088 * include/bits/dlfcn.h: Likewise.
30089 * include/langinfo.h: Likewise.
30090 * include/monetary.h: Likewise.
30091 * include/sys/poll.h: Likewise.
30092
30093 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30094 for __USE_GNU.
30095 * posix/spawn.h: Define __need_sigset_t.
30096 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30097 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30098 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30099 to get sigevent_t only.
30100 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30101 only for __USE_GNU.
30102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30103 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30104 process_vm_writev only for __USE_GNU.
30105 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30106
30107 * conform/Makefile: For now ignore errors from run-conformtest.
30108 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30109 POSIX to avoid namespace pollution. Don't prepend headers.
30110 * conform/data/aio.h-data: Fixes for POSIX testing.
30111 * conform/data/fcntl.h-data: Likewise.
30112 * conform/data/glob.h-data: Likewise.
30113 * conform/data/grp.h-data: Likewise.
30114 * conform/data/pthread.h-data: Likewise.
30115 * conform/data/pwd.h-data: Likewise.
30116 * conform/data/signal.h-data: Likewise.
30117 * conform/data/spawn.h-data: Likewise.
30118 * conform/data/stdio.h-data: Likewise.
30119 * conform/data/stdlib.h-data: Likewise.
30120 * conform/data/stropts.h-data: Likewise.
30121 * conform/data/sys/mman.h-data: Likewise.
30122 * conform/data/sys/stat.h-data: Likewise.
30123 * conform/data/sys/types.h-data: Likewise.
30124 * conform/data/sys/wait.h-data: Likewise.
30125 * conform/data/time.h-data: Likewise.
30126 * conform/data/unistd.h-data: Likewise.
30127 * conform/data/utime.h-data: Likewise.
30128
30129 * io/sys/stat.h: fchmod was always in POSIX.
30130 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30131 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30132 * rt/aio.h: Define __need_timespec before including <time.h>.
30133 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30134 struct. Add forward declaration of pthread_attr_t and use it in
30135 sigevent.
30136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30137 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30138 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30139 always remove CLK_TCK definition.
30140
30141 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30142
30143 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30144
30145 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30146
30147 * conform/run-conformtest.sh: New file.
30148 * conform/Makefile: Run run-conformtest for tests.
30149 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30150 support.
30151
30152 * conform/data/uchar.h-data: New file.
30153 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30154 * conform/data/arpa/inet.h-data: Likewise.
30155 * conform/data/assert.h-data: Likewise.
30156 * conform/data/complex.h-data: Likewise.
30157 * conform/data/cpio.h-data: Likewise.
30158 * conform/data/ctype.h-data: Likewise.
30159 * conform/data/dirent.h-data: Likewise.
30160 * conform/data/dlfcn.h-data: Likewise.
30161 * conform/data/errno.h-data: Likewise.
30162 * conform/data/fcntl.h-data: Likewise.
30163 * conform/data/float.h-data: Likewise.
30164 * conform/data/fmtmsg.h-data: Likewise.
30165 * conform/data/fnmatch.h-data: Likewise.
30166 * conform/data/ftw.h-data: Likewise.
30167 * conform/data/glob.h-data: Likewise.
30168 * conform/data/grp.h-data: Likewise.
30169 * conform/data/iconv.h-data: Likewise.
30170 * conform/data/inttypes.h-data: Likewise.
30171 * conform/data/langinfo.h-data: Likewise.
30172 * conform/data/libgen.h-data: Likewise.
30173 * conform/data/limits.h-data: Likewise.
30174 * conform/data/locale.h-data: Likewise.
30175 * conform/data/math.h-data: Likewise.
30176 * conform/data/monetary.h-data: Likewise.
30177 * conform/data/mqueue.h-data: Likewise.
30178 * conform/data/ndbm.h-data: Likewise.
30179 * conform/data/net/if.h-data: Likewise.
30180 * conform/data/netdb.h-data: Likewise.
30181 * conform/data/netinet/in.h-data: Likewise.
30182 * conform/data/nl_types.h-data: Likewise.
30183 * conform/data/poll.h-data: Likewise.
30184 * conform/data/pthread.h-data: Likewise.
30185 * conform/data/pwd.h-data: Likewise.
30186 * conform/data/regex.h-data: Likewise.
30187 * conform/data/sched.h-data: Likewise.
30188 * conform/data/search.h-data: Likewise.
30189 * conform/data/semaphore.h-data: Likewise.
30190 * conform/data/setjmp.h-data: Likewise.
30191 * conform/data/signal.h-data: Likewise.
30192 * conform/data/spawn.h-data: Likewise.
30193 * conform/data/stdarg.h-data: Likewise.
30194 * conform/data/stdio.h-data: Likewise.
30195 * conform/data/stdlib.h-data: Likewise.
30196 * conform/data/string.h-data: Likewise.
30197 * conform/data/strings.h-data: Likewise.
30198 * conform/data/stropts.h-data: Likewise.
30199 * conform/data/sys/ipc.h-data: Likewise.
30200 * conform/data/sys/mman.h-data: Likewise.
30201 * conform/data/sys/msg.h-data: Likewise.
30202 * conform/data/sys/resource.h-data: Likewise.
30203 * conform/data/sys/select.h-data: Likewise.
30204 * conform/data/sys/sem.h-data: Likewise.
30205 * conform/data/sys/shm.h-data: Likewise.
30206 * conform/data/sys/socket.h-data: Likewise.
30207 * conform/data/sys/stat.h-data: Likewise.
30208 * conform/data/sys/statvfs.h-data: Likewise.
30209 * conform/data/sys/time.h-data: Likewise.
30210 * conform/data/sys/timeb.h-data: Likewise.
30211 * conform/data/sys/times.h-data: Likewise.
30212 * conform/data/sys/types.h-data: Likewise.
30213 * conform/data/sys/uio.h-data: Likewise.
30214 * conform/data/sys/un.h-data: Likewise.
30215 * conform/data/sys/utsname.h-data: Likewise.
30216 * conform/data/sys/wait.h-data: Likewise.
30217 * conform/data/syslog.h-data: Likewise.
30218 * conform/data/tar.h-data: Likewise.
30219 * conform/data/termios.h-data: Likewise.
30220 * conform/data/utime.h-data: Likewise.
30221 * conform/data/utmpx.h-data: Likewise.
30222 * conform/data/varargs.h-data: Likewise.
30223 * conform/data/wchar.h-data: Likewise.
30224 * conform/data/wctype.h-data: Likewise.
30225 * conform/data/wordexp.h-data: Likewise.
30226
30227 * include/stropts.h: New file.
30228 * include/uchar.h: New file.
30229 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30230 * include/assert.h: Likewise.
30231 * include/ctype.h: Likewise.
30232 * include/dirent.h: Likewise.
30233 * include/dlfcn.h: Likewise.
30234 * include/fcntl.h: Likewise.
30235 * include/fnmatch.h: Likewise.
30236 * include/glob.h: Likewise.
30237 * include/grp.h: Likewise.
30238 * include/libio.h: Likewise.
30239 * include/locale.h: Likewise.
30240 * include/math.h: Likewise.
30241 * include/net/if.h: Likewise.
30242 * include/netdb.h: Likewise.
30243 * include/netinet/in.h: Likewise.
30244 * include/pthread.h: Likewise.
30245 * include/pwd.h: Likewise.
30246 * include/regex.h: Likewise.
30247 * include/sched.h: Likewise.
30248 * include/search.h: Likewise.
30249 * include/setjmp.h: Likewise.
30250 * include/signal.h: Likewise.
30251 * include/stdio.h: Likewise.
30252 * include/stdlib.h: Likewise.
30253 * include/string.h: Likewise.
30254 * include/sys/cdefs.h: Likewise.
30255 * include/sys/mman.h: Likewise.
30256 * include/sys/msg.h: Likewise.
30257 * include/sys/resource.h: Likewise.
30258 * include/sys/select.h: Likewise.
30259 * include/sys/socket.h: Likewise.
30260 * include/sys/stat.h: Likewise.
30261 * include/sys/statvfs.h: Likewise.
30262 * include/sys/time.h: Likewise.
30263 * include/sys/times.h: Likewise.
30264 * include/sys/uio.h: Likewise.
30265 * include/sys/utsname.h: Likewise.
30266 * include/sys/wait.h: Likewise.
30267 * include/termios.h: Likewise.
30268 * include/time.h: Likewise.
30269 * include/ulimit.h: Likewise.
30270 * include/unistd.h: Likewise.
30271 * include/utime.h: Likewise.
30272 * include/wchar.h: Likewise.
30273 * include/wctype.h: Likewise.
30274 * include/wordexp.h: Likewise.
30275
30276 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30277
30278 * time/time.h: TIME_UTC must be a macro.
30279 Make timespec_get available for ISO C11 only as well.
30280
30281 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30282
30283 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30284 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30285
30286 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30287
30288 * configure.in: Use -o not -a in test for unsupported multi-arch.
30289
30290 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30291
30292 * manual/texinfo.tex: Update to version 2012-01-19.16.
30293
30294 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30295
30296 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30297
30298 2012-02-24 Roland McGrath <roland@hack.frob.com>
30299
30300 [BZ #13738]
30301 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30302 * manual/fdl-1.3.texi: New file.
30303 * manual/fdl-1.1.texi: File removed.
30304
30305 [BZ #13738]
30306 * manual/libc.texinfo (FDL_VERSION): New @set.
30307 Use it for mention of FDL in cover text.
30308 (Documentation License): Use it in @include file name.
30309
30310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30311 Roland McGrath <roland@hack.frob.com>
30312
30313 [BZ #5461]
30314 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30315 not LONG_LONG_MAX and LONG_LONG_MIN.
30316 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30317 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30318 name.
30319 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30320
30321 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30322
30323 [BZ #2547]
30324 [BZ #11365]
30325 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30326 manipulate bits before adding and subtracting TWO23[sx].
30327 * math/libm-test.inc (nearbyint_test): Add more tests.
30328
30329 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30330
30331 [BZ #2548]
30332 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30333 bits before adding and subtracting TWO23[sx].
30334 * math/libm-test.inc (rint_test): Add more tests.
30335 (rint_test_tonearest): Likewise.
30336 (rint_test_towardzero): Likewise.
30337 (rint_test_downward): Likewise.
30338 (rint_test_upward: Likewise.
30339
30340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30341
30342 [BZ #10110]
30343 * include/stdc-predef.h: New file. Extracted from features.h.
30344 * include/features.h: Include stdc-predef.h.
30345 * Makefile (headers): Add stdc-predef.h.
30346 * CONFORMANCE (Compiler limitations): Update.
30347
30348 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30349
30350 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30351
30352 2012-02-21 David S. Miller <davem@davemloft.net>
30353
30354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30356
30357 2012-02-20 David S. Miller <davem@davemloft.net>
30358
30359 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30360 using a normal save/restore sequence, rather than allocating a
30361 dummy stack frame just to store a frame pointer and restore.
30362 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30363
30364 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30365
30366 * manual/install.texi: Fix stray word in line-wrapped comment.
30367
30368 2012-02-20 David S. Miller <davem@davemloft.net>
30369
30370 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30371 both binutils and gcc support GOTDATA.
30372
30373 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30374 "rd %pc" in the PIC register setup sequences.
30375
30376 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30377 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30378 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30379 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30380 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30382 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30385 (SYSCALL_ERROR_HANDLER): Likewise.
30386 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30387 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30389 (SYSCALL_ERROR_HANDLER): Likewise.
30390
30391 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30392 (HAVE_GCC_GOTDATA): New.
30393 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30394 relocation support in both binutils and gcc.
30395 * sysdeps/sparc/elf/configure: Regenerate.
30396
30397 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30398 * sysdeps/sparc/sparc32/elf/configure: Delete.
30399 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30400 * sysdeps/sparc/sparc64/elf/configure: Delete.
30401 * sysdeps/sparc/elf/configure.in: New file.
30402 * sysdeps/sparc/elf/configure: Generate.
30403
30404 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30405 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30406 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30407 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30408 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30409
30410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30411
30412 * manual/install.texi: Do not mention specific glibc version
30413 numbers.
30414 * manual/libc.texinfo (VERSION, UPDATED): Update.
30415 (@copying): Use @copyright{} and range of years.
30416
30417 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30418
30419 [BZ #13695]
30420 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30421 [crti.S not in sysdirs] (generated): Do not append.
30422 [crti.S not in sysdirs] (omit-deps): Likewise.
30423 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30424 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30425 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30426 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30427 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30428 Likewise.
30429 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30430 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30431 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30432 * csu/defs.awk: Remove file.
30433 * sysdeps/generic/initfini.c: Likewise.
30434 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30435 variable.
30436 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30437 Likewise.
30438
30439 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30440
30441 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30442 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30443 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30445 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30446 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30447 <bits/epoll.h>.
30448 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30449 (__EPOLL_PACKED): Define to empty if not defined by
30450 <bits/epoll.h>.
30451 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30453 bits/epoll.h.
30454
30455 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30456
30457 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30458 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30459 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30460 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30461 <bits/timerfd.h>.
30462 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30464 bits/timerfd.h.
30465
30466 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30467
30468 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30469 in C locale.
30470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30471 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30472 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30474
30475 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30476
30477 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30478 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30479
30480 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30481
30482 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30483 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30484 defined.
30485 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30486 Likewise.
30487 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30488 entry for 2.16.
30489
30490 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30491
30492 * math/w_acos.c: Use non-signaling floating-point comparisons.
30493 * math/w_acosf.c: Likewise.
30494 * math/w_acosh.c: Likewise.
30495 * math/w_acoshf.c: Likewise.
30496 * math/w_acoshl.c: Likewise.
30497 * math/w_acosl.c: Likewise.
30498 * math/w_asin.c: Likewise.
30499 * math/w_asinf.c: Likewise.
30500 * math/w_asinl.c: Likewise.
30501 * math/w_atanh.c: Likewise.
30502 * math/w_atanhf.c: Likewise.
30503 * math/w_atanhl.c: Likewise.
30504 * math/w_exp2.c: Likewise.
30505 * math/w_exp2f.c: Likewise.
30506 * math/w_exp2l.c: Likewise.
30507 * math/w_j0.c: Likewise.
30508 * math/w_j0f.c: Likewise.
30509 * math/w_j0l.c: Likewise.
30510 * math/w_j1.c: Likewise.
30511 * math/w_j1f.c: Likewise.
30512 * math/w_j1l.c: Likewise.
30513 * math/w_jn.c: Likewise.
30514 * math/w_jnf.c: Likewise.
30515 * math/w_log.c: Likewise.
30516 * math/w_log10.c: Likewise.
30517 * math/w_log10f.c: Likewise.
30518 * math/w_log10l.c: Likewise.
30519 * math/w_log2.c: Likewise.
30520 * math/w_log2f.c: Likewise.
30521 * math/w_log2l.c: Likewise.
30522 * math/w_logf.c: Likewise.
30523 * math/w_logl.c: Likewise.
30524 * math/w_sqrt.c: Likewise.
30525 * math/w_sqrtf.c: Likewise.
30526 * math/w_sqrtl.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30529 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30530 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30531 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30532
30533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30534
30535 [BZ #9739]
30536 * manual/string.texi (strnlen): Use correct parameter name in
30537 equivalent expression.
30538
30539 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30540
30541 [BZ #11174]
30542 * manual/users.texi (seteuid): Consistently use neweuid for
30543 argument name.
30544
30545 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30546
30547 [BZ #13704]
30548 * manual/nss.texi (Services in the NSS configuration): Correct
30549 list of services in example configuration file.
30550
30551 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30552
30553 [BZ #11322]
30554 * manual/arith.texi: Remove statements about negative zero
30555 behaving identically to zero.
30556
30557 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30558
30559 [BZ #5993]
30560 * manual/install.texi: Do not document upgrading from libc5.
30561
30562 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30563
30564 [BZ #4596]
30565 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30566
30567 2012-02-18 David S. Miller <davem@davemloft.net>
30568
30569 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30570 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30571 %o7 across the call.
30572 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30573 instead.
30574 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30575 SETUP_PIC_REG_LEAF.
30576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30577 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30578 * sysdeps/sparc/crtn.S: Likewise.
30579
30580 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30581
30582 * aout/Makefile: Remove.
30583
30584 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30585
30586 [BZ #13058]
30587 * manual/examples/argp-ex1.c (main): Format definition in GNU
30588 style.
30589 * manual/examples/argp-ex2.c (main): Likewise.
30590 * manual/examples/argp-ex3.c (main): Likewise.
30591 * manual/examples/argp-ex4.c (main): Likewise.
30592 * manual/examples/longopt.c (main): Use new-style prototype
30593 definition.
30594 * manual/examples/strncat.c (main): Specify return type and use
30595 (void) for arguments.
30596 * manual/examples/subopt.c (main): Use char **argv argument.
30597
30598 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30599
30600 [BZ #5077]
30601 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30602 rounding modes.
30603
30604 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30605
30606 [BZ #6907]
30607 * manual/string.texi (strchr): Change when strchrnul is
30608 recommended.
30609
30610 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30611
30612 [BZ #174]
30613 * manual/locale.texi (setlocale): Document LOCPATH.
30614
30615 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30616
30617 [BZ #10210]
30618 * manual/process.texi (execle): Move @dots{} before last argument.
30619
30620 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30621
30622 [BZ #12047]
30623 * manual/charset.texi (Generic Charset Conversion): Fix typo
30624 (LC_TYPE -> LC_CTYPE).
30625
30626 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30627
30628 [BZ #5805]
30629 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30630 (scalbnf): Likewise.
30631 (scalbnl): Likewise.
30632 (scalbln): Likewise.
30633 (scalblnf): Likewise.
30634 (scalblnl): Likewise.
30635 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30636 (vwarnx): Likewise.
30637 (verr): Likewise.
30638 (verrx): Likewise.
30639 * manual/filesys.texi (telldir): Use braces around return type.
30640 * manual/llio.texi (mmap): Add space after comma.
30641 (mmap64): Likewise.
30642 * manual/math.texi (jn): Use @var{} on parameter names.
30643 (jnf): Likewise.
30644 (jnl): Likewise.
30645 (yn): Likewise.
30646 (ynf): Likewise.
30647 (ynl): Likewise.
30648 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30649 line.
30650 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30651 "...".
30652 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30653 (sched_get_priority_max): Likewise.
30654 * manual/signal.texi (sigvec): Add space after comma.
30655 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30656 names.
30657 (if_indextoname): Likewise.
30658 (if_freenameindex): Likewise.
30659 (sendto): Use ',' instead of '.' in prototype.
30660 * manual/startup.texi (syscall): Use @dots{} instead of literal
30661 "...".
30662 * manual/stdio.texi (__fpending): Separate initial words of
30663 paragraph from @deftypefun line.
30664 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30665 "...".
30666 (vsyslog): Use @var{} on parameter names.
30667 * manual/terminal.texi (stty): Use @var{} on parameter names.
30668 * manual/users.texi (getutmp): Use @var{} on parameter names.
30669 (getutmpx): Likewise.
30670
30671 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30672
30673 [BZ #6884]
30674 * manual/stdio.texi (fopen): Fix typos in description of
30675 ",ccs=STRING".
30676
30677 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30678
30679 [BZ #4026]
30680 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30681 get clock_id definition.
30682
30683 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30684
30685 [BZ #4822]
30686 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30687 (madvise): Cast every argument to void on its own.
30688
30689 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30690
30691 [BZ #9902]
30692 * manual/startup.texi (Exit Status): Fix typo.
30693
30694 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30695
30696 [BZ #10140]
30697 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30698 * manual/examples/argp-ex2.c: Likewise.
30699 * manual/examples/argp-ex3.c: Likewise.
30700
30701 2012-02-16 Richard Henderson <rth@redhat.com>
30702
30703 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30704 * sysdeps/s390/s390-32/initfini.c: Remove.
30705 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30706 * sysdeps/s390/s390-64/initfini.c: Remove.
30707
30708 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30709
30710 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30711 compiler output for sysdeps/generic/initfini.c.
30712 * sysdeps/sh/elf/initfini.c: Remove file.
30713
30714 2012-02-16 David S. Miller <davem@davemloft.net>
30715
30716 [BZ #11494]
30717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30718
30719 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30720 * sysdeps/sparc/crti.S: New file.
30721 * sysdeps/sparc/crtn.S: New file.
30722 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30723 * sysdeps/sparc/sparc64/Makefile: Likewise.
30724
30725 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30726
30727 [BZ #3335]
30728 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30729
30730 2012-02-15 Roland McGrath <roland@hack.frob.com>
30731
30732 [BZ #4822]
30733 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30734
30735 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30736 (write, read, close): Likewise.
30737 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30738
30739 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30740
30741 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30742 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30743 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30744 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30745 <bits/signalfd.h>.
30746 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30748 bits/signalfd.h.
30749
30750 2012-02-14 Marek Polacek <polacek@redhat.com>
30751
30752 * sysdeps/x86_64/crti.S: New file.
30753 * sysdeps/x86_64/crtn.S: New file.
30754 * sysdeps/x86_64/elf/initfini.c: Remove file.
30755
30756 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30757
30758 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30759 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30760 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30761 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30762 <bits/inotify.h>.
30763 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30765 bits/inotify.h.
30766
30767 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30768
30769 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30770 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30771 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30772 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30773 <bits/eventfd.h>.
30774 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30776 bits/eventfd.h.
30777
30778 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30779
30780 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30781 __feraiseexcept instead of feraiseexcept.
30782
30783 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30784 nanosleep invocations.
30785 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30786 strings, and add error checking for a nanosleep invocations.
30787
30788 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30789
30790 Replace FSF snail mail address with URLs, as per GNU coding standards.
30791 Most of the snail mail addresses were wrong anyway, and omitting
30792 them makes the source code easier to maintain. Almost all of the
30793 changes are to license notices and to locale LC_IDENTIFICATION
30794 addresses, except for this one:
30795 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30796 not its snail mail address.
30797
30798 2012-02-09 Richard Henderson <rth@twiddle.net>
30799
30800 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30801 of kernel-features.h.
30802
30803 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30804
30805 2012-02-08 Marek Polacek <polacek@redhat.com>
30806
30807 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30808 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30809 * sysdeps/gnu/_G_config.h: Likewise.
30810 * sysdeps/generic/_G_config.h: Likewise.
30811
30812 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30813
30814 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30815 tests.
30816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30817
30818 * sysdeps/powerpc/powerpc32/crti.S: New file.
30819 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30820 * sysdeps/powerpc/powerpc64/crti.S: New file.
30821 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30822
30823 * Makeconfig (have-initfini): Don't set.
30824 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30825 * configure.in (nopic_initfini): Don't substitute.
30826 * config.h.in (HAVE_INITFINI): Don't #undef.
30827 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30828 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30829
30830 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30831
30832 Support crti.S and crtn.S provided directly by architectures.
30833 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30834 [crti.S in sysdirs] (omit-deps): Likewise.
30835 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30836 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30837 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30838 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30839 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30840 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30841 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30842 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30843 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30844 compiler output for sysdeps/generic/initfini.c.
30845 * sysdeps/i386/elf/Makefile: Remove file.
30846 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30847
30848 2012-02-07 Marek Polacek <polacek@redhat.com>
30849
30850 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30851 * sysdeps/gnu/_G_config.h: Likewise.
30852 * sysdeps/mach/hurd/_G_config.h: Likewise.
30853
30854 2012-02-07 Marek Polacek <polacek@redhat.com>
30855
30856 * math/Makefile (tests): Add tst-CMPLX2.
30857 * math/tst-CMPLX2.c: New file.
30858
30859 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30860
30861 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30862
30863 * math/libm-test.inc (jn_test): Add missing L suffix.
30864
30865 2012-02-06 Marek Polacek <polacek@redhat.com>
30866
30867 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30868 * sysdeps/i386/fpu/e_powf.S: Likewise.
30869 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30870 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30872 * sysdeps/i386/fpu/e_pow.S: Likewise.
30873 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30874 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30875 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30876 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30877 * sysdeps/i386/fpu/e_log2.S: Likewise.
30878 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30879 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30880 * sysdeps/i386/fpu/e_powl.S: Likewise.
30881 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30882 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30883 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30884 * sysdeps/i386/fpu/e_logl.S: Likewise.
30885 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30886 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30887 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30888 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30889 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30890 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30891 * sysdeps/i386/fpu/e_log.S: Likewise.
30892 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30893 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30894 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30895 * sysdeps/i386/fpu/e_logf.S: Likewise.
30896 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30897 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30898 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30899 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30900 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30901 * sysdeps/i386/fpu/e_log10.S: Likewise.
30902 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30903 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30904 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30905 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30906 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30907 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30908 * sysdeps/i386/asm-syntax.h: Likewise.
30909 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30911 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30912 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30913 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30914 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30915 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30916 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30917 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30918 * sysdeps/powerpc/sysdep.h: Likewise.
30919 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30920 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30921
30922 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30923
30924 [BZ #411]
30925 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30926
30927 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30928
30929 * sysdeps/i386/sysdep.h: Include <features.h>.
30930 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30931 version.
30932
30933 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30934
30935 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30936 Define.
30937 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30938 LOAD_PIC_REG_STR.
30939
30940 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30941
30942 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30943 (SETUP_PIC_REG): Use GET_PC_THUNK.
30944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30945 macro.
30946
30947 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30948
30949 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30950 for non-PIC compilation.
30951 (SETUP_PIC_REG): Add .p2align directive.
30952 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30953 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30954 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30955 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30956 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30957 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30958 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30962 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30963 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30964 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30965 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30967 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30969 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30971 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30973 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30975 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30976 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30978 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30980 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30981 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30982 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30985 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30986 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30992 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30993
30994 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30995
30996 * math/tst-CMPLX.c: Include <stdio.h>.
30997
30998 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30999
31000 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31001 float.
31002 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31003 * sysdeps/sparc/bits/mathdef.h: Likewise.
31004
31005 2012-01-31 Marek Polacek <polacek@redhat.com>
31006
31007 * libio/libio.h: Don't define _PARAMS.
31008 * locale/programs/config.h: Don't define PARAMS.
31009 * stdlib/strtol_l.c: Likewise.
31010 (__strtol_l): Remove PARAMS from the prototype.
31011
31012 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31013
31014 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31015 names. Just use the correct names. Remove unnecessary wrapper
31016 functions.
31017 * malloc/arena.c: Likewise.
31018 * malloc/hooks.c: Likewise.
31019
31020 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31021 ARENA_TEST says not to. Simplify test for creation of a new arena.
31022 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31023
31024 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31025
31026 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31027 into tail calls.
31028 (update_get_addr): New function.
31029 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31030 GET_ADDR_MODULE parameter.
31031
31032 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31033
31034 * crypt/cert.c: Remove __STDC__ conditionals.
31035 * crypt/crypt-entry.c: Likewise.
31036 * crypt/crypt_util.c: Likewise.
31037 * libio/filedoalloc.c: Likewise.
31038 * libio/fileops.c: Likewise.
31039 * libio/genops.c: Likewise.
31040 * libio/iofclose.c: Likewise.
31041 * libio/iofdopen.c: Likewise.
31042 * libio/iofopen.c: Likewise.
31043 * libio/iofopen64.c: Likewise.
31044 * libio/iogetdelim.c: Likewise.
31045 * libio/iopopen.c: Likewise.
31046 * libio/obprintf.c: Likewise.
31047 * libio/oldfileops.c: Likewise.
31048 * libio/oldiofclose.c: Likewise.
31049 * libio/oldiofdopen.c: Likewise.
31050 * libio/oldiofopen.c: Likewise.
31051 * libio/oldiopopen.c: Likewise.
31052 * libio/wfiledoalloc.c: Likewise.
31053 * libio/wgenops.c: Likewise.
31054 * locale/programs/xmalloc.c: Likewise.
31055 * misc/syslog.c: Likewise.
31056 * stdio-common/xbug.c: Likewise.
31057 * string/memchr.c: Likewise.
31058 * string/memcmp.c: Likewise.
31059 * string/memrchr.c: Likewise.
31060 * string/rawmemchr.c: Likewise.
31061 * sysdeps/posix/getcwd.c: Likewise.
31062 * time/strftime_l.c: Likewise.
31063
31064 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31065
31066 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31067 * config.make.in (config-cflags-sse2avx): Define.
31068 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31069 Fix typo.
31070
31071 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31072
31073 * scripts/config.guess: Update from upstream config git repository.
31074 * scripts/config.sub: Likewise.
31075
31076 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31077
31078 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31079 (EM_NUM): Update.
31080 (R_TILEPRO_*, R_TILEGX_*): New macros.
31081
31082 * scripts/firstversions.awk: Fix bug in version range handling.
31083
31084 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31085
31086 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31087
31088 * include/sys/epoll.h: New file.
31089 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31090 libc_hidden_def.
31091
31092 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31093
31094 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31095 Avoid unnecessary __WORDSIZE == 64 test.
31096 (fmaxf): Use VEX format if possible.
31097 (fmax): Likewise.
31098 (fminf): Likewise.
31099 (fmin): Likewise.
31100
31101 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31102 * math/math_private.h: Remove libc_fegetround* and
31103 libc_fesetround*.
31104 * sysdeps/i386/configure.in: Check for -msse2avx.
31105 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31106 also if SSE2AVX is defined.
31107 Remove libc_fegetround* and libc_fesetround*.
31108 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31109 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31111 of HAS_YMM_USABLE.
31112 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31113 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31114 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31117
31118 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31119
31120 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31121
31122 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31123 size is not set.
31124 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31125
31126 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31127
31128 [BZ #13618]
31129 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31130 relocation.
31131 * Makeconfig (libm): Define.
31132 * elf/Makefile: Add rules to build and run tst-relsort1.
31133 * elf/tst-relsort1.c: New file.
31134 * elf/tst-relsort1mod1.c: New file.
31135 * elf/tst-relsort1mod2.c: New file.
31136
31137 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31138
31139 * math/s_ldexp.c: Remove __STDC__ conditionals.
31140 * math/s_ldexpf.c: Likewise.
31141 * math/s_ldexpl.c: Likewise.
31142 * math/s_nextafter.c: Likewise.
31143 * math/s_nexttowardf.c: Likewise.
31144 * math/s_significand.c: Likewise.
31145 * math/s_significandf.c: Likewise.
31146 * math/s_significandl.c: Likewise.
31147 * math/w_jnl.c: Likewise.
31148 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31149 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31150 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31151 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31152 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31154 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31155 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31156 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31157 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31158 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31160 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31161 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31162 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31163 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31164 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31165 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31167 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31168 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31169 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31170 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31171 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31172 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31173 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31174 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31175 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31176 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31177 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31178 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31179 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31180 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31181 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31182 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31183 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31184 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31185 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31186 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31187 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31188 * sysdeps/ieee754/k_standard.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31193 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31194 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31198 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31200 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31238 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31255 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31264 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31268 * sysdeps/ieee754/s_matherr.c: Likewise.
31269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31271 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31273
31274 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31275
31276 * crypt/md5.h: Remove __STDC__ conditionals.
31277 * libio/libioP.h: Likewise.
31278 * locale/programs/config.h: Likewise.
31279 * sysdeps/generic/sysdep.h: Likewise.
31280 * sysdeps/i386/asm-syntax.h: Likewise.
31281 * sysdeps/s390/asm-syntax.h: Likewise.
31282 * sysdeps/unix/sysdep.h: Likewise.
31283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31285
31286 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31287
31288 * libio/libio.h: Remove __STDC__ conditionals.
31289 * malloc/obstack.h: Likewise.
31290 * math/complex.h: Likewise.
31291 * math/math.h: Likewise.
31292 * sysdeps/generic/_G_config.h: Likewise.
31293 * sysdeps/gnu/_G_config.h: Likewise.
31294 * sysdeps/mach/hurd/_G_config.h: Likewise.
31295 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31296 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31297 * sysdeps/sparc/bits/mathdef.h: Likewise.
31298
31299 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31300
31301 [BZ #13583]
31302 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31303 Clean up HAS_* macros.
31304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31305 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31306 possible.
31307 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31308 HAS_AVX.
31309 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31314
31315 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31316
31317 * elf/tst-unique3.cc (gets): Remove declaration.
31318 * elf/tst-unique3lib.cc (gets): Likewise.
31319 * elf/tst-unique3lib2.cc (gets): Likewise.
31320 * elf/tst-unique4.cc (gets): Likewise.
31321
31322 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31323
31324 * include/stdio.h: Add C++ protection. Add gets declarations and
31325 definitions.
31326 * debug/tst-chk1.c: Don't declare gets here.
31327 * stdio-common/tst-gets.c: Likewise.
31328
31329 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31330
31331 * posix/glob: Remove directory.
31332
31333 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31334
31335 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31336
31337 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31338
31339 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31340 of the non-standard EPFNOSUPPORT.
31341
31342 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31343
31344 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31345 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31346 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31347
31348 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31349
31350 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31351
31352 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31353
31354 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31355 transient errors.
31356 * nscd/grpcache.c (cache_addgr): Likewise.
31357 * nscd/hstcache.c (cache_addhst): Likewise.
31358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31359 * nscd/pwdcache.c (cache_addpw): Likewise.
31360 * nscd/servicescache.c (cache_addserv): Likewise.
31361
31362 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31363
31364 * malloc/malloc.c: Various cleanups.
31365 * malloc/hooks.c: Likewise.
31366
31367 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31368 * stdlib/bug-fmtmsg1.c: New file.
31369
31370 * stdlib/fmtmsg.c (init): Add missing unlock.
31371 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31372
31373 2012-01-12 Marek Polacek <polacek@redhat.com>
31374
31375 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31376 and _GNU_SOURCE.
31377
31378 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31379
31380 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31381 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31382 macro to ensure uniqueness of label name.
31383 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31384 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31385
31386 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31387
31388 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31389
31390 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31391 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31392 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31394
31395 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31396
31397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31398
31399 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31400 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31401 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31402
31403 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31404
31405 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31406 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31409
31410 * math/bits/math-finite.h: Add ldexp support.
31411
31412 2012-01-10 Marek Polacek <polacek@redhat.com>
31413
31414 * locale/programs/localedef.h (show_archive_content): Add noreturn
31415 attribute.
31416
31417 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31418
31419 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31420
31421 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31422
31423 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31424
31425 * io/Makefile (headers): Add bits/poll2.h.
31426
31427 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31428
31429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31430 typo #include statement.
31431
31432 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31433
31434 * include/sys/cdefs.h: Define __attribute_alloc_size.
31435 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31436 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31437 * elf/pldd.c: Likewise.
31438 * iconv/iconv_charmap.c: Likewise.
31439 * iconv/iconvconfig.c: Likewise.
31440 * iconv/strtab.c: Likewise.
31441 * locale/programs/locale.c: Likewise.
31442 * locale/programs/localedef.h: Likewise.
31443 * locale/programs/simple-hash.c: Likewise.
31444 * nscd/nscd.h: Likewise.
31445 * nss/makedb.c: Likewise.
31446 * sysdeps/generic/ldconfig.h: Likewise.
31447 * locale/programs/localedef.c: Remove xmalloc prototype.
31448 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31449
31450 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31451
31452 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31453 appropriate.
31454
31455 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31456
31457 * math/Makefile (tests): Add tst-CMPLX.
31458 * math/tst-CMPLX.c: New file.
31459
31460 * math/complex.h (CMPLXL): Fix typo.
31461
31462 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31463 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31464 GLIBC_2.16.
31465 * debug/tst-chk1.c: Add poll and ppoll tests.
31466 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31467 * include/sys/poll.h: Add hidden proto for ppoll.
31468 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31469 * sysdeps/mach/hurd/ppoll.c: Likewise.
31470 * io/ppoll.c: Likewise.
31471 * debug/poll_chk.c: New file.
31472 * debug/ppoll_chk.c: New file.
31473 * include/bits/poll2.h: New file.
31474 * io/bits/poll2.h: New file.
31475
31476 [BZ #1350]
31477 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31478
31479 * configure.in: static is always set to yes. Remove.
31480 * config.make.in: Don't set build-static.
31481 * Makeconfig: Remove use of build-static.
31482 * dlfcn/Makefile: Likewise.
31483 * elf/Makefile: Likewise.
31484 * math/Makefile: Likewise.
31485 * misc/Makefile: Likewise.
31486 * nptl/Makefile: Likewise.
31487 * sysdeps/mach/hurd/Makefile: Likewise.
31488
31489 * configure.in: PWD_P is not used anymore.
31490 * config.make.in: Remove PWD_P entry.
31491
31492 * configure.in: Remove last remnants of RANLIB.
31493 No need to check for signed size_t anymore.
31494 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31495 and IA-64.
31496 Remove __builtin_expect test because we require at least gcc 3.4.
31497 * aclocal.m4: Likewise.
31498
31499 * wcsmbs/mbrtoc16.c: Implement using towc function.
31500 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31501 * wcsmbs/wcsmbsload.c: Likewise.
31502 * iconv/gconv_simple.c: Likewise.
31503 * iconv/gconv_int.h: Likewise.
31504 * iconv/gconv_builtin.h: Likewise.
31505 * iconv/iconv_prog.c: Remove CHAR16 handling.
31506
31507 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31508
31509 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31510
31511 * configure.in: Remove --with-elf and --enable-bounded options.
31512 Dont set base_machine for ia64. More non-ELF conditions removed.
31513 Remove testing and setting of leading underscore information.
31514 * config.make.in (build-bounded): Set to no.
31515 * config.h.in: Remove NO_UNDERSCORES entry.
31516 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31517 them.
31518 * csu/start.c: Remove !NO_UNDERSCORE code.
31519 * locale/localeinfo.h: Likewise.
31520 * sysdeps/generic/machine-gmon.h: Likewise.
31521 * sysdeps/generic/sysdep.h: Likewise.
31522 * sysdeps/i386/sysdep.h: Likewise.
31523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31524 * sysdeps/mach/sysdep.h: Likewise.
31525 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31527 * sysdeps/sh/sysdep.h: Likewise.
31528 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31529 * sysdeps/unix/i386/sysdep.S: Likewise.
31530 * sysdeps/unix/sparc/start.c: Likewise.
31531 * sysdeps/unix/sparc/sysdep.S: Likewise.
31532 * sysdeps/unix/sparc/sysdep.h: Likewise.
31533 * sysdeps/unix/start.c: Likewise.
31534 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31535 * sysdeps/x86_64/sysdep.h: Likewise.
31536
31537 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31538
31539 [BZ #13553]
31540 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31541 for non-gcc.
31542 * argp/argp-fmtstream.h: Use const instead __const.
31543 * argp/argp.h: Likewise.
31544 * assert/assert.h: Likewise.
31545 * bits/fenv.h: Likewise.
31546 * bits/sched.h: Likewise.
31547 * bits/sigset.h: Likewise.
31548 * bits/sigthread.h: Likewise.
31549 * catgets/nl_types.h: Likewise.
31550 * conform/data/pthread.h-data: Likewise.
31551 * crypt/crypt-private.h: Likewise.
31552 * crypt/crypt.h: Likewise.
31553 * crypt/crypt_util.c: Likewise.
31554 * ctype/ctype.h: Likewise.
31555 * debug/execinfo.h: Likewise.
31556 * debug/mbsnrtowcs_chk.c: Likewise.
31557 * debug/mbsrtowcs_chk.c: Likewise.
31558 * debug/wcsnrtombs_chk.c: Likewise.
31559 * debug/wcsrtombs_chk.c: Likewise.
31560 * debug/wcstombs_chk.c: Likewise.
31561 * dirent/dirent.h: Likewise.
31562 * dlfcn/dlfcn.h: Likewise.
31563 * elf/neededtest4.c: Likewise.
31564 * grp/grp.h: Likewise.
31565 * gshadow/gshadow.h: Likewise.
31566 * iconv/gconv.h: Likewise.
31567 * iconv/gconv_int.h: Likewise.
31568 * iconv/gconv_simple.c: Likewise.
31569 * iconv/iconv.h: Likewise.
31570 * iconv/loop.c: Likewise.
31571 * iconv/skeleton.c: Likewise.
31572 * include/aio.h: Likewise.
31573 * include/aliases.h: Likewise.
31574 * include/argz.h: Likewise.
31575 * include/arpa/inet.h: Likewise.
31576 * include/assert.h: Likewise.
31577 * include/dirent.h: Likewise.
31578 * include/dlfcn.h: Likewise.
31579 * include/execinfo.h: Likewise.
31580 * include/fcntl.h: Likewise.
31581 * include/fenv.h: Likewise.
31582 * include/glob.h: Likewise.
31583 * include/grp.h: Likewise.
31584 * include/libintl.h: Likewise.
31585 * include/mntent.h: Likewise.
31586 * include/netdb.h: Likewise.
31587 * include/pwd.h: Likewise.
31588 * include/rpc/netdb.h: Likewise.
31589 * include/sched.h: Likewise.
31590 * include/search.h: Likewise.
31591 * include/shadow.h: Likewise.
31592 * include/signal.h: Likewise.
31593 * include/stdio.h: Likewise.
31594 * include/stdlib.h: Likewise.
31595 * include/string.h: Likewise.
31596 * include/sys/socket.h: Likewise.
31597 * include/sys/stat.h: Likewise.
31598 * include/sys/statfs.h: Likewise.
31599 * include/sys/statvfs.h: Likewise.
31600 * include/sys/syslog.h: Likewise.
31601 * include/sys/time.h: Likewise.
31602 * include/sys/uio.h: Likewise.
31603 * include/time.h: Likewise.
31604 * include/unistd.h: Likewise.
31605 * include/utmp.h: Likewise.
31606 * include/wchar.h: Likewise.
31607 * include/wctype.h: Likewise.
31608 * inet/aliases.h: Likewise.
31609 * inet/arpa/inet.h: Likewise.
31610 * inet/netinet/ether.h: Likewise.
31611 * inet/netinet/in.h: Likewise.
31612 * intl/libintl.h: Likewise.
31613 * io/bits/fcntl2.h: Likewise.
31614 * io/fcntl.h: Likewise.
31615 * io/ftw.h: Likewise.
31616 * io/sys/poll.h: Likewise.
31617 * io/sys/stat.h: Likewise.
31618 * io/sys/statfs.h: Likewise.
31619 * io/sys/statvfs.h: Likewise.
31620 * io/utime.h: Likewise.
31621 * libio/bits/stdio.h: Likewise.
31622 * libio/bits/stdio2.h: Likewise.
31623 * libio/libio.h: Likewise.
31624 * libio/libioP.h: Likewise.
31625 * libio/stdio.h: Likewise.
31626 * locale/lc-ctype.c: Likewise.
31627 * locale/locale.h: Likewise.
31628 * login/utmp.h: Likewise.
31629 * malloc/arena.c: Likewise.
31630 * malloc/malloc.c: Likewise.
31631 * malloc/malloc.h: Likewise.
31632 * malloc/mcheck.c: Likewise.
31633 * malloc/mtrace.c: Likewise.
31634 * math/bits/mathcalls.h: Likewise.
31635 * math/fenv.h: Likewise.
31636 * math/math_private.h: Likewise.
31637 * misc/bits/error.h: Likewise.
31638 * misc/bits/syslog.h: Likewise.
31639 * misc/err.h: Likewise.
31640 * misc/error.h: Likewise.
31641 * misc/fstab.h: Likewise.
31642 * misc/mntent.h: Likewise.
31643 * misc/regexp.h: Likewise.
31644 * misc/search.h: Likewise.
31645 * misc/sgtty.h: Likewise.
31646 * misc/sys/mman.h: Likewise.
31647 * misc/sys/syslog.h: Likewise.
31648 * misc/sys/uio.h: Likewise.
31649 * misc/sys/xattr.h: Likewise.
31650 * misc/ttyent.h: Likewise.
31651 * nis/rpcsvc/ypclnt.h: Likewise.
31652 * nss/nss.h: Likewise.
31653 * posix/bits/unistd.h: Likewise.
31654 * posix/fnmatch.h: Likewise.
31655 * posix/glob.h: Likewise.
31656 * posix/sched.h: Likewise.
31657 * posix/spawn.h: Likewise.
31658 * posix/sys/wait.h: Likewise.
31659 * posix/unistd.h: Likewise.
31660 * posix/wordexp.h: Likewise.
31661 * pwd/pwd.h: Likewise.
31662 * resolv/netdb.h: Likewise.
31663 * resource/sys/resource.h: Likewise.
31664 * rt/aio.h: Likewise.
31665 * rt/bits/mqueue2.h: Likewise.
31666 * rt/mqueue.h: Likewise.
31667 * shadow/shadow.h: Likewise.
31668 * signal/signal.h: Likewise.
31669 * socket/send.c: Likewise.
31670 * socket/sendto.c: Likewise.
31671 * socket/sys/socket.h: Likewise.
31672 * stdio-common/printf.h: Likewise.
31673 * stdlib/bits/stdlib.h: Likewise.
31674 * stdlib/fmtmsg.h: Likewise.
31675 * stdlib/monetary.h: Likewise.
31676 * stdlib/stdlib.h: Likewise.
31677 * stdlib/ucontext.h: Likewise.
31678 * streams/stropts.h: Likewise.
31679 * string/argz.h: Likewise.
31680 * string/bits/string2.h: Likewise.
31681 * string/string.h: Likewise.
31682 * string/strings.h: Likewise.
31683 * sunrpc/rpc/auth.h: Likewise.
31684 * sunrpc/rpc/auth_des.h: Likewise.
31685 * sunrpc/rpc/clnt.h: Likewise.
31686 * sunrpc/rpc/netdb.h: Likewise.
31687 * sunrpc/rpc/pmap_clnt.h: Likewise.
31688 * sunrpc/rpc/xdr.h: Likewise.
31689 * sysdeps/generic/inttypes.h: Likewise.
31690 * sysdeps/generic/net/if.h: Likewise.
31691 * sysdeps/generic/sys/swap.h: Likewise.
31692 * sysdeps/gnu/net/if.h: Likewise.
31693 * sysdeps/gnu/utmpx.h: Likewise.
31694 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31695 * sysdeps/i386/i486/bits/string.h: Likewise.
31696 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31697 * sysdeps/s390/bits/string.h: Likewise.
31698 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31699 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31700 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31701 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31702 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31703 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31704 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31705 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31706 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31707 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31708 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31709 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31710 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31711 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31712 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31713 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31714 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31716 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31717 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31718 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31719 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31720 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31721 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31722 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31723 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31724 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31726 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31727 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31728 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31729 * sysvipc/sys/ipc.h: Likewise.
31730 * sysvipc/sys/msg.h: Likewise.
31731 * sysvipc/sys/sem.h: Likewise.
31732 * sysvipc/sys/shm.h: Likewise.
31733 * termios/termios.h: Likewise.
31734 * time/sys/time.h: Likewise.
31735 * time/time.h: Likewise.
31736 * wcsmbs/bits/wchar2.h: Likewise.
31737 * wcsmbs/uchar.h: Likewise.
31738 * wcsmbs/wchar.h: Likewise.
31739 * wctype/wctype.h: Likewise.
31740
31741 [BZ #13551]
31742 * Makeconfig: Remove all but ELF support including AIX support.
31743 * Makerules: Likewise.
31744 * config.h.in: Likewise.
31745 * config.make.in: Likewise.
31746 * configure: Likewise.
31747 * configure.in: Likewise.
31748 * csu/Makefile: Likewise.
31749 * csu/version.c: Likewise.
31750 * debug/Makefile: Likewise.
31751 * dlfcn/Makefile: Likewise.
31752 * elf/Makefile: Likewise.
31753 * extra-lib.mk: Likewise.
31754 * iconv/Makefile: Likewise.
31755 * include/libc-symbols.h: Likewise.
31756 * include/shlib-compat.h: Likewise.
31757 * resolv/Makefile: Likewise.
31758 * resolv/res_libc.c: Likewise.
31759 * rt/Makefile: Likewise.
31760 * sysdeps/i386/asm-syntax.h: Likewise.
31761 * sysdeps/i386/sysdep.h: Likewise.
31762 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31763 * sysdeps/mach/sysdep.h: Likewise.
31764 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31765 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31766 * sysdeps/s390/asm-syntax.h: Likewise.
31767 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31769 * sysdeps/sh/sysdep.h: Likewise.
31770 * sysdeps/unix/sparc/sysdep.h: Likewise.
31771 * sysdeps/wordsize-32/divdi3.c: Likewise.
31772 * sysdeps/x86_64/sysdep.h: Likewise.
31773
31774 * argp/Versions: Remove _argp_unlock_xxx.
31775
31776 [BZ #13559]
31777 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31778 * abilist/libBrokenLocale.abilist: Likewise.
31779 * abilist/libanl.abilist: Likewise.
31780 * abilist/libc.abilist: Likewise.
31781 * abilist/libcrypt.abilist: Likewise.
31782 * abilist/libdl.abilist: Likewise.
31783 * abilist/libm.abilist: Likewise.
31784 * abilist/libnsl.abilist: Likewise.
31785 * abilist/libpthread.abilist: Likewise.
31786 * abilist/libresolv.abilist: Likewise.
31787 * abilist/librt.abilist: Likewise.
31788 * abilist/libthread_db.abilist: Likewise.
31789 * abilist/libutil.abilist: Likewise.
31790 * abilist/libnss_db.abilist: New file.
31791
31792 * scripts/abilist.awk: Add support for indirect functions.
31793
31794 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31795
31796 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31797
31798 * shlib-versions: Remove entries for ports architectures.
31799
31800 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31801 files in ports.
31802 * elf/stackguard-macros.h: Remove support for IA-64.
31803 * elf/tst-auditmod1.c: Likewise.
31804 * sysdeps/generic/ldsodefs.h: Likewise.
31805
31806 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31807 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31808 configure files.
31809
31810 [BZ #13552]
31811 * configure.in: Remove --enable-omitfp support.
31812 * FAQ.in: Adjust.
31813 * config.make.in: Likewise.
31814 * Makeconfig: Likewise.
31815 * manual/install.texi: Likewise.
31816
31817 In case anyone cares, the IA-64 architecture could move to ports.
31818 * sysdeps/ia64/*: Removed.
31819 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31820 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31821
31822 [BZ #13555]
31823 * configure.in: Remove entries for unsupported architectures.
31824
31825 [BZ #13533]
31826 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31827 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31828 routines.
31829 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31830 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31831 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31832 fall back to using wcrtomb.
31833 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31834 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31835 renaming.
31836 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31837 * wcsmbs/tst-c16c32-1.c: New file.
31838
31839 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31840 local variable.
31841
31842 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31843
31844 * elf/tst-unique3.cc: Add explicit declaration of gets.
31845 * elf/tst-unique3lib.cc: Likewise.
31846 * elf/tst-unique3lib2.cc: Likewise.
31847 * elf/tst-unique4.cc: Likewise.
31848
31849 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31850
31851 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31852
31853 [BZ #13566]
31854 * assert/assert.h (static_assert): Don't define for C++.
31855 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31856 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31857
31858 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31859
31860 * iconv/loop.c (single loop): Fix assertion in storing of
31861 remaining bytes.
31862
31863 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31864
31865 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31866
31867 * posix/getconf.c: Update copyright year.
31868 * nss/getent.c: Likewise.
31869 * nss/makedb.c: Likewise.
31870 * iconv/iconvconfig.c: Likewise.
31871 * iconv/iconv_prog.c: Likewise.
31872 * elf/ldconfig.c: Likewise.
31873 * elf/pldd.c: Likewise.
31874 * elf/sotruss.ksh: Likewise.
31875 * catgets/gencat.c: Likewise.
31876 * csu/version.c: Likewise.
31877 * elf/ldd.bash.in: Likewise.
31878 * elf/sprof.c (print_version): Likewise.
31879 * locale/programs/locale.c: Likewise.
31880 * locale/programs/localedef.c: Likewise.
31881 * login/programs/pt_chown.c: Likewise.
31882 * nscd/nscd.c (print_version): Likewise.
31883 * debug/xtrace.sh: Likewise.
31884 * malloc/memusage.sh: Likewise.
31885 * malloc/mtrace.pl: Likewise.
31886 * debug/catchsegv.sh: Likewise.
31887
31888 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31889
31890 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31891 pure attribute.
31892
31893 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31894
31895 [BZ #13533]
31896 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31897 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31898 transformations.
31899 * iconv/gconv_int.h: Likewise.
31900 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31901 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31902 from libc for GLIBC_2.16.
31903 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31904 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31905 * wcsmbs/uchar.h: Really define mbstate_t.
31906 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31907 * wcsmbs/c16rtomb.c: New file.
31908 * wcsmbs/mbrtoc16.c: New file.
31909 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31910 for C/POSIX locale.
31911 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31912 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31913
31914 * wcsmbs/wchar.h: Add missing __restrict.
31915
31916 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31917
31918 [BZ #13532]
31919 * time/Makefile (routines): Add timespec_get.
31920 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31921 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31922 timespec for ISO C11.
31923 * time/timespec_get.c: New file.
31924 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31925 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31926
31927 [BZ #13531]
31928 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31929 * stdlib/stdlib.h: Declare aligned_alloc.
31930 * Versions.def: Add GLIBC_2.16 for libc.
31931 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31932
31933 [BZ 13527]
31934 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31935 ISO C11.
31936
31937 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31938 code.
31939
31940 [BZ #13528]
31941 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31942
31943 [BZ #13529]
31944 * assert/assert.h (static_assert): Define.
31945
31946 * version.h: Update for 2.16 development version.
31947
31948 [BZ #13526]
31949 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31950 _ISOC11_SOURCE.
31951
31952 * version.h (RELEASE): Bump for 2.15 release.
31953 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31954
31955 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31956 Patch by Marek Polacek <mpolacek@redhat.com>.
31957
31958 * bits/byteswap.h: Protect long long constants with __extension__.
31959 * sysdeps/i386/bits/byteswap.h: Likewise.
31960 * sysdeps/ia64/bits/byteswap.h: Likewise.
31961 * sysdeps/s390/bits/byteswap.h: Likewise.
31962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31963
31964 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31965
31966 [BZ #13540]
31967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31968 destination buffer.
31969 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31970
31971 2011-12-23 Marek Polacek <polacek@redhat.com>
31972
31973 * elf/dl-addr.c (determine_info): Add inline keyword.
31974 * elf/tst-auditmod4b.c (check_avx): Likewise.
31975 * elf/tst-auditmod6b.c (check_avx): Likewise.
31976 * elf/tst-auditmod6c.c (check_avx): Likewise.
31977 * elf/tst-auditmod7b.c (check_avx): Likewise.
31978
31979 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31980
31981 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31982 !__SSE_MATH__.
31983
31984 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31985
31986 [BZ #13540]
31987 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31988 processing for last bytes.
31989
31990 2011-08-06 Bruno Haible <bruno@clisp.org>
31991
31992 [BZ #13061]
31993 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31994 U+0385, not to U+1FEE.
31995
31996 [BZ #13062]
31997 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31998 entry for U+00A5 U+0301.
31999
32000 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32001
32002 [BZ #13166]
32003 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32004 buffer for the output is too small.
32005
32006 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32007 optimization.
32008
32009 [BZ #13185]
32010 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32011 SSE flags if possible.
32012
32013 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32014
32015 [BZ #13540]
32016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32017 processing for last bytes.
32018
32019 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32020
32021 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32022 (syscall-list-default-options, syscall-list-default-condition)
32023 (syscall-list-includes): Define.
32024 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32025 list of ABIs and options and #if conditions for each ABI. Do not
32026 handle common syscalls between ABIs specially.
32027 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32028 Remove.
32029 (syscall-list-variants, syscall-list-32bit-options)
32030 (syscall-list-32bit-condition, syscall-list-64bit-options)
32031 (syscall-list-64bit-condition): Define.
32032 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32033 (syscall-list-variants, syscall-list-32bit-options)
32034 (syscall-list-32bit-condition, syscall-list-64bit-options)
32035 (syscall-list-64bit-condition): Define.
32036 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32037 Remove.
32038 (syscall-list-variants, syscall-list-32bit-options)
32039 (syscall-list-32bit-condition, syscall-list-64bit-options)
32040 (syscall-list-64bit-condition): Define.
32041 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32042 Remove.
32043 (syscall-list-variants, syscall-list-32bit-options)
32044 (syscall-list-32bit-condition, syscall-list-64bit-options)
32045 (syscall-list-64bit-condition): Define.
32046
32047 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32048
32049 * locale/iso-639.def: Add brx entry.
32050
32051 [BZ #13328]
32052 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32053 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32054
32055 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32056 __feraiseexcept_renamed.
32057
32058 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32059
32060 [BZ #13538]
32061 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32062 EPOLLET with unsigned values.
32063 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32064 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32065
32066 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32067 to large cancellation.
32068 * math/s_cacoshf.c: Likewise.
32069 * math/s_cacoshl.c: Likewise.
32070
32071 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32072
32073 [BZ #13305]
32074 [BZ #12786]
32075 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32076 * math/s_cacoshf.c: Likewise.
32077 * math/s_cacoshl.c: Likewise.
32078
32079 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32080
32081 [BZ #13439]
32082 * iconv/gconv.h: Define __GCONV_SWAP.
32083 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32084 * iconvdata/utf-16.c: Likewise.
32085 * iconvdata/utf-32.c: Likewise.
32086
32087 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32088
32089 [BZ #13524]
32090 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32091 numerator after shifting it by one limb.
32092
32093 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32094
32095 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32096 under [__USE_EXTERN_INLINES].
32097
32098 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32099
32100 [BZ #13446]
32101 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32102
32103 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32104
32105 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32106 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32107 optimized code.
32108 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32109 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32110 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32111 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32112 for strncasecmp/strncasecmp_l compilation.
32113 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32114 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32115
32116 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32117
32118 [BZ #13484]
32119 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32120 of __asm__.
32121
32122 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32123
32124 [BZ #13506]
32125 * time/tzfile.c (__tzfile_read): Check values from file header.
32126
32127 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32128
32129 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32130 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32131 * powerpc/powerpc32/dl-start.S: Likewise.
32132 * powerpc/powerpc32/elf/start.S: Likewise.
32133 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32134 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32135 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32136 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32137 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32138 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32139 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32140 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32141 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32142 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32143 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32144 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32145 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32146 * powerpc/powerpc32/memset.S: Likewise.
32147 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32148 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32149 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32150 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32151 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32152 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32153 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32154 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32155 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32156 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32157 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32158 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32159 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32160
32161 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32162
32163 * math/libm-test.inc: Added more nearbyint tests.
32164 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32165 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32166 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32168
32169 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32170
32171 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32172 FD_CLOEXEC.
32173
32174 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32175
32176 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32177 Add wcscpy-ssse3 wcscpy-c.
32178 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32179 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32180 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32181 * sysdeps/x86_64/wcschr.S: New file.
32182 * sysdeps/x86_64/wcsrchr.S: New file.
32183 * string/test-strcmp.c: Remove checking of wcscmp function for
32184 wrong alignments.
32185 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32186 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32187 wcsrchr-sse2 wcsrchr-c.
32188 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32189 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32190 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32191 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32192 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32193 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32194 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32195 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32196 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32197 * wcsmbc/wcschr.c (WCSCHR): New macro.
32198
32199 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32200
32201 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32202 * wcsmbs/test-wcsrchr.c: New file.
32203 * string/test-strrchr.c: Add wcsrchr support.
32204 (WIDE): New macro.
32205 * wcsmbs/test-wcscpy.c: New file.
32206 * string/test-strcpy.c: Add wcscpy support.
32207 (WIDE): New macro.
32208
32209 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32210
32211 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32212 the inner loop.
32213
32214 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32215
32216 [BZ #13472]
32217 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32218
32219 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32220
32221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32222 Minor optimizations.
32223
32224 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32225 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32226 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32227
32228 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32229
32230 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32231 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32232 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32233 for gcc to avoid warnings.
32234 * inet/Makefile (tests): Add tst-checks.
32235 * inet/tst-checks.c: New file.
32236
32237 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32238 warning.
32239
32240 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32241 __wmemcmp_sse2.
32242
32243 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32244 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32245
32246 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32247
32248 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32249
32250 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32251 problem.
32252
32253 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32254
32255 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32256
32257 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32258 conditional on GCC version.
32259 (__arch_compare_and_exchange_val_8_acq)
32260 (__arch_compare_and_exchange_val_16_acq)
32261 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32262 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32263 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32264
32265 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32266
32267 * sysdeps/sh/backtrace.c: New file.
32268
32269 2011-12-02 Andreas Schwab <schwab@redhat.com>
32270
32271 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32272 parenthesis.
32273
32274 2011-12-01 Andreas Schwab <schwab@redhat.com>
32275
32276 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32277 falling back to utime.
32278
32279 2011-11-30 Andreas Schwab <schwab@redhat.com>
32280
32281 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32282 expectations for float.
32283
32284 2011-11-29 Andreas Schwab <schwab@redhat.com>
32285
32286 * locale/weight.h (findidx): Add parameter len.
32287 * locale/weightwc.h (findidx): Likewise.
32288 * posix/fnmatch_loop.c (FCT): Adjust caller.
32289 * posix/regcomp.c (build_equiv_class): Likewise.
32290 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32291 * posix/regexec.c (check_node_accept_bytes): Likewise.
32292 * string/strcoll_l.c (STRCOLL): Likewise.
32293 * string/strxfrm_l.c (STRXFRM): Likewise.
32294
32295 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32296
32297 * Makefile.in: Remove CVSOPT handling.
32298 * configure.in: Remove use of AC_REVISION.
32299 * iconvdata/Makefile (distribute): No need to filter out CVS.
32300 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32301 handling.
32302
32303 2011-11-16 Andreas Schwab <schwab@redhat.com>
32304
32305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32306 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32307 [USE_AS_STRNCASECMP_L]: Likewise.
32308 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32309 NO_TLS_DIRECT_SEG_REFS.
32310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32311 Fix argument offsets for non-PIC.
32312 [USE_AS_STRNCASECMP_L]: Likewise.
32313 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32314 NO_TLS_DIRECT_SEG_REFS.
32315
32316 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32317
32318 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32319 O_CLOEXEC.
32320 * locale/loadlocale.c (_nl_load_locale): Likewise.
32321
32322 2011-11-15 Andreas Schwab <schwab@redhat.com>
32323
32324 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32325 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32326 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32327 (SYSCALL_GETTIME): Set errno on error.
32328
32329 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32330 count references to noai6ai_cached.
32331
32332 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32333
32334 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32335
32336 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32337 FD_CLOEXEC for /proc/self/maps.
32338
32339 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32340 FD_CLOEXEC for /proc/meminfo.
32341
32342 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32343 gai.conf.
32344
32345 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32346 FD_CLOEXEC for given file.
32347
32348 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32349
32350 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32351 FD_CLOEXEC for /etc/hosts.
32352 (_gethtent): Likewise.
32353
32354 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32355
32356 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32357 cancellation and set FD_CLOEXEC for /etc/netgroup.
32358
32359 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32360 reading /etc/publickey.
32361
32362 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32363 allow cancellation when reading /etc/group.
32364
32365 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32366 cancellation.
32367 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32368
32369 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32370 when using data file.
32371
32372 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32373
32374 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32375 (write_nis_obj): Use "c" and "e" in fopen.
32376
32377 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32378
32379 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32380
32381 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32382
32383 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32384
32385 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32386 locale.alias.
32387
32388 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32389
32390 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32391
32392 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32393
32394 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32395 file parsing and set FD_CLOEXEC.
32396
32397 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32398
32399 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32400
32401 2011-11-14 Andreas Schwab <schwab@redhat.com>
32402
32403 * malloc/arena.c (arena_get2): Don't call reused_arena when
32404 _int_new_arena failed.
32405
32406 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32407
32408 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32409 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32410 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32411 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32412 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32414 to compile strcasecmp and strncasecmp.
32415 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32416 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32417
32418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32419
32420 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32421
32422 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32423 locale-defines.sym to gen-as-const-headers.
32424 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32425 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32427 to compile strcasecmp and strncasecmp.
32428 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32429 strcasecmp_l and strncasecmp_l.
32430 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32431 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32432 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32433 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32434 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32435 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32436 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32437 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32438 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32439 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32440 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32441
32442 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32443
32444 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32445 result of SYSDEP_GETTIME_CPU to retval.
32446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32447 parameter list to macro. Remove trailing semicolon. Adjust users.
32448
32449 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32450 variable.
32451
32452 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32453 mantissa words.
32454 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32455
32456 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32457 from unused variable.
32458
32459 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32460 DWARF definitions.
32461 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32462 for assembling.
32463
32464 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32465 over namespaces.
32466
32467 * sunrpc/rpc_prot.c (rejected): Fix case value.
32468
32469 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32470 unsigned long long int to avoid warnings in shift.
32471
32472 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32473 of use of trans.
32474 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32475 variable tmp.
32476
32477 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32478 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32479 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32480
32481 * nis/nis_table.c (nis_list): Use variable of correct type for
32482 result of __follow_path call.
32483
32484 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32485
32486 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32487 of math functions ceil, trunc, floor, round, and sqrt, when
32488 avaliable on the platform.
32489 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32490 name clash.
32491 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32492 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32493 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32494
32495 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32496
32497 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32498 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32499
32500 2011-11-11 Roland McGrath <roland@hack.frob.com>
32501
32502 * include/unistd.h: Fix __readlink return type.
32503 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32504
32505 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32506
32507 * stdlib/ucontext.h: Undo last change for makecontext.
32508
32509 2011-11-11 Andreas Schwab <schwab@redhat.com>
32510
32511 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32512
32513 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32514 * setjmp/setjmp.h: Mark functions as non-leaf.
32515 * setjmp/bits/setjmp2.h: Likewise.
32516 * stdlib/ucontext.h: Likewise.
32517
32518 2011-11-10 Andreas Schwab <schwab@redhat.com>
32519
32520 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32521 (reused_arena): Don't check arena limit.
32522 (arena_get2): Atomically check arena limit.
32523
32524 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32525
32526 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32527 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32528
32529 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32530 instructions.
32531
32532 2011-11-07 Andreas Schwab <schwab@redhat.com>
32533
32534 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32535 handler when locking.
32536
32537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32538 Fix size of allocated buffer.
32539
32540 2011-11-04 Andreas Schwab <schwab@redhat.com>
32541
32542 [BZ #10103]
32543 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32544 declarations for long double functions.
32545 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32546
32547 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32548
32549 2011-11-03 Andreas Schwab <schwab@redhat.com>
32550
32551 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32552 installed.
32553
32554 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32555 is disabled.
32556
32557 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32558
32559 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32560
32561 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32562
32563 * include/alloca.h (stackinfo_alloca_round): Define.
32564 (extend_alloca): Use it.
32565 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32566 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32567 here.
32568
32569 * scripts/check-local-headers.sh: Ignore libaudit.h.
32570
32571 * nscd/Makefile (extra-objs): Make recursively expanded.
32572
32573 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32574
32575 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32577
32578 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32579 * posix/tst-rfc3484-2.c: Likewise.
32580 * posix/tst-rfc3484-3.c: Likewise.
32581
32582 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32583 process_vm_writev.
32584 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32585 process_vm_writev.
32586 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32587 process_vm_writev from libc using GLIBC_2.15 version.
32588
32589 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32590
32591 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32592
32593 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32594 stack usage.
32595
32596 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32597
32598 [BZ #13367]
32599 * nss/getent.c (initgroups_keys): Show error message in case no group
32600 names are given.
32601
32602 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32603 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32604 __bump_nl_timestamp.
32605 * nscd/connections (nscd_init): When host database is served open
32606 netlink socket and request notification about configuration changes.
32607 (main_loop_poll): Track netlink file descriptor and bump timestamp
32608 in case data becomes available.
32609 (main_loop_epoll): Likewise.
32610 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32611 (database_pers_head): Add extra_data fileds.
32612 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32613 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32614 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32615 Adjust caller.
32616 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32617 in6ai data, call __free_in6ai.
32618 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32619 Add -DHAVE_NETLINK.
32620 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32621 interface information. Reuse previous data if netlink timestamp
32622 is not changed.
32623 (__bump_nl_timestamp): New function.
32624 (__free_in6ai): New function.
32625
32626 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32627
32628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32629 close_not_cancel_no_status here.
32630 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32631
32632 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32633
32634 [BZ #13276]
32635 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32636 return value.
32637
32638 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32639 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32640 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32641
32642 2011-07-03 Andreas Jaeger <aj@suse.de>
32643
32644 [BZ #10709]
32645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32646 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32647 * math/libm-test.inc (sin_test): Add test case.
32648
32649 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32650
32651 [BZ #13337]
32652 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32653 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32654
32655 * elf/chroot_canon.c (chroot_canon): Cleanups.
32656
32657 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32658
32659 [BZ #13335]
32660 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32661 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32662
32663 * string/test-strchr.c: Make usable for strchrnul testing.
32664 * string/test-strchrnul.c: New file.
32665 * string/Makefile (strop-tests): Add strchrnul.
32666
32667 * po/it.po: Update from translation team.
32668 * po/es.po: Likewise.
32669
32670 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32671
32672 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32673 the three constants needed as parameters. Drop the others.
32674 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32675 __m128i_strloadu_tolower.
32676 Create and initialize variable zero and use it in all the places
32677 where _mm_setzero_si128 was used.
32678
32679 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32680 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32681 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32682 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32683 anymore.
32684 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32685 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32686 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32687 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32688 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32689 __mpranred, __mptan.
32690 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32691 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32692 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32693 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32694 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32695 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32696 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32697 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32698 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32699
32700 2011-10-28 Andreas Schwab <schwab@redhat.com>
32701
32702 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32703 redefine if SHARED.
32704 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32705
32706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32707 wide char related routines to wcsmbs subdir.
32708
32709 2011-10-27 Andreas Schwab <schwab@redhat.com>
32710
32711 [BZ #13344]
32712 * misc/sys/cdefs.h (__THROWNL): Define.
32713 * posix/unistd.h: Use __THREADNL instead of __THREAD
32714 for memory synchronization functions.
32715
32716 2011-10-26 Roland McGrath <roland@hack.frob.com>
32717
32718 [BZ #13349]
32719 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32720 doesn't exist.
32721 * manual/stdio.texi (Obstack Streams): Node removed.
32722
32723 2011-10-26 Andreas Schwab <schwab@redhat.com>
32724
32725 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32726 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32727 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32728
32729 * math/math_private.h (math_force_eval): Allow non-addressable
32730 arguments.
32731 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32732
32733 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32734
32735 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32736 file is not needed.
32737
32738 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32739 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32741 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32742 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32744 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32745 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32746 Add AVX variants.
32747 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32748 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32749 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32750 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32751 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32752 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32753 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32754 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32755 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32756 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32757 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32758 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32760 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32761 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32762 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32763 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32764 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32765 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32766
32767 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32768 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32769
32770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32771 place. Use VEX encoding when compiling for AVX.
32772
32773 2011-10-25 Andreas Schwab <schwab@redhat.com>
32774
32775 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32776 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32777
32778 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32779
32780 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32781
32782 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32783 useless if() expression.
32784 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32785 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32786 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32787 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32792 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32793 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32794 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32795 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32796 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32797 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32798 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32799 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32801 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32802 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32803
32804 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32805
32806 2011-10-25 Andreas Schwab <schwab@redhat.com>
32807
32808 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32809 condition.
32810 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32811
32812 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32813
32814 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32815 .text section. Avoid duplicate constants.
32816 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32817 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32825 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32826 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32827 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32828 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32829 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32830 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32831 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32832 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32833 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32834 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32836 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32837 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32838 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32845 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32847 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32849 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32850 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32852 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32854 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32855 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32856 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32857 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32858 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32860 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32861
32862 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32863
32864 * sysdeps/x86_64/dla.h: Move to ...
32865 * sysdeps/x86_64/fpu/dla.h: ...here.
32866 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32867 situations. Use __builtin_fma only for gcc 4.6 and up.
32868
32869 * config.make.in: Add have-mfma4 entry.
32870 * configure.in: Substitute libc_cv_cc_fma4.
32871 * math/Makefile (dbl-only-routines): Add sincostab.
32872 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32873 Use __sincostab not sincos.
32874 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32875 name is a macro.
32876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32880 using __copysign.
32881 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32882 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32883 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32884 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32885 and __inv.
32886 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32887 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32888 __copysign.
32889 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32890 define aliases when function name is a macro.
32891 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32892 sysdeps/ieee754/dbl-64/sincos.tbl.
32893 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32894 fma4-enabled routines.
32895 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32896 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32897 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32898 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32899 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32900 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32901 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32902 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32903 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32904 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32905 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32906 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32907 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32908 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32909 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32910 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32911 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32912 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32913 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32914 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32915 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32916 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32917 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32918 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32919 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32920 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32921 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32922 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32923 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32924 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32925
32926 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32927 rename.
32928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32936
32937 2011-10-24 Andreas Schwab <schwab@redhat.com>
32938
32939 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32940
32941 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32942
32943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32944
32945 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32946 prediction.
32947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32948
32949 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32950 Remove unused variable magic_bits.
32951 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32952
32953 * string/strnlen.c: Define and use STRNLEN macro.
32954 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32955 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32956 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32957 * wcsmbs/wcslen.c: Define and use WCSLEN.
32958 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32959 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32960 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32961 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32962 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32963 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32964 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32965
32966 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32967
32968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32969 strnlen-sse2-no-bsf.
32970 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32972 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32973 Add strnlen support.
32974 (USE_AS_STRNLEN): New macro.
32975 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32976 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32977 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32978 * sysdeps/x86_64/wcslen.S: New file.
32979
32980 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32981
32982 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32983 XMM-moves are used for copying on small sizes.
32984
32985 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32986
32987 * wcsmbs/Makefile (strop-tests): Add wcschr.
32988 * wcsmbs/test-wcschr.c: New file.
32989 * string/test-strchr.c: Update.
32990 Add wcschr support.
32991 (WIDE): New macro.
32992
32993 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32994
32995 * wcsmbs/Makefile (strop-tests): Add wcslen.
32996 * wcsmbs/test-wcslen.c: New file.
32997 * string/test-strlen.c: Update.
32998 Add wcslen support.
32999 (WIDE): New macro.
33000
33001 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33002
33003 * po/it.po: Update from translation team.
33004
33005 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33006
33007 * sysdeps/x86_64/wcscmp.S: Update.
33008 Fix wrong comparison semantics.
33009 wcscmp shall use signed comparison not unsigned.
33010 Don't use substraction to avoid overflow bug.
33011 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33012 * wcsmbc/wcscmp.c: Likewise.
33013 * string/test-strcmp.c: Likewise.
33014 Add new tests to check cases with negative values.
33015
33016 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33017
33018 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33019 * sysdeps/x86_64/dla.h: ...here. New file.
33020 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33029
33030 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33031
33032 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33033 __ynl_finite aliases.
33034
33035 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33036
33037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33038
33039 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33040 define DLA_FMA.
33041 [DLA_FMA] (EMULV): Use DLA_FMA.
33042 [DLA_FMA] (MUL12): Use EMULV.
33043 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33044 that are not needed.
33045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33052
33053 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33054
33055 * math/s_nan.c: Undef __nan.
33056 * math/s_nanf.c: Undef __nanf.
33057 * math/s_nanl.c: Undef __nanl.
33058 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33059 "math_private.h".
33060
33061 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33062
33063 * math/s_catan.c: Add branch predictions.
33064 * math/s_catanf.c: Likewise.
33065 * math/s_catanh.c: Likewise.
33066 * math/s_catanhf.c: Likewise.
33067 * math/s_catanhl.c: Likewise.
33068 * math/s_catanl.c: Likewise.
33069 * math/s_cexp.c: Likewise.
33070 * math/s_cexpf.c: Likewise.
33071 * math/s_cexpl.c: Likewise.
33072 * math/s_clog.c: Likewise.
33073 * math/s_clog10.c: Likewise.
33074 * math/s_clog10f.c: Likewise.
33075 * math/s_clog10l.c: Likewise.
33076 * math/s_clogf.c: Likewise.
33077 * math/s_clogl.c: Likewise.
33078 * math/s_csqrt.c: Likewise.
33079 * math/s_csqrtf.c: Likewise.
33080 * math/s_csqrtl.c: Likewise.
33081 * math/s_ctanf.c: Likewise.
33082 * math/s_ctanh.c: Likewise.
33083 * math/s_ctanhf.c: Likewise.
33084 * math/s_ctanhl.c: Likewise.
33085 * math/s_ctanl.c: Likewise.
33086
33087 * math/math_private.h: Define __nan, __nanf, __nanl.
33088 * math/s_cacosh.c: Include <math_private.h>.
33089 * math/s_cacoshl.c: Likewise.
33090 * math/s_casinh.c: Likewise.
33091 * math/s_casinhf.c: Likewise.
33092 * math/s_casinhl.c: Likewise.
33093 * math/s_ccos.c: Rely entire on ccosh.
33094 * math/s_ccosf.c: Rely entire on ccoshf.
33095 * math/s_ccosl.c: Rely entirely on ccoshl.
33096 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33097 Remove tests for FE_INVALID.
33098 * math/s_ccoshf.c: Likewise.
33099 * math/s_ccoshl.c: Likewise.
33100 * math/s_csin.c: Likewise.
33101 * math/s_csinf.c: Likewise.
33102 * math/s_csinh.c Likewise.
33103 * math/s_csinhf.c: Likewise.
33104 * math/s_csinhl.c: Likewise.
33105 * math/s_csinl.c: Likewise.
33106 * math/s_ctan.c: Likewise.
33107 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33108 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33109 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33110
33111 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33112
33113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33114 compilation problems.
33115
33116 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33117 __builtin_expect.
33118
33119 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33120
33121 * sysdeps/i386/configure.in: Test for -mfma4 option.
33122 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33123 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33124 COMMON_CPUID_INDEX_80000001.
33125 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33126 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33127 use it if FMA3 is not supported.
33128 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33129
33130 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33131 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33132
33133 2011-10-20 Andreas Schwab <schwab@redhat.com>
33134
33135 [BZ #12892]
33136 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33137 it would create a cycle with a link time dependency.
33138
33139 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33140
33141 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33142 instruction.
33143 * string/Makefile (strop-tests): Add rawmemchr.
33144 * string/test-rawmemchr.c: New file.
33145
33146 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33148 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33149 when compiling str{,n}casecmp and when AVX is available. Hook up
33150 new optimized code in initializers.
33151
33152 2011-10-19 Andreas Schwab <schwab@redhat.com>
33153
33154 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33155 __feraiseexcept instead of feraiseexcept.
33156
33157 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33158
33159 * math/math_private.h: Define defaults for libc_fetestexcept and
33160 libc_feupdateenv.
33161 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33162 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33163 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33164 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33165 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33166 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33167 libc_fetestexcept and libc_feupdateenv.
33168
33169 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33170 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33171 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33172 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33173 libc_feholdexcept_setround.
33174
33175 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33176 Add s_nearbyint-c and s_nearbyintf-c.
33177 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33178 nearbyintf inlines.
33179 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33181 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33182 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33183
33184 * math/math_private.h: Define defaults for libc_fegetround,
33185 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33186 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33187 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33188 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33189 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33190 standard functions.
33191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33192 Remove comments and hacks for old compiler versions.
33193 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33194 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33195 libc_feholdexceptl.
33196
33197 2011-10-18 Andreas Schwab <schwab@redhat.com>
33198
33199 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33200 (__feraiseexcept_renamed): Add __NTH.
33201 (feraiseexcept): Add __NTH. Rename local variables to fix
33202 namespace violations.
33203
33204 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33205
33206 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33207
33208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33209
33210 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33211 recently added interfaces.
33212 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33213
33214 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33215 about macro parameter expansion.
33216
33217 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33218 __NO_MATH_INLINES is defined. Cleanups.
33219
33220 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33221 and __floorf is target has SSE4.1.
33222 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33223 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33225 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33226
33227 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33228 name.
33229 (floorf): Likewise.
33230
33231 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33232
33233 2011-10-17 Andreas Schwab <schwab@redhat.com>
33234
33235 * misc/sys/cdefs.h: Fix last change.
33236
33237 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33238 database lookup.
33239
33240 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33241
33242 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33243
33244 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33245 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33246 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33247 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33249 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33250 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33251 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33252 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33253 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33254 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33255 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33256 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33257 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33258 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33259 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33260 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33261 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33262 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33263 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33264 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33265 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33266
33267 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33268 ceil, ceilf, floor, floorf.
33269
33270 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33271 Perform IRELATIVE relocations last.
33272
33273 * elf/do-rel.h: Add another parameter nrelative, replacing the
33274 local variable with the same name. Change name of the function
33275 to end in Rel or Rela (uppercase).
33276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33277 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33278 elf_dynamic_do_##reloc function.
33279
33280 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33281
33282 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33283 is sufficient, at least on modern CPUs.
33284
33285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33286
33287 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33288 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33289
33290 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33291 __expl_finite.
33292 * math/bits/math-finite.h: Add entries for exp.
33293 * math/e_expl.c: Add __*_finite alias.
33294 * sysdeps/i386/fpu/e_exp.S: Likewise.
33295 * sysdeps/i386/fpu/e_expf.S: Likewise.
33296 * sysdeps/i386/fpu/e_expl.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33298 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33299 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33302 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33303 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33304
33305 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33306 is sufficient, at least on modern CPUs.
33307
33308 * ctype/ctype-info.c (__ctype_init): Define.
33309 * include/ctype.h (__ctype_init): Declare.
33310 (__ctype_b_loc): The variable is always initialized.
33311 (__ctype_toupper_loc): Likewise.
33312 (__ctype_tolower_loc): Likewise.
33313 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33314 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33315
33316 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33317
33318 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33319
33320 * configure.in: Also look in $cxxmachine/include for C++ system
33321 headers.
33322
33323 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33324
33325 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33326 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33327 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33328 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33329 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33330 (USE_AS_WMEMCMP): New macro.
33331 Fixing indents.
33332 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33333 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33334 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33335 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33337 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33338 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33339 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33340 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33341 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33342 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33343 (USE_AS_WMEMCMP): New macro.
33344 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33345 * sysdeps/string/test-memcmp.c: Update.
33346 Fix simple_wmemcmp.
33347 Add new tests.
33348 * wcsmbs/wmemcmp.c: Update.
33349 (WMEMCMP): New macro.
33350 Fix overflow bug.
33351
33352 2011-10-12 Andreas Jaeger <aj@suse.de>
33353
33354 [BZ #13268]
33355 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33356
33357 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33358
33359 * libio/iofwide.c (do_length): Avoid warning.
33360
33361 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33362
33363 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33364
33365 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33366
33367 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33368 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33369 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33370 * sysdeps/i386/i686/fpu/e_log.S: New file.
33371 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33372 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33373
33374 * ctype/ctype.h: Add support for inlined isXXX functions when
33375 compiling C++ code.
33376
33377 2011-10-14 Andreas Schwab <schwab@redhat.com>
33378
33379 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33380
33381 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33382
33383 2011-10-13 Roland McGrath <roland@hack.frob.com>
33384
33385 [BZ #13291]
33386 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33387
33388 2011-10-13 Andreas Schwab <schwab@redhat.com>
33389
33390 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33391 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33392 feraiseexcept.
33393
33394 * sysdeps/x86_64/memrchr.S: Check for zero size.
33395
33396 * string/stratcliff.c: Add memrchr tests.
33397
33398 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33399
33400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33401 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33402 rawmemchr-sse2 rawmemchr-sse2-bsf.
33403 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33404 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33405 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33406 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33407 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33408 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33409 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33410 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33411 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33412 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33413 * string/memrchr.c (MEMRCHR): New macro.
33414
33415 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33416
33417 Add integration with gcc's -ffinite-math-only and optimize wrapper
33418 functions in libm.
33419 * Versions.def: Define GLIBC_2.15 version for libm.
33420 * math/Makefile (headers): Add bits/math-finite.h.
33421 * math/bits/math-finite.h: New file.
33422 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33423 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33424 * math/e_acoshl.c: Add __*_finite alias.
33425 * math/e_acosl.c: Likewise.
33426 * math/e_asinl.c: Likewise.
33427 * math/e_atan2l.c: Likewise.
33428 * math/e_atanhl.c: Likewise.
33429 * math/e_coshl.c: Likewise.
33430 * math/e_exp10.c: Likewise.
33431 * math/e_exp10f.c: Likewise.
33432 * math/e_exp10l.c: Likewise.
33433 * math/e_exp2l.c: Likewise.
33434 * math/e_fmodl.c: Likewise.
33435 * math/e_gammal_r.c: Likewise.
33436 * math/e_hypotl.c: Likewise.
33437 * math/e_j0l.c: Likewise.
33438 * math/e_j1l.c: Likewise.
33439 * math/e_jnl.c: Likewise.
33440 * math/e_lgammal_r.c: Likewise.
33441 * math/e_log10l.c: Likewise.
33442 * math/e_log2l.c: Likewise.
33443 * math/e_logl.c: Likewise.
33444 * math/e_powl.c: Likewise.
33445 * math/e_sinhl.c: Likewise.
33446 * math/e_sqrtl.c: Likewise.
33447 * math/e_scalb.c: Completely rewritten and optimized.
33448 * math/e_scalbf.c: Likewise.
33449 * math/e_scalbl.c: Likewise.
33450 * math/w_acos.c: Likewise.
33451 * math/w_acosf.c: Likewise.
33452 * math/w_acosl.c: Likewise.
33453 * math/w_acosh.c: Likewise.
33454 * math/w_acoshf.c: Likewise.
33455 * math/w_acoshl.c: Likewise.
33456 * math/w_asin.c: Likewise.
33457 * math/w_asinf.c: Likewise.
33458 * math/w_asinl.c: Likewise.
33459 * math/w_atan2.c: Likewise.
33460 * math/w_atan2f.c: Likewise.
33461 * math/w_atan2l.c: Likewise.
33462 * math/w_atanh.c: Likewise.
33463 * math/w_atanhf.c: Likewise.
33464 * math/w_atanhl.c: Likewise.
33465 * math/w_exp10.c: Likewise.
33466 * math/w_exp10f.c: Likewise.
33467 * math/w_exp10l.c: Likewise.
33468 * math/w_fmod.c: Likewise.
33469 * math/w_fmodf.c: Likewise.
33470 * math/w_fmodl.c: Likewise.
33471 * math/w_j0.c: Likewise.
33472 * math/w_j0f.c: Likewise.
33473 * math/w_j0l.c: Likewise.
33474 * math/w_j1.c: Likewise.
33475 * math/w_j1f.c: Likewise.
33476 * math/w_j1l.c: Likewise.
33477 * math/w_jn.c: Likewise.
33478 * math/w_jnf.c: Likewise.
33479 * math/w_log.c: Likewise.
33480 * math/w_logf.c: Likewise.
33481 * math/w_logl.c: Likewise.
33482 * math/w_log10.c: Likewise.
33483 * math/w_log10f.c: Likewise.
33484 * math/w_log10l.c: Likewise.
33485 * math/w_log2.c: Likewise.
33486 * math/w_log2f.c: Likewise.
33487 * math/w_log2l.c: Likewise.
33488 * math/w_pow.c: Likewise.
33489 * math/w_powf.c: Likewise.
33490 * math/w_powl.c: Likewise.
33491 * math/w_remainder.c: Likewise.
33492 * math/w_remainderf.c: Likewise.
33493 * math/w_remainderl.c: Likewise.
33494 * math/w_scalb.c: Likewise.
33495 * math/w_scalbf.c: Likewise.
33496 * math/w_scalbl.c: Likewise.
33497 * math/w_sqrt.c: Likewise.
33498 * math/w_sqrtf.c: Likewise.
33499 * math/w_sqrtl.c: Likewise.
33500 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33501 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33502 used.
33503 * math/math_private.h: Declare __kernel_standard_f.
33504 * math/w_cosh.c: Remove cruft and optimize a bit.
33505 * math/w_coshf.c: Likewise.
33506 * math/w_coshl.c: Likewise.
33507 * math/w_exp2.c: Likewise.
33508 * math/w_exp2f.c: Likewise.
33509 * math/w_exp2l.c: Likewise.
33510 * math/w_hypot.c: Likewise.
33511 * math/w_hypotf.c: Likewise.
33512 * math/w_hypotl.c: Likewise.
33513 * math/w_lgamma.c: Likewise.
33514 * math/w_lgamma_r.c: Likewise.
33515 * math/w_lgammaf.c: Likewise.
33516 * math/w_lgammaf_r.c: Likewise.
33517 * math/w_lgammal.c: Likewise.
33518 * math/w_lgammal_r.c: Likewise.
33519 * math/w_sinh.c: Likewise.
33520 * math/w_sinhf.c: Likewise.
33521 * math/w_sinhl.c: Likewise.
33522 * math/w_tgamma.c: Likewise.
33523 * math/w_tgammaf.c: Likewise.
33524 * math/w_tgammal.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33526 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33527 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33528 Minor optimizations. Pretty printing. Remove cruft.
33529 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33530 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33531 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33532 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33533 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33534 * sysdeps/i386/fpu/e_asin.S: Likewise.
33535 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33536 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33537 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33538 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33539 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33540 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33541 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33542 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33543 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33544 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33545 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33546 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33547 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33548 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33549 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33550 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33551 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33552 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33553 * sysdeps/i386/fpu/e_log.S: Likewise.
33554 * sysdeps/i386/fpu/e_log10.S: Likewise.
33555 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33556 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33557 * sysdeps/i386/fpu/e_log2.S: Likewise.
33558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33559 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33560 * sysdeps/i386/fpu/e_logf.S: Likewise.
33561 * sysdeps/i386/fpu/e_logl.S: Likewise.
33562 * sysdeps/i386/fpu/e_pow.S: Likewise.
33563 * sysdeps/i386/fpu/e_powf.S: Likewise.
33564 * sysdeps/i386/fpu/e_powl.S: Likewise.
33565 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33566 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33567 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33568 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33569 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33570 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33571 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33572 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33573 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33599 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33601 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33603 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33604 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33605 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33606 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33608 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33609 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33610 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33654 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33657 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33659 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33660 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33662 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33665 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33666 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33667 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33668 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33669 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33670 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33671 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33672 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33673 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33674 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33675 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33676 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33677 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33678 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33680 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33681 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33682 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33683 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33684 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33685 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33686 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33687 (__isnanf): Likewise.
33688 (__isinf_ns): Likewise.
33689 (__isinf_nsf): Likewise.
33690 (__finite): Likewise.
33691 (__finitef): Likewise.
33692 (__ieee754_sqrt): Define as macro.
33693 (__ieee754_sqrtf): Define as macro.
33694 (__ieee754_sqrtl): Define as macro.
33695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33696 inlined copy.
33697 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33698 __FINITE_MATH_ONLY__ consistent.
33699 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33700
33701 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33702
33703 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33704 of rawmemchr.
33705
33706 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33707
33708 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33709
33710 * po/ja.po: Update from translation team.
33711
33712 2011-10-08 Roland McGrath <roland@hack.frob.com>
33713
33714 * locale/programs/locarchive.c (prepare_address_space): New function.
33715 (create_archive, enlarge_archive, open_archive): Use it.
33716
33717 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33718 inside [SHARED], where it is used.
33719
33720 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33721
33722 * nss/getent.c (netgroup_keys): Remove unused variable.
33723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33724
33725 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33726
33727 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33728 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33729 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33730 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33731 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33732 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33733 * math/Makefile (libm-calls): Add s_isinf_ns.
33734 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33735 * math/multc3.c: Likewise.
33736 * math/s_casin.c: Likewise.
33737 * math/s_casinf.c: Likewise.
33738 * math/s_casinl.c: Likewise.
33739 * math/s_ccos.c: Likewise.
33740 * math/s_ccosf.c: Likewise.
33741 * math/s_ccosl.c: Likewise.
33742 * math/s_ctan.c: Likewise.
33743 * math/s_ctanf.c: Likewise.
33744 * math/s_ctanh.c: Likewise.
33745 * math/s_ctanhf.c: Likewise.
33746 * math/s_ctanhl.c: Likewise.
33747 * math/s_ctanl.c: Likewise.
33748 * math/w_fmod.c: Likewise.
33749 * math/w_fmodf.c: Likewise.
33750 * math/w_fmodl.c: Likewise.
33751 * math/w_remainder.c: Likewise.
33752 * math/w_remainderf.c: Likewise.
33753 * math/w_remainderl.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33755 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33756 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33758 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33759 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33760 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33761 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33762
33763 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33764 of the number.
33765 * stdio-common/printf_fphex.c: Likewise.
33766 * stdio-common/printf_size.c: Likewise.
33767
33768 * math/e_exp10.c: Include math_private.h using <...> not "...".
33769 * math/e_exp10f.c: Likewise.
33770 * math/e_exp10l.c: Likewise.
33771 * math/e_exp2l.c: Likewise.
33772 * math/e_j0l.c: Likewise.
33773 * math/e_j1l.c: Likewise.
33774 * math/e_jnl.c: Likewise.
33775 * math/e_lgammal_r.c: Likewise.
33776 * math/e_rem_pio2l.c: Likewise.
33777 * math/e_scalb.c: Likewise.
33778 * math/e_scalbf.c: Likewise.
33779 * math/e_scalbl.c: Likewise.
33780 * math/k_cosl.c: Likewise.
33781 * math/k_sinl.c: Likewise.
33782 * math/k_tanl.c: Likewise.
33783 * math/s_cacoshf.c: Likewise.
33784 * math/s_catan.c: Likewise.
33785 * math/s_catanf.c: Likewise.
33786 * math/s_catanh.c: Likewise.
33787 * math/s_catanhf.c: Likewise.
33788 * math/s_catanhl.c: Likewise.
33789 * math/s_catanl.c: Likewise.
33790 * math/s_ccosh.c: Likewise.
33791 * math/s_ccoshf.c: Likewise.
33792 * math/s_ccoshl.c: Likewise.
33793 * math/s_cexp.c: Likewise.
33794 * math/s_cexpf.c: Likewise.
33795 * math/s_cexpl.c: Likewise.
33796 * math/s_clog.c: Likewise.
33797 * math/s_clog10.c: Likewise.
33798 * math/s_clog10f.c: Likewise.
33799 * math/s_clog10l.c: Likewise.
33800 * math/s_clogf.c: Likewise.
33801 * math/s_clogl.c: Likewise.
33802 * math/s_csin.c: Likewise.
33803 * math/s_csinf.c: Likewise.
33804 * math/s_csinh.c: Likewise.
33805 * math/s_csinhf.c: Likewise.
33806 * math/s_csinhl.c: Likewise.
33807 * math/s_csinl.c: Likewise.
33808 * math/s_csqrt.c: Likewise.
33809 * math/s_csqrtf.c: Likewise.
33810 * math/s_csqrtl.c: Likewise.
33811 * math/s_ctan.c: Likewise.
33812 * math/s_ctanf.c: Likewise.
33813 * math/s_ctanh.c: Likewise.
33814 * math/s_ctanhf.c: Likewise.
33815 * math/s_ctanhl.c: Likewise.
33816 * math/s_ctanl.c: Likewise.
33817 * math/s_ldexp.c: Likewise.
33818 * math/s_ldexpf.c: Likewise.
33819 * math/s_ldexpl.c: Likewise.
33820 * math/s_significand.c: Likewise.
33821 * math/s_significandf.c: Likewise.
33822 * math/s_significandl.c: Likewise.
33823 * math/w_acos.c: Likewise.
33824 * math/w_acosf.c: Likewise.
33825 * math/w_acosh.c: Likewise.
33826 * math/w_acoshf.c: Likewise.
33827 * math/w_acoshl.c: Likewise.
33828 * math/w_acosl.c: Likewise.
33829 * math/w_asin.c: Likewise.
33830 * math/w_asinf.c: Likewise.
33831 * math/w_asinl.c: Likewise.
33832 * math/w_atan2.c: Likewise.
33833 * math/w_atan2f.c: Likewise.
33834 * math/w_atan2l.c: Likewise.
33835 * math/w_atanh.c: Likewise.
33836 * math/w_atanhf.c: Likewise.
33837 * math/w_atanhl.c: Likewise.
33838 * math/w_cosh.c: Likewise.
33839 * math/w_coshf.c: Likewise.
33840 * math/w_coshl.c: Likewise.
33841 * math/w_dremf.c: Likewise.
33842 * math/w_exp10.c: Likewise.
33843 * math/w_exp10f.c: Likewise.
33844 * math/w_exp10l.c: Likewise.
33845 * math/w_exp2.c: Likewise.
33846 * math/w_exp2f.c: Likewise.
33847 * math/w_fmod.c: Likewise.
33848 * math/w_fmodf.c: Likewise.
33849 * math/w_fmodl.c: Likewise.
33850 * math/w_hypot.c: Likewise.
33851 * math/w_hypotf.c: Likewise.
33852 * math/w_hypotl.c: Likewise.
33853 * math/w_j0.c: Likewise.
33854 * math/w_j0f.c: Likewise.
33855 * math/w_j0l.c: Likewise.
33856 * math/w_j1.c: Likewise.
33857 * math/w_j1f.c: Likewise.
33858 * math/w_j1l.c: Likewise.
33859 * math/w_jn.c: Likewise.
33860 * math/w_jnf.c: Likewise.
33861 * math/w_jnl.c: Likewise.
33862 * math/w_lgamma.c: Likewise.
33863 * math/w_lgamma_r.c: Likewise.
33864 * math/w_lgammaf.c: Likewise.
33865 * math/w_lgammaf_r.c: Likewise.
33866 * math/w_lgammal.c: Likewise.
33867 * math/w_lgammal_r.c: Likewise.
33868 * math/w_log.c: Likewise.
33869 * math/w_log10.c: Likewise.
33870 * math/w_log10f.c: Likewise.
33871 * math/w_log10l.c: Likewise.
33872 * math/w_log2.c: Likewise.
33873 * math/w_log2f.c: Likewise.
33874 * math/w_log2l.c: Likewise.
33875 * math/w_logf.c: Likewise.
33876 * math/w_logl.c: Likewise.
33877 * math/w_pow.c: Likewise.
33878 * math/w_powf.c: Likewise.
33879 * math/w_powl.c: Likewise.
33880 * math/w_remainder.c: Likewise.
33881 * math/w_remainderf.c: Likewise.
33882 * math/w_remainderl.c: Likewise.
33883 * math/w_scalb.c: Likewise.
33884 * math/w_scalbf.c: Likewise.
33885 * math/w_scalbl.c: Likewise.
33886 * math/w_sinh.c: Likewise.
33887 * math/w_sinhf.c: Likewise.
33888 * math/w_sinhl.c: Likewise.
33889 * math/w_sqrt.c: Likewise.
33890 * math/w_sqrtf.c: Likewise.
33891 * math/w_sqrtl.c: Likewise.
33892 * math/w_tgamma.c: Likewise.
33893 * math/w_tgammaf.c: Likewise.
33894 * math/w_tgammal.c: Likewise.
33895
33896 * po/ja.po: Update from translation team.
33897
33898 2011-09-29 Andreas Jaeger <aj@suse.de>
33899
33900 [BZ #13179]
33901 * sunrpc/netname.c (netname2host): Fix logic.
33902
33903 [BZ #6779]
33904 [BZ #6783]
33905 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33906 correctly.
33907 * math/w_remainder.c (__remainder): Likewise.
33908 * math/w_remainderf.c (__remainderf): Likewise.
33909 * math/libm-test.inc (remainder_test): Add test cases.
33910
33911 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33912
33913 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33914 sdiv_qrnnd.
33915
33916 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33917
33918 * string/test-memcmp.c: Avoid unncessary #defines.
33919 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33920
33921 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33922
33923 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33924 Use new sse2 version for core i3 - i7 as it's faster
33925 than sse42 version.
33926 (bit_Prefer_PMINUB_for_stringop): New.
33927 * sysdeps/x86_64/rawmemchr.S: Update.
33928 Replace with faster SSE2 version.
33929 * sysdeps/x86_64/memrchr.S: New file.
33930 * sysdeps/x86_64/memchr.S: Update.
33931 Replace with faster SSE2 version.
33932
33933 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33934
33935 * elf/dl-load.c (lose): Add cast to avoid warning.
33936
33937 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33938
33939 * po/ca.po: Update from translation team.
33940
33941 * inet/getnetgrent_r.c: Hook up nscd.
33942 * nscd/Makefile (routines): Add nscd_netgroup.
33943 (nscd-modules): Add netgroupcache.
33944 (CFLAGS-netgroupcache.c): Define.
33945 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33946 (cache_search): Add const to second parameter.
33947 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33948 INNETGR.
33949 (dbs): Add netgrdb entry.
33950 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33951 (verify_persistent_db): Handle netgrdb.
33952 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33953 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33954 GETFDNETGR.
33955 (netgroup_response_header): Define.
33956 (innetgroup_response_header): Define.
33957 (datahead): Add netgroup_response_header and innetgroup_response_header
33958 elements.
33959 * nscd/nscd.conf: Add entries for netgroup cache.
33960 * nscd/nscd.h (dbtype): Add netgrdb.
33961 (_PATH_NSCD_NETGROUP_DB): Define.
33962 (netgroup_iov_disabled): Declare.
33963 (xmalloc, xcalloc, xrealloc): Move declarations here.
33964 (cache_search): Adjust prototype.
33965 Add netgroup-related prototypes.
33966 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33967 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33968 (__nscd_innetgr): Declare.
33969 * nscd/selinux.c (perms): Use access_vector_t as element type and
33970 add netgroup-related initializers.
33971 * nscd/netgroupcache.c: New file.
33972 * nscd/nscd_netgroup.c: New file.
33973 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33974 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33975 For four parameters use innetgr.
33976 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33977 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33978 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33979 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33980
33981 * nscd/connections.c (register_traced_file): Don't register file
33982 for disabled databases.
33983
33984 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33985
33986 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33987
33988 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33989 from tree and freeing node.
33990
33991 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33992
33993 * nss/nsswitch.c (__nss_database_lookup): Handle
33994 nss_parse_service_list out of memory case.
33995
33996 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33997
33998 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33999 out of memory case.
34000
34001 2011-10-04 Andreas Schwab <schwab@redhat.com>
34002
34003 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34004 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34005 pass it down.
34006 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34007 elf_machine_rela, elf_machine_lazy_rel.
34008 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34009 (ELF_DYNAMIC_DO_REL): Likewise.
34010 (ELF_DYNAMIC_DO_RELA): Likewise.
34011 (ELF_DYNAMIC_RELOCATE): Likewise.
34012 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34013 to ELF_DYNAMIC_DO_REL.
34014 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34015 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34016 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34017 elf_machine_rela.
34018 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34019 skip_ifunc, don't call ifunc function if non-zero.
34020 (elf_machine_rela): Likewise.
34021 (elf_machine_lazy_rel): Likewise.
34022 (elf_machine_lazy_rela): Likewise.
34023 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34024 (elf_machine_lazy_rel): Likewise.
34025 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34026 Likewise.
34027 (elf_machine_lazy_rel): Likewise.
34028 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34029 Likewise.
34030 (elf_machine_lazy_rel): Likewise.
34031 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34032 (elf_machine_lazy_rel): Likewise.
34033 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34034 (elf_machine_lazy_rel): Likewise.
34035 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34036 (elf_machine_lazy_rel): Likewise.
34037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34038 (elf_machine_lazy_rel): Likewise.
34039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34040 (elf_machine_lazy_rel): Likewise.
34041 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34042 (elf_machine_lazy_rel): Likewise.
34043
34044 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34045
34046 * nss/nss_files/files-init.c (_nss_files_init): Use static
34047 initialization for all the *_traced_file variables.
34048
34049 2011-09-28 Andreas Schwab <schwab@redhat.com>
34050
34051 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34052
34053 2011-09-27 Roland McGrath <roland@hack.frob.com>
34054
34055 [BZ #13226]
34056 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34057
34058 2011-09-27 Andreas Schwab <schwab@redhat.com>
34059
34060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34061 Reread the line before reparsing it.
34062
34063 2011-09-26 Andreas Schwab <schwab@redhat.com>
34064
34065 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34066
34067 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34068 Maxim Kuvyrkov <maxim@codesourcery.com>
34069 Joseph Myers <joseph@codesourcery.com>
34070
34071 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34072 if needed for __stack_chk_guard.
34073
34074 2011-09-19 Roland McGrath <roland@hack.frob.com>
34075
34076 * sysdeps/posix/spawni.c (script_execute): Always define it.
34077 It will be optimized away if unused.
34078 (maybe_script_execute): New function.
34079 (__spawni): Call it.
34080
34081 * Makerules: Don't include tls.make.
34082 (config-tls): Always set to thread.
34083 * tls.make.c: File removed.
34084
34085 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34086
34087 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34088 * config.make.in (CPPFLAGS-config): New substituted variable.
34089
34090 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34091
34092 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34093
34094 [BZ #13192]
34095 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34096 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34097
34098 2011-09-15 Roland McGrath <roland@hack.frob.com>
34099
34100 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34101 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34103 (CALL_FAIL): Likewise.
34104 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34105 (CALL_FAIL): Macro removed.
34106 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34107
34108 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34109
34110 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34111 for __FINITE_MATH_ONLY__ == 1.
34112
34113 2011-09-15 Andreas Schwab <schwab@redhat.com>
34114
34115 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34116 __ieee754_sqrt instead of sqrt.
34117 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34118 __ieee754_sqrtf instead of sqrtf.
34119 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34120 __floorf instead of floorf.
34121 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34122 __floorf, __truncf instead of floorf, truncf.
34123
34124 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34125
34126 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34127
34128 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34129 __extern_always_inline.
34130 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34131 32-bit.
34132
34133 2011-09-14 Andreas Schwab <schwab@redhat.com>
34134
34135 * elf/rtld.c (dl_main): Also relocate in dependency order when
34136 doing symbol dependency testing.
34137
34138 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34139
34140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34141 Always define `refsym'.
34142
34143 2011-09-13 Andreas Schwab <schwab@redhat.com>
34144
34145 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34146 (__FD_ELT): Renamed from __FDELT.
34147 * misc/bits/select2.h (__FD_ELT): Likewise.
34148 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34149 __FD_MASK instead of __FDELT, __FDMASK.
34150 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34151 Likewise.
34152 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34153 Likewise.
34154
34155 * elf/Makefile (gen-ldd): Fix pattern.
34156
34157 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34158 (init_tls): Likewise.
34159
34160 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34161
34162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34163
34164 2011-09-12 Andreas Schwab <schwab@redhat.com>
34165
34166 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34167 `struct cmsghdr *' instead of `void *'.
34168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34169 Likewise.
34170
34171 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34172
34173 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34174 if non-absolute.
34175 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34176 ldd_rewrite_script.
34177
34178 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34179
34180 * configure.in: Remove --with-tls option.
34181 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34182 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34183 out in case it is missing.
34184 * sysdeps/ia64/elf/configure.in: Likewise.
34185 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34186 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34187 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34188 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34189 * sysdeps/sh/elf/configure.in: Likewise.
34190 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34191 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34192 * sysdeps/x86_64/elf/configure.in: Likewise.
34193 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34194 * sysdeps/mach/hurd/tls.h: Likewise.
34195
34196 [BZ #13067]
34197 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34198
34199 [BZ #13090]
34200 * configure.in: Fix use of AC_INIT.
34201
34202 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34203
34204 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34205
34206 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34207 __set_errno.
34208 * malloc/hooks.c: Likewise.
34209
34210 [BZ #11929]
34211 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34212 variables statically.
34213 (narenas): Initialize.
34214 (list_lock): Initialize.
34215 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34216 initializtion of main_arena and list_lock. Small cleanups.
34217 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34218 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34219 Add initializers to main_arena and mp_.
34220 (malloc_state): Remove pagesize member. Change all users to use
34221 GLRO(dl_pagesize).
34222
34223 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34224 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34225 is always initialized.
34226
34227 * malloc/malloc.c: Removed unused configurations and dead code.
34228 * malloc/arena.c: Likewise.
34229 * malloc/hooks.c: Likewise.
34230 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34231
34232 * include/tls.h: Removed. USE___THREAD must always be defined.
34233 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34234 * elf/dl-libc.c: Likewise.
34235 * elf/dl-tsd.c: Likewise.
34236 * include/errno.h: Likewise.
34237 * include/netdb.h: Likewise.
34238 * include/resolv.h: Likewise.
34239 * inet/herrno-loc.c: Likewise.
34240 * inet/herrno.c: Likewise.
34241 * malloc/arena.c: Likewise.
34242 * malloc/hooks.c: Likewise.
34243 * malloc/malloc.c: Likewise.
34244 * resolv/res-state.c: Likewise.
34245 * resolv/res_libc.c: Likewise.
34246 * sysdeps/i386/dl-machine.h: Likewise.
34247 * sysdeps/ia64/dl-machine.h: Likewise.
34248 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34249 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34250 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34251 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34252 * sysdeps/sh/dl-machine.h: Likewise.
34253 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34254 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34255 * sysdeps/unix/i386/sysdep.S: Likewise.
34256 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34257 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34262 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34266 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34267 * sysdeps/x86_64/dl-machine.h: Likewise.
34268 * tls.make.c: Likewise.
34269
34270 * configure.in: Remove --with-__thread option. Make tests for
34271 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34272 tls_model attribute fail if no support is available. Remove
34273 USE_IN_LIBIO.
34274 * Makeconfig: Adjust for dropped configure option. All features are
34275 now mandatory.
34276 * Makerules: Likewise.
34277 * Versions.def: Likewise.
34278 * argp/argp-fmtstream.c: Likewise.
34279 * argp/argp-fmtstream.h: Likewise.
34280 * argp/argp-help.c: Likewise.
34281 * assert/assert.c: Likewise.
34282 * config.h.in: Likewise.
34283 * config.make.in: Likewise.
34284 * configure: Likewise.
34285 * configure.in: Likewise.
34286 * csu/Versions: Likewise.
34287 * csu/init.c: Likewise.
34288 * elf/tst-audit2.c: Likewise.
34289 * elf/tst-tls10.c: Likewise.
34290 * elf/tst-tls10.h: Likewise.
34291 * elf/tst-tls11.c: Likewise.
34292 * elf/tst-tls12.c: Likewise.
34293 * elf/tst-tls14.c: Likewise.
34294 * elf/tst-tlsmod11.c: Likewise.
34295 * elf/tst-tlsmod12.c: Likewise.
34296 * elf/tst-tlsmod13.c: Likewise.
34297 * elf/tst-tlsmod13a.c: Likewise.
34298 * elf/tst-tlsmod14a.c: Likewise.
34299 * elf/tst-tlsmod15b.c: Likewise.
34300 * elf/tst-tlsmod16a.c: Likewise.
34301 * elf/tst-tlsmod16b.c: Likewise.
34302 * elf/tst-tlsmod7.c: Likewise.
34303 * elf/tst-tlsmod8.c: Likewise.
34304 * elf/tst-tlsmod9.c: Likewise.
34305 * gmon/gmon.c: Likewise.
34306 * grp/fgetgrent_r.c: Likewise.
34307 * grp/putgrent.c: Likewise.
34308 * hurd/fopenport.c: Likewise.
34309 * include/libc-symbols.h: Likewise.
34310 * include/tls.h: Likewise.
34311 * intl/gettextP.h: Likewise.
34312 * intl/loadinfo.h: Likewise.
34313 * locale/global-locale.c: Likewise.
34314 * locale/localeinfo.h: Likewise.
34315 * mach/devstream.c: Likewise.
34316 * malloc/arena.c: Likewise.
34317 * malloc/set-freeres.c: Likewise.
34318 * misc/err.c: Likewise.
34319 * misc/getttyent.c: Likewise.
34320 * misc/mntent_r.c: Likewise.
34321 * posix/getopt.c: Likewise.
34322 * posix/wordexp.c: Likewise.
34323 * pwd/fgetpwent_r.c: Likewise.
34324 * resolv/Versions: Likewise.
34325 * resolv/res_hconf.c: Likewise.
34326 * shadow/fgetspent_r.c: Likewise.
34327 * shadow/putspent.c: Likewise.
34328 * stdio-common/printf_fphex.c: Likewise.
34329 * stdio-common/tmpfile.c: Likewise.
34330 * stdlib/abort.c: Likewise.
34331 * stdlib/fmtmsg.c: Likewise.
34332 * sunrpc/auth_unix.c: Likewise.
34333 * sunrpc/clnt_perr.c: Likewise.
34334 * sunrpc/clnt_tcp.c: Likewise.
34335 * sunrpc/clnt_udp.c: Likewise.
34336 * sunrpc/clnt_unix.c: Likewise.
34337 * sunrpc/openchild.c: Likewise.
34338 * sunrpc/svc_simple.c: Likewise.
34339 * sunrpc/svc_tcp.c: Likewise.
34340 * sunrpc/svc_udp.c: Likewise.
34341 * sunrpc/svc_unix.c: Likewise.
34342 * sunrpc/xdr.c: Likewise.
34343 * sunrpc/xdr_array.c: Likewise.
34344 * sunrpc/xdr_rec.c: Likewise.
34345 * sunrpc/xdr_ref.c: Likewise.
34346 * sunrpc/xdr_stdio.c: Likewise.
34347
34348 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34349
34350 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34351
34352 2011-07-03 Andreas Jaeger <aj@suse.de>
34353
34354 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34355 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34356 regenerate with gen-libm-tests.pl.
34357
34358 2010-05-12 Petr Baudis <pasky@suse.cz>
34359
34360 [BZ #11589]
34361 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34362 around j0() zero points by switching to j1().
34363 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34364 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34367
34368 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34369
34370 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34371 instead of 0.
34372 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34373 instead of 0.
34374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34375 Patch in part by Pavel Roskin <proski@gnu.org>.
34376
34377 [BZ #13138]
34378 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34379 realloc.
34380 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34381 Free memory block if necessary.
34382
34383 [BZ #12847]
34384 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34385 be NULL. Don't lock in this case.
34386
34387 2011-09-09 Roland McGrath <roland@hack.frob.com>
34388
34389 * elf/elf.h (ELFOSABI_GNU): New macro.
34390 (ELFOSABI_LINUX): Define to that.
34391
34392 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34393
34394 * string/strncat.c (strncat): Undef the symbol in case it has been
34395 defined in bits/string.h.
34396
34397 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34398
34399 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34400
34401 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34402 link map.
34403
34404 2011-08-17 Andreas Jaeger <aj@suse.de>
34405
34406 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34407
34408 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34409 Ian Lance Taylor <iant@google.com>
34410
34411 * math/libm-test.inc (lround_test): New testcase.
34412 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34413
34414 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34415
34416 * Makefile: Remove support for automatic cvs check-ins.
34417 * Makerules: Likewise.
34418 * config.make.in: Likewise.
34419 * configure.in: Likewise.
34420 * intl/Makefile: Likewise.
34421 * locale/Makefile: Likewise.
34422 * po/Makefile: Likewise.
34423 * posix/Makefile: Likewise.
34424 * sysdeps/gnu/Makefile: Likewise.
34425 * sysdeps/mach/hurd/Makefile: Likewise.
34426 * sysdeps/sparc/sparc32/Makefile: Likewise.
34427
34428 [BZ #13118]
34429 * posix/Makefile (bug-regex32-ENV): Define.
34430 Patch by John Stanley <jpsinthemix@verizon.net>.
34431
34432 * misc/Makefile (headers): Add bits/select2.h.
34433 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34434 * misc/bits/select2.h: New file.
34435 * include/bits/select2.h: New file.
34436 * debug/Makefile (routines): Add fdelt_chk.
34437 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34438 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34439 FD_ISSET.
34440 * debug/fdelt_chk.c: New file.
34441
34442 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34443 * wcsmbs/test-wmemcmp.c: Likewise.
34444 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34445 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34446
34447 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34448
34449 * string/Makefile (strop-tests): Add memcmp.
34450 * string/test-wmemcmp.c: New file.
34451 * string/test-memcmp.c: Add wmemcmp support.
34452
34453 2011-09-08 Roland McGrath <roland@hack.frob.com>
34454
34455 [BZ #13153]
34456 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34457 2011-07-19 change.
34458
34459 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34460 garbage value in a __mach_port_mod_refs call in the cases of the
34461 task-self and thread-self ports.
34462
34463 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34464
34465 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34466
34467 2011-09-08 Andreas Schwab <schwab@redhat.com>
34468
34469 * elf/dl-load.c (lose): Check for non-null L.
34470
34471 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34472
34473 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34474
34475 * elf/dl-libc.c (dlerror_run): Pass back error code from
34476 dl_catch_error.
34477
34478 [BZ #13123]
34479 * elf/dl-load.c (lose): Free l_origin if it is valid.
34480
34481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34482 names.
34483 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34484 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34485 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34486 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34487 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34488 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34489
34490 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34491
34492 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34493 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34494 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34495 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34496 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34497 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34498 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34499 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34500 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34501 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34502
34503 2011-08-15 Alan Modra <amodra@gmail.com>
34504
34505 [BZ #13092]
34506 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34507 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34508 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34509 ppc_mcount to static-only-routines.
34510 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34511 __mcount_internal.
34512 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34513 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34514
34515 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34516
34517 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34518 for finite and infinity parameters.
34519
34520 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34521
34522 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34523 and add nop instructions for throughput optimization.
34524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34525
34526 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34527
34528 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34529 aligned copy for power7 with vector-scalar instructions.
34530 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34531
34532 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34533
34534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34535 AVX check.
34536
34537 2011-09-07 Andreas Schwab <schwab@redhat.com>
34538
34539 [BZ #13144]
34540 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34541 last change.
34542
34543 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34544
34545 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34546 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34547 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34548 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34549 clock_gettime.
34550
34551 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34552
34553 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34554 Forgot to demangle the pointer.
34555
34556 * sysdeps/i386/sysdep.h: Define atom_text_section.
34557 * sysdeps/x86_64/sysdep.h: Likewise.
34558 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34559 section with atom_text_section.
34560 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34561 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34562 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34564 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34565
34566 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34567 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34568 already be defined. Change to take two parameters and don't assign
34569 result to variable. Adjust all users.
34570 Define INTERNAL_GETTIME if not already defined.
34571 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34572 call.
34573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34574 HAVE_CLOCK_GETTIME_VSYSCALL.
34575 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34576
34577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34578 gettimeofday vsyscall, just use time.
34579
34580 2011-09-06 Andreas Schwab <schwab@redhat.com>
34581
34582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34583 <errno.h>.
34584
34585 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34586
34587 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34588 syscall on x86-64.
34589 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34590 syscall.
34591 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34593 syscall if possible.
34594
34595 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34596
34597 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34598 e_ident. Don't pass to find_mapsXX.
34599 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34600
34601 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34602
34603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34604 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34605 * sysdeps/x86_64/multiarch/strchr.S: Update.
34606 Check bit_slow_BSF bit.
34607 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34608 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34609 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34610
34611 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34612
34613 [BZ #13134]
34614 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34615 before glibc 2.15.
34616 (tryshell): Define.
34617 (__spawni): Change last parameter to be flag. Test
34618 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34619 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34620 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34621 * posix/spawni.c: Likewise.
34622 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34623 * posix/spawnp.c: Likewise. Change normal version to use
34624 SPAWN_XFLAGS_USE_PATH.
34625 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34626 SPAWN_XFLAGS_TRY_SHELL.
34627
34628 [BZ #13150]
34629 * posix/glob.h: Remove gcc 1.x support.
34630
34631 [BZ #13068]
34632 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34633
34634 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34635
34636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34637 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34638 strrchr-sse2-bsf
34639 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34640 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34641 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34642 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34643 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34644 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34645
34646 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34647
34648 * sysdeps/x86_64/wcscmp.S: New file.
34649
34650 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34651 wcscmp-c wcscmp-sse2
34652 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34653 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34654 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34655 * wcsmbs/wcscmp.c: Allow renaming.
34656
34657 2011-09-05 David S. Miller <davem@davemloft.net>
34658
34659 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34660 stack slot, rather than the struct return pointer slot.
34661 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34662 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34664 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34665
34666 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34667
34668 * po/ja.po: Update from translation team.
34669
34670 [BZ #13144]
34671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34672 kernel in 64-bit binaries.
34673
34674 2011-09-01 David S. Miller <davem@davemloft.net>
34675
34676 * elf/elf.h (HWCAP_SPARC_*): Move to..
34677 * sysdeps/sparc/sysdep.h: this new file and add new values.
34678 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34679 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34680 _DL_HWCAP_COUNT to 24.
34681 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34682 entries.
34683 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34684 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34685 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34687 instead of magic constants.
34688 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34689
34690 2011-08-31 David S. Miller <davem@davemloft.net>
34691
34692 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34694 Reimplement to do errno handling inline.
34695 (SYSCALL_ERROR_HANDLER): New macro.
34696 (__SYSCALL_STRING): Do not do errno handling in asm.
34697 (__CLONE_SYSCALL_STRING): Delete.
34698 (__INTERNAL_SYSCALL_STRING): Delete.
34699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34700 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34701 (PSEUDO): Reimplement to do errno handling inline.
34702 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34703 (SYSCALL_ERROR_HANDLER): New macro.
34704 (__SYSCALL_STRING): Do not do errno handling in asm.
34705 (__CLONE_SYSCALL_STRING): Delete.
34706 (__INTERNAL_SYSCALL_STRING): Delete.
34707 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34708 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34709 i386.
34710 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34711 (inline_syscall*): Add 'err' argument.
34712 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34713 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34714 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34715 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34716
34717 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34718 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34719
34720 2011-08-30 Andreas Schwab <schwab@redhat.com>
34721
34722 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34723
34724 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34725
34726 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34727 directive.
34728
34729 2011-08-24 David S. Miller <davem@davemloft.net>
34730
34731 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34732
34733 2011-08-24 Andreas Schwab <schwab@redhat.com>
34734
34735 * elf/Makefile: Add rules to build and run unload8 test.
34736 * elf/unload8.c: New file.
34737 * elf/unload8mod1.c: New file.
34738 * elf/unload8mod1x.c: New file.
34739 * elf/unload8mod2.c: New file.
34740 * elf/unload8mod3.c: New file.
34741
34742 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34743 it wasn't used.
34744
34745 2011-08-23 David S. Miller <davem@davemloft.net>
34746
34747 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34748 subtract stack bias.
34749 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34750 %sp not %fp in calculations.
34751 (_JMPBUF_UNWINDS_ADJ): Likewise.
34752
34753 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34754 (aio_suspend): Call it to force an exception region around the
34755 AIO_MISC_WAIT() invocation.
34756
34757 2011-08-23 Andreas Schwab <schwab@redhat.com>
34758
34759 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34760 backslash.
34761
34762 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34763
34764 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34765 protection macro.
34766 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34767 and <dl-machine.h>.
34768 (Elf64_FuncDesc): Remove.
34769
34770 2011-08-22 David S. Miller <davem@davemloft.net>
34771
34772 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34773 sigaltstack check, add missing cfi directives.
34774 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34775 missing cfi directives, and sigaltstack handling.
34776
34777 2011-08-16 Andreas Schwab <schwab@redhat.com>
34778
34779 [BZ #11724]
34780 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34781 object is seen twice.
34782 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34783
34784 * elf/Makefile (distribute): Add tst-initorder2.c.
34785 (tests): Add tst-initorder2.
34786 (modules-names): Add tst-initorder2a tst-initorder2b
34787 tst-initorder2c tst-initorder2d. Add rules to build them.
34788 ($(objpfx)tst-initorder2.out): New rule.
34789 * elf/tst-initorder2.c: New file.
34790 * elf/tst-initorder2.exp: New file.
34791
34792 2011-08-22 Andreas Schwab <schwab@redhat.com>
34793
34794 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34795
34796 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34797 dependencies back to end of function.
34798
34799 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34800 $(elfobjdir)/ld.so.
34801
34802 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34803
34804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34805 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34807 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34808 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34809 of __vdso_gettimeofday.
34810 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34811 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34812 attribute_hidden.
34813 (_libc_vdso_platform_setup): Remove initialization of
34814 __vdso_gettimeofday and __vdso_time.
34815
34816 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34817
34818 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34819 and fgetc_unlocked.
34820 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34821 getc_unlocked.
34822
34823 * elf/dl-open.c (add_to_global): Report additions to the global scope
34824 for LD_DEBUG=scopes.
34825 (dl_open_worker): Also print scope of newly loaded dependencies.
34826 (_dl_show_scope): Indicate if there is no scope.
34827
34828 [BZ #13114]
34829 * stdio-common/Makefile (tests): Add bug24.
34830 * stdio-common/bug24.c: New file.
34831
34832 2011-08-19 Andreas Jaeger <aj@suse.de>
34833
34834 [BZ #13114]
34835 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34836 non-existant file when using close-on-exec mode.
34837
34838 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34839
34840 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34841 the very first instruction.
34842
34843 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34844 the CFI state in the end.
34845 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34846 inclusion of dl-trampoline.h.
34847 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34848
34849 2011-08-19 Andreas Schwab <schwab@redhat.com>
34850
34851 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34852 expectations for long double.
34853
34854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34855 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34856
34857 2011-08-14 David S. Miller <davem@davemloft.net>
34858
34859 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34860 artificual limit depends upon the system page size.
34861
34862 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34863
34864 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34865 * resolv/Makefile: Define CFLAGS-libresolv.
34866
34867 2011-08-17 Andreas Schwab <schwab@redhat.com>
34868
34869 * nss/makedb.c (compute_tables): Make variables used in nested
34870 function static.
34871
34872 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34873
34874 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34875 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34876 if buffer was too small.
34877
34878 * elf/pldd.c (main): Attach to all threads in the process.
34879 Rewrite /proc handling to use *at functions.
34880
34881 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34882
34883 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34884 specifies first scope to show.
34885 (dl_open_worker): Update callers. Move printing scope of new
34886 object to before the relocation.
34887 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34888 * sysdeps/generic/ldsodefs.h: Update declaration.
34889
34890 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34891 string for the scope number.
34892
34893 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34894
34895 * nscd/servicescache.c (cache_addserv): Make sure written is always
34896 initialized.
34897
34898 2011-08-14 Roland McGrath <roland@hack.frob.com>
34899
34900 * sysdeps/i386/i486/bits/atomic.h
34901 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34902 statement expression, so as to suppress "set but not used" warning.
34903 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34904
34905 * string/strncat.c (STRNCAT): Use prototype definition.
34906
34907 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34908 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34909 -Iprograms here.
34910 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34911 (localedef-modules): Add localedef.
34912 (locale-modules): Add locale.
34913
34914 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34915 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34916 to avoid a warning.
34917
34918 2011-08-14 David S. Miller <davem@davemloft.net>
34919
34920 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34921 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34922
34923 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34924
34925 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34926 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34927 * elf/rtld.c (dl_main): Set l_name of vDSO.
34928 Call _dl_show_scope when DL_DEBUG_SCOPES.
34929 (process_dl_debug): Recognize scopes flag and also set it for all.
34930 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34931 Declare _dl_show_scope.
34932
34933 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34934 (do_dlopen): Pass caller_dlopen to dl_open.
34935 (__libc_dlopen_mode): Initialize caller_dlopen.
34936
34937 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34938 of libc. Make tolower call locale-independent. Optimize a bit by
34939 using isdigit instead of isalnum.
34940 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34941
34942 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34943
34944 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34945 was a dependency or dynamically loaded.
34946
34947 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34948
34949 * intl/l10nflist.c: Allow architecture-specific pop function.
34950 * sysdeps/x86_64/l10nflist.c: New file.
34951
34952 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34953 classification.
34954
34955 2011-08-10 Andreas Schwab <schwab@redhat.com>
34956
34957 * include/dirent.h: Add libc_hidden_proto for scandirat and
34958 scandirat64. Don't declare __scandirat64.
34959 * dirent/scandirat.c: Add libc_hidden_def.
34960 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34961 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34962
34963 2011-08-10 David S. Miller <davem@davemloft.net>
34964
34965 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34966 enum.
34967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34970
34971 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34972
34973 * Versions.def [libc]: Add GLIBC_2.15.
34974 * dirent/Makefile (routines): Add scandirat and scandirat64.
34975 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34976 GLIBC_2.15.
34977 * dirent/dirent.h: Declare scandirat and scandirat64.
34978 * dirent/scandirat.c: New file.
34979 * dirent/scandirat64.c: New file.
34980 * sysdeps/wordsize-64/scandirat.c: New file.
34981 * sysdeps/wordsize-64/scandirat64.c: New file.
34982 * dirent/opendir.c: Define opendirat.
34983 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34984 using scandirat.
34985 * dirent/scandir64.c: Adjust for scandir.c change.
34986 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34987 __scandirat64, and __scandir_cancel_handler.
34988 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34989 additional parameter and use openat instead of open (outside of ld.so).
34990 Add new __opendir as wrapper around __opendirat.
34991 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34992 here without requiring old scandirat implementation.
34993
34994 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34995
34996 * dirent/scandir.c (cancel_handler): Renamed to
34997 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34998 defined. Adjust users.
34999 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35000 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35001
35002 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35003
35004 * string/test-string.h (IMPL): Use __STRING to expand name and then
35005 stringify it.
35006
35007 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35008 of cleanups.
35009
35010 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35011
35012 * string/Makefile: Update.
35013 (strop-tests): Append strncat.
35014 * string/test-wcscmp.c: New file.
35015 New comprehensive test for wcscmp.
35016 * string/test-strcmp.c: Update.
35017 (WIDE): New define.
35018
35019 2011-07-22 Andreas Schwab <schwab@redhat.com>
35020
35021 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35022 line.
35023
35024 2011-07-26 Andreas Schwab <schwab@redhat.com>
35025
35026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35027 encoding to ACE if AI_IDN.
35028
35029 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35030
35031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35032 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35033
35034 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35035
35036 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35037 Fix overflow bug in strncat.
35038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35039
35040 * string/test-strncat.c: Update.
35041 Add new tests for checking overflow bugs.
35042
35043 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35044
35045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35046 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35047 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35048 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35049 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35050 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35051 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35052 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35053 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35054
35055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35056 (USE_AS_STRCAT): Define.
35057 Add strcat and strncat support.
35058 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35059
35060 2011-07-25 Andreas Schwab <schwab@redhat.com>
35061
35062 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35063 __n bigger than INT_MAX+1.
35064 (__strncmp_g): Likewise.
35065
35066 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35067
35068 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35069 * libio/stido.h: Likewise.
35070
35071 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35072 (AF_NFC): Define.
35073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35074 (AF_NFC): Define.
35075
35076 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35077 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35078 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35081
35082 [BZ #13021]
35083 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35084 installed.
35085
35086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35087 typo.
35088 (_dl_x86_64_save_sse): Likewise.
35089
35090 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35091
35092 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35093 OSXSAVE.
35094 (_dl_x86_64_save_sse): Likewise.
35095
35096 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35097
35098 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35099
35100 2011-07-21 Andreas Schwab <schwab@redhat.com>
35101
35102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35103 change.
35104 (_dl_x86_64_save_sse): Use correct AVX check.
35105
35106 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35107
35108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35109 bug in strncpy/strncat.
35110 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35111
35112 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35113
35114 * string/tester.c (test_strcat): Add tests for different alignments
35115 of source and destination.
35116 (test_strncat): Likewise.
35117
35118 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35119
35120 [BZ #12852]
35121 * posix/glob.c (glob): Check passed in values before using them in
35122 expressions to avoid some overflows.
35123 (glob_in_dir): Likewise.
35124
35125 [BZ #13007]
35126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35127 check for AVX enablement so that we don't crash with old kernels and
35128 new hardware.
35129 * elf/tst-audit4.c: Add same checks here.
35130 * elf/tst-audit6.c: Likewise.
35131
35132 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35133
35134 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35135
35136 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35137
35138 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35139
35140 * po/cs.po: Update from translation team.
35141 * po/bg.po: Likewise.
35142
35143 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35144
35145 * misc/sys/cdefs.h: Add support for const attribute.
35146 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35147 to gnu_dev_{major,minor,makedev} functions.
35148
35149 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35150
35151 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35152
35153 2011-07-20 Andreas Schwab <schwab@redhat.com>
35154
35155 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35156 strlen results.
35157
35158 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35159
35160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35161 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35162 register in order to avoid conflicts with the soft frame pointer
35163 being held in r11 when necessary.
35164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35165 (INTERNAL_VSYSCALL_NCS): Likewise.
35166
35167 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35168
35169 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35170 * elf/dl-fini.c (_dl_fini): Adjust caller.
35171 * elf/dl-close.c (_dl_close_worker): Likewise.
35172 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35173
35174 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35175
35176 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35177 "aux_cache->nlibs < 0".
35178
35179 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35180 in the reload-count case.
35181
35182 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35183
35184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35185 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35186 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35187 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35188 * sysdeps/x86_64/multiarch/strcat.S: New file.
35189 * sysdeps/x86_64/multiarch/strncat.S: New file.
35190 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35191 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35192 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35193 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35195 (USE_AS_STRCAT): Define.
35196 Add strcat and strncat support.
35197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35198 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35199 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35200 * string/strncat.c: Update.
35201 (USE_AS_STRNCAT): Define.
35202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35203 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35204 and i7.
35205 * sysdeps/x86_64/multiarch/init-arch.h
35206 (bit_Prefer_PMINUB_for_stringop): New.
35207 (index_Prefer_PMINUB_for_stringop): Likewise.
35208 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35209 bit_Prefer_PMINUB_for_stringop.
35210
35211 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35212
35213 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35214 buffer64.
35215 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35216 of casting of buffer.
35217 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35218 buffer32 and buffer64.
35219 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35220 writes instead of casting of buffer.
35221 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35222 buffer32.
35223 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35224 casting of buffer.
35225
35226 2011-07-19 Andreas Schwab <schwab@redhat.com>
35227
35228 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35229
35230 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35231
35232 * nscd/nscd.c (termination_handler): Don't do anything for a database
35233 if it has not yet been initialized.
35234
35235 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35236
35237 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35238
35239 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35240
35241 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35242
35243 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35244
35245 * po/nl.po: Update from translation team.
35246 * po/sv.po: Likewise.
35247
35248 2011-07-16 Roland McGrath <roland@hack.frob.com>
35249
35250 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35251 now disallowed by GCC.
35252
35253 * configure.in (use-default-link): Default to yes if a test -shared
35254 link meets our qualifications.
35255 * configure: Regenerated.
35256
35257 * config.make.in (output-format): New variable.
35258 * configure.in: Check for ld --print-output-format support.
35259 * configure: Regenerated.
35260 * Makerules ($(common-objpfx)format.lds)
35261 [$(output-format) != unknown]: Just use $(output-format),
35262 instead of the linker-script munging.
35263
35264 2011-07-14 Roland McGrath <roland@hack.frob.com>
35265
35266 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35267 of $(common-objpfx)shlib.lds.
35268 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35269
35270 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35271 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35272
35273 * configure.in (-z relro check): Adjust test code to add a large
35274 writable data section after it.
35275 * configure: Regenerated.
35276
35277 2011-07-11 Roland McGrath <roland@hack.frob.com>
35278
35279 * configure.in (-z relro check): Fix test code to make the variable
35280 truly const.
35281 * configure: Regenerated.
35282
35283 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35284
35285 * nscd/nscd.h (struct traced_file): Define.
35286 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35287 elements. Add traced_files.
35288 (inotify_fd): Declare.
35289 (register_traced_file): Declare.
35290 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35291 (inotify_fd): Export.
35292 (resolv_conf_descr): Remove.
35293 (nscd_init): Move inotify descriptor creation to main.
35294 Don't register files for notification here.
35295 (register_traced_file): New function.
35296 (invalidate_cache): Don't use reset_res to determine whether to call
35297 res_init, go through the list of registered files.
35298 (main_loop_poll): The inotify descriptors are now stored in the
35299 structures for the traced files.
35300 (main_loop_epoll): Likewise
35301 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35302 to __nss_disable_nscd.
35303 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35304 for a database anymore. Check the records for all the registered
35305 files instead.
35306 * nss/Makefile (libnss_files-routines): Add files-init.
35307 (libnss_db-routines): Add db-init.
35308 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35309 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35310 * nss/nss_db/db-init.c: New file.
35311 * nss/nss_files/files-init.c: New file.
35312 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35313 __nss_lookup_function.
35314 (__nss_lookup_function): Call nss_load_library.
35315 (nss_load_all_libraries): New function.
35316 (__nss_disable_nscd): Take parameter with callback function for files
35317 to register. Set is_nscd. Load all the DSOs for the NSS modules
35318 used for the cached services.
35319 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35320 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35321 options for features to all the files in nscd.
35322
35323 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35324
35325 2011-07-10 Roland McGrath <roland@hack.frob.com>
35326
35327 * csu/elf-init.c (__libc_csu_init): Comment typo.
35328
35329 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35330
35331 * po/pl.po: Update from translation team.
35332 * po/ja.po: Likewise.
35333 * po/ru.po: Likewise.
35334 * po/ko.po: Likewise.
35335 * po/fr.po: Likewise.
35336
35337 2011-07-09 Roland McGrath <roland@hack.frob.com>
35338
35339 * configure.in (.ctors/.dtors header and trailer check):
35340 Use an empirical test on a built program.
35341 * configure: Regenerated.
35342
35343 * configure.in (-z relro check): Use an empirical test on a built DSO.
35344 Detect, but do not require, on ia64.
35345 * configure: Regenerated.
35346
35347 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35348 Update tests that use readelf to use $READELF instead.
35349 * configure: Regenerated.
35350
35351 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35352
35353 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35354 if the result is not used.
35355
35356 2011-07-05 Andreas Jaeger <aj@suse.de>
35357
35358 [BZ#9696]
35359 * stdlib/tst-strtod.c: Add testcase.
35360
35361 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35362
35363 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35364 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35365 The latter has a higher limit. Take additional parameter to pass to
35366 the new function.
35367 (__pathconf): Pass file to __statfs_link_max.
35368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35369 __statfs_link_max.
35370 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35371 __statfs_link_max.
35372
35373 [BZ #12868]
35374 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35375 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35376 Handle Lustre.
35377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35378 (__statfs_filesize_max): Likewise.
35379 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35380
35381 2011-07-05 Andreas Jaeger <aj@suse.de>
35382
35383 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35384
35385 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35386
35387 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35388 `status' variable.
35389 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35390 Likewise.
35391
35392 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35393
35394 * Makefile (strop-tests): Add strncat.
35395 * string/test-strncat.c: New file.
35396
35397 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35398
35399 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35400
35401 2011-06-21 Andreas Jaeger <aj@suse.de>
35402
35403 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35404 Copy rule from iconvdata/Makefile.
35405
35406 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35407
35408 [BZ #12922]
35409 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35410 but no long options are defined, just return 'W'.
35411
35412 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35413
35414 [BZ #9696]
35415 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35416
35417 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35418
35419 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35420 netgroups to read.
35421 (innetgr): Likewise.
35422
35423 2011-07-05 Roland McGrath <roland@hack.frob.com>
35424
35425 * config.make.in (install_root): Default to $(DESTDIR).
35426
35427 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35428
35429 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35430
35431 2011-07-02 Roland McGrath <roland@hack.frob.com>
35432
35433 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35434
35435 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35436 containing directory rather than embedding absolute directory names.
35437
35438 * scripts/check-local-headers.sh: Rewritten using awk.
35439 Match by word, not by line. Print error messages for matches.
35440 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35441
35442 * Makerules [shlib-lds-flags empty]:
35443 ($(common-objpfx)libc_pic.opts): New target.
35444 ($(common-objpfx)libc_pic.os.clean): New target.
35445 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35446
35447 * config.make.in (OBJCOPY): New variable.
35448 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35449 * configure: Regenerated.
35450
35451 * config.make.in (use-default-link): New variable.
35452 * configure.in (use_default_link): Grok --with-default-link to set it.
35453 * configure: Regenerated.
35454 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35455 (shlib-lds, shlib-lds-flags): Define to empty.
35456
35457 * Makerules (shlib-lds): New variable.
35458 (shlib-lds-flags): New variable.
35459 (build-shlib, build-moduile, build-module-asneeded): Use it.
35460 ($(common-objpfx)libc.so): Use $(shlib-lds).
35461 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35462 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35463
35464 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35465 DT_FLAGS/DT_FLAGS_1 with zero flags.
35466
35467 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35468 linker script munging.
35469
35470 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35471
35472 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35473 as 128-bit value.
35474 * crypt/sha512.c (sha512_process_block): Perform total addition using
35475 128-bit if possible.
35476 (__sha512_finish_ctx): Likewise.
35477 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35478 as 64-bit value.
35479 * crypt/sha256.c (SWAP64): Define.
35480 (sha256_process_block): Perform total addition using 64-bit if
35481 possible.
35482 (__sha256_finish_ctx): Likewise.
35483
35484 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35485
35486 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35488 * nscd/hstcache.c (cache_addhst): Likewise.
35489 * nscd/grpcache.c (cache_addgr): Likewise.
35490 * nscd/aicache.c (addhstaiX): Likewise
35491 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35492
35493 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35494
35495 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35497 * nscd/hstcache.c (cache_addhst): Likewise.
35498 * nscd/grpcache.c (cache_addgr): Likewise.
35499 * nscd/aicache.c (addhstaiX): Likewise
35500
35501 2011-07-01 Andreas Schwab <schwab@redhat.com>
35502
35503 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35504 domain only when needed.
35505
35506 2011-06-30 Andreas Schwab <schwab@redhat.com>
35507
35508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35509 is always restored.
35510
35511 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35512
35513 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35514 are re-adding the entry.
35515 * nscd/servicescache.c (cache_addserv): Likewise.
35516
35517 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35518
35519 * sysdeps/generic/dl-irel.h: fix protection against multiple
35520 inclusions.
35521 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35522
35523 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35524
35525 [BZ #12935]
35526 * malloc/memusage.sh: Fix quoting in message.
35527 * debug/xtrace.sh: Likewise.
35528
35529 * configure.in: Remove support for --experimental-malloc option, make
35530 it the default.
35531 * config.make.in: Likewise.
35532 * malloc/Makefile: Likewise.
35533
35534 2011-06-27 Andreas Schwab <schwab@redhat.com>
35535
35536 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35537 two-byte characters.
35538
35539 2011-06-27 Roland McGrath <roland@hack.frob.com>
35540
35541 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35542 AC_CACHE_CHECK invocation.
35543 * configure: Regenerated.
35544
35545 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35546
35547 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35548
35549 [BZ #12350]
35550 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35551 bit from old_res_options.
35552
35553 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35554
35555 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35556 value type for setfct.
35557
35558 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35559
35560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35561 __gettimeofday instead of gettimeofday.
35562
35563 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35564
35565 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35566
35567 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35568
35569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35570
35571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35572 info.
35573
35574 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35575
35576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35577 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35578 strcpy-sse2-unaligned strncpy-sse2-unaligned
35579 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35580 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35581 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35582 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35583 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35585 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35586 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35587 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35588 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35589 (STRCPY): Support SSE2 and SSSE3 versions.
35590
35591 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35592
35593 [BZ #12874]
35594 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35595 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35596 kernels which artificially limit size of requests.
35597
35598 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35599
35600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35601 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35602 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35603 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35604 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35605 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35606 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35607 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35608 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35610 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35611 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35612 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35613 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35614 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35616 Enable unaligned load optimization for Intel Core i3, i5 and i7
35617 processors.
35618 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35619 Define.
35620 (index_Fast_Unaligned_Load): Define.
35621 (HAS_FAST_UNALIGNED_LOAD): Define.
35622
35623 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35624
35625 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35626
35627 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35628
35629 [BZ #12907]
35630 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35631 until it is clear that the information is realy needed.
35632 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35633
35634 2011-06-22 Andreas Schwab <schwab@redhat.com>
35635
35636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35637
35638 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35639
35640 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35641 /sys/devices/system/cpu/online if it is usable.
35642
35643 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35644 reading the information from the /proc filesystem to once a second.
35645
35646 2011-06-21 Andreas Jaeger <aj@suse.de>
35647
35648 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35649 NULL after inclusion of kernel headers.
35650
35651 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35652
35653 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35654 calls to internal_setent.
35655
35656 [BZ #12885]
35657 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35658 addresses using gethostbyname4_r ignore IPv4 addresses.
35659
35660 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35661 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35662
35663 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35664
35665 2011-06-20 David S. Miller <davem@davemloft.net>
35666
35667 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35668 inclusions.
35669 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35670
35671 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35672 (elf_irel): Use it.
35673 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35674 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35675 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35676 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35677 * sysdeps/x86_64/dl-irel.h: Likewise.
35678
35679 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35680 * elf/dl-sym.c: Likewise.
35681
35682 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35683
35684 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35685 need to dereference resplen2.
35686
35687 2011-06-14 Andreas Schwab <schwab@redhat.com>
35688
35689 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35690
35691 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35692
35693 * Makeconfig: Define vardbdir and inst_vardbdir.
35694 * nss/Makefile: Add rules to install db-Makefile.
35695
35696 * nss/nss_db/db-XXX.c: Cleanup.
35697
35698 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35699 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35700 GLIBC_PRIVATE.
35701 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35702 * nss/makedb.c: Implement -g option to specify that value strings
35703 are generated and should not be added to table iterated over for
35704 get*ent calls.
35705 * nss/nss_db/db-initgroups.c: New file.
35706
35707 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35708 interface.
35709
35710 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35711 (internal_getgrouplist): Adjust to name change.
35712 Update use_initgroups_entry if this is not the first call.
35713 * nss/databases.def: Add initgroups entry.
35714
35715 * nss/makedb.c (compute_tables): Check result of multiple hash table
35716 sizes to minimize maximum chain length.
35717
35718 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35719
35720 * Versions.def: Add entry for libnss_db.
35721 * shlib-versions: Likewise.
35722 * nss/Makefile: Add rules to build libnss_db.
35723 * nss/Versions: Add libnss_db information. Organize libnss_files
35724 entries better.
35725 * nss/db-Makefile: Add gshadow support. Change rules for the new
35726 makedb progra. Some minor improvements to generate smaller files.
35727 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35728 here from...
35729 * nss/makedb.c: ...here.
35730 Improve database format to be smaller and require less memory at
35731 runtime.
35732 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35733 db anymore.
35734 * nss/nss_db/db-netgrp.c: Likewise.
35735 * nss/nss_db/db-open.c: Likewise.
35736 * nss/nss_files/flies-XXX.x: Adjust comments.
35737 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35738 * nss/nss_files/files-grp.c: Likewise.
35739 * nss/nss_files/files-hosts.c: Likewise.
35740 * nss/nss_files/files-network.c: Likewise.
35741 * nss/nss_files/files-proto.c: Likewise.
35742 * nss/nss_files/files-pwd.c: Likewise.
35743 * nss/nss_files/files-rpc.c: Likewise.
35744 * nss/nss_files/files-service.c: Likewise.
35745 * nss/nss_files/files-sgrp.c: Likewise.
35746 * nss/nss_files/files-spwd.c: Likewise.
35747 * nss/nss_db/db-alias.c: Removed.
35748 * nss/nss_db/dummy-db.h: Removed.
35749
35750 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35751
35752 * nss/makedb.c: Rewritten to not use database library.
35753 * nss/Makefile: Update to build new makedb program.
35754
35755 2011-06-14 Andreas Jaeger <aj@suse.de>
35756
35757 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35758 memset declaration.
35759
35760 2011-06-10 Andreas Schwab <schwab@redhat.com>
35761
35762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35763 tmpbuf.
35764
35765 2011-06-10 Roland McGrath <roland@hack.frob.com>
35766
35767 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35768 * elf/Makefile ($(objpfx)ld.so): Likewise.
35769
35770 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35771 Don't list ld.so twice in dependencies.
35772
35773 * posix/bug-regex31.c: Include <stdlib.h>.
35774
35775 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35776
35777 * nis/nss_compat/compat-spwd.c
35778 (getspent_next_nss_netgr): Remove unused variable.
35779 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35780
35781 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35782 nonmembers" output to use the right array.
35783
35784 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35785
35786 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35787
35788 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35789 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35790 * catgets/gencat.c (read_input_file): Likewise.
35791 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35792
35793 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35794 variable definition inside #if's controlling its use.
35795
35796 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35797
35798 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35799
35800 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35801
35802 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35803 unreachable code.
35804
35805 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35806
35807 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35808 * configure: Regenerated.
35809
35810 * Makerules: Revert last change.
35811 * elf/Makefile: Likewise.
35812
35813 2011-06-09 Roland McGrath <roland@hack.frob.com>
35814
35815 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35816 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35817 (reloc-link): Likewise.
35818
35819 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35820
35821 * elf/Makefile: Add rules to build pldd.
35822 * elf/pldd.c: New file.
35823 * elf/pldd-xx.c: New file.
35824
35825 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35826
35827 * version.h: Update for 2.15 development version.
35828
35829 2011-06-07 David S. Miller <davem@davemloft.net>
35830
35831 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35832 ifuncs.
35833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35834 elf_machine_lazy_rel): Likewise.
35835 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35837 elf_machine_lazy_rel): Likewise.
35838 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35839 dl_hwcap via passed in argument.
35840 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35841 Likewise.
35842
35843 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35844
35845 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35846
35847 2011-06-06 Roland McGrath <roland@hack.frob.com>
35848
35849 [BZ #12849]
35850 * manual/fdl-1.1.texi: New file, verbatim from:
35851 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35852 * manual/lgpl-2.1.texi: New file, verbatim from:
35853 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35854 * manual/Makefile (licenses): New variable, list those new file names.
35855 (texis): Use it.
35856 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35857
35858 * manual/fdl.texi: File removed.
35859 * manual/lesser.texi: File removed.
35860 * manual/libc.texinfo (Copying, Documentation License):
35861 Use new @include file names, put @appendix directive before @include.
35862
35863 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35864
35865 [BZ #12841]
35866 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35867 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35868 (mq_open): Add __NTH.
35869
35870 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35871
35872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35873 Assume Intel Core i3/i5/i7 processor if AVX is available.
35874
35875 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35876
35877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35878 typo.
35879
35880 2011-05-31 Andreas Schwab <schwab@redhat.com>
35881
35882 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35883 memory. Use alloca_account. Fix memory leak when retrying.
35884
35885 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35886
35887 * version.h (RELEASE): Bump for 2.14 release.
35888 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35889
35890 * config.make.in (RANLIB): Remove entry.
35891
35892 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35893
35894 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35895 (libc.pot): Work around missing support for .ksh extension in xgettext.
35896
35897 [BZ #12684]
35898 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35899 if both request failed.
35900 (send_dg): In case of server errors clear resplen or *resplen2.
35901
35902 [BZ #12454]
35903 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35904 when there are multiple maps.
35905 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35906 (_dl_fini): Remove test here.
35907
35908 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35909
35910 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35911
35912 [BZ #12350]
35913 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35914 bit from old_res_options.
35915 (gaih_inet): Likewise.
35916
35917 [BZ #11099]
35918 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35919 as signed.
35920
35921 * resolv/res_init.c (res_setoptions): Make the code more compact.
35922
35923 [BZ #11558]
35924 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35925 set RES_USEVC.
35926
35927 [BZ #11634]
35928 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35929
35930 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35931
35932 [BZ #11781]
35933 * malloc/malloc.h: Declare malloc hook variables as volatile.
35934
35935 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35936 in last patch.
35937
35938 [BZ #11799]
35939 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35940 raise in the comment.
35941 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35943 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35944
35945 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35946
35947 [BZ #12811]
35948 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35949 grow the buffers more if it already has to be sufficient.
35950 (build_wcs_upper_buffer): Likewise.
35951 * posix/regexec.c (check_matching): Likewise.
35952 (clean_state_log_if_needed): Likewise.
35953 (extend_buffers): Don't enlarge buffers beyond size of the input
35954 buffer.
35955 Patches mostly by Emil Wojak <emil@wojak.eu>.
35956 * posix/bug-regex32.c: New file.
35957 * posix/Makefile (tests): Add bug-regex32.
35958
35959 * locale/findlocale.c (_nl_find_locale): Return right away if
35960 _nl_explode_name failed.
35961 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35962
35963 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35964
35965 * debug/xtrace.sh: Unify messages.
35966 * malloc/memusage.sh: Likewise.
35967
35968 [BZ #12813]
35969 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35970 time symbol from vDSO. Substitute with vsyscall if not available.
35971 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35972 __vdso_time.
35973
35974 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35975 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35976 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35977 Add sendmmsg and internal_sendmmsg.
35978 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35979 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35980 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35981
35982 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35983 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35984 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35985
35986 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35987
35988 [BZ #12813]
35989 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35990 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35991 available.
35992 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35993 __vdso_getcpu.
35994
35995 [BZ #12814]
35996 * iconvdata/Makefile (tests): Add bug-iconv9.
35997 * iconvdata/bug-iconv9.c: New file.
35998
35999 2011-05-27 Andreas Schwab <schwab@redhat.com>
36000
36001 [BZ #12814]
36002 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36003
36004 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36005
36006 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36007 (struct user_regs_struct): Change intcs field back to cs.
36008
36009 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36010
36011 * po/ja.po: Update from translation team.
36012
36013 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36014
36015 [BZ #12795]
36016 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36017 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36018
36019 2011-05-20 Andreas Schwab <schwab@redhat.com>
36020
36021 * stdlib/longlong.h: Update from GCC.
36022
36023 2011-05-23 Andreas Schwab <schwab@redhat.com>
36024
36025 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36026 parameter name.
36027 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36028 Add parameter name.
36029 (__sysconf): Pass it down.
36030
36031 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36032
36033 [BZ #12671]
36034 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36035 some situations.
36036 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36037 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36038 add in in __libc_use_alloca calls. Adjust callers.
36039 (glob): Use malloc in some situations.
36040
36041 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36042 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36043 pltexit.
36044
36045 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36046
36047 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36048 and CLOCK_BOOTTIME_ALARM.
36049
36050 [BZ #12782]
36051 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36052 is returned.
36053
36054 * string/_strerror.c (__strerror_r): Print negative errors as signed
36055 numbers.
36056
36057 [BZ #12777]
36058 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36059 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36060 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36061
36062 * configure.in: Fix typo in redirection and correct removal of test
36063 files in two cases.
36064
36065 [BZ #12788]
36066 * locale/setlocale.c (new_composite_name): Fix test to check for
36067 identical name of all categories.
36068
36069 [BZ #12792]
36070 * libio/filedoalloc.c (local_isatty): New function.
36071 (_IO_file_doallocate): Use local_isatty.
36072 * stdio-common/perror.c (perror): In case a new stream is used
36073 forward the stream error.
36074 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36075 error flag.
36076
36077 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36078
36079 [BZ #11869]
36080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36081 alloca.
36082 * include/alloca.h (extend_alloca_account): Define.
36083
36084 [BZ #11857]
36085 * posix/regex.h: Fix comments with documentation of user-accessible
36086 fields after compilation and describe correct free'ing of pattern
36087 after re_compile_pattern.
36088 Patch by Reuben Thomas <rrt@sc3d.org>.
36089
36090 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36091
36092 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36093 and -mno-altivec to prevent the compiler from using Altivec and/or
36094 VSX instructions when the corresponding registers are not available.
36095
36096 2011-05-19 Andreas Schwab <schwab@redhat.com>
36097
36098 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36099
36100 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36101
36102 * libio/freopen.c (freopen): Use __dup2, not dup2.
36103 * libio/freopen64.c (freopen64): Likewise.
36104
36105 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36106
36107 [BZ #12775]
36108 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36109 * math/Makefile (tests): Add test-powl.
36110 (CFLAGS-test-powl.c): Define.
36111 * math/test-powl.c: New file.
36112
36113 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36114
36115 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36116
36117 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36118
36119 [BZ #11837]
36120 * iconvdata/gb18030.c: Update to GB18020-2005.
36121
36122 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36123
36124 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36125 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36126 Patch by Aharon Robbins <arnold@skeeve.com>.
36127
36128 [BZ #11892]
36129 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36130 on the stack.
36131
36132 [BZ #11895]
36133 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36134 through underflows.
36135
36136 [BZ #12766]
36137 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36138 point to strings before performing equality test for error_one_per_line
36139 mode.
36140
36141 [BZ #11697]
36142 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36143
36144 [BZ #11820]
36145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36146 (struct user_fpregs_struct): Avoid __uint*_t types.
36147
36148 [BZ #6420]
36149 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36150 symbol info. Use it instead of calling _dl_addr locally.
36151 (lock_and_info): New function.
36152 (tr_freehook): Call lock_and_info and pass symbol info as additional
36153 parameter to tr_where.
36154 (tr_mallochook): Likewise.
36155 (tr_reallochook): Likewise.
36156 (tr_memalignhook): Likewise.
36157
36158 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36159 used and couldn't be at all thread-safe.
36160
36161 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36162
36163 * libio/freopen.c (freopen): Don't close old file descriptor
36164 before the new one is opened. Instead dup the new file descriptor
36165 to the old one after the new stream is created.
36166 * libio/freopen64.c (freopen64): Likewise.
36167 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36168 * libio/fileops.c (_IO_new_file_close_it): Handle new
36169 _IO_FLAGS2_NOCLOSE flag.
36170 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36171 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36172 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36173 _IO_FLAGS2_NOCLOSE flag.
36174 * include/unistd.h: Add hidden_proto for dup3.
36175 Define __have_dup3.
36176 * io/dup3.c: Define hidden symbol.
36177 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36178
36179 [BZ #7101]
36180 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36181 when an incomplete long option is used.
36182 * posix/tst-getopt_long1.c: New file.
36183 * posix/Makefile (tests): Add tst-getopt_long1.
36184
36185 [BZ #10138]
36186 * scripts/config.guess: Update from autoconf-2.68.
36187 * scripts/config.sub: Likewise.
36188
36189 [BZ #10157]
36190 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36191 tests into ...
36192 (has_cpuclock): ...this. New function.
36193 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36194 macro here based on has_cpuclock code.
36195
36196 [BZ #10149]
36197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36198 First byte (not low byte) is now always NUL.
36199 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36200
36201 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36202 Use non-cancelable interfaces.
36203
36204 [BZ #9809]
36205 * locale/iso-639.def: Add entry for Sorani.
36206
36207 [BZ #11901]
36208 * include/stdlib.h: Move include protection to the right place.
36209 Define abort_msg_s. Declare __abort_msg with it.
36210 * stdlib/abort.c (__abort_msg): Adjust type.
36211 * assert/assert.c (__assert_fail_base): New function. Majority
36212 of code from __assert_fail. Allocate memory for __abort_msg with
36213 mmap.
36214 (__assert_fail): Now call __assert_fail_base.
36215 * assert/assert-perr.c: Remove bulk of implementation. Use
36216 __assert_fail_base.
36217 * include/assert.hL Declare __assert_fail_base.
36218 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36219 mmap.
36220 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36221
36222 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36223
36224 [BZ #11952]
36225 [BZ #12453]
36226 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36227 until all modules are registered in the DTV.
36228 * elf/Makefile: Add rules to build and run tst-tls19.
36229 * elf/tst-tls19.c: New file.
36230 * elf/tst-tls19mod1.c: New file.
36231 * elf/tst-tls19mod2.c: New file.
36232 * elf/tst-tls19mod3.c: New file.
36233 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36234
36235 [BZ #12083]
36236 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36237 correctly.
36238
36239 [BZ #12601]
36240 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36241 two-byte sequence errors.
36242 * iconvdata/Makefile (tests): Add bug-iconv8.
36243 * iconvdata/bug-iconv8.c: New file.
36244
36245 [BZ #12626]
36246 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36247 buf2 definition.
36248
36249 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36250
36251 [BZ #12432]
36252 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36253 (dummy_getcfa): New function.
36254 (init): Get _Unwind_GetCFA address, use dummy if not found.
36255 (backtrace_helper): In recursion check, also check whether CFA changes.
36256 (__backtrace): Completely initialize arg.
36257
36258 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36259 storing incomplete byte sequence in state object. Avoid testing for
36260 guaranteed too small input if we know there is enough data available.
36261
36262 2011-05-11 Andreas Schwab <schwab@redhat.com>
36263
36264 * Makeconfig (+link-pie): Indent.
36265 * Rules (binaries-pie): Define if $(have-fpie) and
36266 $(build-shared).
36267 (binaries-shared): Also filter out $(binaries-pie).
36268 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36269 * nscd/Makefile (others-pie): Add nscd.
36270 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36271 ($(objpfx)nscd): Remove command override.
36272 * login/Makefile (others-pie): Add pt_chown.
36273 ($(objpfx)pt_chown): Remove command override.
36274 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36275 remove command overrides.
36276
36277 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36278
36279 * libio/tst_putwc.c: Fix error messages.
36280
36281 [BZ #12724]
36282 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36283 currently writing and seek to current position when not.
36284 * libio/Makefile (tests): Add bug-fclose1.
36285 * libio/bug-fclose1.c: New file.
36286
36287 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36288
36289 [BZ #12511]
36290 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36291 don't set DF_1_NODELETE here.
36292 (do_lookup_x): When entering new entry test for copy relocation
36293 and if necessary set DF_1_NODELETE flag.
36294 * elf/tst-unique4.cc: New file.
36295 * elf/tst-unique4.h: New file.
36296 * elf/tst-unique4lib.cc: New file.
36297 * elf/Makefile: Add rules to build and run tst-unique4.
36298 Patch by Piotr Bury <pbury@goahead.com>.
36299
36300 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36301
36302 [BZ #12052]
36303 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36304
36305 [BZ #12625]
36306 * misc/mntent_r.c (addmntent): Flush the stream after the output
36307
36308 [BZ #12393]
36309 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36310 (is_trusted_path_normalize): Skip initial colon. Append slash
36311 to empty buffer. Duplicate is_trusted_path code but allow
36312 constructed patch to be prefix.
36313 (is_dst): Allow $ORIGIN followed by /.
36314 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36315 Correct testing of result of is_trusted_path_normalize
36316 (decompose_rpath): Fix warning.
36317
36318 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36319
36320 [BZ #11257]
36321 * grp/initgroups.c (internal_getgrouplist): When we found the service
36322 list through the initgroups entry in nsswitch.conf do not always
36323 continue on a successful lookup. Don't always use the
36324 __nss_group_database value if it is set.
36325 * nss/nsswitch.conf (initgroups): Change action for successful db
36326 lookup to continue for compatibility.
36327
36328 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36329
36330 [BZ #11532]
36331 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36332 and CP774 modules.
36333 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36334 and CP774 modules.
36335 * iconvdata/tst-tables.sh: Likewise.
36336 * iconvdata/cp770.c: New file.
36337 * iconvdata/cp771.c: New file.
36338 * iconvdata/cp772.c: New file.
36339 * iconvdata/cp773.c: New file.
36340 * iconvdata/cp774.c: New file.
36341 * iconvdata/testdata/CP770: New file.
36342 * iconvdata/testdata/CP770..UTF8: New file.
36343 * iconvdata/testdata/CP771: New file.
36344 * iconvdata/testdata/CP771..UTF8: New file.
36345 * iconvdata/testdata/CP772: New file.
36346 * iconvdata/testdata/CP772..UTF8: New file.
36347 * iconvdata/testdata/CP773: New file.
36348 * iconvdata/testdata/CP773..UTF8: New file.
36349 * iconvdata/testdata/CP774: New file.
36350 * iconvdata/testdata/CP774..UTF8: New file.
36351
36352 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36353 END CHARMAP line.
36354 * iconvdata/gen-8bit-gap.sh: Likewise.
36355 * iconvdata/gen-8bit.sh: Likewise.
36356
36357 * locale/iso-639.def: Add ary entry.
36358
36359 [BZ #11258]
36360 * locale/C-translit.h.in: Add U20A1 transliteration.
36361
36362 [BZ #12178]
36363 * locale/iso-639.def: Add wae entry.
36364 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36365
36366 [BZ #12545]
36367 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36368 for n.
36369
36370 [BZ #12711]
36371 * locale/C-translit.h.in: Add entry for U20B9.
36372 Patch by pravin.d.s@gmail.com.
36373
36374 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36375
36376 [BZ #12713]
36377 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36378 ENAMETOOLONG use generic getcwd.
36379 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36380 in rtld. Use *stat64.
36381 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36382 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36383 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36384 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36385 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36386 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36387 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36388 __fstatat64 macros.
36389 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36390 * dirent/rewinddir.c: Add libc_hidden_def.
36391 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36392 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36393
36394 * include/dirent.h (__alloc_dir): Add flags parameter.
36395 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36396 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36397 __alloc_dir.
36398 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36399 from fdopendir if O_CLOEXEC is already set.
36400
36401 2011-03-15 Alan Modra <amodra@gmail.com>
36402
36403 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36404 l_tls_firstbyte_offset non-zero. Save padding offset in
36405 l_tls_firstbyte_offset for later use.
36406 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36407 freeing static tls block.
36408
36409 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36410
36411 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36412 where #ifdef was intended. The intent is to prevent ARG_MAX from
36413 being defined by the kernel headers.
36414
36415 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36416
36417 [BZ #12734]
36418 * resolv/resolv.h: Define RES_NOTLDQUERY.
36419 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36420 no-tld-query and set RES_NOTLDQUERY.
36421 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36422 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36423 modern BIND to search name as TLD unless forbidden.
36424
36425 2011-05-07 Petr Baudis <pasky@suse.cz>
36426 Ulrich Drepper <drepper@gmail.com>
36427
36428 [BZ #12393]
36429 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36430 (is_trusted_path): ...to here.
36431 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36432 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36433 using is_trusted_path_normalize() in setuid scripts.
36434
36435 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36436
36437 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36438 __BEGIN/__END_DECLS.
36439
36440 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36441
36442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36443 NSS_STATUS_NOTFOUND if no record was found.
36444
36445 2011-05-05 Andreas Schwab <schwab@redhat.com>
36446
36447 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36448 (headers-not-in-tirpc): Remove rpc/netdb.h
36449 * resolv/netdb.h: Revert last change.
36450
36451 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36452
36453 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36454 circular dependency between libgcc.a and libc.a.
36455
36456 2011-05-05 Andreas Schwab <schwab@redhat.com>
36457
36458 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36459 * nis/Makefile: Don't install rpcsvc/*.
36460 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36461 instead of <rpc/types.h>.
36462 (MAXHOSTNAMELEN): Define.
36463
36464 2011-05-03 Andreas Schwab <schwab@redhat.com>
36465
36466 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36467
36468 2011-04-28 Maciej Babinski <mbabinski@google.com>
36469
36470 [BZ #12714]
36471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36472 gethostbyname4_r when IPv6 results are possible.
36473
36474 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36475
36476 [BZ #12723]
36477 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36478 _PC_PIPE_BUF handling.
36479
36480 2011-04-30 Bruno Haible <bruno@clisp.org>
36481
36482 [BZ #12717]
36483 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36484 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36485 to 'int'.
36486 * inet/getnameinfo.c (getnameinfo): Likewise.
36487
36488 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36489
36490 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36491 to groups setting in database lookup.
36492 * nss/nsswitch.conf: Add initgroups entry.
36493
36494 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36495
36496 [BZ #12685]
36497 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36498 mode string.
36499 Patch by Eric Blake <eblake@redhat.com>.
36500
36501 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36502
36503 * sunrpc/Makefile (need-export-routines): Add svc_run.
36504 (routines): Remove svc_run.
36505 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36506 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36507 * sunrpc/svc_run.c (svc_run): Likewise.
36508 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36509
36510 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36511
36512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36513 problem in reallocation in last patch.
36514
36515 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36516
36517 * sunrpc/Makefile: Move inclusion of Rules.
36518
36519 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36520
36521 * nss/nss_files/files-initgroups.c: New file.
36522 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36523 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36524 _nss_files_initgroups_dyn.
36525
36526 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36527
36528 * elf/elf.h (R_ARM_IRELATIVE): Define.
36529
36530 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36531
36532 * po/ru.po: Update from translation team.
36533
36534 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36535
36536 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36537 dependencies.
36538
36539 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36540
36541 [BZ #12653]
36542 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36543 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36546 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36547
36548 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36549
36550 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36551 differing bytes.
36552 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36555
36556 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36557
36558 [BZ #12420]
36559 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36560 storing it.
36561 * stdlib/bug-getcontext.c: New file.
36562 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36563
36564 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36565
36566 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36567 instructions into .machine "z9-109".
36568 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36569 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36570
36571 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36572
36573 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36574 between environment variables and auxiliary vector.
36575
36576 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36577
36578 * Makefile: Add rules to build linkobj/libc.so.
36579 * include/libc-symbols.h: Define libc_hidden_nolink.
36580 * include/rpc/auth.h: Mark functions which are to be hidden.
36581 * include/rpc/auth_des.h: Likewise.
36582 * include/rpc/auth_unix.h: Likewise.
36583 * include/rpc/clnt.h: Likewise.
36584 * include/rpc/des_crypt.h: Likewise.
36585 * include/rpc/key_prot.h: Likewise.
36586 * include/rpc/pmap_clnt.h: Likewise.
36587 * include/rpc/pmap_prot.h: Likewise.
36588 * include/rpc/pmap_rmt.h: Likewise.
36589 * include/rpc/rpc_msg.h: Likewise.
36590 * include/rpc/svc.h: Likewise.
36591 * include/rpc/svc_auth.h: Likewise.
36592 * include/rpc/xdr.h: Likewise.
36593 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36594 * nss/Makefile: Likewise.
36595 * sunrpc/Makefile: Don't install headers. Build library with normal
36596 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36597 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36598 for the compat linking library. Remove use of INTDEF/INTUSE.
36599 * sunrpc/auth_none.c: Likewise.
36600 * sunrpc/auth_unix.c: Likewise.
36601 * sunrpc/authdes_prot.c: Likewise.
36602 * sunrpc/authuxprot.c: Likewise.
36603 * sunrpc/clnt_gen.c: Likewise.
36604 * sunrpc/clnt_perr.c: Likewise.
36605 * sunrpc/clnt_raw.c: Likewise.
36606 * sunrpc/clnt_simp.c: Likewise.
36607 * sunrpc/clnt_tcp.c: Likewise.
36608 * sunrpc/clnt_udp.c: Likewise.
36609 * sunrpc/clnt_unix.c: Likewise.
36610 * sunrpc/des_crypt.c: Likewise.
36611 * sunrpc/des_soft.c: Likewise.
36612 * sunrpc/get_myaddr.c: Likewise.
36613 * sunrpc/key_call.c: Likewise.
36614 * sunrpc/key_prot.c: Likewise.
36615 * sunrpc/netname.c: Likewise.
36616 * sunrpc/pm_getmaps.c: Likewise.
36617 * sunrpc/pm_getport.c: Likewise.
36618 * sunrpc/pmap_clnt.c: Likewise.
36619 * sunrpc/pmap_prot.c: Likewise.
36620 * sunrpc/pmap_prot2.c: Likewise.
36621 * sunrpc/pmap_rmt.c: Likewise.
36622 * sunrpc/publickey.c: Likewise.
36623 * sunrpc/rpc_cmsg.c: Likewise.
36624 * sunrpc/rpc_common.c: Likewise.
36625 * sunrpc/rpc_dtable.c: Likewise.
36626 * sunrpc/rpc_prot.c: Likewise.
36627 * sunrpc/rpc_thread.c: Likewise.
36628 * sunrpc/rtime.c: Likewise.
36629 * sunrpc/svc.c: Likewise.
36630 * sunrpc/svc_auth.c: Likewise.
36631 * sunrpc/svc_authux.c: Likewise.
36632 * sunrpc/svc_raw.c: Likewise.
36633 * sunrpc/svc_run.c: Likewise.
36634 * sunrpc/svc_simple.c: Likewise.
36635 * sunrpc/svc_tcp.c: Likewise.
36636 * sunrpc/svc_udp.c: Likewise.
36637 * sunrpc/svc_unix.c: Likewise.
36638 * sunrpc/svcauth_des.c: Likewise.
36639 * sunrpc/xcrypt.c: Likewise.
36640 * sunrpc/xdr.c: Likewise.
36641 * sunrpc/xdr_array.c: Likewise.
36642 * sunrpc/xdr_float.c: Likewise.
36643 * sunrpc/xdr_intXX_t.c: Likewise.
36644 * sunrpc/xdr_mem.c: Likewise.
36645 * sunrpc/xdr_rec.c: Likewise.
36646 * sunrpc/xdr_ref.c: Likewise.
36647 * sunrpc/xdr_sizeof.c: Likewise.
36648 * sunrpc/xdr_stdio.c: Likewise.
36649
36650 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36651
36652 [BZ #12650]
36653 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36654 * sysdeps/ia64/dl-tls.h: Likewise.
36655 * sysdeps/powerpc/dl-tls.h: Likewise.
36656 * sysdeps/s390/dl-tls.h: Likewise.
36657 * sysdeps/sh/dl-tls.h: Likewise.
36658 * sysdeps/sparc/dl-tls.h: Likewise.
36659 * sysdeps/x86_64/dl-tls.h: Likewise.
36660 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36661
36662 2011-03-14 Andreas Schwab <schwab@redhat.com>
36663
36664 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36665 rpath element also skip the following colon.
36666 (expand_dynamic_string_token): Add is_path parameter and pass
36667 down to DL_DST_REQUIRED and _dl_dst_substitute.
36668 (decompose_rpath): Call expand_dynamic_string_token with
36669 non-zero is_path. Ignore empty rpaths.
36670 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36671 with zero is_path.
36672
36673 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36674
36675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36676 Make cancelable.
36677
36678 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36679
36680 [BZ #12655]
36681 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36682 Patch by Filipe David Manana <fdmanana@apache.org>.
36683
36684 2011-04-07 Andreas Schwab <schwab@redhat.com>
36685
36686 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36687 Maintain aligned stack.
36688 (CHECK_RSP): Remove unused macro.
36689
36690 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36691
36692 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36693 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36694
36695 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36696
36697 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36698
36699 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36700
36701 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36702
36703 [BZ #12518]
36704 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36705 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36706 * sysdeps/x86_64/memmove.c: New file.
36707 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36708 (memcpy): Renamed to ...
36709 (__new_memcpy): This.
36710 (memcpy): Provide GLIBC_2_14 memcpy.
36711 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36712 (memcpy): Provide GLIBC_2_2_5 memcpy.
36713
36714 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36715
36716 [BZ #12631]
36717 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36718
36719 2011-03-30 Andreas Schwab <schwab@redhat.com>
36720
36721 * misc/syncfs.c: New file.
36722 * misc/Makefile (routines): Add syncfs.
36723 * posix/unistd.h: Declare syncfs.
36724 * sysdeps/unix/syscalls.list: Add syncfs.
36725
36726 2011-04-01 Andreas Schwab <schwab@redhat.com>
36727
36728 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36729 open_by_handle_at.
36730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36735 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36736 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36737
36738 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36739
36740 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36741 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36742 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36744 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36747
36748 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36749 sync_file_range.c with -fexceptions.
36750 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36751 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36752 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36753 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36754 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36755 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36757 sync_file_range as cancellation point
36758 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36759 now a wrapper around __call_sync_file_range with cancellation handling.
36760 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36761 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36762 function name to __call_sync_file_range.
36763 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36764 Add call_sync_file_range.
36765
36766 2011-04-01 Andreas Schwab <schwab@redhat.com>
36767
36768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36769 bits/timex.h.
36770
36771 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36772
36773 * iconv/iconv.h: Fix typo in comment.
36774 * io/fcntl.h: Likewise.
36775 * libio/stdio.h: Likewise.
36776 * posix/spawn.h: Likewise.
36777 * posix/unistd.h: Likewise.
36778 * stdlib/stdlib.h: Likewise.
36779 * time/time.h: Likewise.
36780 * wcsmbs/wchar.h: Likewise.
36781
36782 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36783 open_by_handle): Add.
36784 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36785 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36786 Augment a few comments.
36787 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36792 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36793 open_by_handle.
36794
36795 * io/fcntl.h (AT_EMPTY_PATH): Define.
36796
36797 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36798
36799 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36800 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36801 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36802 to...
36803 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36804 * Versions.def: Add GLIBC_2.14.
36805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36806 Export.
36807
36808 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36809
36810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36811 round counter.
36812 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36813
36814 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36815
36816 [BZ #12597]
36817 * string/test-strncmp.c (do_page_test): New function.
36818 (check2): Likewise.
36819 (test_main): Call check2.
36820 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36821
36822 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36823
36824 [BZ #12587]
36825 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36826 Handle cache information in CPU leaf 4.
36827 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36828
36829 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36830
36831 [BZ #12583]
36832 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36833 character representation.
36834 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36835
36836 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36837
36838 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36839 END(__isnan) to END(__isnanf) to match function entry point/label
36840 EALIGN(__isnanf,...).
36841
36842 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36843
36844 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36845
36846 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36847
36848 [BZ #12510]
36849 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36850 copy from the symbol referenced in the relocation to initialize the
36851 used variable.
36852 Patch by Piotr Bury <pbury@goahead.com>.
36853 * elf/Makefile: Add rules to build and tst-unique3.
36854 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36855 * elf/tst-unique3.cc: New file.
36856 * elf/tst-unique3.h: New file.
36857 * elf/tst-unique3lib.cc: New file.
36858 * elf/tst-unique3lib2.cc: New file.
36859
36860 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36861
36862 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36863
36864 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36865 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36866 to _start.
36867
36868 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36869
36870 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36871 to-be-loaded object along a path to loader is ld.so.
36872
36873 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36874 Ulrich Drepper <drepper@gmail.com>
36875
36876 * sysdeps/x86_64/memset.S: After aligning destination, code
36877 branches to different locations depending on the value of
36878 misalignment, when multiarch is enabled. Fix this.
36879
36880 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36881
36882 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36883 Set _x86_64_preferred_memory_instruction for AMD processsors.
36884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36885 Set bit_Prefer_SSE_for_memop for AMD processors.
36886
36887 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36888
36889 * libio/fmemopen.c (fmemopen): Optimize a bit.
36890
36891 2011-03-03 Andreas Schwab <schwab@redhat.com>
36892
36893 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36894
36895 2011-03-03 Roland McGrath <roland@redhat.com>
36896
36897 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36898
36899 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36900
36901 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36902 __bzero_ultra1 instead of __memset_ultra1.
36903
36904 2011-02-23 Andreas Schwab <schwab@redhat.com>
36905 Ulrich Drepper <drepper@gmail.com>
36906
36907 [BZ #12509]
36908 * include/link.h (struct link_map): Add l_orig_initfini.
36909 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36910 returning unsuccessfully.
36911 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36912 close of a file loaded at startup, restore the original l_initfini
36913 list.
36914 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36915 list, store the pointer.
36916 * elf/Makefile ($(objpfx)noload-mem): New rule.
36917 (noload-ENV): Define.
36918 (tests): Add $(objpfx)noload-mem.
36919 * elf/noload.c: Include <memcheck.h>.
36920 (main): Call mtrace. Close all opened handles.
36921
36922 2011-02-17 Andreas Schwab <schwab@redhat.com>
36923
36924 [BZ #12454]
36925 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36926 dependencies are missing.
36927
36928 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36929
36930 Fix __if_freereq crash: Unlike the generic version which uses free,
36931 Hurd needs munmap.
36932 * sysdeps/mach/hurd/ifreq.h: New file.
36933
36934 2011-01-27 Petr Baudis <pasky@suse.cz>
36935 Ulrich Drepper <drepper@gmail.com>
36936
36937 [BZ 12445]#
36938 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36939 to extend_alloca().
36940 * stdio-common/bug23.c: New file.
36941 * stdio-common/Makefile (tests): Add bug23.
36942
36943 2010-09-28 Andreas Schwab <schwab@redhat.com>
36944 Ulrich Drepper <drepper@gmail.com>
36945
36946 [BZ #12489]
36947 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36948 before performing relro protection. At old place add assertion
36949 to make sure nothing changed.
36950
36951 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36952 Glauber de Oliveira Costa <glommer@gmail.com>
36953
36954 * elf/elf.h: Add new ARM TLS relocs.
36955
36956 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36957
36958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36959 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36960 cast from r3.
36961 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36962 'tests' variable.
36963 * sysdeps/wordsize-64/tst-writev.c: New file.
36964
36965 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36966
36967 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36968 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36969 insns in _dl_start to prevent a TOC reference before relocs are
36970 resolved.
36971
36972 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36973
36974 [BZ #12469]
36975 * Makeconfig: Remove RANLIB definition.
36976 * Makerules: Don't use RANLIB.
36977 * aclocal.m4: Remove ranlib test.
36978 * configure.in: No need to check for ranlib.
36979 * elf/rtld-Rules: Don't use RANLIB.
36980
36981 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36982
36983 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36984 protection macro.
36985 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36986 inclusion protection macro.
36987
36988 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36989 SIGRTMIN and SIGRTMAX and print information in that case only when
36990 SIGRTMIN is defined.
36991
36992 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36993
36994 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36995 arginfo fn returning -1.
36996
36997 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36998 and thousands string is zero terminated.
36999
37000 2011-02-03 Andreas Schwab <schwab@redhat.com>
37001
37002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37003 sysdeps/unix/sysv/linux/bits/socket.h.
37004
37005 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37006
37007 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37008 (__CPU_COUNT): Remove old macros.
37009 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37010 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37011 (__CPU_ALLOC, __CPU_FREE): Add macros.
37012 (__sched_cpualloc, __sched_cpufree): Add declarations.
37013
37014 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37015
37016 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37017 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37018 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37019 (readdhstai): Return value of addhstaiX call.
37020 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37021 (addgrbyX): Return value returned by cache_addgr.
37022 (readdgrbyname): Return value returned by addgrbyX.
37023 (readdgrbygid): Likewise.
37024 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37025 (addpwbyX): Return value returned by cache_addpw.
37026 (readdpwbyname): Return value returned by addhstbyX.
37027 (readdpwbyuid): Likewise.
37028 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37029 (addservbyX): Return value returned by cache_addserv.
37030 (readdservbyname): Return value returned by addservbyX:
37031 (readdservbyport): Likewise.
37032 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37033 (addhstbyX): Return value returned by cache_addhst.
37034 (readdhstbyname): Return value returned by addhstbyX.
37035 (readdhstbyaddr): Likewise.
37036 (readdhstbynamev6): Likewise.
37037 (readdhstbyaddrv6): Likewise.
37038 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37039 (readdinitgroups): Return value returned by addinitgroupsX.
37040 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37041 (prune_cache): Keep track of timeout value of re-added entries.
37042 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37043 * nscd/nscd.h: Adjust prototypes of readd* functions.
37044
37045 2011-02-04 Roland McGrath <roland@redhat.com>
37046
37047 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37048 (nis_stats): Likewise.
37049 * nis/nis_modify.c (nis_modify): Likewise.
37050 * nis/nis_remove.c (nis_remove): Likewise.
37051 * nis/nis_add.c (nis_add): Likewise.
37052
37053 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37054
37055 * posix/fnmatch_loop.c: Add some consts.
37056
37057 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37058
37059 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37060
37061 [BZ #12460]
37062 * config.make.in (config-cflags-novzeroupper): Define.
37063 * configure.in: Substitute libc_cv_cc_novzeroupper.
37064 * elf/Makefile (AVX-CFLAGS): Define.
37065 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37066 (CFLAGS-tst-auditmod4a.c): Likewise.
37067 (CFLAGS-tst-auditmod4b.c): Likewise.
37068 (CFLAGS-tst-auditmod6b.c): Likewise.
37069 (CFLAGS-tst-auditmod6c.c): Likewise.
37070 (CFLAGS-tst-auditmod7b.c): Likewise.
37071 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37072
37073 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37074
37075 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37076 function to the callback.
37077 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37078
37079 2011-02-02 Andreas Schwab <schwab@redhat.com>
37080
37081 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37082 of errno.
37083
37084 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37085
37086 [BZ #11724]
37087 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37088 of constructors.
37089 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37090 of destructors.
37091 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37092
37093 [BZ #11724]
37094 * elf/Makefile: Add rules to build and run new test.
37095 * elf/tst-initorder.c: New file.
37096 * elf/tst-initorder.exp: New file.
37097 * elf/tst-initordera1.c: New file.
37098 * elf/tst-initordera2.c: New file.
37099 * elf/tst-initordera3.c: New file.
37100 * elf/tst-initordera4.c: New file.
37101 * elf/tst-initorderb1.c: New file.
37102 * elf/tst-initorderb2.c: New file.
37103 * elf/tst-order-a1.c: New file.
37104 * elf/tst-order-a2.c: New file.
37105 * elf/tst-order-a3.c: New file.
37106 * elf/tst-order-a4.c: New file.
37107 * elf/tst-order-b1.c: New file.
37108 * elf/tst-order-b2.c: New file.
37109 * elf/tst-order-main.c: New file.
37110 New test case by George Gensure <werkt0@gmail.com>.
37111
37112 2010-10-01 Andreas Schwab <schwab@redhat.com>
37113
37114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37115 decoding ACE if AI_CANONIDN.
37116
37117 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37118
37119 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37120
37121 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37122
37123 * version.h (RELEASE): Bump for 2.13 release.
37124 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37125
37126 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37127
37128 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37129 MADV_NOHUGEPAGE.
37130 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37132 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37134 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37136
37137 * posix/getconf.c: Update copyright year.
37138 * catgets/gencat.c: Likewise.
37139 * csu/version.c: Likewise.
37140 * debug/catchsegv.sh: Likewise.
37141 * debug/xtrace.sh: Likewise.
37142 * elf/ldconfig.c: Likewise.
37143 * elf/ldd.bash.in: Likewise.
37144 * elf/sprof.c (print_version): Likewise.
37145 * iconv/iconv_prog.c: Likewise.
37146 * iconv/iconvconfig.c: Likewise.
37147 * locale/programs/locale.c: Likewise.
37148 * locale/programs/localedef.c: Likewise.
37149 * malloc/memusage.sh: Likewise.
37150 * malloc/mtrace.pl: Likewise.
37151 * nscd/nscd.c (print_version): Likewise.
37152 * nss/getent.c: Likewise.
37153
37154 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37155 PF_CAIF, and PF_ALG.
37156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37157
37158 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37159
37160 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37161 (modules-names): Use them.
37162 (ifunc-test-modules, ifunc-pie-tests): Define.
37163 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37164 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37165 (test-extras): Likewise.
37166 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37167 $(compile-command.c).
37168 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37169 (all-built-dso): Define.
37170 (check-textrel.out, check-execstack.out): Depend on it.
37171
37172 * configure.in: Don't override --enable-multi-arch.
37173
37174 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37175
37176 [BZ #6812]
37177 * nscd/hstcache.c (tryagain): Define.
37178 (cache_addhst): Return tryagain not notfound for temporary errors.
37179 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37180 failed.
37181
37182 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37183
37184 [BZ #10563]
37185 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37186 to make the syscall.
37187 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37188
37189 [BZ #12378]
37190 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37191 and fall back to matching as normal character if the string ends before
37192 the matching ']' is found. This is what POSIX requires.
37193 * posix/testfnm.c: Adjust test result.
37194 * posix/globtest.sh: Adjust test result. Add new test.
37195 * posix/tst-fnmatch.input: Likewise.
37196 * posix/tst-fnmatch2.c: Add new test.
37197
37198 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37199
37200 * elf/Makefile (check-execstack): Revert last change. Depend on
37201 check-execstack.h.
37202 (check-execstack.h): New target.
37203 (generated): Add check-execstack.h.
37204 * elf/check-execstack.c: Include "check-execstack.h".
37205 (main): Revert last change.
37206 (handle_file): Return zero if GNU_STACK is absent and
37207 DEFAULT_STACK_PERMS doesn't include PF_X.
37208
37209 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37210
37211 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37212 in child fails because the descriptor is already closed.
37213 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37214 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37216
37217 [BZ #12397]
37218 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37219 syscall.
37220
37221 [BZ #10484]
37222 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37223 temporary buffer used to handle multi lookups locally.
37224 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37225
37226 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37227
37228 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37229 loader is ld.so.
37230
37231 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37232
37233 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37234 alignment for SSE2.
37235
37236 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37237
37238 [BZ #12394]
37239 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37240 characters. When rounding increased number of integer digits recompute
37241 number of groups.
37242 * stdio-common/tst-grouping.c: New file.
37243 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37244
37245 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37246
37247 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37248 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37249
37250 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37251 void.
37252 * bits/select.h: Likewise.
37253
37254 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37255
37256 * po/ja.po: Update from translation team.
37257
37258 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37259
37260 [BZ #11155]
37261 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37262 implementation just like for lxstat, fxstatat, et al.
37263
37264 2010-12-27 Jim Meyering <meyering@redhat.com>
37265
37266 [BZ #12348]
37267 * posix/regexec.c (build_trtable): Return failure indication upon
37268 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37269
37270 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37271
37272 [BZ #12201]
37273 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37274 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37275 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37277
37278 [BZ #12207]
37279 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37280
37281 [BZ #12204]
37282 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37283 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37284
37285 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37286
37287 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37288 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37289 script has SORT_BY_INIT_PRIORITY.
37290 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37291 NO_CTORS_DTORS_SECTIONS is defined.
37292 * elf/soinit.c: Likewise.
37293 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37294 NO_CTORS_DTORS_SECTIONS is defined.
37295 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37296 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37297 * sysdeps/sh/init-first.c: Likewise.
37298 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37299
37300 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37301
37302 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37303 always use the slow path.
37304
37305 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37306
37307 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37308 similar rule which adds the sysdep directories to the header search in
37309 order to pick up the correct platform stackinfo.h.
37310 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37311 perform test if it is, otherwise return successfully without testing.
37312 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37313 DEFAULT_STACK_PERMS define in stackinfo.h.
37314 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37315 defined in stackinfo.h.
37316 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37317 DEFAULT_STACK_PERMS defined in stackinfo.h.
37318 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37319 * sysdeps/ia64/stackinfo.h: Likewise.
37320 * sysdeps/s390/stackinfo.h: Likewise.
37321 * sysdeps/sh/stackinfo.h: Likewise.
37322 * sysdeps/sparc/stackinfo.h: Likewise.
37323 * sysdeps/x86_64/stackinfo.h: Likewise.
37324 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37325 PF_X for powerpc64. Retain PF_X for powerpc32.
37326
37327 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37328
37329 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37330 accurately.
37331 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37332 GETDENTS_64BIT_ALIGNED.
37333
37334 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37335
37336 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37337
37338 2010-12-10 Andreas Schwab <schwab@redhat.com>
37339
37340 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37341 _GNU_SOURCE.
37342
37343 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37344 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37345 Remove __restrict.
37346 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37347 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37348
37349 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37350
37351 [BZ #11655]
37352 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37353 are initialized.
37354
37355 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37356
37357 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37358
37359 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37360
37361 * po/it.po: Update from translation team.
37362
37363 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37364
37365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37366 unused codes.
37367
37368 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37369
37370 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37371
37372 2010-11-24 Andreas Schwab <schwab@redhat.com>
37373
37374 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37375 specially.
37376 (gaih_getanswer_slice): Likewise.
37377
37378 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37379
37380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37381
37382 2010-05-31 Petr Baudis <pasky@suse.cz>
37383
37384 [BZ #11149]
37385 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37386 silently even in the chroot mode.
37387
37388 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37389
37390 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37391 last patch a bit. Pretty printing
37392
37393 2010-05-31 Petr Baudis <pasky@suse.cz>
37394
37395 [BZ #10085]
37396 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37397 initialization of skip_initgroups_dyn.
37398
37399 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37400
37401 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37403
37404 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37405
37406 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37407
37408 2010-11-11 Andreas Schwab <schwab@redhat.com>
37409
37410 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37411 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37412 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37413 ($(objpfx)tst-fnmatch-mem): New rule.
37414 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37415 * posix/tst-fnmatch.c (main): Call mtrace.
37416
37417 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37418
37419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37420 Support Intel processor model 6 and model 0x2c.
37421
37422 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37423
37424 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37425 signed comparison.
37426
37427 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37428
37429 [BZ #12205]
37430 * string/test-strncasecmp.c (check_result): New function.
37431 (do_one_test): Use it.
37432 (check1): New function.
37433 (test_main): Use it.
37434 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37435 Support strcasecmp and strncasecmp.
37436
37437 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37438
37439 [BZ #12194]
37440 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37441 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37442
37443 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37444
37445 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37446 IFUNC support.
37447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37448 memset-x86-64.
37449 * sysdeps/x86_64/multiarch/bzero.S: New file.
37450 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37451 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37452 * sysdeps/x86_64/multiarch/memset.S: New file.
37453 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37455 Set bit_Prefer_SSE_for_memop for Intel processors.
37456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37457 Define.
37458 (index_Prefer_SSE_for_memop): Define.
37459 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37460
37461 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37462
37463 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37464 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37465
37466 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37467
37468 [BZ #12191]
37469 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37470 (__x86_64_raw_data_cache_size_half): Likewise.
37471 (__x86_64_raw_shared_cache_size): Likewise.
37472 (__x86_64_raw_shared_cache_size_half): Likewise.
37473
37474 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37475 (__x86_64_raw_data_cache_size_half): Likewise.
37476 (__x86_64_raw_shared_cache_size): Likewise.
37477 (__x86_64_raw_shared_cache_size_half): Likewise.
37478 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37479 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37480 and __x86_64_raw_shared_cache_size_half. Round
37481 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37482 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37483 to multiple of 256 bytes.
37484
37485 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37486
37487 [BZ #12167]
37488 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37489 of inacessible symlinks. Verify result of symlink before returning it.
37490 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37491 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37492
37493 2010-10-28 Erich Ritz <erichritz@gmail.com>
37494
37495 * math/math.h (isinf): Fix typo in comment.
37496
37497 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37498
37499 * po/da.po: Update from translation team.
37500
37501 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37502
37503 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37504 is added to the list.
37505
37506 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37507 Ulrich Drepper <drepper@gmail.com>
37508
37509 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37510 the global list here. Move code to...
37511 (_dl_add_to_namespace_list): ...here. New function.
37512 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37513 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37514 * elf/dl-load.c (lose): Don't remove the element from the list.
37515 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37516 (_dl_map_object): Likewise.
37517
37518 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37519
37520 [BZ #12159]
37521 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37522 into all bytes of SSE register.
37523 Patch by Richard Li <richardpku@gmail.com>.
37524
37525 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37526
37527 [BZ #12140]
37528 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37529 perturbing.
37530
37531 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37532
37533 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37534 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37536 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37538 submachine.
37539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37540
37541 2010-10-22 Andreas Schwab <schwab@redhat.com>
37542
37543 * include/dlfcn.h (__RTLD_SECURE): Define.
37544 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37545 mode & __RTLD_SECURE instead.
37546 (open_path): Rename preloaded parameter to secure.
37547 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37548 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37549 * elf/dl-deps.c (openaux): Likewise.
37550 * elf/rtld.c (struct map_args): Remove is_preloaded.
37551 (map_doit): Don't use it.
37552 (dl_main): Likewise.
37553 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37554 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37555
37556 2010-09-09 Andreas Schwab <schwab@redhat.com>
37557
37558 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37559 (sysd-rules-targets): Remove duplicates.
37560 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37561 rtld-%.$o dependency.
37562
37563 2010-10-18 Andreas Schwab <schwab@redhat.com>
37564
37565 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37566 _dl_map_object do it.
37567
37568 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37569
37570 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37571 fast fma builtins, define the macros in the C99 standard.
37572 (FP_FAST_FMAF): Likewise.
37573 (FP_FAST_FMAL): Likewise.
37574 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37575
37576 * bits/mathdef.h: Update copyright year.
37577 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37578
37579 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37580
37581 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37582 builtins, define the macros in the C99 standard.
37583 (FP_FAST_FMAF): Likewise.
37584 (FP_FAST_FMAL): Likewise.
37585 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37586 multiply/add.
37587 (FP_FAST_FMAF): Likewise.
37588
37589 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37590
37591 [BZ #3268]
37592 * math/libm-test.inc (fma_test): Some new testcases.
37593 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37594 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37595 y and infinite z. Do multiplication by C already in long double.
37596 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37598 y and infinite z. Do bitwise or of inexact bit into u.d.
37599 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37600 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37601 * sysdeps/i386/fpu/s_fma.S: Removed.
37602 * sysdeps/i386/fpu/s_fmal.S: Removed.
37603
37604 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37605
37606 [BZ #3268]
37607 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37609 computation is not scheduled after fetestexcept. Fix value
37610 of minimum denormal long double.
37611
37612 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37613
37614 [BZ #3268]
37615 * math/libm-test.inc (fma_test): Add some more tests.
37616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37617 correctly.
37618
37619 2010-10-15 Andreas Schwab <schwab@redhat.com>
37620
37621 * scripts/data/localplt-s390-linux-gnu.data: New file.
37622 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37623
37624 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37625
37626 [BZ #3268]
37627 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37628 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37629 instead of dbl-64.
37630 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37631 inlines.
37632 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37634 if one of x and y is very large and the other is subnormal.
37635 * sysdeps/s390/fpu/s_fmaf.c: New file.
37636 * sysdeps/s390/fpu/s_fma.c: New file.
37637 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37638 * sysdeps/powerpc/fpu/s_fma.S: New file.
37639 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37640 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37641 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37642
37643 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37644
37645 [BZ #3268]
37646 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37647 fma tests.
37648 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37649 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37650 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37651 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37652 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37653 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37655
37656 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37657
37658 [BZ #12078]
37659 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37660 * posix/bug-regex31.input: Add test case.
37661
37662 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37663
37664 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37665 * posix/bug-regex31.input: New file.
37666
37667 [BZ #12078]
37668 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37669 (parse_sub_exp): Fix last change, use postorder.
37670
37671 * posix/bug-regex31.c: New file.
37672 * posix/Makefile: Add rules to build and run bug-regex31.
37673
37674 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37675
37676 [BZ #12078]
37677 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37678
37679 [BZ #12108]
37680 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37681 to have entries in sys_siglist.
37682
37683 [BZ #12093]
37684 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37685 be NULL.
37686
37687 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37688
37689 [BZ #3268]
37690 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37691 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37692 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37693 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37694 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37695 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37696 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37697 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37698 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37699 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37700 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37701 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37702 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37703 * math/ftestexcept.c (fetestexcept): Likewise.
37704 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37705 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37706 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37707 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37708 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37709 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37710 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37711
37712 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37713
37714 [BZ #12107]
37715 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37716 newline.
37717
37718 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37719
37720 * string/bug-strstr1.c: New file.
37721 * string/Makefile: Add rules to build and run bug-strstr1.
37722
37723 2010-10-05 Eric Blake <eblake@redhat.com>
37724
37725 [BZ #12092]
37726 * string/str-two-way.h (two_way_long_needle): Always clear memory
37727 when skipping input due to the shift table.
37728
37729 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37730
37731 [BZ #12005]
37732 * malloc/mcheck.c: Handle large requests.
37733
37734 [BZ #12077]
37735 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37736 for strncmp and strncasecmp.
37737 * string/stratcliff.c: Add tests for strcmp and strncmp.
37738 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37739
37740 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37741
37742 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37743 __set_fpscr.
37744
37745 2010-09-30 Andreas Jaeger <aj@suse.de>
37746
37747 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37748 (CGROUP_SUPER_MAGIC): Define.
37749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37750 Handle btrfs and cgroup file systems.
37751 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37752 Likewise.
37753
37754 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37755
37756 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37757 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37758
37759 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37760
37761 [BZ #12067]
37762 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37763 trying to locate the ELF header.
37764
37765 2010-09-27 Andreas Schwab <schwab@redhat.com>
37766
37767 [BZ #11611]
37768 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37769 Mask out sign-bit copies when constructing f_fsid.
37770
37771 2010-09-24 Petr Baudis <pasky@suse.cz>
37772
37773 * debug/stack_chk_fail_local.c: Add missing licence exception.
37774 * debug/warning-nop.c: Likewise.
37775
37776 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37777
37778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37779 implementing getdents64 using getdents syscall, set d_type if
37780 __ASSUME_GETDENTS32_D_TYPE.
37781
37782 2010-09-16 Andreas Schwab <schwab@redhat.com>
37783
37784 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37785 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37786
37787 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37788
37789 [BZ #12037]
37790 * posix/unistd.h: Undo change of feature selection for ftruncate from
37791 2010-01-11.
37792
37793 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37794
37795 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37796 detection.
37797
37798 2010-09-20 Andreas Schwab <schwab@redhat.com>
37799
37800 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37801 fanotify_mark.
37802 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37803
37804 2010-09-14 Andreas Schwab <schwab@redhat.com>
37805
37806 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37807 variables after CHECK_SP call.
37808 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37809
37810 2010-09-13 Andreas Schwab <schwab@redhat.com>
37811 Ulrich Drepper <drepper@redhat.com>
37812
37813 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37814 re-relocationg ld.so.
37815 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37816 _dl_init_paths call.
37817 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37818 here anymore.
37819
37820 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37821
37822 * resolv/res_init.c (__res_vinit): Count the default server we added.
37823
37824 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37825 Ulrich Drepper <drepper@redhat.com>
37826
37827 [BZ #11968]
37828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37829 (____longjmp_chk): Use %ebx for saving value across system call.
37830 Add unwind info.
37831
37832 2010-09-06 Andreas Schwab <schwab@redhat.com>
37833
37834 * manual/Makefile: Don't mix pattern rules with normal rules.
37835
37836 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37837
37838 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37839 operation.
37840 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37841 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37842 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37843 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37845 Likewise.
37846
37847 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37848
37849 [BZ #11979]
37850 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37851 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37852
37853 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37854
37855 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37856 * sysdeps/x86_64/addmul_1.S: Likewise.
37857 * sysdeps/x86_64/lshift.S: Likewise.
37858 * sysdeps/x86_64/mul_1.S: Likewise.
37859 * sysdeps/x86_64/rshift.S: Likewise.
37860 * sysdeps/x86_64/sub_n.S: Likewise.
37861 * sysdeps/x86_64/submul_1.S: Likewise.
37862
37863 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37864
37865 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37866 Define __sched_param instead of SCHED_* and sched_param when
37867 <bits/sched.h> is included with __need_schedparam defined.
37868 * bits/sched.h [__need_schedparam]
37869 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37870 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37871 (__defined_schedparam): Define to 1.
37872 (__sched_param): New structure, identical to sched_param.
37873 (__need_schedparam): Undefine.
37874
37875 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37876
37877 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37878 (epoll_create1): Declare.
37879
37880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37881
37882 2010-08-31 Andreas Schwab <schwab@redhat.com>
37883
37884 [BZ #7066]
37885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37886 shifting retval into place.
37887
37888 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37889
37890 * nis/rpcsvc/nis.h: Update copyright notice.
37891 * nis/rpcsvc/nis.x: Likewise.
37892 * nis/rpcsvc/nis_callback.h: Likewise.
37893 * nis/rpcsvc/nis_callback.x: Likewise.
37894 * nis/rpcsvc/nis_object.x: Likewise.
37895 * nis/rpcsvc/nis_tags.h: Likewise.
37896 * nis/rpcsvc/yp.h: Likewise.
37897 * nis/rpcsvc/yp.x: Likewise.
37898 * nis/rpcsvc/ypupd.h: Likewise.
37899 * nis/yp_xdr.c: Likewise.
37900 * nis/ypupdate_xdr.c: Likewise.
37901
37902 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37903 mainly the body of pmap_getport. Add parameters to specify timeouts.
37904 (pmap_getport): Use __libc_rpc_getport.
37905 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37906 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37907 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37908
37909 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37910
37911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37912 fanotify_mark.
37913
37914 2010-08-27 Roland McGrath <roland@redhat.com>
37915
37916 * sysdeps/i386/i686/multiarch/Makefile
37917 (CFLAGS-varshift.c): New variable.
37918
37919 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37920
37921 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37922 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37923
37924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37925
37926 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37927
37928 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37929
37930 * sysdeps/x86_64/strlen.S: Unroll the loop.
37931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37932 strlen-sse2 strlen-sse2-bsf.
37933 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37934 __strlen_no_bsf if bit_Slow_BSF is set.
37935 (__strlen_sse42): Removed.
37936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37937 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37938
37939 2010-08-25 Roland McGrath <roland@redhat.com>
37940
37941 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37942 * sysdeps/x86_64/multiarch/varshift.c: New file.
37943 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37944 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37945 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37946 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37947
37948 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37949
37950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37951 strlen-sse2 strlen-sse2-bsf.
37952 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37953 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37954 (__strlen_sse2): Removed.
37955 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37956 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37958 bit_Slow_BSF for Atom.
37959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37960 (index_Slow_BSF): Define.
37961 (HAS_SLOW_BSF): Define.
37962
37963 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37964
37965 [BZ #10851]
37966 * resolv/res_init.c (__res_vinit): When no server address at all
37967 is given default to loopback.
37968
37969 2010-08-24 Roland McGrath <roland@redhat.com>
37970
37971 * configure.in: Remove config-name.h generation.
37972 * configure: Regenerated.
37973 * config-name.in: File removed.
37974 * scripts/config-uname.sh: New file.
37975 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37976 ($(objdir)config-name.h): New target.
37977
37978 * sunrpc/rpc_parse.h: Avoid nested comment.
37979
37980 2010-08-24 Richard Henderson <rth@redhat.com>
37981 Ulrich Drepper <drepper@redhat.com>
37982 H.J. Lu <hongjiu.lu@intel.com>
37983
37984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37986 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37987 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37988 _mm_alignr_epi8 with _mm_loadu_si128.
37989 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37990 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37991 (__m128i_shift_right): Removed.
37992 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37993 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37994 * sysdeps/x86_64/multiarch/varshift.h: New file.
37995 * sysdeps/x86_64/multiarch/varshift.S: New file.
37996
37997 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37998
37999 * configure.in: Move assembler checks to before sysdep dir checking.
38000
38001 2010-08-20 Petr Baudis <pasky@suse.cz>
38002
38003 * LICENSES: Sync the sunrpc license.
38004
38005 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38006
38007 * sunrpc/auth_des.c: Update copyright notice once again.
38008 * sunrpc/auth_none.c: Likewise.
38009 * sunrpc/auth_unix.c: Likewise.
38010 * sunrpc/authdes_prot.c: Likewise.
38011 * sunrpc/authuxprot.c: Likewise.
38012 * sunrpc/bindrsvprt.c: Likewise.
38013 * sunrpc/clnt_gen.c: Likewise.
38014 * sunrpc/clnt_perr.c: Likewise.
38015 * sunrpc/clnt_raw.c: Likewise.
38016 * sunrpc/clnt_simp.c: Likewise.
38017 * sunrpc/clnt_tcp.c: Likewise.
38018 * sunrpc/clnt_udp.c: Likewise.
38019 * sunrpc/clnt_unix.c: Likewise.
38020 * sunrpc/des_crypt.c: Likewise.
38021 * sunrpc/des_soft.c: Likewise.
38022 * sunrpc/get_myaddr.c: Likewise.
38023 * sunrpc/getrpcport.c: Likewise.
38024 * sunrpc/key_call.c: Likewise.
38025 * sunrpc/key_prot.c: Likewise.
38026 * sunrpc/openchild.c: Likewise.
38027 * sunrpc/pm_getmaps.c: Likewise.
38028 * sunrpc/pm_getport.c: Likewise.
38029 * sunrpc/pmap_clnt.c: Likewise.
38030 * sunrpc/pmap_prot.c: Likewise.
38031 * sunrpc/pmap_prot2.c: Likewise.
38032 * sunrpc/pmap_rmt.c: Likewise.
38033 * sunrpc/rpc/auth.h: Likewise.
38034 * sunrpc/rpc/auth_unix.h: Likewise.
38035 * sunrpc/rpc/clnt.h: Likewise.
38036 * sunrpc/rpc/des_crypt.h: Likewise.
38037 * sunrpc/rpc/key_prot.h: Likewise.
38038 * sunrpc/rpc/netdb.h: Likewise.
38039 * sunrpc/rpc/pmap_clnt.h: Likewise.
38040 * sunrpc/rpc/pmap_prot.h: Likewise.
38041 * sunrpc/rpc/pmap_rmt.h: Likewise.
38042 * sunrpc/rpc/rpc.h: Likewise.
38043 * sunrpc/rpc/rpc_des.h: Likewise.
38044 * sunrpc/rpc/rpc_msg.h: Likewise.
38045 * sunrpc/rpc/svc.h: Likewise.
38046 * sunrpc/rpc/svc_auth.h: Likewise.
38047 * sunrpc/rpc/types.h: Likewise.
38048 * sunrpc/rpc/xdr.h: Likewise.
38049 * sunrpc/rpc_clntout.c: Likewise.
38050 * sunrpc/rpc_cmsg.c: Likewise.
38051 * sunrpc/rpc_common.c: Likewise.
38052 * sunrpc/rpc_cout.c: Likewise.
38053 * sunrpc/rpc_dtable.c: Likewise.
38054 * sunrpc/rpc_hout.c: Likewise.
38055 * sunrpc/rpc_main.c: Likewise.
38056 * sunrpc/rpc_parse.c: Likewise.
38057 * sunrpc/rpc_parse.h: Likewise.
38058 * sunrpc/rpc_prot.c: Likewise.
38059 * sunrpc/rpc_sample.c: Likewise.
38060 * sunrpc/rpc_scan.c: Likewise.
38061 * sunrpc/rpc_scan.h: Likewise.
38062 * sunrpc/rpc_svcout.c: Likewise.
38063 * sunrpc/rpc_tblout.c: Likewise.
38064 * sunrpc/rpc_util.c: Likewise.
38065 * sunrpc/rpc_util.h: Likewise.
38066 * sunrpc/rpcinfo.c: Likewise.
38067 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38068 * sunrpc/rpcsvc/key_prot.x: Likewise.
38069 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38070 * sunrpc/rpcsvc/mount.x: Likewise.
38071 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38072 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38073 * sunrpc/rpcsvc/rex.x: Likewise.
38074 * sunrpc/rpcsvc/rstat.x: Likewise.
38075 * sunrpc/rpcsvc/rusers.x: Likewise.
38076 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38077 * sunrpc/rpcsvc/spray.x: Likewise.
38078 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38079 * sunrpc/rtime.c: Likewise.
38080 * sunrpc/svc.c: Likewise.
38081 * sunrpc/svc_auth.c: Likewise.
38082 * sunrpc/svc_authux.c: Likewise.
38083 * sunrpc/svc_raw.c: Likewise.
38084 * sunrpc/svc_run.c: Likewise.
38085 * sunrpc/svc_simple.c: Likewise.
38086 * sunrpc/svc_tcp.c: Likewise.
38087 * sunrpc/svc_udp.c: Likewise.
38088 * sunrpc/svc_unix.c: Likewise.
38089 * sunrpc/svcauth_des.c: Likewise.
38090 * sunrpc/xcrypt.c: Likewise.
38091 * sunrpc/xdr.c: Likewise.
38092 * sunrpc/xdr_array.c: Likewise.
38093 * sunrpc/xdr_float.c: Likewise.
38094 * sunrpc/xdr_mem.c: Likewise.
38095 * sunrpc/xdr_rec.c: Likewise.
38096 * sunrpc/xdr_ref.c: Likewise.
38097 * sunrpc/xdr_sizeof.c: Likewise.
38098 * sunrpc/xdr_stdio.c: Likewise.
38099
38100 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38101 handling.
38102
38103 2010-08-19 Andreas Schwab <schwab@redhat.com>
38104
38105 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38106
38107 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38108
38109 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38111 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38112 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38113 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38114 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38115 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38116 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38117 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38118 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38119 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38120 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38121 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38122 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38123
38124 2010-07-26 Anton Blanchard <anton@samba.org>
38125
38126 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38127 * malloc/arena.c (heap_trim): Likewise.
38128
38129 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38130
38131 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38132 here. Not...
38133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38134 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38135
38136 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38137
38138 * sysdeps/i386/elf/Makefile: New file.
38139
38140 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38141
38142 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38143 from fanotify_init.
38144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38146
38147 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38148
38149 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38150 of strncasecmp_l.
38151 * sysdeps/multiarch/strcmp.S: Likewise.
38152
38153 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38154
38155 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38156 strncase_l-nonascii.
38157 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38158 Add strncase_l-ssse3.
38159 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38160 * sysdeps/x86_64/strcmp.S: Likewise.
38161 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38162 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38163 * sysdeps/x86_64/strncase.S: New file.
38164 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38165 * sysdeps/x86_64/strncase_l.S: New file.
38166 * string/Makefile (strop-tests): Add strncasecmp.
38167 * string/test-strncasecmp.c: New file.
38168
38169 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38170 warning.
38171
38172 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38173 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38174
38175 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38176
38177 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38178
38179 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38180
38181 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38182 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38183 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38184
38185 2010-05-01 Alan Modra <amodra@gmail.com>
38186
38187 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38188 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38189 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38190 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38191 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38192 tidying. Don't tail-call __sigjmp_save for static lib.
38193 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38194 save location.
38195 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38196 (CALL_MCOUNT): Add eh info, and nop after bl.
38197 (TAIL_CALL_SYSCALL_ERROR): New macro.
38198 (PSEUDO_RET): Use it.
38199 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38200 Correct save location of integer regs and cr.
38201 (_dl_profile_resolve): Correct cr save location. Delete nops
38202 after bl when SHARED. Reduce cfi size a little by better
38203 placement of cfi directives.
38204 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38205 make a stack frame. Instead use parm save area as a temp.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38207 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38209 Don't make a stack frame for parent, use parm save area.
38210 Increase child stack frame to 112 bytes. Don't save unused reg,
38211 and adjust reg usage. Set up cfi on error recovery and
38212 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38214 (__makecontext): Add dummy nop after jump to exit.
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38216 Use correct parm save area and cr save, reduce stack frame.
38217 Correct cfi for possible PSEUDO_RET frame setup.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38219 Branch to local label emitted by PSEUDO_RET rather than
38220 __syscall_error.
38221
38222 2010-08-12 Andreas Schwab <schwab@redhat.com>
38223
38224 [BZ #11904]
38225 * locale/programs/locale.c (print_assignment): New function.
38226 (show_locale_vars): Use it.
38227
38228 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38229
38230 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38231 field.
38232 (struct statfs64): Likewise.
38233 (_STATFS_F_FLAGS): Define.
38234 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38235 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38236 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38237 (ST_VALID): Define locally.
38238 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38239 __statvfs_getflags, use the provided value.
38240 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38241 __ASSUME_STATFS_F_FLAGS.
38242
38243 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38244
38245 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38246 Add sys/fanotify.h.
38247 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38248 fanotify_mask for GLIBC_2.13.
38249 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38250 fanotify_init and fanotify_mark.
38251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38252 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38253
38254 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38255 Add prlimit.
38256 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38257 prlimit64 for GLIBC_2.13.
38258 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38259 prlimit64.
38260 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38261 syscall.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38263 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38264 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38265 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38267 add prlimit alias.
38268 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38269
38270 [BZ #11903]
38271 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38272 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38273
38274 * nss/Makefile: Add rules to build and run tst-nss-test1.
38275 * shlib-versions: Add entry for libnss_test1.
38276 * nss/nss_test1.c: New file.
38277 * nss/tst-nss-test1.c: New file.
38278
38279 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38280 (__nss_configure_lookup): Set appropriate entry in
38281 __nss_configure_lookup to true.
38282 * nss/nsswitch.h: Define enum with indeces of databases in
38283 databases and __nss_database_custom arrays. Declare
38284 __nss_database_custom.
38285 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38286 to avoid using nscd when custom rules are installed.
38287 * nss/getXXbyYY_r.c: Likewise.
38288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38289
38290 * nss/nss_files/files-parse.c: Whitespace fixes.
38291
38292 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38293
38294 [BZ #11883]
38295 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38296 * posix/fnmatch_loop.c: Likewise.
38297
38298 2010-07-17 Andi Kleen <ak@linux.intel.com>
38299
38300 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38301 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38302 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38303 * Versions.def [GLIBC_2.13]: Add.
38304
38305 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38306
38307 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38308 Also fail if tpwd after pwuid call is NULL.
38309
38310 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38311
38312 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38313 when converting to ms.
38314
38315 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38316
38317 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38318 EOPNOTSUPP errors with ENOTTY.
38319 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38320 EOPNOTSUPP errors with ENOTTY.
38321
38322 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38323
38324 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38325 Add strcasecmp_l-ssse3.
38326 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38327 strcasecmp.
38328 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38329 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38330 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38331
38332 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38333
38334 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38335
38336 * string/Makefile (strop-tests): Add strcasecmp.
38337 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38338 strcasecmp_l-nonascii.
38339 (gen-as-const-headers): Add locale-defines.sym.
38340 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38341 * sysdeps/x86_64/strcasecmp.S: New file.
38342 * sysdeps/x86_64/strcasecmp_l.S: New file.
38343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38344 * sysdeps/x86_64/locale-defines.sym: New file.
38345 * string/test-strcasecmp.c: New file.
38346
38347 * string/test-strcasestr.c: Test both ends of the range of characters.
38348 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38349
38350 2010-07-29 Roland McGrath <roland@redhat.com>
38351
38352 [BZ #11856]
38353 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38354
38355 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38356
38357 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38358 for ld.so.
38359
38360 2010-07-27 Andreas Schwab <schwab@redhat.com>
38361
38362 * manual/memory.texi (Malloc Tunable Parameters): Document
38363 M_PERTURB.
38364
38365 2010-07-26 Roland McGrath <roland@redhat.com>
38366
38367 [BZ #11840]
38368 * configure.in (-fgnu89-inline check): Set and substitute
38369 gnu89_inline, not libc_cv_gnu89_inline.
38370 * configure: Regenerated.
38371 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38372
38373 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38374
38375 * string/test-strnlen.c: New file.
38376 * string/Makefile (strop-tests): Add strnlen.
38377 * string/tester.c (test_strnlen): Add a few more test cases.
38378 * string/tst-strlen.c: Better error reporting.
38379
38380 * sysdeps/x86_64/strnlen.S: New file.
38381
38382 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38383
38384 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38385 lower-latency instructions.
38386
38387 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38388
38389 * string/test-strcasestr.c: New file.
38390 * string/test-strstr.c: New file.
38391 * string/Makefile (strop-tests): Add strstr and strcasestr.
38392 * string/str-two-way.h: Don't undefine MAX.
38393 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38394
38395 2010-07-21 Andreas Schwab <schwab@redhat.com>
38396
38397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38398 strcasestr-nonascii.
38399 (CFLAGS-strcasestr-nonascii.c): Define.
38400 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38401 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38402 Remove unused attribute.
38403
38404 2010-07-20 Roland McGrath <roland@redhat.com>
38405
38406 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38407 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38408 ld.so.cache was broken. With it, there is no way to disable dsocaps
38409 like LD_HWCAP_MASK can disable hwcaps.
38410
38411 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38412
38413 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38414
38415 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38416
38417 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38418 call in strcasestr.
38419 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38420 __strcasestr_sse42_nonascii.
38421 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38422 strcasestr-nonascii.c.
38423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38424
38425 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38426
38427 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38428 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38429 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38430 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38431
38432 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38433
38434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38435 fcntl.
38436
38437 2010-07-06 Andreas Schwab <schwab@redhat.com>
38438
38439 [BZ #11577]
38440 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38441 dl_signal_cerror.
38442
38443 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38444
38445 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38446 _PC_PIPE_BUF using F_GETPIPE_SZ.
38447
38448 2010-07-05 Roland McGrath <roland@redhat.com>
38449
38450 * manual/arith.texi (Rounding Functions): Fix rint description
38451 implicit in round description.
38452
38453 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38454
38455 * elf/Makefile: Fix linking for a few tests to make recent linker
38456 happy.
38457
38458 2010-06-30 Andreas Schwab <schwab@redhat.com>
38459
38460 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38461 $(common-objpfx)libc_nonshared.a.
38462
38463 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38464
38465 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38466 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38467 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38468 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38469 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38470 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38471 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38472 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38487 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38488 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38489 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38490 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38491 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38492 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38493 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38494 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38495 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38496 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38497 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38498 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38513
38514 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38515
38516 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38517 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38518 * string/memmove.c (memmove): Renamed to ...
38519 (MEMMOVE): ...this. Default to memmove.
38520 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38521 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38522 (END_CHK): Define.
38523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38524 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38525 mempcpy-ssse3-back memmove-ssse3-back.
38526 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38529 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38530 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38531 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38532 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38533 * sysdeps/x86_64/multiarch/memmove.c: New file.
38534 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38535 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38536 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38537 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38538 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38540 Define.
38541 (index_Fast_Copy_Backward): Define.
38542 (HAS_ARCH_FEATURE): Define.
38543 (HAS_FAST_REP_STRING): Define.
38544 (HAS_FAST_COPY_BACKWARD): Define.
38545
38546 2010-06-21 Andreas Schwab <schwab@redhat.com>
38547
38548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38549 Restore proper fallback handling.
38550
38551 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38552
38553 [BZ #11701]
38554 * posix/group_member.c (__group_member): Correct checking loop.
38555
38556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38557 OOM in getpwuid_r correctly. Return error number when the caller
38558 should return, otherwise -1.
38559 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38560 call returning > 0 value.
38561 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38562
38563 2010-06-07 Andreas Schwab <schwab@redhat.com>
38564
38565 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38566 libc_nonshared.a from targets in modules-names.
38567
38568 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38569
38570 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38571 requires it.
38572
38573 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38574
38575 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38576 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38579
38580 2010-06-02 Andreas Schwab <schwab@redhat.com>
38581
38582 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38583
38584 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38585
38586 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38587 and F_GETPIPE_SZ.
38588 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38592 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38594
38595 2010-06-14 Roland McGrath <roland@redhat.com>
38596
38597 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38598
38599 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38600
38601 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38602 __REDIRECT followed by __THROW.
38603 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38604 * posix/getopt.h (getopt): Likewise.
38605
38606 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38607
38608 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38609 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38610 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38611 in AT_FLAGS.
38612 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38613 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38614
38615 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38616
38617 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38618
38619 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38620
38621 [BZ #11640]
38622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38623 Properly check family and model.
38624
38625 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38626
38627 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38628
38629 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38630
38631 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38632
38633 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38634
38635 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38636 symbol reference.
38637
38638 2010-05-19 Andreas Schwab <schwab@redhat.com>
38639
38640 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38641 symbol reference.
38642
38643 2010-05-21 Andreas Schwab <schwab@redhat.com>
38644
38645 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38646 and internal_recvmmsg.
38647 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38648 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38649 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38650 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38651
38652 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38653 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38654 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38655
38656 2010-05-20 Andreas Schwab <schwab@redhat.com>
38657
38658 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38659
38660 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38661
38662 POWER7 optimizations.
38663 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38664 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38665
38666 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38667
38668 * version.h: Update for 2.13 development version.
38669
38670 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38671
38672 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38673 exceptions. Return 0.
38674
38675 2010-05-07 Roland McGrath <roland@redhat.com>
38676
38677 * elf/ldconfig.c (main): Add a const.
38678
38679 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38680
38681 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38682 (args_options): Add no-idn option.
38683 (ahosts_keys_int): Add idn_flags to ai_flags.
38684 (parse_option): Handle 'i' option to clear idn_flags.
38685
38686 * malloc/malloc.c (_int_free): Possible race in the most recently
38687 added check. Only act on the data if no current modification
38688 happened.
38689
38690 See ChangeLog.17 for earlier changes.