]> sourceware.org Git - glibc.git/blob - ChangeLog
Update Vietnamese translations
[glibc.git] / ChangeLog
1 2014-01-10 Allan McRae <allan@archlinux.org>
2
3 * po/vi.po: Update Vietnamese translation from translation project.
4
5 * po/eo.po: Update Esperanto translation from translation project.
6
7 * po/cs.po: Update Czech translation from translation project.
8
9 * po/nl.po: Update Dutch translation from translation project.
10
11 * po/pl.po: Update Polish translation from translation project.
12
13 * po/ru.po: Update Russian translation from translation project.
14
15 * po/uk.po: Update Ukrainian translation from translation project.
16
17 2014-01-08 Brooks Moses <bmoses@google.com>
18
19 * elf/dl-load.c: Fix comment typo.
20
21 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22
23 * po/header.pot: Rename to...
24 * po/pot.header: ... this.
25 * po/Makefile: Use pot.header.
26
27 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28 Maxim Kuvyrkov <maxim@kugelworks.com>
29
30 [BZ #16394]
31 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32 SRC and DEST against LEN.
33
34 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 [BZ #16414]
37 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38 implementation.
39 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40
41 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42
43 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44
45 2014-01-08 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #16408]
48 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49 for large positive arguments.
50
51 2014-01-07 Joseph Myers <joseph@codesourcery.com>
52
53 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54
55 * math/auto-libm-test-in: Mark various tests with
56 xfail-rounding:ldbl-128ibm.
57 * math/auto-libm-test-out: Regenerated.
58
59 [BZ #16407]
60 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
61 Increase overflow threshold.
62
63 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
64
65 [BZ #14286]
66 * stdio-common/vfprintf.c: Check for integer overflow.
67
68 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69
70 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
71 the first argument and return value of __tls_get_addr_internal.
72
73 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74
75 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
76 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
77
78 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79
80 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
81 * sysdeps/s390/rtld-global-offsets.sym: New file.
82 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
83 GLIBC_2.19 symbol.
84 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
85 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
86 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
87 ... this.
88 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
89 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
90 ... this.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
92 Regenerate.
93 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
94 Regenerate.
95 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
96 halfs of GPRs for high_gprs contexts.
97 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
98 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
99 field.
100 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
101 uc_flags field.
102 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
103 64 bit versions:
104 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
105 for high GPRs (uc_high_gprs) and for future extensions
106 (__reserved).
107 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
108 for future extensions (__reserved).
109 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
110 64 bit versions:
111 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
112 SC_HIGHGPRS offset definition.
113 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
114 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
115
116 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
117
118 * Versions.def: Add GLIBC_2.19 for libpthread.
119 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
120 siglongjmp for libpthread with GLIBC_2.19 symver.
121 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
122 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
123 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
124 * sysdeps/s390/__longjmp.c: New file.
125 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
126 * sysdeps/s390/longjmp.c: New file.
127 * sysdeps/s390/setjmp.S: New file.
128 * sysdeps/s390/sigjmp.S: New file.
129 * sysdeps/s390/v1-longjmp.c: New file.
130 * sysdeps/s390/v1-setjmp.h: New file.
131 * sysdeps/s390/v1-sigjmp.c: New file.
132 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
133 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
134 GLIBC_2.19 version.
135 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
136 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
137 versioned symbols for ____longjmp_chk.
138 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
139 Likewise.
140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
141 Regenerate.
142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
143 Regenerate.
144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
145 Regenerate.
146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
147 Regenerate.
148 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
149 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
150 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
151 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
152 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
153 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
154 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
155 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
156 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
157 * sysdeps/s390/rtld-__longjmp.c: New file.
158 * sysdeps/s390/rtld-setjmp.S: New file.
159
160 2014-01-06 Joseph Myers <joseph@codesourcery.com>
161
162 [BZ #16400]
163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
164 Return -__logl (x) for small positive arguments without evaluating
165 a polynomial.
166
167 2014-01-06 Mike Frysinger <vapier@gentoo.org>
168
169 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
170 Rename to ...
171 (__ptrace_peeksiginfo_args): ... this.
172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
175
176 2014-01-06 Allan McRae <allan@archlinux.org>
177
178 * inet/netinet/in.h: Fix typo in comment.
179
180 2014-01-05 Andreas Jaeger <aj@suse.de>
181
182 * sysdeps/i386/fpu/libm-test-ulps: Update.
183
184 2014-01-05 Allan McRae <allan@archlinux.org>
185
186 * po/libc.pot: Regenerated.
187
188 * malloc/memusagestat.c: Fix gettext call formatting.
189
190 2014-01-04 Sami Kerola <kerolasa@iki.fi>
191
192 * nscd/nscd.c: Improve usage() output.
193
194 2014-01-04 Mike Frysinger <vapier@gentoo.org>
195
196 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
197 * sysdeps/unix/sysv/linux/configure: Regenerated.
198 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
199 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
200
201 2014-01-03 Joseph Myers <joseph@codesourcery.com>
202
203 [BZ #16390]
204 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
205 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
206
207 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208
209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
210 extra tokens at end of #undef directive.
211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
212 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
213 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
214
215 2014-01-03 Andrew Hunter <ahh@google.com>
216
217 * elf/dl-open.c (dl_open_worker): New comment.
218 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
219 atomic_compare_and_exchange_bool_acq
220 (_dl_allocate_static_tls): Block signals.
221 * elf/dl-tls.c (allocate_and_init): Return void.
222 (_dl_update_slotinfo): Block signals, use atomic update.
223
224 2014-01-03 Joseph Myers <joseph@codesourcery.com>
225
226 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
227
228 * math/auto-libm-test-in: Mark various tests with
229 xfail-rounding:ldbl-128ibm.
230 * math/auto-libm-test-out: Regenerated.
231
232 2014-01-02 Joseph Myers <joseph@codesourcery.com>
233
234 [BZ #16386]
235 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
236 numbers with subnormal high part when calculating exponent.
237
238 [BZ #16385]
239 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
240 fabs.
241
242 [BZ #16384]
243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
244 M_LN2l.
245 (__ieee754_acoshl): Use __log1pl not __log1p.
246
247 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
248
249 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
250 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
251 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
252 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
253 Convert to GNU style.
254 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
255 mem2mem_check, mem2chunk_check, top_check, realloc_check,
256 memalign_check, __malloc_set_state): Likewise.
257 * malloc/mallocbug.c (main): Likewise.
258 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
259 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
260 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
261 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
262 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
263 * malloc/malloc.h: Likewise.
264 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
265 memalignhook, reallochook, mabort): Likewise.
266 * malloc/mcheck.h: Likewise.
267 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
268 mmap64, mremap, munmap, dest): Likewise.
269 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
270 * malloc/morecore.c (__default_morecore): Likewise.
271 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
272 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
273 _obstack_allocated_p, obstack_free, _obstack_memory_used,
274 print_and_abort): Likewise.
275 * malloc/obstack.h: Likewise.
276 * malloc/set-freeres.c (__libc_freeres): Likewise.
277 * malloc/tst-mallocstate.c (main): Likewise.
278 * malloc/tst-mtrace.c (main): Likewise.
279 * malloc/tst-realloc.c (do_test): Likewise.
280
281 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
282
283 [BZ #16366]
284 * nscd/netgroupcache.c (do_notfound): New function.
285 (addgetnetgrentX): Use it.
286
287 [BZ # 16365]
288 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
289 NSS_STATUS_NOTFOUND.
290
291 2014-01-01 Joseph Myers <joseph@codesourcery.com>
292
293 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295
296 2014-01-01 Allan McRae <allan@archlinux.org>
297
298 * scripts/update-copyrights: Update configure input file suffix.
299
300 * NEWS: Update copyright year.
301 * catgets/gencat.c: Likewise.
302 * csu/version.c: Likewise.
303 * debug/catchsegv.sh: Likewise.
304 * debug/pcprofiledump.c: Likewise.
305 * debug/xtrace.sh: Likewise.
306 * elf/ldconfig.c: Likewise.
307 * elf/ldd.bash.in: Likewise.
308 * elf/pldd.c: Likewise.
309 * elf/sotruss.ksh: Likewise.
310 * elf/sprof.c: Likewise.
311 * iconv/iconv_prog.c: Likewise.
312 * iconv/iconvconfig.c: Likewise.
313 * locale/programs/locale.c: Likewise.
314 * locale/programs/localedef.c: Likewise.
315 * login/programs/pt_chown.c: Likewise.
316 * malloc/memusage.sh: Likewise.
317 * malloc/memusagestat.c: Likewise.
318 * malloc/mtrace.pl: Likewise.
319 * manual/libc.texinfo: Likewise.
320 * nscd/nscd.c: Likewise.
321 * nss/getent.c: Likewise.
322 * nss/makedb.c: Likewise.
323 * posix/getconf.c: Likewise.
324 * scripts/test-installation.pl: Likewise.
325
326 * All files with FSF copyright notices: Update copyright dates
327 using scripts/update-copyrights.
328 * intl/plural.c: Regenerated.
329 * locale/programs/charmap-kw.h: Likewise.
330 * locale/programs/locfile-kw.h: Likewise.
331
332 2013-12-31 Mike Frysinger <vapier@gentoo.org>
333
334 * sysdeps/unix/sysv/linux/configure: Regenerated.
335 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
336 the linux/fanotify.h header.
337 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
338 HAVE_LINUX_FANOTIFY_H is defined.
339
340 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
341
342 * benchtests/cos-inputs: New inputs.
343 * benchtests/sin-inputs: Likewise.
344
345 * benchtests/atan-inputs: New inputs. Fix name of multiple
346 precision fallback inputs.
347
348 * benchtests/atanh-inputs: New inputs.
349 * benchtests/tanh-inputs: Likewise.
350
351 * benchtests/acosh-inputs: New inputs.
352 * benchtests/asinh-inputs: Likewise.
353
354 * benchtests/cosh-inputs: New inputs.
355 * benchtests/sinh-inputs: Likewise.
356
357 * benchtests/acos-inputs: Add more inputs.
358 * benchtests/asin-inputs: Likewise.
359
360 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
361
362 [BZ #16375]
363 * manual/arith.texi: Fix spelling.
364 * manual/charset.texi: Likewise.
365 * manual/errno.texi: Likewise.
366 * manual/filesys.texi: Likewise.
367 * manual/lang.texi: Likewise.
368 * manual/llio.texi: Likewise.
369 * manual/locale.texi: Likewise.
370 * manual/message.texi: Likewise.
371 * manual/resource.texi: Likewise.
372 * manual/search.texi: Likewise.
373 * manual/setjmp.texi: Likewise.
374 * manual/stdio.texi: Likewise.
375 * manual/string.texi: Likewise.
376 * manual/sysinfo.texi: Likewise.
377 * manual/time.texi: Likewise.
378
379 2013-12-27 Carlos O'Donell <carlos@redhat.com>
380
381 * po/sl.po: New file.
382
383 2013-12-27 Mike Frysinger <vapier@gentoo.org>
384
385 * .gitignore: Add core/.gdbinit/.gdb_history.
386
387 2013-12-27 Allan McRae <allan@archlinux.org>
388
389 [BZ #16369]
390 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
391 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
392
393 2013-12-24 Brooks Moses <bmoses@google.com>
394
395 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
396 all compilers that claim C++98 compliance, not just GCC.
397 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
398 Likewise.
399
400 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
401
402 * NEWS: Restore accidentally deleted bug-fix entries.
403
404 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
405 Ondřej Bílka <neleai@seznam.cz>
406
407 [BZ #15073]
408 * malloc/malloc.c (_int_free): Perform sanity check only if we
409 have_lock.
410
411 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
412
413 [BZ #12986]
414 * manual/stdio.texi (String Input Conversions): Clarify that character
415 classes are not supported.
416
417 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418
419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
420
421 2013-12-22 Joseph Myers <joseph@codesourcery.com>
422
423 [BZ #16337]
424 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
425 Calculate results for small negative arguments directly rather
426 than using reflection formula with special underflow handling.
427
428 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
429 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
430 sysdeps/unix/bsd/bsd4.4/syscalls.list.
431 (fchflags): Likewise.
432 (revoke): Likewise.
433 (setlogin): Likewise.
434 (sigaltstack): Likewise.
435 (wait4): Likewise.
436 (sigblock): Remove.
437 (sigsetmask): Likewise.
438 (wait3): Likewise.
439 (waitpid): Likewise.
440 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
441 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
442 file.
443 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
444 * sysdeps/unix/bsd/Makefile: ... here.
445 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
446 * sysdeps/unix/bsd/Versions: ... here.
447 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
448 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
449 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
450 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
451 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
452 * sysdeps/unix/bsd/sigblock.c: ... here.
453 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
454 * sysdeps/unix/bsd/sigsetmask.c: ... here.
455 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
456 * sysdeps/unix/bsd/sigvec.c: ... here.
457 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
458 * sysdeps/unix/bsd/tcdrain.c: ... here.
459 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
460 * sysdeps/unix/bsd/tcgetattr.c: ... here.
461 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
462 * sysdeps/unix/bsd/tcsetattr.c: ... here.
463 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
464 * sysdeps/unix/bsd/wait.c: ... here.
465 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
466 * sysdeps/unix/bsd/wait3.c: ... here.
467 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
468 * sysdeps/unix/bsd/waitpid.c: ... here.
469
470 2013-12-21 Joseph Myers <joseph@codesourcery.com>
471
472 [BZ #16356]
473 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
474 round-to-nearest for [!USE_AS_EXPM1L].
475 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
476 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
477 more tests of exp and exp10. Expect some exp10 tests to miss
478 exceptions or fail in directed rounding modes.
479 * math/auto-libm-test-out: Regenerated.
480 * math/libm-test.inc (exp10_tonearest_test_data): New array.
481 (exp10_test_tonearest): New function.
482 (exp10_towardzero_test_data): New array.
483 (exp10_test_towardzero): New function.
484 (exp10_downward_test_data): New array.
485 (exp10_test_downward): New function.
486 (exp10_upward_test_data): New array.
487 (exp10_test_upward): New function.
488 (main): Call the new functions.
489 * sysdeps/i386/fpu/libm-test-ulps: Update.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
491
492 2013-12-20 Joseph Myers <joseph@codesourcery.com>
493
494 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
495 asinh, atan, atan2, atanh, cbrt, cos and cosh.
496 * math/auto-libm-test-out: Regenerated.
497 * math/libm-test.inc (acosh_test_data): Add more tests.
498 (atanh_test_data): Likewise.
499 (ceil_test_data): Likewise.
500 (copysign_test_data): Likewise.
501 * sysdeps/i386/fpu/libm-test-ulps: Update.
502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
503
504 * timezone/checktab.awk: Update from tzcode 2013i.
505 * timezone/private.h: Likewise.
506 * timezone/scheck.c: Likewise.
507 * timezone/tzfile.h: Likewise.
508 * timezone/tzselect.ksh: Likewise.
509 * timezone/zdump.c: Likewise.
510 * timezone/zic.c: Likewise.
511
512 * math/auto-libm-test-in: Add tests of cpow.
513 * math/auto-libm-test-out: Regenerated.
514 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
515 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
516 mpc_cc_c.
517 (func_calc_desc): Add mpc_cc_c union field.
518 (test_functions): Add cpow.
519 (special_fill_2pi): New function.
520 (special_real_inputs): Add 2pi.
521 (calc_generic_results): Handle mpc_cc_c.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
524
525 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
526 csqrt, ctan and ctanh.
527 * math/auto-libm-test-out: Regenerated.
528 * math/libm-test.inc (TEST_COND_x86_64): New macro.
529 (TEST_COND_x86): Likewise.
530 (ccos_test_data): Use AUTO_TESTS_c_c.
531 (ccosh_test_data): Likewise.
532 (cexp_test_data): Likewise.
533 (clog_test_data): Likewise.
534 (csqrt_test_data): Likewise.
535 (ctan_test_data): Likewise.
536 (ctan_tonearest_test_data): Likewise.
537 (ctan_towardzero_test_data): Likewise.
538 (ctan_downward_test_data): Likewise.
539 (ctan_upward_test_data): Likewise.
540 (ctanh_test_data): Likewise.
541 (ctanh_tonearest_test_data): Likewise.
542 (ctanh_towardzero_test_data): Likewise.
543 (ctanh_downward_test_data): Likewise.
544 (ctanh_upward_test_data): Likewise.
545 * math/gen-auto-libm-tests.c (func_calc_method): Add value
546 mpc_c_c.
547 (func_calc_desc): Add mpc_c_c union field.
548 (FUNC_mpc_c_c): New macro.
549 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
550 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
551 ctanh.
552 (special_fill_min_subnorm_p120): New function.
553 (special_real_inputs): Add min_subnorm_p120.
554 (calc_generic_results): Handle mpc_c_c.
555 * sysdeps/i386/fpu/libm-test-ulps: Update.
556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557
558 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
559
560 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
561 do_sin_slow): New functions.
562 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
563 cslow2, csloww1, csloww2): Use the new functions.
564
565 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
566 Use M to change sign of result instead of X. Assume X is
567 positive.
568 (csloww1): Likewise.
569 (__sin): Adjust.
570 (__cos): Adjust.
571
572 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
573 arguments A and DA.
574 (__sin): Adjust.
575 (__cos): Likewise.
576
577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
578 (__cos): Likewise.
579 (sloww1): Don't adjust sign of DX.
580 (csloww1): Likewise.
581 (sloww2): Use X directly and don't adjust sign of DX.
582 (csloww2): Likewise.
583
584 2013-12-19 Joseph Myers <joseph@codesourcery.com>
585
586 * math/auto-libm-test-in: Add tests of cabs and carg.
587 * math/auto-libm-test-out: Regenerated.
588 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
589 (carg_test_data): Likewise.
590 * math/gen-auto-libm-tests.c (func_calc_method): Add value
591 mpc_c_f.
592 (func_calc_desc): Add mpc_c_f union field.
593 (test_functions): Add cabs and carg.
594 (calc_generic_results): Handle mpc_c_f.
595
596 * sysdeps/powerpc/powerpc32/libgcc-compat.S
597 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
598 as a macro and a compat symbol.
599 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
600 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
601 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
602 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
603 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
604 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
605 not use .hidden.
606 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
607 Likewise.
608 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
609 Likewise.
610 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
611 Likewise.
612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
613 Likewise.
614 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
615 Likewise.
616 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
617 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
618 from GLIBC_2.3.2.
619
620 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
621
622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
623
624 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
625
626 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
627 (__signal_safe_memalign, __signal_safe_free): Use it.
628 (__signal_safe_realloc): Likewise.
629
630 2013-12-19 Joseph Myers <joseph@codesourcery.com>
631
632 * manual/texinfo.tex: Update to version 2013-11-26.10 with
633 trailing whitespace removed.
634 * scripts/config.guess: Update to version 2013-11-29.
635 * scripts/config.sub: Update to version 2013-10-01.
636
637 * math/auto-libm-test-in: Add tests of sincos.
638 * math/auto-libm-test-out: Regenerated.
639 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
641 mpfr_f_11.
642 (func_calc_desc): Add mpfr_f_11 union field.
643 (test_functions): Add sincos.
644 (calc_generic_results): Handle mpfr_f_11.
645 * sysdeps/i386/fpu/libm-test-ulps: Update.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
647
648 2013-12-19 Andreas Schwab <schwab@suse.de>
649
650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
651 CALL_MCOUNT.
652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
654 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
655
656 2013-12-19 Joseph Myers <joseph@codesourcery.com>
657
658 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
661
662 [BZ #16293]
663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
664 round-to-nearest mode when using frndint.
665 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
666 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
668 Likewise.
669 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
670 sinh test to fail.
671 * math/auto-libm-test-out: Regenerated.
672 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
673 (TEST_COND_x86): Likewise.
674 (expm1_tonearest_test_data): New array.
675 (expm1_test_tonearest): New function.
676 (expm1_towardzero_test_data): New array.
677 (expm1_test_towardzero): New function.
678 (expm1_downward_test_data): New array.
679 (expm1_test_downward): New function.
680 (expm1_upward_test_data): New array.
681 (expm1_test_upward): New function.
682 (main): Run the new test functions.
683 * sysdeps/i386/fpu/libm-test-ulps: Update.
684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
685
686 * include/features.h: Update comment documenting feature test
687 macros. Mention _DEFAULT_SOURCE in comment.
688 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
689 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
690 _BSD_SOURCE and _SVID_SOURCE.
691 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
692 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
693 !_SVID_SOURCE]: Likewise.
694 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
695 (__USE_POSIX_IMPLICITLY): Define.
696 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
697 (_POSIX_SOURCE): Undefine and redefine.
698 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
699 (_POSIX_C_SOURCE): Likewise.
700 * manual/creature.texi (_DEFAULT_SOURCE): Document.
701 (Feature Test Macros): Update documentation of default features.
702
703 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
704
705 * benchtests/Makefile: Add bench-strtok.
706 * benchtests/bench-strtok.c: New file: strtok benchtest.
707
708 2013-12-19 Allan McRae <allan@archlinux.org>
709
710 * manual/install.texi: Suppress menu for plain text output.
711 * INSTALL: Regenerated.
712
713 2013-12-18 Andrew Hunter <ahh@google.com>
714
715 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
716 (__signal_safe_malloc, __signal_safe_free): Likewise.
717 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
718 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
719 (__signal_safe_memalign, __signal_safe_malloc): New function.
720 (__signal_safe_free, __signal_safe_realloc): Likewise.
721 (__signal_safe_calloc): Likewise.
722 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
723 functions.
724 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
725
726 2013-12-18 Andrew Hunter <ahh@google.com>
727
728 * elf/Versions (ld): Add _dl_clear_dtv.
729 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
730 * elf/dl-tls.c (_dl_clear_dtv): New function.
731 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
732
733 2013-12-18 Andrew Hunter <ahh@google.com>
734
735 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
736 (_dl_unmask_signals): Likewise.
737 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
738 (_dl_unmask_all_signals): Likewise.
739 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
740 (_dl_unmask_all_signals): Likewise.
741 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
742 (_dl_unmask_signals): Likewise.
743
744 2013-12-18 Brooks Moses <bmoses@google.com>
745
746 [BZ #15846]
747 * misc/getauxval.c: Include errno.h.
748 (__getauxval): Set errno to ENOENT if the requested type is not
749 found.
750 * misc/sys/auxv.h (getauxval): Document that it may set errno;
751 don't declare with __attribute_const__.
752 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
753 * manual/startup.texi: Document that getauxval sets errno.
754
755 2013-12-18 Joseph Myers <joseph@codesourcery.com>
756
757 * math/auto-libm-test-in: Add tests of jn and yn.
758 * math/auto-libm-test-out: Regenerated.
759 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
760 (yn_test_data): Likewise.
761 * math/gen-auto-libm-tests.c (func_calc_method): Add value
762 mpfr_if_f.
763 (func_calc_desc): Add mpfr_if_f union field.
764 (FUNC_mpfr_if_f): New macro.
765 (test_functions): Add jn and yn.
766 (calc_generic_results): Assert type of second input for
767 mpfr_ff_f. Handle mpfr_if_f.
768 (output_for_one_input_case): Disable all checking for arguments
769 fitting floating-point types in case of an integer argument.
770 * sysdeps/i386/fpu/libm-test-ulps: Update.
771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
772
773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
774 Don't expect fegetround reference in libm.so.
775
776 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
777
778 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
779 $(config-cflags-nofma).
780
781 2013-12-18 Joseph Myers <joseph@codesourcery.com>
782
783 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
784 * math/auto-libm-test-out: Regenerated.
785
786 [BZ #16338]
787 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
788 to determine exponent and adjust argument to have exponent of -1.
789 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
790 log2.
791 * math/auto-libm-test-out: Regenerated.
792 * sysdeps/i386/fpu/libm-test-ulps: Update.
793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
794
795 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
796
797 * manual/probes.texi: Remove cases when per-thread arenas are
798 disabled.
799
800 2013-12-18 Andreas Schwab <schwab@suse.de>
801
802 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
803 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
804 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
805 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
806 * sysdeps/i386/i686/multiarch/Makefile: Update.
807 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
808
809 2013-12-17 Joseph Myers <joseph@codesourcery.com>
810
811 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
812 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
813
814 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
815
816 Support TZ transition times < 00:00:00.
817 This is needed for version-3 tz-format files; it supports time
818 stamps past 2037 for America/Godthab (the only entry in the tz
819 database for which this change is relevant).
820 * manual/time.texi (TZ Variable): Document transition times
821 from -167:59:59 through -00:00:01.
822 * time/tzset.c (tz_rule): Time of day is now signed.
823 (__tzset_parse_tz): Parse negative time of day.
824
825 Document TZ transition times >= 25:00:00.
826 * manual/time.texi (TZ Variable): Document transition times from
827 25:00:00 through 167:59:59. These are already supported, and this
828 support will help with version-3 tz-format files.
829
830 * manual/time.texi (TZ Variable): Modernize North America example
831 to reflect current (i.e., 2007-and-later) daylight saving rules.
832
833 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
834
835 2013-12-17 Joseph Myers <joseph@codesourcery.com>
836
837 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
838 * sysdeps/unix/bsd/bits/stat.h: Likewise.
839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
841 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
842 * sysdeps/unix/bsd/bsdstat.h: Likewise.
843 * sysdeps/unix/bsd/clock.c: Likewise.
844 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
845 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
846 * sysdeps/unix/bsd/init-posix.c: Likewise.
847 * sysdeps/unix/bsd/poll.c: Likewise.
848 * sysdeps/unix/bsd/ptsname.c: Likewise.
849 * sysdeps/unix/bsd/seekdir.c: Likewise.
850 * sysdeps/unix/bsd/setegid.c: Likewise.
851 * sysdeps/unix/bsd/seteuid.c: Likewise.
852 * sysdeps/unix/bsd/setgid.c: Likewise.
853 * sysdeps/unix/bsd/setrgid.c: Likewise.
854 * sysdeps/unix/bsd/setruid.c: Likewise.
855 * sysdeps/unix/bsd/setsid.c: Likewise.
856 * sysdeps/unix/bsd/setuid.c: Likewise.
857 * sysdeps/unix/bsd/sigaction.c: Likewise.
858 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
859 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
860 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
861 * sysdeps/unix/bsd/telldir.c: Likewise.
862 * sysdeps/unix/bsd/times.c: Likewise.
863 * sysdeps/unix/bsd/usleep.c: Likewise.
864
865 * misc/Makefile (install-lib): Remove libbsd-compat.a.
866 ($(objpfx)libbsd-compat.a): Remove rule.
867
868 * include/features.h (__FAVOR_BSD): Do not define.
869 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
870 features conflicting with POSIX.
871 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
872 (_BSD_SOURCE): Remove description of not being a subset of other
873 feature test macros.
874 * manual/job.texi (getpgrp): Do not document BSD version.
875 (getpgid): Do not document by reference to BSD getpgrp.
876 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
877 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
878 * signal/signal.h [__FAVOR_BSD]: Likewise.
879 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
880 instead of making contents conditional on [__FAVOR_BSD].
881 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
882
883 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884
885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
886
887 2013-12-17 Joseph Myers <joseph@codesourcery.com>
888
889 [BZ #16314]
890 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
891 values below 2**-450, not 2**-500.
892 * math/auto-libm-test-in: Don't allow spurious underflow from
893 hypot.
894 * math/auto-libm-test-out: Regenerated.
895
896 [BZ #16316]
897 [BZ #16330]
898 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
899 values of ha and hb and sort them after adjusting subnormal
900 arguments.
901 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
902 Likewise.
903 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
904 values of ea and eb and sort them after adjusting subnormal
905 arguments.
906 * math/auto-libm-test-in: Do not expect some hypot tests of
907 subnormals to fail. Add more hypot tests.
908 * math/auto-libm-test-out: Regenerated.
909
910 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
911
912 [BZ #13304]
913 * sysdeps/sh/s_fma.c: New file.
914 * sysdeps/sh/s_fmaf.c: New file.
915 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
916 version.
917 * sysdeps/sh/Implies: Add sh/soft-fp.
918
919 2013-12-16 Roland McGrath <roland@hack.frob.com>
920
921 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
922 level of indirection to members `objname', `errstring', `malloced'.
923 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
924 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
925 it as the __longjmp argument (just pass 1 instead).
926 (_dl_catch_error): Initialize C with argument pointers and address of
927 volatile local ERRCODE rather than copying values out of C at return.
928
929 2013-12-16 Joseph Myers <joseph@codesourcery.com>
930
931 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
932 * math/auto-libm-test-out: Regenerated.
933 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
934 (hypot_test_data): Likewise.
935 (pow_test_data): Likewise.
936 (pow_tonearest_test_data): Likewise.
937 * math/gen-auto-libm-tests.c (func_calc_method): Add value
938 mpfr_ff_f.
939 (func_calc_desc): Add mpfr_ff_f union field.
940 (FUNC_mpfr_ff_f): New macro.
941 (test_functions): Add atan2, hypot and pow.
942 (special_fill_min): New function.
943 (special_fill_minus_min): Likewise.
944 (special_fill_min_subnorm): Likewise.
945 (special_fill_minus_min_subnorm): Likewise.
946 (special_real_inputs): Add min, -min, min_subnorm and
947 -min_subnorm.
948 (calc_generic_results): Handle mpfr_ff_f.
949 * sysdeps/i386/fpu/libm-test-ulps: Update.
950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
951
952 2013-12-16 Will Newton <will.newton@linaro.org>
953
954 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
955 (Aligned Memory Blocks): Add documentation for aligned_alloc
956 and suggest it as an alternative to posix_memalign.
957 (Hooks for Malloc): Document __memalign_hook is also called
958 for aligned_alloc. (Summary of Malloc): Add summary for
959 aligned alloc. Document __memalign_hook is also called
960 for aligned_alloc.
961
962 2013-12-16 Will Newton <will.newton@linaro.org>
963
964 * manual/memory.texi (Malloc Examples): Clarify default
965 alignment documentation. Suggest posix_memalign rather
966 than memalign or valloc.
967 (Aligned Memory Blocks): Remove suggestion to use memalign
968 or valloc. Remove obsolete comment about BSD.
969 Document memalign errno values and mark the function obsolete.
970 Document posix_memalign returned error codes. Mark valloc
971 as obsolete. (Hooks for Malloc): __memalign_hook is also
972 called for posix_memalign and valloc.
973 (Summary of Malloc): Add posix_memalign to function summary.
974 __memalign_hook is also called for posix_memalign and valloc.
975
976 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
977
978 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
979 TAYLOR_SIN.
980 (__sin): Adjust.
981 (__cos): Likewise.
982 (sloww): Use mynumber union. Expand ternary operator into
983 if-else statements.
984 (cslow): use mynumber union.
985
986 2013-12-16 Allan McRae <allan@archlinux.org>
987
988 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
989 * configure: Regenerated.
990
991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
992
993 [BZ #14120]
994 * configure.ac: Added --enable-maintainer-mode. Check for
995 autoconf when enabled.
996 * configure: Regenerated.
997
998 * nscd/nscd.service: New file.
999 * nscd/nscd.tmpfiles: New file.
1000
1001 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1002
1003 [BZ #12100]
1004 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1005 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1006 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1007 (strstr): Add __strstr_sse2_unaligned ifunc.
1008 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1009 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1010 (strcasestr): Remove __strcasestr_sse42 ifunc.
1011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1014
1015 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1016
1017 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1018 * sysdeps/sh/bits/fenv.h: ... here.
1019 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1020
1021 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022
1023 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1024
1025 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026
1027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1028 hypotf multiarch implementations.
1029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1032 multiarch hypot for PPC64.
1033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1034 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1035 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1036 multiarch hypotf for PPC64.
1037
1038 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1039
1040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1041 modff multiarch implementations.
1042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1045 multiarch modf for PPC64.
1046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1049 multiarch modff for PPC64.
1050
1051 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052
1053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1054 and logl multiarch implementations.
1055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1058 multiarch logb for PPC64.
1059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1062 multiarch logb for PPC64.
1063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1066 multiarch logb for PPC64.
1067
1068 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
1070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1071 isinff multiarch implementation.
1072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1073 file.
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1076 multiarch isinf for PPC64.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1078 file.
1079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1080 multiarch isinff for PPC64.
1081
1082 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1085 finitef multiarch implementation.
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1087 file.
1088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1090 multiarch finite for PPC64.
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1092 file.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1094 multiarch finitef for PPC64.
1095
1096 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1099 lrint multiarch implementation.
1100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1101 file.
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1104 multiarch llrint for PPC64.
1105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1106 multiarch lrint for PPC64.
1107
1108 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1109
1110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1111 copysignf multiarch implementation.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1113 file.
1114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1115 file.
1116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1117 multiarch copysign for PPC64.
1118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1119 multiarch copysignf for PPC64.
1120
1121 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122
1123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1124 multiarch implementation.
1125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1126 file.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1128 file.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1130 file.
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1132 file.
1133 multiarch llround for PPC64.
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1135 multiarch trunc for PPC64.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1137 multiarch truncf for PPC64.
1138
1139 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140
1141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1142 multiarch implementation.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1144 file.
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1146 file.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1148 file.
1149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1150 file.
1151 multiarch llround for PPC64.
1152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1153 multiarch round for PPC64.
1154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1155 multiarch roundf for PPC64.
1156
1157 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158
1159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1160 multiarch implementation.
1161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1162 file.
1163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1164 file.
1165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1166 file.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1168 file.
1169 multiarch llround for PPC64.
1170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1171 multiarch floor for PPC64.
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1173 multiarch floorf for PPC64.
1174
1175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1176
1177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1178 multiarch implementation.
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1180 file.
1181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1182 file.
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1184 file.
1185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1186 file.
1187 multiarch llround for PPC64.
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1189 multiarch ceil for PPC64.
1190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1191 multiarch ceilf for PPC64.
1192
1193 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194
1195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1196 multiarch implementation.
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1198 file.
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1200 file.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1202 file.
1203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1204 multiarch llround for PPC64.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1206 multiarch lround for PPC64.
1207
1208 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1211 multiarch implementation.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1215 file.
1216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1219 multiarch isnan for PPC64.
1220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1221 multiarch isnanf for PPC64.
1222
1223 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224
1225 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1226 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1227 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1228 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1229 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1231
1232 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1233
1234 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1238
1239 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1242 multiarch implementations.
1243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1244 (__libc_ifunc_impl_list): Likewise.
1245 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1246 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1247 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1248 multiarch stpcpy for PPC64.
1249
1250 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1251
1252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1253 multiarch implementations.
1254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1255 (__libc_ifunc_impl_list): Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1257 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1258 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1259 multiarch strcpy for PPC64.
1260
1261 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262
1263 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1264 redefine function name.
1265 (_wordcopy_fwd_dest_aligned): Likewise.
1266 (_wordcopy_bwd_aligned): Likewise.
1267 (_wordcopy_bwd_dest_aligned): Likewise.
1268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1269 multiarch implementations.
1270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1271 (__libc_ifunc_impl_list): Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1273 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1275 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1276 multiarch wcscpy for PPC64.
1277
1278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279
1280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1281 multiarch implementations.
1282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1283 (__libc_ifunc_impl_list): Likewise.
1284 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1286 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1287 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1288 multiarch wcscpy for PPC64.
1289
1290 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291
1292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1293 multiarch implementations.
1294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1295 (__libc_ifunc_impl_list): Likewise.
1296 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1297 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1298 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1299 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1300 multiarch wcsrchr for PPC64.
1301
1302 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1303
1304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1305 multiarch implementations.
1306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1307 (__libc_ifunc_impl_list): Likewise.
1308 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1309 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1310 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1311 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1312 multiarch wcschr for PPC64.
1313
1314 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1317 multiarch implementations.
1318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1319 (__libc_ifunc_impl_list): Likewise.
1320 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1321 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1322 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1323 multiarch strchrnul for PPC64.
1324
1325 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1328 implementations.
1329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1330 (__libc_ifunc_impl_list): Likewise.
1331 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1332 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1333 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1334 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1335 strchr for PPC64.
1336
1337 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1340 implementations.
1341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1342 (__libc_ifunc_impl_list): Likewise.
1343 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1346 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1347 strncmp for PPC64.
1348
1349 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350
1351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1352 multiarch implementations.
1353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1354 (__libc_ifunc_impl_list): Likewise.
1355 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1356 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1357 strncasecmp for PPC64.
1358 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1359 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1360 multiarch strncasecmp_l for PPC64.
1361
1362 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1365 multiarch implementations.
1366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1367 (__libc_ifunc_impl_list): Likewise.
1368 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1369 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1370 multiarch strcasecmp for PPC64.
1371 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1372 file.
1373 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1374 multiarch strcasecmp_l for PPC64.
1375
1376 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377
1378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1379 implementations.
1380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1381 (__libc_ifunc_impl_list): Likewise.
1382 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1383 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1384 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1385 strnlen for PPC64.
1386
1387 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1390 implementations.
1391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1392 (__libc_ifunc_impl_list): Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1394 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1395 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1396 strlen for PPC64.
1397
1398 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1401 implementations.
1402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1403 (__libc_ifunc_impl_list): Likewise.
1404 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1405 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1406 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1407 rawmemrchr for PPC64.
1408
1409 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410
1411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1412 implementation.
1413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1414 (__libc_ifunc_impl_list): Likewise.
1415 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1416 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1417 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1418 memrchr for PPC64.
1419
1420 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1423 implementation.
1424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1425 (__libc_ifunc_impl_list): Likewise.
1426 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1428 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1429 memchr for PPC64.
1430
1431 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1434 implementation.
1435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1436 (__libc_ifunc_impl_list): Likewise.
1437 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1438 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1439 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1440 mempcpy for PPC64.
1441
1442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443
1444 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1445 avoid cretion of __bzero symbol.
1446 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1447 Likewise.
1448 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1449 Likewise.
1450 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1451 Likewise.
1452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1453 multiarch implementations.
1454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1455 (__libc_ifunc_impl_list): Likewise.
1456 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1457 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1458 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1459 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1460 bzero for PPC32.
1461 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1462 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1463 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1464 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1465 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1466 memset for PPC64.
1467 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1468
1469 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1473 implementations.
1474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1475 (__libc_ifunc_impl_list): Likewise.
1476 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1477 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1478 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1479 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1480 memcmp for PPC64.
1481
1482 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483
1484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1485 multiarch for POWER/PPC64.
1486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1487 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1489 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1490 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1491 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1493 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1494 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1495 memcpy for PPC64.
1496
1497 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498
1499 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1500 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1501 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1502 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1503 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1504 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1505 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1506 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1507 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1508 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1509 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1510 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1511 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1512 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1513 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1521
1522 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1523
1524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1525
1526 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1527
1528 * benchtests/Makefile (bench): Add exp2 and log2.
1529 (LDLIBS-bench-exp2): Add -lm.
1530 (LDLIBS-bench-log2): Likewise.
1531 * benchtests/exp2-inputs: New inputs file.
1532 * benchtests/log2-inputs: New inputs file.
1533 * benchtests/log-inputs: Add new inputs.
1534 * benchtests/tan-inputs: Likewise.
1535
1536 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1537
1538 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1539 definition...
1540 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1541 csloww1, csloww2): ... from here.
1542
1543 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1544 instead of structures.
1545 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1546 (POLYNOMIAL): Likewise.
1547 (TAYLOR_SLOW): Likewise.
1548 (__sin): Likewise.
1549 (__cos): Likewise.
1550 (slow1): Likewise.
1551 (slow2): Likewise.
1552 (sloww): Likewise.
1553 (sloww1); Likewise.
1554 (sloww2): Likewise.
1555 (bsloww1): Likewise.
1556 (bsloww2): Likewise.
1557 (cslow2): Likewise.
1558 (csloww): Likewise.
1559 (csloww1): Likewise.
1560 (csloww2): Likewise.
1561
1562 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1563
1564 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1565 (__malloc_assert, __libc_realloc, __libc_calloc,
1566 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1567 memcpy and memset.
1568 * malloc/hooks.c (realloc_check): Likewise.
1569
1570 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1571
1572 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1573 * malloc/arena.c: Remove PER_THREAD conditional.
1574 [!PER_THREAD]: Remove code.
1575 (ptmalloc_unlock_all2): Likewise.
1576 (ptmalloc_init): Likewise.
1577 (_int_new_arena): Likewise.
1578 (arena_get2): Likewise.
1579 * malloc/hooks.c (__malloc_get_state): Likewise.
1580 (__malloc_set_state): Likewise.
1581 * malloc/malloc.c: Likewise.
1582 (struct malloc_state): Likewise.
1583 (struct malloc_par): Likewise.
1584 (__libc_realloc): Likewise.
1585 (__libc_mallopt): Likewise.
1586
1587 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1588
1589 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1590
1591 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1592
1593 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1594 macro to a function. Check for zero perturb_byte.
1595 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1596
1597 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1598
1599 * malloc/malloc.c: (force_reg): Remove.
1600 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1601 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1602 force_reg by atomic_forced_read.
1603 * malloc/arena.c (ptmalloc_init): Likewise.
1604 * malloc/hooks.c (top_check): Likewise.
1605
1606 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607
1608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1609
1610 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1611
1612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1613
1614 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1615
1616 * math/auto-libm-test-in: Add tests of lgamma.
1617 * math/auto-libm-test-out: Regenerated.
1618 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1619 (M_LOG_2_SQRT_PIl): Likewise.
1620 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1621 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1622 mpfr_f_f1.
1623 (func_calc_desc): Add mpfr_f_f1 union field.
1624 (ARGS1): New macro.
1625 (ARGS2): Likewise.
1626 (ARGS3): Likewise.
1627 (ARGS4): Likewise.
1628 (RET1): Likewise.
1629 (RET2): Likewise.
1630 (CALC): Likewise.
1631 (FUNC): Likewise.
1632 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1633 (test_functions): Add lgamma.
1634 (calc_generic_results): Handle mpfr_f_f1.
1635 * sysdeps/i386/fpu/libm-test-ulps: Update.
1636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1637
1638 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639
1640 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1641 __mpn_add_n for PowerPC64/POWER7.
1642 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1643 __mpn_sub_n for PowerPC64/POWER7.
1644
1645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1646
1647 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1648 __mpn_addmul_1 for PowerPC64.
1649 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1650 __mpn_submul_1 for PowerPC64.
1651 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1652 for PowerPC64.
1653 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1654 for PowerPC64.
1655
1656 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1657
1658 [BZ #15089]
1659 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1660
1661 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662
1663 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1664
1665 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666
1667 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1668 add multiarch folders.
1669 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1670 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1671 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1672 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1673 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1674 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1675 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1676 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1677 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1678 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1679 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1686
1687 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1690 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1692 New file.
1693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1694 New file.
1695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1696 multiarch __ieee754_hypot for PowerPC32.
1697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1698 New file.
1699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1700 New file.
1701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1702 multiarch __ieee754_hypotf for PowerPC32.
1703
1704 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1705
1706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1707 long_double_symbol only if __logbl is defined.
1708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1709 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1711 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1713 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1715 path for implementation.
1716 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1719 logb, and logbl multiarch implementations for PowerPC32.
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1721 file.
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1723 file.
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1725 multiarch logb for PowerPC32.
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1727 file.
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1729 file.
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1731 multiarch logbf for PowerPC32.
1732 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1734 file.
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1736 multiarch logbl implementation for PowerPC32.
1737
1738 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1741 and modff multiarch implementations.
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1743 New file.
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1745 New file.
1746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1747 multiarch modf for PowerPC32.
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1749 New file.
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1751 New file.
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1753 multiarch modff for PowerPC32.
1754
1755 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1756
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1758 and lrintf multiarch implementations.
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1760 New file.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1762 New file.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1764 multiarch lrint for PowerPC32.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1766 file: multiarch lrintf for PowerPC32.
1767
1768 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769
1770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1771 and lroundf multiarch implementations.
1772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1773 New file.
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1775 New file.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1777 New file.
1778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1779 multiarch lround for PowerPC32.
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1781 file: multiarch lroundf for PowerPC32.
1782
1783 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784
1785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1786 copysign and copysignf multiarch implementations.
1787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1788 New file.
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1790 New file.
1791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1792 file: multiarch copysign for PowerPC32.
1793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1794 file: multiarch copysignf for PowerPC32.
1795
1796 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1797
1798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1799 and truncf multiarch implementations.
1800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1801 New file.
1802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1803 file.
1804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1805 multiarch trunc for PowerPC32.
1806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1807 New file.
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1809 New file.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1811 multiarch truncf for PowerPC32.
1812
1813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1814
1815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1816 and roundf multiarch implementations.
1817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1818 New file.
1819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1820 file.
1821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1822 multiarch round for PowerPC32.
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1824 New file.
1825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1826 New file.
1827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1828 multiarch roundf for PowerPC32.
1829
1830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831
1832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1833 and floorf multiarch implementations.
1834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1835 New file.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1837 file.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1839 multiarch floor for PowerPC32.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1841 New file.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1843 New file.
1844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1845 multiarch floorf for PowerPC32.
1846
1847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848
1849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1850 and ceilf multiarch implementations.
1851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1852 New file.
1853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1854 file.
1855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1856 multiarch ceil for PowerPC32.
1857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1858 New file.
1859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1860 file.
1861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1862 multiarch ceilf for PowerPC32.
1863
1864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865
1866 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1867 is defined.
1868 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1869 FINITEF is defined.
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1871 and finitef multiarch implementations.
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1873 New file.
1874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1875 file.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1877 multiarch finite for PowerPC32.
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1879 New file.
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1881 file: multiarch finitef for PowerPC32.
1882
1883 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1886 and isinff multiarch implementations.
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1888 file.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1890 file.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1892 multiarch isinf for PowerPC32.
1893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1894 New file.
1895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1896 multiarch isinff for PowerPC32.
1897
1898 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1899
1900 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1901 alias when __isnan is defined.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1903 and isnanf multiarch implementations.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1905 file.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1907 file.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1909 file.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1911 file.
1912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1913 multiarch isnan for PowerPC32.
1914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1915 New file.
1916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1917 New file.
1918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1919 multiarch isnanf for PowerPC32.
1920
1921 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1924 and sqrtf multiarch implementations.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1926 file.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1928 file.
1929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1930 multiarch sqrt for PowerPC32.
1931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1932 file.
1933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1934 file.
1935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1936 multiarch sqrtf for PowerPC32.
1937
1938 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1941 and llroundf multiarch implementations.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1943 New file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1945 New file.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1947 New file.
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1949 file: multiarch llround for PowerPC32.
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1951 file: multiarch llroundf for PowerPC32.
1952
1953 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1954
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1956 multiarch PowerPC32 fpu implementations.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1958 New file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1960 New file.
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1962 multiarch llrint for PowerPC32.
1963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1964 New file.
1965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1966 New file.
1967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1968 file.
1969
1970 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1971
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1973
1974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1975
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1977 file.
1978 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1979 file.
1980 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1981 file.
1982 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1983 multiarch wordcopy for PPC32.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1985 wordcopy objects.
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1987 (__libc_ifunc_impl_list): Likewise.
1988 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1989 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1991 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1992 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1993 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1994
1995 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996
1997 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1999 file.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2001 file.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2003 file.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2005 multiarch wcscpy for PPC32.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2007 multiarch objects.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2009 (__libc_ifunc_impl_list): Likewise.
2010 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2011 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2012 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2013 sysdeps/powerpc/power6/wcscpy.c.
2014
2015 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016
2017 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2019 file.
2020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2021 file.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2023 file.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2025 multiarch wcsrchr for PPC32.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2027 multiarch objects.
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2029 (__libc_ifunc_impl_list): Likewise.
2030 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2031 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2032 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2033 sysdeps/powerpc/power6/wcsrchr.c.
2034
2035 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2036
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2038 file.
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2040 file.
2041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2043 multiarch wcschr for PPc32.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2045 multiarch objects.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2047 (__libc_ifunc_impl_list): Likewise.
2048 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2049 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2050 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2051 sysdeps/powerpc/power6/wcschr.c.
2052
2053 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054
2055 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2056 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2057 file.
2058 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2059 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2060 file: multiarch strchr for PPC32.
2061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2062 multiarch objects.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2064 (__libc_ifunc_impl_list): Likewise.
2065
2066 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067
2068 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2069 name.
2070 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2071 file.
2072 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2073 file.
2074 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2075 multiarch strchrnul for PPC32.
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2077 multiarch objects.
2078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2079 (__libc_ifunc_impl_list): Likewise.
2080
2081 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2082
2083 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2084 file.
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2086 multiarch strncasecmp for PPC32.
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2088 file.
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2090 multiarch strncasecmp_l for PPC32.
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2092 strncasecmp multiarch objects.
2093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2094 (__libc_ifunc_impl_list): Likewise.
2095
2096 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2099 file.
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2101 multiarch strncasecmp for PPC32.
2102 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2103 New file.
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2105 multiarch strcasecmp_l for PPC32.
2106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2107 multiarch objects.
2108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2109 (__libc_ifunc_impl_list): Likewise.
2110
2111 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112
2113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2114 file.
2115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2116 file.
2117 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2118 multiarch strncmp for PPC32.
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2120 multiarch objects.
2121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2122 (__libc_ifunc_impl_list): Likewise.
2123
2124 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2127 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2128 file.
2129 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2130 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2132 multiarch objects.
2133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2134 (__libc_ifunc_impl_list): Likewise.
2135
2136 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2139 file.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2141 file.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2144 multiarch objects.
2145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2146 (__libc_ifunc_impl_list): Likewise.
2147
2148 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149
2150 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2151 file.
2152 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2153 file.
2154 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2155 multiarch rawmemchr for PPC32.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2157 multiarch objects.
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2159 (__libc_ifunc_impl_list): Likewise.
2160
2161 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162
2163 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2164 file.
2165 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2166 file.
2167 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2168 file: memrchr multiarch for PPC32.
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2170 multiarch objects.
2171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2172 (__libc_ifunc_impl_list): Likewise.
2173
2174 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175
2176 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2177 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2178 file.
2179 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2180 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2181 multiarch memchr for PPC32.
2182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2183 multiarch objects.
2184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2185 (__libc_ifunc_impl_list): Likewise.
2186
2187 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2188
2189 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2191 file.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2193 file.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2195 file: multiarch mempcpy for PPC32.
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2197 multiarch objects.
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2199 (__libc_ifunc_impl_list): Likewise.
2200
2201 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2205 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2207 multiarch bzero for PPC32.
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2209 file.
2210 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2211 file.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2213 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2214 file: multiarch memset for PPC32.
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2217 memset multiarch objects.
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2219 (__libc_ifunc_impl_list): Likewise.
2220
2221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222
2223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2224 file.
2225 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2227 memcmp for PPC32.
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2230 multiarch objects.
2231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2232 (__libc_ifunc_impl_list): Likewise.
2233
2234 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2235
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2239 file.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2241 file.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2243 file.
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2245 multiarch memcpy for PPC32.
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2247 multiarch objects.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2249 (__libc_ifunc_impl_list): Likewise.
2250
2251 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2252
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2254 support multiarch for POWER/PPC32.
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2256 Likewise.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2259 Implies file to make multiarch folder appers before the fpu and
2260 default folder for power4 configuration.
2261
2262 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2263
2264 * scripts/bench.pl: Append volatile keyword to type.
2265
2266 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2267
2268 * sysdeps/sh/sotruss-lib.c: New file.
2269 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2270
2271 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2272
2273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2274
2275 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2276
2277 [BZ #6810]
2278 * math/w_tgamma.c: Include <errno.h>.
2279 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2280 * math/w_tgammaf.c: Include <errno.h>.
2281 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2282 * math/w_tgammal.c: Include <errno.h>.
2283 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2284 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2285 underflow. Add more tgamma tests.
2286 * math/auto-libm-test-out: Regenerated.
2287 * sysdeps/i386/fpu/libm-test-ulps: Update.
2288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2289
2290 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2291 sin, sinh, tan, tanh, tgamma, y0 and y1.
2292 * math/auto-libm-test-out: Regenerated.
2293 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2294 (TEST_COND_x86): Likewise.
2295 (M_E2l): Remove macro.
2296 (M_E3l): Likewise.
2297 (M_2_SQRT_PIl): Likewise.
2298 (M_SQRT_PIl): Likewise.
2299 (M_1_DIV_El): Likewise.
2300 (log_test_data): Use AUTO_TESTS_f_f.
2301 (log10_test_data): Likewise.
2302 (log1p_test_data): Likewise.
2303 (log2_test_data): Likewise.
2304 (sin_test_data): Likewise.
2305 (sin_tonearest_test_data): Likewise.
2306 (sin_towardzero_test_data): Likewise.
2307 (sin_downward_test_data): Likewise.
2308 (sin_upward_test_data): Likewise.
2309 (sinh_test_data): Likewise.
2310 (sinh_tonearest_test_data): Likewise.
2311 (sinh_towardzero_test_data): Likewise.
2312 (sinh_downward_test_data): Likewise.
2313 (sinh_upward_test_data): Likewise.
2314 (tan_test_data): Likewise.
2315 (tan_tonearest_test_data): Likewise.
2316 (tan_towardzero_test_data): Likewise.
2317 (tan_downward_test_data): Likewise.
2318 (tan_upward_test_data): Likewise.
2319 (tanh_test_data): Likewise.
2320 (tgamma_test_data): Likewise.
2321 (y0_test_data): Likewise.
2322 (y1_test_data): Likewise.
2323 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2324 (special_real_inputs): Add pi/4.
2325 * sysdeps/i386/fpu/libm-test-ulps: Update.
2326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2327
2328 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2329
2330 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2331 "longjmp_target" static probes.
2332 (__longjmp): Rename to __longjmp_symbol.
2333 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2334 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2335 on which longjmp to generate.
2336 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2337 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2338 probe.
2339 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2340 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2341 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2342 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2343 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2344 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2346 __longjmp_symbol based on which __longjmp to generate.
2347 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2348 probe.
2349 (setjmp): Rename to setjmp_symbol.
2350 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2351 (_setjmp): Rename to _setjmp_symbol.
2352 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2353 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2354 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2355 which setjmp to generate.
2356 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2357 "longjmp_target" static probes.
2358
2359 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2360
2361 * benchtests/README: Add note about output arguments.
2362 * benchtests/bench-sincos.c: Remove file.
2363 * benchtests/sincos-inputs: New file.
2364 * scripts/bench.pl: Identify output arguments and define
2365 static variables for them.
2366
2367 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2368
2369 [BZ #15941]
2370 * Makefile (INSTALL): Add install-plain.texi as the primary
2371 dependency.
2372 * manual/install-plain.texi: New file.
2373 * manual/install.texi: Include node directive only for
2374 non-plaintext output.
2375
2376 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2377
2378 * stdlib/longlong.h: Update from GCC.
2379
2380 [BZ #6807]
2381 [BZ #15901]
2382 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2383 * math/w_j0f.c (y0f): Likewise.
2384 * math/w_j0l.c (__y0l): Likewise.
2385 * math/w_j1.c (y1): Likewise.
2386 * math/w_j1f.c (y1f): Likewise.
2387 * math/w_j1l.c (__y1l): Likewise
2388 * math/w_jn.c (yn): Likewise.
2389 * math/w_jnf.c (ynf): Likewise.
2390 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2391 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2392 value for Bessel function domain errors outside _SVID_ mode.
2393 Adjust sign of return value for yn (negative integer, 0).
2394 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2395 by zero in return for negative x and set sign appropriately for
2396 negative n.
2397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2398 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2399 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2400 expectations in error cases.
2401 (y1_test_data): Likewise.
2402 (yn_test_data): Likewise.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2405
2406 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2407
2408 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2409 "64" to "64-v1". Add "64-v2".
2410 (abi-64-options): Rename to ...
2411 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2412 (abi-64-condition): Rename to ...
2413 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2414 (abi-64-ld-soname): Rename to ...
2415 (abi-64-v1-ld-soname): ... this.
2416 (abi-64-v2-options): Define.
2417 (abi-64-v2-condition): Likewise.
2418 (abi-64-v2-ld-soname): Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2420 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2424
2425 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2426 Alan Modra <amodra@gmail.com>
2427
2428 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2429 New versions for use with the ELFv2 ABI.
2430 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2431 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2432 declaration.
2433 (struct La_ppc64v2_retval): Likewise.
2434 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2435 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2436 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2437 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2438 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2439 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2440 Do not save or restore CR.
2441 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2442 (_dl_profile_resolve): Do no save or restore CR. Support extended
2443 return values for ELFv2 ABI. Fix location of FPR return registers.
2444 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2445 updated values for _CALL_ELF == 2.
2446 (La_regs, La_retval, int_retval): Likewise.
2447
2448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2449
2450 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2451 (FRAME_MIN_SIZE_PARM): Likewise.
2452 (FRAME_BACKCHAIN): Likewise.
2453 (FRAME_CR_SAVE): Likewise.
2454 (FRAME_LR_SAVE): Likewise.
2455 (FRAME_TOC_SAVE): Likewise.
2456 (FRAME_PARM_SAVE): Likewise.
2457 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2458 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2459 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2460 (call_mcount_parm_offset): New macro.
2461 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2462 (PROF): Use symbolic stack frame offsets.
2463 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2464 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2465 Redefine in terms of FRAME_MIN_SIZE.
2466 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2467 (_dl_profile_resolve): Likewise. Update comment.
2468 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2469 symbols stack frame offsets.
2470 (__sigsetjmp): Likewise.
2471 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2472 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2473 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2474 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2475
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2477 (FRAME_BACKCHAIN): Remove.
2478 (FRAME_CR_SAVE): Likewise.
2479 (FRAME_LR_SAVE): Likewise.
2480 (FRAME_COMPILER_DW): Likewise.
2481 (FRAME_LINKER_DW): Likewise.
2482 (FRAME_TOC_SAVE): Likewise.
2483 (FRAME_PARM_SAVE): Likewise.
2484 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2485 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2486 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2488 (CHECK_SP): Use symbolic stack frame offsets.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2490 zone" instead of caller's parameter save area for temp storage.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2492 Likewise. Also, use symbolic stack frame offsets.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2494 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2495 our own stack frame instead of the caller's.
2496 (__socket): Use symbolic stack frame offsets.
2497
2498 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2499 Alan Modra <amodra@gmail.com>
2500
2501 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2502 Define.
2503 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2504 PPC64_LOCAL_ENTRY_OFFSET): Define.
2505 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2506 New function.
2507 (elf_machine_fixup_plt): Call it.
2508 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2509 reloc arguments.
2510 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2511 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2512 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2513 r2 before calling target.
2514
2515 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2516 Alan Modra <amodra@gmail.com>
2517
2518 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2519 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2520 versions of macros to support ELFv2 ABI.
2521 (LOCALENTRY): New macro.
2522 (ENTRY, EALIGN): Use it.
2523 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2524 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2525 fall through into ENTRY entry point.
2526 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2527 Only define if _CALL_ELF != 2.
2528
2529 (elf_machine_matches_host): Verify ABI version matches.
2530 (RTLD_START): Use LOCALENTRY.
2531 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2532 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2533 (PLT_ENTRY_WORDS): New macro.
2534 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2535 (elf_machine_runtime_setup): Support ELFv2 ABI.
2536 (elf_machine_fixup_plt): Likewise.
2537 (elf_machine_plt_conflict): Likewise.
2538 (resolve_ifunc): Likewise.
2539 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2540 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2541 Likewise.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2543 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2545 (makecontext): Support ELFv2 ABI.
2546 * elf/elf.h (EF_PPC64_ABI): Define.
2547
2548 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2549
2550 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2551 New assembler macro.
2552 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2553 [ASSEMBLER] (ENTRY): ... but instead here ...
2554 [ASSEMBLER] (EALIGN): ... and here.
2555 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2556 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2557 [!ASSEMBLER] (ENTRY_2): Use it.
2558 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2559 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2560 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2561 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2562 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2564 Use PPC64_LOAD_FUNCPTR.
2565
2566 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2567
2568 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2569
2570 2013-12-04 Alan Modra <amodra@gmail.com>
2571
2572 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2573 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2574 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2575 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2576
2577 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2578 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2579 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2580 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2581 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2582 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2583
2584 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2585
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2587 (__makecontext): Fix incorrect CFI when backtracing out of
2588 context created via makecontext.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2590 (__setcontext): Fix incorrect CFI during switch to new context.
2591 (__novec_setcontext): Likewise.
2592
2593 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2594
2595 [BZ #4772]
2596 * time/strptime_l.c (__strptime_internal): Allow modifiers
2597 in strptime.
2598 * time/tst-strptime.c (day_tests): Add testcase.
2599
2600
2601 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2602
2603 * scripts/bench.pl: Skip over blank lines.
2604
2605 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2606
2607 [BZ #926]
2608 * manual/time.texi (Calendar Time): Clarify what timezone functions
2609 use.
2610
2611 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612
2613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2614
2615 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2616
2617 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2618 implementation.
2619 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2620 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2621 * debug/memset_chk.c (__memset_chk): Likewise.
2622 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2623 * debug/strncpy_chk.c: Likewise.
2624
2625 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2626
2627 [BZ #15268]
2628 [BZ #15425]
2629 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2630 (__ieee754_exp): For possibly underflowing results, check size of
2631 result and force underflow exception if required.
2632 * math/auto-libm-test-in: Add more tests of exp.
2633 * math/auto-libm-test-out: Regenerated.
2634 * sysdeps/i386/fpu/libm-test-ulps: Update.
2635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2636
2637 [BZ #16283]
2638 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2639 * math/w_exp2f.c (__exp2f): Likewise.
2640 * math/w_exp2l.c (__exp2l): Likewise.
2641 * math/auto-libm-test-in: Do not allow missing errno on exp2
2642 underflow.
2643 * math/auto-libm-test-out: Regenerated.
2644
2645 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2646
2647 [BZ #16274]
2648 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2649 handle filename validation.
2650 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2651 (do_open): Delete.
2652
2653 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2654
2655 [BZ #6786]
2656 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2657 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2658 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2659 <float.h>.
2660 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2661 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2662 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2664 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2665 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2666 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2667 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2668 Add more erfc tests.
2669 * math/auto-libm-test-out: Regenerated.
2670 * sysdeps/i386/fpu/libm-test-ulps: Update.
2671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2672
2673 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2674 exp2, expm1, j0 and j1.
2675 * math/auto-libm-test-out: Regenerated.
2676 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2677 (erfc_test_data): Likewise.
2678 (exp_test_data): Likewise.
2679 (exp_tonearest_test_data): Likewise.
2680 (exp_towardzero_test_data): Likewise.
2681 (exp_downward_test_data): Likewise.
2682 (exp_upward_test_data): Likewise.
2683 (exp10_test_data): Likewise.
2684 (exp2_test_data): Likewise.
2685 (expm1_test_data): Likewise.
2686 (j0_test_data): Likewise.
2687 (j1_test_data): Likewise.
2688 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2689 (input_flag_type): Add flag_xfail_rounding.
2690 (input_flags): Add xfail-rounding.
2691 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2692 (output_for_one_input_case): Handle flag_xfail_rounding.
2693 * sysdeps/i386/fpu/libm-test-ulps: Update.
2694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695
2696 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2697
2698 [BZ #16289]
2699 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2700 division by 0.
2701
2702 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2703
2704 [BZ #16195]
2705 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2706 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2707 (STAP_PROBE0): New macro.
2708 (STAP_PROBE1): Likewise.
2709 (STAP_PROBE2): Likewise.
2710 (STAP_PROBE3): Likewise.
2711 (STAP_PROBE4): Likewise.
2712
2713 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2714
2715 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2716
2717 2013-12-02 Steve Ellcey <sellcey@mips.com>
2718
2719 * benchtests/Makefile (bench): Add sqrt.
2720 (LDLIBS-bench-sqrt): New.
2721 * benchtests/sqrt-input: New.
2722
2723 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2724
2725 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2726 (GAIH_EAI): Likewise.
2727 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2728 (gaih_inet): Likewise.
2729 (getaddrinfo): Don't use GAIH_EAI.
2730
2731 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2732 (struct gaih): Remove definition.
2733
2734 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2735
2736 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2737 Use HERRNOP directly.
2738
2739 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740
2741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2742
2743 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2744
2745 * math/gen-auto-libm-tests.c (test_functions): Add more
2746 single-argument functions.
2747 (special_fill_pi_2): New function.
2748 (special_fill_minus_pi_2): Likewise.
2749 (special_fill_pi_6): Likewise.
2750 (special_fill_minus_pi_6): Likewise.
2751 (special_fill_pi_3): Likewise.
2752 (special_fill_2pi_3): Likewise.
2753 (special_fill_e): Likewise.
2754 (special_fill_1_e): Likewise.
2755 (special_fill_e_minus_1): Likewise.
2756 (special_real_inputs): Add more special inputs.
2757 (output_for_one_input_case): Do not require ERANGE on underflow to
2758 zero if round-to-nearest result does not underflow to zero, unless
2759 exact results required.
2760 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2761 atan, atanh, cbrt, cos and cosh.
2762 * math/auto-libm-test-out: Regenerated.
2763 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2764 (acos_tonearest_test_data): Likewise.
2765 (acos_towardzero_test_data): Likewise.
2766 (acos_downward_test_data): Likewise.
2767 (acos_upward_test_data): Likewise.
2768 (acosh_test_data): Likewise.
2769 (asin_test_data): Likewise.
2770 (asin_tonearest_test_data): Likewise.
2771 (asin_towardzero_test_data): Likewise.
2772 (asin_upward_test_data): Likewise.
2773 (asinh_test_data): Likewise.
2774 (atan_test_data): Likewise.
2775 (atanh_test_data): Likewise.
2776 (cbrt_test_data): Likewise.
2777 (cos_test_data): Likewise.
2778 (cos_tonearest_test_data): Likewise.
2779 (cos_towardzero_test_data): Likewise.
2780 (cos_downward_test_data): Likewise.
2781 (cos_upward_test_data): Likewise.
2782 (cosh_test_data): Likewise.
2783 (cosh_tonearest_test_data): Likewise.
2784 (cosh_towardzero_test_data): Likewise.
2785 (cosh_downward_test_data): Likewise.
2786 (cosh_upward_test_data): Likewise.
2787 * sysdeps/i386/fpu/libm-test-ulps: Update.
2788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2789
2790 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2791
2792 [BZ #6787]
2793 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2794 * math/w_exp10f.c (__exp10f): Likewise.
2795 * math/w_exp10l.c (__exp10l): Likewise.
2796 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2797 errno settings in existing tests.
2798
2799 [BZ #14032]
2800 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2801 precision control set to double precision.
2802 * sysdeps/i386/fpu/w_sqrt.c: New file.
2803 * math/auto-libm-test-in: Add more tests.
2804 * math/auto-libm-test-out: Update.
2805
2806 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2807 (sqrt_test_tonearest): New function.
2808 (sqrt_towardzero_test_data): New variable.
2809 (sqrt_test_towardzero): New function.
2810 (sqrt_downward_test_data): New variable.
2811 (sqrt_test_downward): New function.
2812 (sqrt_upward_test_data): New variable.
2813 (sqrt_test_upward): New function.
2814 (main): Call the new functions.
2815
2816 * math/gen-auto-libm-tests.c: New file.
2817 * math/auto-libm-test-in: Likewise.
2818 * math/auto-libm-test-out: New generated file.
2819 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2820 variables.
2821 (%beautify): Add generated representations of zero.
2822 (top level): Set $auto_input and call parse_auto_input.
2823 (beautify): Remove trailing "f" from hex float constants.
2824 (parse_args): Handle XFAIL_TEST.
2825 (convert_condition): New function.
2826 (or_value): Likewise.
2827 (or_cond_value): Likewise.
2828 (generate_testfile): Handle AUTO_TESTS_* lines.
2829 (parse_auto_input): New function.
2830 * math/libm-test.inc (XFAIL_TEST): New macro.
2831 (ERRNO_UNCHANGED): Update value.
2832 (ERRNO_EDOM): Likewise.
2833 (ERRNO_ERANGE): Likewise.
2834 (IGNORE_RESULT): Likewise.
2835 (TEST_COND_flt_32): New macro.
2836 (TEST_COND_dbl_64): Likewise.
2837 (TEST_COND_ldbl_96_intel): Likewise.
2838 (TEST_COND_ldbl_96_m68k): Likewise.
2839 (TEST_COND_ldbl_128): Likewise.
2840 (TEST_COND_ldbl_128ibm): Likewise.
2841 (TEST_COND_long32): Likewise.
2842 (TEST_COND_long64): Likewise.
2843 (TEST_COND_before_rounding): Likewise.
2844 (TEST_COND_after_rounding): Likewise.
2845 (enable_test): Handle XFAIL_TEST flag.
2846 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2847 with finite results.
2848 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2849 auto-libm-test-out.
2850
2851 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2852 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2853
2854 [BZ #16214]
2855 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2856 __tls_get_addr_internal instead of __tls_get_offset in order to
2857 avoid GOT pointer dependency. Make rtld export
2858 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2859 __tls_get_addr since we are a __tls_get_offset platform.
2860 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2861 GOT pointer being set up before.
2862 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2863
2864 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2865
2866 * manual/math.texi (Errors in Math Functions): Document accuracy
2867 goals.
2868
2869 [BZ #15004]
2870 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2871 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2874 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2886
2887 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2888 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2889 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2890 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2891 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2892 Likewise.
2893 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2894 Likewise.
2895 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2896 Likewise.
2897 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2898 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2899 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2900 atomic-feupdateenv and flt-rounds.
2901 * sysdeps/powerpc/nofpu/Versions (libc): Add
2902 __atomic_feholdexcept, __atomic_feclearexcept,
2903 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2904 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2905 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2906 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2907 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2908 here.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2910 Update.
2911
2912 * manual/arith.texi (FP Exceptions): Document that exceptions may
2913 not be raised when matherr is used.
2914 (Math Error Reporting): Document overflow in directed rounding
2915 modes. Document that errno may not be set when finite values are
2916 returned on overflow. Document intent to set errno on underflow
2917 only for underflow to zero.
2918
2919 [BZ #16271]
2920 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2921 round-to-nearest then adjust result for other rounding modes.
2922 * include/fenv.h (fegetround): Use libm_hidden_proto.
2923 * math/fegetround.c (fegetround): Use libm_hidden_def.
2924 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2925 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2926 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2927 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2928 Likewise.
2929 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2930 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2931 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2932 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2933
2934 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2935
2936 [BZ #16077]
2937 * nss/Versions (libnss_files): Add
2938 _nss_files_gethostbyname3_r.
2939 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2940 New function.
2941 (HOST_DB_LOOKUP): Remove macro.
2942 (_nss_files_gethostbyname_r): Implement function without the
2943 HOST_DB_LOOKUP macro.
2944 (_nss_files_gethostbyname2_r): Likewise.
2945
2946 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2947
2948 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2949
2950 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2951
2952 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2953 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2954 warning.
2955
2956 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2957
2958 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2959 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2960 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2961 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2962 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2963 __fe_nomask_env_priv and attribute_hidden.
2964 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2965 (libc_feupdateenv_test_ppc): Likewise.
2966 (libc_feresetround_ppc): Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2968 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2969 compat_symbol macro.
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2971 (__fe_nomask_env): Likewise.
2972 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2973
2974 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2975
2976 * string/Makefile: Remove ifunc tests.
2977 * string/test-string.h: Define TEST_IFUNC.
2978 * string/test-bcopy-ifunc.c: Remove.
2979 * string/test-bzero-ifunc.c: Likewise.
2980 * string/test-memccpy-ifunc.c: Likewise.
2981 * string/test-memchr-ifunc.c: Likewise.
2982 * string/test-memcmp-ifunc.c: Likewise.
2983 * string/test-memcpy-ifunc.c: Likewise.
2984 * string/test-memmem-ifunc.c: Likewise.
2985 * string/test-memmove-ifunc.c: Likewise.
2986 * string/test-mempcpy-ifunc.c: Likewise.
2987 * string/test-memrchr-ifunc.c: Likewise.
2988 * string/test-memset-ifunc.c: Likewise.
2989 * string/test-rawmemchr-ifunc.c: Likewise.
2990 * string/test-stpcpy-ifunc.c: Likewise.
2991 * string/test-stpncpy-ifunc.c: Likewise.
2992 * string/test-strcasecmp-ifunc.c: Likewise.
2993 * string/test-strcasestr-ifunc.c: Likewise.
2994 * string/test-strcat-ifunc.c: Likewise.
2995 * string/test-strchr-ifunc.c: Likewise.
2996 * string/test-strchrnul-ifunc.c: Likewise.
2997 * string/test-strcmp-ifunc.c: Likewise.
2998 * string/test-strcpy-ifunc.c: Likewise.
2999 * string/test-strcspn-ifunc.c: Likewise.
3000 * string/test-strlen-ifunc.c: Likewise.
3001 * string/test-strncasecmp-ifunc.c: Likewise.
3002 * string/test-strncat-ifunc.c: Likewise.
3003 * string/test-strncmp-ifunc.c: Likewise.
3004 * string/test-strncpy-ifunc.c: Likewise.
3005 * string/test-strnlen-ifunc.c: Likewise.
3006 * string/test-strpbrk-ifunc.c: Likewise.
3007 * string/test-strrchr-ifunc.c: Likewise.
3008 * string/test-strspn-ifunc.c: Likewise.
3009 * string/test-strstr-ifunc.c: Likewise.
3010
3011 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3012
3013 * benchtests/Makefile: Remove ifunc tests.
3014 * benchtests/bench-string.h: Define TEST_IFUNC.
3015 * benchtests/bench-bcopy-ifunc.c: Remove.
3016 * benchtests/bench-bzero-ifunc.c: Likewise.
3017 * benchtests/bench-memccpy-ifunc.c: Likewise.
3018 * benchtests/bench-memchr-ifunc.c: Likewise.
3019 * benchtests/bench-memcmp-ifunc.c: Likewise.
3020 * benchtests/bench-memcpy-ifunc.c: Likewise.
3021 * benchtests/bench-memmem-ifunc.c: Likewise.
3022 * benchtests/bench-memmove-ifunc.c: Likewise.
3023 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3024 * benchtests/bench-memrchr-ifunc.c: Likewise.
3025 * benchtests/bench-memset-ifunc.c: Likewise.
3026 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3027 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3028 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3029 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3030 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3031 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3032 * benchtests/bench-strcat-ifunc.c: Likewise.
3033 * benchtests/bench-strchr-ifunc.c: Likewise.
3034 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3035 * benchtests/bench-strcmp-ifunc.c: Likewise.
3036 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3037 * benchtests/bench-strcpy-ifunc.c: Likewise.
3038 * benchtests/bench-strcspn-ifunc.c: Likewise.
3039 * benchtests/bench-strlen-ifunc.c: Likewise.
3040 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3041 * benchtests/bench-strncat-ifunc.c: Likewise.
3042 * benchtests/bench-strncmp-ifunc.c: Likewise.
3043 * benchtests/bench-strncpy-ifunc.c: Likewise.
3044 * benchtests/bench-strnlen-ifunc.c: Likewise.
3045 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3046 * benchtests/bench-strrchr-ifunc.c: Likewise.
3047 * benchtests/bench-strsep-ifunc.c: Likewise.
3048 * benchtests/bench-strspn-ifunc.c: Likewise.
3049 * benchtests/bench-strstr-ifunc.c: Likewise.
3050
3051 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3052
3053 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3054
3055 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3056
3057 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3058 * rt/aio.h: Likewise.
3059 * sysdeps/gnu/bits/utmp.h: Likewise.
3060 * sysdeps/gnu/bits/utmpx.h: Likewise.
3061 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3062 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3063 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3064 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3065 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3066 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3067 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3068 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3070 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3071 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3072 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3073 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3075 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3076 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3077 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3078 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3079 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3080 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3081 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3082 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3084 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3085 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3088 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3090 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3092 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3096 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3097 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3098 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3099 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3100 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3101 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3102 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3103
3104 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3105
3106 [BZ #16245]
3107 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3108 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3109
3110 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3111
3112 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3113 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3114 Likewise.
3115
3116 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117
3118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3119 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3120 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3121 (__fesetround): Remove define.
3122 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3123 rounding and exceptions handling.
3124 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3125 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3126 (__fe_nomask_env): Likewise.
3127 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3128 __fegetround instead of fegetround.
3129 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3130 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3131
3132 2013-11-21 Roland McGrath <roland@hack.frob.com>
3133
3134 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3135 it's there.
3136
3137 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3138
3139 2013-11-21 Meador Inge <meadori@codesourcery.com>
3140
3141 [BZ #11157]
3142 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3143 (encrypt_r): Likewise.
3144 * malloc/obstack.h (obstack_free): Likewise.
3145 * posix/unistd.h (encrypt): Likewise.
3146
3147 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3148
3149 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3150 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3151 DL_CALL_DT_FINI() that call the functions directly.
3152 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3153 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3154 * elf/dl-fini.c: Likewise.
3155
3156 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3157
3158 * malloc/hooks.c (memalign_check): Add alignment rounding.
3159 * malloc/malloc.c (_mid_memalign): New function.
3160 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3161 Implement by calling _mid_memalign.
3162 * manual/probes.texi (Memory Allocation Probes): Remove
3163 memory_valloc_retry and memory_pvalloc_retry.
3164
3165 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3166
3167 * locale/programs/locarchive.c (open_archive): Add const
3168 qualifier to ARCHIVEFNAME and copy default fname to
3169 DEFAULT_FNAME.
3170
3171 [BZ #15601]
3172 * libio/tst-widetext.input: Rename Oriya to Odia.
3173 * locale/iso-639.def: Likewise.
3174
3175 * manual/probes.texi (Mathematical Function Probes): Add
3176 documentation for sin, cos, asin and acos probes.
3177 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3178 (__sin32): Add slowasin probe.
3179 (__cos32): Add slowacos probe.
3180 (__mpsin): Add slowsin probe.
3181 (__mpcos): Add slowcos probe.
3182
3183 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3184
3185 [BZ #15483]
3186 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3187 thread-local __sim_exceptions_thread and global
3188 __sim_exceptions_global.
3189 (__sim_disabled_exceptions): Change to thread-local
3190 __sim_disabled_exceptions_thread and global
3191 __sim_disabled_exceptions_global.
3192 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3193 and global __sim_round_mode_global.
3194 (__simulate_exceptions): Use thread-local floating-point state and
3195 set global state from it as needed.
3196 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3197 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3198 __sim_round_mode_thread.
3199 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3200 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3201 and global __sim_exceptions_global.
3202 (__sim_disabled_exceptions): Change to thread-local
3203 __sim_disabled_exceptions_thread and global
3204 __sim_disabled_exceptions_global.
3205 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3206 and global __sim_round_mode_global.
3207 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3208 (SIM_SET_GLOBAL): Likewise.
3209 * sysdeps/powerpc/soft-fp/sfp-machine.h
3210 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3211 __sim_round_mode_thread.
3212 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3213 __sim_disabled_exceptions_thread.
3214 (__sim_exceptions): Change to __sim_exceptions_thread.
3215 (__sim_disabled_exceptions): Change to
3216 __sim_disabled_exceptions_thread.
3217 (__sim_round_mode): Change to __sim_round_mode_thread.
3218 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3219 thread-local floating-point state and set global state from it as
3220 needed.
3221 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3222 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3223 (__sim_disabled_exceptions): Remove extern declaration.
3224 (feenableexcept): Use thread-local floating-point state and set
3225 global state from it as needed.
3226 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3227 extern declaration.
3228 (__sim_disabled_exceptions): Likewise.
3229 (__sim_round_mode): Likewise.
3230 (__fegetenv): Use thread-local floating-point state.
3231 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3232 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3233 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3234 floating-point state and set global state from it as needed.
3235 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3236 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3237 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3238 Likewise.
3239 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3240 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3241 Likewise.
3242 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3243 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3244 Use __sim_round_mode_thread.
3245 * math/test-fenv-tls.c: New file.
3246 * math/Makefile (tests): Add test-fenv-tls.
3247 ($(objpfx)test-fenv-tls): Depend on
3248 $(common-objpfx)nptl/libpthread.so.
3249
3250 2013-11-19 Andreas Schwab <schwab@suse.de>
3251
3252 * locale/programs/locale.c (show_info): Decode wordarray elements.
3253 * locale/categories.def (LC_MONETARY): Add element for
3254 _NL_MONETARY_CRNCYSTR.
3255 * locale/C-monetary.c (conversion_rate): New variable.
3256 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3257 element.
3258
3259 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3260
3261 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3262 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3263
3264 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3265
3266 * elf/Makefile (tst-auxv): New test.
3267 * elf/tst-auxv.c: New
3268 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3269
3270 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3271
3272 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3273 (hidden_proto): Caller changed.
3274 (hidden_tls_proto): New macro.
3275 (libc_hidden_tls_proto): Likewise.
3276 (rtld_hidden_tls_proto): Likewise.
3277 (libm_hidden_tls_proto): Likewise.
3278 (libresolv_hidden_tls_proto): Likewise.
3279 (librt_hidden_tls_proto): Likewise.
3280 (libdl_hidden_tls_proto): Likewise.
3281 (libnss_files_hidden_tls_proto): Likewise.
3282 (libnsl_hidden_tls_proto): Likewise.
3283 (libnss_nisplus_hidden_tls_proto): Likewise.
3284 (libutil_hidden_tls_proto): Likewise.
3285
3286 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3287
3288 [BZ #10253]
3289 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3290 (decompose_rpath): Defer expansion to fillin_rpath.
3291 (_dl_init_paths): Pass linkmap to fillin_rpath.
3292
3293 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3294
3295 * benchtests/Makefile: Add strsep.
3296 * benchtests/bench-strsep.c: New file: strsep benchtest.
3297 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3298
3299 2013-11-18 Andreas Schwab <schwab@suse.de>
3300
3301 * locale/programs/locale.c (show_info) [case byte]: Check for
3302 '\377' instead of '\177'.
3303 * locale/C-monetary.c (not_available): Always use "\377".
3304 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3305 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3306 detect unavailable sign_posn locale elements.
3307 * locale/localeconv.c (__localeconv): For grouping and
3308 mon_grouping handle "\177" and "\377" like no grouping.
3309 (INT_ELEM): New macro. Use it to set all numeric members.
3310 * locale/programs/ld-monetary.c (monetary_read)
3311 <tok_mon_grouping>: Normalize single -1 to the empty string.
3312 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3313 Likewise.
3314
3315 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3316
3317 [BZ #16055]
3318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3319 when we match (nil).
3320 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3321
3322 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3323
3324 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3325 (NO_TEST_INLINE): Update value.
3326 (ERRNO_UNCHANGED): Likewise.
3327 (ERRNO_EDOM): Likewise.
3328 (ERRNO_ERANGE): Likewise.
3329 (IGNORE_RESULT): Likewise.
3330 (check_float_internal): Check signs of NaN results if
3331 TEST_NAN_SIGN used.
3332 (check_complex): Pass TEST_NAN_SIGN flag through to second
3333 check_float_internal call.
3334 (copysign_test_data): Add tests with quiet NaNs as second
3335 argument. Use TEST_NAN_SIGN.
3336 (fabs_test_data): Add test of negative quiet NaN argument. Use
3337 TEST_NAN_SIGN.
3338 (signbit_test_data): Add tests of quiet NaN argument.
3339 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3340
3341 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3342 $ignore_result.
3343 (parse_args): Handle function results specified as IGNORE.
3344 * math/libm-test.inc (IGNORE_RESULT): New macro.
3345 (check_float_internal): Do not check numerical result if flag
3346 IGNORE_RESULT set.
3347 (check_complex): Pass through IGNORE_RESULT to second
3348 check_float_internal call.
3349 (check_int): Do not check numerical result if flag IGNORE_RESULT
3350 set.
3351 (check_long): Likewise.
3352 (check_bool): Likewise.
3353 (check_longlong): Likewise.
3354 (lrint_test_data): Add tests of infinite and NaN arguments.
3355 (lrint_tonearest_test_data): Likewise.
3356 (lrint_towardzero_test_data): Likewise.
3357 (lrint_downward_test_data): Likewise.
3358 (lrint_upward_test_data): Likewise.
3359 (llrint_test_data): Likewise.
3360 (llrint_tonearest_test_data): Likewise.
3361 (llrint_towardzero_test_data): Likewise.
3362 (llrint_downward_test_data): Likewise.
3363 (llrint_upward_test_data): Likewise.
3364 (lround_test_data): Likewise.
3365 (llround_test_data): Likewise.
3366
3367 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3368 (ERRNO_UNCHANGED): Update value.
3369 (ERRNO_EDOM): Likewise.
3370 (ERRNO_ERANGE): Likewise.
3371 (NO_TEST_INLINE_FLOAT): New macro.
3372 (NO_TEST_INLINE_DOUBLE): Likewise.
3373 (enable_test): New function.
3374 (RUN_TEST_f_f): Check enable_test before running test.
3375 (RUN_TEST_2_f): Likewise.
3376 (RUN_TEST_fff_f): Likewise.
3377 (RUN_TEST_c_f): Likewise.
3378 (RUN_TEST_f_f1): Likewise.
3379 (RUN_TEST_fF_f1): Likewise.
3380 (RUN_TEST_fI_f1): Likewise.
3381 (RUN_TEST_ffI_f1): Likewise.
3382 (RUN_TEST_c_c): Likewise.
3383 (RUN_TEST_cc_c): Likewise.
3384 (RUN_TEST_f_i): Likewise.
3385 (RUN_TEST_f_i_tg): Likewise.
3386 (RUN_TEST_ff_i_tg): Likewise.
3387 (RUN_TEST_f_b): Likewise.
3388 (RUN_TEST_f_b_tg): Likewise.
3389 (RUN_TEST_f_l): Likewise.
3390 (RUN_TEST_f_L): Likewise.
3391 (RUN_TEST_fFF_11): Likewise.
3392 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3393 conditionals.
3394 (cosh_test_data): Likewise.
3395 (exp_test_data): Likewise.
3396 (expm1_test_data): Likewise.
3397 (hypot_test_data): Likewise.
3398 (pow_test_data): Likewise.
3399 (sinh_test_data): Likewise.
3400 (tanh_test_data): Likewise.
3401 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3402 flags argument.
3403
3404 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3405 tests with quiet NaN input and output.
3406 (acosh_test_data): Likewise.
3407 (asin_test_data): Likewise.
3408 (asinh_test_data): Likewise.
3409 (atan_test_data): Likewise.
3410 (atanh_test_data): Likewise.
3411 (atan2_test_data): Likewise.
3412 (cbrt_test_data): Likewise.
3413 (cos_test_data): Likewise.
3414 (cosh_test_data): Likewise.
3415 (erf_test_data): Likewise.
3416 (erfc_test_data): Likewise.
3417 (exp_test_data): Likewise.
3418 (exp10_test_data): Likewise.
3419 (exp2_test_data): Likewise.
3420 (expm1_test_data): Likewise.
3421 (hypot_test_data): Likewise.
3422 (j0_test_data): Likewise.
3423 (j1_test_data): Likewise.
3424 (jn_test_data): Likewise.
3425 (lgamma_test_data): Likewise.
3426 (log_test_data): Likewise.
3427 (log10_test_data): Likewise.
3428 (log1p_test_data): Likewise.
3429 (log2_test_data): Likewise.
3430 (pow_test_data): Likewise.
3431 (scalb_test_data): Likewise.
3432 (sin_test_data): Likewise.
3433 (sincos_test_data): Likewise.
3434 (sinh_test_data): Likewise.
3435 (tan_test_data): Likewise.
3436 (tanh_test_data): Likewise.
3437 (tgamma_test_data): Likewise.
3438 (y0_test_data): Likewise.
3439 (y1_test_data): Likewise.
3440 (yn_test_data): Likewise.
3441
3442 [BZ #16167]
3443 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3444 argument being NaN and avoid computations with second argument in
3445 that case.
3446 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3447 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3448 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3449
3450 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3451
3452 * locale/iso-639.def: Add Chitwani Tharu (the).
3453
3454 2013-11-14 Andreas Schwab <schwab@suse.de>
3455
3456 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3457 word instead of empty string.
3458
3459 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3460
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3462 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3464 (__fe_nomask_env): Likewise.
3465
3466 2013-11-13 Steve Ellcey <sellcey@mips.com>
3467
3468 * benchtests/bench-timing.h: Include time.h.
3469
3470 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 [BZ #15997]
3473 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3474 to 3.4.0 for x32.
3475 * sysdeps/unix/sysv/linux/configure: Regenerated.
3476
3477 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3478
3479 [BZ #16151]
3480 * stdlib/strtod_l.c (round_and_return): Do not consider
3481 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3482 exponent one less than half the least subnormal exponent.
3483 * stdlib/test-strtod-round-data: Add more tests.
3484 * stdlib/tst-strtod-round.c (tests): Regenerated.
3485
3486 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3487
3488 [BZ #14143]
3489 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3490 (__fe_mask_env): Likewise.
3491 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3492 libm_hidden_proto and add function prototype.
3493 (__fe_mask_env): Add function prototype.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3495 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3497 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3499 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3500
3501 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3502
3503 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3504 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3505
3506 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3507
3508 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3509 of htab_find_slot().
3510
3511 2013-11-11 David S. Miller <davem@davemloft.net>
3512
3513 [BZ #16150]
3514 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3515 symbol in the non-vis3 case in static builds.
3516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3517 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3518 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3519 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3520
3521 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 [BZ #387]
3524 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3525 it is empty.
3526
3527 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
3529 * benchtests/Makefile: Add bench-strtod.
3530 * benchtests/bench-strtod.c: New file: strtod benchtest
3531
3532 2013-11-11 Andreas Schwab <schwab@suse.de>
3533
3534 [BZ #16153]
3535 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3536 terminating NUL in key length.
3537
3538 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3539
3540 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3541 Add artificial ODP entry for vDSO symbol for PPC64.
3542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3543 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3544
3545 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3546
3547 [BZ #15374]
3548 * nss/getent.c (services_keys): Recognize services starting with digit.
3549
3550 2013-11-06 David S. Miller <davem@davemloft.net>
3551
3552 [BZ #15985]
3553 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3554 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3555
3556 2013-11-06 Will Newton <will.newton@linaro.org>
3557
3558 * manual/memory.texi (Malloc Examples): Remove register
3559 keyword from examples.
3560
3561 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3562
3563 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3564
3565 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3566
3567 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3568 depending on [__GCC_IEC_559 > 0].
3569 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3570 depending on [__GCC_IEC_559_COMPLEX > 0].
3571
3572 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3573
3574 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3575 to iso-639.def.
3576
3577 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3578
3579 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3580
3581 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3582
3583 [BZ #16112]
3584 * malloc/malloc (malloc_info): Do not handle first bin as
3585 special case.
3586
3587 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3588
3589 * locale/iso-639.def: Add Central Nahuatl (nhn).
3590
3591 2013-11-01 Bruno Haible <bruno@clisp.org>
3592
3593 [BZ #7003]
3594 * manual/math.texi (BSD Random): Specify range upper bound as
3595 in POSIX.
3596
3597 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3598
3599 * locale/iso-639.def: Add Meadow Mari (mhr).
3600
3601 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3602
3603 [BZ #14752], [BZ #15763]
3604 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3605 Validate name.
3606 * rt/tst_shm.c: Add test for escaping directory.
3607
3608 2013-10-31 Andreas Schwab <schwab@suse.de>
3609
3610 [BZ #15917]
3611 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3612 followed by 'x' as part of digit sequence.
3613 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3614
3615 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3616
3617 [BZ #16037]
3618 * configure.ac: allow GNU Make 4.0 and greater.
3619 * configure: Regenerated.
3620
3621 2013-10-30 Will Newton <will.newton@linaro.org>
3622
3623 [BZ #16038]
3624 * malloc/hooks.c (memalign_check): Limit alignment to the
3625 maximum representable power of two.
3626 * malloc/malloc.c (__libc_memalign): Likewise.
3627 * malloc/tst-memalign.c (do_test): Add test for very
3628 large alignment values.
3629 * malloc/tst-posix_memalign.c (do_test): Likewise.
3630
3631 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3632
3633 [BZ #11087]
3634 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3635 (munmap_chunk): Likewise.
3636 (mremap_chunk): Likewise.
3637
3638 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3639
3640 [BZ #15799]
3641 * stdlib/div.c (div): Remove obsolete code.
3642 * stdlib/ldiv.c (ldiv): Likewise.
3643 * stdlib/lldiv.c (lldiv): Likewise.
3644
3645 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3646
3647 [BZ #16071]
3648 * nss/nss_files/files-XXX.c (get_contents_ret): New
3649 enumerator.
3650 (get_contents): New function.
3651 (internal_getent): Use it. Expand size of LINEBUFLEN.
3652
3653 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3654
3655 * configure.in: Moved to ...
3656 * configure.ac: ... here. Change reference to configure.in
3657 to configure.ac.
3658 * sysdeps/arm/preconfigure.ac: ... here.
3659 configure.in to configure.ac.
3660 * sysdeps/gnu/configure.in: Moved to ...
3661 * sysdeps/gnu/configure.ac: ... here.
3662 * sysdeps/i386/configure.in: Moved to ...
3663 * sysdeps/i386/configure.ac: ... here.
3664 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3665 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3666 * sysdeps/mach/configure.in: Moved to ...
3667 * sysdeps/mach/configure.ac: ... here.
3668 * sysdeps/mach/hurd/configure.in: Moved to ...
3669 * sysdeps/mach/hurd/configure.ac: ... here.
3670 * sysdeps/powerpc/configure.in: Moved to ...
3671 * sysdeps/powerpc/configure.ac: ... here.
3672 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3673 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3674 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3675 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3676 * sysdeps/s390/s390-32/configure.in: Moved to ...
3677 * sysdeps/s390/s390-32/configure.ac: ... here.
3678 * sysdeps/s390/s390-64/configure.in: Moved to ...
3679 * sysdeps/s390/s390-64/configure.ac: ... here.
3680 * sysdeps/sh/configure.in: Moved to ...
3681 * sysdeps/sh/configure.ac: ... here.
3682 * sysdeps/sparc/configure.in: Moved to ...
3683 * sysdeps/sparc/configure.ac: ... here.
3684 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3685 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3686 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3687 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3688 * sysdeps/x86_64/configure.in: Moved to ...
3689 * sysdeps/x86_64/configure.ac: ... here.
3690 * sysdeps/x86_64/preconfigure.in: Moved to ...
3691 * sysdeps/x86_64/preconfigure.ac: ... here.
3692 * aclocal.m4: Change reference to configure.in to configure.ac.
3693 * config.h.in: Likewise.
3694 * manual/install.texi: Likewise.
3695 * manual/maint.texi: Likewise.
3696 * Makefile: Likewise.
3697 * malloc/Makefile: Likewise.
3698 * nscd/Makefile: Likewise.
3699 * Makeconfig: Change reference to configure.in and
3700 preconfigure.in to configure.ac and preconfigure.ac
3701 respectively.
3702 * INSTALL: Regenerated.
3703 * configure: Likewise.
3704 * sysdeps/gnu/configure: Likewise.
3705 * sysdeps/i386/configure: Likewise.
3706 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3707 * sysdeps/mach/configure: Likewise.
3708 * sysdeps/mach/hurd/configure: Likewise.
3709 * sysdeps/powerpc/configure: Likewise.
3710 * sysdeps/powerpc/powerpc32/configure: Likewise.
3711 * sysdeps/powerpc/powerpc64/configure: Likewise.
3712 * sysdeps/s390/s390-32/configure: Likewise.
3713 * sysdeps/s390/s390-64/configure: Likewise.
3714 * sysdeps/sh/configure: Likewise.
3715 * sysdeps/sparc/configure: Likewise.
3716 * sysdeps/unix/sysv/linux/configure: Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3718 * sysdeps/x86_64/configure: Likewise.
3719 * sysdeps/x86_64/preconfigure: Likewise.
3720
3721 2013-10-29 Andreas Schwab <schwab@suse.de>
3722
3723 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3724
3725 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3726
3727 * benchtests/pow-inputs: Add new inputs.
3728
3729 * benchtests/exp-inputs: Add new inputs.
3730
3731 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3732 conditional check for return value.
3733 (__cos32): Likewise.
3734
3735 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3736
3737 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3738 to provide a boost for large inputs with word alignment.
3739 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3740 implementation based on optimized PPC64 strcpy.
3741 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3742 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3743 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3744 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3745
3746 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3747
3748 [BZ #2801]
3749 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3750
3751 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3752
3753 [BZ #14876]
3754 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3755 * time/tst-strptime.c (day_tests): Add testcase.
3756
3757 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3758
3759 [BZ #14029]
3760 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3761
3762 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3763
3764 [BZ #16074]
3765 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3766 MAP_FAILED on error.
3767
3768 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3769
3770 [BZ #16072]
3771 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3772 heap for large requests.
3773
3774 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3775
3776 [BZ #9954]
3777 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3778 result if the result has no associated interface.
3779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3780 interface for all 127.X.Y.Z addresses.
3781
3782 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3783
3784 * locale/iso-639.def: Add Ligurian (lij)
3785
3786 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3787
3788 [BZ #15825]
3789 * sunrpc/rpc_main.c: Document rpcgen -5.
3790
3791 2013-10-19 Michael Stahl <mstahl@redhat.com>
3792
3793 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3794
3795 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3796
3797 [BZ #10278]
3798 * posix/glob.c: Match only directories when trailing slash is present.
3799 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3800 (main): Add testcase.
3801
3802 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3803
3804 [BZ #15670]
3805 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3806
3807 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3808
3809 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3810 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3811 AUTH_DES and cindex for FIPS 140-2.
3812 (DES Encryption): Add cindex FIPS 46-3.
3813
3814 * locale/locarchive.h (struct locarhandle): Add fname.
3815 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3816 if an optional argument was specified to --list-archive,
3817 otherwise NULL.
3818 * locale/programs/locarchive.c (show_archive_content): Take new
3819 argument fname and pass it via ah.fname to open_archive.
3820 * locale/programs/localedef.h: Update decl.
3821 (open_archive): If AH->fname is non-null, open that file
3822 rather than the default file name, and don't ignore ENOENT.
3823 (create_archive): Set AH.fname to NULL.
3824 (delete_locales_from_archive): Likewise.
3825 (add_locales_to_archive): Likewise.
3826 * locale/programs/locfile.c (write_all_categories): Likewise.
3827
3828 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3829 Aldy Hernandez <aldyh@redhat.com>
3830
3831 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3832 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3833 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3834 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3835 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3836 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3837 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3838 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3839 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3840 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3841 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3842 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3843 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3844 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3845 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3846 Likewise.
3847 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3848 Likewise.
3849 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3850 Likewise.
3851 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3852 Likewise.
3853 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3854 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3855 Likewise.
3856 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3857 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3858 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3859 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3860 Likewise.
3861 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3862 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3863 * sysdeps/powerpc/preconfigure: Likewise.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3865 Likewise.
3866 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3867 Replace contents of file by #include of <fenv_libc.h>.
3868 * sysdeps/powerpc/soft-fp/sfp-machine.h
3869 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3870 and <sys/prctl.h>.
3871 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3875 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3884 Allow copysignl PLT reference to be missing.
3885
3886 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3887 Joseph Myers <joseph@codesourcery.com
3888
3889 [BZ #15948]
3890 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3891 single character.
3892 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3893
3894 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3895
3896 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3897 * elf/tst-tls1.c: Likewise.
3898 * elf/tst-tls10.h: Likewise.
3899 * elf/tst-tls14.c: Likewise.
3900 * elf/tst-tls2.c: Likewise.
3901 * elf/tst-tls3.c: Likewise.
3902 * elf/tst-tls4.c: Likewise.
3903 * elf/tst-tls5.c: Likewise.
3904 * elf/tst-tls6.c: Likewise.
3905 * elf/tst-tls7.c: Likewise.
3906 * elf/tst-tls8.c: Likewise.
3907 * elf/tst-tls9.c: Likewise.
3908 * elf/tst-tlsmod1.c: Likewise.
3909 * elf/tst-tlsmod13.c: Likewise.
3910 * elf/tst-tlsmod13a.c: Likewise.
3911 * elf/tst-tlsmod14a.c: Likewise.
3912 * elf/tst-tlsmod16a.c: Likewise.
3913 * elf/tst-tlsmod16b.c: Likewise.
3914 * elf/tst-tlsmod2.c: Likewise.
3915 * elf/tst-tlsmod3.c: Likewise.
3916 * elf/tst-tlsmod4.c: Likewise.
3917 * elf/tst-tlsmod5.c: Likewise.
3918 * elf/tst-tlsmod6.c: Likewise.
3919
3920 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3921
3922 [BZ #12486]
3923 * malloc/malloc.c: remove checks for statistics.
3924
3925 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3926
3927 [BZ #15277]
3928 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3929 * inet/tst-network.c: Add testcase.
3930
3931 2013-10-17 Andreas Schwab <schwab@suse.de>
3932
3933 [BZ #15218]
3934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3935 to determine canonical name.
3936
3937 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3938
3939 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3940 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3963 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3964 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3969 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3997
3998 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3999
4000 [BZ #16041]
4001 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4002 make result into a quiet NaN.
4003
4004 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4005
4006 * soft-fp/adddf3.c: Fix horizontal whitespace.
4007 * soft-fp/addsf3.c: Likewise.
4008 * soft-fp/addtf3.c: Likewise.
4009 * soft-fp/divdf3.c: Likewise.
4010 * soft-fp/divsf3.c: Likewise.
4011 * soft-fp/divtf3.c: Likewise.
4012 * soft-fp/double.h: Likewise.
4013 * soft-fp/eqdf2.c: Likewise.
4014 * soft-fp/eqsf2.c: Likewise.
4015 * soft-fp/eqtf2.c: Likewise.
4016 * soft-fp/extenddftf2.c: Likewise.
4017 * soft-fp/extended.h: Likewise.
4018 * soft-fp/extendsfdf2.c: Likewise.
4019 * soft-fp/extendsftf2.c: Likewise.
4020 * soft-fp/extendxftf2.c: Likewise.
4021 * soft-fp/fixdfdi.c: Likewise.
4022 * soft-fp/fixdfsi.c: Likewise.
4023 * soft-fp/fixdfti.c: Likewise.
4024 * soft-fp/fixsfdi.c: Likewise.
4025 * soft-fp/fixsfsi.c: Likewise.
4026 * soft-fp/fixsfti.c: Likewise.
4027 * soft-fp/fixtfdi.c: Likewise.
4028 * soft-fp/fixtfsi.c: Likewise.
4029 * soft-fp/fixtfti.c: Likewise.
4030 * soft-fp/fixunsdfdi.c: Likewise.
4031 * soft-fp/fixunsdfsi.c: Likewise.
4032 * soft-fp/fixunsdfti.c: Likewise.
4033 * soft-fp/fixunssfdi.c: Likewise.
4034 * soft-fp/fixunssfsi.c: Likewise.
4035 * soft-fp/fixunssfti.c: Likewise.
4036 * soft-fp/fixunstfdi.c: Likewise.
4037 * soft-fp/fixunstfsi.c: Likewise.
4038 * soft-fp/fixunstfti.c: Likewise.
4039 * soft-fp/floatdidf.c: Likewise.
4040 * soft-fp/floatdisf.c: Likewise.
4041 * soft-fp/floatditf.c: Likewise.
4042 * soft-fp/floatsidf.c: Likewise.
4043 * soft-fp/floatsisf.c: Likewise.
4044 * soft-fp/floatsitf.c: Likewise.
4045 * soft-fp/floattidf.c: Likewise.
4046 * soft-fp/floattisf.c: Likewise.
4047 * soft-fp/floattitf.c: Likewise.
4048 * soft-fp/floatundidf.c: Likewise.
4049 * soft-fp/floatundisf.c: Likewise.
4050 * soft-fp/floatunditf.c: Likewise.
4051 * soft-fp/floatunsidf.c: Likewise.
4052 * soft-fp/floatunsisf.c: Likewise.
4053 * soft-fp/floatunsitf.c: Likewise.
4054 * soft-fp/floatuntidf.c: Likewise.
4055 * soft-fp/floatuntisf.c: Likewise.
4056 * soft-fp/floatuntitf.c: Likewise.
4057 * soft-fp/fmadf4.c: Likewise.
4058 * soft-fp/fmasf4.c: Likewise.
4059 * soft-fp/fmatf4.c: Likewise.
4060 * soft-fp/gedf2.c: Likewise.
4061 * soft-fp/gesf2.c: Likewise.
4062 * soft-fp/getf2.c: Likewise.
4063 * soft-fp/ledf2.c: Likewise.
4064 * soft-fp/lesf2.c: Likewise.
4065 * soft-fp/letf2.c: Likewise.
4066 * soft-fp/muldf3.c: Likewise.
4067 * soft-fp/mulsf3.c: Likewise.
4068 * soft-fp/multf3.c: Likewise.
4069 * soft-fp/negdf2.c: Likewise.
4070 * soft-fp/negsf2.c: Likewise.
4071 * soft-fp/negtf2.c: Likewise.
4072 * soft-fp/op-1.h: Likewise.
4073 * soft-fp/op-2.h: Likewise.
4074 * soft-fp/op-4.h: Likewise.
4075 * soft-fp/op-8.h: Likewise.
4076 * soft-fp/op-common.h: Likewise.
4077 * soft-fp/quad.h: Likewise.
4078 * soft-fp/single.h: Likewise.
4079 * soft-fp/soft-fp.h: Likewise.
4080 * soft-fp/sqrtdf2.c: Likewise.
4081 * soft-fp/sqrtsf2.c: Likewise.
4082 * soft-fp/sqrttf2.c: Likewise.
4083 * soft-fp/subdf3.c: Likewise.
4084 * soft-fp/subsf3.c: Likewise.
4085 * soft-fp/subtf3.c: Likewise.
4086 * soft-fp/truncdfsf2.c: Likewise.
4087 * soft-fp/trunctfdf2.c: Likewise.
4088 * soft-fp/trunctfsf2.c: Likewise.
4089 * soft-fp/trunctfxf2.c: Likewise.
4090 * soft-fp/unorddf2.c: Likewise.
4091 * soft-fp/unordsf2.c: Likewise.
4092 * soft-fp/unordtf2.c: Likewise.
4093
4094 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4095
4096 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4097 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4098
4099 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4100
4101 * elf/dl-libc.c: Clear initfini list after freeing.
4102
4103 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4104
4105 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4106 * soft-fp/addsf3.c: Likewise.
4107 * soft-fp/addtf3.c: Likewise.
4108 * soft-fp/divdf3.c: Likewise.
4109 * soft-fp/divsf3.c: Likewise.
4110 * soft-fp/divtf3.c: Likewise.
4111 * soft-fp/double.h: Likewise.
4112 * soft-fp/eqdf2.c: Likewise.
4113 * soft-fp/eqsf2.c: Likewise.
4114 * soft-fp/eqtf2.c: Likewise.
4115 * soft-fp/extenddftf2.c: Likewise.
4116 * soft-fp/extended.h: Likewise.
4117 * soft-fp/extendsfdf2.c: Likewise.
4118 * soft-fp/extendsftf2.c: Likewise.
4119 * soft-fp/extendxftf2.c: Likewise.
4120 * soft-fp/fixdfdi.c: Likewise.
4121 * soft-fp/fixdfsi.c: Likewise.
4122 * soft-fp/fixdfti.c: Likewise.
4123 * soft-fp/fixsfdi.c: Likewise.
4124 * soft-fp/fixsfsi.c: Likewise.
4125 * soft-fp/fixsfti.c: Likewise.
4126 * soft-fp/fixtfdi.c: Likewise.
4127 * soft-fp/fixtfsi.c: Likewise.
4128 * soft-fp/fixtfti.c: Likewise.
4129 * soft-fp/fixunsdfdi.c: Likewise.
4130 * soft-fp/fixunsdfsi.c: Likewise.
4131 * soft-fp/fixunsdfti.c: Likewise.
4132 * soft-fp/fixunssfdi.c: Likewise.
4133 * soft-fp/fixunssfsi.c: Likewise.
4134 * soft-fp/fixunssfti.c: Likewise.
4135 * soft-fp/fixunstfdi.c: Likewise.
4136 * soft-fp/fixunstfsi.c: Likewise.
4137 * soft-fp/fixunstfti.c: Likewise.
4138 * soft-fp/floatdidf.c: Likewise.
4139 * soft-fp/floatdisf.c: Likewise.
4140 * soft-fp/floatditf.c: Likewise.
4141 * soft-fp/floatsidf.c: Likewise.
4142 * soft-fp/floatsisf.c: Likewise.
4143 * soft-fp/floatsitf.c: Likewise.
4144 * soft-fp/floattidf.c: Likewise.
4145 * soft-fp/floattisf.c: Likewise.
4146 * soft-fp/floattitf.c: Likewise.
4147 * soft-fp/floatundidf.c: Likewise.
4148 * soft-fp/floatundisf.c: Likewise.
4149 * soft-fp/floatunsidf.c: Likewise.
4150 * soft-fp/floatunsisf.c: Likewise.
4151 * soft-fp/floatuntidf.c: Likewise.
4152 * soft-fp/floatuntisf.c: Likewise.
4153 * soft-fp/floatuntitf.c: Likewise.
4154 * soft-fp/fmadf4.c: Likewise.
4155 * soft-fp/fmasf4.c: Likewise.
4156 * soft-fp/fmatf4.c: Likewise.
4157 * soft-fp/gedf2.c: Likewise.
4158 * soft-fp/gesf2.c: Likewise.
4159 * soft-fp/getf2.c: Likewise.
4160 * soft-fp/ledf2.c: Likewise.
4161 * soft-fp/lesf2.c: Likewise.
4162 * soft-fp/letf2.c: Likewise.
4163 * soft-fp/muldf3.c: Likewise.
4164 * soft-fp/mulsf3.c: Likewise.
4165 * soft-fp/multf3.c: Likewise.
4166 * soft-fp/negdf2.c: Likewise.
4167 * soft-fp/negsf2.c: Likewise.
4168 * soft-fp/negtf2.c: Likewise.
4169 * soft-fp/op-1.h: Likewise.
4170 * soft-fp/op-2.h: Likewise.
4171 * soft-fp/op-4.h: Likewise.
4172 * soft-fp/op-8.h: Likewise.
4173 * soft-fp/op-common.h: Likewise.
4174 * soft-fp/quad.h: Likewise.
4175 * soft-fp/single.h: Likewise.
4176 * soft-fp/soft-fp.h: Likewise.
4177 * soft-fp/sqrtdf2.c: Likewise.
4178 * soft-fp/sqrtsf2.c: Likewise.
4179 * soft-fp/sqrttf2.c: Likewise.
4180 * soft-fp/subdf3.c: Likewise.
4181 * soft-fp/subsf3.c: Likewise.
4182 * soft-fp/subtf3.c: Likewise.
4183 * soft-fp/truncdfsf2.c: Likewise.
4184 * soft-fp/trunctfdf2.c: Likewise.
4185 * soft-fp/trunctfsf2.c: Likewise.
4186 * soft-fp/trunctfxf2.c: Likewise.
4187 * soft-fp/unorddf2.c: Likewise.
4188 * soft-fp/unordsf2.c: Likewise.
4189 * soft-fp/unordtf2.c: Likewise.
4190
4191 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4192
4193 [BZ #15672]
4194 * misc/error.c (error_tail): Fix possible buffer overflow.
4195
4196 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4197
4198 [BZ #13028]
4199 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4200 address.
4201
4202 2013-10-14 P. J. McDermott <pj@pehjota.net>
4203
4204 [BZ #832]
4205 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4206 testing pipefail option.
4207
4208 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4209
4210 * soft-fp/double.h: Indent preprocessor directives inside #if.
4211 * soft-fp/extended.h: Likewise.
4212 * soft-fp/op-2.h: Likewise.
4213 * soft-fp/op-4.h: Likewise.
4214 * soft-fp/op-common.h: Likewise.
4215 * soft-fp/quad.h: Likewise.
4216 * soft-fp/single.h: Likewise.
4217 * soft-fp/soft-fp.h: Likewise.
4218
4219 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4220
4221 * iconv/iconv_prog.c: Fix typos.
4222 * stdio-common/psiginfo-data.h: Likewise.
4223
4224 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4225
4226 [BZ #15764]
4227 * locale/setlocale.c: Fix typo.
4228
4229 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4230
4231 [BZ #16036]
4232 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4233 signaling NaN arguments.
4234 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4235 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4236
4237 [BZ #14910]
4238 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4239 unordered operands.
4240 * soft-fp/gesf2.c (__gesf2): Likewise.
4241 * soft-fp/getf2.c (__getf2): Likewise.
4242 * soft-fp/ledf2.c (__ledf2): Likewise.
4243 * soft-fp/lesf2.c (__lesf2): Likewise.
4244 * soft-fp/letf2.c (__letf2): Likewise.
4245
4246 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4247 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4248 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4249 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4250 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4251 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4252 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4253 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4254 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4255 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4256 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4257 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4258 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4259 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4260 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4261 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4262 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4263 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4264 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4265 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4266 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4267 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4268 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4269 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4270 * soft-fp/floattidf.c (__floattidf): Likewise.
4271 * soft-fp/floattisf.c (__floattisf): Likewise.
4272 * soft-fp/floattitf.c (__floattitf): Likewise.
4273 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4274 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4275 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4276 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4277 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4278 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4279 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4280 * soft-fp/gesf2.c (__gesf2): Likewise.
4281 * soft-fp/getf2.c (__getf2): Likewise.
4282 * soft-fp/ledf2.c (__ledf2): Likewise.
4283 * soft-fp/lesf2.c (__lesf2): Likewise.
4284 * soft-fp/letf2.c (__letf2): Likewise.
4285
4286 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4287 Undefine and redefine.
4288 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4289 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4290 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4291 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4292 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4293 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4294 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4295 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4296 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4297 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4298 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4299 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4300 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4301 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4302 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4303
4304 [BZ #16032]
4305 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4306 without decrementing exponent if mantissa >= that for the
4307 denominator, not >.
4308 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4309 denominator, not >. Decrement exponent in < case instead of
4310 incrementing in >= case.
4311 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4312 without decrementing exponent if mantissa >= that for the
4313 denominator, not >.
4314
4315 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4316 computing saturated result for unsigned overflow.
4317
4318 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4319 Jeff Law <law@redhat.com>
4320
4321 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4322 (atan2Mp): Add systemtap probe marker.
4323 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4324 (__ieee754_log): Add systemtap probe marker.
4325 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4326 (atanMp): Add systemtap probe marker.
4327 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4328 (tanMp): Add systemtap probe marker.
4329 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4330 (__slowexp): Add systemtap probe marker.
4331 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4332 (__slowpow): Add systemtap probe marker.
4333 * manual/probes.texi: Document probes.
4334
4335 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4336
4337 [BZ #15362]
4338 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4339 written.
4340 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4341 written.
4342 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4343 written to buffer but not flushed.
4344 * libio/iofwrite_u.c: Likewise.
4345 * libio/iopadn.c: Return bytes returned even if EOF was
4346 encountered.
4347 * libio/iowpadn.c: Likewise.
4348 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4349 if _IO_padn does not write the whole buffer.
4350 [!COMPILE_WPRINTF] (PAD): Likewise.
4351
4352 2013-10-10 David S. Miller <davem@davemloft.net>
4353
4354 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4355 directory block.
4356
4357 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4358
4359 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4360 instead of FSF address.
4361 * soft-fp/fixdfti.c: Likewise.
4362 * soft-fp/fixsfti.c: Likewise.
4363 * soft-fp/fixtfti.c: Likewise.
4364 * soft-fp/fixunsdfti.c: Likewise.
4365 * soft-fp/fixunssfti.c: Likewise.
4366 * soft-fp/fixunstfti.c: Likewise.
4367 * soft-fp/floattidf.c: Likewise.
4368 * soft-fp/floattisf.c: Likewise.
4369 * soft-fp/floattitf.c: Likewise.
4370 * soft-fp/floatuntidf.c: Likewise.
4371 * soft-fp/floatuntisf.c: Likewise.
4372 * soft-fp/floatuntitf.c: Likewise.
4373 * soft-fp/trunctfxf2.c: Likewise.
4374
4375 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4376 * soft-fp/fixdfti.c: Likewise.
4377 * soft-fp/fixsfti.c: Likewise.
4378 * soft-fp/fixtfti.c: Likewise.
4379 * soft-fp/fixunsdfti.c: Likewise.
4380 * soft-fp/fixunssfti.c: Likewise.
4381 * soft-fp/fixunstfti.c: Likewise.
4382 * soft-fp/floattidf.c: Likewise.
4383 * soft-fp/floattisf.c: Likewise.
4384 * soft-fp/floattitf.c: Likewise.
4385 * soft-fp/floatuntidf.c: Likewise.
4386 * soft-fp/floatuntisf.c: Likewise.
4387 * soft-fp/floatuntitf.c: Likewise.
4388 * soft-fp/trunctfxf2.c: Likewise.
4389
4390 2013-10-10 David S. Miller <davem@davemloft.net>
4391
4392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4393
4394 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4395
4396 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4397 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4398 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4399 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4400 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4401 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4402 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4403
4404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4405 for NaNs before doing comparisons on argument.
4406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4407 Likewise.
4408
4409 2013-10-10 Will Newton <will.newton@linaro.org>
4410
4411 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4412 passed to _int_memalign does not overflow.
4413
4414 2013-10-10 Torvald Riegel <triegel@redhat.com>
4415
4416 * scripts/bench.pl: Add include-sources directive.
4417 * benchtests/README: Update documentation.
4418
4419 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4420
4421 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4422 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4423 instead of FP_INIT_ROUNDMODE.
4424 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4425 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4426
4427 [BZ #16034]
4428 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4429 copy class of input value.
4430 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4431 not handle exceptions.
4432 * soft-fp/negsf2.c (__negsf2): Likewise.
4433 * soft-fp/negtf2.c (__negtf2): Likewise.
4434 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4435
4436 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4437
4438 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4439 semicolon. From Linux kernel.
4440
4441 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4442
4443 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4444
4445 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4446
4447 [BZ #156]
4448 * manual/socket.texi: Added statement about buffer
4449 for gethostbyname2_r.
4450
4451 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4452
4453 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4454 Use .p2align directive instead, throughout.
4455 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4456 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4457 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4460 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4461 * sysdeps/x86_64/strchr.S: Likewise.
4462 * sysdeps/x86_64/strrchr.S: Likewise.
4463
4464 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4465
4466 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4467
4468 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4469
4470 * sysdeps/generic/math_private.h (__mpsin1): Remove
4471 declaration.
4472 (__mpcos1): Likewise.
4473 (__mpsin): New argument __range_reduce.
4474 (__mpcos): Likewise.
4475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4476 (slow): Use __mpsin and __mpcos.
4477 (slow1): Likewise.
4478 (slow2): Likewise.
4479 (sloww): Likewise.
4480 (sloww1): Likewise.
4481 (sloww2): Likewise.
4482 (bsloww): Likewise.
4483 (bsloww1): Likewise.
4484 (bsloww2): Likewise.
4485 (cslow2): Likewise.
4486 (csloww): Likewise.
4487 (csloww1): Likewise.
4488 (csloww2): Likewise.
4489 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4490 range_reduce. Merge in __mpsin1.
4491 (__mpcos): Likewise.
4492 (__mpsin1): Remove.
4493 (__mpcos1): Likewise.
4494
4495 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4496
4497 * locale/loadlocale.c (_nl_intern_locale_data): Use
4498 LOCFILE_ALIGNED_P.
4499 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4500 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4501 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4502 obstack data is appropriately aligned.
4503 (obstack_int32_grow_fast): Likewise.
4504 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4505 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4506 (add_locale_uint32_array): Likewise.
4507
4508 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4509
4510 * benchtests/Makefile: Remove ARGLIST and RET variables.
4511 ($(objpfx)bench-%.c): Pass only function name to the script.
4512 * benchtests/README: Update documentation.
4513 * benchtests/acos-inputs: Add new directives.
4514 * benchtests/acosh-inputs: Likewise.
4515 * benchtests/asin-inputs: Likewise.
4516 * benchtests/asinh-inputs: Likewise.
4517 * benchtests/atan-inputs: Likewise.
4518 * benchtests/atanh-inputs: Likewise.
4519 * benchtests/cos-inputs: Likewise.
4520 * benchtests/cosh-inputs: Likewise.
4521 * benchtests/exp-inputs: Likewise.
4522 * benchtests/log-inputs: Likewise.
4523 * benchtests/pow-inputs: Likewise.
4524 * benchtests/rint-inputs: Likewise.
4525 * benchtests/sin-inputs: Likewise.
4526 * benchtests/sinh-inputs: Likewise.
4527 * benchtests/tan-inputs: Likewise.
4528 * benchtests/tanh-inputs: Likewise.
4529 * scripts/bench.pl: Add support for new directives.
4530
4531 2013-10-07 Alan Modra <amodra@gmail.com>
4532
4533 * README: Fix careless merge.
4534
4535 2013-10-05 Alan Modra <amodra@gmail.com>
4536
4537 * NEWS: Mention powerpc64le support and bugs fixed.
4538 * README: Both big-endian and little-endian powerpc64 supported.
4539
4540 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4541
4542 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4543 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4544 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4545 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4546
4547 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4548
4549 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4550 match prototype.
4551
4552 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4553
4554 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4555 Move -mhard-float appending from
4556 ports/sysdeps/powerpc/powerpc32/Makefile.
4557 [$(with-fp) = yes] (ASFLAGS): Likewise.
4558 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4559 * sysdeps/powerpc/nofpu: Move directory from
4560 ports/sysdeps/powerpc/nofpu.
4561 * sysdeps/powerpc/soft-fp: Move directory from
4562 ports/sysdeps/powerpc/soft-fp.
4563 * sysdeps/powerpc/powerpc32/405: Move directory from
4564 ports/sysdeps/powerpc/powerpc32/405.
4565 * sysdeps/powerpc/powerpc32/440: Move directory from
4566 ports/sysdeps/powerpc/powerpc32/440.
4567 * sysdeps/powerpc/powerpc32/464: Move directory from
4568 ports/sysdeps/powerpc/powerpc32/464.
4569 * sysdeps/powerpc/powerpc32/476: Move directory from
4570 ports/sysdeps/powerpc/powerpc32/476.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4572 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4574 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4576 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4578 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4581 * README: Update for powerpc-*-linux-gnu software floating point
4582 support in libc.
4583
4584 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4585 case to powerpc/powerpc32*.
4586 * sysdeps/unix/sysv/linux/configure: Regenerated.
4587
4588 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4589 (_FPU_MASK_OM): Define as 0x04.
4590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4592 0x00c10080.
4593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4594 0x0000003c.
4595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4596
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4598 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4599 getcontext_e500.
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4601 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4602 setcontext_e500.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4604 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4605 and setcontext_e500.
4606
4607 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4608
4609 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4610
4611 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4612
4613 * manual/threads.texi (Default Thread Attributes): Fix typo.
4614
4615 2013-10-04 Will Newton <will.newton@linaro.org>
4616
4617 * malloc/Makefile: Add tst-memalign.
4618 * malloc/tst-memalign.c: New file.
4619
4620 * malloc/tst-posix_memalign.c: Add comments.
4621 (do_test): Add comments and call free on all potentially
4622 allocated pointers. Add space after cast.
4623
4624 * malloc/tst-pvalloc.c: Add comments.
4625 (do_test): Add comments and call free on all potentially
4626 allocated pointers. Remove duplicate check for NULL pointer.
4627 Add space after cast.
4628
4629 * malloc/tst-valloc.c: Add comments.
4630 (do_test): Add comments and call free on all potentially
4631 allocated pointers. Remove duplicate check for NULL pointer.
4632 Add space after cast.
4633
4634 2013-10-04 Alan Modra <amodra@gmail.com>
4635
4636 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4637 Use stdint types in rather than __attribute__((mode())).
4638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4639
4640 2013-10-04 Alan Modra <amodra@gmail.com>
4641
4642 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4643 Correct handling of unaligned relocs for little-endian.
4644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4645
4646 2013-10-04 Alan Modra <amodra@gmail.com>
4647
4648 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4649 * configure: Regenerate.
4650 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4651 * shlib-versions: Likewise.
4652
4653 2013-10-04 Alan Modra <amodra@gmail.com>
4654
4655 * string/tester.c (test_memrchr): Increment reported test cycle.
4656
4657 2013-10-04 Alan Modra <amodra@gmail.com>
4658
4659 * string/test-memcpy.c (do_one_test): When reporting errors, print
4660 string address and don't overrun end of string.
4661
4662 2013-10-04 Alan Modra <amodra@gmail.com>
4663
4664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4665 insrdi. Make better use of reg selection to speed exit slightly.
4666 Schedule entry path a little better. Remove useless "are we done"
4667 checks on entry to main loop. Handle wrapping around zero address.
4668 Correct main loop count. Handle single left-over word from main
4669 loop inline rather than by using loop_small. Remove extra word
4670 case in loop_small caused by wrong loop count. Add little-endian
4671 support.
4672 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4674 cache hint.
4675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4676 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4677 support. Avoid rlwimi.
4678 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4679
4680 2013-10-04 Alan Modra <amodra@gmail.com>
4681
4682 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4683 insrdi. Formatting.
4684 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4685 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4686 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4687 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4688 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4689 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4690
4691 2013-10-04 Alan Modra <amodra@gmail.com>
4692
4693 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4695 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4697 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4698 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4699 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4700 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4701 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4702 use of regs. Use power7 mtocrf. Tidy function tails.
4703
4704 2013-10-04 Alan Modra <amodra@gmail.com>
4705
4706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4707 Formatting. Consistently use rXXX register defines or rN defines.
4708 Use early exit labels that avoid restoring unused non-volatile regs.
4709 Make cr field use more consistent with rWORDn compares. Rename
4710 regs used as shift registers for unaligned loop, using rN defines
4711 for short lifetime/multiple use regs.
4712 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4714 addi 1,1,64 to pop stack frame. Simplify return value code.
4715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4716
4717 2013-10-04 Alan Modra <amodra@gmail.com>
4718
4719 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4720 support. Correct typos, formatting. Optimize tail. Use insrdi
4721 rather than rlwimi.
4722 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4724 little-endian support. Correct typos.
4725 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4726 rather than rlwimi.
4727 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4728 in loop and entry code to keep "and." results.
4729 (strchr): Add little-endian support. Comment. Move cntlzd
4730 earlier in tail.
4731 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4732
4733 2013-10-04 Alan Modra <amodra@gmail.com>
4734
4735 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4736 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4738 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4739
4740 2013-10-04 Alan Modra <amodra@gmail.com>
4741
4742 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4743 (rTMP): Define as r11.
4744 (strcmp): Add little-endian support. Optimise tail.
4745 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4746 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4747 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4752
4753 2013-10-04 Alan Modra <amodra@gmail.com>
4754
4755 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4756 little-endian support. Remove unnecessary "are we done" tests.
4757 Handle "s" wrapping around zero and extremely large "size".
4758 Correct main loop count. Handle single left-over word from main
4759 loop inline rather than by using small_loop. Correct comments.
4760 Delete "zero" tail, use "end_max" instead.
4761 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4762
4763 2013-10-04 Alan Modra <amodra@gmail.com>
4764
4765 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4766 support. Don't branch over align.
4767 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4769 support. Rearrange tmp reg use to suit. Comment.
4770 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4771
4772 2013-10-04 Alan Modra <amodra@gmail.com>
4773
4774 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4775
4776 2013-10-04 Alan Modra <amodra@gmail.com>
4777
4778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4779 conditional form of branch and link when obtaining pc.
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4781
4782 2013-10-04 Alan Modra <amodra@gmail.com>
4783
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4785 HIWORD/LOWORD.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4788
4789 2013-10-04 Alan Modra <amodra@gmail.com>
4790
4791 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4792 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4793 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4794 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4795 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4796 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4797 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4798 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4799 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4800 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4801
4802 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4803 Alistair Popple <alistair@ozlabs.au.ibm.com>
4804 Alan Modra <amodra@gmail.com>
4805
4806 [BZ #15723]
4807 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4809 _dl_hwcap access for little-endian.
4810 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4811 destroy vmx regs when saving unaligned.
4812 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4813 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4814 destroy vmx regs when saving unaligned.
4815
4816 2013-10-04 Alan Modra <amodra@gmail.com>
4817
4818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4819 Don't use a union to pack hi/low value.
4820
4821 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4822
4823 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4824 for little-endian.
4825 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4827 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4828 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4829 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4830
4831 2013-10-04 Alan Modra <amodra@gmail.com>
4832
4833 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4834 constants to usual value for .cst8 section, and remove redundant
4835 high address load.
4836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4837 constant for 0x1p52. Load little-endian words of double from
4838 correct stack offsets.
4839
4840 2013-10-04 Alan Modra <amodra@gmail.com>
4841
4842 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4843 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4844 words of double from correct stack offsets.
4845 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4846 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4852 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4853 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4856 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4857 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4859 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4860 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4861 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4862
4863 2013-10-04 Alan Modra <amodra@gmail.com>
4864
4865 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4866 64-bit int/double union.
4867 (_FPU_SETCW): Likewise.
4868 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4869 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4870
4871 2013-10-04 Alan Modra <amodra@gmail.com>
4872
4873 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4874 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4875
4876 2013-10-04 Alan Modra <amodra@gmail.com>
4877
4878 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4879 use vector int constants.
4880 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4881
4882 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4883
4884 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4885 array with long long.
4886 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4887 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4888 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4889 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4890 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4891 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4892 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4893 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4894 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4895 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4896 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4897 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4898 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4899
4900 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4901
4902 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4903 (__signbit): Likewise. Correct for little-endian.
4904 (__signbitl): Call __signbit.
4905 (lrint): Correct for little-endian.
4906 (lrintf): Call lrint.
4907
4908 2013-10-04 Alan Modra <amodra@gmail.com>
4909
4910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4911 union 32-bit int array member with 64-bit int array.
4912 (t515, tm256): Double rather than long double.
4913 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4914
4915 2013-10-04 Alan Modra <amodra@gmail.com>
4916
4917 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4918 Delete.
4919 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4921 version of math_ldbl.h.
4922
4923 2013-10-04 Alan Modra <amodra@gmail.com>
4924
4925 [BZ #15734], [BZ #15735]
4926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4927 all uses of ieee875 long double macros and unions. Simplify test
4928 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4929 ldbl_extract_mantissa value for ix,iy exponents. Properly
4930 normalize after ldbl_extract_mantissa, and don't add hidden bit
4931 already handled. Don't treat low word of ieee854 mantissa like
4932 low word of IBM long double and mask off bit when testing for
4933 zero.
4934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4935 all uses of ieee875 long double macros and unions. Simplify tests
4936 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4937 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4938 two1022, instead use their values. Recognise that tests for large
4939 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4941 Rewrite all uses of ieee875 long double macros and unions. Simplify
4942 test for 0.0L and nan. Correct negation.
4943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4944 ieee875 long double macros and unions. Correct output for large
4945 magnitude x. Correct absolute value calculation.
4946 (__erfcl): Likewise.
4947 * math/libm-test.inc: Add tests for errors discovered in IBM long
4948 double versions of fmodl, remainderl, erfl and erfcl.
4949
4950 2013-10-04 Alan Modra <amodra@gmail.com>
4951
4952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4953 all uses of ieee854 long double macros and unions. Simplify tests
4954 for long doubles that are fully specified by the high double.
4955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4956 Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4958 Remove dead code too.
4959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4960 (__ieee754_ynl): Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4964 Remove dead code too.
4965 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4967 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4969 Simplify.
4970 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4971 Simplify.
4972 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4975 Comment on variable precision.
4976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4978 Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4984
4985 2013-10-04 Alan Modra <amodra@gmail.com>
4986
4987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4989 all uses of ieee854 long double macros and unions.
4990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4996 Likewise.
4997 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4998 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5000 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5001 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5003 Simplify sign and nan test too.
5004 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5008 Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5011 Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5013 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5014 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5018
5019 2013-10-04 Alan Modra <amodra@gmail.com>
5020
5021 * stdio-common/printf_size.c (__printf_size): Don't use
5022 union ieee854_long_double in fpnum union.
5023 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5024 signbit macro to retrieve sign from long double.
5025 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5026 retrieve sign from long double.
5027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5028 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5029 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5030 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5031 * math/test-misc.c (main): Don't use union ieee854_long_double.
5032
5033 2013-10-04 Alan Modra <amodra@gmail.com>
5034
5035 [BZ #15680]
5036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5037 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5038 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5039 calculation. Remove unnecessary test for denormal exponent.
5040 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5041 Correct handling of denormals. Avoid undefined shift behaviour.
5042 Correct normalisation of low mantissa when low double is denormal.
5043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5044 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5045 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5046 Correct normalisation of low mantissa. Test for overflow of high
5047 mantissa and normalise.
5048 (ldbl_nearbyint): Use more readable constant for two52.
5049 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5050 (__mpn_construct_long_double): Fix test for overflow of high
5051 mantissa and correct normalisation. Avoid undefined shift.
5052
5053 2013-10-04 Alan Modra <amodra@gmail.com>
5054
5055 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5056 (union ibm_extended_long_double): Define as an array of ieee754_double.
5057 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5058 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5059 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5064 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5068
5069 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5070
5071 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5072 page size instead of calling getpagesize.
5073
5074 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5075 (LOCFILE_ALIGN_MASK): Likewise.
5076 (LOCFILE_ALIGN_UP): Likewise.
5077 (LOCFILE_ALIGNED_P): Likewise.
5078 * locale/programs/ld-collate.c (collate_output): Use the new
5079 macros instead of __alignof__ (int32_t).
5080 * locale/weight.h (findidx): Likewise.
5081
5082 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5083
5084 [BZ #431]
5085 * manual/string.texi: Fix strncat and wcsncat.
5086
5087 2013-10-03 Brooks Moses <bmoses@google.com>
5088
5089 [BZ #15915]
5090 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5091 * Makerules: ...here, and adjust associated comments.
5092
5093 2013-10-02 Will Newton <will.newton@linaro.org>
5094
5095 * malloc/Makefile: Add tst-pvalloc.
5096 * malloc/tst-pvalloc.c: New file.
5097
5098 2013-10-02 Will Newton <will.newton@linaro.org>
5099
5100 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5101 improve test coverage.
5102
5103 2013-10-02 Will Newton <will.newton@linaro.org>
5104
5105 * malloc/Makefile: Add tst-posix_memalign.
5106 * malloc/tst-posix_memalign.c: New file.
5107
5108 2013-10-01 Eric Blake <eblake@redhat.com>
5109
5110 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5111 Use __THROWNL rather than __THROW on static functions.
5112
5113 2013-09-30 Petr Machata <pmachata@redhat.com>
5114
5115 * elf/elf.h (R_AARCH64_ABS16): New macro.
5116 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5117 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5118 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5119 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5120 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5121 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5122 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5123 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5124 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5125 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5126 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5127 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5128 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5129 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5130 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5131 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5132 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5133 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5134 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5135 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5136 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5137 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5138 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5139 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5140 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5141 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5142 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5143 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5144 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5145 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5146 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5147 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5148 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5149 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5150 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5151 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5152 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5153 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5154 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5155 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5156 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5157 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5158 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5159 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5160 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5161 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5162 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5163 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5164 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5165 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5166 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5167 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5168 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5169 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5170 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5171 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5172 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5173 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5174 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5175 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5176 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5177 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5178 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5179 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5180 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5181 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5182 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5183 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5184 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5185 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5186 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5187 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5188 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5189 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5190 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5191 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5192 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5193 (R_AARCH64_TLSDESC_LDR): Likewise.
5194 (R_AARCH64_TLSDESC_ADD): Likewise.
5195 (R_AARCH64_TLSDESC_CALL): Likewise.
5196
5197 2013-09-30 Andreas Schwab <schwab@suse.de>
5198
5199 [BZ #15048]
5200 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5201 the nss database lookup.
5202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5204
5205 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5206
5207 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5208
5209 2013-09-28 P. J. McDermott <pj@pehjota.net>
5210
5211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5212 ${Bash-specific parameter/pattern/string} parameter expansion.
5213 * sysdeps/unix/make-syscalls.sh: Likewise.
5214
5215 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5216
5217 * sysdeps/sh/stackguard-macros.h: New file.
5218
5219 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5220
5221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5223 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5224 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5225 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5226 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5227
5228 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5229
5230 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5231 Fix thread ID register.
5232
5233 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5234
5235 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5236 [POSIX || UNIX98]: Require rather than permitting all symbols from
5237 <time.h>.
5238 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5239 element of struct sched_param.
5240 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5241 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5242 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5243 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5244 constant.
5245
5246 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5247
5248 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5249 argument calculation.
5250
5251 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5252
5253 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5254 Expect macro.
5255 [POSIX] (pthread_attr_t): Do not require type.
5256 [POSIX] (pthread_cond_t): Likewise.
5257 [POSIX] (pthread_condattr_t): Likewise.
5258 [POSIX] (pthread_key_t): Likewise.
5259 [POSIX] (pthread_mutex_t): Likewise.
5260 [POSIX] (pthread_mutexattr_t): Likewise.
5261 [POSIX] (pthread_once_t): Likewise.
5262 [POSIX] (pthread_t): Likewise.
5263 [POSIX-based standards] (pthread_atfork): Expect function.
5264
5265 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5266 Richard Sandiford <richard@codesourcery.com>
5267
5268 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5269 (swap_endianness_p): New extern variable.
5270 (set_big_endian): New inline function.
5271 (maybe_swap_uint32): Likewise.
5272 (maybe_swap_uint32_array): Likewise.
5273 (maybe_swap_uint32_obstack): Likewise.
5274 * locale/programs/locfile.c: Include <stdbool.h>.
5275 (swap_endianness_p): New variable.
5276 (add_locale_uint32): Call maybe_swap_uint32.
5277 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5278 (write_locale_data): Call maybe_swap_uint32_array.
5279 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5280 maybe_swap_uint32.
5281 (obstack_int32_grow_fast): Likewise.
5282 (output_weightwc): Call maybe_swap_uint32_obstack.
5283 (collate_output): Likewise.
5284 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5285 (OPT_LITTLE_ENDIAN): Likewise.
5286 (options): Add --little-endian and --big-endian options.
5287 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5288 * locale/programs/locarchive.c: Include "locfile.h".
5289 (GET): New macro.
5290 (SET): Likewise.
5291 (INC): Likewise.
5292 (create_archive): Use the new macros to access fields of
5293 structures directly mapped from or written to locale archives.
5294 (oldlocrecentcmp): Likewise.
5295 (enlarge_archive): Likewise.
5296 (insert_name): Likewise.
5297 (add_alias): Likewise.
5298 (add_locale): Likewise.
5299 (delete_locales_from_archive): Likewise.
5300 (show_archive_content): Likewise.
5301 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5302 locale data.
5303
5304 2013-09-24 Roland McGrath <roland@hack.frob.com>
5305
5306 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5307 http://www.gnu.org/doc/freemanuals.texi.
5308 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5309
5310 2013-09-24 Will Newton <will.newton@linaro.org>
5311
5312 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5313 macro.
5314
5315 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5316
5317 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5318 unsigned char.
5319
5320 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5321
5322 * manual/threads.texi (POSIX Threads): Fix a typo.
5323
5324 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
5326 [BZ #14547]
5327 * string/tst-strcoll-overflow.c: New test case.
5328 * string/Makefile (xtests): Add tst-strcoll-overflow.
5329 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5330 cache if string sizes may cause integer overflow.
5331
5332 [BZ #14547]
5333 * string/strcoll_l.c (coll_seq): New members rule, idx,
5334 save_idx and back_us.
5335 (get_next_seq_nocache): New function.
5336 (do_compare_nocache): New function.
5337 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5338 when malloc fails.
5339
5340 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5341
5342 [BZ #15754]
5343 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5344 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5345 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5346
5347 [BZ #15754]
5348 * elf/Makefile (tests): Add tst-ptrguard1.
5349 (tests-static): Add tst-ptrguard1-static.
5350 (tst-ptrguard1-ARGS): Define.
5351 (tst-ptrguard1-static-ARGS): Define.
5352 * elf/tst-ptrguard1.c: New file.
5353 * elf/tst-ptrguard1-static.c: New file.
5354 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5355 * sysdeps/i386/stackguard-macros.h: Likewise.
5356 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5357 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5358 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5359 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5360 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5361 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5362
5363 2013-09-23 Hector Marco <hecmargi@upv.es>
5364 Ismael Ripoll <iripoll@disca.upv.es>
5365 Carlos O'Donell <carlos@redhat.com>
5366
5367 [BZ #15754]
5368 * sysdeps/generic/stackguard-macros.h: Define
5369 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5370 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5371 Define __pointer_chk_guard_local.
5372 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5373 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5374
5375 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5376
5377 [BZ #15859]
5378 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5379
5380 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5381
5382 * include/string.h (__ffs): Declare as hidden.
5383 * string/ffs.c (__ffs): Define as hidden.
5384 * sysdeps/i386/ffs.c (__ffs): Likewise.
5385 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5386 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5387 * sysdeps/s390/ffs.c (__ffs): Likewise.
5388 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5389
5390 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5391
5392 * NEWS: Mention malloc probes.
5393
5394 * malloc/arena.c (new_heap): New memory_heap_new probe.
5395 (grow_heap): New memory_heap_more probe.
5396 (shrink_heap): New memory_heap_less probe.
5397 (heap_trim): New memory_heap_free probe.
5398 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5399 (systrim): New memory_sbrk_less probe.
5400 * manual/probes.texi: Document them.
5401
5402 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5403 * manual/probes.texi: Document it.
5404
5405 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5406 (__libc_realloc): Add memory_realloc_retry probe.
5407 (__libc_memalign): Add memory_memalign_retry probe.
5408 (__libc_valloc): Add memory_valloc_retry probe.
5409 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5410 (__libc_calloc): Add memory_calloc_retry probe.
5411 * manual/probes.texi: Document them.
5412
5413 * malloc/arena.c (get_free_list): Add probe
5414 memory_arena_reuse_free_list.
5415 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5416 and memory_arena_reuse.
5417 (arena_get2) [!PER_THREAD]: Likewise.
5418 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5419 memory_arena_reuse_realloc.
5420 * manual/probes.texi: Document them.
5421
5422 * malloc/malloc.c (__libc_free): Add
5423 memory_mallopt_free_dyn_thresholds probe.
5424 (__libc_mallopt): Add multiple memory_mallopt probes.
5425 * manual/probes.texi: Document them.
5426
5427 * malloc/malloc.c: Include stap-probe.h.
5428 (__libc_mallopt): Add memory_mallopt probe.
5429 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5430 * manual/probes.texi: New.
5431 * manual/Makefile (chapters): Add probes.
5432 * manual/threads.texi: Set next node.
5433
5434 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5435
5436 [BZ #15963, #13985]
5437 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5438 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5439 Add `Chinese' to `nan' entry name.
5440
5441 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5442
5443 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5444 (POLYNOMIAL): Likewise.
5445 (TAYLOR_SINCOS): Likewise.
5446 (TAYLOR_SLOW): Likewise.
5447 (__sin): Use TAYLOR_SINCOS.
5448 (__cos): Likewise.
5449 (slow): Use TAYLOR_SLOW.
5450 (sloww): Likewise.
5451 (bsloww): Likewise.
5452 (csloww): Likewise.
5453
5454 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5455
5456 * stdlib/strtod_l.c: Fix buffer overrun.
5457
5458 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5459
5460 * benchtests/Makefile (bench): Add sincos.
5461 * benchtests/bench-sincos.c: New file.
5462
5463 * math/libm-test.inc (cos_test_data): New test inputs.
5464 (sin_test_data): Likewise.
5465
5466 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5467 macro.
5468 (__sin): Use it.
5469 (__cos): Likewise.
5470 (slow1): Likewise.
5471 (slow2): Likewise.
5472 (sloww1): Likewise.
5473 (sloww2): Likewise.
5474 (bsloww1): Likewise.
5475 (bsloww2): Likewise.
5476 (cslow2): Likewise.
5477 (csloww1): Likewise.
5478 (csloww2): Likewise.
5479
5480 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5481 function.
5482 (__sin): Use it.
5483 (__cos): Likewise.
5484
5485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5486 gotos.
5487 (__cos): Likewise.
5488
5489 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5490
5491 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5492 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5493 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5494 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5495 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5496 * elf/cache.c (print_entry): Handle the new cache flags.
5497
5498 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5499 Aldy Hernandez <aldyh@redhat.com>
5500
5501 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5502 Change condition to [_SOFT_FLOAT].
5503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5515 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5518 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5519 declaration.
5520
5521 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5522
5523 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5524 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5525 (__longjmp): Use LOAD_GP to load saved GPRs.
5526 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5527 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5528 (__sigsetjmp): Use SAVE_GP to save GPRs.
5529
5530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5531 Do not append -msoft-float.
5532 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5533
5534 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5535
5536 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5537
5538 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5539
5540 [BZ #15966]
5541 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5542 (_FPU_GETCW): Use initial "__" on variable and field names but not
5543 on macro parameter name.
5544 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5545 parentheses around reference to macro parameter.
5546
5547 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5548
5549 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5550 prototype.
5551 (ctype_startup): Use uint32_t in cast and sizeof for
5552 ctype->charnames.
5553
5554 2013-09-11 Jia Liu <proljc@gmail.com>
5555
5556 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5557 __daddr_t_defined.
5558 [__FreeBSD__]: Likewise.
5559
5560 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5561
5562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5563 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5565 (strchr): Remove __strchr_sse42 ifunc selection.
5566 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5567 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5568
5569 2013-09-11 Will Newton <will.newton@linaro.org>
5570
5571 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5572 parameter to RES. Remove hardcoded 1000 value.
5573 * benchtests/bench-skeleton.c (main): Pass RES parameter
5574 to TIMING_INIT and multiply result by 1000.
5575
5576 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5579
5580 2013-09-11 Andreas Schwab <schwab@suse.de>
5581
5582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5583 if not defined.
5584 (O_TMPFILE) [__USE_GNU]: Define.
5585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5586 Define.
5587
5588 2013-09-11 Will Newton <will.newton@linaro.org>
5589
5590 [BZ #15857]
5591 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5592 does not overflow.
5593
5594 2013-09-11 Will Newton <will.newton@linaro.org>
5595
5596 [BZ #15856]
5597 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5598 does not overflow.
5599
5600 2013-09-11 Will Newton <will.newton@linaro.org>
5601
5602 [BZ #15855]
5603 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5604 does not overflow.
5605
5606 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5607
5608 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5613
5614 2013-09-10 Allan McRae <allan@archlinux.org>
5615
5616 [BZ #15748]
5617 * manual/arith.texi (Parsing of Floats): Clarify
5618 cross-reference.
5619
5620 [BZ #15849]
5621 * manual/install.texi (Running make install): Mention
5622 --enable-pt-chown.
5623 * INSTALL: Regenerated.
5624
5625 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5626
5627 * csu/init-first.c (_init): Remove the !SHARED condition around
5628 FPU control word initialization.
5629 * elf/dl-support.c (_dl_fpu_control): New variable.
5630 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5631 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5632 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5633 * math/test-fpucw-static.c: New file.
5634 * math/test-fpucw-ieee.c: New file.
5635 * math/test-fpucw-ieee-static.c: New file.
5636 * math/Makefile (tests): Add `test-fpucw-ieee' and
5637 `$(tests-static)'.
5638 (tests-static): New variable.
5639 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5640 dependency to...
5641 [($(build-shared),yes)]
5642 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5643 ... this.
5644 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5645 New dependency.
5646
5647 2013-09-09 Allan McRae <allan@archlinux.org>
5648
5649 [BZ #15939]
5650 * manual/string.texi (Collation Functions): Fix typo in
5651 strcoll example.
5652 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5653
5654 [BZ #15893]
5655 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5656
5657 [BZ #15892]
5658 * libio/memstream.c (open_memstream): Fix memory leak.
5659 * libio/wmemstream.c (open_wmemstream): Likewise.
5660
5661 [BZ #15895]
5662 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5663
5664 2013-09-09 Will Newton <will.newton@linaro.org>
5665
5666 * malloc/Makefile: Add tst-realloc to tests.
5667 * malloc/tst-realloc.c: New file.
5668
5669 2013-09-09 Allan McRae <allan@archlinux.org>
5670
5671 [BZ #15844]
5672 * COPYING: Update from GNU website to fix FSF address.
5673 * COPYING.LIB: Likewise.
5674
5675 2013-09-06 David S. Miller <davem@davemloft.net>
5676
5677 * po/zh_TW.po: Update Chinese (traditional) translation from
5678 translation project.
5679
5680 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5681 Joseph Myers <joseph@codesourcery.com>
5682
5683 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5684 "localeinfo.h".
5685 (obstack_chunk_alloc): New macro.
5686 (obstack_chunk_free): Likewise.
5687 (record_offset): New function.
5688 (init_locale_data): Likewise.
5689 (align_locale_data): Likewise.
5690 (add_locale_empty): Likewise.
5691 (add_locale_raw_data): Likewise.
5692 (add_locale_raw_obstack): Likewise.
5693 (add_locale_string): Likewise.
5694 (add_locale_wstring): Likewise.
5695 (add_locale_uint32): Likewise.
5696 (add_locale_uint32_array): Likewise.
5697 (add_locale_char): Likewise.
5698 (start_locale_structure): Likewise.
5699 (end_locale_structure): Likewise.
5700 (start_locale_prelude): Likewise.
5701 (end_locale_prelude): Likewise.
5702 (write_locale_data): Take locale_file structure rather than an
5703 iovec.
5704 * locale/programs/locfile.h: Include "obstack.h".
5705 (struct locale_file): Change to store locale file contents instead
5706 of header.
5707 (init_locale_data): New prototype.
5708 (align_locale_data): Likewise.
5709 (add_locale_empty): Likewise.
5710 (add_locale_raw_data): Likewise.
5711 (add_locale_raw_obstack): Likewise.
5712 (add_locale_string): Likewise.
5713 (add_locale_wstring): Likewise.
5714 (add_locale_uint32): Likewise.
5715 (add_locale_uint32_array): Likewise.
5716 (add_locale_char): Likewise.
5717 (start_locale_structure): Likewise.
5718 (end_locale_structure): Likewise.
5719 (start_locale_prelude): Likewise.
5720 (end_locale_prelude): Likewise.
5721 (write_locale_data): Update prototype.
5722 * locale/programs/3level.h (struct TABLE): Remove result field.
5723 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5724 Use new locale_file interface.
5725 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5726 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5727 * locale/programs/ld-address.c (address_output): Use new
5728 locale_file interface.
5729 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5730 NO_ADD_LOCALE.
5731 (collate_finish): Don't call collseq_table_finalize.
5732 (collate_output): Use new locale_file interface.
5733 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5734 in file.
5735 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5736 (TABLE): Move defines earlier in file.
5737 (ELEMENT): Likewise.
5738 (DEFAULT): Likewise.
5739 (wctrans_table_add): Move macro and inline function earlier in
5740 file.
5741 (struct wctype_table): Move type earlier in file.
5742 (add_locale_wctype_table): New static prototype.
5743 (struct locale_ctype_t): Use logical types instead of struct iovec
5744 pointers for members.
5745 (ctype_output): Use new locale_file interface.
5746 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5747 new locale_file interface.
5748 (allocate_arrays): Update for use of new locale_file interface.
5749 * locale/programs/ld-identification.c (identification_output): Use
5750 new locale_file interface.
5751 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5752 * locale/programs/ld-messages.c (messages_output): Likewise.
5753 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5754 * locale/programs/ld-name.c (name_output): Likewise.
5755 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5756 * locale/programs/ld-paper.c (paper_output): Likewise.
5757 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5758 * locale/programs/ld-time.c (time_output): Likewise.
5759
5760 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761
5762 * benchtests/Makefile: Add memrchr benchmark.
5763 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5764 benchmark as memrchr.
5765 * benchtests/bench-memrchr-ifunc.c: New file.
5766 * benchtests/bench-memrchr.c: New file.
5767
5768 2013-09-06 Will Newton <will.newton@linaro.org>
5769
5770 * benchtests/Makefile (string-bench): Add memcpy.
5771
5772 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5773 Cong Wang <amwang@redhat.com>
5774
5775 * sysdeps/unix/sysv/linux/bits/in.h
5776 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5777 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5778 before __USE_KERNEL_IPV6_DEFS uses.
5779 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5780 IPPROTO_BEETPH.
5781 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5782 sockaddr_in6, or ipv6_mreq.
5783
5784 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785
5786 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5787 memory access for final bytes in some large inputs.
5788 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5789
5790 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * string/test-memrchr.c: New file.
5793 * string/test-memrchr-ifunc.c: New file.
5794 * string/Makefile: Add new memrchr testcase.
5795
5796 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5797
5798 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5799 fanotify_init returns EPERM.
5800
5801 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5802
5803 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5804 errors.
5805 (top level): Treat second token from macro or constant entries for
5806 allowed headers as allowed.
5807 * include/complex.h: Condition internal declarations on
5808 [!_ISOMAC].
5809 * include/fenv.h: Condition include of <stdbool.h> and internal
5810 declarations on [!_ISOMAC].
5811
5812 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5813
5814 [BZ #15923]
5815 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5816
5817 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5818
5819 * configure.in (--enable-versioning): Remove configure option.
5820 (libc_cv_asm_symver_directive): Remove configure test.
5821 (libc_cv_ld_version_script_option): Likewise.
5822 (VERSIONING): Remove variable and AC_SUBST.
5823 (DO_VERSIONING): Remove AC_DEFINE.
5824 * configure: Regenerated.
5825 * config.h.in (DO_VERSIONING): Remove macro.
5826 * Makerules [$(versioning) = yes]: Change conditionals to
5827 [$(build-shared) = yes].
5828 * config.make.in (versioning): Remove variable.
5829 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5830 [$(build-shared) = yes].
5831 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5832 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5833 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5834 [$(build-shared) = yes].
5835 * extra-lib.mk [$(versioning) = yes]: Likewise.
5836 * hurd/Makefile [$(versioning) = yes]: Likewise.
5837 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5838 [SHARED].
5839 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5840 [SHARED].
5841 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5842 [SHARED && !NO_HIDDEN].
5843 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5844 [SHARED].
5845 [SHARED && DO_VERSIONING]: Likewise..
5846 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5847 [$(build-shared) = yes].
5848 * manual/install.texi (--disable-versioning): Remove
5849 documentation.
5850 * INSTALL: Regenerated.
5851 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5852 to [SHARED].
5853 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5854 [$(build-shared) = yes].
5855 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5856 * sysdeps/i386/i686/multiarch/strstr-c.c
5857 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5858 [SHARED && !NO_HIDDEN].
5859 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5860 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5861 * sysdeps/powerpc/powerpc32/dl-machine.c
5862 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5863 * sysdeps/powerpc/powerpc32/sysdep.h
5864 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5865 to [SHARED && PIC && !NO_HIDDEN].
5866 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5867 conditional to [SHARED].
5868
5869 2013-09-04 Will Newton <will.newton@linaro.org>
5870
5871 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5872 * benchtests/bench-string.h: Include bench-timing.h instead
5873 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5874 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5875 call to HP_TIMING_DIFF_INIT.
5876 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5877 instead of hp-timing.h macros.
5878 * benchtests/bench-memchr.c: Likewise.
5879 * benchtests/bench-memcmp.c: Likewise.
5880 * benchtests/bench-memcpy.c: Likewise.
5881 * benchtests/bench-memmem.c: Likewise.
5882 * benchtests/bench-memmove.c: Likewise.
5883 * benchtests/bench-memset.c: Likewise.
5884 * benchtests/bench-rawmemchr.c: Likewise.
5885 * benchtests/bench-strcasecmp.c: Likewise.
5886 * benchtests/bench-strcasestr.c: Likewise.
5887 * benchtests/bench-strcat.c: Likewise.
5888 * benchtests/bench-strchr.c: Likewise.
5889 * benchtests/bench-strcmp.c: Likewise.
5890 * benchtests/bench-strcpy.c: Likewise.
5891 * benchtests/bench-strcpy_chk.c: Likewise.
5892 * benchtests/bench-strlen.c: Likewise.
5893 * benchtests/bench-strncasecmp.c: Likewise.
5894 * benchtests/bench-strncat.c: Likewise.
5895 * benchtests/bench-strncmp.c: Likewise.
5896 * benchtests/bench-strncpy.c: Likewise.
5897 * benchtests/bench-strnlen.c: Likewise.
5898 * benchtests/bench-strpbrk.c: Likewise.
5899 * benchtests/bench-strrchr.c: Likewise.
5900 * benchtests/bench-strspn.c: Likewise.
5901 * benchtests/bench-strstr.c: Likewise.
5902
5903 2013-09-04 Will Newton <will.newton@linaro.org>
5904
5905 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5906
5907 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5908
5909 [BZ #15427]
5910 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5911 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5912 * math/libm-test.inc (lgamma_test_data): Add more tests.
5913 * sysdeps/i386/fpu/libm-test-ulps: Update.
5914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5915
5916 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5917
5918 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5920 Add ifunc.
5921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5922 Add strcmp-sse2-unaligned
5923 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5924
5925 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5926
5927 * Versions.def (libc): Add GLIBC_2.19.
5928
5929 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5930
5931 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5932 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5933
5934 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5935
5936 [BZ #14155]
5937 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5938 intermediate calculations in recurrence.
5939 (__ieee754_ynf): Likewise.
5940 * math/libm-test.inc (jn_test_data): Do not allow spurious
5941 underflow exception. Add more tests.
5942 (yn_test_data): Add more tests.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945
5946 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5947
5948 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5949
5950 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5951
5952 * csu/init-first.c: Fix then/than typos.
5953 * locale/programs/ld-collate.c: Likewise.
5954 * locale/programs/linereader.h: Likewise.
5955 * manual/charset.texi: Likewise.
5956 * manual/filesys.texi: Likewise.
5957 * manual/stdio.texi: Likewise.
5958 * manual/string.texi: Likewise.
5959 * stdlib/fmtmsg.c: Likewise.
5960 * sysdeps/i386/stpncpy.S: Likewise.
5961 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5962 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5963 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5964 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5965
5966 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5967
5968 * elf/dl-open.c: Fix typos.
5969 * iconvdata/gbbig5.c: Likewise.
5970 * iconvdata/iso-2022-jp.c: Likewise.
5971 * iconv/gconv_int.h: Likewise.
5972 * iconv/loop.c: Likewise.
5973 * nis/rpcsvc/nis.h: Likewise.
5974 * resolv/ns_name.c: Likewise.
5975 * stdio-common/vfscanf.c: Likewise.
5976 * streams/stropts.h: Likewise.
5977 * sunrpc/rpc_thread.c: Likewise.
5978 * sysdeps/i386/strpbrk.S: Likewise.
5979 * sysdeps/ieee754/k_standard.c: Likewise.
5980 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5982 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5983 * sysdeps/mach/hurd/profil.c: Likewise.
5984 * sysdeps/s390/dl-procinfo.h: Likewise.
5985 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5986 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5987 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5988 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5990
5991 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5992
5993 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5995
5996 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5997
5998 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5999 aix specific files.
6000 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6002 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6003 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6004 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6005 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6006 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6007 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6008
6009 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6010 Roland McGrath <roland@hack.frob.com>
6011
6012 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6013 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6014
6015 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6016
6017 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6018 __executable_start symbol instead of _start.
6019
6020 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6021
6022 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6023 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6024 Move macros to...
6025 * sysdeps/gnu/ldsodefs.h: ... this new file.
6026
6027 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6028 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6029 instead of ELFOSABI_LINUX.
6030
6031 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6032 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6033 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6034 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6035 Likewise.
6036 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6037 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6038 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6039 Likewise.
6040 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6041 (ibm_extended_long_double): Add ieee_nan member.
6042 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6043 (do_test): New function.
6044
6045 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6046 TEST_TRUNC.
6047 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6048 functions, renamed from truncdfsf_test, trunctfsf_test,
6049 trunctfdf_test.
6050 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6051 functions.
6052 (do_test): Run all these.
6053
6054 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6055
6056 * argp/argp-help.c: Fix typos.
6057 * argp/argp-parse.c: Likewise.
6058 * debug/backtracesyms.c: Likewise.
6059 * elf/elf.h: Likewise.
6060 * malloc/malloc.c: Likewise.
6061 * nis/nis_print.c: Likewise.
6062 * resolv/res_comp.c: Likewise.
6063 * stdlib/stdlib.h: Likewise.
6064 * sunrpc/clnt_tcp.c: Likewise.
6065 * sunrpc/clnt_udp.c: Likewise.
6066 * sunrpc/clnt_unix.c: Likewise.
6067 * sysdeps/unix/bsd/ptsname.c: Likewise.
6068 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6071 Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6073 Likewise.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6075 Likewise.
6076 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6077
6078 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6079
6080 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6082
6083 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6084
6085 [BZ #15897]
6086 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6087 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6088 ($(objpfx)bug-dl-leaf): New rule.
6089 ($(objpfx)bug-dl-leaf.so): Likewise.
6090 ($(objpfx)bug-dl-leaf.out): Likewise.
6091 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6092 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6093 * dlfcn/bug-dl-leaf.c: New test.
6094 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6095 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6096 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6097 (dlclose): Likewise.
6098 (dlmopen): Likewise.
6099
6100 2013-08-27 Roland McGrath <roland@hack.frob.com>
6101
6102 * include/netdb.h [!_ISOMAC]:
6103 Don't include <tls.h>.
6104 (h_errno, __libc_h_errno): Move declaration and macros out of
6105 [_LIBC_REENTRANT].
6106
6107 * include/resolv.h [_RESOLV_H_]:
6108 Don't include <tls.h>.
6109 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6110 * resolv/res_libc.c: Don't include <tls.h>.
6111 (_res): Use __attribute__ ((nocommon)) in place of
6112 __attribute__ ((section (".bss"))).
6113
6114 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6115 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6116
6117 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6118
6119 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6120 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6121
6122 * resolv/res_mkquery.c: Include <sys/time.h>.
6123
6124 * inet/ifreq.c: Moved to ...
6125 * sysdeps/unix/ifreq.c: ... here.
6126 * inet/ifreq.c: New file, true stub version.
6127
6128 * socket/sa_len.c: New file.
6129 * socket/Makefile (aux): Add it.
6130 * sysdeps/unix/sysv/linux/Makefile
6131 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6132 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6133 and #include <socket/sa_len.c>.
6134 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6135 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6136
6137 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6138 * bits/socket.h: ... here.
6139
6140 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6141 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6142 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6143
6144 2013-08-27 Andreas Schwab <schwab@suse.de>
6145
6146 [BZ #15736]
6147 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6148 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6149 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6150 * string/test-strcasecmp.c (test_main): Run tests in several
6151 locales.
6152 * string/test-strncasecmp.c (test_main): Likewise.
6153
6154 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6155 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6156 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6158 (__strncasecmp_ssse3) [PIC]: Likewise.
6159
6160 2013-08-26 Roland McGrath <roland@hack.frob.com>
6161
6162 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6163
6164 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6165 instead of explicitly declaring xdecrypt.
6166 * nis/nss_nis/nis-publickey.c: Likewise.
6167
6168 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6169
6170 [BZ #15890]
6171 * nscd/aicache.c: Include res_hconf.h.
6172 (addhstaiX): Initialize res_hconf.
6173
6174 2013-08-26 Andreas Schwab <schwab@suse.de>
6175
6176 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6177 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6178
6179 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6180
6181 * nscd/aicache.c (addhstaiX): Fix indentation.
6182
6183 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6184
6185 * configure.ac: Quote $build_pt_chown test.
6186 * configure: Regenerated.
6187
6188 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6189
6190 [BZ #15532]
6191 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6192 * math/s_cexpf.c (__cexpf): Likewise.
6193 * math/s_cexpl.c (__cexpl): Likewise.
6194 * math/libm-test.inc (cexp_test_data): Correct expected return
6195 value for NaN + i0. Add another test.
6196
6197 2013-08-22 David S. Miller <davem@davemloft.net>
6198
6199 * po/ca.po: Update Catalan translation from translation project.
6200 * po/uk.po: Add Ukrainian translations from translation project.
6201
6202 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6203
6204 [BZ #15797]
6205 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6206 is infinite, not alongside NaN test.
6207 * math/s_fdimf.c (__fdimf): Likewise.
6208 * math/s_fdiml.c (__fdiml): Likewise.
6209 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6210 errno is unchanged.
6211
6212 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6213
6214 * argp/argp-help.c: Fix typos.
6215 * crypt/speeds.c: Likewise.
6216 * csu/check_fds.c: Likewise.
6217 * elf/dl-load.c: Likewise.
6218 * elf/dl-open.c: Likewise.
6219 * elf/reldep3.c: Likewise.
6220 * elf/reldep.c: Likewise.
6221 * elf/sprof.c: Likewise.
6222 * iconv/iconv_charmap.c: Likewise.
6223 * iconv/skeleton.c: Likewise.
6224 * iconv/strtab.c: Likewise.
6225 * io/lockf64.c: Likewise.
6226 * libio/libioP.h: Likewise.
6227 * resolv/gai_notify.c: Likewise.
6228 * resolv/ns_name.c: Likewise.
6229 * resolv/ns_samedomain.c: Likewise.
6230 * resolv/res_send.c: Likewise.
6231 * stdlib/random.c: Likewise.
6232 * sunrpc/rpc/xdr.h: Likewise.
6233 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6234 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6235 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6236 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6237 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6241 * sysdeps/mach/hurd/check_fds.c: Likewise.
6242 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6243 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6246 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6247 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6248 * sysdeps/pthread/aio_notify.c: Likewise.
6249 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6250 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6251 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6253 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6254
6255 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6256
6257 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6258 version if bit_Slow_SSE4_2 is set.
6259 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6260 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6261
6262 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263
6264 [BZ #15867]
6265 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6266 trampoline stack frame information.
6267 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6268 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6269 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6270 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6271 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6272 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6273 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6274 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6275 sa_flags value.
6276 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6277 interrupting a syscall and set with option SA_SIGINFO.
6278
6279 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6280
6281 [BZ #15531]
6282 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6283 argument is infinite.
6284 * math/s_cprojf.c (__cprojf): Likewise.
6285 * math/s_cprojl.c (__cprojl): Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6287 * math/libm-test.inc (cproj_test_data): Add more tests.
6288
6289 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6290
6291 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6292 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6293 size. Use __ffs to determine corresponding shift.
6294
6295 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6296 Roland McGrath <roland@hack.frob.com>
6297
6298 * Makefile (INSTALL): Remove trailing blank lines from output of
6299 makeinfo.
6300
6301 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6302
6303 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6304 Align 32 bit compat elf_greg to 8 bytes.
6305
6306 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6307
6308 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6309
6310 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6311
6312 * string/strcoll_l.c (coll_seq): New structure.
6313 (get_next_seq_cached): New function.
6314 (get_next_seq): New function.
6315 (do_compare): New function.
6316 (STRCOLL): Use GNU style definition. Simplify implementation
6317 by using get_next_seq, get_next_seq_cached and do_compare.
6318
6319 2013-08-16 Florian Weimer <fweimer@redhat.com>
6320
6321 [BZ #14699]
6322 CVE-2013-4237
6323 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6324 member.
6325 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6326 member.
6327 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6328 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6329 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6330 conditional.
6331 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6332 GETDENTS_64BIT_ALIGNED.
6333 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6334 * manual/filesys.texi (Reading/Closing Directory): Document
6335 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6336 strongly.
6337 * manual/conf.texi (Limits for Files): Add portability note to
6338 NAME_MAX, PATH_MAX.
6339 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6340
6341 2013-08-13 Andreas Schwab <schwab@suse.de>
6342
6343 [BZ #15749]
6344 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6345 of fabs.
6346 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6347 LDBL_MAX_EXP >= 16384]: Add tests for it.
6348
6349 2013-08-12 David S. Miller <davem@davemloft.net>
6350
6351 * version.h (RELEASE): Set to "development".
6352 (VERSION): Set to "2.18.90".
6353 * NEWS: Add 2.19 section.
6354
6355 2013-08-03 David S. Miller <davem@davemloft.net>
6356
6357 * po/ko.po: Update Korean translation from translation project.
6358
6359 2013-08-01 David S. Miller <davem@davemloft.net>
6360
6361 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6362 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6363 Bilka.
6364
6365 2013-07-30 David S. Miller <davem@davemloft.net>
6366
6367 * po/fr.po: Update French translation from translation project.
6368
6369 2013-07-28 David S. Miller <davem@davemloft.net>
6370
6371 * po/cs.po: Update Czech translation from translation project.
6372
6373 * po/sv.po: Update Swedish translation from translation project.
6374
6375 2013-07-27 David S. Miller <davem@davemloft.net>
6376
6377 * po/eo.po: Update Esperanto translation from translation project.
6378
6379 * po/vi.po: Update Vietnamese translation from translation project.
6380
6381 * po/de.po: Update German translation from translation project.
6382
6383 2013-07-26 David S. Miller <davem@davemloft.net>
6384
6385 * po/bg.po: Update Bulgarian translation from translation project.
6386
6387 * po/nl.po: Update Dutch translation from translation project.
6388 * po/pl.po: Update Polish translation from translation project.
6389 * po/ru.po: Update Russian translation from translation project.
6390
6391 2013-07-24 David S. Miller <davem@davemloft.net>
6392
6393 * po/libc.pot: Update.
6394
6395 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6398 variable page size.
6399 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6400 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6401 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6402
6403 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6404
6405 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6406
6407 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6408 Andreas Schwab <schwab@suse.de>
6409 Roland McGrath <roland@hack.frob.com>
6410 Joseph Myers <joseph@codesourcery.com>
6411 Carlos O'Donell <carlos@redhat.com>
6412
6413 [BZ #15755]
6414 * config.h.in: Define HAVE_PT_CHOWN.
6415 * config.make.in (build-pt-chown): New variable.
6416 * configure.in (--enable-pt_chown): New configure option.
6417 * configure: Regenerate.
6418 * login/Makefile: Include Makeconfig. Build pt_chown only if
6419 build-pt-chown is enabled.
6420 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6421 pt_chown to fix pty ownership.
6422 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6423 CLOSE_ALL_FDS.
6424 * manual/install.texi (Configuring and compiling): Mention
6425 --enable-pt_chown. Add @findex for grantpt.
6426 * INSTALL: Regenerate.
6427
6428 2013-07-20 David S. Miller <davem@davemloft.net>
6429
6430 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6431 difference between 32-bit and 64-bit.
6432
6433 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6434
6435 [BZ #15711]
6436 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6437 Avoid system header dependency with -ffreestanding.
6438 ($(objpfx)bits/syscall%d): Likewise.
6439
6440 2013-07-13 David S. Miller <davem@davemloft.net>
6441
6442 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6443 underflows from atanl/atan2l due to bug 15319.
6444 (casinh_test_data): Likewise.
6445
6446 2013-07-07 David S. Miller <davem@davemloft.net>
6447
6448 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6449
6450 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6451
6452 * sysdeps/i386/fpu/libm-test-ulps: Update.
6453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6454
6455 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6456
6457 * configure.in (--enable-lock-elision): Fix message text.
6458 * INSTALL: Regenerate.
6459 * configure: Regenerate.
6460
6461 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6462
6463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6464
6465 2013-07-03 Andreas Jaeger <aj@suse.de>
6466
6467 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6468 define.
6469 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6470 (ptrace_peeksiginfo_args): Add.
6471 (__ptrace_peeksiginfo_flags): Add.
6472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6473 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6475
6476 2013-07-03 Allan McRae <allan@archlinux.org>
6477
6478 * sysdeps/i386/fpu/libm-test-ulps: Update.
6479
6480 2013-07-02 David S. Miller <davem@davemloft.net>
6481
6482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6483
6484 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6485
6486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6487
6488 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6489
6490 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6492
6493 2013-07-02 Andi Kleen <ak@linux.intel.com>
6494
6495 * config.h.in (ENABLE_LOCK_ELISION): Add.
6496 * configure.in (--enable-lock-elision): Add option.
6497 * manual/install.texi: Document --enable lock elision.
6498 * configure: Regenerate
6499 * INSTALL: Regenerate.
6500
6501 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6504 SSE4.2 strcasecmp for libc.a.
6505 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6506
6507 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6508
6509 [BZ #13304]
6510 * soft-fp/op-common.h (_FP_FMA): New macro.
6511 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6512 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6513 (_FP_MUL_MEAT_1_imm): ... here.
6514 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6515 (_FP_MUL_MEAT_1_wide): ... here.
6516 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6517 (_FP_MUL_MEAT_1_hard): ... here.
6518 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6519 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6520 (_FP_MUL_MEAT_2_wide): ... here.
6521 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6522 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6523 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6524 (_FP_MUL_MEAT_2_gmp): ... here.
6525 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6526 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6527 (_FP_MUL_MEAT_4_wide): ... here.
6528 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6529 (_FP_MUL_MEAT_4_gmp): ... here.
6530 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6531 (_FP_WFRACBITS_DW_S): Likewise.
6532 (_FP_WFRACXBITS_DW_S): Likewise.
6533 (_FP_HIGHBIT_DW_S): Likewise.
6534 (FP_FMA_S): Likewise.
6535 (_FP_FRAC_HIGH_DW_S): Likewise.
6536 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6537 (_FP_WFRACBITS_DW_D): Likewise.
6538 (_FP_WFRACXBITS_DW_D): Likewise.
6539 (_FP_HIGHBIT_DW_D): Likewise.
6540 (FP_FMA_D): Likewise.
6541 (_FP_FRAC_HIGH_DW_D): Likewise.
6542 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6543 (_FP_WFRACBITS_DW_E): Likewise.
6544 (_FP_WFRACXBITS_DW_E): Likewise.
6545 (_FP_HIGHBIT_DW_E): Likewise.
6546 (FP_FMA_E): Likewise.
6547 (_FP_FRAC_HIGH_DW_E): Likewise.
6548 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6549 (_FP_WFRACBITS_DW_Q): Likewise.
6550 (_FP_WFRACXBITS_DW_Q): Likewise.
6551 (_FP_HIGHBIT_DW_Q): Likewise.
6552 (FP_FMA_Q): Likewise.
6553 (_FP_FRAC_HIGH_DW_Q): Likewise.
6554 * soft-fp/fmasf4.c: New file.
6555 * soft-fp/fmadf4.c: Likewise.
6556 * soft-fp/fmatf4.c: Likewise.
6557
6558 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6559
6560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6561 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6562 Silvermont.
6563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6564 macro.
6565 (index_Slow_SSE4_2): Likewise.
6566 (index_Prefer_PMINUB_for_stringop): Likewise.
6567 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6568 bit_Slow_SSE4_2 is set.
6569 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6570 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6571
6572 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6573
6574 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6575 rtld_global._dl_hwcap2.
6576 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6577 POWER8.
6578 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6579 POWER8 feature descriptions defined in _dl_hwcap2.
6580 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6581 string handling for POWER8 feature bits.
6582 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6583 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6584 _dl_powerpc_cap_flags.
6585 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6586 * sysdeps/powerpc/rtld-global-offsets.sym
6587 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6588 _dl_hwcap2 in the rtld_global_ro structure.
6589
6590 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6591
6592 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6593 hardware capabilities in support of AT_HWCAP2.
6594 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6595 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6596 GLRO(dl_hwcap2).
6597 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6598 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6599 explicitly the unknown a_type display mechanism is used.
6600 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6601 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6602 struct member.
6603 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6604 to macro prototype for AT_HWCAP2 support.
6605 * sysdeps/i386/dl-procinfo.h: Likewise.
6606 * sysdeps/s390/dl-procinfo.h: Likewise.
6607 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6608 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6609 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6610 return -1 for unknown a_type display fallback.
6611 * sysdeps/sparc/dl-procinfo.h: Likewise.
6612 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6613 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6614
6615 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6616
6617 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6618 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6619
6620 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6621
6622 [BZ #12492]
6623 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6624 mprotect making __stack_prot writable.
6625
6626 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6627 Joseph Myers <joseph@codesourcery.com>
6628
6629 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6630 as being properly aligned.
6631
6632 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6633
6634 * dlfcn/modstatic5.c: New file.
6635 * dlfcn/tststatic5.c: New file.
6636 * dlfcn/Makefile (tests): Add tststatic5.
6637 (tests-static): Likewise.
6638 (modules-names): Add modstatic5.
6639 (tststatic5-ENV): New variable.
6640 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6641
6642 [BZ #15022]
6643 * elf/dl-support.c (_dl_main_map): New variable.
6644 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6645 (_dl_nns, _dl_load_adds): Set to 1.
6646 (_dl_initial_searchlist): Refer to _dl_main_map.
6647 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6648 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6649 call to _dl_get_origin.
6650 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6651 around call_map.
6652 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6653 * dlfcn/modstatic3.c: New file.
6654 * dlfcn/tststatic3.c: New file.
6655 * dlfcn/tststatic4.c: New file.
6656 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6657 (tests-static): Likewise.
6658 (modules-names): Add modstatic3.
6659 (tststatic3-ENV, tststatic4-ENV): New variables.
6660 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6661 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6662
6663 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6664
6665 * configure.in (CC): Require GCC version 4.4 or later.
6666 * configure: Regenerated.
6667 * manual/install.texi (Tools for Compilation): Update GCC version
6668 requirement.
6669 * INSTALL: Regenerated.
6670
6671 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6672
6673 [BZ #15674]
6674 * string/test-memcmp.c (check2): New.
6675 (main): Call check2.
6676
6677 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6678
6679 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6680
6681 [BZ #15022]
6682 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6683 over to...
6684 (dl_open_worker) [!SHARED]: ... here.
6685
6686 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6687
6688 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6689
6690 2013-06-25 Richard Henderson <rth@redhat.com>
6691
6692 * locale/programs/locarchive.c: Include <libc-internal.h>
6693
6694 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6695
6696 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6697 trailing whitespace removed.
6698
6699 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6700
6701 [BZ #10283]
6702 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6703 * locale/programs/locarchive.c: Include libc-mmap.h.
6704 (prepare_address_space): Take two new outputs (the mmap base and len).
6705 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6706 values.
6707 (create_archive): Declare new mmap base and len values for
6708 prepare_address_space, and store the result in ah.
6709 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6710 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6711 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6712 Declare new mmap base and len values for
6713 prepare_address_space, and store the result in new_ah.
6714 (open_archive): Declare new mmap base and len values for
6715 prepare_address_space, and store the result in ah.
6716 (close_archive): If ah->mmap_base is not NULL, use that and
6717 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6718 * sysdeps/generic/libc-mmap.h: New file.
6719
6720 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6721
6722 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6723 (ALIGN_UP): Likewise.
6724 (PTR_ALIGN_DOWN): Likewise.
6725 (PTR_ALIGN_UP): Likewise.
6726
6727 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6728
6729 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6730 entry mapped to PPC_PLATFORM_POWER8.
6731 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6732 POWER8.
6733 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6734 (_dl_string_platform): Add case for exporting platform position for
6735 POWER8.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6737 search path to sysdeps/powerpc/powerpc32/power8 directory.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6739 search path to sysdeps/powerpc/powerpc64/power8 directory.
6740 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6741 power7 directories.
6742 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6743 power7 directories.
6744
6745 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6746
6747 * INSTALL: Regenerate.
6748
6749 * nscd/connections.c (nscd_init): Fix comment.
6750
6751 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6752
6753 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6754
6755 [BZ #15667]
6756 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6757 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6758
6759 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6760
6761 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6762 DL_DST_REQ_STATIC.
6763 (DL_DST_REQ_STATIC): Remove macro.
6764
6765 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6766
6767 [BZ #7006]
6768 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6769 with a shift of 0 bits.
6770
6771 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6772
6773 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6774 $(tststatic-ENV).
6775
6776 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6777
6778 [BZ #15655]
6779 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6780
6781 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782
6783 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6784 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6785 accepts -fno-tree-loop-distribute-patterns.
6786 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6787 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6788 recursive call.
6789 * string/memset.c (memset): Likewise.
6790 * string/test-memmove.c (simple_memmove): Disable loop transformation
6791 to library calls.
6792 * string/test-memset.c (simple_memset): Likewise.
6793 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6794 * benchtests/bench-memset.c (simple_memset): Likewise.
6795 * configure: Regenerated.
6796
6797 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6798
6799 * math/test-misc.c (main): Ignore fesetround failure when failures
6800 of subsequent rounding tests would be ignored.
6801
6802 [BZ #15654]
6803 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6804 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6805 * math/fegetenv.c (__fegetenv): Return 0.
6806 * math/fegetexcept.c (fegetexcept): Return 0.
6807 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6808 FE_TONEAREST.
6809 * math/feholdexcpt.c (feholdexcept): Return 0.
6810 * math/fesetenv.c (__fesetenv): Return 0.
6811 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6812 argument FE_TONEAREST.
6813 * math/feupdateenv.c (__feupdateenv): Return 0.
6814 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6815
6816 2013-06-18 Roland McGrath <roland@hack.frob.com>
6817
6818 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6819 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6820 ($(objpfx)rtld-%.os rules): Use them.
6821
6822 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823
6824 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6825 fields.
6826
6827 2013-06-17 Roland McGrath <roland@hack.frob.com>
6828
6829 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6830 length of target pattern, then descending length of dependency pattern.
6831 * configure.in (AWK): Require gawk 3.1.2 or newer.
6832 * manual/install.texi (Tools for Compilation): Say that we do.
6833 * configure: Regenerated.
6834
6835 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6836 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6837 * scripts/sysd-rules.awk: ... this new script.
6838 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6839 than a glob-style pattern.
6840
6841 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6842
6843 * math/test-misc.c (main): Do not treat incorrectly rounded
6844 conversions as failure unless ROUNDING_TESTS passes.
6845
6846 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6847
6848 [BZ #15631]
6849 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6850 restore exception state around main square root computation, then
6851 check for inexactness explicitly.
6852
6853 * math/libm-test.inc (fma_test_data): Add another test.
6854
6855 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6856
6857 * manual/threads.texi (Non-POSIX Extensions): New document
6858 node. Document pthread_getattr_default_np and
6859 pthread_setattr_default_np.
6860
6861 * Versions.def (libpthread): Add GLIBC_2.18.
6862 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6864 Likewise.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6866 Likewise.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6868 Likewise.
6869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6870 Likewise.
6871 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6872 Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6874 Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6876 Likewise.
6877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6878 Likewise.
6879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6880 Likewise.
6881
6882 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6883
6884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6885 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6886
6887 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6888 H.J. Lu <hjl.tools@gmail.com>
6889
6890 [BZ #15627]
6891 * sysdeps/x86_64/rtld-memset.c: Remove file.
6892 * sysdeps/x86_64/rtld-memset.S: New file.
6893
6894 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6895
6896 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6897 (test_in_one_mode): Take arguments for whether the rounding mode
6898 is supported for each floating-point type.
6899 (do_test): Pass new arguments to test_in_one_mode using
6900 ROUNDING_TESTS.
6901
6902 2013-06-13 Roland McGrath <roland@hack.frob.com>
6903
6904 * posix/tst-waitid.c (do_test): Distinguish different instances of
6905 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6906 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6907 before entering the kernel for waitpid.
6908
6909 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6910
6911 * NEWS: Fix note on clock function precision. Text by Roland
6912 McGrath.
6913
6914 2013-06-13 Roland McGrath <roland@hack.frob.com>
6915
6916 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6917 it into place only when and if the sanity check passes.
6918
6919 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6920
6921 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6922 output for whether conversion result is exact. Take argument
6923 indicating whether type is IBM long double.
6924 (round_for_all): Change need_exact field to ibm_ld.
6925 * stdlib/tst-strtod-round.c (struct exactness): New type.
6926 (struct test): Change bool ld_ok field to struct exactness exact.
6927 (TEST): Update all definitions for change to field.
6928 (tests): Regenerate array contents.
6929 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6930 field value. Check for IBM long double here.
6931 (do_test): Update calls to test_in_one_mode.
6932
6933 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6934
6935 [BZ #12515]
6936 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6937 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6938
6939 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6940
6941 [BZ #15605]
6942 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6943 generated by the compiler on loop optimizations.
6944 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6945 general definitions.
6946
6947 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6948
6949 * math/bug-nextafter.c: Include <math-tests.h>.
6950 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6951 the relevant type.
6952 * math/bug-nexttoward.c: Include <math-tests.h>.
6953 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6954 the relevant type.
6955 * math/test-misc.c: Include <math-tests.h>.
6956 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6957 the relevant type.
6958
6959 2013-06-12 Andreas Jaeger <aj@suse.de>
6960
6961 * po/ia.po: Update Interlingua translation from translation
6962 project.
6963
6964 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6965
6966 * include/fenv.h: Include stdbool.h.
6967 (struct rm_ctx): New structure.
6968 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6969 Define macro.
6970 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6971 (SET_RESTORE_ROUNDF): Likewise.
6972 (SET_RESTORE_ROUNDL): Likewise.
6973 (SET_RESTORE_ROUND_NOEX): Likewise.
6974 (SET_RESTORE_ROUND_NOEXF): Likewise.
6975 (SET_RESTORE_ROUND_NOEXL): Likewise.
6976 (SET_RESTORE_ROUND_53BIT): Likewise.
6977 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6978 (libc_feresetround_noexf_ctx): Likewise.
6979 (libc_feresetround_noexl_ctx): Likewise.
6980 (libc_feholdsetround_53bit_ctx): Likewise.
6981 (libc_feresetround_53bit_ctx): Likewise.
6982 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6983 (libc_feholdexcept_setround_sse_ctx): New function.
6984 (libc_fesetenv_sse_ctx): Likewise.
6985 (libc_feupdateenv_sse_ctx): Likewise.
6986 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6987 (libc_feholdexcept_setround_387_ctx): Likewise.
6988 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6989 (libc_feholdsetround_387_prec_ctx): Likewise.
6990 (libc_feholdsetround_387_ctx): Likewise.
6991 (libc_feholdsetround_387_53bit_ctx): Likewise.
6992 (libc_feholdsetround_sse_ctx): Likewise.
6993 (libc_feresetround_sse_ctx): Likewise.
6994 (libc_feresetround_387_ctx): Likewise.
6995 (libc_feupdateenv_387_ctx): Likewise.
6996 (libc_feholdexcept_setroundf_ctx): Define macro.
6997 (libc_fesetenvf_ctx): Likewise.
6998 (libc_feupdateenvf_ctx): Likewise.
6999 (libc_feholdsetroundf_ctx): Likewise.
7000 (libc_feresetroundf_ctx): Likewise.
7001 (libc_feholdexcept_setround_ctx): Likewise.
7002 (libc_fesetenv_ctx): Likewise.
7003 (libc_feupdateenv_ctx): Likewise.
7004 (libc_feholdsetround_ctx): Likewise.
7005 (libc_feresetround_ctx): Likewise.
7006 (libc_feholdexcept_setroundl_ctx): Likewise.
7007 (libc_feupdateenvl_ctx): Likewise.
7008 (libc_feholdsetroundl_ctx): Likewise.
7009 (libc_feresetroundl_ctx): Likewise.
7010 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7011 (libc_feresetround_53bit_ctx): Likewise.
7012
7013 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7014
7015 * locale/iso-639.def: Convert to UTF-8.
7016
7017 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7018
7019 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7020 (EXCEPTION_TESTS_double): Likewise.
7021 (EXCEPTION_TESTS_long_double): Likewise.
7022 (EXCEPTION_TESTS): Likewise.
7023 * math/libm-test.inc (test_exceptions): Only test exceptions if
7024 EXCEPTION_TESTS (FLOAT).
7025
7026 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7027
7028 * benchtests/Makefile (string-bench): Add strcpy_chk and
7029 stpcpy_chk.
7030 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7031 * benchtests/bench-stpcpy_chk.c: New file.
7032 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7033 * benchtests/bench-strcpy_chk.c: New file.
7034 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7035 code.
7036 (do_test): Likewise.
7037
7038 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7039
7040 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7041 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7042 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7043 with tabs where appropriate.
7044 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7045 dl-procinfo.h.
7046 [PPC_PLATFORM_PPC440]: Likewise.
7047 [PPC_PLATFORM_PPC464]: Likewise.
7048 [PPC_PLATFORM_PPC476]: Likewise.
7049 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7050 ppc464, and ppc476 platform strings merging from ports/
7051 dl-procinfo.h.
7052
7053 2013-06-11 Andreas Schwab <schwab@suse.de>
7054
7055 [BZ #14991]
7056 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7057 (from_ucs4_idx): Regenerate.
7058 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7059 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7060 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7061 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7062 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7063 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7064 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7065 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7066 from FROM_LOOP and TO_LOOP specific macros.
7067 (BODY): Handle combining characters.
7068 * iconvdata/BIG5HKSCS.irreversible: Update.
7069 * iconvdata/BIG5HKSCS.precomposed: New file.
7070 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7071 characters.
7072 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7073
7074 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7075
7076 * include/sys/time.h: Fix indentation and add copyright header.
7077
7078 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7079 (do_test): Likewise.
7080 * string/test-memchr.c (do_one_test): Likewise.
7081 (do_test): Likewise.
7082 * string/test-memcmp.c (do_one_test): Likewise.
7083 (do_test): Likewise.
7084 * string/test-memcpy.c (do_one_test): Likewise.
7085 (do_test): Likewise.
7086 * string/test-memmem.c (do_one_test): Likewise.
7087 (do_test): Likewise.
7088 (do_random_tests): Likewise.
7089 * string/test-memmove.c (do_one_test): Likewise.
7090 (do_test): Likewise.
7091 * string/test-memset.c (do_one_test): Likewise.
7092 (do_test): Likewise.
7093 * string/test-rawmemchr.c (do_one_test): Likewise.
7094 (do_test): Likewise.
7095 * string/test-strcasecmp.c (do_one_test): Likewise.
7096 (do_test): Likewise.
7097 * string/test-strcasestr.c (do_one_test): Likewise.
7098 (do_test): Likewise.
7099 * string/test-strcat.c (do_one_test): Likewise.
7100 (do_test): Likewise.
7101 * string/test-strchr.c (do_one_test): Likewise.
7102 (do_test): Likewise.
7103 * string/test-strcmp.c (do_one_test): Likewise.
7104 (do_test): Likewise.
7105 * string/test-strcpy.c (do_one_test): Likewise.
7106 (do_test): Likewise.
7107 * string/test-string.h: Likewise.
7108 (test_init): Likewise.
7109 * string/test-strlen.c (do_one_test): Likewise.
7110 (do_test): Likewise.
7111 * string/test-strncasecmp.c (do_one_test): Likewise.
7112 (do_test): Likewise.
7113 * string/test-strncat.c (do_one_test): Likewise.
7114 (do_test): Likewise.
7115 * string/test-strncmp.c (do_one_test): Likewise.
7116 (do_test_limit): Likewise.
7117 (do_test): Likewise.
7118 * string/test-strncpy.c (do_one_test): Likewise.
7119 (do_test): Likewise.
7120 * string/test-strnlen.c (do_one_test): Likewise.
7121 (do_test): Likewise.
7122 * string/test-strpbrk.c (do_one_test): Likewise.
7123 (do_test): Likewise.
7124 * string/test-strrchr.c (do_one_test): Likewise.
7125 (do_test): Likewise.
7126 * string/test-strspn.c (do_one_test): Likewise.
7127 (do_test): Likewise.
7128 * string/test-strstr.c (do_one_test): Likewise.
7129 (do_test): Likewise.
7130
7131 * benchtests/Makefile (string-bench): Add string benchmarks.
7132 * benchtests/bench-bcopy-ifunc.c: New file.
7133 * benchtests/bench-bcopy.c: New file.
7134 * benchtests/bench-bzero-ifunc.c: New file.
7135 * benchtests/bench-bzero.c: New file.
7136 * benchtests/bench-memccpy-ifunc.c: New file.
7137 * benchtests/bench-memccpy.c: New file.
7138 * benchtests/bench-memchr-ifunc.c: New file.
7139 * benchtests/bench-memchr.c: New file.
7140 * benchtests/bench-memcmp-ifunc.c: New file.
7141 * benchtests/bench-memcmp.c: New file.
7142 * benchtests/bench-memmem-ifunc.c: New file.
7143 * benchtests/bench-memmem.c: New file.
7144 * benchtests/bench-memmove-ifunc.c: New file.
7145 * benchtests/bench-memmove.c: New file.
7146 * benchtests/bench-mempcpy-ifunc.c: New file.
7147 * benchtests/bench-mempcpy.c: New file.
7148 * benchtests/bench-memset-ifunc.c: New file.
7149 * benchtests/bench-memset.c: New file.
7150 * benchtests/bench-rawmemchr-ifunc.c: New file.
7151 * benchtests/bench-rawmemchr.c: New file.
7152 * benchtests/bench-stpcpy-ifunc.c: New file.
7153 * benchtests/bench-stpcpy.c: New file.
7154 * benchtests/bench-stpncpy-ifunc.c: New file.
7155 * benchtests/bench-stpncpy.c: New file.
7156 * benchtests/bench-strcasecmp-ifunc.c: New file.
7157 * benchtests/bench-strcasecmp.c: New file.
7158 * benchtests/bench-strcasestr-ifunc.c: New file.
7159 * benchtests/bench-strcasestr.c: New file.
7160 * benchtests/bench-strcat-ifunc.c: New file.
7161 * benchtests/bench-strcat.c: New file.
7162 * benchtests/bench-strchr-ifunc.c: New file.
7163 * benchtests/bench-strchr.c: New file.
7164 * benchtests/bench-strchrnul-ifunc.c: New file.
7165 * benchtests/bench-strchrnul.c: New file.
7166 * benchtests/bench-strcmp-ifunc.c: New file.
7167 * benchtests/bench-strcmp.c: New file.
7168 * benchtests/bench-strcpy-ifunc.c: New file.
7169 * benchtests/bench-strcpy.c: New file.
7170 * benchtests/bench-strcspn-ifunc.c: New file.
7171 * benchtests/bench-strcspn.c: New file.
7172 * benchtests/bench-strlen-ifunc.c: New file.
7173 * benchtests/bench-strlen.c: New file.
7174 * benchtests/bench-strncasecmp-ifunc.c: New file.
7175 * benchtests/bench-strncasecmp.c: New file.
7176 * benchtests/bench-strncat-ifunc.c: New file.
7177 * benchtests/bench-strncat.c: New file.
7178 * benchtests/bench-strncmp-ifunc.c: New file.
7179 * benchtests/bench-strncmp.c: New file.
7180 * benchtests/bench-strncpy-ifunc.c: New file.
7181 * benchtests/bench-strncpy.c: New file.
7182 * benchtests/bench-strnlen-ifunc.c: New file.
7183 * benchtests/bench-strnlen.c: New file.
7184 * benchtests/bench-strpbrk-ifunc.c: New file.
7185 * benchtests/bench-strpbrk.c: New file.
7186 * benchtests/bench-strrchr-ifunc.c: New file.
7187 * benchtests/bench-strrchr.c: New file.
7188 * benchtests/bench-strspn-ifunc.c: New file.
7189 * benchtests/bench-strspn.c: New file.
7190 * benchtests/bench-strstr-ifunc.c: New file.
7191 * benchtests/bench-strstr.c: New file.
7192
7193 * benchtests/Makefile: Disable parallel execution of targets.
7194 (string-bench): Add memcpy.
7195 (benchset): New variable to store a list of benchmark sets.
7196 (bench-func): Renamed from bench.
7197 (bench-set): New target.
7198 (bench): Depend on bench-func and bench-set.
7199 * benchtests/README: Add section on benchmark sets.
7200 * benchtests/bench-memcpy-ifunc.c: New file.
7201 * benchtests/bench-memcpy.c: New file.
7202 * benchtests/bench-string.h: New file.
7203
7204 2013-06-11 Andreas Schwab <schwab@suse.de>
7205
7206 [BZ #15577]
7207 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7208 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7209 values in the triple.
7210 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7211 terminator in the group key.
7212
7213 2013-06-11 Andreas Jaeger <aj@suse.de>
7214
7215 * po/zh_TW.po: Update Chinese (traditional) translation from
7216 translation project.
7217
7218 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7221 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7222 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7224 (clock_getcpuclockid): Likewise.
7225 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7226 Add weak_alias and libc_hidden_def.
7227 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7228 * rt/clock_gettime.c (clock_gettime): Rename to
7229 __clock_gettime. Add weak_alias and libc_hidden_def.
7230 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7231 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7232 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7233 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7234 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7235 Likewise.
7236 * rt/clock_settime.c (clock_settime): Rename to
7237 __clock_settime. Add weak_alias and libc_hidden_def.
7238 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7239
7240 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7241
7242 * mach/err_boot.sub: Remove trailing whitespace.
7243 * mach/err_ipc.sub: Likewise.
7244 * mach/err_mach.sub: Likewise.
7245
7246 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7247 (ROUNDING_TESTS_double): Likewise.
7248 (ROUNDING_TESTS_long_double): Likewise.
7249 (ROUNDING_TESTS): Likewise.
7250 * math/libm-test.inc: Include <math-tests.h>.
7251 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7252 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7253 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7254 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7255
7256 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
7258 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7259 of assigning.
7260
7261 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7262
7263 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7264 otherwise empty TRANS lines.
7265 * sysdeps/gnu/errlist.c: Regenerated.
7266
7267 * catgets/gencat.c (error_print): Use (void) in function
7268 definition.
7269 * crypt/crypt_util.c (__init_des): Likewise.
7270 * crypt/speeds.c (Stop): Likewise.
7271 (main): Likewise.
7272 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7273 * inet/ruserpass.c (token): Likewise.
7274 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7275 * intl/localealias.c (extend_alias_table): Likewise.
7276 * intl/plural-exp.c (init_germanic_plural): Likewise.
7277 * libio/fcloseall.c (__fcloseall): Likewise.
7278 * libio/genops.c (_IO_flush_all): Likewise.
7279 (_IO_flush_all_linebuffered): Likewise.
7280 (_IO_cleanup): Likewise.
7281 (_IO_iter_begin): Likewise.
7282 (_IO_iter_end): Likewise.
7283 (_IO_list_lock): Likewise.
7284 (_IO_list_unlock): Likewise.
7285 (_IO_list_resetlock): Likewise.
7286 * libio/getchar.c (getchar): Likewise.
7287 * libio/getchar_u.c (getchar_unlocked): Likewise.
7288 * libio/getwchar.c (getwchar): Likewise.
7289 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7290 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7291 * login/getpt.c (__getpt): Likewise.
7292 * login/tst-utmp.c (main): Likewise.
7293 * malloc/hooks.c (__malloc_check_init): Likewise.
7294 * malloc/malloc.c (__malloc_stats): Likewise.
7295 * malloc/mtrace.c (tr_break): Likewise.
7296 (mtrace): Likewise.
7297 (muntrace): Likewise.
7298 * misc/fstab.c (endfsent): Likewise.
7299 * misc/getclktck.c (__getclktck): Likewise.
7300 * misc/getdtsz.c (__getdtablesize): Likewise.
7301 * misc/gethostid.c (gethostid): Likewise.
7302 * misc/getpagesize.c (__getpagesize): Likewise.
7303 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7304 (__get_nprocs): Likewise.
7305 (__get_phys_pages): Likewise.
7306 (__get_avphys_pages): Likewise.
7307 * misc/getttyent.c (getttyent): Likewise.
7308 (setttyent): Likewise.
7309 (endttyent): Likewise.
7310 * misc/getusershell.c (getusershell): Likewise.
7311 (endusershell): Likewise.
7312 (setusershell): Likewise.
7313 (initshells): Likewise.
7314 * misc/hsearch.c (__hdestroy): Likewise.
7315 * misc/sync.c (sync): Likewise.
7316 * misc/syslog.c (closelog_internal): Likewise.
7317 (closelog): Likewise.
7318 * misc/ttyslot.c (ttyslot): Likewise.
7319 * misc/vhangup.c (vhangup): Likewise.
7320 * posix/fork.c (__fork): Likewise.
7321 * posix/getegid.c (__getegid): Likewise.
7322 * posix/geteuid.c (__geteuid): Likewise.
7323 * posix/getgid.c (__getgid): Likewise.
7324 * posix/getpid.c (__getpid): Likewise.
7325 * posix/getppid.c (__getppid): Likewise.
7326 * posix/getuid.c (__getuid): Likewise.
7327 * posix/pause.c (pause): Likewise.
7328 * posix/setpgrp.c (setpgrp): Likewise.
7329 * posix/setsid.c (__setsid): Likewise.
7330 * posix/test-vfork.c (noop): Likewise.
7331 * resolv/gethnamaddr.c (_endhtent): Likewise.
7332 (_gethtent): Likewise.
7333 (ht_endhostent): Likewise.
7334 (gethostent): Likewise.
7335 (dns_service): Likewise.
7336 * stdlib/drand48.c (drand48): Likewise.
7337 * stdlib/lrand48.c (lrand48): Likewise.
7338 * stdlib/mrand48.c (mrand48): Likewise.
7339 * stdlib/rand.c (rand): Likewise.
7340 * stdlib/random.c (__random): Likewise.
7341 * stdlib/setenv.c (clearenv): Likewise.
7342 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7343 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7344 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7345 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7346 (__get_nprocs): Likewise.
7347 (__get_phys_pages): Likewise.
7348 (__get_avphys_pages): Likewise.
7349 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7350 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7351 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7352 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7353 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7354 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7355 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7356 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7357 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7358 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7359 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7360 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7361 * sysdeps/posix/clock.c (clock): Likewise.
7362 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7363 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7364 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7365 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7366 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7368 (__get_nprocs_conf): Likewise.
7369 (__get_phys_pages): Likewise.
7370 (__get_avphys_pages): Likewise.
7371 * time/clock.c (clock): Likewise.
7372 * time/tzset.c (__tzname_max): Likewise.
7373
7374 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7375
7376 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7377 (__bswap_32): Do not use "register".
7378 * crypt/crypt.c (_ufc_doit_r): Likewise.
7379 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7380 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7381 * gmon/gmon.c (__monstartup): Likewise.
7382 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7383 * hurd/hurdmalloc.c (more_memory): Likewise.
7384 (malloc): Likewise.
7385 (free): Likewise.
7386 (realloc): Likewise.
7387 (malloc_fork_prepare): Likewise.
7388 (malloc_fork_parent): Likewise.
7389 (malloc_fork_child): Likewise.
7390 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7391 (_svcauth_des): Likewise.
7392 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7393 * inet/inet_net.c (inet_network): Likewise.
7394 * inet/inet_netof.c (inet_netof): Likewise.
7395 * inet/rcmd.c (__validuser2_sa): Likewise.
7396 * io/fts.c (fts_open): Likewise.
7397 (fts_load): Likewise.
7398 (fts_close): Likewise.
7399 (fts_read): Likewise.
7400 (fts_children): Likewise.
7401 (fts_build): Likewise.
7402 (fts_stat): Likewise.
7403 (fts_sort): Likewise.
7404 (fts_alloc): Likewise.
7405 (fts_lfree): Likewise.
7406 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7407 (_IO_file_xsgetn): Likewise.
7408 (_IO_file_xsgetn_mmap): Likewise.
7409 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7410 (_IO_cookie_write): Likewise.
7411 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7412 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7413 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7414 * malloc/obstack.c (_obstack_begin): Likewise.
7415 (_obstack_begin_1): Likewise.
7416 (_obstack_newchunk): Likewise.
7417 (_obstack_allocated_p): Likewise.
7418 (obstack_free): Likewise.
7419 (_obstack_memory_used): Likewise.
7420 * misc/getttyent.c (getttynam): Likewise.
7421 (getttyent): Likewise.
7422 (skip): Likewise.
7423 (value): Likewise.
7424 * misc/getusershell.c (initshells): Likewise.
7425 * misc/syslog.c (__vsyslog_chk): Likewise.
7426 * misc/ttyslot.c (ttyslot): Likewise.
7427 * nis/nis_hash.c (__nis_hash): Likewise.
7428 * posix/fnmatch_loop.c (FCT): Likewise.
7429 * posix/getconf.c (print_all): Likewise.
7430 (main): Likewise.
7431 * posix/getopt.c (exchange): Likewise.
7432 * posix/glob.c (globfree): Likewise.
7433 (prefix_array): Likewise.
7434 (__glob_pattern_type): Likewise.
7435 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7436 (NS_GET32): Likewise.
7437 (NS_PUT16): Likewise.
7438 (NS_PUT32): Likewise.
7439 * resolv/gethnamaddr.c (getanswer): Likewise.
7440 (gethostbyname2): Likewise.
7441 (gethostbyaddr): Likewise.
7442 (_gethtent): Likewise.
7443 (_gethtbyname2): Likewise.
7444 (_gethtbyaddr): Likewise.
7445 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7446 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7447 * resolv/res_init.c (__res_vinit): Likewise.
7448 (net_mask): Likewise.
7449 * resolv/res_mkquery.c (outchar): Likewise.
7450 (PRINT): Likewise.
7451 * stdio-common/printf_fp.c (outchar): Likewise.
7452 (PRINT): Likewise.
7453 * stdio-common/printf_fphex.c (outchar): Likewise.
7454 (PRINT): Likewise.
7455 * stdio-common/printf_size.c (outchar): Likewise.
7456 (PRINT): Likewise.
7457 * stdio-common/test_rdwr.c (main): Likewise.
7458 * stdio-common/tfformat.c (matches): Likewise.
7459 * stdio-common/vfprintf.c (outchar): Likewise.
7460 (printf_unknown): Likewise.
7461 (buffered_vfprintf): Likewise.
7462 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7463 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7464 (ReadFile): Likewise.
7465 * stdlib/qsort.c (SWAP): Likewise.
7466 (_quicksort): Likewise.
7467 * stdlib/setenv.c (__add_to_environ): Likewise.
7468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7469 * stdlib/strtol_l.c (__strtol_l): Likewise.
7470 * stdlib/tst-strtod.c (main): Likewise.
7471 * stdlib/tst-strtol.c (main): Likewise.
7472 * stdlib/tst-strtoll.c (main): Likewise.
7473 * string/bits/string2.h (__strcmp_cc): Likewise.
7474 (__strcmp_cg): Likewise.
7475 (__strcspn_c1): Likewise.
7476 (__strcspn_c2): Likewise.
7477 (__strcspn_c3): Likewise.
7478 (__strspn_c1): Likewise.
7479 (__strspn_c2): Likewise.
7480 (__strspn_c3): Likewise.
7481 (__strsep_1c): Likewise.
7482 (__strsep_2c): Likewise.
7483 (__strsep_3c): Likewise.
7484 * string/memccpy.c (__memccpy): Likewise.
7485 * string/stpcpy.c (__stpcpy): Likewise.
7486 * string/strcmp.c (strcmp): Likewise.
7487 * string/strrchr.c (strrchr): Likewise.
7488 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7489 Likewise.
7490 * sysdeps/mach/hurd/getcwd.c
7491 (_hurd_canonicalize_directory_name_internal): Likewise.
7492 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7493 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7494 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7495 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7496 Likewise, in both definitions.
7497 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7498 definitions.
7499 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7500 64] (__bswap_64): Likewise.
7501 * time/test_time.c (main): Likewise.
7502 * time/tzfile.c (__tzfile_read): Likewise.
7503 (__tzfile_compute): Likewise.
7504 * time/tzset.c (__tzset_parse_tz): Likewise.
7505 (tzset_internal): Likewise.
7506 (compute_change): Likewise.
7507 * wcsmbs/wcscat.c (__wcscat): Likewise.
7508 * wcsmbs/wcschr.c (wcschr): Likewise.
7509 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7510 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7511 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7512 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7513 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7514 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7515 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7516 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7517 * wcsmbs/wmemset.c (wmemset): Likewise.
7518
7519 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7520
7521 * scripts/config.guess: Update to version 2013-05-16.
7522 * scripts/config.sub: Update to version 2013-04-24.
7523 * scripts/install-sh: Update to version 2011-11-20.07.
7524 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7525 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7526
7527 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7528
7529 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7530 * elf/sln.c: Likewise.
7531 * hurd/hurd/ioctl.h: Likewise.
7532 * hurd/hurdmalloc.c: Likewise.
7533 * hurd/xattr.c: Likewise.
7534 * include/shlib-compat.h: Likewise.
7535 * inet/ruserpass.c: Likewise.
7536 * libio/iofgets_u.c: Likewise.
7537 * libio/iofgetws_u.c: Likewise.
7538 * locale/programs/ld-identification.c: Likewise.
7539 * locale/programs/ld-time.c: Likewise.
7540 * mach/msg-destroy.c: Likewise.
7541 * nss/nss_files/files-netgrp.c: Likewise.
7542 * resolv/res_data.c: Likewise.
7543 * soft-fp/op-1.h: Likewise.
7544 * soft-fp/op-2.h: Likewise.
7545 * soft-fp/op-4.h: Likewise.
7546 * soft-fp/op-common.h: Likewise.
7547 * stdio-common/printf_fphex.c: Likewise.
7548 * stdlib/strtod_l.c: Likewise.
7549 * sunrpc/rpc/clnt.h: Likewise.
7550 * sysdeps/generic/framestate.c: Likewise.
7551 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7552 * sysdeps/i386/bsd-setjmp.S: Likewise.
7553 * sysdeps/i386/__longjmp.S: Likewise.
7554 * sysdeps/i386/setjmp.S: Likewise.
7555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7556 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7573 * sysdeps/ieee754/support.c: Likewise.
7574 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7575 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7576 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7577 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7578 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7579 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7580 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7581 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7582 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7583 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7584 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7585 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7586 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7587 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7588 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7589 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7590 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7592
7593 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7594
7595 * posix/transbug.c: Remove executable mode.
7596
7597 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7598
7599 * crypt/speeds.c: Remove trailing whitespace.
7600 * dlfcn/default.c: Likewise.
7601 * elf/ifuncdep2.c: Likewise.
7602 * elf/ifuncmain1.c: Likewise.
7603 * elf/ifuncmain1vis.c: Likewise.
7604 * elf/testobj.h: Likewise.
7605 * elf/tst-stackguard1.c: Likewise.
7606 * gmon/sys/gmon.h: Likewise.
7607 * hurd/hurdmsg.c: Likewise.
7608 * hurd/new-fd.c: Likewise.
7609 * hurd/ports-get.c: Likewise.
7610 * iconvdata/ibm1008_420.c: Likewise.
7611 * inet/tst-getni1.c: Likewise.
7612 * inet/tst-getni2.c: Likewise.
7613 * libio/ioungetc.c: Likewise.
7614 * libio/wfiledoalloc.c: Likewise.
7615 * manual/libm-err-tab.pl: Likewise.
7616 * math/w_dremf.c: Likewise.
7617 * misc/ftruncate.c: Likewise.
7618 * posix/bug-glob2.c: Likewise.
7619 * posix/tst-pcre.c: Likewise.
7620 * posix/wait4.c: Likewise.
7621 * resolv/README: Likewise.
7622 * resolv/res_debug.h: Likewise.
7623 * resolv/tst-inet_ntop.c: Likewise.
7624 * setjmp/bug269-setjmp.c: Likewise.
7625 * soft-fp/extended.h: Likewise.
7626 * soft-fp/op-1.h: Likewise.
7627 * soft-fp/op-2.h: Likewise.
7628 * soft-fp/op-4.h: Likewise.
7629 * soft-fp/op-8.h: Likewise.
7630 * soft-fp/testit.c: Likewise.
7631 * stdio-common/bug16.c: Likewise.
7632 * stdlib/random.c: Likewise.
7633 * sunrpc/rpcsvc/rquota.x: Likewise.
7634 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7635 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7637 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7638 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7639 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7640 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7641 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7642 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7643 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7663 * sysdeps/ieee754/s_lib_version.c: Likewise.
7664 * sysdeps/mach/hurd/check_fds.c: Likewise.
7665 * sysdeps/mach/hurd/getsockname.c: Likewise.
7666 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7667 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7668 * sysdeps/powerpc/bits/link.h: Likewise.
7669 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7670 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7671 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7672 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7673 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7674 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7675 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7676 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7677 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7678 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7679 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7680 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7681 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7682 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7683 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7684 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7685 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7686 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7690 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7692 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7693 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7694 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7695 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7696 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7697 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7698 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7700 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7702 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7703 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7704 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7705 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7706 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7707 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7708 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7709 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7710 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7711 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7712 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7713 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7714 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7715 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7716 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7717 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7718 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7719 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7721 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7722 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7723 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7724 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7725 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7726 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7727 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7728 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7729 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7730 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7731 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7732 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7733 * sysdeps/powerpc/sysdep.h: Likewise.
7734 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7735 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7736 * sysdeps/sh/dl-trampoline.S: Likewise.
7737 * sysdeps/sh/memset.S: Likewise.
7738 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7739 * sysdeps/sh/strlen.S: Likewise.
7740 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7741 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7742 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7743 * sysdeps/sparc/sparc32/rem.S: Likewise.
7744 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7745 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7746 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7747 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7748 * sysdeps/sparc/sparc32/urem.S: Likewise.
7749 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7750 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7751 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7752 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7753 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7754 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7755 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7756 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7757 * sysdeps/unix/bsd/times.c: Likewise.
7758 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7759 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7763 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7765 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7766 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7767 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7768 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7769 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7771 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7772 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7773 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7774 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7775 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7776 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7777 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7778 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7779 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7780 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7781 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7782 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7783 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7785 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7786 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7787 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7788 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7789 * sysdeps/x86_64/strcspn.S: Likewise.
7790
7791 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7792
7793 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7794 generated file. Regenerate properly from gen-translit.pl.
7795 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7796 locale/C-translit.h.
7797
7798 2013-06-05 Andreas Schwab <schwab@suse.de>
7799
7800 [BZ #15100]
7801 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7802 week as 6 instead of -1.
7803 * time/tst-strptime.c (day_tests): Add test case.
7804
7805 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7806
7807 * sysdeps/generic/math_private.h
7808 (libc_feholdexcept_setround_53bit): Replace with
7809 libc_feholdsetround_53bit.
7810 (libc_feupdateenv_53bit): Replace with
7811 libc_feresetround_53bit.
7812 (SET_RESTORE_ROUND_53BIT): Adjust.
7813
7814 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7815
7816 * string/test-strchrnul.c: Add copyright header.
7817
7818 * posix/tst-getaddrinfo4.c: Increase test timeout.
7819
7820 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7821
7822 [BZ #15536]
7823 * math/libm-test.inc (MAX_EXP): Remove
7824 (MIN_EXP): Define.
7825 (ulp): Use MIN_EXP - MANT_DIG.
7826 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7827
7828 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7829
7830 * po/be.po: Revert last change.
7831 * po/zh_CN.po: Likewise.
7832 * po/header.pot: Likewise.
7833
7834 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7835
7836 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7837 link-libc-deps to empty as target-specific variable.
7838 * Makerules (link-libc-args): New variable.
7839 (libc-for-link): Likewise.
7840 (link-libc-deps): Likewise.
7841 (lib%.so): Depend on $(link-libc-deps). Link with
7842 $(link-libc-args).
7843 (build-module): Link with $(link-libc-args).
7844 (build-module-asneeded): Likewise.
7845 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7846 list of objects.
7847 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7848 target-specific variable.
7849 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7850 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7851 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7852 libc.
7853 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7854 libc and ld.so.
7855 ($(objpfx)libpcprofile.so): Likewise.
7856 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7857 libc_nonshared.a.
7858 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7859 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7860 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7861 $(link-libc-deps).
7862 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7863 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7864 * login/Makefile ($(objpfx)libutil.so): Likewise.
7865 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7866 * math/Makefile ($(objpfx)libm.so): Likewise.
7867 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7868 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7869 variable instead of depending directly on libc.
7870 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7871 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7872 $(link-libc-deps).
7873 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7874 libc.
7875 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7876 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7877 ($(objpfx)libanl.so): Likewise.
7878 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7879 ld.so.
7880 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7881 $(link-libc-deps).
7882 * sysdeps/i386/fpu/Makefile: Remove file.
7883 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7884 ($(objpfx)libm.so): Remove dependency on ld.so.
7885
7886 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7887
7888 [BZ # 15553]
7889 * nis/yp_xdr.c (XDRMAXNAME): Define.
7890 (XDRMAXRECORD): Define.
7891 (xdr_domainname): Use XDRMAXNAME.
7892 (xdr_mapname): Likewise.
7893 (xdr_peername): Likewise.
7894 (xdr_keydat): Use XDRMAXRECORD.
7895 (xdr_valdat): Likewise.
7896
7897 2013-05-30 Jeff Law <law@redhat.com>
7898
7899 [BZ #14256]
7900 * manual/errno.texi (ESTALE): Update to account for more than
7901 just NFS file systems.
7902 * sysdeps/gnu/errlist.c: Regenerated.
7903
7904 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7905
7906 [BZ #15465]
7907 * elf/Makefile (tests): Add tst-null-argv.
7908 (modules-names): Add tst-null-argv-lib.
7909 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7910 (tst-null-argv-ENV): Set environment for tst-null-argv.
7911 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7912 (RTLD_PROGNAME): New macro.
7913 * elf/tst-null-argv.c: New test case.
7914 * elf/tst-null-argv-lib.c: Library for test case.
7915 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7916 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7917 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7918 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7919 * elf/dl-init.c (call_init): Likewise.
7920 (_dl_init): Likewise.
7921 * elf/dl-load.c (print_search_path): Likewise.
7922 (_dl_map_object): Likewise.
7923 * elf/dl-lookup.c (do_lookup_x): Likewise.
7924 (add_dependency): Likewise.
7925 (_dl_lookup_symbol_x): Likewise.
7926 (_dl_debug_bindings): Likewise.
7927 * elf/dl-open.c (_dl_show_scope): Likewise.
7928 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7929 * elf/dl-version.c (match_symbol): Likewise.
7930 (_dl_check_map_versions): Likewise.
7931 * elf/rtld.c (dl_main): Likewise.
7932 (print_unresolved): Use RTLD_PROGNAME.
7933 (print_missing_version): Likewise.
7934 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7935 (elf_machine_rela): Likewise.
7936 * sysdeps/powerpc/powerpc32/dl-machine.c
7937 (__process_machine_rela): Likewise.
7938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7939 Likewise.
7940 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7941 Likewise.
7942 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7943 Likewise.
7944 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7946 Likewise.
7947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7948 Likewise.
7949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7950
7951 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7952
7953 * po/be.po: Add descriptive title.
7954 * po/zh_CN.po: Likewise.
7955 * po/header.pot: Likewise.
7956
7957 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7958
7959 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7960 error message.
7961 (enlarge_archive): Likewise.
7962
7963 2013-05-28 Ben North <ben@redfrontdoor.org>
7964
7965 * manual/arith.texi (frexp): It is the magnitude of the return
7966 value which lies in [0.5, 1), not the return value itself.
7967
7968 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7969
7970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7971
7972 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7973
7974 * stdio-common/bug26.c (main): Correct fscanf template.
7975
7976 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7977 declare _dl_skip_args.
7978
7979 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7980 Don't declare.
7981
7982 * manual/platform.texi: Add missing @end deftypefun.
7983
7984 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7985
7986 [BZ #15529]
7987 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7988 bit of mantissa of 2^16382.
7989 * math/libm-test.inc (hypot_test_data): Add more tests.
7990
7991 * math/libm-test.inc: Add drem and pow10 to list of tested
7992 functions.
7993 (pow10_test): New function.
7994 (drem_test): Likewise.
7995 (drem_test_tonearest): Likewise.
7996 (drem_test_towardzero): Likewise.
7997 (drem_test_downward): Likewise.
7998 (drem_test_upward): Likewise.
7999 (main): Call the new functions.
8000
8001 * math/libm-test.inc (finite_test_data): Remove.
8002 (finite_test): Run tests from isfinite_test_data.
8003 (gamma_test_data): Remove.
8004 (gamma_test): Run tests from lgamma_test_data.
8005 * sysdeps/i386/fpu/libm-test-ulps: Update.
8006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8007
8008 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8009
8010 * manual/platform.texi: Add PowerPC PPR function set documentation.
8011 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8012 implementation.
8013
8014 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8015
8016 * math/libm-test.inc (MAX_EXP): Define.
8017 (ULPDIFF): Define.
8018 (ulp): New function.
8019 (check_float_internal): Use ULPDIFF.
8020 (cpow_test): Disable failing test.
8021 (check_ulp): Test ulp() implemetnation.
8022 (main): Call check_ulp before starting tests.
8023
8024 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8025
8026 * math/gen-libm-test.pl (generate_testfile): Do not handle
8027 START_DATA and END_DATA.
8028 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8029 END_DATA.
8030 (acos_tonearest_test_data): Likewise.
8031 (acos_towardzero_test_data): Likewise.
8032 (acos_downward_test_data): Likewise.
8033 (acos_upward_test_data): Likewise.
8034 (acosh_test_data): Likewise.
8035 (asin_test_data): Likewise.
8036 (asin_tonearest_test_data): Likewise.
8037 (asin_towardzero_test_data): Likewise.
8038 (asin_downward_test_data): Likewise.
8039 (asin_upward_test_data): Likewise.
8040 (asinh_test_data): Likewise.
8041 (atan_test_data): Likewise.
8042 (atanh_test_data): Likewise.
8043 (atan2_test_data): Likewise.
8044 (cabs_test_data): Likewise.
8045 (cacos_test_data): Likewise.
8046 (cacosh_test_data): Likewise.
8047 (carg_test_data): Likewise.
8048 (casin_test_data): Likewise.
8049 (casinh_test_data): Likewise.
8050 (catan_test_data): Likewise.
8051 (catanh_test_data): Likewise.
8052 (cbrt_test_data): Likewise.
8053 (ccos_test_data): Likewise.
8054 (ccosh_test_data): Likewise.
8055 (ceil_test_data): Likewise.
8056 (cexp_test_data): Likewise.
8057 (cimag_test_data): Likewise.
8058 (clog_test_data): Likewise.
8059 (clog10_test_data): Likewise.
8060 (conj_test_data): Likewise.
8061 (copysign_test_data): Likewise.
8062 (cos_test_data): Likewise.
8063 (cos_tonearest_test_data): Likewise.
8064 (cos_towardzero_test_data): Likewise.
8065 (cos_downward_test_data): Likewise.
8066 (cos_upward_test_data): Likewise.
8067 (cosh_test_data): Likewise.
8068 (cosh_tonearest_test_data): Likewise.
8069 (cosh_towardzero_test_data): Likewise.
8070 (cosh_downward_test_data): Likewise.
8071 (cosh_upward_test_data): Likewise.
8072 (cpow_test_data): Likewise.
8073 (cproj_test_data): Likewise.
8074 (creal_test_data): Likewise.
8075 (csin_test_data): Likewise.
8076 (csinh_test_data): Likewise.
8077 (csqrt_test_data): Likewise.
8078 (ctan_test_data): Likewise.
8079 (ctan_tonearest_test_data): Likewise.
8080 (ctan_towardzero_test_data): Likewise.
8081 (ctan_downward_test_data): Likewise.
8082 (ctan_upward_test_data): Likewise.
8083 (ctanh_test_data): Likewise.
8084 (ctanh_tonearest_test_data): Likewise.
8085 (ctanh_towardzero_test_data): Likewise.
8086 (ctanh_downward_test_data): Likewise.
8087 (ctanh_upward_test_data): Likewise.
8088 (erf_test_data): Likewise.
8089 (erfc_test_data): Likewise.
8090 (exp_test_data): Likewise.
8091 (exp_tonearest_test_data): Likewise.
8092 (exp_towardzero_test_data): Likewise.
8093 (exp_downward_test_data): Likewise.
8094 (exp_upward_test_data): Likewise.
8095 (exp10_test_data): Likewise.
8096 (exp2_test_data): Likewise.
8097 (expm1_test_data): Likewise.
8098 (fabs_test_data): Likewise.
8099 (fdim_test_data): Likewise.
8100 (finite_test_data): Likewise.
8101 (floor_test_data): Likewise.
8102 (fma_test_data): Likewise.
8103 (fma_towardzero_test_data): Likewise.
8104 (fma_downward_test_data): Likewise.
8105 (fma_upward_test_data): Likewise.
8106 (fmax_test_data): Likewise.
8107 (fmin_test_data): Likewise.
8108 (fmod_test_data): Likewise.
8109 (fpclassify_test_data): Likewise.
8110 (frexp_test_data): Likewise.
8111 (gamma_test_data): Likewise.
8112 (hypot_test_data): Likewise.
8113 (ilogb_test_data): Likewise.
8114 (isfinite_test_data): Likewise.
8115 (isgreater_test_data): Likewise.
8116 (isgreaterequal_test_data): Likewise.
8117 (isinf_test_data): Likewise.
8118 (isless_test_data): Likewise.
8119 (islessequal_test_data): Likewise.
8120 (islessgreater_test_data): Likewise.
8121 (isnan_test_data): Likewise.
8122 (isnormal_test_data): Likewise.
8123 (issignaling_test_data): Likewise.
8124 (isunordered_test_data): Likewise.
8125 (j0_test_data): Likewise.
8126 (j1_test_data): Likewise.
8127 (jn_test_data): Likewise.
8128 (ldexp_test_data): Likewise.
8129 (lgamma_test_data): Likewise.
8130 (lrint_test_data): Likewise.
8131 (lrint_tonearest_test_data): Likewise.
8132 (lrint_towardzero_test_data): Likewise.
8133 (lrint_downward_test_data): Likewise.
8134 (lrint_upward_test_data): Likewise.
8135 (llrint_test_data): Likewise.
8136 (llrint_tonearest_test_data): Likewise.
8137 (llrint_towardzero_test_data): Likewise.
8138 (llrint_downward_test_data): Likewise.
8139 (llrint_upward_test_data): Likewise.
8140 (log_test_data): Likewise.
8141 (log10_test_data): Likewise.
8142 (log1p_test_data): Likewise.
8143 (log2_test_data): Likewise.
8144 (logb_test_data): Likewise.
8145 (logb_downward_test_data): Likewise.
8146 (lround_test_data): Likewise.
8147 (llround_test_data): Likewise.
8148 (modf_test_data): Likewise.
8149 (nearbyint_test_data): Likewise.
8150 (nextafter_test_data): Likewise.
8151 (nexttoward_test_data): Likewise.
8152 (pow_test_data): Likewise.
8153 (pow_tonearest_test_data): Likewise.
8154 (pow_towardzero_test_data): Likewise.
8155 (pow_downward_test_data): Likewise.
8156 (pow_upward_test_data): Likewise.
8157 (remainder_test_data): Likewise.
8158 (remainder_tonearest_test_data): Likewise.
8159 (remainder_towardzero_test_data): Likewise.
8160 (remainder_downward_test_data): Likewise.
8161 (remainder_upward_test_data): Likewise.
8162 (remquo_test_data): Likewise.
8163 (rint_test_data): Likewise.
8164 (rint_tonearest_test_data): Likewise.
8165 (rint_towardzero_test_data): Likewise.
8166 (rint_downward_test_data): Likewise.
8167 (rint_upward_test_data): Likewise.
8168 (round_test_data): Likewise.
8169 (scalb_test_data): Likewise.
8170 (scalbn_test_data): Likewise.
8171 (scalbln_test_data): Likewise.
8172 (signbit_test_data): Likewise.
8173 (sin_test_data): Likewise.
8174 (sin_tonearest_test_data): Likewise.
8175 (sin_towardzero_test_data): Likewise.
8176 (sin_downward_test_data): Likewise.
8177 (sin_upward_test_data): Likewise.
8178 (sincos_test_data): Likewise.
8179 (sinh_test_data): Likewise.
8180 (sinh_tonearest_test_data): Likewise.
8181 (sinh_towardzero_test_data): Likewise.
8182 (sinh_downward_test_data): Likewise.
8183 (sinh_upward_test_data): Likewise.
8184 (sqrt_test_data): Likewise.
8185 (tan_test_data): Likewise.
8186 (tan_tonearest_test_data): Likewise.
8187 (tan_towardzero_test_data): Likewise.
8188 (tan_downward_test_data): Likewise.
8189 (tan_upward_test_data): Likewise.
8190 (tanh_test_data): Likewise.
8191 (tgamma_test_data): Likewise.
8192 (trunc_test_data): Likewise.
8193 (y0_test_data): Likewise.
8194 (y1_test_data): Likewise.
8195 (yn_test_data): Likewise.
8196 (significand_test_data): Likewise.
8197
8198 * math/gen-libm-test.pl (@functions): Remove variable.
8199 (generate_testfile): Don't handle START and END lines.
8200 * math/libm-test.inc (START): New macro.
8201 (END): Likewise.
8202 (END_COMPLEX): Likewise.
8203 (acos_test): Use END macro without arguments.
8204 (acos_test_tonearest): Likewise.
8205 (acos_test_towardzero): Likewise.
8206 (acos_test_downward): Likewise.
8207 (acos_test_upward): Likewise.
8208 (acosh_test): Likewise.
8209 (asin_test): Likewise.
8210 (asin_test_tonearest): Likewise.
8211 (asin_test_towardzero): Likewise.
8212 (asin_test_downward): Likewise.
8213 (asin_test_upward): Likewise.
8214 (asinh_test): Likewise.
8215 (atan_test): Likewise.
8216 (atanh_test): Likewise.
8217 (atan2_test): Likewise.
8218 (cabs_test): Likewise.
8219 (cacos_test): Use END_COMPLEX macro without arguments.
8220 (cacosh_test): Likewise.
8221 (carg_test): Use END macro without arguments.
8222 (casin_test): Use END_COMPLEX macro without arguments.
8223 (casinh_test): Likewise.
8224 (catan_test): Likewise.
8225 (catanh_test): Likewise.
8226 (cbrt_test): Use END macro without arguments.
8227 (ccos_test): Use END_COMPLEX macro without arguments.
8228 (ccosh_test): Likewise.
8229 (ceil_test): Use END macro without arguments.
8230 (cexp_test): Use END_COMPLEX macro without arguments.
8231 (cimag_test): Use END macro without arguments.
8232 (clog_test): Use END_COMPLEX macro without arguments.
8233 (clog10_test): Likewise.
8234 (conj_test): Likewise.
8235 (copysign_test): Use END macro without arguments.
8236 (cos_test): Likewise.
8237 (cos_test_tonearest): Likewise.
8238 (cos_test_towardzero): Likewise.
8239 (cos_test_downward): Likewise.
8240 (cos_test_upward): Likewise.
8241 (cosh_test): Likewise.
8242 (cosh_test_tonearest): Likewise.
8243 (cosh_test_towardzero): Likewise.
8244 (cosh_test_downward): Likewise.
8245 (cosh_test_upward): Likewise.
8246 (cpow_test): Use END_COMPLEX macro without arguments.
8247 (cproj_test): Likewise.
8248 (creal_test): Use END macro without arguments.
8249 (csin_test): Use END_COMPLEX macro without arguments.
8250 (csinh_test): Likewise.
8251 (csqrt_test): Likewise.
8252 (ctan_test): Likewise.
8253 (ctan_test_tonearest): Likewise.
8254 (ctan_test_towardzero): Likewise.
8255 (ctan_test_downward): Likewise.
8256 (ctan_test_upward): Likewise.
8257 (ctanh_test): Likewise.
8258 (ctanh_test_tonearest): Likewise.
8259 (ctanh_test_towardzero): Likewise.
8260 (ctanh_test_downward): Likewise.
8261 (ctanh_test_upward): Likewise.
8262 (erf_test): Use END macro without arguments.
8263 (erfc_test): Likewise.
8264 (exp_test): Likewise.
8265 (exp_test_tonearest): Likewise.
8266 (exp_test_towardzero): Likewise.
8267 (exp_test_downward): Likewise.
8268 (exp_test_upward): Likewise.
8269 (exp10_test): Likewise.
8270 (exp2_test): Likewise.
8271 (expm1_test): Likewise.
8272 (fabs_test): Likewise.
8273 (fdim_test): Likewise.
8274 (finite_test): Likewise.
8275 (floor_test): Likewise.
8276 (fma_test): Likewise.
8277 (fma_test_towardzero): Likewise.
8278 (fma_test_downward): Likewise.
8279 (fma_test_upward): Likewise.
8280 (fmax_test): Likewise.
8281 (fmin_test): Likewise.
8282 (fmod_test): Likewise.
8283 (fpclassify_test): Likewise.
8284 (frexp_test): Likewise.
8285 (gamma_test): Likewise.
8286 (hypot_test): Likewise.
8287 (ilogb_test): Likewise.
8288 (isfinite_test): Likewise.
8289 (isgreater_test): Likewise.
8290 (isgreaterequal_test): Likewise.
8291 (isinf_test): Likewise.
8292 (isless_test): Likewise.
8293 (islessequal_test): Likewise.
8294 (islessgreater_test): Likewise.
8295 (isnan_test): Likewise.
8296 (isnormal_test): Likewise.
8297 (issignaling_test): Likewise.
8298 (isunordered_test): Likewise.
8299 (j0_test): Likewise.
8300 (j1_test): Likewise.
8301 (jn_test): Likewise.
8302 (ldexp_test): Likewise.
8303 (lgamma_test): Likewise.
8304 (lrint_test): Likewise.
8305 (lrint_test_tonearest): Likewise.
8306 (lrint_test_towardzero): Likewise.
8307 (lrint_test_downward): Likewise.
8308 (lrint_test_upward): Likewise.
8309 (llrint_test): Likewise.
8310 (llrint_test_tonearest): Likewise.
8311 (llrint_test_towardzero): Likewise.
8312 (llrint_test_downward): Likewise.
8313 (llrint_test_upward): Likewise.
8314 (log_test): Likewise.
8315 (log10_test): Likewise.
8316 (log1p_test): Likewise.
8317 (log2_test): Likewise.
8318 (logb_test): Likewise.
8319 (logb_test_downward): Likewise.
8320 (lround_test): Likewise.
8321 (llround_test): Likewise.
8322 (modf_test): Likewise.
8323 (nearbyint_test): Likewise.
8324 (nextafter_test): Likewise.
8325 (nexttoward_test): Likewise.
8326 (pow_test): Likewise.
8327 (pow_test_tonearest): Likewise.
8328 (pow_test_towardzero): Likewise.
8329 (pow_test_downward): Likewise.
8330 (pow_test_upward): Likewise.
8331 (remainder_test): Likewise.
8332 (remainder_test_tonearest): Likewise.
8333 (remainder_test_towardzero): Likewise.
8334 (remainder_test_downward): Likewise.
8335 (remainder_test_upward): Likewise.
8336 (remquo_test): Likewise.
8337 (rint_test): Likewise.
8338 (rint_test_tonearest): Likewise.
8339 (rint_test_towardzero): Likewise.
8340 (rint_test_downward): Likewise.
8341 (rint_test_upward): Likewise.
8342 (round_test): Likewise.
8343 (scalb_test): Likewise.
8344 (scalbn_test): Likewise.
8345 (scalbln_test): Likewise.
8346 (signbit_test): Likewise.
8347 (sin_test): Likewise.
8348 (sin_test_tonearest): Likewise.
8349 (sin_test_towardzero): Likewise.
8350 (sin_test_downward): Likewise.
8351 (sin_test_upward): Likewise.
8352 (sincos_test): Likewise.
8353 (sinh_test): Likewise.
8354 (sinh_test_tonearest): Likewise.
8355 (sinh_test_towardzero): Likewise.
8356 (sinh_test_downward): Likewise.
8357 (sinh_test_upward): Likewise.
8358 (sqrt_test): Likewise.
8359 (tan_test): Likewise.
8360 (tan_test_tonearest): Likewise.
8361 (tan_test_towardzero): Likewise.
8362 (tan_test_downward): Likewise.
8363 (tan_test_upward): Likewise.
8364 (tanh_test): Likewise.
8365 (tgamma_test): Likewise.
8366 (trunc_test): Likewise.
8367 (y0_test): Likewise.
8368 (y1_test): Likewise.
8369 (yn_test): Likewise.
8370 (significand_test): Likewise.
8371
8372 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8373
8374 [BZ #15381]
8375 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8376
8377 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8378
8379 [BZ #14894]
8380 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8381 __ppc_mdoio and __ppc_mdoom.
8382 * manual/platform.texi: Document new functions __ppc_yield,
8383 __ppc_mdoio and __ppc_mdoom.
8384
8385 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8386
8387 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8388 (main): Mention "tls" pseudo-hwcap is legacy.
8389 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8390
8391 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8392
8393 * math/gen-libm-test.pl (parse_args): Output only string of
8394 arguments as text for test name, not full call or descriptions of
8395 tests for extra outputs.
8396 (generate_testfile): Do not pass function name to parse_args.
8397 Generate this_func variable from START.
8398 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8399 field to arg_str.
8400 (struct test_ff_f_data): Likewise.
8401 (test_ff_f_data_nexttoward): Likewise.
8402 (struct test_fi_f_data): Likewise.
8403 (struct test_fl_f_data): Likewise.
8404 (struct test_if_f_data): Likewise.
8405 (struct test_fff_f_data): Likewise.
8406 (struct test_c_f_data): Likewise.
8407 (struct test_f_f1_data): Likewise. Remove field extra_name.
8408 (struct test_fF_f1_data): Likewise.
8409 (struct test_ffI_f1_data): Likewise.
8410 (struct test_c_c_data): Rename test_name field to arg_str.
8411 (struct test_cc_c_data): Likewise.
8412 (struct test_f_i_data): Likewise.
8413 (struct test_ff_i_data): Likewise.
8414 (struct test_f_l_data): Likewise.
8415 (struct test_f_L_data): Likewise.
8416 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8417 and extra2_name.
8418 (COMMON_TEST_SETUP): New macro.
8419 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8420 (COMMON_TEST_CLEANUP): Likewise.
8421 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8422 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8423 macros.
8424 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8425 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8426 macros.
8427 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8428 (RUN_TEST_fff_f): Take argument string. Call new setup and
8429 cleanup macros.
8430 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8431 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8432 macros.
8433 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8434 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8435 macros.
8436 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8437 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8438 cleanup macros.
8439 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8440 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8441 cleanup macros.
8442 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8443 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8444 cleanup macros.
8445 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8446 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8447 macros.
8448 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8449 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8450 macros.
8451 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8452 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8453 macros.
8454 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8455 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8456 cleanup macros.
8457 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8458 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8459 cleanup macros.
8460 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8461 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8462 macros.
8463 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8464 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8465 cleanup macros.
8466 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8467 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8468 macros.
8469 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8470 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8471 macros.
8472 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8473 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8474 cleanup macros.
8475 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8476
8477 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8478
8479 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8480 to _sifields.sigfault.
8481 (si_addr_lsb): Define new macro.
8482 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8484 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8485
8486 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8487
8488 [BZ #15441]
8489 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8490 returns -1.
8491 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8492 null return -1.
8493 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8494 loading the domain.
8495
8496 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8497
8498 * math/gen-libm-test.pl (parse_args): Do not include expected
8499 result in test name.
8500 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8501 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8502 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8503 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8504 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8506
8507 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8508
8509 * benchtests/Makefile: Sort function entries.
8510
8511 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8512 tanh, asinh, acosh, atanh.
8513 * benchtests/acos-inputs: New file.
8514 * benchtests/acosh-inputs: New file.
8515 * benchtests/asin-inputs: New file.
8516 * benchtests/asinh-inputs: New file.
8517 * benchtests/atanh-inputs: New file.
8518 * benchtests/cosh-inputs: New file.
8519 * benchtests/log-inputs: New file.
8520 * benchtests/sinh-inputs: New file.
8521 * benchtests/tanh-inputs: New file.
8522
8523 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8524
8525 [BZ #15339]
8526 * posix/tst-getaddrinfo4.c: New test.
8527 * posix/Makefile (tests): Add it.
8528
8529 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8530
8531 [BZ #15339]
8532 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8533 when no services were used.
8534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8535 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8536
8537 2013-05-21 Andreas Schwab <schwab@suse.de>
8538
8539 [BZ #15014]
8540 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8541 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8542 successful.
8543 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8544 redundant variable declarations and reallocation of buffer when
8545 parsing as IPv6 address. Always set NSS status when called from
8546 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8547 buffer too small. Correct computation of needed size.
8548 * nss/Makefile (tests): Add test-digits-dots.
8549 * nss/test-digits-dots.c: New test.
8550
8551 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8552
8553 * benchtests/Makefile: Remove instructions for adding
8554 benchmark tests.
8555 * benchtests/README: New file to explain how to execute and
8556 enhance the benchmark tests.
8557
8558 2013-05-21 Andreas Schwab <schwab@suse.de>
8559
8560 [BZ #15493]
8561 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8562 * setjmp/tst-sigsetjmp.c: New test.
8563
8564 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8565
8566 * sysdeps/x86_64/memset.S (memset): New implementation.
8567 (__bzero): Likewise.
8568 (__memset_tail): New function.
8569
8570 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8571
8572 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8573 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8574 __memcpy_sse2_unaligned ifunc selection.
8575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8576 Add memcpy-sse2-unaligned.S.
8577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8578 Add: __memcpy_sse2_unaligned.
8579
8580 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8581
8582 [BZ #15490]
8583 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8584 math_force_eval before restoring floating-point envrionment.
8585 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8587 Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8589 <math_private.h>.
8590 (__nearbyintl): Use math_force_eval before restoring
8591 floating-point environment.
8592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8593
8594 * math/gen-libm-test.pl (special_functions): Remove.
8595 (parse_args): Don't handle TEST_extra. Handle functions with no
8596 return value.
8597 * math/libm-test.inc (struct test_sincos_data): Replace with
8598 struct test_fFF_11_data.
8599 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8600 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8601 (sincos_test_data): Change element type to struct
8602 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8603 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8604 RUN_TEST_LOOP_sincos.
8605 * math/README.libm-test: Don't mention special handling of
8606 individual functions.
8607 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8609 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8610 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8611 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613
8614 * math/gen-libm-test.pl (get_variable): Remove function.
8615 (parse_args): Don't show pointer parameters to call in test
8616 names. Use "extra output N" in test names for extra outputs
8617 rather than naming variables.
8618
8619 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #15488]
8622 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8623 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8624 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8625 double tests.
8626 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8627 disable.
8628 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8629 check_long_double.
8630
8631 * math/gen-libm-test.pl (@tests): Remove variable.
8632 ($count): Likewise.
8633 (new_test): Remove function.
8634 (show_exceptions): New function.
8635 (special_functions): Use show_exceptions instead of new_test.
8636 (parse_args): Likewise.
8637 (generate_testfile): Pass only function name in generated call to
8638 print_max_error or print_complex_max_error.
8639 (get_ulps): Do not handle complex tests specially.
8640 (output_test): Rename to ...
8641 (get_all_ulps_for_test): ... this. Return a string rather than
8642 printing to a file. Require ulps to be present.
8643 (output_ulps): Generate arrays rather than #defines.
8644 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8645 (struct ulp_data): New type.
8646 (BUILD_COMPLEX_ULP): Remove macro.
8647 (compare_ulp_data): New function.
8648 (find_ulps): Likewise.
8649 (find_test_ulps): Likewise.
8650 (find_function_ulps): Likewise.
8651 (find_complex_function_ulps): Likewise.
8652 (print_max_error): Determine allowed ulps using
8653 find_function_ulps.
8654 (print_complex_max_error): Determine allowed ulps using
8655 find_complex_function_ulps.
8656 (check_float_internal): Determine max ulps using find_test_ulps.
8657 (check_float): Do not take max_ulp parameter. Update call to
8658 check_float_internal.
8659 (check_complex): Likewise.
8660 (check_int): Do not take max_ulp parameter.
8661 (check_long): Likewise.
8662 (check_bool): Likewise.
8663 (check_longlong): Likewise.
8664 (struct test_f_f_data): Remove max_ulp field.
8665 (struct test_ff_f_data): Likewise.
8666 (struct test_ff_f_data_nexttoward): Likewise.
8667 (struct test_fi_f_data): Likewise.
8668 (struct test_fl_f_data): Likewise.
8669 (struct test_if_f_data): Likewise.
8670 (struct test_fff_f_data): Likewise.
8671 (struct test_c_f_data): Likewise.
8672 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8673 (struct test_fF_f1_data): Likewise.
8674 (struct test_ffI_f1_data): Likewise.
8675 (struct test_c_c_data): Remove max_ulp field.
8676 (struct test_cc_c_data): Likewise.
8677 (struct test_f_i_data): Likewise.
8678 (struct test_ff_i_data): Likewise.
8679 (struct test_f_l_data): Likewise.
8680 (struct test_f_L_data): Likewise.
8681 (struct test_sincos_data): Likewise.
8682 (RUN_TEST_f_f): Do not handle ulps.
8683 (RUN_TEST_LOOP_f_f): Likewise.
8684 (RUN_TEST_2_f): Likewise.
8685 (RUN_TEST_LOOP_2_f): Likewise.
8686 (RUN_TEST_fff_f): Likewise.
8687 (RUN_TEST_LOOP_fff_f): Likewise.
8688 (RUN_TEST_c_f): Likewise.
8689 (RUN_TEST_LOOP_c_f): Likewise.
8690 (RUN_TEST_f_f1): Likewise.
8691 (RUN_TEST_LOOP_f_f1): Likewise.
8692 (RUN_TEST_fF_f1): Likewise.
8693 (RUN_TEST_LOOP_fF_f1): Likewise.
8694 (RUN_TEST_fI_f1): Likewise.
8695 (RUN_TEST_LOOP_fI_f1): Likewise.
8696 (RUN_TEST_ffI_f1): Likewise.
8697 (RUN_TEST_LOOP_ffI_f1): Likewise.
8698 (RUN_TEST_c_c): Likewise.
8699 (RUN_TEST_LOOP_c_c): Likewise.
8700 (RUN_TEST_cc_c): Likewise.
8701 (RUN_TEST_LOOP_cc_c): Likewise.
8702 (RUN_TEST_f_i): Likewise.
8703 (RUN_TEST_LOOP_f_i): Likewise.
8704 (RUN_TEST_f_i_tg): Likewise.
8705 (RUN_TEST_LOOP_f_i_tg): Likewise.
8706 (RUN_TEST_ff_i_tg): Likewise.
8707 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8708 (RUN_TEST_f_b): Likewise.
8709 (RUN_TEST_LOOP_f_b): Likewise.
8710 (RUN_TEST_f_b_tg): Likewise.
8711 (RUN_TEST_LOOP_f_b_tg): Likewise.
8712 (RUN_TEST_f_l): Likewise.
8713 (RUN_TEST_LOOP_f_l): Likewise.
8714 (RUN_TEST_f_L): Likewise.
8715 (RUN_TEST_LOOP_f_L): Likewise.
8716 (RUN_TEST_sincos): Likewise.
8717 (RUN_TEST_LOOP_sincos): Likewise.
8718
8719 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8720
8721 [BZ #15480]
8722 [BZ #15485]
8723 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8724 main case of finite arguments, set rounding mode to FE_TONEAREST
8725 and discard exceptions.
8726 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8727 exceptions.
8728 (remainder_tonearest_test_data): New variable.
8729 (remainder_test_tonearest): New function.
8730 (remainder_towardzero_test_data): New variable.
8731 (remainder_test_towardzero): New function.
8732 (remainder_downward_test_data): New variable.
8733 (remainder_test_downward): New function.
8734 (remainder_upward_test_data): New variable.
8735 (remainder_test_upward): New function.
8736 (main): Call the new test functions.
8737
8738 * math/libm-test.inc (struct test_f_f1_data): Remove field
8739 extra_init.
8740 (struct test_fF_f1_data): Likewise.
8741 (struct test_ffI_f1_data): Likewise.
8742 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8743 based on value of EXTRA_EXPECTED.
8744 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8745 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8746 EXTRA_VAR based on value of EXTRA_EXPECTED.
8747 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8748 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8749 EXTRA_VAR based on value of EXTRA_EXPECTED.
8750 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8751 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8752 EXTRA_VAR based on value of EXTRA_EXPECTED.
8753 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8754 * math/gen-libm-test.pl (parse_args): Don't output initializers
8755 for extra output values.
8756
8757 * math/libm-test.inc (check_int): Expect result to be exactly
8758 equal to expected value and do not handle ulps.
8759 (check_long): Likewise.
8760 (check_longlong): Likewise.
8761
8762 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8763 exceptions.
8764 (cimag_test_data): Likewise.
8765 (conj_test_data): Likewise.
8766 (copysign_test_data): Likewise.
8767 (cproj_test_data): Likewise.
8768 (creal_test_data): Likewise.
8769 (fabs_test_data): Likewise.
8770 (fdim_test_data): Likewise.
8771 (finite_test_data): Likewise.
8772 (floor_test_data): Likewise.
8773 (fmax_test_data): Likewise.
8774 (fmin_test_data): Likewise.
8775 (fmod_test_data): Likewise.
8776 (fpclassify_test_data): Likewise.
8777 (frexp_test_data): Likewise.
8778 (ilogb_test_data): Likewise.
8779 (isfinite_test_data): Likewise.
8780 (isgreater_test_data): Likewise.
8781 (isgreaterequal_test_data): Likewise.
8782 (isinf_test_data): Likewise.
8783 (isless_test_data): Likewise.
8784 (islessequal_test_data): Likewise.
8785 (islessgreater_test_data): Likewise.
8786 (isnan_test_data): Likewise.
8787 (isnormal_test_data): Likewise.
8788 (issignaling_test_data): Likewise.
8789 (isunordered_test_data): Likewise.
8790 (ldexp_test_data): Likewise.
8791 (lrint_test_data): Likewise.
8792 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8793 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8794 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8795 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8796 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8797 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8798 test input.
8799 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8800 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8801 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8802 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8803 that test input.
8804 (lrint_downward_test_data): Test for "inexact" exceptions.
8805 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8806 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8807 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8808 test input.
8809 (lrint_upward_test_data): Test for "inexact" exceptions.
8810 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8811 test input.
8812 (llrint_test_data): Test for "inexact" exceptions.
8813 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8814 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8815 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8816 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8817 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8818 (llrint_downward_test_data): Test for "inexact" exceptions.
8819 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8820 (llrint_upward_test_data): Test for "inexact" exceptions.
8821 (logb_test_data): Likewise.
8822 (logb_downward_test_data): Likewise.
8823 (nextafter_test_data): Likewise.
8824 (nexttoward_test_data): Likewise.
8825 (remainder_test_data): Likewise.
8826 (remquo_test_data): Likewise.
8827 (scalbn_test_data): Likewise.
8828 (scalbln_test_data): Likewise.
8829 (signbit_test_data): Likewise.
8830 (sqrt_test_data): Likewise.
8831 (significand_test_data): Likewise.
8832
8833 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8834
8835 [BZ #15424]
8836 * benchtests/bench-modf.c (struct args): Mark arg0 as
8837 volatile.
8838 * scripts/bench.pl: Mark members of struct args as volatile.
8839
8840 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8841
8842 [BZ # 15497]
8843 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8844 negative infinity on POWER6 or lower.
8845 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8846
8847 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8848
8849 [BZ #15442]
8850 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8851 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8852 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8853 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8854 (_FP_SETQNAN): New macro.
8855 (_FP_SETQNAN_SEMIRAW): Likewise.
8856 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8857 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8858 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8859 (FP_EXTEND): Use _FP_FRAC_SNANP.
8860 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8861 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8862 into account.
8863 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8864 New macro.
8865 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8866 Likewise.
8867
8868 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8869
8870 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8871 with DIVIDE_BY_ZERO_EXCEPTION.
8872 (gamma_test_data): Likewise.
8873 (lgamma_test_data): Likewise.
8874 (log_test_data): Likewise.
8875 (log10_test_data): Likewise.
8876 (log2_test_data): Likewise.
8877 (tgamma_test_data): Likewise.
8878
8879 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8880 (acos_test_tonearest): Likewise.
8881 (acos_test_towardzero): Likewise.
8882 (acos_test_downward): Likewise.
8883 (acos_test_upward): Likewise.
8884 (acosh_test): Likewise.
8885 (asin_test): Likewise.
8886 (asin_test_tonearest): Likewise.
8887 (asin_test_towardzero): Likewise.
8888 (asin_test_downward): Likewise.
8889 (asin_test_upward): Likewise.
8890 (asinh_test): Likewise.
8891 (atan_test): Likewise.
8892 (atanh_test): Likewise.
8893 (atan2_test): Likewise.
8894 (cabs_test): Likewise.
8895 (cacos_test): Likewise.
8896 (cacosh_test): Likewise.
8897 (casin_test): Likewise.
8898 (casinh_test): Likewise.
8899 (catan_test): Likewise.
8900 (catanh_test): Likewise.
8901 (cbrt_test): Likewise.
8902 (ccos_test): Likewise.
8903 (ccosh_test): Likewise.
8904 (cexp_test): Likewise.
8905 (clog_test): Likewise.
8906 (clog10_test): Likewise.
8907 (cos_test): Likewise.
8908 (cos_test_tonearest): Likewise.
8909 (cos_test_towardzero): Likewise.
8910 (cos_test_downward): Likewise.
8911 (cos_test_upward): Likewise.
8912 (cosh_test): Likewise.
8913 (cosh_test_tonearest): Likewise.
8914 (cosh_test_towardzero): Likewise.
8915 (cosh_test_downward): Likewise.
8916 (cosh_test_upward): Likewise.
8917 (cpow_test): Likewise.
8918 (csin_test): Likewise.
8919 (csinh_test): Likewise.
8920 (csqrt_test): Likewise.
8921 (ctan_test): Likewise.
8922 (ctan_test_tonearest): Likewise.
8923 (ctan_test_towardzero): Likewise.
8924 (ctan_test_downward): Likewise.
8925 (ctan_test_upward): Likewise.
8926 (ctanh_test): Likewise.
8927 (ctanh_test_tonearest): Likewise.
8928 (ctanh_test_towardzero): Likewise.
8929 (ctanh_test_downward): Likewise.
8930 (ctanh_test_upward): Likewise.
8931 (erf_test): Likewise.
8932 (erfc_test): Likewise.
8933 (exp_test): Likewise.
8934 (exp_test_tonearest): Likewise.
8935 (exp_test_towardzero): Likewise.
8936 (exp_test_downward): Likewise.
8937 (exp_test_upward): Likewise.
8938 (exp10_test): Likewise.
8939 (exp2_test): Likewise.
8940 (expm1_test): Likewise.
8941 (fmod_test): Likewise.
8942 (gamma_test): Likewise.
8943 (hypot_test): Likewise.
8944 (j0_test): Likewise.
8945 (j1_test): Likewise.
8946 (jn_test): Likewise.
8947 (lgamma_test): Likewise.
8948 (log_test): Likewise.
8949 (log10_test): Likewise.
8950 (log1p_test): Likewise.
8951 (log2_test): Likewise.
8952 (logb_test_downward): Likewise.
8953 (pow_test): Likewise.
8954 (pow_test_tonearest): Likewise.
8955 (pow_test_towardzero): Likewise.
8956 (pow_test_downward): Likewise.
8957 (pow_test_upward): Likewise.
8958 (remainder_test): Likewise.
8959 (remquo_test): Likewise.
8960 (sin_test): Likewise.
8961 (sin_test_tonearest): Likewise.
8962 (sin_test_towardzero): Likewise.
8963 (sin_test_downward): Likewise.
8964 (sin_test_upward): Likewise.
8965 (sincos_test): Likewise.
8966 (sinh_test): Likewise.
8967 (sinh_test_tonearest): Likewise.
8968 (sinh_test_towardzero): Likewise.
8969 (sinh_test_downward): Likewise.
8970 (sinh_test_upward): Likewise.
8971 (sqrt_test): Likewise.
8972 (tan_test): Likewise.
8973 (tan_test_tonearest): Likewise.
8974 (tan_test_towardzero): Likewise.
8975 (tan_test_downward): Likewise.
8976 (tan_test_upward): Likewise.
8977 (tanh_test): Likewise.
8978 (tgamma_test): Likewise.
8979 (y0_test): Likewise.
8980 (y1_test): Likewise.
8981 (yn_test): Likewise.
8982
8983 * math/gen-libm-test.pl (adjust_arg): Remove function.
8984 (special_function): Remove argument $in_func. Only handle
8985 generating output for tables of tests, not inside functions.
8986 (parse_args): Likewise.
8987 (generate_testfile): Remove variable $in_func. Update call to
8988 parse_args.
8989 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8990 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8991 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8992 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8993 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8994 (MAX_VALUE_INIT): Rename macro to max_value.
8995 (MIN_VALUE_INIT): Rename macro to min_value.
8996 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8997 (plus_zero): Remove variable.
8998 (minus_zero): Likewise.
8999 (plus_infty): Likewise.
9000 (minus_infty): Likewise.
9001 (qnan_value): Likewise.
9002 (max_value): Likewise.
9003 (min_value): Likewise.
9004 (min_subnorm_value): Likewise.
9005
9006 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9007
9008 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9009 uint64_t or uint32_t usage.
9010 * crypt/sha256-block.c: Likewise.
9011 * crypt/sha256-crypt.c: Likewise.
9012 * crypt/sha256.c: Likewise.
9013 * crypt/sha512-block.c: Likewise.
9014 * crypt/sha512-crypt.c: Likewise.
9015 * crypt/sha512.c: Likewise.
9016 * debug/backtrace-tst.c: Likewise.
9017 * debug/pcprofiledump.c: Likewise.
9018 * elf/cache.c: Likewise.
9019 * elf/dl-cache.c: Likewise.
9020 * elf/dl-misc.c: Likewise.
9021 * elf/dl-profile.c: Likewise.
9022 * elf/dl-support.c: Likewise.
9023 * elf/ldconfig.c: Likewise.
9024 * elf/sprof.c: Likewise.
9025 * iconv/dummy-repertoire.c: Likewise.
9026 * iconv/iconv_charmap.c: Likewise.
9027 * iconv/skeleton.c: Likewise.
9028 * iconvdata/8bit-generic.c: Likewise.
9029 * iconvdata/cp737.h: Likewise.
9030 * iconvdata/cp775.h: Likewise.
9031 * iconvdata/ibm1008.h: Likewise.
9032 * iconvdata/ibm1025.h: Likewise.
9033 * iconvdata/ibm1046.h: Likewise.
9034 * iconvdata/ibm1097.h: Likewise.
9035 * iconvdata/ibm1112.h: Likewise.
9036 * iconvdata/ibm1122.h: Likewise.
9037 * iconvdata/ibm1123.h: Likewise.
9038 * iconvdata/ibm1124.h: Likewise.
9039 * iconvdata/ibm1129.h: Likewise.
9040 * iconvdata/ibm1130.h: Likewise.
9041 * iconvdata/ibm1132.h: Likewise.
9042 * iconvdata/ibm1133.h: Likewise.
9043 * iconvdata/ibm1137.h: Likewise.
9044 * iconvdata/ibm1140.h: Likewise.
9045 * iconvdata/ibm1141.h: Likewise.
9046 * iconvdata/ibm1142.h: Likewise.
9047 * iconvdata/ibm1143.h: Likewise.
9048 * iconvdata/ibm1144.h: Likewise.
9049 * iconvdata/ibm1145.h: Likewise.
9050 * iconvdata/ibm1146.h: Likewise.
9051 * iconvdata/ibm1147.h: Likewise.
9052 * iconvdata/ibm1148.h: Likewise.
9053 * iconvdata/ibm1149.h: Likewise.
9054 * iconvdata/ibm1153.h: Likewise.
9055 * iconvdata/ibm1154.h: Likewise.
9056 * iconvdata/ibm1155.h: Likewise.
9057 * iconvdata/ibm1156.h: Likewise.
9058 * iconvdata/ibm1157.h: Likewise.
9059 * iconvdata/ibm1158.h: Likewise.
9060 * iconvdata/ibm1160.h: Likewise.
9061 * iconvdata/ibm1161.h: Likewise.
9062 * iconvdata/ibm1162.h: Likewise.
9063 * iconvdata/ibm1163.h: Likewise.
9064 * iconvdata/ibm1164.h: Likewise.
9065 * iconvdata/ibm1166.h: Likewise.
9066 * iconvdata/ibm1167.h: Likewise.
9067 * iconvdata/ibm12712.h: Likewise.
9068 * iconvdata/ibm1390.h: Likewise.
9069 * iconvdata/ibm1399.h: Likewise.
9070 * iconvdata/ibm16804.h: Likewise.
9071 * iconvdata/ibm4517.h: Likewise.
9072 * iconvdata/ibm4899.h: Likewise.
9073 * iconvdata/ibm4909.h: Likewise.
9074 * iconvdata/ibm4971.h: Likewise.
9075 * iconvdata/ibm5347.h: Likewise.
9076 * iconvdata/ibm803.h: Likewise.
9077 * iconvdata/ibm856.h: Likewise.
9078 * iconvdata/ibm901.h: Likewise.
9079 * iconvdata/ibm902.h: Likewise.
9080 * iconvdata/ibm9030.h: Likewise.
9081 * iconvdata/ibm9066.h: Likewise.
9082 * iconvdata/ibm921.h: Likewise.
9083 * iconvdata/ibm922.h: Likewise.
9084 * iconvdata/ibm9448.h: Likewise.
9085 * iconvdata/isiri-3342.h: Likewise.
9086 * iconvdata/jis0201.h: Likewise.
9087 * include/link.h: Likewise.
9088 * include/netdb.h: Likewise.
9089 * inet/check_native.c: Likewise.
9090 * inet/check_pf.c: Likewise.
9091 * inet/getipv4sourcefilter.c: Likewise.
9092 * inet/getnameinfo.c: Likewise.
9093 * inet/getsourcefilter.c: Likewise.
9094 * inet/htonl.c: Likewise.
9095 * inet/setipv4sourcefilter.c: Likewise.
9096 * inet/setsourcefilter.c: Likewise.
9097 * inet/test-inet6_opt.c: Likewise.
9098 * inet/tst-network.c: Likewise.
9099 * locale/C-collate.c: Likewise.
9100 * locale/C-ctype.c: Likewise.
9101 * locale/C-time.c: Likewise.
9102 * locale/C-translit.h: Likewise.
9103 * locale/loadarchive.c: Likewise.
9104 * locale/programs/3level.h: Likewise.
9105 * locale/programs/charmap.c: Likewise.
9106 * locale/programs/charmap.h: Likewise.
9107 * locale/programs/ld-address.c: Likewise.
9108 * locale/programs/ld-collate.c: Likewise.
9109 * locale/programs/ld-ctype.c: Likewise.
9110 * locale/programs/ld-identification.c: Likewise.
9111 * locale/programs/ld-measurement.c: Likewise.
9112 * locale/programs/ld-messages.c: Likewise.
9113 * locale/programs/ld-monetary.c: Likewise.
9114 * locale/programs/ld-name.c: Likewise.
9115 * locale/programs/ld-numeric.c: Likewise.
9116 * locale/programs/ld-paper.c: Likewise.
9117 * locale/programs/ld-telephone.c: Likewise.
9118 * locale/programs/ld-time.c: Likewise.
9119 * locale/programs/linereader.c: Likewise.
9120 * locale/programs/locale.c: Likewise.
9121 * locale/programs/locarchive.c: Likewise.
9122 * locale/programs/locfile.h: Likewise.
9123 * locale/programs/repertoire.c: Likewise.
9124 * locale/programs/simple-hash.c: Likewise.
9125 * locale/programs/simple-hash.h: Likewise.
9126 * malloc/memusage.c: Likewise.
9127 * malloc/memusagestat.c: Likewise.
9128 * nis/nis_defaults.c: Likewise.
9129 * nis/nis_hash.c: Likewise.
9130 * nis/nis_print.c: Likewise.
9131 * nis/nis_xdr.c: Likewise.
9132 * nscd/connections.c: Likewise.
9133 * nscd/hstcache.c: Likewise.
9134 * nscd/nscd_gethst_r.c: Likewise.
9135 * nscd/nscd_getserv_r.c: Likewise.
9136 * nscd/nscd_helper.c: Likewise.
9137 * nscd/servicescache.c: Likewise.
9138 * nss/makedb.c: Likewise.
9139 * nss/nss_db/db-XXX.c: Likewise.
9140 * nss/nss_db/db-initgroups.c: Likewise.
9141 * nss/nss_db/db-netgrp.c: Likewise.
9142 * nss/nss_files/files-network.c: Likewise.
9143 * nss/nss_files/files-parse.c: Likewise.
9144 * posix/bug-regex5.c: Likewise.
9145 * posix/fnmatch_loop.c: Likewise.
9146 * posix/regcomp.c: Likewise.
9147 * posix/regexec.c: Likewise.
9148 * posix/tst-rfc3484-2.c: Likewise.
9149 * posix/tst-rfc3484-3.c: Likewise.
9150 * posix/tst-rfc3484.c: Likewise.
9151 * resolv/nss_dns/dns-canon.c: Likewise.
9152 * resolv/nss_dns/dns-network.c: Likewise.
9153 * resolv/res_init.c: Likewise.
9154 * resolv/res_mkquery.c: Likewise.
9155 * resolv/tst-aton.c: Likewise.
9156 * stdlib/cxa_atexit.c: Likewise.
9157 * stdlib/cxa_finalize.c: Likewise.
9158 * stdlib/gen-fpioconst.c: Likewise.
9159 * stdlib/strtol_l.c: Likewise.
9160 * string/tst-endian.c: Likewise.
9161 * sunrpc/auth_des.c: Likewise.
9162 * sunrpc/clnt_udp.c: Likewise.
9163 * sunrpc/rtime.c: Likewise.
9164 * sunrpc/svcauth_des.c: Likewise.
9165 * sunrpc/xdr.c: Likewise.
9166 * sunrpc/xdr_intXX_t.c: Likewise.
9167 * sunrpc/xdr_rec.c: Likewise.
9168 * sysdeps/generic/ldconfig.h: Likewise.
9169 * sysdeps/generic/ldsodefs.h: Likewise.
9170 * sysdeps/generic/memusage.h: Likewise.
9171 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9174 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9181 * sysdeps/posix/getaddrinfo.c: Likewise.
9182 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9183 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9184 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9185 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9186 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9187 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9188 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9189 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9190 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9191 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9192 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9193 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9194 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9195 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9196 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9197 * sysdeps/x86_64/dl-tls.h: Likewise.
9198 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9199 * time/alt_digit.c: Likewise.
9200 * time/era.c: Likewise.
9201 * wcsmbs/tst-c16c32-1.c: Likewise.
9202
9203 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9204
9205 * math/libm-test.inc (struct test_sincos_data): New type.
9206 (RUN_TEST_LOOP_sincos): New macro.
9207 (sincos_test_data): New variable.
9208 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9209
9210 2013-05-16 Richard Henderson <rth@redhat.com>
9211
9212 * math/atest-exp2.c (LIMB64): New macro.
9213 (CONSTSZ): New macro.
9214 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9215 (hexdig): Move ...
9216 (print_mpn_fp): ... to function scope.
9217 (read_mpn_hex): Remove.
9218 (get_log2): Remove.
9219 (exp2_mpn): Use mp_log2.
9220 (main): Use mp_exp1.
9221
9222 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9223
9224 * math/libm-test.inc: Remove comment about not testing "inexact"
9225 exceptions.
9226 (INEXACT_EXCEPTION): New macro.
9227 (NO_INEXACT_EXCEPTION): Likewise.
9228 (INVALID_EXCEPTION_OK): Update value.
9229 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9230 (OVERFLOW_EXCEPTION_OK): Likewise.
9231 (UNDERFLOW_EXCEPTION_OK): Likewise.
9232 (IGNORE_ZERO_INF_SIGN): Likewise.
9233 (ERRNO_UNCHANGED): Likewise.
9234 (ERRNO_EDOM): Likewise.
9235 (ERRNO_ERANGE): Likewise.
9236 (test_exceptions): Handle testing "inexact" exceptions.
9237 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9238 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9239 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9240 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9241 INEXACT_EXCEPTION.
9242 (rint_towardzero_test_data): Likewise.
9243 (rint_downward_test_data): Likewise.
9244 (rint_upward_test_data): Likewise.
9245
9246 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9247 with OVERFLOW_EXCEPTION.
9248 (exp10_test_data): Likewise.
9249 (exp2_test_data): Likewise.
9250 (expm1_test_data): Likewise.
9251 (lgamma_test_data): Likewise.
9252 (pow_test_data): Likewise.
9253 (tgamma_test_data): Likewise.
9254 (yn_test_data): Remove duplicate test of overflow.
9255
9256 * math/libm-test.inc (struct test_cc_c_data): New type.
9257 (RUN_TEST_LOOP_cc_c): New macro.
9258 (cpow_test_data): New variable.
9259 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9260
9261 * math/libm-test.inc (struct test_f_L_data): New type.
9262 (RUN_TEST_LOOP_f_L): New macro.
9263 (llrint_test_data): New variable.
9264 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9265 (llrint_tonearest_test_data): New variable.
9266 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9267 (llrint_towardzero_test_data): New variable.
9268 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9269 (llrint_downward_test_data): New variable.
9270 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9271 (llrint_upward_test_data): New variable.
9272 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9273 (llround_test_data): New variable.
9274 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9275
9276 2013-05-13 Peter Collingbourne <pcc@google.com>
9277
9278 * math/atest-exp2.c (get_log2): Remove const attribute.
9279
9280 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9281
9282 * math/libm-test.inc (struct test_f_l_data): New type.
9283 (RUN_TEST_LOOP_f_l): New macro.
9284 (lrint_test_data): New variable.
9285 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9286 (lrint_tonearest_test_data): New variable.
9287 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9288 (lrint_towardzero_test_data): New variable.
9289 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9290 (lrint_downward_test_data): New variable.
9291 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9292 (lrint_upward_test_data): New variable.
9293 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9294 (lround_test_data): New variable.
9295 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9296
9297 2013-05-15 Peter Collingbourne <pcc@google.com>
9298
9299 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9300 (EXTRACT_WORDS64) Use where appropriate.
9301 (INSERT_WORDS64) Likewise.
9302
9303 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9304 constraints with x constraints.
9305 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9306
9307 * malloc/obstack.c (_obstack_compat): Add initializer.
9308
9309 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9310
9311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9312 si_trapno and add si_addr_lsb to _sifields.sigfault.
9313 (si_trapno): Remove macro.
9314 (si_addr_lsb): Define new macro.
9315 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9316
9317 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9318
9319 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9320 instead of TEST_f_l.
9321 (llrint_test_tonearest): Likewise.
9322 (llrint_test_towardzero): Likewise.
9323 (llrint_test_downward): Likewise.
9324 (llrint_test_upward): Likewise.
9325 (llround_test): Likewise.
9326
9327 * math/libm-test.inc (struct test_f_i_data): Add comment.
9328 (RUN_TEST_LOOP_f_b): New macro.
9329 (RUN_TEST_LOOP_f_b_tg): Likewise.
9330 (finite_test_data): New variable.
9331 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9332 (isfinite_test_data): New variable.
9333 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9334 (isinf_test_data): New variable.
9335 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9336 (isnan_test_data): New variable.
9337 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9338 (isnormal_test_data): New variable.
9339 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9340 (issignaling_test_data): New variable.
9341 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9342 (signbit_test_data): New variable.
9343 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9344
9345 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9346 with INVALID_EXCEPTION.
9347 (acosh_test_data): Likewise.
9348 (asin_test_data): Likewise.
9349 (atanh_test_data): Likewise.
9350 (fmod_test_data): Likewise.
9351 (log_test_data): Likewise.
9352 (log10_test_data): Likewise.
9353 (log2_test_data): Likewise.
9354 (pow_test_data): Likewise.
9355 (sqrt_test_data): Likewise.
9356 (y0_test_data): Likewise.
9357 (y1_test_data): Likewise.
9358 (yn_test_data): Likewise.
9359
9360 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9361 function contents.
9362
9363 * math/libm-test.inc (struct test_ff_i_data): New type.
9364 (RUN_TEST_LOOP_ff_i_tg): New macro.
9365 (isgreater_test_data): New variable.
9366 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9367 (isgreaterequal_test_data): New variable.
9368 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9369 (isless_test_data): New variable.
9370 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9371 (islessequal_test_data): New variable.
9372 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9373 (islessgreater_test_data): New variable.
9374 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9375 (isunordered_test_data): New variable.
9376 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9377
9378 2013-05-14 David S. Miller <davem@davemloft.net>
9379
9380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9381
9382 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9383
9384 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9385
9386 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9387 extra_test to int.
9388 (struct test_f_i_data): Change type of max_ulp to int.
9389
9390 * math/libm-test.inc (test_ffI_f1_data): New type.
9391 (RUN_TEST_LOOP_ffI_f1): New macro.
9392 (remquo_test_data): New variable.
9393 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9394
9395 * setjmp/tst-setjmp-fp.c: New file.
9396 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9397 (link-libm): New variable.
9398 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9399
9400 * math/libm-test.inc (struct test_f_i_data): New type.
9401 (RUN_TEST_LOOP_f_i): New macro.
9402 (RUN_TEST_LOOP_f_i_tg): Likewise.
9403 (fpclassify_test_data): New variable.
9404 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9405 (ilogb_test_data): New variable.
9406 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9407
9408 * math/libm-test.inc (scalbln_test): Correct function name in END
9409 call.
9410
9411 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9412 (RUN_TEST_LOOP_fI_f1): New macro.
9413 (frexp_test_data): New variable.
9414 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9415
9416 * math/libm-test.inc (struct test_fF_f1_data): New type.
9417 (RUN_TEST_LOOP_fF_f1): New macro.
9418 (modf_test_data): New variable.
9419 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9420
9421 * math/libm-test.inc (struct test_f_f1_data): New type.
9422 (RUN_TEST_LOOP_f_f1): New macro.
9423 (gamma_test_data): New variable.
9424 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9425 (lgamma_test_data): New variable.
9426 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9427
9428 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9429
9430 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9431 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9432 (main): Comment "tls" pseudo-hwcap.
9433
9434 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9435
9436 * math/libm-test.inc (struct test_fl_f_data): New type.
9437 (RUN_TEST_LOOP_fl_f): New variable.
9438 (scalbln_test_data): New variable.
9439 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9440
9441 * math/libm-test.inc (struct test_fi_f_data): New type.
9442 (RUN_TEST_LOOP_fi_f): New macro.
9443 (ldexp_test_data): New variable.
9444 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9445 (scalbn_test_data): New variable.
9446 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9447
9448 * math/libm-test.inc (struct test_c_f_data): New type.
9449 (RUN_TEST_LOOP_c_f): New macro.
9450 (cabs_test_data): New variable.
9451 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9452 (carg_test_data): New variable.
9453 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9454 (cimag_test_data): New variable.
9455 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9456 (creal_test_data): New variable.
9457 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9458
9459 * math/libm-test.inc (struct test_if_f_data): New type.
9460 (RUN_TEST_LOOP_if_f): New macro.
9461 (jn_test_data): New variable.
9462 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9463 (yn_test_data): New variable.
9464 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9465
9466 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9467
9468 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9469
9470 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9471 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9472
9473 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9474
9475 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9476 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9477 (bench-deps): Add bench-timing.h.
9478 * benchtests-bench-skeleton.c: Include bench-timing.h.
9479 (main): Use TIMING_* macros instead of clock_gettime.
9480 * benchtests/bench-timing.h: New file.
9481
9482 [BZ #14582]
9483 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9484 Renamed from _LIB_VERSION.
9485 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9486
9487 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9488
9489 * math/libm-test.inc (struct test_fff_f_data): New type.
9490 (RUN_TEST_LOOP_fff_f): New macro.
9491 (fma_test_data): New variable.
9492 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9493 (fma_towardzero_test_data): New variable.
9494 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9495 (fma_downward_test_data): New variable.
9496 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9497 (fma_upward_test_data): New variable.
9498 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9499
9500 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9501 (struct test_c_c_data): New type.
9502 (RUN_TEST_LOOP_c_c): New macro.
9503 (cacos_test_data): New variable.
9504 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9505 (cacosh_test_data): New variable.
9506 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9507 (casin_test_data): New variable.
9508 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9509 (casinh_test_data): New variable.
9510 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9511 (catan_test_data): New variable.
9512 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9513 (catanh_test_data): New variable.
9514 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9515 (ccos_test_data): New variable.
9516 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9517 (ccosh_test_data): New variable.
9518 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9519 (cexp_test_data): New variable.
9520 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9521 (clog_test_data): New variable.
9522 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9523 (clog10_test_data): New variable.
9524 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9525 (conj_test_data): New variable.
9526 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9527 (cproj_test_data): New variable.
9528 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9529 (csin_test_data): New variable.
9530 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9531 (csinh_test_data): New variable.
9532 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9533 (csqrt_test_data): New variable.
9534 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9535 (ctan_test_data): New variable.
9536 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9537 (ctan_tonearest_test_data): New variable.
9538 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9539 (ctan_towardzero_test_data): New variable.
9540 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9541 (ctan_downward_test_data): New variable.
9542 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9543 (ctan_upward_test_data): New variable.
9544 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9545 (ctanh_test_data): New variable.
9546 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9547 (ctanh_tonearest_test_data): New variable.
9548 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9549 (ctanh_towardzero_test_data): New variable.
9550 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9551 (ctanh_downward_test_data): New variable.
9552 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9553 (ctanh_upward_test_data): New variable.
9554 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9555 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9556 of BUILD_COMPLEX.
9557
9558 * math/libm-test.inc (struct test_ff_f_data): New type.
9559 (struct test_ff_f_data_nexttoward): Likewise.
9560 (RUN_TEST_LOOP_2_f): New macro.
9561 (RUN_TEST_LOOP_ff_f): Likewise.
9562 (atan2_test_data): New variable.
9563 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9564 (copysign_test_data): New variable.
9565 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9566 (fdim_test_data): New variable.
9567 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9568 (fmax_test_data): New variable.
9569 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9570 (fmin_test_data): New variable.
9571 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9572 (fmod_test_data): New variable.
9573 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9574 (hypot_test_data): New variable.
9575 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9576 (nextafter_test_data): New variable.
9577 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9578 (nexttoward_test_data): New variable.
9579 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9580 (pow_test_data): New variable.
9581 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9582 (pow_tonearest_test_data): New variable.
9583 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9584 (pow_towardzero_test_data): New variable.
9585 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9586 (pow_downward_test_data): New variable.
9587 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9588 (pow_upward_test_data): New variable.
9589 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9590 (remainder_test_data): New variable.
9591 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9592 (scalb_test_data): New variable.
9593 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9594 * sysdeps/i386/fpu/libm-test-ulps: Update.
9595
9596 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9597
9598 * math/libm-test.inc (fma_test): Use max_value instead of local
9599 variable fltmax.
9600 (nextafter_test): Likewise.
9601
9602 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9603 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9604 (acos_downward_test_data): New variable.
9605 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9606 (acos_upward_test_data): New variable.
9607 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9608 (acosh_test_data): New variable.
9609 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9610 (asin_test_data): New variable.
9611 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9612 (asin_tonearest_test_data): New variable.
9613 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9614 (asin_towardzero_test_data): New variable.
9615 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9616 (asin_downward_test_data): New variable.
9617 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9618 (asin_upward_test_data): New variable.
9619 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9620 (asinh_test_data): New variable.
9621 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9622 (atan_test_data): New variable.
9623 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9624 (atanh_test_data): New variable.
9625 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9626 (cbrt_test_data): New variable.
9627 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9628 (ceil_test_data): New variable.
9629 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9630 (cos_test_data): New variable.
9631 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9632 (cos_tonearest_test_data): New variable.
9633 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9634 (cos_towardzero_test_data): New variable.
9635 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9636 (cos_downward_test_data): New variable.
9637 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9638 (cos_upward_test_data): New variable.
9639 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9640 (cosh_test_data): New variable.
9641 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9642 (cosh_tonearest_test_data): New variable.
9643 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9644 (cosh_towardzero_test_data): New variable.
9645 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9646 (cosh_downward_test_data): New variable.
9647 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9648 (cosh_upward_test_data): New variable.
9649 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9650 (erf_test_data): New variable.
9651 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9652 (erfc_test_data): New variable.
9653 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9654 (exp_test_data): New variable.
9655 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9656 (exp_tonearest_test_data): New variable.
9657 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9658 (exp_towardzero_test_data): New variable.
9659 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9660 (exp_downward_test_data): New variable.
9661 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9662 (exp_upward_test_data): New variable.
9663 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9664 (exp10_test_data): New variable.
9665 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9666 (exp2_test_data): New variable.
9667 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9668 (expm1_test_data): New variable.
9669 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9670 (fabs_test_data): New variable.
9671 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9672 (floor_test_data): New variable.
9673 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9674 (j0_test_data): New variable.
9675 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9676 (j1_test_data): New variable.
9677 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9678 (log_test_data): New variable.
9679 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9680 (log10_test_data): New variable.
9681 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9682 (log1p_test_data): New variable.
9683 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9684 (log2_test_data): New variable.
9685 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9686 (logb_test_data): New variable.
9687 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9688 (logb_downward_test_data): New variable.
9689 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9690 (nearbyint_test_data): New variable.
9691 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9692 (rint_test_data): New variable.
9693 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9694 (rint_tonearest_test_data): New variable.
9695 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9696 (rint_towardzero_test_data): New variable.
9697 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9698 (rint_downward_test_data): New variable.
9699 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9700 (rint_upward_test_data): New variable.
9701 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9702 (round_test_data): New variable.
9703 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9704 (sin_test_data): New variable.
9705 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9706 (sin_tonearest_test_data): New variable.
9707 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9708 (sin_towardzero_test_data): New variable.
9709 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9710 (sin_downward_test_data): New variable.
9711 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9712 (sin_upward_test_data): New variable.
9713 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9714 (sinh_test_data): New variable.
9715 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9716 (sinh_tonearest_test_data): New variable.
9717 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9718 (sinh_towardzero_test_data): New variable.
9719 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9720 (sinh_downward_test_data): New variable.
9721 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9722 (sinh_upward_test_data): New variable.
9723 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9724 (sqrt_test_data): New variable.
9725 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9726 (tan_test_data): New variable.
9727 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9728 (tan_tonearest_test_data): New variable.
9729 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9730 (tan_towardzero_test_data): New variable.
9731 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9732 (tan_downward_test_data): New variable.
9733 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9734 (tan_upward_test_data): New variable.
9735 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9736 (tanh_test_data): New variable.
9737 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9738 (tgamma_test_data): New variable.
9739 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9740 (trunc_test_data): New variable.
9741 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9742 (y0_test_data): New variable.
9743 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9744 (y1_test_data): New variable.
9745 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9746 (significand_test_data): New variable.
9747 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9748
9749 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9750
9751 [BZ #12387]
9752 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9753
9754 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9755
9756 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9757
9758 2013-05-10 Andreas Jaeger <aj@suse.de>
9759
9760 [BZ #15448]
9761 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9762 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9763
9764 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9765
9766 * math/gen-libm-test.pl (adjust_arg): New function.
9767 (special_functions): Handle generating output in both functions
9768 and arrays.
9769 (parse_args): Likewise.
9770 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9771 $in_func argument to parse_args.
9772 * math/libm-test.inc (struct test_f_f_data): New type.
9773 (IF_ROUND_INIT_): New macro.
9774 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9775 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9776 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9777 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9778 (ROUND_RESTORE_): Likewise.
9779 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9780 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9781 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9782 (ROUND_RESTORE_FE_UPWARD): Likewise.
9783 (RUN_TEST_LOOP_f_f): New macro.
9784 (acos_test_data): New variable.
9785 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9786 (acos_tonearest_test_data): New variable.
9787 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9788
9789 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9790
9791 * benchtests/bench-skeleton.c (startup): Fix coding style.
9792
9793 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9794
9795 [BZ #6809]
9796 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9797 negative infinity argument.
9798 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9799 negative infinity argument.
9800 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9801 negative infinity argument.
9802 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9803 domain errors.
9804
9805 2013-05-10 Florian Weimer <fweimer@redhat.com>
9806
9807 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9808 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9809 * iconv/iconv_prog.c (main): Likewise.
9810 * locale/programs/charmap-dir.c (charmap_readdir)
9811 (fopen_uncompressed): Likewise.
9812 * locale/programs/locfile.c (siblings_uncached)
9813 (write_locale_data): Use lstat64 instead of lstat.
9814 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9815 stat.
9816
9817 2013-05-10 Andreas Jaeger <aj@suse.de>
9818
9819 [BZ #15395]
9820 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9821 localization.
9822 Include <locale.h>.
9823
9824 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9825
9826 * elf/dl-close.c (_dl_close_worker): Add comments.
9827
9828 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9829
9830 [BZ #15359]
9831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9832 high part of pi/2.
9833 (__ieee754_rem_pio2l): Update comments.
9834
9835 [BZ #15429]
9836 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9837 high part of pi/2.
9838 (__ieee754_rem_pio2l): Update comments.
9839
9840 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9841 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9842
9843 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9844 M_PI_4l.
9845
9846 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9847 (M_PI_34_LOG10El): Likewise.
9848 (M_PI2_LOG10El): Likewise.
9849 (M_PI4_LOG10El): Likewise.
9850 (M_PI_LOG10El): Likewise.
9851
9852 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9853
9854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9855
9856 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9857
9858 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9859 (MINUS_ZERO_INIT): Likewise.
9860 (PLUS_INFTY_INIT): Likewise.
9861 (MINUS_INFTY_INIT): Likewise.
9862 (QNAN_VALUE_INIT): Likewise.
9863 (MAX_VALUE_INIT): Likewise.
9864 (MIN_VALUE_INIT): Likewise.
9865 (MIN_SUBNORM_VALUE_INIT): Likewise.
9866 (plus_zero): Initialize with PLUS_ZERO_INIT.
9867 (minus_zero): Initialize with MINUS_ZERO_INIT.
9868 (plus_infty): Initialize with PLUS_INFTY_INIT.
9869 (minus_infty): Initialize with MINUS_INFTY_INIT.
9870 (qnan_value): Initialize with QNAN_VALUE_INIT.
9871 (max_value): Initialize with MAX_VALUE_INIT.
9872 (min_value): Initialize with MIN_VALUE_INIT.
9873 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9874
9875 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9876 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9877 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9878 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9879
9880 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9881 (RUN_TEST_2_f): Likewise.
9882 (RUN_TEST_ff_f): Likewise.
9883 (RUN_TEST_fi_f): Likewise.
9884 (RUN_TEST_fl_f): Likewise.
9885 (RUN_TEST_fff_f): Likewise.
9886 (RUN_TEST_c_f): Likewise.
9887 (RUN_TEST_f_f1): Likewise.
9888 (RUN_TEST_fF_f1): Likewise.
9889 (RUN_TEST_fI_f1): Likewise.
9890 (RUN_TEST_ffI_f1): Likewise.
9891 (RUN_TEST_c_c): Likewise.
9892 (RUN_TEST_cc_c): Likewise.
9893 (RUN_TEST_f_i): Likewise.
9894 (RUN_TEST_f_i_tg): Likewise.
9895 (RUN_TEST_ff_i_tg): Likewise.
9896 (RUN_TEST_f_b): Likewise.
9897 (RUN_TEST_f_b_tg): Likewise.
9898 (RUN_TEST_f_l): Likewise.
9899 (RUN_TEST_f_L): Likewise.
9900 (RUN_TEST_sincos): Likewise.
9901 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9902 whether to show exceptions. Do not include ");\n" in return
9903 value.
9904 (special_functions): Output call to RUN_TEST_sincos instead of
9905 check_float calls. Update calls to new_test.
9906 (parse_args): Output call to single RUN_TEST_* macro instead of
9907 check_* calls and other assignments. Update calls to new_test.
9908
9909 [BZ #2546]
9910 [BZ #2560]
9911 [BZ #5159]
9912 [BZ #15426]
9913 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9914 input to result for tgamma overflow.
9915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9916 (gamma_coeff): New variable.
9917 (NCOEFF): New macro.
9918 (gamma_positive): New function.
9919 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9920 underflow here. Use gamma_positive instead of exp (lgamma) for
9921 other arguments.
9922 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9923 (gamma_coeff): New variable.
9924 (NCOEFF): New macro.
9925 (gammaf_positive): New function.
9926 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9927 underflow here. Use gamma_positive instead of exp (lgamma) for
9928 other arguments.
9929 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9930 (gamma_coeff): New variable.
9931 (NCOEFF): New macro.
9932 (gammal_positive): New function.
9933 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9934 underflow here. Use gamma_positive instead of exp (lgamma) for
9935 other arguments.
9936 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9937 (gamma_coeff): New variable.
9938 (NCOEFF): New macro.
9939 (gammal_positive): New function.
9940 (__ieee754_gammal_r): Handle positive infinity, overflow and
9941 underflow here. Handle NaN the same as positive infinity. Remove
9942 check x < 0xffffffff for negative integers. Use gamma_positive
9943 instead of exp (lgamma) for other arguments.
9944 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9945 (gamma_coeff): New variable.
9946 (NCOEFF): New macro.
9947 (gammal_positive): New function.
9948 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9949 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9953 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9954 * sysdeps/generic/math_private.h (__gamma_productf): New
9955 prototype.
9956 (__gamma_product): Likewise.
9957 (__gamma_productl): Likewise.
9958 * math/Makefile (libm-calls): Add gamma_product.
9959 * math/libm-test.inc (tgamma_test): Add more tests.
9960 * sysdeps/i386/fpu/libm-test-ulps: Update.
9961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9962
9963 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9964
9965 * benchtests/bench-skeleton.c (main): Preheat CPU.
9966
9967 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9968
9969 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9970
9971 2013-05-07 Roland McGrath <roland@hack.frob.com>
9972
9973 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9974 and _dl_skip_args_internal.
9975
9976 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9977
9978 * manual/message.texi (Message Translation): Talk about users.
9979 Message to key mapping impacts design.
9980
9981 2013-05-06 Roland McGrath <roland@hack.frob.com>
9982
9983 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9984
9985 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9986
9987 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9988 * sysdeps/wordsize-64/glob64.c: ... here.
9989
9990 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9991 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9992 New macros.
9993
9994 * debug/getlogin_r_chk.c: Moved to ...
9995 * login/getlogin_r_chk.c: ... here.
9996 * debug/Makefile (routines): Move getlogin_r_chk to ...
9997 * login/Makefile (routines): ... here.
9998 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9999 * login/Versions (libc: GLIBC_2.4): ... here.
10000
10001 * io/poll.c (__poll): Renamed from poll.
10002 Add libc_hidden_def.
10003 (poll): Define as weak alias.
10004
10005 * debug/ptsname_r_chk.c: Moved to ...
10006 * login/ptsname_r_chk.c: ... here.
10007 * debug/Makefile (routines): Move ptsname_r_chk to ...
10008 * login/Makefile (routines): ... here.
10009 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10010 * login/Versions (libc: GLIBC_2.4): ... here.
10011
10012 * posix/getlogin.c: Moved to ...
10013 * login/getlogin.c: ... here.
10014 * posix/getlogin_r.c: Moved to ...
10015 * login/getlogin_r.c: ... here.
10016 * posix/getlogin_r.c: Moved to ...
10017 * login/getlogin_r.c: ... here.
10018 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10019 * login/Makefile (routines): ... here.
10020 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10021 * login/Versions (libc: GLIBC_2.0): ... here.
10022
10023 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10024 (setrlimit): Define as weak alias.
10025
10026 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10027 Call __ names for open, ftruncate, and close.
10028 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10029 (truncate): Define as weak alias.
10030
10031 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10032
10033 * math/gen-libm-test.pl (parse_args): Initialize x before each
10034 test of frexp, modf and remquo.
10035
10036 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10037 test signgam value.
10038
10039 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10040
10041 [BZ #15418]
10042 [BZ #15419]
10043 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10044 internal tests.
10045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10046
10047 2013-05-06 Roland McGrath <roland@hack.frob.com>
10048
10049 * elf/dl-writev.h: New file.
10050 * elf/dl-misc.c: Include it.
10051 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10052 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10053
10054 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10055
10056 * math/libm-test.inc (noXFails): Remove variable.
10057 (noXPasses): Likewise.
10058 (BUILD_COMPLEX_INT): Remove macro.
10059 (print_screen): Remove xfail argument.
10060 (print_screen_max_error): Likewise.
10061 (update_stats): Likewise.
10062 (print_max_error): Likewise. Update calls to other affected
10063 functions.
10064 (print_complex_max_error): Likewise.
10065 (test_single_exception): Update calls to print_screen.
10066 (test_single_errno): Likewise.
10067 (check_float_internal): Remove xfail argument. Update calls to
10068 other affected functions.
10069 (check_float): Likewise.
10070 (check_complex): Likewise.
10071 (check_int): Likewise.
10072 (check_long): Likewise.
10073 (check_bool): Likewise.
10074 (check_longlong): Likewise.
10075 (main): Don't print noXFails and noXPasses.
10076 * math/gen-libm-test.pl (top level): Don't mention expected
10077 failure handling in comment.
10078 (new_test): Don't handle expected failures.
10079 (parse_args): Don't mention expected failure handling in comment.
10080 (generate_testfile): Don't handle expected failures.
10081 (parse_ulps): Likewise.
10082 (print_ulps_file): Likewise.
10083 (get_failure): Remove function.
10084 (output_test): Don't handle expected failures.
10085 * make/README.libm-test: Don't mention expected failure handling.
10086
10087 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10088 (minus_zero): Likewise.
10089 (plus_infty): Likewise.
10090 (minus_infty): Likewise.
10091 (qnan_value): Likewise.
10092 (max_value): Likewise.
10093 (min_value): Likewise.
10094 (min_subnorm_value): Likewise.
10095 (initialize): Do not initialize those variables dynamically.
10096
10097 2013-05-03 Roland McGrath <roland@hack.frob.com>
10098
10099 * io/open.c (__open_2): Moved to ...
10100 * io/open_2.c: ... this new file.
10101 * io/open64.c (__open64_2): Moved to ...
10102 * io/open64_2.c: ... this new file.
10103 * io/openat.c (__openat_2): Moved to ...
10104 * io/openat_2.c: ... this new file.
10105 * io/openat64.c (__openat64_2): Moved to ...
10106 * io/openat64_2.c: ... this new file.
10107 * io/Makefile (routines): Add them.
10108 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10109 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10110 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10111 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10112 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10113 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10114 (__openat64): Add hidden_ver.
10115 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10116 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10117
10118 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10119 Separately conditionalize setting of GLRO(dl_sysinfo) so
10120 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10121 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10122
10123 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10124
10125 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10126 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10127 definition.
10128 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10129 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10130 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10131 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10132 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10133
10134 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10135
10136 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10137 test signgam value.
10138
10139 * math/libm-test.inc (hypot_test): Do not use
10140 IGNORE_ZERO_INF_SIGN.
10141
10142 2013-05-03 Andreas Jaeger <aj@suse.de>
10143
10144 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10145 Linux 3.9.
10146 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10147 (PF_MAX): Adjust for VSOCK change.
10148
10149 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10150
10151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10152
10153 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10154
10155 [BZ #15264]
10156 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10157 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10158 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10159
10160 2013-05-02 David S. Miller <davem@davemloft.net>
10161
10162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10163
10164 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10165
10166 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10167
10168 2013-05-01 Roland McGrath <roland@hack.frob.com>
10169
10170 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10171
10172 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10173
10174 [BZ #14952]
10175 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10176 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10177 Use __attribute__ ((__gnu_inline__)).
10178 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10179 Don't use __attribute__ ((__gnu_inline__)).
10180
10181 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10182
10183 [BZ #15423]
10184 * math/s_catan.c (__catan): Handle small real or imaginary part of
10185 input specially to avoid spurious underflow.
10186 * math/s_catanf.c (__catanf): Likewise.
10187 * math/s_catanh.c (__catanh): Likewise.
10188 * math/s_catanhf.c (__catanhf): Likewise.
10189 * math/s_catanhl.c (__catanhl): Likewise.
10190 * math/s_catanl.c (__catanl): Likewise.
10191 * math/libm-test.inc (catan_test): Add more tests.
10192 (catanh_test): Likewise.
10193 * sysdeps/i386/fpu/libm-test-ulps: Update.
10194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10195
10196 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10197
10198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10199
10200 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10201
10202 [BZ #15416]
10203 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10204 accurately for denominator in atan2.
10205 * math/s_catanf.c (__catanf): Likewise.
10206 * math/s_catanh.c (__catanh): Likewise.
10207 * math/s_catanhf.c (__catanhf): Likewise.
10208 * math/s_catanhl.c (__catanhl): Likewise.
10209 * math/s_catanl.c (__catanl): Likewise.
10210 * math/libm-test.inc (catan_test): Add more tests.
10211 (catanh_test): Likewise.
10212 * sysdeps/i386/fpu/libm-test-ulps: Update.
10213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214
10215 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10216
10217 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10218
10219 * benchtests/Makefile (bench): Remove slow benchmarks.
10220 * benchtests/atan-inputs: Add slow benchmark inputs.
10221 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10222 (BENCH_FUNC): Accept variant offset.
10223 (VARIANT): Define.
10224 * benchtests/bench-skeleton.c (main): Run benchmark for each
10225 variant.
10226 * benchtests/cos-inputs: Add slow benchmark inputs.
10227 * benchtests/exp-inputs: Likewise.
10228 * benchtests/pow-inputs: Likewise.
10229 * benchtests/sin-inputs: Likewise.
10230 * benchtests/slowatan-inputs: Remove.
10231 * benchtests/slowatan.c: Remove.
10232 * benchtests/slowcos-inputs: Remove.
10233 * benchtests/slowcos.c: Remove.
10234 * benchtests/slowexp-inputs: Remove.
10235 * benchtests/slowexp.c: Remove.
10236 * benchtests/slowpow-inputs: Remove.
10237 * benchtests/slowpow.c: Remove.
10238 * benchtests/slowsin-inputs: Remove.
10239 * benchtests/slowsin.c: Remove.
10240 * benchtests/slowtan-inputs: Remove.
10241 * benchtests/slowtan.c: Remove.
10242 * benchtests/tan-inputs: Add slow benchmark inputs.
10243 * scripts/bench.pl: Parse comments and directives.
10244
10245 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10246 in CPPFLAGS.
10247 ($(objpfx)bench-%.c): Remove *-ITER.
10248 * benchtests/bench-modf.c: Remove definition of ITER.
10249 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10250 (main): Loop for DURATION seconds instead of fixed number of
10251 iterations.
10252 * scripts/bench.pl: Don't expect iterations in parameters.
10253
10254 2013-04-29 Roland McGrath <roland@hack.frob.com>
10255
10256 * io/fchdir.c (__fchdir): Renamed from fchdir.
10257 (fchdir): Define as weak alias.
10258
10259 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10260
10261 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10262 (ERRNO_EDOM): Likewise.
10263 (ERRNO_ERANGE): Likewise.
10264 (noErrnoTests): New variable.
10265 (init_max_error): Set errno to 0.
10266 (test_single_errno): New function.
10267 (test_errno): Likewise.
10268 (check_float_internal): Call test_errno. Set errno to 0.
10269 (check_complex): Refer to errno tests in comment.
10270 (check_int): Call test_errno. Set errno to 0.
10271 (check_long): Likewise.
10272 (check_bool): Likewise.
10273 (check_longlong): Likewise.
10274 (cos_test): Use ERRNO_* flags for errno tests instead of
10275 check_int.
10276 (expm1_test): Likewise.
10277 (fmod_test): Likewise.
10278 (ilogb_test): Likewise.
10279 (lgamma_test): Likewise.
10280 (pow_test): Likewise.
10281 (remainder_test): Likewise.
10282 (sin_test): Likewise.
10283 (tan_test): Likewise.
10284 (yn_test): Likewise.
10285 (initialize): Set errno to 0.
10286 (main): Print number of errno tests.
10287 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10288
10289 2013-04-29 Andreas Jaeger <aj@suse.de>
10290
10291 [BZ #15084]
10292 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10293 and RES_USEVC.
10294
10295 [BZ #15085]
10296 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10297 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10298 unimplemented.
10299
10300 [BZ #15380]
10301 * stdlib/random.c (__initstate): Return NULL if
10302 __initstate fails.
10303
10304 [BZ #15086]
10305 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10306 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10307 RES_SNGLKUPREOP.
10308
10309 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10310
10311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10312
10313 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10314
10315 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10316 of individual tests.
10317 (casin_test): Likewise.
10318 (casinh_test): Likewise.
10319
10320 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10321
10322 [BZ #15409]
10323 * math/s_catan.c (__catan): Handle arguments with large real or
10324 imaginary part separately without squaring.
10325 * math/s_catanf.c (__catanf): Likewise.
10326 * math/s_catanh.c (__catanh): Likewise.
10327 * math/s_catanhf.c (__catanhf): Likewise.
10328 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10329 and redefine.
10330 (__catanhl): Handle arguments with large real or imaginary part
10331 separately without squaring.
10332 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10333 and redefine.
10334 (__catanl): Handle arguments with large real or imaginary part
10335 separately without squaring.
10336 * math/libm-test.inc (catan_test): Add more tests.
10337 (catanh_test): Likewise.
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10340
10341 2013-04-27 Andreas Jaeger <aj@suse.de>
10342
10343 [BZ #15007]
10344 * stdlib/stdlib.h: Update guards for qecvt.
10345 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10346 <stdlib.h>.
10347
10348 2013-04-27 Allan McRae <allan@archlinux.org>
10349
10350 * sysdeps/i386/fpu/libm-test-ulps: Update.
10351
10352 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10353
10354 [BZ #15406]
10355 * math/s_catan.c: Include <float.h>.
10356 (__catan): Ensure underflow exception occurs for underflowed
10357 result.
10358 * math/s_catanf.c: Include <float.h>.
10359 (__catanf): Ensure underflow exception occurs for underflowed
10360 result.
10361 * math/s_catanh.c: Include <float.h>.
10362 (__catanh): Ensure underflow exception occurs for underflowed
10363 result.
10364 * math/s_catanhf.c: Include <float.h>.
10365 (__catanhf): Ensure underflow exception occurs for underflowed
10366 result.
10367 * math/s_catanhl.c: Include <float.h>.
10368 (__catanhl): Ensure underflow exception occurs for underflowed
10369 result.
10370 * math/s_catanl.c: Include <float.h>.
10371 (__catanl): Ensure underflow exception occurs for underflowed
10372 result.
10373 * math/libm-test.inc (catan_test): Add more tests.
10374 (catanh_test): Likewise.
10375
10376 [BZ #15405]
10377 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10378 underflowed result.
10379 * math/s_ccoshf.c (__ccoshf): Likewise.
10380 * math/s_ccoshl.c (__ccoshl): Likewise.
10381 * math/s_csin.c (__csin): Likewise.
10382 * math/s_csinf.c (__csinf): Likewise.
10383 * math/s_csinh.c (__csinh): Likewise.
10384 * math/s_csinhf.c (__csinhf): Likewise.
10385 * math/s_csinhl.c (__csinhl): Likewise.
10386 * math/s_csinl.c (__csinl): Likewise.
10387 * math/libm-test.inc (ccos_test): Add more tests.
10388 (ccosh_test): Likewise.
10389 (csin_test): Likewise.
10390 (csinh_test): Likewise.
10391
10392 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10393
10394 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10395 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10396 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10397 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10398 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10399 powerpc/power5+/fpu folders.
10400 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10401
10402
10403 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10404
10405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10406
10407 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10408
10409 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10410 additions to variable.
10411 [$(config-machine) = x86_64] (modules-names): Likewise.
10412 ($(objpfx)tst-audit3): Remove dependency.
10413 ($(objpfx)tst-audit3.out): Likewise.
10414 ($(objpfx)tst-audit4): Likewise.
10415 ($(objpfx)tst-audit4.out): Likewise.
10416 ($(objpfx)tst-audit5): Likewise.
10417 ($(objpfx)tst-audit5.out): Likewise.
10418 ($(objpfx)tst-audit6): Likewise.
10419 ($(objpfx)tst-audit6.out): Likewise.
10420 ($(objpfx)tst-audit7): Likewise.
10421 ($(objpfx)tst-audit7.out): Likewise.
10422 (tst-audit3-ENV): Remove variable.
10423 (tst-audit4-ENV): Likewise.
10424 (tst-audit5-ENV): Likewise.
10425 (tst-audit6-ENV): Likewise.
10426 (tst-audit7-ENV): Likewise.
10427 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10428 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10429 addition to variable.
10430 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10431 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10435 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10436 tst-audit3, tst-audit4 and tst-audit5.
10437 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10438 tst-audit6 and tst-audit7.
10439 [$(subdir) = elf] (modules-names): Add audit modules for those
10440 tests.
10441 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10442 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10443 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10444 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10445 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10446 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10447 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10448 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10449 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10450 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10451 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10452 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10453 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10454 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10455 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10456 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10457 Likewise.
10458 [$(subdir) = elf && $(config-cflags-avx) = yes]
10459 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10460 [$(subdir) = elf && $(config-cflags-avx) = yes]
10461 (CFLAGS-tst-auditmod4a.c): Likewise.
10462 [$(subdir) = elf && $(config-cflags-avx) = yes]
10463 (CFLAGS-tst-auditmod4b.c): Likewise.
10464 [$(subdir) = elf && $(config-cflags-avx) = yes]
10465 (CFLAGS-tst-auditmod6b.c): Likewise.
10466 [$(subdir) = elf && $(config-cflags-avx) = yes]
10467 (CFLAGS-tst-auditmod6c.c): Likewise.
10468 [$(subdir) = elf && $(config-cflags-avx) = yes]
10469 (CFLAGS-tst-auditmod7b.c): Likewise.
10470 * elf/tst-audit3.c: Move to ...
10471 * sysdeps/x86_64/tst-audit3.c: ... here.
10472 * elf/tst-audit4.c: Move to ...
10473 * sysdeps/x86_64/tst-audit4.c: ... here.
10474 * elf/tst-audit5.c: Move to ...
10475 * sysdeps/x86_64/tst-audit5.c: ... here.
10476 * elf/tst-audit6.c: Move to ...
10477 * sysdeps/x86_64/tst-audit6.c: ... here.
10478 * elf/tst-audit7.c: Move to ...
10479 * sysdeps/x86_64/tst-audit7.c: ... here.
10480 * elf/tst-auditmod3a.c: Move to ...
10481 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10482 * elf/tst-auditmod3b.c: Move to ...
10483 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10484 * elf/tst-auditmod4a.c: Move to ...
10485 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10486 * elf/tst-auditmod4b.c: Move to ...
10487 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10488 * elf/tst-auditmod5a.c: Move to ...
10489 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10490 * elf/tst-auditmod5b.c: Move to ...
10491 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10492 * elf/tst-auditmod6a.c: Move to ...
10493 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10494 * elf/tst-auditmod6b.c: Move to ...
10495 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10496 * elf/tst-auditmod6c.c: Move to ...
10497 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10498 * elf/tst-auditmod7a.c: Move to ...
10499 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10500 * elf/tst-auditmod7b.c: Move to ...
10501 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10502
10503 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10504
10505 [BZ #15366]
10506 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10507 define unconditionally.
10508 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10509 define unconditionally.
10510 (INT8_C, INT16_C, etc.): Likewise.
10511
10512 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10513
10514 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10515 __ehdr_start with hidden visibility.
10516
10517 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10518
10519 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10520
10521 * math/libm-test.inc (cos_test): Use accurate hex constants.
10522 (sincost_test): Likewise.
10523
10524 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10525
10526 * math/libm-test.inc (catan_test): Add more tests.
10527 (catanh_test): Likewise.
10528
10529 * math/s_catanf.c (__catanf): Use suffixed floating-point
10530 constants.
10531 * math/s_catanhf.c (__catanhf): Likewise.
10532 * math/s_catanhl.c (__catanhl): Likewise.
10533 * math/s_catanl.c (__catanl): Likewise.
10534
10535 [BZ #15394]
10536 * math/s_catan.c (__catan): Calculate imaginary part of result
10537 with log1p not log unless computing log of number close to 0.
10538 * math/s_catanf.c (__catanf): Likewise.
10539 * math/s_catanl.c (__catanl): Likewise.
10540 * math/s_catanh.c (__catanh): Calculate real part of result with
10541 log1p not log unless computing log of number close to 0.
10542 * math/s_catanhf.c (__catanhf): Likewise.
10543 * math/s_catanhl.c (__catanhl): Likewise.
10544 * math/libm-test.inc (catan_test): Add more tests.
10545 (catanh_test): Likewise.
10546 * sysdeps/i386/fpu/libm-test-ulps: Update.
10547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548
10549 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10550
10551 * benchtests/Makefile: Mention files in which fast and slow
10552 paths of math functions are implemented.
10553
10554 2013-04-23 Roland McGrath <roland@hack.frob.com>
10555
10556 * sysdeps/posix/timespec_get.c: New file.
10557
10558 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10559
10560 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10561 POWER.
10562 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10563 for POWER.
10564 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10565 powerpc/power5/fpu folders.
10566 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10567 * benchtests/Makefile: Add modf testcase.
10568 * benchtests/bench-modf.c: New file: Benchmark test for mo
10569
10570 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10571
10572 [BZ #14888]
10573 * time/Makefile (tests): Add tst-strptime-whitespace.
10574 * time/strptime_l.c (get_number): Use ISSPACE.
10575 (__strptime_internal): Likewise.
10576 * time/tst-strptime-whitespace.c: New test case.
10577
10578 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10579
10580 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10581 member.
10582 (_nss_files_init): Set it here.
10583
10584 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10585
10586 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10587 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10588 unsigned.
10589
10590 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10591
10592 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10593
10594 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10595
10596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10597 size just once.
10598
10599 2013-04-21 David S. Miller <davem@davemloft.net>
10600
10601 * po/ru.po: Update Russion translation from translation project.
10602
10603 2013-04-17 Adam Conrad <adconrad@0c3.net>
10604
10605 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10606 and setfsgid.
10607
10608 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10609
10610 * configure.in: Remove i386 configure warning. Remove i386 case.
10611 * configure: Regenerate.
10612 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10613 Add example to error message.
10614 * sysdeps/i386/configure: Regenerate.
10615
10616 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10617
10618 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10619 slowtan.
10620 * benchtests/cos-inputs: New file.
10621 * benchtests/slowcos-inputs: New file.
10622 * benchtests/slowcos.c: New file.
10623 * benchtests/slowtan-inputs: New file.
10624 * benchtests/slowtan.c: New file.
10625 * benchtests/tan-inputs: New file.
10626
10627 2013-04-16 Roland McGrath <roland@hack.frob.com>
10628
10629 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10630 considered kosher.
10631
10632 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10633
10634 * benchtests/Makefile: Include cppflags-iterator.mk to add
10635 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10636
10637 * Makefile.in (bench-clean): New target.
10638 * benchtests/Makefile (bench-clean): Likewise.
10639
10640 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10641
10642 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10643
10644 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10645
10646 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10647
10648 2013-04-15 Andreas Schwab <schwab@suse.de>
10649
10650 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10651 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10652 * nscd/pwdcache.c (cache_addpw): Likewise.
10653 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10654 more than recsize.
10655
10656 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10657
10658 * benchtests/Makefile (bench): Write all output to
10659 bench-out.tmp together.
10660
10661 2013-04-15 Andreas Schwab <schwab@suse.de>
10662
10663 * nscd/nscd.c (main): Don't fork again after closing files.
10664
10665 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
10667 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10668
10669 * benchtests/Rules (bench-deps): Collect dependencies into a
10670 single variable. Add Makefile to dependencies.
10671 ($(objpfx)bench-%.c): Depend on bench-deps.
10672
10673 2013-04-12 Roland McGrath <roland@hack.frob.com>
10674 Xavier Roche <roche+kml2@exalead.com>
10675
10676 [BZ #15361]
10677 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10678 just that it's a file descriptor.
10679 * manual/llio.texi (Synchronizing AIO Operations): Update description
10680 for EBADF error from aio_fsync.
10681
10682 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10683
10684 * Rules (bench): Move target definition...
10685 * benchtests/Makefile: ... here.
10686
10687 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10688
10689 * math/libm-test.inc (cos_test): Fix PI/2 test.
10690 (sincos_test): Likewise.
10691 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10692 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10693
10694 2013-04-11 Andreas Schwab <schwab@suse.de>
10695
10696 [BZ #13988]
10697 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10698 accept exponent character only when digits were seen.
10699 * stdio-common/Makefile (tests): Add bug26.
10700 * stdio-common/bug26.c: New file.
10701
10702 [BZ #14293]
10703 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10704 non-freeable.
10705
10706 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10707
10708 * Makeconfig (rtld-prefix): Define built linker prefix.
10709 * Rules (run-bench): Use it.
10710 * math/Makefile (run-regen-ulps): Likewise.
10711
10712 * Rules (bench): Remove eval.
10713
10714 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10715 Roland McGrath <roland@hack.frob.com>
10716 Ondrej Bilka <neleai@seznam.cz>
10717
10718 [BZ #15346]
10719 * time/getdate.c: Include ctype.h and alloca.h.
10720 (__getdate_r): Trim leading and trailing spaces of input.
10721 * time/tst-getdate.c (tests): Add tests with leading and
10722 trailing spaces.
10723
10724 2013-04-08 Roland McGrath <roland@hack.frob.com>
10725
10726 [BZ #14280]
10727 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10728 when computing value.
10729
10730 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10731
10732 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10733 Use testrun.sh to run libm tests.
10734
10735 [BZ #15309]
10736 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10737
10738 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10739
10740 [BZ #15264]
10741 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10742
10743 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10744
10745 * Makefile.in (regen-ulps): New target.
10746 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10747 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10748 [ifneq (no,$(PERL)] (regen-ulps): New target.
10749 [ifeq (no,$(PERL)] (regen-ulps): New target.
10750 * math/libm-test.inc (ulps_file_name): Define.
10751 (output_dir): New variable.
10752 (options): Add "output-dir" option.
10753 (parse_opt): Handle 'o' case.
10754 (main): If output_dir is non-NULL use it as a prefix
10755 otherwise use "".
10756 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10757
10758 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10759
10760 [BZ #10060, #10062]
10761 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10762 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10763 fail configure if __sync_val_compare_and_swap is not inlined.
10764 * sysdeps/i386/configure: Regenerate.
10765 * configure.in: Build for i686 when configured for i386.
10766 * configure: Regenerate.
10767 * README: Remove i386 reference.
10768
10769 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10770
10771 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10772 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10773
10774 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10775
10776 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10777 (lmsnanval): New variables.
10778 (F): Add conversion tests.
10779 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10780 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10781
10782 * stdio-common/tstdiomisc.c (F): Properly collect individual
10783 tests' results.
10784
10785 [BZ #14686, #15336]
10786 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10787 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10788 Instead, use input NaN values or generate a qNaN by arithmetic
10789 operation. Also fix bugs to comply with the standard.
10790 * math/libm-test.inc (remainder_test): Add more tests.
10791
10792 [BZ #15335, #15342]
10793 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10795 input NaN values or generate a qNaN by arithmetic operation.
10796
10797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10798 unreachable code.
10799
10800 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10801 definitions.
10802
10803 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10804
10805 [BZ #14478]
10806 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10807 underflowed result.
10808 * math/s_cexpf.c (__cexpf): Likewise.
10809 * math/s_cexpl.c (__cexpl): Likewise.
10810 * math/libm-test.inc (cexp_test): Add more tests.
10811
10812 2013-04-03 Andreas Schwab <schwab@suse.de>
10813
10814 [BZ #15330]
10815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10816 order arrays from heap if bigger than alloca cutoff.
10817
10818 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10819
10820 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10821 (SNAN_TESTS_double): Refer to GCC PR56831.
10822 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10823 GCC PR56828.
10824
10825 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10826
10827 * Rules (bench): Move bench.out after the run is complete.
10828
10829 * Rules (bench): Echo currently running benchmark.
10830
10831 * benchtests/Makefile (bench): Add atan and slowatan.
10832 * benchtests/atan-inputs: New file.
10833 * benchtests/slowatan-inputs: New file.
10834 * benchtests/slowatan.c: New file.
10835
10836 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10837 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10838 its value.
10839
10840 [BZ #15305]
10841 * sysdeps/unix/sysv/linux/kernel-features.h
10842 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10843 __ASSUME_XFS_RESTRICTED_CHOWN.
10844 * sysdeps/unix/sysv/linux/pathconf.c
10845 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10846 Save and restore errno.
10847
10848 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10849
10850 [BZ #15327]
10851 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10852 arguments using __kernel_casinh.
10853 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10854 arguments using __kernel_casinhf.
10855 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10856 arguments using __kernel_casinhl.
10857 * math/libm-test.inc (cacosh_test): Add more tests.
10858 * sysdeps/i386/fpu/libm-test-ulps: Update.
10859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10860
10861 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10862
10863 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10865
10866 * bench/Makefile (bench): Add sin and slowsin.
10867 * benchtests/sin-inputs: New file.
10868 * benchtests/slowsin-inputs: New file.
10869 * benchtests/slowsin.c: New file.
10870
10871 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10872 (bench): Add slowexp and slowpow.
10873 (exp-ITER): Increase iterations.
10874 (pow-ITER): Likewise.
10875 * benchtests/exp-inputs: Change input.
10876 * benchtests/pow-inputs: Likewise.
10877 * benchtests/slowexp-inputs: New file.
10878 * benchtests/slowexp.c: New file.
10879 * benchtests/slowpow-inputs: New file.
10880 * benchtests/slowpow.c: New file.
10881
10882 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10883
10884 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10885 instructions.
10886 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10887 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10888 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10889 * benchtests/Makefile: Add rint benchtest.
10890 * benchtests/rint-inputs: Input for rint benchtest.
10891
10892 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10893
10894 * Versions.def (libm): Add GLIBC_2.18.
10895 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10896 hidden libm prototypes.
10897 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10898 * math/Makefile (libm-calls): Add s_issignaling.
10899 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10900 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10901 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10902 declaration.
10903 * math/math.h [__USE_GNU] (issignaling): New macro.
10904 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10905 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10907 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10910 * manual/arith.texi (issignaling): New section.
10911 * manual/libm-err-tab.pl (@all_functions): Update comment.
10912 * math/gen-libm-test.pl (parse_args): Apply special handling for
10913 issignaling.
10914 * math/libm-test.inc (print_float, issignaling_test): New
10915 functions.
10916 (check_float_internal): Add issignaling checks.
10917 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10918 default definition.
10919 * sysdeps/powerpc/math-tests.h: New file.
10920 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10921 tests.
10922 * math/test-snan.c (TEST_FUNC): Likewise.
10923
10924 2013-03-30 David S. Miller <davem@davemloft.net>
10925
10926 * po/de.po: Update from translation team.
10927
10928 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10929
10930 [BZ #10357]
10931 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10932 imaginary part less than 1.0 and real part less than 0.5
10933 specially.
10934 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10935 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10936 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10937 (cacos_test): Add more tests.
10938 (casin_test): Likewise.
10939 (casinh_test): Likewise.
10940 * sysdeps/i386/fpu/libm-test-ulps: Update.
10941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942
10943 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10944
10945 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10946 ONE with its value.
10947
10948 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10949 (__pow_mp): Replace ONE and MONE with their values.
10950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10951 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10952 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10953 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10954 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10955 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10956
10957 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10958
10959 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10960 (__pow_mp): Replace ZERO and MZERO with their values.
10961 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10962 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10963 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10965 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10966 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10967 (__sqr): Likewise.
10968
10969 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10970
10971 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10972
10973 2013-03-28 Roland McGrath <roland@hack.frob.com>
10974
10975 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10976 Declare with __attribute__ ((weak)).
10977 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10978 Call __call_tls_dtors only if it's not NULL.
10979
10980 2013-03-28 Roland McGrath <roland@hack.frob.com>
10981
10982 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10983 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10984 magic __ehdr_start linker symbol if it's defined.
10985 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10986 them up here if it was already done.
10987
10988 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10989 (_dl_aux_init): Use const in cast when setting it.
10990 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10991 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10992 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10993
10994 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10995 Declare them here.
10996 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10997 * csu/libc-tls.c: Nor here.
10998 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10999
11000 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11001 (__libc_message): Never call vsyslog.
11002
11003 2013-03-28 Alan Modra <amodra@gmail.com>
11004
11005 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11006 Define as empty.
11007 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11008 Likewise.
11009
11010 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11011
11012 [BZ #15214]
11013 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11014 underflow.
11015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11016
11017 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11018
11019 [BZ #15304]
11020 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11021 Don't add gid passed as argument.
11022
11023 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11024
11025 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11026
11027 [BZ #15307]
11028 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11029 imaginary part between 1.0 and 1.5 and real part less than 0.5
11030 specially.
11031 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11032 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11033 * math/libm-test.inc (cacos_test): Add more tests.
11034 (casin_test): Likewise.
11035 (casinh_test): Likewise.
11036 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038
11039 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11040
11041 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11042 constants.
11043 (norm): Likewise.
11044 (denorm): Likewise.
11045 (__dbl_mp): Likewise.
11046 (add_magnitudes): Likewise.
11047 (sub_magnitudes): Likewise.
11048 (__add): Likewise.
11049 (__sub): Likewise.
11050 (__mul): Likewise.
11051 (__sqr): Likewise.
11052 (__inv): Likewise.
11053 (__dvd): Likewise.
11054
11055 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11056 commented code.
11057 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11058 (__dubcos): Likewise.
11059 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11060 (__ieee754_acos): Likewise.
11061 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11062 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11063 (__exp1): Likewise.
11064 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11066 (log1): Likewise.
11067 (my_log2): Likewise.
11068 (checkint): Likewise.
11069 * sysdeps/ieee754/dbl-64/e_remainder.c
11070 (__ieee754_remainder): Likewise.
11071 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11072 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11073 (bsloww): Likewise.
11074 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11075
11076 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11077 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11078 MANTISSA_STORE_T to store computations on mantissa. Use
11079 macros for rounding and division.
11080 (denorm): Likewise.
11081 (__dbl_mp): Likewise.
11082 (add_magnitudes): Likewise.
11083 (sub_magnitudes): Likewise.
11084 (__mul): Likewise.
11085 (__sqr): Likewise.
11086 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11087 powers of two in terms of TWOPOW macro.
11088 (mp_no): Make type of mantissa as MANTISSA_T.
11089 [!RADIXI]: Define RADIXI.
11090 [!TWO52]: Define TWO52.
11091 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11092
11093 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11094
11095 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11096 llroundl symbol when building for PPC32.
11097
11098 2013-03-24 Mark H Weaver <mhw@netris.org>
11099
11100 * manual/arith.texi (Normalization Functions): Fix prototypes for
11101 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11102
11103 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11104
11105 [BZ #13889]
11106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11107 high value to check if expl overflow.
11108 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11109 to check for underflow and overflow.
11110 * math/libm-test.inc: Add exp test.
11111
11112 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11113
11114 [BZ #11120]
11115 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11116 with NOT_IN_libc.
11117
11118 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11119
11120 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11121 symbol.
11122
11123 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11124
11125 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11126 wrap blocks consisting of several statements.
11127
11128 * sysdeps/generic/math-tests.h: New file.
11129 * sysdeps/i386/fpu/math-tests.h: Likewise.
11130 * math/test-snan.c: Include it.
11131 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11132
11133 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11134
11135 [BZ #15285]
11136 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11137 (__ieee754_j0l): Do not improve calculations using cos of twice
11138 input for inputs above LDBL_MAX / 2.0L.
11139 (__ieee754_y0l): Likewise.
11140 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11141 (__ieee754_j1l): Do not improve calculations using cos of twice
11142 input for inputs above LDBL_MAX / 2.0L.
11143 (__ieee754_y1l): Likewise.
11144 * math/libm-test.inc (j0_test): Add another test.
11145 (j1_test): Likewise.
11146 (y0_test): Likewise.
11147 (y1_test): Likewise.
11148 * sysdeps/i386/fpu/libm-test-ulps: Update.
11149
11150 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11151
11152 * Rules ($(objpfx)bench-%.c): Include code from a C source
11153 file.
11154
11155 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11156
11157 [BZ #15287]
11158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11159 imaginary part 1.0 and real part less than 0.5 specially.
11160 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11161 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11162 * math/libm-test.inc (cacos_test): Add more tests.
11163 (casin_test): Likewise.
11164 (casinh_test): Likewise.
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11167
11168 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11169
11170 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11171 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11172
11173 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11174
11175 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11176 * config.make.in (config-cflags-sse4): Remove variable.
11177 (config-cflags-avx): Likewise.
11178 (config-cflags-sse2avx): Likewise.
11179 (config-cflags-novzeroupper): Likewise.
11180 (config-asflags-i686): Likewise.
11181 (have-mfma4): Likewise.
11182 (have-as-vis3): Likewise.
11183 (MIG): Likewise.
11184 * configure.in (MIG): Do not AC_SUBST.
11185 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11186 (libc_cv_cc_sse4): Do not AC_SUBST.
11187 (libc_cv_cc_avx): Likewise.
11188 (libc_cv_cc_sse2avx): Likewise.
11189 (libc_cv_cc_novzeroupper): Likewise.
11190 (libc_cv_cc_fma4): Likewise.
11191 (libc_cv_as_i686): Likewise.
11192 (libc_cv_sparc_as_vis3): Likewise.
11193 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11194 LIBC_CONFIG_VAR.
11195 (config-asflags-i686): Likewise.
11196 (config-cflags-avx): Likewise.
11197 (config-cflags-sse2avx): Likewise.
11198 (have-mfma4): Likewise.
11199 (config-cflags-novzeroupper): Likewise.
11200 * sysdeps/mach/configure.in (MIG): Likewise.
11201 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11202 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11203 LIBC_CONFIG_VAR.
11204 (config-cflags-avx): Likewise.
11205 (config-cflags-sse2avx): Likewise.
11206 (have-mfma4): Likewise.
11207 (config-cflags-novzeroupper): Likewise.
11208 * configure: Regenerated.
11209 * sysdeps/i386/configure: Likewise.
11210 * sysdeps/mach/configure: Likewise.
11211 * sysdeps/sparc/configure: Likewise.
11212 * sysdeps/x86_64/configure: Likewise.
11213
11214 2013-03-20 Roland McGrath <roland@hack.frob.com>
11215
11216 [BZ #14812]
11217 * locale/programs/localedef.c (options): Put N_ translation marker
11218 on argument names, not just descriptions.
11219
11220 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11221
11222 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11223
11224 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11225
11226 [BZ #14176]
11227 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11228
11229 2013-03-19 Roland McGrath <roland@hack.frob.com>
11230
11231 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11232 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11233 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11234 [!BEFORE_ABORT] (before_abort): New function.
11235 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11236 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11237 (writev_for_fatal): New function.
11238 (WRITEV_FOR_FATAL): New macro; call that.
11239 (backtrace_and_maps): New function.
11240 (BEFORE_ABORT): New macro; call that.
11241 (struct str_list): Type removed.
11242 (__libc_message, __libc_fatal): Functions removed.
11243 Include <sysdeps/posix/libc_fatal.c> instead.
11244
11245 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11246
11247 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11248 constants.
11249 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11250 double constants.
11251
11252 2013-03-19 Andreas Schwab <schwab@suse.de>
11253
11254 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11255 * sysdeps/gnu/configure: Regenerate.
11256
11257 * configure.in: Substitute libc_cv_rtlddir.
11258 * configure: Regenerate.
11259 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11260 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11261 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11262 * elf/Makefile (install-others, CFLAGS-interp.c)
11263 (ldso_install, common-ldd-rewrite): Likewise.
11264 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11265 $(inst_slibdir)/$(rtld-installed-name).
11266 * scripts/rellns-sh: Add -p option.
11267 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11268 for source.
11269
11270 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11271
11272 * manual/nptl.texi: Renamed to ...
11273 * manual/threads.texi: ... this.
11274 * manual/Makefile (chapters): Update.
11275
11276 2013-03-18 Roland McGrath <roland@hack.frob.com>
11277
11278 [BZ #14812]
11279 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11280 on argument names, not just descriptions.
11281 * malloc/memusagestat.c (options): Likewise.
11282 * nss/getent.c (options): Likewise.
11283
11284 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11285
11286 [BZ #14812]
11287 * iconv/iconv_prog.c (options): Put N_ translation marker
11288 on argument names, not just descriptions.
11289 * iconv/iconvconfig.c (options): Likewise.
11290
11291 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11292
11293 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11294 implementation which is faster on all x86_64 architectures.
11295 Tested on AMD, Intel Nehalem, SNB, IVB.
11296 * sysdeps/x86_64/strnlen.S: Likewise.
11297
11298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11299 Remove all multiarch strlen and strnlen versions.
11300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11301 Remove strlen and strnlen related parts.
11302
11303 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11304 Inline strlen part.
11305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11306
11307 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11308 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11309 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11310 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11311 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11312 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11313
11314 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11315
11316 * manual/memory.texi (Malloc Tunable Parameters):
11317 Sort parameters alphabetically. Add comments for missing entries.
11318
11319 2013-03-17 David S. Miller <davem@davemloft.net>
11320
11321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11322
11323 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #15283]
11326 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11327 for arguments at most half maximum finite value.
11328 * math/libm-test.inc (j0_test): Add more tests.
11329 (j1_test): Likewise.
11330 (y0_test): Likewise.
11331 (y1_test): Likewise.
11332 * sysdeps/i386/fpu/libm-test-ulps: Update.
11333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11334
11335 [BZ #14155]
11336 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11337 1 / x and functions P and Q for arguments above 0x1p256L.
11338 (__ieee754_y0l): Likewise.
11339 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11340 (__ieee754_y1l): Likewise.
11341 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11342 (j1_test): Likewise.
11343 (y0_test): Likewise.
11344 (y1_test): Likewise.
11345
11346 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11347
11348 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11349 variable.
11350
11351 2013-03-15 Roland McGrath <roland@hack.frob.com>
11352
11353 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11354 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11355 zero since it's initialized to EXEC_PAGESIZE.
11356
11357 * sysdeps/unix/sysv/linux/ldsodefs.h
11358 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11359 * sysdeps/generic/ldsodefs.h: ... here.
11360
11361 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11362
11363 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11364
11365 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11366 math/test-snan.c.
11367 * math/test-snan.c: Renamed from
11368 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11369 * math/Makefile (tests): Add test-snan.
11370 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11371 test-powerpc-snan.
11372
11373 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11374 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11375 functions.
11376 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11377 __builtin_nan family of functions.
11378 * math/libm-test.inc (initialize): Initialize qnan_value with
11379 __builtin_nan family of functions.
11380 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11381 Remove variables.
11382 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11383 Remove functions.
11384 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11385 storage class. Initialize qNaN_var and sNaN_var with
11386 __builtin_nan and __builtin_nans families of functions,
11387 respectively.
11388
11389 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11390 (sqrt_test): Remove duplicate test with qNaN input.
11391 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11392 (round_test, signbit_test, significand_test): Note missing +/-Inf
11393 as well as qNaN tests.
11394
11395 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11396 qNaN_var. Fix a few strings, too.
11397 * math/libm-test.inc (nan_value): Rename to qnan_value.
11398 * math/gen-libm-test.pl (%beautify): Adjust to that.
11399 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11400 * math/test-misc.c (main): Likewise.
11401 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11402 to __qnan_bytes, and __qnan_union, respectively.
11403 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11404 Likewise.
11405 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11406 and lqnanval, respectively.
11407 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11408 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11409 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11410 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11411
11412 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11413 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11414 doubles.
11415
11416 * math/test-misc.c (main): Fix copy'n'pastos.
11417 * misc/tst-efgcvt.c (special): Likewise.
11418
11419 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11420 Remove declarations.
11421
11422 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11423
11424 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11425 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11426 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11427 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11428
11429 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11430
11431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11432 macro to return vdso values correctly in IFUNC implementations.
11433 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11434 Optimization by using IFUNC.
11435
11436 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11437 Richard Henderson <rth@redhat.com>
11438 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11439
11440 * Makefile.in (bench): New target.
11441 * NEWS: Mention the benchmark framework.
11442 * Rules (bench): Likewise.
11443 (binaries-bench): Generate binaries for functions to
11444 benchmark.
11445 * benchtests/Makefile: New makefile for benchmark tests.
11446 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11447 programs.
11448 * benchtests/exp-inputs: New input file for EXP function.
11449 * benchtests/pow-inputs: New input file for POW function.
11450 * scripts/bench.pl: New script to generate source files for
11451 benchmark programs.
11452
11453 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11454
11455 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11457 computations on mantissa. Use macros for rounding and
11458 division.
11459 (denorm): Likewise.
11460 (__dbl_mp): Likewise.
11461 (add_magnitudes): Likewise.
11462 (sub_magnitudes): Likewise.
11463 (__mul): Likewise.
11464 (__sqr): Likewise.
11465 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11466 powers of two in terms of TWOPOW macro.
11467 (mp_no): Make type of mantissa as MANTISSA_T.
11468 [!RADIXI]: Define RADIXI.
11469 [!TWO52]: Define TWO52.
11470 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11471
11472 * manual/nptl.texi (cindex): Modify threads to pthreads.
11473
11474 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11475
11476 * sysdeps/x86_64/preconfigure: Regenerated.
11477
11478 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11479
11480 [BZ #14155]
11481 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11482 0x1p28 and above.
11483 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11484 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11485 0x1p28 and above.
11486 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11487 * math/libm-test.inc (j0_test): Do not allow one spurious
11488 underflow exception.
11489 (y1_test): Likewise.
11490
11491 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11492
11493 * manual/Makefile (chapters): Add nptl.
11494 * manual/debug.texi (Debugging Support): Add link to Threads
11495 chapter.
11496 * manual/nptl.texi: New file.
11497
11498 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11499
11500 2013-03-14 Petr Baudis <pasky@ucw.cz>
11501
11502 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11503 for non-NULL pointer before the memory validity test. Pointed
11504 out by Holger Brunck <holger.brunck@keymile.com>.
11505
11506 2013-03-13 Andreas Schwab <schwab@suse.de>
11507
11508 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11509 instead of .os.
11510
11511 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11512
11513 * timezone/zic.c: Update from tzcode 2013b.
11514
11515 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11516
11517 * manual/install.texi (Configuring and compiling):
11518 Mention i686 and i586.
11519 * INSTALL: Regenerate.
11520
11521 2013-03-12 Roland McGrath <roland@hack.frob.com>
11522
11523 * sysdeps/init_array/elf-init.c: New file.
11524 * csu/elf-init.c
11525 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11526 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11527
11528 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11529 __gmon_start__ as global, but as static with a .preinit_array pointer.
11530 * sysdeps/init_array/gmon-start.c: New file. Use that.
11531 * sysdeps/init_array/crti.S: New file, empty except for comments.
11532 * sysdeps/init_array/crtn.S: Likewise.
11533
11534 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11535
11536 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11537 definining bcopy.
11538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11539 Remove Prefer_SSE_for_memop.
11540 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11541 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11542 HAS_PREFER_SSE_FOR_MEMOP.
11543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11544 memset-x86-64.
11545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11546 Remove bzero, memset ifunc support.
11547 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11548 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11549 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11550 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11551
11552 2013-03-11 Andreas Schwab <schwab@suse.de>
11553
11554 [BZ #15234]
11555 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11556 by SHLIB_COMPAT.
11557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11558 (GLIBC_2.16): Remove pthread_atfork.
11559
11560 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11561
11562 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11563 (ptestcases.h): Likewise.
11564
11565 2013-03-08 Roland McGrath <roland@hack.frob.com>
11566
11567 * Makeconfig ($(common-objpfx)config.status): Depend on
11568 sysdeps/*/preconfigure{,.in} too.
11569
11570 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11571
11572 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11573 (__free_hook): Use void * instead of __malloc_ptr_t.
11574 (__malloc_hook): Likewise.
11575 (__realloc_hook): Likewise.
11576 (__memalign_hook): Likewise.
11577 (__after_morecore_hook): Likewise.
11578 * malloc/arena.c (save_malloc_hook): Likewise.
11579 (save_free_hook): Likewise.
11580 * malloc/hooks.c (malloc_hook_ini): Likewise.
11581 (realloc_hook_ini): Likewise.
11582 (memalign_hook_ini): Likewise.
11583 * malloc/malloc.c (malloc_hook_ini): Likewise.
11584 (realloc_hook_ini): Likewise.
11585 (memalign_hook_ini): Likewise.
11586 (__free_hook): Likewise.
11587 (__malloc_hook): Likewise.
11588 (__realloc_hook): Likewise.
11589 (__memalign_hook): Likewise.
11590 (__libc_malloc): Likewise.
11591 (__libc_free): Likewise.
11592 (__libc_realloc): Likewise.
11593 (__libc_memalign): Likewise.
11594 (__libc_valloc): Likewise.
11595 (__libc_pvalloc): Likewise.
11596 (__libc_calloc): Likewise.
11597 (__posix_memalign): Likewise.
11598 * malloc/morecore.c (__sbrk): Likewise.
11599 (__default_morecore): Likewise.
11600
11601 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11602
11603 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11604 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11605 __malloc_ptrdiff_t.
11606
11607 * malloc/malloc.h (__malloc_size_t): Remove macro.
11608 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11609 __malloc_size_t.
11610 (old_memalign_hook): Likewise.
11611 (old_realloc_hook): Likewise.
11612 (struct hdr): Likewise.
11613 (flood): Likewise.
11614 (mallochook): Likewise.
11615 (memalignhook): Likewise.
11616 (reallochook): Likewise.
11617 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11618 (tr_old_realloc_hook): Likewise.
11619 (tr_old_memalign_hook): Likewise.
11620 (tr_mallochook): Likewise.
11621 (tr_reallochook): Likewise.
11622 (tr_memalignhook): Likewise.
11623
11624 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11625
11626 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11627 default_ldbl_pack and using as default implementation.
11628 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11629 implementation.
11630 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11631 redundant definition.
11632 (ldbl_insert_mantissa): Likewise.
11633 (ldbl_canonicalize): Likewise.
11634 (ldbl_nearbyint): Likewise.
11635 (ldbl_pack): Rename to ldbl_pack_ppc.
11636 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11637 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11638 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11639
11640 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11641
11642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11643 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11644 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11645 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11647 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11648 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11649 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11650
11651 2013-03-07 Andreas Jaeger <aj@suse.de>
11652
11653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11654 bits/mman-linux.h.
11655
11656 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11657
11658 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11659 Include mpa.h and declare __MPEXP.
11660 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11662 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11663 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11664 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11665 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11666 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11667
11668 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11669 (__slowpow): Use long double EXPL and LOGL functions to
11670 compute POW.
11671 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11672 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11673 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11674 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11675 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11676 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11677
11678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11679 intermediate variable to calculate exponent.
11680 (__sqr): Likewise.
11681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11682 Likewise.
11683 (__sqr): Likewise.
11684
11685 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11686 [!NO__SQR]: Define __sqr.
11687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11688 and NO__SQR. Remove all code except __mul and __sqr. Include
11689 sysdeps/ieee754/dbl-64/mpa.c.
11690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11691
11692 [BZ #12723]
11693 * posix/Makefile (tests): Add tst-pathconf.
11694 * posix/tst-pathconf.c: New test case.
11695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11696 _PC_PIPE_BUF.
11697 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11698
11699 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11700
11701 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11702
11703 2013-03-06 Andreas Jaeger <aj@suse.de>
11704
11705 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11706 definition via __MAP_ANONYMOUS.
11707
11708 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11709 it's not part of Linux headers.
11710
11711 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11712 (MAP_HUGE_MASK): Define.
11713
11714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11715 Define.
11716 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11718 Define.
11719 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11720 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11721 Define.
11722 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11724 Define.
11725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11726
11727 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11728 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11729 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11730 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11731 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11732 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11733
11734 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11735 Handle f2fs.
11736
11737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11738 Handle f2fs and efivarfs.
11739
11740 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11741 f2fs.
11742
11743 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11744 (EFIVARFS_MAGIC): Add.
11745 (F2FS_LINK_MAX): Add.
11746
11747 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11748
11749 * stdio-common/vfprintf.c: Replace __builtin_expect with
11750 __glibc_unlikely.
11751
11752 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11753
11754 [BZ #13550]
11755 * sysdeps/generic/bp-sym.h: Remove file.
11756 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11757 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11758 <bp-sym.h> and <bp-asm.h>.
11759 (__longjmp): Don't use BP_SYM.
11760 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11761 and <bp-asm.h>.
11762 (memcpy): Don't use BP_SYM.
11763 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11764 <bp-sym.h> and <bp-asm.h>.
11765 (memcpy): Don't use BP_SYM.
11766 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11767 <bp-asm.h>.
11768 (memcpy): Don't use BP_SYM.
11769 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11770 <bp-asm.h>.
11771 (memset): Don't use BP_SYM.
11772 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11773 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11774 (__bzero): Don't use BP_SYM.
11775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11777 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11778 <bp-sym.h> and <bp-asm.h>.
11779 (memcmp): Don't use BP_SYM. Remove comment about bounded
11780 pointers.
11781 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11782 <bp-sym.h> and <bp-asm.h>.
11783 (memcpy): Don't use BP_SYM.
11784 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11785 <bp-sym.h> and <bp-asm.h>.
11786 (memset): Don't use BP_SYM.
11787 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11788 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11789 (__bzero): Don't use BP_SYM.
11790 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11791 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11792 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11793 <bp-sym.h> and <bp-asm.h>.
11794 (strncmp): Don't use BP_SYM. Remove comment about bounded
11795 pointers.
11796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11797 <bp-sym.h> and <bp-asm.h>.
11798 (memcpy): Don't use BP_SYM.
11799 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11800 <bp-sym.h> and <bp-asm.h>.
11801 (memset): Don't use BP_SYM.
11802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11804 (__bzero): Don't use BP_SYM.
11805 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11806 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11808 <bp-sym.h> and <bp-asm.h>.
11809 (__memchr): Don't use BP_SYM.
11810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11811 <bp-sym.h> and <bp-asm.h>.
11812 (memcmp): Don't use BP_SYM. Remove comment about bounded
11813 pointers.
11814 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11815 <bp-sym.h> and <bp-asm.h>.
11816 (memcpy): Don't use BP_SYM.
11817 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11818 <bp-sym.h> and <bp-asm.h>.
11819 (__mempcpy): Don't use BP_SYM.
11820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11821 <bp-sym.h> and <bp-asm.h>.
11822 (__memrchr): Don't use BP_SYM.
11823 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (memset): Don't use BP_SYM.
11826 (__bzero): Likewise.
11827 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11828 <bp-sym.h> and <bp-asm.h>.
11829 (__rawmemchr): Don't use BP_SYM.
11830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11831 <bp-sym.h> and <bp-asm.h>.
11832 (__STRCMP): Don't use BP_SYM.
11833 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11834 <bp-sym.h> and <bp-asm.h>.
11835 (strchr): Don't use BP_SYM.
11836 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11837 <bp-sym.h> and <bp-asm.h>.
11838 (__strchrnul): Don't use BP_SYM.
11839 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11840 <bp-sym.h> and <bp-asm.h>.
11841 (strlen): Don't use BP_SYM.
11842 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11843 <bp-sym.h> and <bp-asm.h>.
11844 (strncmp): Don't use BP_SYM. Remove comment about bounded
11845 pointers.
11846 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11847 <bp-sym.h> and <bp-asm.h>.
11848 (__strnlen): Don't use BP_SYM.
11849 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11850 <bp-sym.h> and <bp-asm.h>.
11851 (__GI__setjmp): Don't use BP_SYM.
11852 (_setjmp): Likewise.
11853 (__sigsetjmp): Likewise.
11854 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11855 (L(start_addresses)): Don't use BP_SYM.
11856 (_start): Likewise.
11857 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11858 <bp-asm.h>.
11859 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11860 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11861 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11862 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11863 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11864 <bp-asm.h>.
11865 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11866 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11867 about bounded pointers.
11868 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11869 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11870 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11871 <bp-asm.h>.
11872 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11873 about bounded pointers. Remove GKM FIXME comments.
11874 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11875 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11876 <bp-asm.h>.
11877 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11878 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11879 Remove GKM FIXME comments.
11880 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11881 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11882 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11883 <bp-asm.h>.
11884 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11885 about bounded pointers. Remove GKM FIXME comment.
11886 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11887 and <bp-asm.h>.
11888 (strncmp): Don't use BP_SYM. Remove comment about bounded
11889 pointers.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11896 comment.
11897
11898 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11899
11900 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11901 call free(NULL).
11902
11903 2013-03-05 David S. Miller <davem@davemloft.net>
11904
11905 * po/es.po: Update from translation team.
11906
11907 2013-03-05 Andreas Jaeger <aj@suse.de>
11908
11909 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11910 <bits/mman-linux.h>.
11911 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11912 is fine.
11913 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11914 <bits/mman-linux.h> to end of file.
11915 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11916 is fine.
11917 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11918 <bits/mman-linux.h> to end of file.
11919 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11920 is fine.
11921 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11922 <bits/mman-linux.h> to end of file.
11923
11924 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11925 (MCL_CURRENT, MCL_FUTURE): Define here.
11926
11927 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11928
11929 [BZ #15232]
11930 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11931 attribute_hidden.
11932 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11933
11934 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11935
11936 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11937 fourth parameter needed for rt_sigprocmask syscall.
11938 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11939 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11940 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11941 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11942 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11943 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11944
11945 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11946
11947 [BZ #13550]
11948 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11949 comment about bounded pointers.
11950 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11951 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11952
11953 2013-03-04 Andreas Jaeger <aj@suse.de>
11954
11955 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11956 common definitions.
11957
11958 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11959 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11960 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11961 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11964
11965 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11966
11967 [BZ #15055]
11968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11969 __ieee754_sqrl instead of __sqrl.
11970
11971 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11972
11973 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11974 * sysdeps/powerpc/fpu_control.h: ... here.
11975 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11976 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11977 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11978 * sysdeps/powerpc/bits/mathinline.h: ... here.
11979
11980 2013-03-01 Roland McGrath <roland@hack.frob.com>
11981
11982 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11983 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11984 to just [NEED_DL_SYSINFO_DSO].
11985 * elf/dl-support.c: Likewise.
11986 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11987 * elf/rtld.c (dl_main): Likewise.
11988 * elf/setup-vdso.h (setup_vdso): Likewise.
11989 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11990 * sysdeps/unix/sysv/linux/dl-sysdep.c
11991 (_dl_discover_osversion): Likewise.
11992
11993 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11994
11995 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11996 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11997
11998 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11999
12000 * NEWS: Mention libm performance improvements and non-x86 PI
12001 futex support.
12002
12003 * csu/libc-start.c (__pthread_initialize_minimal): Change
12004 function arguments.
12005 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12006
12007 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12008
12009 [BZ #13550]
12010 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12011 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12012 <bp-sym.h> and <bp-asm.h>.
12013 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12014 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12015 and <bp-asm.h>.
12016 (memcpy): Don't use BP_SYM.
12017 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12018 <bp-asm.h>.
12019 (__mpn_add_n): Don't use BP_SYM.
12020 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12021 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12022 and <bp-asm.h>.
12023 (__mpn_addmul_1): Don't use BP_SYM.
12024 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12025 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12026 <bp-sym.h>.
12027 (_setjmp): Don't use BP_SYM.
12028 (__novmx_setjmp): Likewise.
12029 (__GI__setjmp): Likewise.
12030 (__vmx_setjmp): Likewise.
12031 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12032 <bp-sym.h>.
12033 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12034 (__bzero): Don't use BP_SYM.
12035 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12036 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12037 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12038 <bp-sym.h> and <bp-asm.h>.
12039 (memcpy): Don't use BP_SYM.
12040 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12041 <bp-sym.h> and <bp-asm.h>.
12042 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12043 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12044 <bp-sym.h> and <bp-asm.h>.
12045 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12046 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12047 <bp-asm.h>.
12048 (__mpn_lshift): Don't use BP_SYM.
12049 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12050 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12051 <bp-asm.h>.
12052 (memset): Don't use BP_SYM.
12053 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12054 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12055 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12056 <bp-asm.h>.
12057 (__mpn_mul_1): Don't use BP_SYM.
12058 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12060 <bp-sym.h> and <bp-asm.h>.
12061 (memcmp): Don't use BP_SYM.
12062 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12063 <bp-sym.h> and <bp-asm.h>.
12064 (memcpy): Don't use BP_SYM.
12065 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12066 <bp-sym.h> and <bp-asm.h>.
12067 (memset): Don't use BP_SYM.
12068 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12069 <bp-sym.h> and <bp-asm.h>.
12070 (strncmp): Don't use BP_SYM.
12071 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12072 <bp-sym.h> and <bp-asm.h>.
12073 (memcpy): Don't use BP_SYM.
12074 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12075 <bp-sym.h> and <bp-asm.h>.
12076 (memset): Don't use BP_SYM.
12077 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12078 <bp-sym.h> and <bp-asm.h>.
12079 (__memchr): Don't use BP_SYM.
12080 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12081 <bp-sym.h> and <bp-asm.h>.
12082 (memcmp): Don't use BP_SYM.
12083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12084 <bp-sym.h> and <bp-asm.h>.
12085 (memcpy): Don't use BP_SYM.
12086 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12087 <bp-sym.h> and <bp-asm.h>.
12088 (__mempcpy): Don't use BP_SYM.
12089 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12090 <bp-sym.h> and <bp-asm.h>.
12091 (__memrchr): Don't use BP_SYM.
12092 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12093 <bp-sym.h> and <bp-asm.h>.
12094 (memset): Don't use BP_SYM.
12095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12096 <bp-sym.h> and <bp-asm.h>.
12097 (__rawmemchr): Don't use BP_SYM.
12098 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (__STRCMP): Don't use BP_SYM.
12101 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12102 <bp-sym.h> and <bp-asm.h>.
12103 (strchr): Don't use BP_SYM.
12104 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12105 <bp-sym.h> and <bp-asm.h>.
12106 (__strchrnul): Don't use BP_SYM.
12107 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12108 <bp-sym.h> and <bp-asm.h>.
12109 (strlen): Don't use BP_SYM.
12110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12111 <bp-sym.h> and <bp-asm.h>.
12112 (strncmp): Don't use BP_SYM.
12113 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12114 <bp-sym.h> and <bp-asm.h>.
12115 (__strnlen): Don't use BP_SYM.
12116 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12117 <bp-asm.h>.
12118 (__mpn_rshift): Don't use BP_SYM.
12119 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12120 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12121 <bp-sym.h> and <bp-asm.h>.
12122 (__sigsetjmp): Don't use BP_SYM.
12123 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12124 (L(start_addresses)): Don't use BP_SYM.
12125 (_start): Likewise.
12126 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12127 <bp-asm.h>.
12128 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12129 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12130 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12131 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12132 <bp-asm.h>.
12133 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12134 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12135 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12136 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12137 <bp-asm.h>.
12138 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12139 comments.
12140 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12141 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12142 <bp-asm.h>.
12143 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12144 FIXME comments.
12145 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12146 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12147 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12148 <bp-asm.h>.
12149 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12150 comment.
12151 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12152 and <bp-asm.h>.
12153 (strncmp): Don't use BP_SYM,
12154 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12155 <bp-asm.h>.
12156 (__mpn_sub_n): Don't use BP_SYM.
12157 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12158 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12159 and <bp-asm.h>.
12160 (__mpn_submul_1): Don't use BP_SYM.
12161 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12163 <bp-sym.h> and <bp-asm.h>.
12164 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12166 <bp-sym.h> and <bp-asm.h>.
12167 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12168 comment.
12169
12170 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12171
12172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12173 Use ZK to minimize writes to Z.
12174 (sub_magnitudes): Simplify code a bit.
12175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12176 Use ZK to minimize writes to Z.
12177 (sub_magnitudes): Simplify code a bit.
12178
12179 2013-02-27 Roland McGrath <roland@hack.frob.com>
12180
12181 * csu/gmon-start.c: Add special exception to license text.
12182
12183 2013-02-27 Richard Henderson <rth@redhat.com>
12184
12185 * scripts/config.guess: Update from config.git.
12186 * scripts/config.sub: Likewise.
12187
12188 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12189
12190 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12191
12192 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12193
12194 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12195
12196 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12197
12198 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12199
12200 2013-02-26 Roland McGrath <roland@hack.frob.com>
12201
12202 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12203 [$(build-shared = yes].
12204
12205 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12206
12207 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12208 (__mul): Reduce iterations for calculating mantissa.
12209
12210 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12211 MPTWO.
12212 (__mpranred): Likewise.
12213
12214 [BZ #15160]
12215 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12216 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12217
12218 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12219
12220 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12221 Define __attribute__.
12222
12223 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12224
12225 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12226 unused.
12227 * posix/regex_internal.h (__attribute): Remove.
12228 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12229 (re_string_context_at): Likewise.
12230 (bitset_not): Use __attribute__ and mark function as possibly
12231 unused.
12232 (bitset_merge): Likewise.
12233 (bitset_mask): Likewise.
12234 (re_string_char_size_at): Likewise.
12235 (re_string_wchar_at): Likewise.
12236 (re_string_elem_size_at): Likewise.
12237
12238 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12239
12240 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12241 code.
12242 (cc32): Likewise.
12243
12244 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12245 (__acr): Likewise.
12246 (__cpy): Likewise.
12247 (norm): Likewise.
12248 (denorm): Likewise.
12249 (__dbl_mp): Likewise.
12250 (add_magnitudes): Likewise.
12251 (sub_magnitudes): Likewise.
12252 (__mul): Likewise.
12253 (__inv): Likewise.
12254
12255 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12256 style.
12257
12258 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12259 style.
12260
12261 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12262 code.
12263
12264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12265 up changes with default code.
12266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12267 Likewise.
12268
12269 2013-02-24 Allan McRae <allan@archlinux.org>
12270
12271 * manual/socket.texi (The Internet Namespace): Order menu items
12272 to match that in the file.
12273
12274 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12275 node listing of the info page menu.
12276
12277 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12278
12279 [BZ #13550]
12280 * sysdeps/i386/bp-asm.h: Remove file.
12281 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12282 (PARMS): Do not use macros from bp-asm.h.
12283 (S1): Likewise.
12284 (S2): Likewise.
12285 (SIZE): Likewise.
12286 (__mpn_add_n): Do not use BP_SYM
12287 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12288 "bp-asm.h".
12289 (PARMS): Do not use macros from bp-asm.h.
12290 (S1): Likewise.
12291 (SIZE): Likewise.
12292 (__mpn_addmul_1): Do not use BP_SYM
12293 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12294 "bp-asm.h".
12295 (PARMS): Do not use macros from bp-asm.h.
12296 (SIGMSK): Likewise.
12297 (_setjmp): Likewise. Do not use BP_SYM.
12298 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12299 "bp-asm.h".
12300 (PARMS): Do not use macros from bp-asm.h.
12301 (SIGMSK): Likewise.
12302 (setjmp): Likewise. Do not use BP_SYM.
12303 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12304 "bp-asm.h".
12305 (PARMS): Do not use macros from bp-asm.h.
12306 (__frexp): Do not use BP_SYM.
12307 (frexp): Likewise.
12308 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12309 "bp-asm.h".
12310 (PARMS): Do not use macros from bp-asm.h.
12311 (__frexpf): Do not use BP_SYM.
12312 (frexpf): Likewise.
12313 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12314 "bp-asm.h".
12315 (PARMS): Do not use macros from bp-asm.h.
12316 (__frexpl): Do not use BP_SYM.
12317 (frexpl): Likewise.
12318 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12319 "bp-asm.h".
12320 (PARMS): Do not use macros from bp-asm.h.
12321 (__remquo): Do not use BP_SYM.
12322 (remquo): Likewise.
12323 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12324 "bp-asm.h".
12325 (PARMS): Do not use macros from bp-asm.h.
12326 (__remquof): Do not use BP_SYM.
12327 (remquof): Likewise.
12328 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12329 "bp-asm.h".
12330 (PARMS): Do not use macros from bp-asm.h.
12331 (__remquol): Do not use BP_SYM.
12332 (remquol): Likewise.
12333 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12334 "bp-asm.h".
12335 (PARMS): Do not use macros from bp-asm.h.
12336 (DEST): Likewise.
12337 (SRC): Likewise.
12338 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12339 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12340 "bp-asm.h".
12341 (PARMS): Do not use macros from bp-asm.h.
12342 (strlen): Do not use BP_SYM.
12343 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12344 "bp-asm.h".
12345 (PARMS): Do not use macros from bp-asm.h.
12346 (S1): Likewise.
12347 (S2): Likewise.
12348 (SIZE): Likewise.
12349 (__mpn_add_n): Do not use BP_SYM.
12350 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12351 "bp-asm.h".
12352 (PARMS): Do not use macros from bp-asm.h.
12353 (S1): Likewise.
12354 (SIZE): Likewise.
12355 (__mpn_addmul_1): Do not use BP_SYM.
12356 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12357 weak_alias.
12358 (bzero): Likewise.
12359 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12360 "bp-asm.h".
12361 (PARMS): Do not use macros from bp-asm.h.
12362 (S): Likewise.
12363 (SIZE): Likewise.
12364 (__mpn_lshift): Do not use BP_SYM.
12365 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12366 "bp-asm.h".
12367 (PARMS): Do not use macros from bp-asm.h.
12368 (DEST): Likewise.
12369 (SRC): Likewise.
12370 (LEN): Likewise.
12371 (memcpy): Likewise. Do not use BP_SYM.
12372 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12373 libc_hidden_def and weak_alias.
12374 (mempcpy): Do not use BP_SYM in weak_alias.
12375 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12376 "bp-asm.h".
12377 (PARMS): Do not use macros from bp-asm.h.
12378 (DEST): Likewise.
12379 (LEN): Likewise.
12380 [!BZERO_P] (CHR): Likewise.
12381 (memset): Likewise. Do not use BP_SYM.
12382 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12383 "bp-asm.h".
12384 (PARMS): Do not use macros from bp-asm.h.
12385 (S1): Likewise.
12386 (SIZE): Likewise.
12387 (__mpn_mul_1): Do not use BP_SYM.
12388 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12389 "bp-asm.h".
12390 (PARMS): Do not use macros from bp-asm.h.
12391 (S): Likewise.
12392 (SIZE): Likewise.
12393 (__mpn_rshift): Do not use BP_SYM.
12394 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12395 "bp-asm.h".
12396 (PARMS): Do not use macros from bp-asm.h.
12397 (STR): Likewise.
12398 (CHR): Likewise.
12399 (strchr): Likewise. Do not use BP_SYM.
12400 (index): Do not use BP_SYM in weak_alias.
12401 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12402 "bp-asm.h".
12403 (PARMS): Do not use macros from bp-asm.h.
12404 (DEST): Likewise.
12405 (SRC): Likewise.
12406 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12407 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12408 "bp-asm.h".
12409 (PARMS): Do not use macros from bp-asm.h.
12410 (strlen): Do not use BP_SYM.
12411 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12412 "bp-asm.h".
12413 (PARMS): Do not use macros from bp-asm.h.
12414 (S1): Likewise.
12415 (S2): Likewise.
12416 (SIZE): Likewise.
12417 (__mpn_sub_n): Do not use BP_SYM.
12418 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12419 "bp-asm.h".
12420 (PARMS): Do not use macros from bp-asm.h.
12421 (S1): Likewise.
12422 (SIZE): Likewise.
12423 (__mpn_submul_1): Do not use BP_SYM.
12424 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12425 "bp-asm.h".
12426 (PARMS): Do not use macros from bp-asm.h.
12427 (S1): Likewise.
12428 (S2): Likewise.
12429 (SIZE): Likewise.
12430 (__mpn_add_n): Do not use BP_SYM.
12431 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12432 weak_alias.
12433 (bzero): Likewise.
12434 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12435 "bp-asm.h".
12436 (PARMS): Do not use macros from bp-asm.h.
12437 (BLK2): Likewise.
12438 (LEN): Likewise.
12439 (memcmp): Do not use BP_SYM.
12440 (bcmp): Do not use BP_SYM in weak_alias.
12441 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12442 "bp-asm.h".
12443 (PARMS): Do not use macros from bp-asm.h.
12444 (DEST): Likewise.
12445 (SRC): Likewise.
12446 (LEN): Likewise.
12447 (memcpy): Likewise. Do not use BP_SYM.
12448 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12449 "bp-asm.h".
12450 (PARMS): Do not use macros from bp-asm.h.
12451 (DEST): Likewise.
12452 (SRC): Likewise.
12453 (LEN): Likewise.
12454 (memmove): Likewise. Do not use BP_SYM.
12455 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12456 "bp-asm.h".
12457 (PARMS): Do not use macros from bp-asm.h.
12458 (DEST): Likewise.
12459 (SRC): Likewise.
12460 (LEN): Likewise.
12461 (__mempcpy): Likewise. Do not use BP_SYM.
12462 (mempcpy): Do not use BP_SYM in weak_alias.
12463 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12464 "bp-asm.h".
12465 (PARMS): Do not use macros from bp-asm.h.
12466 (DEST): Likewise.
12467 (LEN): Likewise.
12468 [!BZERO_P] (CHR): Likewise.
12469 (memset): Likewise. Do not use BP_SYM.
12470 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12471 "bp-asm.h".
12472 (PARMS): Do not use macros from bp-asm.h.
12473 (STR2): Likewise.
12474 (strcmp): Do not use BP_SYM.
12475 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12476 "bp-asm.h".
12477 (PARMS): Do not use macros from bp-asm.h.
12478 (STR): Likewise.
12479 (DELIM): Likewise.
12480 [USE_AS_STRTOK_R] (SAVE): Likewise.
12481 (FUNCTION): Likewise. Do not use BP_SYM.
12482 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12483 aliases.
12484 (strtok_r): Likewise.
12485 (__GI___strtok_r): Likewise.
12486 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12487 (PARMS): Do not use macros from bp-asm.h.
12488 (S): Likewise.
12489 (SIZE): Likewise.
12490 (__mpn_lshift): Do not use BP_SYM.
12491 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12492 (PARMS): Do not use macros from bp-asm.h.
12493 (STR): Likewise.
12494 (CHR): Likewise.
12495 (__memchr): Do not use BP_SYM.
12496 (memchr): Do not use BP_SYM in weak_alias.
12497 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12498 (PARMS): Do not use macros from bp-asm.h.
12499 (BLK2): Likewise.
12500 (LEN): Likewise.
12501 (memcmp): Do not use BP_SYM.
12502 (bcmp): Do not use BP_SYM in weak_alias.
12503 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (S1): Likewise.
12506 (SIZE): Likewise.
12507 (__mpn_mul_1): Do not use BP_SYM.
12508 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12509 "bp-asm.h".
12510 (PARMS): Do not use macros from bp-asm.h.
12511 (STR): Likewise.
12512 (CHR): Likewise.
12513 (__rawmemchr): Do not use BP_SYM.
12514 (rawmemchr): Do not use BP_SYM in weak_alias.
12515 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12516 (PARMS): Do not use macros from bp-asm.h.
12517 (S): Likewise.
12518 (SIZE): Likewise.
12519 (__mpn_rshift): Do not use BP_SYM.
12520 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12521 (PARMS): Do not use macros from bp-asm.h.
12522 (SIGMSK): Likewise.
12523 (__sigsetjmp): Likewise. Do not use BP_SYM.
12524 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12525 (_start): Do not use BP_SYM.
12526 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12527 (PARMS): Do not use macros from bp-asm.h.
12528 (DEST): Likewise.
12529 (SRC): Likewise.
12530 (__stpcpy): Likewise. Do not use BP_SYM.
12531 (stpcpy): Do not use BP_SYM in weak_alias.
12532 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12533 "bp-asm.h".
12534 (PARMS): Do not use macros from bp-asm.h.
12535 (DEST): Likewise.
12536 (SRC): Likewise.
12537 (LEN): Likewise.
12538 (__stpncpy): Likewise. Do not use BP_SYM.
12539 (stpncpy): Do not use BP_SYM in weak_alias.
12540 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12541 (PARMS): Do not use macros from bp-asm.h.
12542 (STR): Likewise.
12543 (CHR): Likewise.
12544 (strchr): Likewise. Do not use BP_SYM.
12545 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12546 "bp-asm.h".
12547 (PARMS): Do not use macros from bp-asm.h.
12548 (STR): Likewise.
12549 (CHR): Likewise.
12550 (__strchrnul): Likewise. Do not use BP_SYM.
12551 (strchrnul): Do not use BP_SYM in weak_alias.
12552 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12553 "bp-asm.h".
12554 (PARMS): Do not use macros from bp-asm.h.
12555 (STOP): Likewise.
12556 (strcspn): Do not use BP_SYM.
12557 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12558 "bp-asm.h".
12559 (PARMS): Do not use macros from bp-asm.h.
12560 (STR): Likewise.
12561 (STOP): Likewise.
12562 (strpbrk): Likewise. Do not use BP_SYM.
12563 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12564 "bp-asm.h".
12565 (PARMS): Do not use macros from bp-asm.h.
12566 (STR): Likewise.
12567 (CHR): Likewise.
12568 (strrchr): Likewise. Do not use BP_SYM.
12569 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12570 (PARMS): Do not use macros from bp-asm.h.
12571 (SKIP): Likewise.
12572 (strspn): Do not use BP_SYM.
12573 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12574 (PARMS): Do not use macros from bp-asm.h.
12575 (STR): Likewise.
12576 (DELIM): Likewise.
12577 (SAVE): Likewise.
12578 (FUNCTION): Likewise. Do not use BP_SYM.
12579 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12580 aliases.
12581 (strtok_r): Likewise.
12582 (__GI___strtok_r): Likewise.
12583 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12584 (PARMS): Do not use macros from bp-asm.h.
12585 (S1): Likewise.
12586 (S2): Likewise.
12587 (SIZE): Likewise.
12588 (__mpn_sub_n): Do not use BP_SYM.
12589 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12590 "bp-asm.h".
12591 (PARMS): Do not use macros from bp-asm.h.
12592 (S1): Likewise.
12593 (SIZE): Likewise.
12594 (__mpn_submul_1): Do not use BP_SYM.
12595 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12596 <bp-sym.h>.
12597 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12598 and <bp-asm.h>.
12599 (PARMS): Do not use macros from bp-asm.h.
12600 (FLAGS): Likewise.
12601 (PTID): Likewise.
12602 (TLS): Likewise.
12603 (CTID): Likewise.
12604 (__clone): Do not use BP_SYM.
12605 (clone): Do not use BP_SYM in weak_alias.
12606 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12607 and <bp-asm.h>.
12608 (PARMS): Do not use macros from bp-asm.h.
12609 (LEN): Likewise.
12610 (__mmap64): Do not use BP_SYM.
12611 (mmap64): Do not use BP_SYM in weak_alias.
12612 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12613 <bp-sym.h> and <bp-asm.h>.
12614 (PARMS): Do not use macros from bp-asm.h.
12615 (__posix_fadvise64_l64): Do not use BP_SYM.
12616 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12617 (PARMS): Do not use macros from bp-asm.h.
12618 (NSOPS): Likewise.
12619 (semtimedop): Do not use BP_SYM.
12620 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12621 and <bp-asm.h>.
12622
12623 2013-02-21 Allan McRae <allan@archlinux.org>
12624
12625 * manual/message.texi (Charset conversion in gettext):
12626 Move @end statement to beginning of line.
12627
12628 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12629
12630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12631 static.
12632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12633 Likewise.
12634
12635 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12636 (denorm): Likewise.
12637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12639
12640 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12641
12642 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12643 tail-call to the resolved function if pltexit isn't needed.
12644
12645 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12646
12647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12648 or Y being zero as being unlikely.
12649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12650 Likewise.
12651
12652 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12653
12654 * manual/nss.texi (System Databases and Name Service Switch):
12655 Remove frobnicate @pxref.
12656
12657 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12658
12659 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12660 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12661
12662 2013-02-20 Petr Machata <pmachata@redhat.com>
12663
12664 * elf/elf.h (R_ARM_TARGET1): New macro.
12665 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12666 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12667 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12668 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12669 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12670 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12671 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12672 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12673 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12674 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12675 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12676 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12677 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12678 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12679 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12680 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12681 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12682 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12683 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12684 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12685 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12686 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12687 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12688 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12689 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12690 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12691 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12692 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12693 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12694 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12695 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12696 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12697 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12698 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12699 (R_ARM_THM_GOT_BREL12): Likewise.
12700 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12701 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12702 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12703 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12704 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12705 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12706 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12707 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12708 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12709
12710 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12711
12712 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12713 __attribute_used__ to __attribute__ ((unused)).
12714
12715 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12716
12717 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12718 powerpc mpa.c.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12720 comment formatting.
12721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12722
12723 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12724
12725 [BZ #13550]
12726 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12727 Remove macro.
12728 (ENTER): Remove both macro definitions.
12729 (LEAVE): Likewise.
12730 (CHECK_BOUNDS_LOW): Likewise.
12731 (CHECK_BOUNDS_HIGH): Likewise.
12732 (CHECK_BOUNDS_BOTH): Likewise.
12733 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12734 (RETURN_BOUNDED_POINTER): Likewise.
12735 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12736 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12737 (POP_ERRNO_LOCATION_RETURN): Likewise.
12738 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12739 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12740 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12741 macros.
12742 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12743 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12744 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12745 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12746 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12747 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12748 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12749 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12750 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12751 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12752 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12753 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12754 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12755 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12756 removed macros.
12757 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12758 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12759 macros.
12760 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12761 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12762 * sysdeps/i386/i586/memset.S (memset): Likewise.
12763 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12764 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12765 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12766 macros.
12767 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12768 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12769 Change uses of L(2) to L(out).
12770 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12771 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12772 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12773 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12774 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12775 removed macros.
12776 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12777 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12778 macros.
12779 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12780 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12781 (RETURN): Do not use macro LEAVE.
12782 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12783 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12784 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12785 * sysdeps/i386/i686/memset.S (memset): Likewise.
12786 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12787 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12788 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12789 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12790 Likewise.
12791 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12792 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12793 L(1_2) and L(1_3) into L(1).
12794 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12795 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12796 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12797 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12798 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12799 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12800 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12801 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12802 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12803 macros.
12804 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12805 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12806 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12807 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12808 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12809 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12810 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12811 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12812 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12813 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12814 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12815 * sysdeps/i386/strspn.S (strspn): Likewise.
12816 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12817 conditional code.
12818 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12819 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12820 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12821 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12822 L(1_3) into L(1_1).
12823 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12824 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12825 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12826 macros.
12827 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12828
12829 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12830
12831 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12832 macro.
12833
12834 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12835
12836 * math/atest-exp.c (exp_mpn): Remove ROUND.
12837 * math/atest-exp2.c (exp_mpn): Likewise.
12838 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12839
12840 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12841 * stdlib/tst-tls-atexit-lib.c: Likewise.
12842 * stdlib/tst-tls-atexit.c: Likewise.
12843
12844 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12845
12846 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12847 and __attribute_alloc_size__.
12848
12849 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12850
12851 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12852 __attribute_alloc_size__.
12853 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12854 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12855
12856 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12857
12858 * include/programs/xmalloc.h: New file.
12859 * catgets/gencat.c: Include it.
12860 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12861 * elf/pldd.c: Likewise.
12862 * iconv/iconv_charmap.c: Likewise.
12863 * iconv/iconvconfig.c: Likewise.
12864 * iconv/strtab.c: Likewise.
12865 * locale/programs/locale.c: Likewise.
12866 * locale/programs/localedef.h: Likewise.
12867 * locale/programs/simple-hash.c: Likewise.
12868 * nscd/nscd.h: Likewise.
12869 * nss/makedb.c: Likewise.
12870 * sysdeps/generic/ldconfig.h: Likewise.
12871
12872 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12873
12874 * Versions.def: Add GLIBC_2.18.
12875 * include/link.h (struct link_map): New member l_tls_dtor_count.
12876 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12877 (__call_tls_dtors): Likewise.
12878 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12879 __cxa_thread_atexit_impl.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12881 Likewise.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12883 Likewise.
12884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12885 Likewise.
12886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12887 Likewise.
12888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12890 Likewise.
12891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12892 Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12895 Likewise.
12896 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12897 (tests): Add test case tst-tls-atexit.
12898 (modules-names): Add shared library for tst-tls-atexit.
12899 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12900 (GLIBC_PRIVATE): Add __call_tls_dtors.
12901 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12902 for libstdc++.
12903 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12904 * stdlib/tst-tls-atexit.c: New test case.
12905 * stdlib/tst-tls-atexit-lib.c: New test case.
12906
12907 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12908
12909 * elf/Versions (ld): Add _dl_find_dso_for_object.
12910 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12911 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12912 (dl_open_worker): Use _dl_find_dso_for_object.
12913 * elf/dl-sym.c (do_sym): Likewise.
12914 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12915
12916 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12917
12918 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12919 Syntactic changes only.
12920 (_dl_runtime_profile): Do a tail-call to the resolved function.
12921
12922 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12923
12924 [BZ #13550]
12925 * sysdeps/x86_64/bp-asm.h: Remove file.
12926 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12927 <bp-sym.h> and <bp-asm.h>.
12928 (__clone): Do not use BP_SYM.
12929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12930 <bp-sym.h> and <bp-asm.h>.
12931 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12932 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12933 "bp-asm.h".
12934 (_setjmp): Do not use BP_SYM.
12935 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12936 "bp-asm.h".
12937 (setjmp): Do not use BP_SYM.
12938 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12939 libc_hidden_def.
12940 (mempcpy): Do not use BP_SYM in weak_alias.
12941 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12942 "bp-asm.h".
12943 (strchr): Do not use BP_SYM.
12944 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12945 "bp-asm.h".
12946 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12947 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12948 (_start): Do not use BP_SYM.
12949 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12950 "bp-asm.h".
12951 (strcat): Do not use BP_SYM.
12952 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12953 "bp-asm.h".
12954 (STRCMP): Do not use BP_SYM.
12955 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12956 "bp-asm.h".
12957 (STRCPY): Do not use BP_SYM.
12958 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12959 "bp-asm.h".
12960 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12961 "bp-asm.h".
12962 (FUNCTION): Do not use BP_SYM.
12963 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12964 weak_alias.
12965 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12966
12967 2013-02-17 Andreas Jaeger <aj@suse.de>
12968
12969 * time/Versions: Sort entries.
12970 * string/Versions: Likewise.
12971 * resolv/Versions: Likewise.
12972 * posix/Versions: Likewise.
12973 * iconv/Versions: Likewise.
12974 * elf/Versions: Likewise.
12975 * wcsmbs/Versions: Likewise.
12976
12977 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12978
12979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12980 loop termination condition.
12981
12982 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12983 variable to calculate EZ.
12984 (__sqr): Likewise.
12985
12986 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12987 the lower precision input.
12988
12989 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12990
12991 [BZ #13550]
12992 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12993 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12994 (run-via-rtld-prefix): Do not handle %-bp tests.
12995 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12996 (all-object-suffixes): Remove .ob.
12997 (bppfx): Remove variable.
12998 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12999 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13000 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13001 [$(build-bounded) = yes] (libtype.ob): Likewise.
13002 * Makerules (elide-routines.ob): Remove variable.
13003 (do-tests-clean): Do not handle *-bp.out.
13004 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13005 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13006 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13007 (tests): Do not include $(tests-bp.out).
13008 (xtests): Do not include $(xtests-bp.out).
13009 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13010 [$(build-bounded) = yes] ($(addprefix
13011 $(objpfx),$(binaries-bounded))): Remove rule.
13012 ($(objpfx)%-bp.out): Remove rule.
13013 * config.make.in (build-bounded): Remove variable.
13014 * crypt/Makefile [$(build-bounded) = yes]
13015 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13016 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13017 append to variable.
13018 [$(build-bounded) = yes] (install-lib): Likewise.
13019 [$(build-bounded) = yes] (generated): Likewise.
13020 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13021 Remove rule.
13022 * intl/Makefile [$(build-bounded) = yes]
13023 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13024 * math/Makefile [$(build-bounded) = yes]
13025 ($(tests:%=$(objpfx)%-bp): Likewise.
13026 * misc/Makefile [$(build-bounded) = yes]
13027 ($(objpfx)tst-tsearch-bp): Likewise.
13028 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13029 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13030 Remove dependency.
13031 * string/Makefile (o-objects.ob): Remove variable.
13032 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13033 (CFLAGS-.ob): Remove variable.
13034 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13035 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13036 both definitions of variable.
13037 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13038 (ASFLAGS-.ob): Remove variable.
13039
13040 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13041
13042 [BZ #13550]
13043 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13044 Remove __BOUNDED_POINTERS__ from condition.
13045 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13046 * string/bits/string2.h [!__NO_STRING_INLINES &&
13047 !__BOUNDED_POINTERS__]: Likewise.
13048 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13049 Likewise.
13050 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13051 Remove conditional code.
13052 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13053 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13054 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13055 condition.
13056
13057 [BZ #13550]
13058 * csu/libc-start.c: Do not include <bp-sym.h>.
13059 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13060 * elf/dl-open.c: Do not include <bp-sym.h>.
13061 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13062 * math/fegetenv.c: Do not include <bp-sym.h>.
13063 (fegetenv): Do not use BP_SYM in versioned symbols.
13064 * nptl/sysdeps/pthread/bits/libc-lockP.h
13065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13066 <bp-sym.h>.
13067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13068 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13070 (__pthread_mutex_destroy): Likewise.
13071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13072 (__pthread_mutex_lock): Likewise.
13073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13074 (__pthread_mutex_trylock): Likewise.
13075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13076 (__pthread_mutex_unlock): Likewise.
13077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13078 (__pthread_mutexattr_init): Likewise.
13079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13080 (__pthread_mutexattr_destroy): Likewise.
13081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13082 (__pthread_mutexattr_settype): Likewise.
13083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13084 (__pthread_rwlock_init): Likewise.
13085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13086 (__pthread_rwlock_destroy): Likewise.
13087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13088 (__pthread_rwlock_rdlock): Likewise.
13089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13090 (__pthread_rwlock_tryrdlock): Likewise.
13091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13092 (__pthread_rwlock_wrlock): Likewise.
13093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13094 (__pthread_rwlock_trywrlock): Likewise.
13095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13096 (__pthread_rwlock_unlock): Likewise.
13097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13098 (__pthread_key_create): Likewise.
13099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13100 (__pthread_setspecific): Likewise.
13101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13102 (__pthread_getspecific): Likewise.
13103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13104 Likewise.
13105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13106 (_pthread_cleanup_push_defer): Likewise.
13107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13108 (_pthread_cleanup_pop_restore): Likewise.
13109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13110 (pthread_setcancelstate): Likewise.
13111 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13112 <bp-sym.h>.
13113 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13114 (memchr): Do not use BP_SYM in weak_alias.
13115 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13116 (fegetenv): Do not use BP_SYM in versioned symbols.
13117 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13118 (fesetenv): Do not use BP_SYM in versioned symbols.
13119 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13120 (feupdateenv): Do not use BP_SYM in versioned symbols.
13121 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13122 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13123 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13124 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13125 (open64): Do not use BP_SYM in weak_alias.
13126 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13127 (fegetenv): Do not use BP_SYM in versioned symbols.
13128 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13129 (fesetenv): Do not use BP_SYM in versioned symbols.
13130 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13131 (feupdateenv): Do not use BP_SYM in versioned symbols.
13132 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13133 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13134 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13135 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13136 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13137 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13138 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13139 <bp-sym.h>.
13140 (__libc_start_main): Do not use BP_SYM.
13141
13142 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13145 redundant return line.
13146 (norm): Likewise.
13147 (denorm): Likewise.
13148 (dbl_mp): Likewise.
13149 (sub_magnitudes): Likewise.
13150 (__add): Likewise.
13151 (__sub): Likewise.
13152 (__mul): Likewise.
13153 (__inv): Likewise.
13154 (__dvd): Likewise.
13155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13156 (norm): Likewise.
13157 (denorm): Likewise.
13158 (dbl_mp): Likewise.
13159 (sub_magnitudes): Likewise.
13160 (__add): Likewise.
13161 (__sub): Likewise.
13162 (__mul): Likewise.
13163 (__inv): Likewise.
13164 (__dvd): Likewise.
13165
13166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13167 instead of __mul.
13168 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13169 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13170 (cc32): Likewise.
13171
13172 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13173 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13175 of __mul for squares.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13177 function
13178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13179 Likewise.
13180 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13182
13183 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13184
13185 [BZ #13550]
13186 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13187 code.
13188 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13189 prototype or function definition. Rename ubp_* variables and
13190 parameters. Remove argv definitions conditional on
13191 [__BOUNDED_POINTERS__].
13192 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13193 * elf/dl-runtime.c (_dl_fixup): Likewise.
13194 * include/set-hooks.h (RUN_HOOK): Likewise.
13195 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13196 definition.
13197 * string/strcpy.c (strcpy): Do not use __unbounded.
13198 * sysdeps/generic/frame.h (struct layout): Likewise.
13199 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13200 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13201 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13202 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13203 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13204 (__backtrace): Likewise.
13205 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13206 use __ptrvalue.
13207 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13208 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13209 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13210 Likewise.
13211 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13212 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13213 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13214 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13215 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13216 Do not use __unbounded.
13217 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13218 Rename __unboundedrlimits parameter to rlimits in prototype.
13219 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13220 Do not use __unbounded.
13221 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13222 not use __ptrvalue.
13223 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13224 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13225 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13226 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13227 __ptrvalue or __unbounded.
13228 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13229 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13230 use __unbounded.
13231 (__new_msgctl): Do not use __ptrvalue.
13232 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13233 __unbounded.
13234 (__libc_msgrcv): Do not use __ptrvalue.
13235 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13236 startup_info): Do not use __unbounded.
13237 (__libc_start_main): Likewise. Rename ubp_* variables and
13238 parameters. Remove argv definitions conditional on
13239 [__BOUNDED_POINTERS__].
13240 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13241 __ptrvalue.
13242 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13243 use __unbounded.
13244 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13245 or __ptrvalue.
13246 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13247 use __unbounded.
13248 (__new_shmctl): Do not use __ptrvalue.
13249 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13250 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13251 Likewise.
13252 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13253 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13254 (__libc_sigaction): Likewise.
13255 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13257 Likewise.
13258 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13259
13260 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13261
13262 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13263
13264 * string/mempcpy.c: Implement by calling memcpy.
13265
13266 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13267
13268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13269
13270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13271 evaluation.
13272
13273 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13274 values in the mantissa.
13275
13276 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13277 minimize writes to Z.
13278 (sub_magnitudes): Simplify code a bit.
13279
13280 2013-02-12 Roland McGrath <roland@hack.frob.com>
13281
13282 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13283 from the message. The linker prefixes all warnings with that already.
13284
13285 2013-02-12 Andreas Schwab <schwab@suse.de>
13286
13287 [BZ #15078]
13288 * posix/regexec.c (extend_buffers): Add parameter min_len.
13289 (check_matching): Pass minimum needed length.
13290 (clean_state_log_if_needed): Likewise.
13291 (get_subexp): Likewise.
13292 * posix/Makefile (tests): Add bug-regex34.
13293 (bug-regex34-ENV): Define.
13294 * posix/bug-regex34.c: New file.
13295
13296 [BZ #11561]
13297 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13298 elements compare against the byte sequence of it, not its name.
13299 * posix/Makefile (tests): Add bug-regex35.
13300 (bug-regex35-ENV): Define.
13301 * posix/bug-regex35.c: New file.
13302
13303 2013-02-11 Tom de Vries <tom@codesourcery.com>
13304
13305 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13306 comment.
13307 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13308 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13309 (CHECK_EOL): Add undef.
13310
13311 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13312
13313 * bits/stdlib-bsearch.h: New file.
13314 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13315 * stdlib/stdlib.h: Likewise.
13316
13317 2013-02-11 Roland McGrath <roland@hack.frob.com>
13318
13319 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13320 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13321 declaration.
13322 * manual/search.texi (Array Search Function): Add missing const in
13323 lfind prototype.
13324 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13325 declaration to use rlim_t.
13326 (Basic Scheduling Functions): Remove erroneous const from
13327 sched_getparam prototype. Remove erroneous * from
13328 sched_get_priority_max and sched_get_priority_min prototypes.
13329 (Resource Usage): Fix summary @comment on vtimes to refer to
13330 sys/vtimes.h rather than vtimes.h.
13331 Add missing *s in vtimes prototype.
13332 (Limits on Resources): Fix ulimit prototype to return long int.
13333 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13334 prototypes to use long int rather than double.
13335 (BSD Random): Fix initstate and setstate to use char *, not void *.
13336 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13337 prototype to make second argument 'struct aiocb64 *const[]'.
13338 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13339 (Status of AIO Operations): Remove erroneous const in aio_return and
13340 aio_return64 prototypes.
13341 (Synchronizing I/O): Fix sync prototype to return void.
13342 * manual/startup.texi (Suboptions): Remove an erroneous const in
13343 getsubopt prototype.
13344 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13345 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13346 use size_t rather than int.
13347 (Scanning All Users): Likewise for getpwent_r.
13348 (Setting Groups): Add missing const to setgroups prototype.
13349 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13350 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13351 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13352 'const void *' rather than 'const char *'.
13353 (Host Address Functions): Likewise for inet_ntop.
13354 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13355 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13356 ssize_t for return value.
13357 (Sending Data): Likewise for send, sendto, sendmsg.
13358 (Socket Option Functions): Add a missing const in setsockopt prototype.
13359 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13360 use wchar_t for the argument.
13361 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13362 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13363 take no arguments.
13364 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13365 double/float/long double for second argument.
13366 Fix return types of significand, significandf, significandl.
13367 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13368 argument in fchmod prototype.
13369 (File Owner): Use uid_t and gid_t in fchown prototype.
13370 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13371 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13372 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13373 use 'const struct dirent **' as argument types to CMP function pointer
13374 argument.
13375 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13376 (File Times): Fix summary magic @comment for struct utimbuf and utime
13377 to refer to utime.h, not time.h.
13378 * manual/string.texi (Argz Functions): Add missing const in
13379 argz_extract and argz_next prototypes.
13380 (Finding Tokens in a String): Likewise for basename.
13381 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13382 (Copying and Concatenation): Fix typo in wmemmove prototype.
13383 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13384 (Signal Stack): Remove erroneous const in sigstack prototype.
13385 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13386 prototype.
13387 (Simple Calendar Time): Likewise for stime.
13388 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13389 prototype.
13390 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13391 say sys/sysctl.h instead.
13392 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13393 and vsyslog prototypes.
13394
13395 2013-02-11 Tom de Vries <tom@codesourcery.com>
13396
13397 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13398 Remove.
13399
13400 2013-02-11 Roland McGrath <roland@hack.frob.com>
13401
13402 * misc/sys/mman.h: Fix typo in mremap comment.
13403
13404 2013-02-08 Roland McGrath <roland@hack.frob.com>
13405
13406 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13407 the '\0' terminator.
13408
13409 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13410
13411 [BZ #13550]
13412 * debug/segfault.c: Don't include <bp-checks.h>.
13413 * sysdeps/generic/bp-checks.h: Remove file.
13414 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13415 (__GETDENTS): Don't use CHECK_N.
13416 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13417 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13418 (__getgroups): Don't use CHECK_N.
13419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13420 (setgroups): Don't use CHECK_N.
13421 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13422 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13423 (__libc_msgrcv): Don't use CHECK_N.
13424 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13425 (__libc_msgsnd): Don't use CHECK_N.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13427 <bp-checks.h>.
13428 (__libc_pread): Don't use CHECK_N.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13430 include <bp-checks.h>.
13431 (__libc_pread64): Don't use CHECK_N.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13433 include <bp-checks.h>.
13434 (__libc_pwrite): Don't use CHECK_N.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13436 include <bp-checks.h>.
13437 (__libc_pwrite64): Don't use CHECK_N.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13439 <bp-checks.h>.
13440 (__libc_pread): Don't use CHECK_N.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13442 include <bp-checks.h>.
13443 (__libc_pread64): Don't use CHECK_N.
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13445 include <bp-checks.h>.
13446 (__libc_pwrite): Don't use CHECK_N.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13448 include <bp-checks.h>.
13449 (__libc_pwrite64): Don't use CHECK_N.
13450 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13451 (do_pread): Don't use CHECK_N.
13452 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13453 (do_pread64): Don't use CHECK_N.
13454 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13455 (do_pwrite): Don't use CHECK_N.
13456 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13457 (do_pwrite64): Don't use CHECK_N.
13458 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13459 (__libc_readv): Don't use CHECK_N.
13460 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13461 (semop): Don't use CHECK_N.
13462 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13463 <bp-checks.h>.
13464 (semtimedop): Don't use CHECK_N.
13465 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13466 (__libc_pread): Don't use CHECK_N.
13467 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13468 <bp-checks.h>.
13469 (__libc_pread64): Don't use CHECK_N.
13470 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13471 <bp-checks.h>.
13472 (__libc_pwrite): Don't use CHECK_N.
13473 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13474 <bp-checks.h>.
13475 (__libc_pwrite64): Don't use CHECK_N.
13476 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13477 <bp-checks.h>.
13478 (__libc_msgrcv): Don't use CHECK_N.
13479 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13480 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13481 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13482 (__libc_writev): Don't use CHECK_N.
13483
13484 2013-02-08 Roland McGrath <roland@hack.frob.com>
13485
13486 * string/strcpy.c: Removed unused variable.
13487
13488 * Makeconfig (+sysdep-includes): Define with := rather than =.
13489 Use an existing include/ subdir of each sysdeps dir before it.
13490
13491 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13492
13493 * nscd/connection.c (register_traced_file): Comment function.
13494 [HAVE_INOTIFY] (union __inev): Define.
13495 [HAVE_INOTIFY] (inotify_check_files): New function.
13496 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13497 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13498 clear_db_cache.
13499 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13500
13501 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13502
13503 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13504 loaded if not already and that a failure is permanent.
13505
13506 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13507
13508 [BZ #15006]
13509 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13510 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13511
13512 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13513
13514 [BZ #13550]
13515 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13516 (CHECK_1_NULL_OK): Likewise.
13517 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13518 (__fxstat): Do not use CHECK_1.
13519 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13520 <bp-checks.h>.
13521 (___fxstat64): Do not use CHECK_1.
13522 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13523 <bp-checks.h>.
13524 (__fxstatat): Do not use CHECK_1.
13525 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13526 <bp-checks.h>.
13527 (__fxstatat64): Do not use CHECK_1.
13528 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13529 <bp-checks.h>.
13530 (__fxstat): Do not use CHECK_1.
13531 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13532 <bp-checks.h>.
13533 (__fxstatat): Do not use CHECK_1.
13534 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13535 <bp-checks.h>.
13536 (__getresgid): Do not use CHECK_1.
13537 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13538 <bp-checks.h>.
13539 (__getresuid): Do not use CHECK_1.
13540 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13541 <bp-checks.h>.
13542 (__lxstat): Do not use CHECK_1.
13543 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13544 <bp-checks.h>.
13545 (__old_msgctl): Do not use CHECK_1.
13546 (__new_msgctl): Likewise.
13547 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13548 <bp-checks.h>.
13549 (__new_setrlimit): Do not use CHECK_1.
13550 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13551 <bp-checks.h>.
13552 (__old_shmctl): Do not use CHECK_1.
13553 (__new_shmctl): Likewise.
13554 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13555 <bp-checks.h>.
13556 (__xstat): Do not use CHECK_1.
13557 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13558 (__lxstat): Do not use CHECK_1.
13559 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13560 <bp-checks.h>.
13561 (___lxstat64): Do not use CHECK_1.
13562 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13563 (__old_msgctl): Do not use CHECK_1.
13564 (__new_msgctl): Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13566 <bp-checks.h>.
13567 (__gettimeofday): Do not use CHECK_1.
13568 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13569 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13570 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13571 <bp-checks.h>.
13572 (__gettimeofday): Do not use CHECK_1.
13573 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13574 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13575 (__new_shmctl): Do not use CHECK_1.
13576 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13577 <bp-checks.h>.
13578 (do_sigtimedwait): Do not use CHECK_1.
13579 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13580 <bp-checks.h>.
13581 (do_sigwaitinfo): Do not use CHECK_1.
13582 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13583 <bp-checks.h>.
13584 (msgctl): Do not use CHECK_1.
13585 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13586 <bp-checks.h>.
13587 (shmctl): Do not use CHECK_1.
13588 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13589 (ustat): Do not use CHECK_1.
13590 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13591 <bp-checks.h>.
13592 (__fxstat): Do not use CHECK_1.
13593 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13594 <bp-checks.h>.
13595 (__fxstatat): Do not use CHECK_1.
13596 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13597 <bp-checks.h>.
13598 (__lxstat): Do not use CHECK_1.
13599 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13600 <bp-checks.h>.
13601 (__xstat): Do not use CHECK_1.
13602 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13603 (__xstat): Do not use CHECK_1.
13604 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13605 (___xstat64): Do not use CHECK_1.
13606
13607 [BZ #13550]
13608 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13609 definitions.
13610 (CHECK_BOUNDS_HIGH): Likewise.
13611 * string/strcpy.c: Do not include <bp-checks.h>.
13612 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13613
13614 2013-02-07 Roland McGrath <roland@hack.frob.com>
13615
13616 * nscd/nscd-client.h (__nscd_drop_map_ref):
13617 Add __attribute__ ((unused)).
13618 * nis/nss-nisplus.h (niserr2nss): Likewise.
13619
13620 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13621 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13622
13623 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13624 Remove inline keyword.
13625 * include/rounding-mode.h (round_away): Likewise.
13626 * libio/wfileops.c (adjust_wide_data): Likewise.
13627 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13628 (__m128i_strloadu_tolower): Likewise.
13629 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13630 (__m128i_strloadu_tolower): Likewise.
13631 * time/mktime.c (ydhms_diff): Likewise.
13632 * locale/elem-hash.h (elem_hash): Likewise.
13633 * locale/setlocale.c (setdata): Likewise.
13634 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13635 (re_string_wchar_at): Likewise.
13636 (bitset_not, bitset_merge, bitset_mask): Likewise.
13637 [!(__GNUC__ > 3)] (inline): Remove macro.
13638 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13639 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13640 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13641 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13642 * string/memcmp.c (memcmp_bytes): Likewise.
13643 * locale/programs/locarchive.c (compute_hashval): Likewise.
13644 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13645 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13646 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13647 * nss/getent.c (print_rpc, print_protocols): Likewise.
13648 (print_passwd, print_group, print_aliases): Likewise.
13649 * nis/nss-nisplus.h (niserr2nss): Likewise.
13650 * nscd/connections.c (restart_p): Likewise.
13651 Change return type to bool.
13652
13653 2013-02-05 Roland McGrath <roland@hack.frob.com>
13654
13655 * Makeconfig (all-Depend-files): Add existing
13656 $(sorted-subdirs:=/Depend) files.
13657 (all-subdirs): Remove nss.
13658 * sysdeps/unix/inet/Subdirs: Add it here instead.
13659 * hesiod/Depend: New file.
13660
13661 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13662 instead of calling alloca.
13663
13664 * io/lseek.c (__lseek): Rename to __libc_lseek.
13665 Define __lseek as an alias.
13666
13667 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13668
13669 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13670
13671 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13672 else clause and remove check for non-standard endianness.
13673
13674 2013-02-04 David S. Miller <davem@davemloft.net>
13675
13676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13677
13678 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13679
13680 [BZ #13550]
13681 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13682 (__ubp_memchr): Remove prototype.
13683 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13684 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13685 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13686 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13687 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13688 Remove alias.
13689 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13690 (__ubp_memchr): Likewise.
13691 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13692 (__ubp_memchr): Likewise.
13693 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13694 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13695 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13696 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13697 CHECK_STRING.
13698 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13699 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13700 (__getcwd): Do not use CHECK_STRING.
13701 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13702 <bp-checks.h>.
13703 (__real_chown): Do not use CHECK_STRING.
13704 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13705 <bp-checks.h>.
13706 (fchownat): Do not use CHECK_STRING.
13707 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13708 CHECK_STRING.
13709 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13710 <bp-checks.h>.
13711 (__lchown): Do not use CHECK_STRING.
13712 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13713 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13714 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13715 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13717 include <bp-checks.h>.
13718 (truncate64): Do not use CHECK_STRING.
13719 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13720 <bp-checks.h>.
13721 (__real_chown): Do not use CHECK_STRING.
13722 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13723 <bp-checks.h>.
13724 (__lchown): Do not use CHECK_STRING.
13725 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13726 <bp-checks.h>.
13727 (__chown): Do not use CHECK_STRING.
13728 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13729 <bp-checks.h>.
13730 (truncate64): Do not use CHECK_STRING.
13731 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13732 Likewise.
13733 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13734 (__xmknod): Do not use CHECK_STRING.
13735 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13736 <bp-checks.h>.
13737 (__xmknodat): Do not use CHECK_STRING.
13738 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13739 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13740
13741 2013-02-04 Andreas Schwab <schwab@suse.de>
13742
13743 [BZ #14142]
13744 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13745 * include/netdb.h: Likewise for h_errno.
13746 * elf/tst-stackguard1.c: Include <tls.h>.
13747
13748 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13749
13750 * elf/link.h (struct link_map): Extend the l_addr comment.
13751 * include/link.h (struct link_map): Likewise.
13752
13753 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13754
13755 [BZ #13550]
13756 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13757 (BOUNDED_1): Remove macro.
13758 * debug/backtrace.c: Don't include <bp-checks.h>.
13759 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13760 (__backtrace): Likewise.
13761 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13762 <bp-checks.h>.
13763 (__backtrace): Don't use BOUNDED_1.
13764 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13765 <bp-checks.h>.
13766 (__backtrace): Don't use BOUNDED_1.
13767 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13768 (__backtrace): Don't use BOUNDED_1.
13769 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13770 (shmat): Don't use BOUNDED_N.
13771
13772 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #13550]
13775 * sysdeps/generic/bp-start.h: Remove file.
13776 * csu/libc-start.c: Don't include <bp-start.h>.
13777 (LIBC_START_MAIN): Set up __environ directly instead of using
13778 INIT_ARGV_and_ENVIRON.
13779 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13780 <bp-start.h>.
13781
13782 [BZ #13550]
13783 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13784 definitions.
13785 (CHECK_FCNTL): Likewise.
13786 (CHECK_N_PAGES): Likewise.
13787
13788 [BZ #13550]
13789 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13790 definitions.
13791 (CHECK_SIGSET_NULL_OK): Likewise.
13792 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13793 <bp-checks.h>.
13794 (sigpending): Don't use CHECK_SIGSET.
13795 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13796 <bp-checks.h>.
13797 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13798 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13799 <bp-checks.h>.
13800 (do_sigsuspend): Don't use CHECK_SIGSET.
13801 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13802 use CHECK_SIGSET.
13803 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13804 (do_sigwait): Don't use CHECK_SIGSET.
13805 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13806 use CHECK_SIGSET.
13807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13808 include <bp-checks.h>.
13809 (sigpending): Don't use CHECK_SIGSET.
13810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13811 include <bp-checks.h>.
13812 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13813 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13814 <bp-checks.h>.
13815 (sigpending): Don't use CHECK_SIGSET.
13816 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13817 <bp-checks.h>.
13818 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13819
13820 [BZ #13550]
13821 * sysdeps/generic/bp-semctl.h: Remove file.
13822 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13823 <bp-checks.h> and <bp-semctl.h>.
13824 (__old_semctl): Don't use CHECK_SEMCTL.
13825 (__new_semctl): Likewise.
13826 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13827 and <bp-semctl.h>.
13828 (__old_semctl): Don't use CHECK_SEMCTL.
13829 (__new_semctl): Likewise.
13830 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13831 <bp-checks.h> and <bp-semctl.h>.
13832 (__old_semctl): Don't use CHECK_SEMCTL.
13833 (__new_semctl): Likewise.
13834 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13835 <bp-checks.h> and <bp-semctl.h>.
13836 (semctl): Don't use CHECK_SEMCTL.
13837
13838 [BZ #13550]
13839 * Makerules (elide-bp-thunks): Remove variable.
13840 (elide-routines.oS): Don't use $(elide-bp-thunks).
13841 (elide-routines.os): Likewise.
13842 (elide-routines.o): Likewise.
13843 (elide-routines.op): Likewise.
13844 (elide-routines.og): Likewise.
13845 (objects): Don't use $(bp-thunks).
13846 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13847 include.
13848 (common-generated): Do not add s-proto-bp.d.
13849 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13850 (int): Likewise.
13851 (typ): Likewise.
13852 Do not generate makefile rules for bounded-pointer thunks.
13853 * sysdeps/generic/bp-thunks.h: Remove file.
13854 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13855 * sysdeps/unix/s-proto-bp.S: Likewise.
13856
13857 [BZ #15062]
13858 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13859 parts of result separately when argument is not close to line from
13860 -i to i and one part of argument is small.
13861 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13862 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13863 * math/libm-test.inc (cacos_test): Add more tests.
13864 (casin_test): Likewise.
13865 (casinh_test): Likewise.
13866 * sysdeps/i386/fpu/libm-test-ulps: Update.
13867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13868
13869 2013-01-31 David S. Miller <davem@davemloft.net>
13870
13871 * po/de.po: Update from translation team.
13872
13873 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13874
13875 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13876
13877 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13878
13879 * configure.in (_AC_PROG_CC_C89): New definition.
13880 * configure: Regenerate.
13881
13882 * configure.in (AC_PROG_CPP): New definition.
13883 * configure: Regenerate.
13884
13885 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13886
13887 * debug/tst-backtrace.h: New file.
13888 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13889 (ret): Remove variable.
13890 (x): Likewise.
13891 (FAIL): Remove macro.
13892 (NO_INLINE): Likewise.
13893 (fn1): Use match function instead of strstr.
13894 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13895 (ret): Remove variable.
13896 (x): Likewise.
13897 (FAIL): Remove macro.
13898 (NO_INLINE): Likewise.
13899 (fn): Use match function instead of strstr.
13900 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13901 (ret): Remove variable.
13902 (x): Likewise.
13903 (FAIL): Remove macro.
13904 (NO_INLINE): Likewise.
13905 (handle_signal): Use match function instead of strstr.
13906 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13907 (ret): Remove variable.
13908 (x): Likewise.
13909 (FAIL): Remove macro.
13910 (NO_INLINE): Likewise.
13911 (handle_signal): Use match function instead of strstr.
13912
13913 2013-01-23 Roland McGrath <roland@hack.frob.com>
13914
13915 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13916
13917 2013-01-23 David S. Miller <davem@davemloft.net>
13918
13919 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13920 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13921 argument of CAS if possible.
13922 * sysdeps/sparc/sparc64/bits/atomic.h
13923 (__arch_compare_and_exchange_val_32_acq): Likewise.
13924 (__arch_compare_and_exchange_val_64_acq): Likewise.
13925
13926 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13927
13928 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13929 * sysdeps/posix/ulimit.c: ... this.
13930 Include <limits.h>.
13931 * sysdeps/unix/bsd/ulimit.c: Remove file.
13932
13933 2013-01-23 Adam Conrad <adconrad@0c3.net>
13934
13935 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13936 (LDFLAGS-tst-array5): Likewise.
13937
13938 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13939
13940 [BZ #15036]
13941 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13942 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13943 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13944 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13945
13946 2013-01-21 David S. Miller <davem@davemloft.net>
13947
13948 * sysdeps/sparc/backtrace.c: New file.
13949 * sysdeps/sparc/sparc32/backtrace.h: New file.
13950 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13951 * sysdeps/sparc/sparc64/backtrace.h: New file.
13952 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13953 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13954 -funwind-tables.
13955
13956 2013-01-21 Andreas Schwab <schwab@suse.de>
13957
13958 [BZ #15020]
13959 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13960 closed its stdout.
13961
13962 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13963
13964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13965 "mpa2.h".
13966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13967
13968 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13969 Mark Mitchell <mark@codesourcery.com>
13970 Tom de Vries <tom@codesourcery.com>
13971 Paul Pluzhnikov <ppluzhnikov@google.com>
13972
13973 * debug/tst-backtrace2.c: New file.
13974 * debug/tst-backtrace3.c: Likewise.
13975 * debug/tst-backtrace4.c: Likewise.
13976 * debug/tst-backtrace5.c: Likewise.
13977 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13978 (CFLAGS-tst-backtrace3.c): Likewise.
13979 (CFLAGS-tst-backtrace4.c): Likewise.
13980 (CFLAGS-tst-backtrace5.c): Likewise.
13981 (LDFLAGS-tst-backtrace2): Likewise.
13982 (LDFLAGS-tst-backtrace3): Likewise.
13983 (LDFLAGS-tst-backtrace4): Likewise.
13984 (LDFLAGS-tst-backtrace5): Likewise.
13985 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13986 tst-backtrace4 and tst-backtrace5.
13987
13988 2013-01-18 Anton Blanchard <anton@samba.org>
13989 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13990
13991 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13992 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13993 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13994 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13996 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13997 "+r" and remove output regs list as redundant. Add explicit inline
13998 asm to specify register of return val to work around compiler codegen
13999 bug. Remove (int) cast on return value. Add return type parameter to
14000 use in macro so that this macro does not truncate return value for
14001 64-bit values.
14002 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14003 pass to INTERNAL_VSYSCALL_NCS.
14004 (INLINE_VSYSCALL): Add 'long int' as return type to
14005 INTERNAL_VSYSCALL_NCS macro invocation.
14006 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14007 INTERNAL_VSYSCALL_NCS macro invocation.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14009
14010 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14011
14012 [BZ #14496]
14013 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14014 Fix application of SIMD FP exception mask.
14015
14016 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14017 mp_no from a power of two.
14018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14019 __mpexp_twomm1. Use __pow_mp.
14020
14021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14022 multiplication.
14023
14024 2013-01-17 David S. Miller <davem@davemloft.net>
14025
14026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14027
14028 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14029
14030 [BZ #15023]
14031 * include/complex.h: Condition contents on [!_COMPLEX_H].
14032 (__kernel_casinhf): New prototype.
14033 (__kernel_casinh): Likewise.
14034 (__kernel_casinhl): Likewise.
14035 * math/Makefile (libm_calls): Add k_casinh.
14036 * math/k_casinh.c: New file.
14037 * math/k_casinhf.c: Likewise.
14038 * math/k_casinhl.c: Likewise.
14039 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14040 finite nonzero arguments.
14041 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14042 finite nonzero arguments.
14043 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14044 finite nonzero arguments.
14045 * math/s_casinh.c: Do not include <float.h>.
14046 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14047 * math/s_casinhf.c: Do not include <float.h>.
14048 (__casinhf): Move code for finite nonzero arguments to
14049 k_casinhf.c.
14050 * math/s_casinhl.c: Do not include <float.h>.
14051 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14052 redefine.
14053 (__casinhl): Move code for finite nonzero arguments to
14054 k_casinhl.c.
14055 * math/libm-test.inc (cacos_test): Add more tests.
14056 * sysdeps/i386/fpu/libm-test-ulps: Update.
14057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14058
14059 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14060
14061 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14062 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14063 [!HAVE_MREMAP]: Remove [defined linux] case.
14064 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14065
14066 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14067
14068 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14069
14070 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14071
14072 * elf/elf.h (R_386_SIZE32): New relocation.
14073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14074 R_386_SIZE32.
14075 (elf_machine_rela): Likewise.
14076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14077 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14078
14079 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14080
14081 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14082 (FP_FAST_FMA): Do not define.
14083 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14084 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14085 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14086 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14087 !_SOFT_FLOAT]: Likewise.
14088 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14089 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14090 value.
14091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14092 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14093 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14094 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14095 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14096 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14097 file.
14098
14099 2013-01-16 Andreas Schwab <schwab@suse.de>
14100
14101 [BZ #14327]
14102 * include/stdlib.h (__mktemp): Add declaration.
14103 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14104 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14105
14106 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14107
14108 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14109 definitions.
14110 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14111 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14112 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14113 definitions here.
14114 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14115 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14116 definitions.
14117 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14118 and ONE.
14119 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14120 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14121 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14122 definitions.
14123 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14124 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14125 definitions.
14126 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14127
14128 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14129
14130 2013-01-15 David S. Miller <davem@davemloft.net>
14131
14132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14133 trunc{,f} to libm-sysdep_routes.
14134 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14136 file.
14137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14139 file.
14140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14141 file.
14142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14144 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14145 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14146 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14147 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14148 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14149 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14150
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14152 nearbyint{,f} to libm-sysdep_routes.
14153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14155 New file.
14156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14157 file.
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14159 New file.
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14161 file.
14162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14165 file.
14166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14168 file.
14169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14170 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14171 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14172
14173 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14174 libc_feholdexcept and libc_fesetenv.
14175
14176 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14177
14178 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14179
14180 2013-01-14 David S. Miller <davem@davemloft.net>
14181
14182 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14183 (SPARC_ASM_VIS2_IFUNC): Likewise.
14184 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14186 use of 'siam' instruction.
14187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14188 Likewise.
14189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14190 Likewise.
14191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14192 Likewise.
14193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14198 file.
14199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14200 file.
14201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14202 file.
14203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14204 file.
14205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14210 new VIS2 routines.
14211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14214 Likewise.
14215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14220 routines to libm-sysdep_routines.
14221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14222
14223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14224 fdim/fdimf to libm-sysdep_routines.
14225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14226 file.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14229 file.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14233 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14234 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14235 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14236 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14237
14238 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14239
14240 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14241 to optimize copies.
14242
14243 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14246
14247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14248 local variable MPTWO.
14249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14250 Likewise.
14251
14252 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14253
14254 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14255 GLOB_NOESCAPE.
14256
14257 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14258
14259 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14260
14261 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14262
14263 * manual/pattern.texi (glob_t): Document gl_flags.
14264 (glob64_t): Likewise.
14265
14266 2013-01-11 David S. Miller <davem@davemloft.net>
14267
14268 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14269 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14270 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14271 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14272 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14273 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14274 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14275 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14276 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14277 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14278 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14279 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14280 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14281
14282 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14283 sparc V9 rather than using V8 code.
14284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14286
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14288 Move to...
14289 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14290 Here.
14291
14292 2013-01-11 Roland McGrath <roland@hack.frob.com>
14293
14294 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14295 not in the main loop.
14296 * configure: Regenerated.
14297
14298 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14299
14300 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14301 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14302 to just #else.
14303 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14304 [!__GLIBC_HAVE_LONG_LONG] case.
14305 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14306 condition to just #else.
14307 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14308 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14309 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14310 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14311 unconditional.
14312 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14313 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14314 #elif condition to just #else.
14315 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14316 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14317 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14318 #elif condition to just #else.
14319
14320 2013-01-11 Steve Ellcey <sellcey@mips.com>
14321
14322 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14323 (EF_MIPS_ARCH_64): Fix value.
14324 (EF_MIPS_ARCH_32R2): New.
14325 (EF_MIPS_ARCH_64R2): New.
14326
14327 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14328
14329 * Makeconfig (+link-pie-before-libc): New.
14330 (+link-pie-after-libc): Likewise.
14331 (+link-pie-tests): Likewise.
14332 (+link-pie): Rewritten.
14333 (link-before-libc): Remove $(config-LDFLAGS).
14334 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14335 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14336 (config-LDFLAGS): Renamed to ...
14337 (rtld-LDFLAGS): This.
14338 (rtld-tests-LDFLAGS): New macro.
14339 (link-libc-rpath-link): Likewise.
14340 (link-libc-tests-rpath-link): Likewise.
14341 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14342 (link-libc): Prepand $(link-libc-rpath-link).
14343 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14344 (test-program-prefix): New macro.
14345 (test-via-rtld-prefix): Likewise.
14346 (test-program-cmd): Likewise.
14347 (host-test-program-cmd): Likewise.
14348 * Makefile ($(common-objpfx)testrun.sh): Replace
14349 $(run-program-prefix) with $(test-program-prefix).
14350 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14351 $(rtld-LDFLAGS).
14352 ($(common-objpfx)shlib.lds): Likewise.
14353 (build-module-helper): Likewise.
14354 ($(common-objpfx)format.lds): Likewise.
14355 * Rules (binaries-pie-tests): New.
14356 (binaries-pie-notests): Likewise.
14357 (binaries-pie): Rewritten.
14358 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14359 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14360 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14361 (make-test-out): Replace $(host-built-program-cmd) with
14362 $(host-test-program-cmd).
14363 * config.make.in (build-hardcoded-path-in-tests): New variable.
14364 * configure.in (--enable-hardcoded-path-in-tests): New configure
14365 option.
14366 (hardcoded_path_in_tests): New AC_SUBST.
14367 * configure: Regenerated.
14368 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14369 $(built-program-cmd) with $(test-program-cmd).
14370 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14371 (test_program_cmd): This.
14372 * elf/Makefile ($(objpfx)order.out): Run test with
14373 $(test-program-prefix).
14374 ($(objpfx)order2.out): Likewise.
14375 ($(objpfx)tst-initorder.out): Likewise.
14376 ($(objpfx)tst-initorder2.out): Likewise.
14377 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14378 $(test-program-cmd).
14379 ($(objpfx)tst-array1-static.out): Likewise.
14380 ($(objpfx)tst-array2.out): Likewise.
14381 ($(objpfx)tst-array3.out): Likewise.
14382 ($(objpfx)tst-array4.out): Likewise.
14383 ($(objpfx)tst-array5.out): Likewise.
14384 ($(objpfx)tst-array5-static.out): Likewise.
14385 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14386 $(test-program-cmd).
14387 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14388 $(run-program-prefix) with $(test-program-prefix).
14389 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14390 (test_program_prefix): This.
14391 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14392 $(run-program-prefix) with $(test-program-prefix).
14393 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14394 (test_program_prefix): This.
14395 * iconvdata/tst-tables.sh: Likewise.
14396 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14397 $(run-program-prefix) with $(test-program-prefix).
14398 ($(objpfx)tst-translit.out): Likewise.
14399 ($(objpfx)tst-gettext2.out): Likewise.
14400 ($(objpfx)tst-gettext4.out): Likewise.
14401 ($(objpfx)tst-gettext6.out): Likewise.
14402 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14403 (test_program_prefix): This.
14404 * intl/tst-gettext2.sh: Likewise.
14405 * intl/tst-gettext4.sh Likewise.
14406 * intl/tst-gettext6.sh: Likewise.
14407 * intl/tst-translit.sh: Likewise.
14408 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14409 with $(test-program-cmd).
14410 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14411 $(run-program-prefix) with $(test-program-prefix).
14412 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14413 (test_program_prefix): This.
14414 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14415 $(run-program-prefix) with $(test-program-prefix).
14416 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14417 (test_program_prefix): This.
14418 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14419 * posix/Makefile ($(objpfx)globtest.out): Replace
14420 $(run-via-rtld-prefix) and $(test-wrapper) with
14421 $(test-program-prefix) and $(test-via-rtld-prefix).
14422 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14423 $(test-program-prefix).
14424 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14425 $(host-test-program-cmd).
14426 (tst-spawn-ARGS): Likewise.
14427 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14428 $(test-program-prefix).
14429 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14430 (test_via_rtld_prefix): This.
14431 (test_wrapper): Renamed to ...
14432 (test_program_prefix): This.
14433 (run_program_prefix): Replaced by test_program_prefix.
14434 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14435 (test_program_prefix): This.
14436 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14437 with $(host-test-program-cmd).
14438 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14439 $(run-program-prefix) with $(test-program-prefix).
14440 ($(objpfx)tst-printf.out): Likewise.
14441 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14442 $(test-program-cmd).
14443 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14444 (test_program_prefix): This.
14445 * stdio-common/tst-unbputc.sh: Likewise.
14446 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14447 $(run-program-prefix) with $(test-program-prefix).
14448 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14449 (test_program_prefix): This.
14450 * string/Makefile ($(objpfx)tst-svc.out): Replace
14451 $(built-program-cmd) with $(test-program-cmd).
14452
14453 2013-01-11 Andreas Jaeger <aj@suse.de>
14454
14455 [BZ #15003]
14456 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14457 value. Sync with Linux 3.7.
14458
14459 2013-01-10 David S. Miller <davem@davemloft.net>
14460
14461 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14462 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14463 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14464
14465 2013-01-10 Roland McGrath <roland@hack.frob.com>
14466
14467 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14468 never set.
14469 * configure: Regenerated.
14470
14471 2013-01-10 David S. Miller <davem@davemloft.net>
14472
14473 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14474 sparc V9 rather than using V8 code.
14475 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14476 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14477
14478 2013-01-10 Roland McGrath <roland@hack.frob.com>
14479
14480 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14481 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14482 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14483 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14484 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14485 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14486 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14487 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14488 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14489 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14490 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14491 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14492 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14493 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14494 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14495 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14496 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14497 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14498 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14499 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14500 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14501 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14502 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14503 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14504 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14505 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14506 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14507
14508 2013-01-10 David S. Miller <davem@davemloft.net>
14509
14510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14511
14512 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14513
14514 * posix/Makefile (tests-static): New variable.
14515 (tests): Add $(tests-static).
14516 (tst-exec-static-ARGS): New variable.
14517 (tst-spawn-static-ARGS): Likewise.
14518 * posix/tst-exec-static.c: New file.
14519 * posix/tst-spawn-static.c: Likewise.
14520 * posix/tst-exec.c: Support run directly.
14521 * posix/tst-spawn.c: Likewise.
14522
14523 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14524
14525 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14526 long.
14527 * math/bits/mathcalls.h (llrint): Likewise.
14528 (llround): Likewise.
14529 * stdlib/stdlib.h (struct drand48_data): Likewise.
14530 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14531 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14532 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14533 Likewise.
14534 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14535 Likewise.
14536 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14537 (elf_greg_t): Likewise.
14538 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14539 (__jmp_buf): Likewise.
14540 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14541 definitions.
14542 (llrint): Likewise, for all definitions.
14543 (llrintl): Likewise.
14544
14545 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14546 Remove [__GNUC__] condition.
14547 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14548 condition to just [__USE_ISOC99].
14549 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14550
14551 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14552
14553 [BZ #14200]
14554 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14555 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14556 defined.
14557 (_POSIX_V6_ILP32_OFF32): Likewise.
14558 (_XBS5_ILP32_OFF32): Likewise.
14559 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14560 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14561
14562 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14563
14564 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14565
14566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14567 doubles __mpexp_twomm1. Adjust usage.
14568 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14569 Remove.
14570
14571 2013-01-10 Andreas Schwab <schwab@suse.de>
14572
14573 [BZ #14964]
14574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14575 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14576
14577 2013-01-09 David S. Miller <davem@davemloft.net>
14578
14579 [BZ #15003]
14580 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14581 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14582 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14583 TCP_FASTOPEN): Define.
14584 (tcp_repair_opt): New structure.
14585 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14586 enum values.
14587 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14588 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14589 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14590 (tcp_cookie_transactions): New structure.
14591
14592 2013-01-09 Anton Blanchard <anton@samba.org>
14593
14594 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14595 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14597 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14598
14599 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14600
14601 * include/features.h (__USE_ANSI): Remove.
14602
14603 2013-01-09 Roland McGrath <roland@hack.frob.com>
14604
14605 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14606
14607 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14608
14609 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14610
14611 * sysdeps/s390/fpu/libm-test-ulps: Update.
14612
14613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14614
14615 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14616 (__acr): Likewise.
14617 (__cpy): Likewise.
14618 (norm): Likewise.
14619 (denorm): Likewise.
14620 (__mp_dbl): Likewise.
14621 (__dbl_mp): Likewise.
14622 (add_magnitudes): Likewise.
14623 (sub_magnitudes): Likewise.
14624 (__add): Likewise.
14625 (__sub): Likewise.
14626 (__mul): Likewise.
14627 (__inv): Likewise.
14628 (__dvd): Likewise.
14629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14630 (__acr): Likewise.
14631 (__cpy): Likewise.
14632 (norm): Likewise.
14633 (denorm): Likewise.
14634 (__mp_dbl): Likewise.
14635 (__dbl_mp): Likewise.
14636 (add_magnitudes): Likewise.
14637 (sub_magnitudes): Likewise.
14638 (__add): Likewise.
14639 (__sub): Likewise.
14640 (__mul): Likewise.
14641 (__inv): Likewise.
14642 (__dvd): Likewise.
14643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14644 (__acr): Likewise.
14645 (__cpy): Likewise.
14646 (norm): Likewise.
14647 (denorm): Likewise.
14648 (__mp_dbl): Likewise.
14649 (__dbl_mp): Likewise.
14650 (add_magnitudes): Likewise.
14651 (sub_magnitudes): Likewise.
14652 (__add): Likewise.
14653 (__sub): Likewise.
14654 (__mul): Likewise.
14655 (__inv): Likewise.
14656 (__dvd): Likewise.
14657
14658 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14659
14660 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14661 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14662 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14663 2 && __USE_EXTERN_INLINES]: Likewise.
14664
14665 2013-01-08 Andreas Jaeger <aj@suse.de>
14666
14667 [BZ# 14985]
14668 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14669 Remove.
14670 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14671 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14672
14673 2013-01-07 Anton Blanchard <anton@samba.org>
14674
14675 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14676 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14677 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14678 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14679 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14680 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14681 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14682 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14684 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14685 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14687 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14689 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14692 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14693 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14696 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14698 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14699 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14700 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14701 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14702 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14704 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14705 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14708 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14709 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14710 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14711 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14715 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14717 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14718
14719 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14720
14721 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14722 (__MALLOC_PMT): Likewise.
14723 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14724 [__GNUC__], only on [_LIBC].
14725 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14726 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14727 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14728 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14729 forward declaration.
14730 (realloc_hook_ini): Likewise.
14731 (memalign_hook_ini): Likewise.
14732 (__libc_memalign): Do not use __MALLOC_PMT in variable
14733 declaration.
14734 (__libc_valloc): Likewise.
14735 (__libc_pvalloc): Likewise.
14736 (__libc_calloc): Likewise.
14737 (__posix_memalign): Likewise.
14738
14739 [BZ #14996]
14740 * math/s_casinh.c: Include <float.h>.
14741 (__casinh): Do not do computation with squaring and square root
14742 for large arguments.
14743 * math/s_casinhf.c: Include <float.h>.
14744 (__casinhf): Do not do computation with squaring and square root
14745 for large arguments.
14746 * math/s_casinhl.c: Include <float.h>.
14747 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14748 (__casinhl): Do not do computation with squaring and square root
14749 for large arguments.
14750 * math/libm-test.inc (casin_test): Add more tests.
14751 (casinh_test): Likewise.
14752 * sysdeps/i386/fpu/libm-test-ulps: Update.
14753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14754
14755 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14756
14757 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14758 (__x86_64_raw_data_cache_size): Likewise.
14759 (__x86_64_data_cache_size_half): Likewise.
14760 (__x86_64_raw_data_cache_size_half): Likewise.
14761 (__x86_64_shared_cache_size): Likewise.
14762 (__x86_64_raw_shared_cache_size): Likewise.
14763 (__x86_64_shared_cache_size_half): Likewise.
14764 (__x86_64_raw_shared_cache_size_half): Likewise.
14765 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14766 to ...
14767 (__x86_data_cache_size): This.
14768 (__x86_64_raw_data_cache_size): Renamed to ...
14769 (__x86_raw_data_cache_size): This.
14770 (__x86_64_data_cache_size_half): Renamed to ...
14771 (__x86_data_cache_size_half): This.
14772 (__x86_64_raw_data_cache_size_half): Renamed to ...
14773 (__x86_raw_data_cache_size_half): This.
14774 (__x86_64_shared_cache_size): Renamed to ...
14775 (__x86_shared_cache_size): This.
14776 (__x86_64_raw_shared_cache_size): Renamed to ...
14777 (__x86_raw_shared_cache_size): This.
14778 (__x86_64_shared_cache_size_half): Renamed to ...
14779 (__x86_shared_cache_size_half): This.
14780 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14781 (__x86_raw_shared_cache_size_half): This.
14782 * sysdeps/x86_64/memcpy.S: Updated.
14783 * sysdeps/x86_64/memset.S: Likewise.
14784 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14785 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14786 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14787
14788 2013-01-04 David S. Miller <davem@davemloft.net>
14789
14790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14791
14792 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14793
14794 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14795 1 to avoid redefinition warning.
14796 (__USE_GNU): Don't define.
14797 (init_signaling_nan): Protoize.
14798
14799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14800
14801 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14802
14803 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14805 (__cpymn): Likewise.
14806 (norm): Remove commented code.
14807 (denorm): Likewise.
14808 (__mp_dbl): Likewise.
14809 (__inv): Likewise.
14810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14811 (__cpymn): Likewise.
14812 (norm): Remove commented code.
14813 (denorm): Likewise.
14814 (__mp_dbl): Likewise.
14815 (__inv): Likewise.
14816
14817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14818 mp_no value for 1.0 and 2.0.
14819 (norm): Use RADIXI instead of radixi.d.
14820 (denorm): Likewise.
14821 (__mul): Use 0.0 instead of zero.d.
14822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14823 mp_no value for 1.0 and 2.0.
14824 (norm): Use RADIXI instead of radixi.d.
14825 (denorm): Likewise.
14826 (__mul): Use 0.0 instead of zero.d.
14827
14828 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14829
14830 [BZ #14994]
14831 * math/s_casinh.c (__casinh): Reduce finite argument to first
14832 quadrant then set signs of results at the end.
14833 * math/s_casinhf.c (__casinhf): Likewise.
14834 * math/s_casinhl.c (__casinhl): Likewise.
14835 * math/libm-test.inc (casin_test): Add more tests.
14836 (casinh_test): Likewise.
14837 * sysdeps/i386/fpu/libm-test-ulps: Update.
14838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14839
14840 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14841
14842 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14843
14844 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14845
14846 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14847 declarations.
14848 (denorm): Likewise.
14849 (__mp_dbl): Likewise.
14850 (__inv): Likewise.
14851
14852 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14853 and adjust the header comment.
14854
14855 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14856 variable name from declaration.
14857
14858 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14859
14860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14861 Initialize COMMON_CPUID_INDEX_7 element.
14862 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14863 (CPUID_RTM): Likewise.
14864 (HAS_RTM): Likewise.
14865 (COMMON_CPUID_INDEX_7): New enum.
14866
14867 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14868
14869 [BZ #14981]
14870 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14871 size is zero, record memory as freed.
14872
14873 2013-01-03 Andreas Jaeger <aj@suse.de>
14874
14875 * po/ia.po: Add new Interlingua translation.
14876
14877 2012-01-03 Allan McRae <allan@archlinux.org>
14878
14879 * locale/programs/localedef.c: Fix description of '--posix' flag.
14880
14881 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14882
14883 * NEWS: Update dates in second copyright notice.
14884 * README: Update copyright dates in example.
14885 * manual/libc.texinfo: Update copyright dates.
14886 * scripts/test-installation.pl: Update copyright date in --version
14887 output.
14888
14889 * hurd/ctty-input.c: Fix copyright notice formatting.
14890 * hurd/ctty-output.c: Likewise.
14891 * hurd/dtable.c: Likewise.
14892 * hurd/hurd-raise.c: Likewise.
14893 * hurd/hurdprio.c: Likewise.
14894 * hurd/msgportdemux.c: Likewise.
14895 * misc/sys/file.h: Likewise.
14896 * misc/sys/ioctl.h: Likewise.
14897 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14898 * sysdeps/mach/hurd/chdir.c: Likewise.
14899 * sysdeps/mach/hurd/fchdir.c: Likewise.
14900 * sysdeps/mach/hurd/rename.c: Likewise.
14901 * sysdeps/mach/hurd/rmdir.c: Likewise.
14902 * sysdeps/mach/hurd/seekdir.c: Likewise.
14903 * sysdeps/mach/hurd/setsid.c: Likewise.
14904 * sysdeps/posix/wait3.c: Likewise.
14905
14906 * All files with FSF copyright notices: Update copyright dates
14907 using scripts/update-copyrights.
14908 * intl/plural.c: Regenerated.
14909 * locale/programs/charmap-kw.h: Likewise.
14910 * locale/programs/locfile-kw.h: Likewise.
14911
14912 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14913
14914 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14915 four values.
14916
14917 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14918 calculation loop and add branch prediction.
14919
14920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14921 check access beyond bounds of m1np.
14922
14923 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14924 MPTWO.
14925 (__inv): Remove local variable MPTWO to use the global
14926 constant.
14927 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14929 variable MPTWO.
14930 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14931 MP3HALFS static const.
14932
14933 2013-01-01 David S. Miller <davem@davemloft.net>
14934
14935 * po/ca.po: Update from translation team.
14936
14937 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14938
14939 * scripts/update-copyrights: New file.
14940 * Makeconfig: Reformat copyright notice.
14941 * ctype/ctype.h: Likewise.
14942 * debug/swprintf_chk.c: Likewise.
14943 * elf/dl-cache.c: Likewise.
14944 * elf/dl-debug.c: Likewise.
14945 * elf/dl-object.c: Likewise.
14946 * grp/initgroups.c: Likewise.
14947 * hurd/Makefile: Likewise.
14948 * hurd/hurd/signal.h: Likewise.
14949 * hurd/hurdfault.c: Likewise.
14950 * hurd/hurdioctl.c: Likewise.
14951 * hurd/hurdlookup.c: Likewise.
14952 * hurd/intr-msg.c: Likewise.
14953 * iconv/gconv_open.c: Likewise.
14954 * libio/swprintf.c: Likewise.
14955 * locale/lc-ctype.c: Likewise.
14956 * locale/nl_langinfo.c: Likewise.
14957 * mach/Machrules: Likewise.
14958 * mach/Makefile: Likewise.
14959 * malloc/obstack.h: Likewise.
14960 * manual/Makefile: Likewise.
14961 * manual/tsort.awk: Likewise.
14962 * misc/bits/stab.def: Likewise.
14963 * nis/nis_print_group_entry.c: Likewise.
14964 * nis/nis_table.c: Likewise.
14965 * nis/nss_compat/compat-pwd.c: Likewise.
14966 * nis/nss_compat/compat-spwd.c: Likewise.
14967 * po/Makefile: Likewise.
14968 * posix/fnmatch.c: Likewise.
14969 * posix/regex.h: Likewise.
14970 * resolv/Makefile: Likewise.
14971 * resolv/nss_dns/dns-network.c: Likewise.
14972 * resolv/res_hconf.c: Likewise.
14973 * scripts/gen-sorted.awk: Likewise.
14974 * soft-fp/soft-fp.h: Likewise.
14975 * stdio-common/printf.h: Likewise.
14976 * stdlib/monetary.h: Likewise.
14977 * stdlib/random.c: Likewise.
14978 * stdlib/random_r.c: Likewise.
14979 * sysdeps/generic/Makefile: Likewise.
14980 * sysdeps/gnu/Makefile: Likewise.
14981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14985 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14989 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14992 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14997 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15009 * sysdeps/mach/hurd/errnos.awk: Likewise.
15010 * sysdeps/mach/hurd/fork.c: Likewise.
15011 * sysdeps/mach/hurd/getcwd.c: Likewise.
15012 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15013 * sysdeps/mach/hurd/mmap.c: Likewise.
15014 * sysdeps/mach/hurd/utimes.c: Likewise.
15015 * sysdeps/mach/hurd/xmknod.c: Likewise.
15016 * sysdeps/posix/profil.c: Likewise.
15017 * sysdeps/posix/readdir_r.c: Likewise.
15018 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15019 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15020 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15021 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15023 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15024 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15025 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15027 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15028 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15029 * sysdeps/pthread/lio_listio.c: Likewise.
15030 * sysdeps/sparc/dl-procinfo.h: Likewise.
15031 * sysdeps/unix/i386/sysdep.S: Likewise.
15032 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15033 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15034 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15035 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15037 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15038 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15039 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15040 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15041 * sysdeps/wordsize-32/divdi3.c: Likewise.
15042 * time/sys/time.h: Likewise.
15043 * wcsmbs/Makefile: Likewise.
15044
15045 2013-01-01 David S. Miller <davem@davemloft.net>
15046
15047 * po/fr.po: Update from translation team.
15048
15049 * catgets/gencat.c: Update copyright year.
15050 * csu/version.c: Likewise.
15051 * debug/catchsegv.sh: Likewise.
15052 * debug/pcprofiledump.c: Likewise.
15053 * debug/xtrace.sh: Likewise.
15054 * elf/ldconfig.c: Likewise.
15055 * elf/ldd.bash.in: Likewise.
15056 * elf/pldd.c: Likewise.
15057 * elf/sotruss.ksh: Likewise.
15058 * elf/sprof.c: Likewise.
15059 * iconv/iconv_prog.c: Likewise.
15060 * iconv/iconvconfig.c: Likewise.
15061 * locale/programs/locale.c: Likewise.
15062 * locale/programs/localedef.c: Likewise.
15063 * login/programs/pt_chown.c: Likewise.
15064 * malloc/memusage.sh: Likewise.
15065 * malloc/memusagestat.c: Likewise.
15066 * malloc/mtrace.pl: Likewise.
15067 * nscd/nscd.c: Likewise.
15068 * nss/getent.c: Likewise.
15069 * nss/makedb.c: Likewise.
15070 * posix/getconf.c: Likewise.
15071
15072 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15073
15074 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15075 numbers.
15076
15077 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15078
15079 * math/bits/mathcalls.h (modf): Use __nonnull.
15080
15081 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15082
15083 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15084 (split): Use macro CN instead of the bare value.
15085 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15086 could be used.
15087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15088 instead of the bare value.
15089 (power1): Likewise.
15090
15091 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15092
15093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15094 __ATAN_TWOM.
15095 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15096
15097 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15098 their values.
15099 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15100 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15101 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15102 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15103
15104 2012-12-28 Andreas Jaeger <aj@suse.de>
15105
15106 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15107 values are from Linux 3.7.
15108
15109 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15110 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15111
15112 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15113
15114 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15115 TRUE case.
15116
15117 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15118 (norm): Likewise.
15119 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15120 variables with preprocessor constants.
15121 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15122 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15123 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15124
15125 2012-12-27 Bruno Haible <bruno@clisp.org>
15126
15127 [BZ #14317]
15128 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15129 only if needed.
15130
15131 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15132
15133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15134 and use variable directly.
15135 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15136
15137 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15138 MPONE.
15139 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15141 variable MPONE.
15142 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15144 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15145 include directive. Remove local variable MPONE.
15146 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15147 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15148 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15149
15150 2012-12-25 David S. Miller <davem@davemloft.net>
15151
15152 * version.h (RELEASE): Set to "development".
15153 (VERSION): Set to "2.17.90".
15154 * NEWS: Add 2.18 section.
15155
15156 2012-12-21 David S. Miller <davem@davemloft.net>
15157
15158 * po/hr.po: Update from translation team.
15159
15160 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15161
15162 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15163
15164 2012-12-19 Steve Ellcey <sellcey@mips.com>
15165
15166 * NEWS: Mention new memcpy for MIPS.
15167
15168 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15169
15170 * manual/contrib.texi (Contributors): Spelling correction.
15171
15172 2012-12-15 David S. Miller <davem@davemloft.net>
15173
15174 * po/ru.po: Update from translation team.
15175
15176 2012-12-13 David S. Miller <davem@davemloft.net>
15177
15178 * NEWS: Mention IFUNC testsuite enhancements.
15179
15180 * po/pl.po: Update from translation team.
15181 * po/bg.po: Likewise.
15182
15183 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15184 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15185
15186 2012-12-11 David S. Miller <davem@davemloft.net>
15187
15188 * po/sv.po: Update from translation team.
15189
15190 * po/vi.po: Update from translation team.
15191
15192 * po/cs.po: Update from translation team.
15193
15194 * po/de.po: Update from translation team.
15195 * po/eo.po: Likewise.
15196 * po/nl.po: Likewise.
15197
15198 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15199
15200 [BZ #14246]
15201 * manual/argp.texi (Argp Helper Functions): Move node to follow
15202 Argp Parsing State.
15203
15204 [BZ #14872]
15205 * manual/conf.texi (Limits on File System Capacity): Mention if
15206 terminating null is included in the max size.
15207
15208 2012-12-10 Andreas Jaeger <aj@suse.de>
15209
15210 * po/cs.po: Update from translation team.
15211
15212 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15213
15214 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15215 void pointer and cast to uintptr_t.
15216 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15217 path.
15218 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15219 * sysdeps/s390/s390-64/memset.S: Likewise.
15220
15221 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15222
15223 [BZ #14833]
15224 * menual/message.texi (Message Translation): Fix typos.
15225 (Helper programs for gettext): Likewise.
15226
15227 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15228
15229 [BZ #14898]
15230 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15231 Change to -1.
15232
15233 2012-12-07 David S. Miller <davem@davemloft.net>
15234
15235 * po/libc.pot: Update.
15236
15237 2012-12-07 Richard Henderson <rth@redhat.com>
15238
15239 [BZ #10114]
15240 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15241 normal/normal case to before the switch.
15242 (_FP_DIV): Likewise.
15243
15244 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15245 Mike Frysinger <vapier@gentoo.org>
15246
15247 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15248 check for __NR_fadvise64_64.
15249
15250 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15251
15252 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15253 0, not just to plain "0" as a statement.
15254 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15255 with cw.
15256
15257 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15258
15259 * NEWS: Use sourceware.org in Bugzilla URL.
15260
15261 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15262
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15264 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15265
15266 * stdio-common/tst-put-error.c (do_test): Add newline to the
15267 padded test to ensure flush.
15268
15269 2012-12-05 Jeff Law <law@redhat.com>
15270
15271 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15272
15273 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15274
15275 * README: Don't refer to ports add-on as distributed separately.
15276 Mention AArch64 in list of systems supported in the ports add-on.
15277
15278 * LICENSES: Add more non-FSF copyright and license notices.
15279
15280 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15281 ((unused)).
15282
15283 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15284
15285 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15286 10000 as width of padded output.
15287
15288 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15289
15290 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15291
15292 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15293 variable LX with __attribute__ ((unused)).
15294 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15295 Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15299 with __attribute__ ((unused)).
15300
15301 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15302
15303 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15304
15305 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15306
15307 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15308 (CFLAGS-nldbl-acos.c): New variable.
15309 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15310 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15311 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15312 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15313 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15314 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15315 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15316 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15317 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15318 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15319 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15320 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15325 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15326 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15327 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15328 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15329 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15330 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15331 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15332 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15333 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15334 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15335 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15336 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15337 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15338 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15339 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15340 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15341 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15342 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15343 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15344 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15345 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15346 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15347 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15348 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15350 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15351 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15352 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15353 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15354 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15355 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15356 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15357 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15358 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15359 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15360 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15361 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15362 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15363 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15364 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15365 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15366 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15367 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15368 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15369 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15370 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15371 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15372 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15373 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15374 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15375 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15376 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15377 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15378 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15379 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15380 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15381 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15382 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15383 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15384 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15385 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15386 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15387 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15388 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15389 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15390 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15391 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15392 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15393 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15394 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15395 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15396 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15397 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15398 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15399 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15400 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15401 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15402 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15403 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15404 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15405 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15406
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15408 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15409
15410 [BZ #14914]
15411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15412 whole low double instead of just low 47 bits when splitting values
15413 into two parts.
15414
15415 2012-12-03 Allan McRae <allan@archlinux.org>
15416
15417 * manual/stdio.texi (Predefined Printf Handlers): Remove
15418 @hsep and @vsep usage.
15419
15420 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15421
15422 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15423 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15424
15425 2012-12-03 Jeff Law <law@redhat.com>
15426
15427 * time/sys/time.h (settimeofday): Do not mark TV argument
15428 as __nonnull.
15429
15430 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15431
15432 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15433 when currently writing and seek to current position when not.
15434 * libio/Makefile (tests): Remove bug-fclose1.
15435 * libio/bug-fclose1.c: Delete.
15436
15437 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15438
15439 * manual/arith.texi (feenableexcept): Fix typo.
15440 (fedisableexcept): Likewise.
15441
15442 2012-11-30 Roland McGrath <roland@hack.frob.com>
15443
15444 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15445 second, differently-typed declaration, rather than a cast.
15446
15447 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15448
15449 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15450 * include/rpc/svc.h: ... here.
15451
15452 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15453
15454 [BZ #13013]
15455 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15456 depending n and resplen2 to catch cases where answer
15457 equals answerp2.
15458
15459 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15460
15461 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15462 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15463
15464 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15465
15466 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15467
15468 2012-11-29 Roland McGrath <roland@hack.frob.com>
15469
15470 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15471
15472 2012-11-28 Jeff Law <law@redhat.com>
15473
15474 [BZ #13761]
15475 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15476 dataset_temporary. Track alloca usage into alloca_used.
15477 If dataset is large allocate and release it via malloc/free.
15478
15479 2012-06-04 Florian Weimer <fweimer@redhat.com>
15480
15481 [BZ #14197]
15482 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15483
15484 2012-11-28 David S. Miller <davem@davemloft.net>
15485
15486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15487
15488 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15489
15490 [BZ #14803]
15491 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15492 of pi/2 rounded to nearest to 64 bits.
15493 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15494 nearest to 64 bits.
15495 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15496 bits.
15497
15498 2012-11-28 Jeff Law <law@redhat.com>
15499 Martin Osvald <mosvald@redhat.com>
15500
15501 [BZ #14889]
15502 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15503 * sunrpc/svc.c: Include time.h.
15504 (__svc_accept_failed): New function.
15505 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15506 any reason other than EINTR, call __svc_accept_failed.
15507 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15508 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15509
15510 2012-11-28 Andreas Schwab <schwab@suse.de>
15511
15512 * scripts/abilist.awk: Also handle indirect functions in .opd
15513 section.
15514
15515 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15516
15517 [BZ #13881]
15518 * sysdeps/x86/fpu/powl_helper.c: New file.
15519 * sysdeps/x86/fpu/Makefile: Likewise.
15520 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15521 (p3): New object.
15522 (__ieee754_powl): Use __powl_helper for finite arguments except
15523 integer exponents below 8.
15524 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15525 (p3): New object.
15526 (__ieee754_powl): Use __powl_helper for finite arguments except
15527 integer exponents below 8.
15528 * math/libm-test.inc (pow_test): Add more tests and enable some
15529 previously disabled tests.
15530 * sysdeps/i386/fpu/libm-test-ulps: Update.
15531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532
15533 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15534 Carlos O'Donell <carlos_odonell@mentor.com>
15535
15536 * nss/makedb.c (is_prime): Assert that input is odd and greater
15537 than 4. Note that fact in a comment too.
15538 (next_prime): Add 4 to input.
15539
15540 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15541
15542 [BZ #11741]
15543 * libio/Makefile (tests): Add test case tst-fwrite-error.
15544 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15545 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15546 * libio/tst-fwrite-error.c: New test case.
15547
15548 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15549
15550 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15551 before casting to void *.
15552 * include/libc-internal.h (__pointer_type): New macro.
15553 (__integer_if_pointer_type_sub): Likewise.
15554 (__integer_if_pointer_type): Likewise.
15555 (cast_to_integer): Likewise.
15556 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15557 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15558 before casting to atomic64_t.
15559 (atomic_exchange_acq): Likewise.
15560 (__arch_exchange_and_add_body): Likewise.
15561 (__arch_add_body): Likewise.
15562 (atomic_add_negative): Likewise.
15563 (atomic_add_zero): Likewise.
15564
15565 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15566
15567 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15568 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15569 (add_fdes): Likewise.
15570 (linear_search_fdes): Likewise.
15571 (binary_search_unencoded_fdes): Likewise.
15572
15573 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15574
15575 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15576
15577 2012-11-24 Adam Conrad <adconrad@0c3.net>
15578
15579 * configure.in: Autodetect C++ header directories.
15580 * configure: Regenerated.
15581
15582 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15583
15584 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15585
15586 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15587
15588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15589
15590 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15591
15592 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15593 LDBL_MANT_DIG == 106]: Disable some tests.
15594 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15595 Likewise.
15596 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15597 Likewise.
15598
15599 [BZ #14871]
15600 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15601 input for small inputs. Return +/- pi/2 for large inputs.
15602 * math/libm-test.inc (atan_test): Add more tests.
15603
15604 * sysdeps/generic/unwind-dw2-fde-glibc.c
15605 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15606 __attribute__ ((unused)).
15607
15608 [BZ #14645]
15609 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15610 x * y if x and y are nonzero and z is zero.
15611
15612 [BZ #14811]
15613 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15614 nonzero exponents with absolute value below 0x1p-117 to +/-
15615 0x1p-117.
15616
15617 [BZ #14869]
15618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15619 up arguments below 2**-450, not just those below 2**-500.
15620 * math/libm-test.inc (hypot_test): Add another test.
15621
15622 [BZ #14868]
15623 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15624 Return a+b for ratio over 2**120, not 2**60.
15625 * math/libm-test.inc (hypot_test): Add another test.
15626
15627 * math/libm-test.inc (clog_test): Use
15628 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15629 (clog10_test): Likewise.
15630
15631 [BZ #6778]
15632 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15633
15634 2012-11-22 Andreas Schwab <schwab@suse.de>
15635
15636 * sysdeps/i386/fpu/libm-test-ulps: Update.
15637
15638 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15639
15640 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15641 printf output with newline.
15642
15643 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15644
15645 [BZ #14865]
15646 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15647 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15648 -z nodlopen, -z initfirst and -z execstack support.
15649 * configure: Regenerated.
15650
15651 * elf/elf.h (DF_1_NODIRECT): New macro.
15652 (DF_1_IGNMULDEF): Likewise.
15653 (DF_1_NOKSYMS): Likewise.
15654 (DF_1_NOHDR): Likewise.
15655 (DF_1_EDITED): Likewise.
15656 (DF_1_NORELOC): Likewise.
15657 (DF_1_SYMINTPOSE): Likewise.
15658 (DF_1_GLOBAUDIT): Likewise.
15659 (DF_1_SINGLETON): Likewise.
15660 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15661 DT_1_SUPPORTED_MASK bits.
15662 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15663
15664 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15665
15666 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15667
15668 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15669
15670 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15671 macro.
15672
15673 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15674 (sendmmsg): Move declarations...
15675 * socket/sys/socket.h: ... here.
15676 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15677 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15678 include it from...
15679 * socket/recvmmsg.c: ... this new file.
15680 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15681 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15682 definition of __sendmmsg hidden.
15683 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15684 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15685 Move ENOSYS stub into and include it from...
15686 * socket/sendmmsg.c: ... this new file.
15687 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15688 (sysdep_routines): Move recvmmsg and sendmmsg...
15689 * socket/Makefile (routines): ... here.
15690 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15691 (GLIBC_PRIVATE): Add __sendmmsg.
15692 * include/sys/socket.h (__sendmmsg): Add declarations.
15693 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15694 sendmmsg.
15695
15696 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15697
15698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15699 variable I1 with __attribute__ ((unused)).
15700 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15701
15702 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15703
15704 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15705 DUMMY variables with __attribute__ ((unused)).
15706
15707 * bits/byteswap.h: Include <bits/types.h>.
15708 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15709
15710 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15711
15712 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15713 string_t. Do not manually set errno.
15714 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15715 length with __strnlen. Make sure to both set errno and return it on
15716 failure.
15717
15718 2012-11-19 David S. Miller <davem@davemloft.net>
15719
15720 With help from Joseph Myers.
15721 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15722 very large arguments properly.
15723 * math/libm-test.inc (atan_test): New tests.
15724 (atan2_test): New tests.
15725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15727
15728 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15729
15730 [BZ #14856]
15731 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15732 Define to 3.
15733
15734 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15735 [POSIX] (EADDRNOTAVAIL): Likewise.
15736 [POSIX] (EAFNOSUPPORT): Likewise.
15737 [POSIX] (EALREADY): Likewise.
15738 [POSIX] (ECONNABORTED): Likewise.
15739 [POSIX] (ECONNREFUSED): Likewise.
15740 [POSIX] (ECONNRESET): Likewise.
15741 [POSIX] (EDESTADDRREQ): Likewise.
15742 [POSIX] (EDQUOT): Likewise.
15743 [POSIX] (EHOSTUNREACH): Likewise.
15744 [POSIX] (EIDRM): Likewise.
15745 [POSIX] (EISCONN): Likewise.
15746 [POSIX] (ELOOP): Likewise.
15747 [POSIX] (EMULTIHOP): Likewise.
15748 [POSIX] (ENETDOWN): Likewise.
15749 [POSIX] (ENETUNREACH): Likewise.
15750 [POSIX] (ENOBUFS): Likewise.
15751 [POSIX] (ENODATA): Likewise.
15752 [POSIX] (ENOLINK): Likewise.
15753 [POSIX] (ENOMSG): Likewise.
15754 [POSIX] (ENOPROTOOPT): Likewise.
15755 [POSIX] (ENOSR): Likewise.
15756 [POSIX] (ENOSTR): Likewise.
15757 [POSIX] (ENOTCONN): Likewise.
15758 [POSIX] (ENOTSOCK): Likewise.
15759 [POSIX] (EOPNOTSUPP): Likewise.
15760 [POSIX] (EOVERFLOW): Likewise.
15761 [POSIX] (EPROTO): Likewise.
15762 [POSIX] (EPROTONOSUPPORT): Likewise.
15763 [POSIX] (EPROTOTYPE): Likewise.
15764 [POSIX] (ESTALE): Likewise.
15765 [POSIX] (ETIME): Likewise.
15766 [POSIX] (ETXTBSY): Likewise.
15767 [POSIX] (EWOULDBLOCK): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15769 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15770 [POSIX] (SEEK_CUR): Likewise.
15771 [POSIX] (SEEK_END): Likewise.
15772 [POSIX || UNIX98] (mode_t): Do not require.
15773 [POSIX] (off_t): Likewise.
15774 [POSIX] (pid_t): Likewise.
15775 [POSIX] (sys/stat.h): Do not allow header.
15776 [POSIX] (unistd.h): Likewise.
15777 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15778 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15780 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15781 require.
15782 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15783 sigevent): Specify elements.
15784 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15785 entry.
15786 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15787 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15788
15789 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15790 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15791 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15792 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15793 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15794 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15795 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15796 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15798 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15799 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15800 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15801 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15802 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15803 Likewise.
15804 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15805 Likewise.
15806 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15807 Likewise.
15808 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15809 Likewise.
15810 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15811 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15812 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15813 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15815 Specify lower bound on value.
15816 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15817 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15822 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15823 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15824 value.
15825 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15826 as optional.
15827 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15834 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15837 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15843 entry.
15844 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15845 optional.
15846 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15847 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15848 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15849 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15852 Likewise.
15853 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15858 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15859 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15860 as optional.
15861 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15865 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15866 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15867 specify as optional.
15868 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15871 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15872 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15873 [XPG3] (NL_LANGMAX): Likewise.
15874 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15875 [POSIX || XPG3] (NL_NMAX): Likewise.
15876 [POSIX || XPG3] (NL_SETMAX): Likewise.
15877 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15878 [XPG3] (NZERO): Likewise.
15879 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15880 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15881 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15882 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15883 (REG_ERANGE): Expect.
15884 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15885 optional-constant.
15886 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15887 Use (void) in prototype.
15888 [POSIX] (*_t): Allow.
15889 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15890 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15891 (WRDE_BADVAL): Expect.
15892
15893 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15894 expect.
15895 [XPG3 || XPG4] (O_RSYNC): Likewise.
15896 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15897 Likewise.
15898 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15899 [XPG3 || XPG4] (sigqueue): Likewise.
15900 [XPG3 || XPG4] (sigtimedwait): Likewise.
15901 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15902 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15903 [XPG3 || XPG4] (vsnprintf): Likewise.
15904 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15905 Likewise.
15906 [XPG3 || XPG4] (blksize_t): Likewise.
15907 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15908 Likewise.
15909 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15910 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15911 [XPG3 || XPG4] (struct itimerspec): Likewise.
15912 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15913 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15914 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15915 [XPG3 || XPG4] (clockid_t): Likewise.
15916 [XPG3 || XPG4] (timer_t): Likewise.
15917 [XPG3 || XPG4] (clock_getres): Likewise.
15918 [XPG3 || XPG4] (clock_gettime): Likewise.
15919 [XPG3 || XPG4] (clock_settime): Likewise.
15920 [XPG3 || XPG4] (nanosleep): Likewise.
15921 [XPG3 || XPG4] (timer_create): Likewise.
15922 [XPG3 || XPG4] (timer_delete): Likewise.
15923 [XPG3 || XPG4] (timer_gettime): Likewise.
15924 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15925 [XPG3 || XPG4] (timer_settime): Likewise.
15926 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15927 [XPG3 || XPG4] (getlogin_r): Likewise.
15928 [XPG3 || XPG4] (pread): Likewise.
15929 [XPG3 || XPG4] (pthread_atfork): Likewise.
15930 [XPG3 || XPG4] (pwrite): Likewise.
15931
15932 [BZ #14835]
15933 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15934 <bits/siginfo.h>.
15935
15936 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15937
15938 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15939 finalizing MALLSTREAM.
15940
15941 * sysdeps/mach/hurd/syncfs.c: New file.
15942
15943 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15944
15945 [BZ #14719]
15946 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15947 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15948 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15949 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15950 (_nss_dns_gethostbyname4_r): Likewise.
15951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15952 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15953
15954 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15955
15956 [BZ #13763]
15957 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15958
15959 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15960
15961 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15962 * elf/cache.c (print_entry): Print ",AArch64" for
15963 FLAG_AARCH64_LIB64
15964
15965 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15966 * elf/cache.c (print_entry): Print ",hard-float" for
15967 FLAG_ARM_LIBHF.
15968
15969 2012-11-18 David S. Miller <davem@davemloft.net>
15970
15971 With help from Joseph Myers.
15972 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15973 cutoff to 2**-13.
15974 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15975 cutoff to 2**-25.
15976 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15977 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15978 small.
15979 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15980 * math/libm-test.inc (y0_test): New tests.
15981 (y1_test): New tests.
15982 * sysdeps/i386/fpu/libm-test-ulps: Update.
15983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15985
15986 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15987
15988 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15989 64-bit targets.
15990 * configure: Regenerated.
15991
15992 2012-11-17 David S. Miller <davem@davemloft.net>
15993
15994 [BZ #14811]
15995 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15996 nonzero exponents with absolute value below 0x1p-128 to +/-
15997 0x1p-128.
15998
15999 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16000
16001 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16002
16003 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16004
16005 * posix/getconf-speclist.c: New file.
16006 * posix/posix-envs.def: Likewise.
16007 * posix/confstr.c (START_ENV_GROUP): New macro.
16008 (END_ENV_GROUP): Likewise.
16009 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16010 (KNOWN_PRESENT_ENV_STRING): Likewise.
16011 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16012 (UNKNOWN_ENVIRONMENT): Likewise.
16013 (confstr): Include posix-envs.def instead of handling
16014 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16015 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16016 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16017 (END_ENV_GROUP): Likewise.
16018 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16019 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16020 (UNKNOWN_ENVIRONMENT): Likewise.
16021 (__sysconf): Include posix-envs.def instead of handling associated
16022 cases directly here.
16023 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16024 preprocessing getconf-speclist.c rather than running getconf or
16025 generating empty file.
16026
16027 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16028
16029 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16030
16031 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16032
16033 [BZ #14672]
16034 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16035
16036 2012-11-16 David S. Miller <davem@davemloft.net>
16037
16038 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16039 smaller than LDBL_EPSILON/2.0L, just return xm1.
16040
16041 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 * elf/tst-array1.c (init): Set constructor priority to 1000.
16044 (fini): Set destructor priority to 1000.
16045 * elf/tst-array2dep.c: Likewise.
16046
16047 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16048
16049 [BZ #11741]
16050 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16051 (_IO_new_file_xsputn): Also return EOF if none of the input
16052 data was written when overflow failed.
16053 * libio/iopadn.c (_IO_padn): Likewise.
16054 * libio/iowpadn.c (_IO_wpadn): Likewise.
16055 * stdio-common/tst-put-error.c: Add copyright notice.
16056 (do_test): Add case for printing padded string.
16057 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16058 _IO_padn returned error.
16059 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16060 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16061 return EOF.
16062
16063 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16064
16065 * libio/libioP.h: Add comment note that the references to C++
16066 bits are now obsolete.
16067
16068 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16069
16070 * math/libm-test.inc (check_complex): Use asprintf.
16071
16072 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16073
16074 * debug/pcprofiledump.c (print_version): Update copyright year.
16075 * malloc/memusagestat.c (print_version): Likewise.
16076
16077 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16078
16079 [BZ #14831]
16080 * elf/Makefile (tests): Add tst-audit8.
16081 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16082 ($(objpfx)tst-audit8.out): New target.
16083 (tst-audit8-ENV): New variable.
16084 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16085 audit if l_reloc_result is NULL.
16086 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16087 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16088 * elf/tst-audit8.c: New file.
16089
16090 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16091
16092 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16093 * misc/Makefile (CFLAGS-select.c): Define.
16094 * posix/Makefile (CFLAGS-pause.c): Define.
16095
16096 2012-11-13 David S. Miller <davem@davemloft.net>
16097
16098 * crypt/Makefile: Move test targets after toplevel Rules
16099 inclusion. Grab any necessary sysdep routines when linking.
16100 * crypt/md5.c (md5_process_block): Remove define, we will always
16101 name it __md5_process_block.
16102 (md5_finish_ctx): Update md5_process_block call.
16103 (md5_stream): Likewise.
16104 (md5_process_bytes): Likewise.
16105 (md5_process_block): Rename to __md5_process_block and move to ...
16106 * crypt/md5-block.c: ... here.
16107 * crypt/sha256.c (sha256_process_block): Move to ...
16108 * crypt/sha256-block.c: ... here.
16109 * crypt/sha512.c (sha512_process_block): Move to ...
16110 * crypt/sha512-block.c: ... here.
16111 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16112 path.
16113 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16114 * sysdeps/sparc/sparc64/multiarch/Makefile
16115 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16116 crypt subdir.
16117 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16118 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16119 multiarch changes.
16120 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16121 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16122 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16123 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16124 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16125 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16126 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16127 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16128 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16129 file.
16130 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16132 file.
16133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16134
16135 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16136
16137 * timezone/tzselect.ksh: Update from tzcode git revision
16138 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16139 * timezone/zdump.c: Likewise.
16140 * timezone/zic.c: Likewise.
16141 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16142 in TZVERSION setting, not $(PKGVERSION).
16143 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16144 REPORT_BUGS_TO settings.
16145
16146 [BZ #14838]
16147 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16148 macro.
16149
16150 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16151
16152 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16153 detection to immediately after _FP_ROUND().
16154 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16155 bits are 0.
16156
16157 2012-11-11 David S. Miller <davem@davemloft.net>
16158
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16160 inttypes.h
16161 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16162 __close rather than their public counterparts.
16163
16164 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16165
16166 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16167 file.
16168 [UNIX98] (sem_timedwait): Do not expect.
16169 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16170 [XPG4 || UNIX98] (sockatmark): Do not expect.
16171 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16172 (clock_getcpuclockid): Do not expect.
16173 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16174 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16175 Do not expect.
16176 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16177 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16178 [UNIX98] (vwscanf): Likewise.
16179 [UNIX98] (vswscanf): Likewise.
16180
16181 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16182
16183 * timezone/version.h: Remove file.
16184 * timezone/README: Do not refer to version.h.
16185 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16186 $(objpfx)version.h.
16187 ($(objpfx)zdump.o): Likewise.
16188 ($(objpfx)version.h): New target.
16189
16190 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16191 2012i.
16192 * timezone/README: Don't mention modification to tzselect.ksh.
16193 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16194 work on unmodified tzselect.ksh. Substitute version numbers in
16195 tzselect.ksh.
16196
16197 * Makefile (format-me): Remove.
16198 (INSTALL): Adjust indentation. Use commands directly instead of
16199 using $(format-me).
16200
16201 * aclocal.m4 (ACX_PKGVERSION): New macro.
16202 (ACX_BUGURL): Likewise.
16203 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16204 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16205 (REPORT_BUGS_TO): Likewise.
16206 * configure: Regenerated.
16207 * config.h.in (PKGVERSION): New macro.
16208 (REPORT_BUGS_TO): Likewise.
16209 * config.make.in (PKGVERSION): New variable.
16210 (PKGVERSION_TEXI): Likewise.
16211 (REPORT_BUGS_TO): Likewise.
16212 (REPORT_BUGS_TEXI): Likewise.
16213 * Makefile (format-me): Use -I$(common-objpfx)manual.
16214 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16215 ($(common-objpfx)manual/%): New target.
16216 (manual/%): Remove target.
16217 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16218 (print_version): Use PKGVERSION.
16219 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16220 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16221 and REPORT_BUGS_TO.
16222 ($(objpfx)xtrace): Likewise.
16223 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16224 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16225 (print_version): Use PKGVERSION.
16226 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16227 (do_version): Use PKGVERSION.
16228 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16229 REPORT_BUGS_TO.
16230 (common-ldd-rewrite): Likewise.
16231 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16232 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16233 (print_version): Use PKGVERSION.
16234 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16235 * elf/pldd.c (argp_program_bug_address): Remove variable.
16236 (more_help): New function.
16237 (argp): Use more_help.
16238 (print_version): Use PKGVERSION.
16239 * elf/sln.c (main): Use PKGVERSION.
16240 (usage): Use REPORT_BUGS_TO.
16241 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16242 (top level): Use PKGVERSION.
16243 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16244 (print_version): Use PKGVERSION.
16245 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16246 (print_version): Use PKGVERSION.
16247 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16248 (print_version): Use PKGVERSION.
16249 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16250 (print_version): Use PKGVERSION.
16251 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16252 (print_version): Use PKGVERSION.
16253 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16254 (print_version): Use PKGVERSION.
16255 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16256 and BUGURL.
16257 ($(objpfx)memusage): Likewise.
16258 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16259 (do_version): Use PKGVERSION.
16260 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16261 (print_version): Use PKGVERSION.
16262 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16263 ($PKGVERSION): New variable.
16264 ($REPORT_BUGS_TO): Likewise.
16265 (usage): Use $REPORT_BUGS_TO.
16266 (top level): Use $PKGVERSION.
16267 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16268 ($(objpfx)pkgvers.texi): New rule.
16269 ($(objpfx)stamp-pkgvers): Likewise.
16270 * manual/install.texi: Include pkgvers.texi.
16271 (--with-pkgversion): Document new configure option.
16272 (--with-bugurl): Likewise.
16273 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16274 than necessarily for this particular distribution. Use
16275 REPORT_BUGS_TO for where to report bugs.
16276 * INSTALL: Regenerated.
16277 * manual/libc.texinfo: Include pkgvers.texi.
16278 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16279 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16280 (print_version): Use PKGVERSION.
16281 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16282 (print_version): Use PKGVERSION.
16283 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16284 (print_version): Use PKGVERSION.
16285 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16286 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16287 macro.
16288 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16289 (print_version): Use PKGVERSION.
16290 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16291 (print_version): Use PKGVERSION.
16292 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16293 and PKGVERSION.
16294
16295 * timezone/checktab.awk: Update from tzcode 2012i.
16296 * timezone/ialloc.c: Likewise.
16297 * timezone/private.h: Likewise.
16298 * timezone/scheck.c: Likewise.
16299 * timezone/tzfile.h: Likewise.
16300 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16301 (TZVERSION): Hardcode tzcode version number.
16302 * timezone/zdump.c: Update from tzcode 2012i.
16303 * timezone/zic.c: Likewise.
16304 * timezone/version.h: New file.
16305 * timezone/README: Describe version.h. Update upstream location.
16306
16307 [BZ #14824]
16308 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16309 (mktemp): Enable declaration.
16310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16314 Likewise.
16315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16316 Likewise.
16317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16318 Likewise.
16319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16320 Likewise.
16321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16322 Likewise.
16323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16324 Likewise.
16325
16326 [BZ #14821]
16327 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16328 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16329 for copies of such integer values.
16330 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16331 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16332
16333 2012-11-09 Andreas Jaeger <aj@suse.de>
16334
16335 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16336 definitions and declarations that are provided by
16337 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16338
16339 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16340
16341 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16342 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16343 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16344 definition.
16345
16346 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16347
16348 * elf/elf.h: Update comment before AArch64 relocations.
16349
16350 2012-11-07 David S. Miller <davem@davemloft.net>
16351
16352 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16353 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16354 (__start_context): Declare.
16355 (__makecontext_ret): Delete.
16356 (__makecontext): Hook up __start_context instead of
16357 __makecontext_ret.
16358 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16359 (sysdep_routines): Add __start_context when in stdlib.
16360
16361 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16362
16363 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16364 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16365 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16366 hardcoded "nm".
16367 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16368 (READELF): New variable. Use it instead of hardcoded "readelf".
16369
16370 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16371
16372 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16373 * sysdeps/x86/Makefile: Here.
16374 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16375 * sysdeps/x86/tst-xmmymm.sh: This.
16376
16377 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16378
16379 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16380 expectations.
16381 [UNIX98] (pthread_barrier_t): Do not expect.
16382 [UNIX98] (pthread_barrierattr_t): Likewise.
16383 [UNIX98] (pthread_spinlock_t): Likewise.
16384 [UNIX98] (pthread_barrier_destroy): Likewise.
16385 [UNIX98] (pthread_barrier_init): Likewise.
16386 [UNIX98] (pthread_barrier_wait): Likewise.
16387 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16388 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16389 [UNIX98] (pthread_barrierattr_init): Likewise.
16390 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16391 [UNIX98] (pthread_getcpuclockid): Likewise.
16392 [UNIX98] (pthread_mutex_timedlock): Likewise.
16393 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16394 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16395 [UNIX98] (pthread_sigmask): Likewise.
16396 [UNIX98] (pthread_spin_destroy): Likewise.
16397 [UNIX98] (pthread_spin_init): Likewise.
16398 [UNIX98] (pthread_spin_lock): Likewise.
16399 [UNIX98] (pthread_spin_trylock): Likewise.
16400 [UNIX98] (pthread_spin_unlock): Likewise.
16401 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16402 Do not expect.
16403 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16405 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16406 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16407 [XPG3 || XPG4] (pthread_key_t): Likewise.
16408 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16409 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16410 [XPG3 || XPG4] (pthread_once_t): Likewise.
16411 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16412 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16414 [XPG3 || XPG4] (pthread_t): Likewise.
16415
16416 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16417 not expect.
16418 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16419
16420 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16421 Change function return type to int.
16422
16423 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16424 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16425 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16426 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16427 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16428 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16429 [!POSIX] (posix_madvise): Likewise.
16430 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16431 && !UNIX98].
16432 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16433 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16434 (mode_t): Likewise.
16435 (posix_mem_offset): Likewise.
16436 (posix_typed_mem_get_info): Likewise.
16437 (posix_typed_mem_open): Likewise.
16438
16439 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16440 Change condition to [XOPEN2K8].
16441
16442 * conform/conformtest.pl: Preprocess allow-header data with -x c
16443 instead of from stdin.
16444 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16445 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16446 [C99-based standards] (cerfc): Likewise.
16447 [C99-based standards] (cexp2): Likewise.
16448 [C99-based standards] (cexpm1): Likewise.
16449 [C99-based standards] (clog10): Likewise.
16450 [C99-based standards] (clog1p): Likewise.
16451 [C99-based standards] (clog2): Likewise.
16452 [C99-based standards] (clgamma): Likewise.
16453 [C99-based standards] (ctgamma): Likewise.
16454 [C99-based standards] (cerff): Likewise.
16455 [C99-based standards] (cerfcf): Likewise.
16456 [C99-based standards] (cexp2f): Likewise.
16457 [C99-based standards] (cexpm1f): Likewise.
16458 [C99-based standards] (clog10f): Likewise.
16459 [C99-based standards] (clog1pf): Likewise.
16460 [C99-based standards] (clog2f): Likewise.
16461 [C99-based standards] (clgammaf): Likewise.
16462 [C99-based standards] (ctgammaf): Likewise.
16463 [C99-based standards] (cerfl): Likewise.
16464 [C99-based standards] (cerfcl): Likewise.
16465 [C99-based standards] (cexp2l): Likewise.
16466 [C99-based standards] (cexpm1l): Likewise.
16467 [C99-based standards] (clog10l): Likewise.
16468 [C99-based standards] (clog1pl): Likewise.
16469 [C99-based standards] (clog2l): Likewise.
16470 [C99-based standards] (clgammal): Likewise.
16471 [C99-based standards] (ctgammal): Likewise.
16472 * conform/data/inttypes.h-data [C99-based standards]: Include
16473 stdint.h-data. Remove all expectations for stdint.h contents.
16474 [C99-based standards] (PRI*): Do not allow.
16475 [C99-based standards] (SCN*): Likewise.
16476 [C99-based standards] (*_t): Likewise.
16477 [C99-based-standards] (PRId8): Expect macro.
16478 [C99-based-standards] (PRIi8): Likewise.
16479 [C99-based-standards] (PRIo8): Likewise.
16480 [C99-based-standards] (PRIu8): Likewise.
16481 [C99-based-standards] (PRIx8): Likewise.
16482 [C99-based-standards] (PRIX8): Likewise.
16483 [C99-based-standards] (SCNd8): Likewise.
16484 [C99-based-standards] (SCNi8): Likewise.
16485 [C99-based-standards] (SCNo8): Likewise.
16486 [C99-based-standards] (SCNu8): Likewise.
16487 [C99-based-standards] (SCNx8): Likewise.
16488 [C99-based-standards] (PRIdLEAST8): Likewise.
16489 [C99-based-standards] (PRIiLEAST8): Likewise.
16490 [C99-based-standards] (PRIoLEAST8): Likewise.
16491 [C99-based-standards] (PRIuLEAST8): Likewise.
16492 [C99-based-standards] (PRIxLEAST8): Likewise.
16493 [C99-based-standards] (PRIXLEAST8): Likewise.
16494 [C99-based-standards] (SCNdLEAST8): Likewise.
16495 [C99-based-standards] (SCNiLEAST8): Likewise.
16496 [C99-based-standards] (SCNoLEAST8): Likewise.
16497 [C99-based-standards] (SCNuLEAST8): Likewise.
16498 [C99-based-standards] (SCNxLEAST8): Likewise.
16499 [C99-based-standards] (PRIdFAST8): Likewise.
16500 [C99-based-standards] (PRIiFAST8): Likewise.
16501 [C99-based-standards] (PRIoFAST8): Likewise.
16502 [C99-based-standards] (PRIuFAST8): Likewise.
16503 [C99-based-standards] (PRIxFAST8): Likewise.
16504 [C99-based-standards] (PRIXFAST8): Likewise.
16505 [C99-based-standards] (SCNdFAST8): Likewise.
16506 [C99-based-standards] (SCNiFAST8): Likewise.
16507 [C99-based-standards] (SCNoFAST8): Likewise.
16508 [C99-based-standards] (SCNuFAST8): Likewise.
16509 [C99-based-standards] (SCNxFAST8): Likewise.
16510 [C99-based-standards] (PRId16): Likewise.
16511 [C99-based-standards] (PRIi16): Likewise.
16512 [C99-based-standards] (PRIo16): Likewise.
16513 [C99-based-standards] (PRIu16): Likewise.
16514 [C99-based-standards] (PRIx16): Likewise.
16515 [C99-based-standards] (PRIX16): Likewise.
16516 [C99-based-standards] (SCNd16): Likewise.
16517 [C99-based-standards] (SCNi16): Likewise.
16518 [C99-based-standards] (SCNo16): Likewise.
16519 [C99-based-standards] (SCNu16): Likewise.
16520 [C99-based-standards] (SCNx16): Likewise.
16521 [C99-based-standards] (PRIdLEAST16): Likewise.
16522 [C99-based-standards] (PRIiLEAST16): Likewise.
16523 [C99-based-standards] (PRIoLEAST16): Likewise.
16524 [C99-based-standards] (PRIuLEAST16): Likewise.
16525 [C99-based-standards] (PRIxLEAST16): Likewise.
16526 [C99-based-standards] (PRIXLEAST16): Likewise.
16527 [C99-based-standards] (SCNdLEAST16): Likewise.
16528 [C99-based-standards] (SCNiLEAST16): Likewise.
16529 [C99-based-standards] (SCNoLEAST16): Likewise.
16530 [C99-based-standards] (SCNuLEAST16): Likewise.
16531 [C99-based-standards] (SCNxLEAST16): Likewise.
16532 [C99-based-standards] (PRIdFAST16): Likewise.
16533 [C99-based-standards] (PRIiFAST16): Likewise.
16534 [C99-based-standards] (PRIoFAST16): Likewise.
16535 [C99-based-standards] (PRIuFAST16): Likewise.
16536 [C99-based-standards] (PRIxFAST16): Likewise.
16537 [C99-based-standards] (PRIXFAST16): Likewise.
16538 [C99-based-standards] (SCNdFAST16): Likewise.
16539 [C99-based-standards] (SCNiFAST16): Likewise.
16540 [C99-based-standards] (SCNoFAST16): Likewise.
16541 [C99-based-standards] (SCNuFAST16): Likewise.
16542 [C99-based-standards] (SCNxFAST16): Likewise.
16543 [C99-based-standards] (PRId32): Likewise.
16544 [C99-based-standards] (PRIi32): Likewise.
16545 [C99-based-standards] (PRIo32): Likewise.
16546 [C99-based-standards] (PRIu32): Likewise.
16547 [C99-based-standards] (PRIx32): Likewise.
16548 [C99-based-standards] (PRIX32): Likewise.
16549 [C99-based-standards] (SCNd32): Likewise.
16550 [C99-based-standards] (SCNi32): Likewise.
16551 [C99-based-standards] (SCNo32): Likewise.
16552 [C99-based-standards] (SCNu32): Likewise.
16553 [C99-based-standards] (SCNx32): Likewise.
16554 [C99-based-standards] (PRIdLEAST32): Likewise.
16555 [C99-based-standards] (PRIiLEAST32): Likewise.
16556 [C99-based-standards] (PRIoLEAST32): Likewise.
16557 [C99-based-standards] (PRIuLEAST32): Likewise.
16558 [C99-based-standards] (PRIxLEAST32): Likewise.
16559 [C99-based-standards] (PRIXLEAST32): Likewise.
16560 [C99-based-standards] (SCNdLEAST32): Likewise.
16561 [C99-based-standards] (SCNiLEAST32): Likewise.
16562 [C99-based-standards] (SCNoLEAST32): Likewise.
16563 [C99-based-standards] (SCNuLEAST32): Likewise.
16564 [C99-based-standards] (SCNxLEAST32): Likewise.
16565 [C99-based-standards] (PRIdFAST32): Likewise.
16566 [C99-based-standards] (PRIiFAST32): Likewise.
16567 [C99-based-standards] (PRIoFAST32): Likewise.
16568 [C99-based-standards] (PRIuFAST32): Likewise.
16569 [C99-based-standards] (PRIxFAST32): Likewise.
16570 [C99-based-standards] (PRIXFAST32): Likewise.
16571 [C99-based-standards] (SCNdFAST32): Likewise.
16572 [C99-based-standards] (SCNiFAST32): Likewise.
16573 [C99-based-standards] (SCNoFAST32): Likewise.
16574 [C99-based-standards] (SCNuFAST32): Likewise.
16575 [C99-based-standards] (SCNxFAST32): Likewise.
16576 [C99-based-standards] (PRId64): Likewise.
16577 [C99-based-standards] (PRIi64): Likewise.
16578 [C99-based-standards] (PRIo64): Likewise.
16579 [C99-based-standards] (PRIu64): Likewise.
16580 [C99-based-standards] (PRIx64): Likewise.
16581 [C99-based-standards] (PRIX64): Likewise.
16582 [C99-based-standards] (SCNd64): Likewise.
16583 [C99-based-standards] (SCNi64): Likewise.
16584 [C99-based-standards] (SCNo64): Likewise.
16585 [C99-based-standards] (SCNu64): Likewise.
16586 [C99-based-standards] (SCNx64): Likewise.
16587 [C99-based-standards] (PRIdLEAST64): Likewise.
16588 [C99-based-standards] (PRIiLEAST64): Likewise.
16589 [C99-based-standards] (PRIoLEAST64): Likewise.
16590 [C99-based-standards] (PRIuLEAST64): Likewise.
16591 [C99-based-standards] (PRIxLEAST64): Likewise.
16592 [C99-based-standards] (PRIXLEAST64): Likewise.
16593 [C99-based-standards] (SCNdLEAST64): Likewise.
16594 [C99-based-standards] (SCNiLEAST64): Likewise.
16595 [C99-based-standards] (SCNoLEAST64): Likewise.
16596 [C99-based-standards] (SCNuLEAST64): Likewise.
16597 [C99-based-standards] (SCNxLEAST64): Likewise.
16598 [C99-based-standards] (PRIdFAST64): Likewise.
16599 [C99-based-standards] (PRIiFAST64): Likewise.
16600 [C99-based-standards] (PRIoFAST64): Likewise.
16601 [C99-based-standards] (PRIuFAST64): Likewise.
16602 [C99-based-standards] (PRIxFAST64): Likewise.
16603 [C99-based-standards] (PRIXFAST64): Likewise.
16604 [C99-based-standards] (SCNdFAST64): Likewise.
16605 [C99-based-standards] (SCNiFAST64): Likewise.
16606 [C99-based-standards] (SCNoFAST64): Likewise.
16607 [C99-based-standards] (SCNuFAST64): Likewise.
16608 [C99-based-standards] (SCNxFAST64): Likewise.
16609 [C99-based-standards] (PRIdMAX): Likewise.
16610 [C99-based-standards] (PRIiMAX): Likewise.
16611 [C99-based-standards] (PRIoMAX): Likewise.
16612 [C99-based-standards] (PRIuMAX): Likewise.
16613 [C99-based-standards] (PRIxMAX): Likewise.
16614 [C99-based-standards] (PRIXMAX): Likewise.
16615 [C99-based-standards] (SCNdMAX): Likewise.
16616 [C99-based-standards] (SCNiMAX): Likewise.
16617 [C99-based-standards] (SCNoMAX): Likewise.
16618 [C99-based-standards] (SCNuMAX): Likewise.
16619 [C99-based-standards] (SCNxMAX): Likewise.
16620 [C99-based-standards] (PRIdPTR): Likewise.
16621 [C99-based-standards] (PRIiPTR): Likewise.
16622 [C99-based-standards] (PRIoPTR): Likewise.
16623 [C99-based-standards] (PRIuPTR): Likewise.
16624 [C99-based-standards] (PRIxPTR): Likewise.
16625 [C99-based-standards] (PRIXPTR): Likewise.
16626 [C99-based-standards] (SCNdPTR): Likewise.
16627 [C99-based-standards] (SCNiPTR): Likewise.
16628 [C99-based-standards] (SCNoPTR): Likewise.
16629 [C99-based-standards] (SCNuPTR): Likewise.
16630 [C99-based-standards] (SCNxPTR): Likewise.
16631 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16632 allow.
16633 * conform/data/stdint.h-data: Update comments to clarify
16634 requirements.
16635 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16636 type.
16637 [C99-based standards] (INT8_MAX): Likewise.
16638 [C99-based standards] (INT16_MIN): Likewise.
16639 [C99-based standards] (INT16_MAX): Likewise.
16640 [C99-based standards] (INT32_MIN): Likewise.
16641 [C99-based standards] (INT32_MAX): Likewise.
16642 [C99-based standards] (INT64_MIN): Likewise.
16643 [C99-based standards] (INT64_MAX): Likewise.
16644 [C99-based standards] (UINT8_MAX): Likewise.
16645 [C99-based standards] (UINT16_MAX): Likewise.
16646 [C99-based standards] (UINT32_MAX): Likewise.
16647 [C99-based standards] (UINT64_MAX): Likewise.
16648 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16649 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16650 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16651 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16652 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16653 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16654 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16655 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16656 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16657 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16658 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16659 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16660 [C99-based standards] (INT_FAST8_MIN): Likewise.
16661 [C99-based standards] (INT_FAST8_MAX): Likewise.
16662 [C99-based standards] (INT_FAST16_MIN): Likewise.
16663 [C99-based standards] (INT_FAST16_MAX): Likewise.
16664 [C99-based standards] (INT_FAST32_MIN): Likewise.
16665 [C99-based standards] (INT_FAST32_MAX): Likewise.
16666 [C99-based standards] (INT_FAST64_MIN): Likewise.
16667 [C99-based standards] (INT_FAST64_MAX): Likewise.
16668 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16669 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16670 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16671 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16672 [C99-based standards] (INTPTR_MIN): Likewise.
16673 [C99-based standards] (INTPTR_MAX): Likewise.
16674 [C99-based standards] (UINTPTR_MAX): Likewise.
16675 [C99-based standards] (INTMAX_MIN): Likewise.
16676 [C99-based standards] (INTMAX_MAX): Likewise.
16677 [C99-based standards] (UINTMAX_MAX): Likewise.
16678 [C99-based standards] (PTRDIFF_MIN): Likewise.
16679 [C99-based standards] (PTRDIFF_MAX): Likewise.
16680 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16681 [C99-based standards] (SIZE_MAX): Likewise.
16682 [C99-based standards] (WCHAR_MAX): Likewise.
16683 [C99-based standards] (WINT_MAX): Likewise.
16684 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16685 constraint on value.
16686 [C99-based standards] (WCHAR_MIN): Likewise.
16687 [C99-based standards] (WINT_MIN): Likewise.
16688 [C99-based standards] (*_t): Allow.
16689 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16690 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16691 Include math.h-data and complex.h-data. Remove all expectations
16692 of math.h and complex.h contents.
16693 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16694 at end of line.
16695 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16696 (struct tm): Expect tag.
16697 [C99-based-standards] (wcstof): Expect function.
16698 [C99-based-standards] (wcstold): Likewise.
16699 [C99-based-standards] (wcstoll): Likewise.
16700 [C99-based-standards] (wcstoull): Likewise.
16701 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16702 macro-int-constant. Specify type.
16703 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16704 constraint on value.
16705 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16706 Specify type.
16707 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16708 Specify value.
16709 [ISO C standards]: Do not allow headers.
16710 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16711 wcs[abcdefghijklmnopqrstuvwxyz]*.
16712 [ISO C standards] (*_t): Do not allow.
16713 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16714 Expect function.
16715 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16716 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16717 Specify type.
16718 [ISO C standards]: Do not allow headers.
16719 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16720 is[abcdefghijklmnopqrstuvwxyz]*.
16721 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16722 to[abcdefghijklmnopqrstuvwxyz]*.
16723 [ISO C standards] (*_t): Do not allow.
16724 * conform/data/stdalign.h-data: New file.
16725 * conform/data/stdbool.h-data: Likewise.
16726 * conform/data/stdnoreturn.h-data: Likewise.
16727
16728 2012-11-07 Roland McGrath <roland@hack.frob.com>
16729
16730 [BZ #14815]
16731 * manual/filesys.texi (Directory Entries): Typo fix.
16732 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16733
16734 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16735
16736 * elf/elf.h (EM_AARCH64): New macro.
16737 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16738 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16739 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16740 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16741 (R_AARCH64_TLSDESC): Likewise.
16742 (NT_ARM_TLS): Likewise.
16743 (NT_ARM_HW_BREAK): Likewise.
16744 (NT_ARM_HW_WATCH): Likewise.
16745
16746 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16747
16748 [BZ #14811]
16749 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16750 (__ieee754_powl): Saturate nonzero exponents with absolute value
16751 below 0x1p-79 to +/- 0x1p-79.
16752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16753 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16754 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16755 nonzero exponents with absolute value below 0x1p-32 to +/-
16756 0x1p-32.
16757 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16758 (__ieee754_powl): Saturate nonzero exponents with absolute value
16759 below 0x1p-79 to +/- 0x1p-79.
16760 * math/libm-test.inc (pow_test): Add more tests.
16761
16762 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16763
16764 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16765 _dl_s390_cap_flags with kernel. Increase string length.
16766 (_dl_s390_platforms): Add z196 and zEC12.
16767
16768 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16769
16770 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16771 Change XOPEN21K to XOPEN2K.
16772
16773 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16774
16775 * string/memmove.c: Use memcpy when possible.
16776
16777 2012-11-06 Andreas Jaeger <aj@suse.de>
16778
16779 * po/eo.po: Update from translation team.
16780
16781 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16782
16783 [BZ #14793]
16784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16785 exponent and small x and y exponents, scale x or y up. Increase
16786 by 2 the exponent used in scaling up.
16787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16788 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16789 * math/libm-test.inc (fma_test): Add more tests.
16790 (fma_test_towardzero): Likewise.
16791 (fma_test_downward): Likewise.
16792 (fma_test_upward): Likewise.
16793
16794 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16795
16796 [BZ #14805]
16797 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16798 fenv_t *.
16799
16800 [BZ #14801]
16801 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16802 namespace for names of struct fields.
16803 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16804 fenv_t fields.
16805 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16806 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16807
16808 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16809
16810 [BZ #3665]
16811 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16812
16813 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16814
16815 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16816 PTR_DEMANGLE.
16817
16818 [BZ #5246]
16819 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16820 PTR_DEMANGLE.
16821
16822 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16823
16824 [BZ #14797]
16825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16826 definitely overflow as x * y not x * y + z.
16827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16829 * math/libm-test.inc (fma_test): Add more tests.
16830 (fma_test_towardzero): Likewise.
16831 (fma_test_downward): Likewise.
16832 (fma_test_upward): Likewise.
16833
16834 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16835
16836 [BZ #157]
16837
16838 * include/stub-tag.h: Remove file.
16839 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16840 '#include' of it.
16841 * manual/maint.texi (Porting): Don't reference it.
16842 * Makerules ($(objpfx)stubs): Likewise.
16843 * dirent/closedir.c: Don't include <stub-tag.h>.
16844 * dirent/dirfd.c: Likewise.
16845 * dirent/fdopendir.c: Likewise.
16846 * dirent/getdents.c: Likewise.
16847 * dirent/getdents64.c: Likewise.
16848 * dirent/opendir.c: Likewise.
16849 * dirent/readdir.c: Likewise.
16850 * dirent/readdir64.c: Likewise.
16851 * dirent/readdir64_r.c: Likewise.
16852 * dirent/readdir_r.c: Likewise.
16853 * dirent/rewinddir.c: Likewise.
16854 * dirent/seekdir.c: Likewise.
16855 * dirent/telldir.c: Likewise.
16856 * gmon/profil.c: Likewise.
16857 * grp/setgroups.c: Likewise.
16858 * inet/if_index.c: Likewise.
16859 * io/access.c: Likewise.
16860 * io/chdir.c: Likewise.
16861 * io/chmod.c: Likewise.
16862 * io/chown.c: Likewise.
16863 * io/close.c: Likewise.
16864 * io/dup.c: Likewise.
16865 * io/dup2.c: Likewise.
16866 * io/dup3.c: Likewise.
16867 * io/euidaccess.c: Likewise.
16868 * io/faccessat.c: Likewise.
16869 * io/fchdir.c: Likewise.
16870 * io/fchmod.c: Likewise.
16871 * io/fchmodat.c: Likewise.
16872 * io/fchown.c: Likewise.
16873 * io/fchownat.c: Likewise.
16874 * io/fcntl.c: Likewise.
16875 * io/flock.c: Likewise.
16876 * io/fstatfs.c: Likewise.
16877 * io/fstatfs64.c: Likewise.
16878 * io/fstatvfs.c: Likewise.
16879 * io/fstatvfs64.c: Likewise.
16880 * io/futimens.c: Likewise.
16881 * io/fxstat.c: Likewise.
16882 * io/fxstat64.c: Likewise.
16883 * io/fxstatat.c: Likewise.
16884 * io/fxstatat64.c: Likewise.
16885 * io/getcwd.c: Likewise.
16886 * io/isatty.c: Likewise.
16887 * io/lchmod.c: Likewise.
16888 * io/lchown.c: Likewise.
16889 * io/link.c: Likewise.
16890 * io/linkat.c: Likewise.
16891 * io/lseek.c: Likewise.
16892 * io/lseek64.c: Likewise.
16893 * io/lxstat64.c: Likewise.
16894 * io/mkdir.c: Likewise.
16895 * io/mkdirat.c: Likewise.
16896 * io/mkfifo.c: Likewise.
16897 * io/mkfifoat.c: Likewise.
16898 * io/open.c: Likewise.
16899 * io/open64.c: Likewise.
16900 * io/openat.c: Likewise.
16901 * io/openat64.c: Likewise.
16902 * io/pipe.c: Likewise.
16903 * io/pipe2.c: Likewise.
16904 * io/poll.c: Likewise.
16905 * io/posix_fadvise.c: Likewise.
16906 * io/posix_fadvise64.c: Likewise.
16907 * io/posix_fallocate.c: Likewise.
16908 * io/posix_fallocate64.c: Likewise.
16909 * io/read.c: Likewise.
16910 * io/readlink.c: Likewise.
16911 * io/readlinkat.c: Likewise.
16912 * io/rmdir.c: Likewise.
16913 * io/sendfile.c: Likewise.
16914 * io/sendfile64.c: Likewise.
16915 * io/statfs.c: Likewise.
16916 * io/statfs64.c: Likewise.
16917 * io/statvfs.c: Likewise.
16918 * io/statvfs64.c: Likewise.
16919 * io/symlink.c: Likewise.
16920 * io/symlinkat.c: Likewise.
16921 * io/ttyname.c: Likewise.
16922 * io/ttyname_r.c: Likewise.
16923 * io/umask.c: Likewise.
16924 * io/unlink.c: Likewise.
16925 * io/unlinkat.c: Likewise.
16926 * io/utime.c: Likewise.
16927 * io/utimensat.c: Likewise.
16928 * io/write.c: Likewise.
16929 * io/xmknod.c: Likewise.
16930 * io/xmknodat.c: Likewise.
16931 * io/xstat.c: Likewise.
16932 * io/xstat64.c: Likewise.
16933 * login/getpt.c: Likewise.
16934 * login/grantpt.c: Likewise.
16935 * login/unlockpt.c: Likewise.
16936 * math/e_acoshl.c: Likewise.
16937 * math/e_acosl.c: Likewise.
16938 * math/e_asinl.c: Likewise.
16939 * math/e_atan2l.c: Likewise.
16940 * math/e_atanhl.c: Likewise.
16941 * math/e_coshl.c: Likewise.
16942 * math/e_expl.c: Likewise.
16943 * math/e_fmodl.c: Likewise.
16944 * math/e_gammal_r.c: Likewise.
16945 * math/e_hypotl.c: Likewise.
16946 * math/e_j0l.c: Likewise.
16947 * math/e_j1l.c: Likewise.
16948 * math/e_jnl.c: Likewise.
16949 * math/e_lgammal_r.c: Likewise.
16950 * math/e_log10l.c: Likewise.
16951 * math/e_log2l.c: Likewise.
16952 * math/e_logl.c: Likewise.
16953 * math/e_powl.c: Likewise.
16954 * math/e_rem_pio2l.c: Likewise.
16955 * math/e_sinhl.c: Likewise.
16956 * math/e_sqrtl.c: Likewise.
16957 * math/fclrexcpt.c: Likewise.
16958 * math/fedisblxcpt.c: Likewise.
16959 * math/feenablxcpt.c: Likewise.
16960 * math/fegetenv.c: Likewise.
16961 * math/fegetexcept.c: Likewise.
16962 * math/fegetround.c: Likewise.
16963 * math/feholdexcpt.c: Likewise.
16964 * math/fesetenv.c: Likewise.
16965 * math/fesetround.c: Likewise.
16966 * math/feupdateenv.c: Likewise.
16967 * math/fgetexcptflg.c: Likewise.
16968 * math/fraiseexcpt.c: Likewise.
16969 * math/fsetexcptflg.c: Likewise.
16970 * math/ftestexcept.c: Likewise.
16971 * math/k_cosl.c: Likewise.
16972 * math/k_rem_pio2l.c: Likewise.
16973 * math/k_sinl.c: Likewise.
16974 * math/k_tanl.c: Likewise.
16975 * math/s_asinhl.c: Likewise.
16976 * math/s_atanl.c: Likewise.
16977 * math/s_cbrtl.c: Likewise.
16978 * math/s_erfl.c: Likewise.
16979 * math/s_expm1l.c: Likewise.
16980 * math/s_log1pl.c: Likewise.
16981 * math/s_tanhl.c: Likewise.
16982 * misc/acct.c: Likewise.
16983 * misc/brk.c: Likewise.
16984 * misc/chflags.c: Likewise.
16985 * misc/chroot.c: Likewise.
16986 * misc/fchflags.c: Likewise.
16987 * misc/fgetxattr.c: Likewise.
16988 * misc/flistxattr.c: Likewise.
16989 * misc/fremovexattr.c: Likewise.
16990 * misc/fsetxattr.c: Likewise.
16991 * misc/fsync.c: Likewise.
16992 * misc/ftruncate.c: Likewise.
16993 * misc/futimes.c: Likewise.
16994 * misc/futimesat.c: Likewise.
16995 * misc/getdomain.c: Likewise.
16996 * misc/getdtsz.c: Likewise.
16997 * misc/gethostid.c: Likewise.
16998 * misc/gethostname.c: Likewise.
16999 * misc/getloadavg.c: Likewise.
17000 * misc/getpagesize.c: Likewise.
17001 * misc/getsysstats.c: Likewise.
17002 * misc/getxattr.c: Likewise.
17003 * misc/gtty.c: Likewise.
17004 * misc/ioctl.c: Likewise.
17005 * misc/lgetxattr.c: Likewise.
17006 * misc/listxattr.c: Likewise.
17007 * misc/llistxattr.c: Likewise.
17008 * misc/lremovexattr.c: Likewise.
17009 * misc/lsetxattr.c: Likewise.
17010 * misc/lutimes.c: Likewise.
17011 * misc/madvise.c: Likewise.
17012 * misc/mincore.c: Likewise.
17013 * misc/mlock.c: Likewise.
17014 * misc/mlockall.c: Likewise.
17015 * misc/mmap.c: Likewise.
17016 * misc/mprotect.c: Likewise.
17017 * misc/msync.c: Likewise.
17018 * misc/munlock.c: Likewise.
17019 * misc/munlockall.c: Likewise.
17020 * misc/munmap.c: Likewise.
17021 * misc/preadv.c: Likewise.
17022 * misc/preadv64.c: Likewise.
17023 * misc/ptrace.c: Likewise.
17024 * misc/pwritev.c: Likewise.
17025 * misc/pwritev64.c: Likewise.
17026 * misc/readv.c: Likewise.
17027 * misc/reboot.c: Likewise.
17028 * misc/remap_file_pages.c: Likewise.
17029 * misc/removexattr.c: Likewise.
17030 * misc/revoke.c: Likewise.
17031 * misc/select.c: Likewise.
17032 * misc/setdomain.c: Likewise.
17033 * misc/setegid.c: Likewise.
17034 * misc/seteuid.c: Likewise.
17035 * misc/sethostid.c: Likewise.
17036 * misc/sethostname.c: Likewise.
17037 * misc/setregid.c: Likewise.
17038 * misc/setreuid.c: Likewise.
17039 * misc/setxattr.c: Likewise.
17040 * misc/sstk.c: Likewise.
17041 * misc/stty.c: Likewise.
17042 * misc/swapoff.c: Likewise.
17043 * misc/swapon.c: Likewise.
17044 * misc/sync.c: Likewise.
17045 * misc/syncfs.c: Likewise.
17046 * misc/syscall.c: Likewise.
17047 * misc/truncate.c: Likewise.
17048 * misc/ualarm.c: Likewise.
17049 * misc/usleep.c: Likewise.
17050 * misc/ustat.c: Likewise.
17051 * misc/utimes.c: Likewise.
17052 * misc/vhangup.c: Likewise.
17053 * misc/writev.c: Likewise.
17054 * posix/_exit.c: Likewise.
17055 * posix/alarm.c: Likewise.
17056 * posix/execve.c: Likewise.
17057 * posix/fexecve.c: Likewise.
17058 * posix/fork.c: Likewise.
17059 * posix/fpathconf.c: Likewise.
17060 * posix/getaddrinfo.c: Likewise.
17061 * posix/getegid.c: Likewise.
17062 * posix/geteuid.c: Likewise.
17063 * posix/getgid.c: Likewise.
17064 * posix/getgroups.c: Likewise.
17065 * posix/getlogin.c: Likewise.
17066 * posix/getlogin_r.c: Likewise.
17067 * posix/getpgid.c: Likewise.
17068 * posix/getpid.c: Likewise.
17069 * posix/getppid.c: Likewise.
17070 * posix/getresgid.c: Likewise.
17071 * posix/getresuid.c: Likewise.
17072 * posix/getsid.c: Likewise.
17073 * posix/getuid.c: Likewise.
17074 * posix/glob64.c: Likewise.
17075 * posix/nanosleep.c: Likewise.
17076 * posix/pathconf.c: Likewise.
17077 * posix/pause.c: Likewise.
17078 * posix/posix_madvise.c: Likewise.
17079 * posix/pread.c: Likewise.
17080 * posix/pread64.c: Likewise.
17081 * posix/pwrite.c: Likewise.
17082 * posix/pwrite64.c: Likewise.
17083 * posix/sched_getaffinity.c: Likewise.
17084 * posix/sched_getp.c: Likewise.
17085 * posix/sched_gets.c: Likewise.
17086 * posix/sched_primax.c: Likewise.
17087 * posix/sched_primin.c: Likewise.
17088 * posix/sched_rr_gi.c: Likewise.
17089 * posix/sched_setaffinity.c: Likewise.
17090 * posix/sched_setp.c: Likewise.
17091 * posix/sched_sets.c: Likewise.
17092 * posix/sched_yield.c: Likewise.
17093 * posix/setgid.c: Likewise.
17094 * posix/setlogin.c: Likewise.
17095 * posix/setpgid.c: Likewise.
17096 * posix/setresgid.c: Likewise.
17097 * posix/setresuid.c: Likewise.
17098 * posix/setsid.c: Likewise.
17099 * posix/setuid.c: Likewise.
17100 * posix/sleep.c: Likewise.
17101 * posix/spawni.c: Likewise.
17102 * posix/sysconf.c: Likewise.
17103 * posix/times.c: Likewise.
17104 * posix/wait.c: Likewise.
17105 * posix/wait3.c: Likewise.
17106 * posix/wait4.c: Likewise.
17107 * posix/waitpid.c: Likewise.
17108 * resolv/gai_sigqueue.c: Likewise.
17109 * resource/getpriority.c: Likewise.
17110 * resource/getrlimit.c: Likewise.
17111 * resource/getrusage.c: Likewise.
17112 * resource/nice.c: Likewise.
17113 * resource/setpriority.c: Likewise.
17114 * resource/setrlimit.c: Likewise.
17115 * resource/ulimit.c: Likewise.
17116 * rt/aio_cancel.c: Likewise.
17117 * rt/aio_fsync.c: Likewise.
17118 * rt/aio_read.c: Likewise.
17119 * rt/aio_sigqueue.c: Likewise.
17120 * rt/aio_suspend.c: Likewise.
17121 * rt/aio_write.c: Likewise.
17122 * rt/clock_getres.c: Likewise.
17123 * rt/clock_gettime.c: Likewise.
17124 * rt/clock_nanosleep.c: Likewise.
17125 * rt/clock_settime.c: Likewise.
17126 * rt/lio_listio.c: Likewise.
17127 * rt/mq_close.c: Likewise.
17128 * rt/mq_getattr.c: Likewise.
17129 * rt/mq_notify.c: Likewise.
17130 * rt/mq_open.c: Likewise.
17131 * rt/mq_receive.c: Likewise.
17132 * rt/mq_send.c: Likewise.
17133 * rt/mq_setattr.c: Likewise.
17134 * rt/mq_timedreceive.c: Likewise.
17135 * rt/mq_timedsend.c: Likewise.
17136 * rt/mq_unlink.c: Likewise.
17137 * rt/shm_open.c: Likewise.
17138 * rt/shm_unlink.c: Likewise.
17139 * rt/timer_create.c: Likewise.
17140 * rt/timer_delete.c: Likewise.
17141 * rt/timer_getoverr.c: Likewise.
17142 * rt/timer_gettime.c: Likewise.
17143 * rt/timer_settime.c: Likewise.
17144 * setjmp/__longjmp.c: Likewise.
17145 * setjmp/setjmp.c: Likewise.
17146 * signal/kill.c: Likewise.
17147 * signal/killpg.c: Likewise.
17148 * signal/raise.c: Likewise.
17149 * signal/sigaction.c: Likewise.
17150 * signal/sigaltstack.c: Likewise.
17151 * signal/sigblock.c: Likewise.
17152 * signal/sigignore.c: Likewise.
17153 * signal/sigintr.c: Likewise.
17154 * signal/signal.c: Likewise.
17155 * signal/sigpause.c: Likewise.
17156 * signal/sigpending.c: Likewise.
17157 * signal/sigqueue.c: Likewise.
17158 * signal/sigreturn.c: Likewise.
17159 * signal/sigset.c: Likewise.
17160 * signal/sigsetmask.c: Likewise.
17161 * signal/sigstack.c: Likewise.
17162 * signal/sigsuspend.c: Likewise.
17163 * signal/sigtimedwait.c: Likewise.
17164 * signal/sigvec.c: Likewise.
17165 * signal/sigwait.c: Likewise.
17166 * signal/sigwaitinfo.c: Likewise.
17167 * signal/sysv_signal.c: Likewise.
17168 * socket/accept.c: Likewise.
17169 * socket/accept4.c: Likewise.
17170 * socket/bind.c: Likewise.
17171 * socket/connect.c: Likewise.
17172 * socket/getpeername.c: Likewise.
17173 * socket/getsockname.c: Likewise.
17174 * socket/getsockopt.c: Likewise.
17175 * socket/isfdtype.c: Likewise.
17176 * socket/listen.c: Likewise.
17177 * socket/recv.c: Likewise.
17178 * socket/recvfrom.c: Likewise.
17179 * socket/recvmsg.c: Likewise.
17180 * socket/send.c: Likewise.
17181 * socket/sendmsg.c: Likewise.
17182 * socket/sendto.c: Likewise.
17183 * socket/setsockopt.c: Likewise.
17184 * socket/shutdown.c: Likewise.
17185 * socket/sockatmark.c: Likewise.
17186 * socket/socket.c: Likewise.
17187 * socket/socketpair.c: Likewise.
17188 * stdio-common/ctermid.c: Likewise.
17189 * stdio-common/cuserid.c: Likewise.
17190 * stdio-common/remove.c: Likewise.
17191 * stdio-common/rename.c: Likewise.
17192 * stdio-common/renameat.c: Likewise.
17193 * stdio-common/tempname.c: Likewise.
17194 * stdlib/getcontext.c: Likewise.
17195 * stdlib/makecontext.c: Likewise.
17196 * stdlib/setcontext.c: Likewise.
17197 * stdlib/swapcontext.c: Likewise.
17198 * stdlib/system.c: Likewise.
17199 * streams/fattach.c: Likewise.
17200 * streams/fdetach.c: Likewise.
17201 * streams/getmsg.c: Likewise.
17202 * streams/getpmsg.c: Likewise.
17203 * streams/putmsg.c: Likewise.
17204 * streams/putpmsg.c: Likewise.
17205 * sysdeps/unix/bsd/getpt.c: Likewise.
17206 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17207 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17208 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17210 Likewise.
17211 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17212 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17213 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17214 * sysvipc/msgctl.c: Likewise.
17215 * sysvipc/msgget.c: Likewise.
17216 * sysvipc/msgrcv.c: Likewise.
17217 * sysvipc/msgsnd.c: Likewise.
17218 * sysvipc/semctl.c: Likewise.
17219 * sysvipc/semget.c: Likewise.
17220 * sysvipc/semop.c: Likewise.
17221 * sysvipc/semtimedop.c: Likewise.
17222 * sysvipc/shmat.c: Likewise.
17223 * sysvipc/shmctl.c: Likewise.
17224 * sysvipc/shmdt.c: Likewise.
17225 * sysvipc/shmget.c: Likewise.
17226 * termios/tcdrain.c: Likewise.
17227 * termios/tcflow.c: Likewise.
17228 * termios/tcflush.c: Likewise.
17229 * termios/tcgetattr.c: Likewise.
17230 * termios/tcgetpgrp.c: Likewise.
17231 * termios/tcsendbrk.c: Likewise.
17232 * termios/tcsetattr.c: Likewise.
17233 * termios/tcsetpgrp.c: Likewise.
17234 * time/adjtime.c: Likewise.
17235 * time/clock.c: Likewise.
17236 * time/getitimer.c: Likewise.
17237 * time/gettimeofday.c: Likewise.
17238 * time/setitimer.c: Likewise.
17239 * time/settimeofday.c: Likewise.
17240 * time/stime.c: Likewise.
17241 * time/time.c: Likewise.
17242
17243 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17244
17245 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17246 /usr/old/bin.
17247
17248 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17249 instead of spaces.
17250 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17251
17252 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17253
17254 [BZ #14796]
17255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17256 FE_TONEAREST before applying Dekker multiplication and Knuth
17257 addition. Clear inexact exceptions and check for exact zero
17258 results afterwards.
17259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17262 * math/libm-test.inc (fma_test): Add more tests.
17263 (fma_test_towardzero): Likewise.
17264 (fma_test_downward): Likewise.
17265 (fma_test_upward): Likewise.
17266 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17267 function.
17268 (libc_fesetround): New macro.
17269 (libc_fesetroundf): Likewise.
17270 (libc_fesetroundl): Likewise.
17271 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17272 function.
17273 (libc_fesetround_387): Likewise.
17274 (libc_fesetroundf): New macro.
17275 (libc_fesetround): Likewise.
17276 (libc_fesetroundl): Likewise.
17277 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17278 function.
17279 (libc_fesetroundf): New macro.
17280 (libc_fesetround): Likewise.
17281 (libc_fesetroundl): Likewise.
17282 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17283 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17284 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17285 libm_hidden_ver.
17286 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17287 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17288 libm_hidden_def.
17289 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17290 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17291 libm_hidden_ver.
17292 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17293 libm_hidden_def.
17294
17295 [BZ #3439]
17296 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17297 integer constant usable in #if and use that to give value to enum
17298 constant.
17299 (FE_DIVBYZERO): Likewise.
17300 (FE_UNDERFLOW): Likewise.
17301 (FE_OVERFLOW): Likewise.
17302 (FE_INVALID): Likewise.
17303 (FE_INVALID_SNAN): Likewise.
17304 (FE_INVALID_ISI): Likewise.
17305 (FE_INVALID_IDI): Likewise.
17306 (FE_INVALID_ZDZ): Likewise.
17307 (FE_INVALID_IMZ): Likewise.
17308 (FE_INVALID_COMPARE): Likewise.
17309 (FE_INVALID_SOFTWARE): Likewise.
17310 (FE_INVALID_SQRT): Likewise.
17311 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17312 (FE_TONEAREST): Likewise.
17313 (FE_TOWARDZERO): Likewise.
17314 (FE_UPWARD): Likewise.
17315 (FE_DOWNWARD): Likewise.
17316 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17317 (FE_DIVBYZERO): Likewise.
17318 (FE_OVERFLOW): Likewise.
17319 (FE_UNDERFLOW): Likewise.
17320 (FE_INEXACT): Likewise.
17321 (FE_TONEAREST): Likewise.
17322 (FE_DOWNWARD): Likewise.
17323 (FE_UPWARD): Likewise.
17324 (FE_TOWARDZERO): Likewise.
17325 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17326 (FE_UNDERFLOW): Likewise.
17327 (FE_OVERFLOW): Likewise.
17328 (FE_DIVBYZERO): Likewise.
17329 (FE_INVALID): Likewise.
17330 (FE_TONEAREST): Likewise.
17331 (FE_TOWARDZERO): Likewise.
17332 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17333 (FE_OVERFLOW): Likewise.
17334 (FE_UNDERFLOW): Likewise.
17335 (FE_DIVBYZERO): Likewise.
17336 (FE_INEXACT): Likewise.
17337 (FE_TONEAREST): Likewise.
17338 (FE_TOWARDZERO): Likewise.
17339 (FE_UPWARD): Likewise.
17340 (FE_DOWNWARD): Likewise.
17341 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17342 (FE_DIVBYZERO): Likewise.
17343 (FE_OVERFLOW): Likewise.
17344 (FE_UNDERFLOW): Likewise.
17345 (FE_INEXACT): Likewise.
17346 (FE_TONEAREST): Likewise.
17347 (FE_DOWNWARD): Likewise.
17348 (FE_UPWARD): Likewise.
17349 (FE_TOWARDZERO): Likewise.
17350
17351 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17352
17353 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17354
17355 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17356
17357 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17358 commands. Quote $PWD.
17359 (blacklist_exports): Don't use remove_newlines. Replace "declare
17360 -x" by "export".
17361 (remove_newlines): Remove.
17362
17363 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17364
17365 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17366 * stdlib/stdlib.h (atof): Moved to ...
17367 * include/bits/stdlib-float.h: Here. New file.
17368 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17369 * stdlib/bits/stdlib-float.h: New file.
17370 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17371 -mno-sse -mno-mmx.
17372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17373 <xmmintrin.h>.
17374
17375 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17376
17377 * conform/conformtest.pl (@headers): Add fenv.h.
17378 * conform/data/fenv.h-data: New file.
17379 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17380 include of <math/fenv.h>.
17381
17382 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17383 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17384 && !UNIX98]. Enables tests for XOPEN2K8.
17385 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17386 POSIX2008]: Likewise.
17387
17388 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17389 (struct rusage): Do not expect type or its members.
17390
17391 [BZ #3439]
17392 * math/math.h (FP_NAN): Define macro to integer constant usable in
17393 #if and use that to give value to enum constant.
17394 (FP_INFINITE): Likewise.
17395 (FP_ZERO): Likewise.
17396 (FP_SUBNORMAL): Likewise.
17397 (FP_NORMAL): Likewise.
17398
17399 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17400
17401 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17402 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17403 arguments.
17404
17405 2012-11-02 Roland McGrath <roland@hack.frob.com>
17406
17407 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17408 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17409 autoconf-time if not.
17410 * configure.in: Remove AC_PREREQ.
17411
17412 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17413
17414 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17415 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17416 of the internal implementation.
17417
17418 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17419
17420 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17421 except include of <misc/sys/syslog.h>.
17422
17423 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17424
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17426 function returns with a NULL context exit with zero.
17427
17428 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17429
17430 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17431
17432 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17433
17434 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17435 (run_program_cmd): This.
17436 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17437 (tst_langinfo): New variable. Use it.
17438
17439 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17440
17441 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17442 floating point opcodes.
17443
17444 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17445
17446 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17447 variable.
17448
17449 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17450
17451 * sysdeps/mach/hurd/powerpc: Remove directory.
17452 * sysdeps/mach/powerpc: Likewise.
17453
17454 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17455
17456 * scripts/check-local-headers.sh: Ignore c++ headers.
17457
17458 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17459
17460 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17461 __libc_cleanup_region_start argument.
17462
17463 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17464
17465 [BZ #14784]
17466 [BZ #14785]
17467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17468 x * y using scaling, not as x * y + z.
17469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17471 * math/libm-test.inc (fma_test): Add more tests.
17472 (fma_test_towardzero): Likewise.
17473 (fma_test_downward): Likewise.
17474 (fma_test_upward): Likewise.
17475
17476 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17477
17478 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17479
17480 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17481
17482 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17483 New variable.
17484
17485 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17486
17487 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17488
17489 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17490
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17492 Fix sort order.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17494 Likewise.
17495
17496 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17497
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17499 Fix the order of the list for glibc 2.17.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17501 Likewise.
17502
17503 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17504
17505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17506
17507 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17508
17509 [BZ #14610]
17510 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17511 for low part of x being zero before using __atanl (y).
17512 * math/libm-test.inc (atan2_test): Add another test.
17513
17514 * manual/install.texi (Configuring and compiling): Document
17515 general use of test-wrapper and test-wrapper-env.
17516 * INSTALL: Regenerated.
17517
17518 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17519 (__fma): Do not extract and scale down low bits on after-rounding
17520 systems when result rounded to normal precision would have normal
17521 exponent.
17522 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17523 (__fmal): Do not extract and scale down low bits on after-rounding
17524 systems when result rounded to normal precision would have normal
17525 exponent.
17526 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17527 (__fmal): Do not extract and scale down low bits on after-rounding
17528 systems when result rounded to normal precision would have normal
17529 exponent.
17530 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17531 macro.
17532 (fma_test): Add more tests.
17533 (fma_test_towardzero): Likewise.
17534 (fma_test_downward): Likewise.
17535 (fma_test_upward): Likewise.
17536
17537 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 * sysdeps/i386/tininess.h: Renamed to ...
17540 * sysdeps/x86/tininess.h: This.
17541 * sysdeps/x86_64/tininess.h: Removed.
17542
17543 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17544
17545 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17546 input. Use $(build-program-cmd).
17547 ($(objpfx)tst-array1-static.out): Likewise.
17548 ($(objpfx)tst-array2.out): Likewise.
17549 ($(objpfx)tst-array3.out): Likewise.
17550 ($(objpfx)tst-array4.out): Likewise.
17551 ($(objpfx)tst-array5.out): Likewise.
17552 ($(objpfx)tst-array5-static.out): Likewise.
17553
17554 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17555
17556 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17557 if defined.
17558
17559 * nss/nsswitch.h (nss_interface_function): Provide new
17560 macro for use with NSS functions.
17561 * grp/initgroups.c: Use new macro.
17562 * nss/getXXbyYY.c: Likewise.
17563 * nss/getXXbyYY_r.c: Likewise.
17564 * nss/getXXent.c: Likewise.
17565 * nss/getXXent_r.c: Likewise.
17566 * sysdeps/posix/getaddrinfo.c: Likewise.
17567
17568 2012-10-30 Andreas Jaeger <aj@suse.de>
17569
17570 * po/ru.po: Update Russion translation from translation project.
17571
17572 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17573
17574 [BZ #14152]
17575 [BZ #14783]
17576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17577 result and shift together with sticky bit instead of replicating
17578 round-to-nearest rounding.
17579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17581 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17582 missing underflow exceptions.
17583 (fma_test_towardzero): Add more tests.
17584 (fma_test_downward): Likewise.
17585 (fma_test_upward): Likewise.
17586
17587 [BZ #14047]
17588 * sysdeps/generic/tininess.h: New file.
17589 * sysdeps/i386/tininess.h: Likewise.
17590 * sysdeps/sh/tininess.h: Likewise.
17591 * sysdeps/x86_64/tininess.h: Likewise.
17592 * stdlib/tst-strtod-underflow.c: Likewise.
17593 * stdlib/tst-tininess.c: Likewise.
17594 * stdlib/strtod_l.c: Include <tininess.h>.
17595 (round_and_return): Do not set errno for exact underflow cases.
17596 Force an underflow exception when setting errno for underflow.
17597 Determine underflow based on rounding to normal precision if
17598 TININESS_AFTER_ROUNDING.
17599 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17600 ERANGE for exact underflow cases.
17601 * stdlib/Makefile (tests): Add tst-tininess and
17602 tst-strtod-underflow.
17603 ($(objpfx)tst-tininess): Use $(link-libm).
17604 ($(objpfx)tst-strtod-underflow): Likewise.
17605
17606 2012-10-30 Andreas Jaeger <aj@suse.de>
17607
17608 [BZ#14767]
17609 * elf/Makefile (tests): Remove conditional for have-initfini-array
17610 since this is now always required and the variable does not exist
17611 anymore.
17612 (tests-static): Likewise.
17613 (modules-names): Likewise.
17614
17615 * po/eo.po: Add Esperanto translation from translation project.
17616
17617 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17618 merged with constructor/destructor.
17619 (init_array): Likewise.
17620 * elf/tst-array2dep.c (fini_array): Likewise.
17621 (init_array): Likewise.
17622
17623 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17624
17625 * manual/message.texi: Delete @cartouche tags.
17626
17627 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17628
17629 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17630 EOPNOTSUPP.
17631 * sysdeps/mach/hurd/fsync.c: Likewise.
17632
17633 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17634 [_POSIX_REALTIME_SIGNALS]: Change condition to
17635 [_POSIX_REALTIME_SIGNALS > 0].
17636
17637 2012-10-27 Andreas Jaeger <aj@suse.de>
17638
17639 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17640 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17642 [__WORDSIZE != 64]: Likewise.
17643
17644 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17645
17646 * iconvdata/tst-table.sh: Remove ${SHELL}.
17647 * iconvdata/tst-tables.sh: Likewise.
17648
17649 2012-10-25 David S. Miller <davem@davemloft.net>
17650
17651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17652 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17653 of strtoull.
17654
17655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17656 ifunc-impl-list.c
17657 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17658 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17659 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17660 file.
17661
17662 2012-10-25 Roland McGrath <roland@hack.frob.com>
17663
17664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17665 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17666 __getdirentries.
17667
17668 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17669 Jim Blandy <jimb@codesourcery.com>
17670
17671 * scripts/cross-test-ssh.sh: New file.
17672 * manual/install.texi (Configuring and compiling): Document use of
17673 cross-test-ssh.sh.
17674 * INSTALL: Regenerated.
17675
17676 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17677
17678 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17679 EOPNOTSUPP.
17680
17681 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17682
17683 * Makeconfig (run-program-prefix): Fix comment.
17684
17685 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17686 Jim Blandy <jimb@codesourcery.com>
17687
17688 * Makeconfig (test-wrapper): New variable,
17689 (test-wrapper-env): Likewise.
17690 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17691 (run-built-tests): Define to yes.
17692 (run-program-prefix): Use $(test-wrapper).
17693 (built-program-cmd): Likewise.
17694 * Rules (make-test-out): Use $(test-wrapper-env) and
17695 $(host-built-program-cmd).
17696 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17697 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17698 tst-pathopt.sh.
17699 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17700 $(test-wrapper-env) to tst-rtld-load-self.sh.
17701 ($(objpfx)order2.out): Use $(test-wrapper).
17702 ($(objpfx)tst-initorder.out): Likewise.
17703 ($(objpfx)tst-initorder2.out): Likewise.
17704 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17705 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17706 (test_wrapper_env): New variable. Use it to run ld.so.
17707 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17708 Use it to run ld.so.
17709 (test_wrapper_env): Likewise.
17710 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17711 $(test-wrapper) to run-iconv-test.sh.
17712 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17713 (ICONV): Use $test_wrapper.
17714 * posix/Makefile ($(objpfx)globtest.out): Pass
17715 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17716 globtest.sh, not $(run-program-prefix).
17717 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17718 (test_wrapper): Likewise.
17719 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17720 set together with run_via_rtld_prefix.
17721 (run_program_prefix): Define in terms of test_wrapper and
17722 run_via_rtld_prefix.
17723
17724 2012-10-24 Roland McGrath <roland@hack.frob.com>
17725
17726 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17727 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17728 Targets removed.
17729
17730 [BZ #14743]
17731 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17732 Declare __clock_getres, __clock_gettime, __clock_settime,
17733 __clock_nanosleep, and __clock_getcpuclockid.
17734 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17735 Remove librt_hidden_def (clock_gettime).
17736 * sysdeps/unix/clock_gettime.c: Likewise.
17737 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17738 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17739 * rt/clock_getres.c: Define __clock_getres as an alias.
17740 * sysdeps/posix/clock_getres.c: Likewise.
17741 * rt/clock_settime.c: Define __clock_settime as an alias.
17742 * sysdeps/unix/clock_settime.c: Likewise.
17743 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17744 * sysdeps/unix/clock_nanosleep.c: Likewise.
17745 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17746 * rt/clock-compat.c: New file.
17747 * rt/Makefile (librt-routines): Add clock-compat and move
17748 $(clock-routines) to ...
17749 (routines): ... here, new variable.
17750 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17751 Don't add get_clockfreq here.
17752 * rt/Versions (libc: GLIBC_2.17): New version set.
17753 Add clock_* symbols here.
17754 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17756 (GLIBC_2.17): Add clock_* symbols.
17757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17761 Likewise.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17763 Likewise.
17764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17768 * NEWS: Mention the move.
17769
17770 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17771 Use __open, __read, __close rather than their public counterparts.
17772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17773 (__get_clockfreq_via_cpuinfo): Likewise.
17774 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17775 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17776
17777 * config.h.in (HAVE_IFUNC): New #undef.
17778 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17779 was successful.
17780 * configure: Regenerated.
17781
17782 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17783
17784 * configure.in: Move READELF check to start of file.
17785 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17786 libc_cv_asm_gnu_indirect_function in the process.
17787 * configure: Regenerated.
17788
17789 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17790
17791 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17792 send the output to /dev/null.
17793 (libc_cv_cc_with_libunwind): Likewise.
17794 (libc_cv_as_noexecstack): Likewise.
17795 * configure: Regenerate.
17796
17797 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17798
17799 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17800
17801 * posix/globtest.sh (TMPDIR): Do not set.
17802 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17803 (testout): Likewise.
17804
17805 2012-10-24 Andreas Jaeger <aj@suse.de>
17806
17807 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17808 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17809 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17810 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17811 posix_fadvise64, posix_fallocate64.
17812
17813 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17814 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17815 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17816 Likewise.
17817 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17818 Likewise.
17819 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17820
17821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17822 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17823 <bits/fcntl-linux.h>.
17824 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17825
17826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17827 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17828 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17829 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17830 [__WORDSIZE != 64]: Likewise.
17831
17832 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17833
17834 * Makeconfig (run-built-tests): New variable.
17835 * Rules [$(cross-compiling) = yes]: Change condition to
17836 [$(run-built-tests) = no].
17837 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17838 to [$(run-built-tests) = yes].
17839 * elf/Makefile [$(cross-compiling) = no]: Likewise
17840 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17841 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17842 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17843 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17844 * io/Makefile [$(cross-compiling) = no]: Likewise.
17845 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17846 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17847 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17848 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17849 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17850 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17851 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17852 * string/Makefile [$(cross-compiling) = no]: Likewise.
17853
17854 * posix/Makefile ($(objpfx)globtest.out): Pass
17855 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17856 $(rtld-installed-name).
17857 * posix/globtest.sh (elf_objpfx): Remove variable.
17858 (rtld_installed_name): Likewise.
17859 (library_path): Likewise.
17860 (run_program_prefix): New variable. Use for running globtest
17861 binary.
17862
17863 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17864 Joseph Myers <joseph@codesourcery.com>
17865
17866 * Makeconfig (host-built-program-cmd): New variable.
17867 * elf/Makefile (tst-stackguard1-ARGS): Use
17868 $(host-built-program-cmd).
17869 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17870 (tst-spawn-ARGS): Likewise.
17871 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17872
17873 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17874 Jim Blandy <jimb@codesourcery.com>
17875
17876 * Makeconfig (run-via-rtld-prefix): New variable.
17877 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17878 (built-program-cmd): Likewise.
17879
17880 2012-10-22 Andreas Jaeger <aj@suse.de>
17881
17882 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17883 __O_RSYNC if it exists, otherwise to O_SYNC.
17884
17885 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17886 Joseph Myers <joseph@codesourcery.com>
17887
17888 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17889 /dev/null.
17890 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17891 from /dev/null
17892 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17893 /dev/null.
17894
17895 2012-10-22 Andreas Jaeger <aj@suse.de>
17896
17897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17898 Define always.
17899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17900
17901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17902 bits/fcntl-linux.h.
17903
17904 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17905 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17906
17907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17908 to __O_LARGEFILE.
17909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17910 to __O_LARGEFILE.
17911
17912 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17913 Joseph Myers <joseph@codesourcery.com>
17914
17915 * config.make.in (NM): New variable.
17916
17917 2012-10-21 Andreas Jaeger <aj@suse.de>
17918
17919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17920 definitions and declarations that are provided by
17921 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17922
17923 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17924
17925 [BZ #14683]
17926 * elf/Makefile (tests-static): Add tst-leaks1-static.
17927 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17928 ($(objpfx)tst-leaks1-static): New rule.
17929 ($(objpfx)tst-leaks1-static-mem): Likewise.
17930 (tst-leaks1-static-ENV): New macro.
17931 * elf/dl-open.c (dl_open_worker): Check the main application
17932 only if SHARED is defined.
17933 * elf/tst-leaks1-static.c: New file.
17934
17935 2012-10-20 Andreas Jaeger <aj@suse.de>
17936
17937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17938 generic values for Linux.
17939 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17940 and declarations that are provided by <bits/fcntl-linux.h> and
17941 include <bits/fcntl-linux.h>.
17942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17944
17945 2012-10-20 Roland McGrath <roland@hack.frob.com>
17946
17947 * io/fcntl.h: Move include of <bits/types.h> to the top and
17948 include it unconditionally.
17949
17950 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17951
17952 * wcsmbs/Makefile (tests-ifunc): New variable.
17953 (tests): Add $(tests-ifunc).
17954 * wcsmbs/test-wcschr-ifunc.c: New file.
17955 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17956 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17957 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17958 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17959 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17960
17961 * string/Makefile (tests-ifunc): New variable.
17962 (tests): Add $(tests-ifunc).
17963 * string/test-memccpy.c (TEST_NAME): New macro.
17964 * string/test-memchr.c (TEST_NAME): Likewise.
17965 * string/test-memcmp.c (TEST_NAME): Likewise.
17966 * string/test-memcpy.c (TEST_NAME): Likewise.
17967 * string/test-memmem.c (TEST_NAME): Likewise.
17968 * string/test-memmove.c (TEST_NAME): Likewise.
17969 * string/test-memset.c (TEST_NAME): Likewise.
17970 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17971 * string/test-stpcpy.c (TEST_NAME): Likewise.
17972 * string/test-stpncpy.c (TEST_NAME): Likewise.
17973 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17974 * string/test-strcasestr.c (TEST_NAME): Likewise.
17975 * string/test-strcat.c (TEST_NAME): Likewise.
17976 * string/test-strchr.c (TEST_NAME): Likewise.
17977 * string/test-strcmp.c(TEST_NAME): Likewise.
17978 * string/test-strcpy.c (TEST_NAME): Likewise.
17979 * string/test-strcspn.c (TEST_NAME): Likewise.
17980 * string/test-strlen.c (TEST_NAME): Likewise.
17981 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17982 * string/test-strncmp.c (TEST_NAME): Likewise.
17983 * string/test-strncpy.c (TEST_NAME): Likewise.
17984 * string/test-strnlen.c (TEST_NAME): Likewise.
17985 * string/test-strpbrk.c (TEST_NAME): Likewise.
17986 * string/test-strrchr.c (TEST_NAME): Likewise.
17987 * string/test-strspn.c (TEST_NAME): Likewise.
17988 * string/test-strstr.c (TEST_NAME): Likewise.
17989 * string/test-bcopy-ifunc.c: New file.
17990 * string/test-bzero-ifunc.c: Likewise.
17991 * string/test-memccpy-ifunc.c: Likewise.
17992 * string/test-memchr-ifunc.c: Likewise.
17993 * string/test-memcmp-ifunc.c: Likewise.
17994 * string/test-memcpy-ifunc.c: Likewise.
17995 * string/test-memmem-ifunc.c: Likewise.
17996 * string/test-memmove-ifunc.c: Likewise.
17997 * string/test-mempcpy-ifunc.c: Likewise.
17998 * string/test-memset-ifunc.c: Likewise.
17999 * string/test-rawmemchr-ifunc.c: Likewise.
18000 * string/test-stpcpy-ifunc.c: Likewise.
18001 * string/test-stpncpy-ifunc.c: Likewise.
18002 * string/test-strcasecmp-ifunc.c: Likewise.
18003 * string/test-strcasestr-ifunc.c: Likewise.
18004 * string/test-strcat-ifunc.c: Likewise.
18005 * string/test-strchr-ifunc.c: Likewise.
18006 * string/test-strchrnul-ifunc.c: Likewise.
18007 * string/test-strcmp-ifunc.c: Likewise.
18008 * string/test-strcpy-ifunc.c: Likewise.
18009 * string/test-strcspn-ifunc.c: Likewise.
18010 * string/test-strlen-ifunc.c: Likewise.
18011 * string/test-strncasecmp-ifunc.c: Likewise.
18012 * string/test-strncat-ifunc.c: Likewise.
18013 * string/test-strncmp-ifunc.c: Likewise.
18014 * string/test-strncpy-ifunc.c: Likewise.
18015 * string/test-strnlen-ifunc.c: Likewise.
18016 * string/test-strpbrk-ifunc.c: Likewise.
18017 * string/test-strrchr-ifunc.c: Likewise.
18018 * string/test-strspn-ifunc.c: Likewise.
18019 * string/test-strstr-ifunc.c: Likewise.
18020
18021 * debug/Makefile (tests-ifunc): New variable.
18022 (tests): Add $(tests-ifunc).
18023 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18024 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18025 * debug/test-stpcpy_chk-ifunc.c: New file.
18026 * debug/test-strcpy_chk-ifunc.c: Likewise.
18027
18028 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18029
18030 [BZ #13601]
18031 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18032 header is not read in.
18033
18034 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18035
18036 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18037 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18038 directly. Pass built executable to script as
18039 $(built-program-cmd).
18040 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18041 $testprogram without using LD_LIBRARY_PATH and $ldso.
18042
18043 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18044 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18045 $(rtld-installed-name).
18046 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18047 (rtld_installed_name): Likewise.
18048 (library_path): Likewise.
18049 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18050 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18051 $(run-program-prefix) to tst-tables.sh.
18052 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18053 it to run tst-table-from and tst-table-to.
18054 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18055 Pass it to tst-table.sh.
18056 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18057 $(run-program-prefix) to tst-gettext.sh.
18058 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18059 tst-translit.sh.
18060 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18061 tst-gettext2.sh.
18062 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18063 to run tst-gettext.
18064 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18065 to run tst-gettext2.
18066 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18067 to run tst-translit.
18068 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18069 $(run-program-prefix) to tst-mtrace.sh.
18070 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18071 to run tst-mtrace.
18072 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18073 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18074 $(rtld-installed-name).
18075 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18076 (rtld_installed_name): Likewise.
18077 (run_program_prefix): New variable. Use it to run wordexp-test.
18078
18079 * Makeconfig (ARCH): Remove all definitions.
18080 (machine): Likewise.
18081 [ARCH]: Remove conditional code.
18082 [!objdir]: Give error.
18083 [!objdir] (objpfx): Remove.
18084 [!objdir] (common-objpfx): Likewise.
18085 [!objdir] (common-objdir): Likewise.
18086 * configure.in (config_makefile): Remove. Hardcode Makefile in
18087 AC_CONFIG_FILES call.
18088 * configure: Regenerated.
18089
18090 [BZ #13888]
18091 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18092 or TMPDIR.
18093 (testout): Likewise.
18094
18095 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18096 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18097 $(rtld-installed-name).
18098 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18099 (rtld_installed_name): Likwise.
18100 (runit): Remove function.
18101 (run_getconf): New variable, Use it for running getconf binary.
18102
18103 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18104
18105 [BZ #14716]
18106 * string/test-memmem.c (check_result): New function.
18107 (do_one_test): Use it.
18108 (check1): New function.
18109 (test_main): Use it.
18110
18111 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18112
18113 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18114
18115 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18116
18117 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18118 (_G_LSEEK64): Likewise.
18119 (_G_MMAP64): Likewise.
18120 (_G_FSTAT64): Likewise.
18121 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18122 (_G_LSEEK64): Likewise.
18123 (_G_MMAP64): Likewise.
18124 (_G_FSTAT64): Likewise.
18125 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18126 unconditional. Call __mmap64 directly.
18127 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18128 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18129 __lseek64 directly.
18130 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18131 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18132 __mmap64 directly.
18133 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18134 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18135 __lseek64 directly.
18136 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18137 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18138 __lseek64 directly.
18139 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18140 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18141 __lseek64 directly.
18142 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18143 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18144 __fxstat64 directly.
18145 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18146 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18147 unconditional.
18148 (freopen64) [!_G_OPEN64]: Remove conditional code.
18149 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18150 unconditional.
18151 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18152 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18153 unconditional.
18154 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18155 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18156 unconditional.
18157 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18158 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18159 unconditional.
18160 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18161 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18162 unconditional.
18163 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18164 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18165 unconditional.
18166 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18167 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18168 unconditional.
18169 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18170
18171 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18172
18173 [BZ #12140]
18174 * manual/memory.texi (Malloc Tunable Parameters): Add note
18175 about free list pointers overwriting some perturb bytes.
18176 Wording suggested by Roland McGrath.
18177
18178 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18179
18180 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18181 (lgamma_test): Likewise.
18182 (tgamma_test): Likewise.
18183
18184 2012-10-16 Florian Weimer <fweimer@redhat.com>
18185
18186 [BZ #14700]
18187 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18188 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18189
18190 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18191
18192 * NEWS: Mention BZ #14716.
18193 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18194 when removing AVAILABLE1_USES_J macro.
18195
18196 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18197
18198 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18199 (__bswap_64): __uint64_t for unsigned 64-bit int.
18200
18201 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18202
18203 * include/string.h (memmem): Declare libc hidden alias.
18204 * string/memmem.c (memmem): Define libc hidden alias.
18205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18206 __read, __close instead of open, read, close.
18207
18208 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18209
18210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18211 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18212 global and hidden.
18213 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18214 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18215 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18216 Likewise.
18217 (__rawmemchr_sse2): Likewise.
18218 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18219 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18220 (__strchr_sse2): Likewise.
18221 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18222 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18223 (__strcasecmp_sse2): Likewise.
18224 (__strncasecmp_sse2): Likewise.
18225 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18226 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18227 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18228 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18229 (__strrchr_sse2): Likewise.
18230 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18231 ifunc-impl-list.c.
18232 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18233 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18234 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18235 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18236 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18238 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18239 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18240 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18241 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18242 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18243 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18244 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18245 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18246 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18247 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18248 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18249 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18250 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18251 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18252 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18253 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18254 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18255 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18256 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18257 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18258 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18259 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18260 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18261 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18262
18263 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18264 global and hidden.
18265 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18266 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18267 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18268 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18269 Likewise.
18270 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18271 Likewise.
18272 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18273 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18274 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18275 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18276 ifunc-impl-list.c.
18277 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18278 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18279 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18280 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18281 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18282 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18283 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18284 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18285 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18286 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18287 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18288 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18289 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18290 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18291 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18292 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18293 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18294 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18295 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18296 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18297 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18298 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18299 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18300 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18301 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18302 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18303 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18304 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18305 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18306 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18307 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18308 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18309 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18310 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18311 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18312 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18313 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18314 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18315 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18316 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18317 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18318
18319 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18320 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18321 * include/ifunc-impl-list.h: New file.
18322 * misc/ifunc-impl-list.c: Likewise.
18323 * misc/Makefile (routines): Add ifunc-impl-list.
18324 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18325 * string/test-string.h: Include <ifunc-impl-list.h>.
18326 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18327 impl_array): New variables.
18328 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18329 are defined.
18330 (test_init): Call __libc_ifunc_impl_list to initialize
18331 func_list if TEST_IFUNC and TEST_NAME are defined.
18332
18333 * string/Makefile (strop-tests): Add bcopy and bzero.
18334 * string/test-bcopy.c: New file.
18335 * string/test-bzero.c: Likewise.
18336 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18337 defined.
18338 * string/test-memset.c: Support bzero test if TEST_BZERO is
18339 defined.
18340 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18341 __libc_memmove.
18342 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18343 __libc_memset.
18344 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18345 of memset.
18346
18347 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18348
18349 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18350 * configure: Regenerated.
18351
18352 * Makeconfig (+link-static-before-libc): Don't include
18353 $(link-static-libc).
18354
18355 * libio/libio.h (_IO_pos_t): Remove.
18356
18357 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18358
18359 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18360 McGrath.
18361
18362 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18363
18364 * crypt/crypt-entry.c: Include fips-private.h.
18365 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18366 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18367 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18368 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18369
18370 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18371
18372 * crypt/crypt-private.h: Include stdbool.h.
18373 (_ufc_setup_salt_r): Return bool.
18374 * crypt/crypt-entry.c: Include errno.h.
18375 (__crypt_r): Return NULL with EINVAL for bad salt.
18376 * crypt/crypt_util.c (bad_for_salt): New.
18377 (_ufc_setup_salt_r): Check that salt is long enough and within
18378 the specified alphabet.
18379 * crypt/badsalttest.c: New file.
18380 * crypt/Makefile (tests): Add it.
18381 ($(objpfx)badsalttest): New.
18382
18383 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18384
18385 * NEWS: Add entry for BZ #14602.
18386
18387 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18388
18389 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18390 type-generic.
18391 * math/libm-test.inc: Update comment listing what functions and
18392 macros are tested.
18393 (isgreater_test): New function.
18394 (isgreaterequal_test): Likewise.
18395 (isless_test): Likewise.
18396 (islessequal_test): Likewise.
18397 (islessgreater_test): Likewise.
18398 (isunordered_test): Likewise.
18399 (main): Call the new functions.
18400
18401 2012-10-09 Roland McGrath <roland@hack.frob.com>
18402
18403 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18404 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18405 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18406 * sysdeps/i386/configure: Regenerated.
18407 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18408 * sysdeps/mach/configure: Regenerated.
18409 * sysdeps/mach/hurd/configure: Regenerated.
18410 * sysdeps/powerpc/configure: Regenerated.
18411 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18412 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18413 * sysdeps/s390/s390-32/configure: Regenerated.
18414 * sysdeps/s390/s390-64/configure: Regenerated.
18415 * sysdeps/sh/configure: Regenerated.
18416 * sysdeps/sparc/configure: Regenerated.
18417 * sysdeps/unix/sysv/linux/configure: Regenerated.
18418 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18419 * sysdeps/x86_64/configure: Regenerated.
18420
18421 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18422 defined. Don't check if MAP is NULL.
18423
18424 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18425
18426 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18427 (_G_stat64): Likewise.
18428 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18429 (_G_stat64): Likewise.
18430 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18431 instead of struct _G_stat64.
18432 * libio/fileops.c (mmap_remap_check): Likewise.
18433 (decide_maybe_mmap): Likewise.
18434 (_IO_new_file_seekoff): Likewise.
18435 (_IO_file_stat): Likewise.
18436 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18437 _G_off64_t.
18438 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18439 instead of struct _G_stat64.
18440 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18441
18442 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18443
18444 [BZ #14602]
18445 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18446 Replace with ...
18447 (CHECK_EOL): New macro.
18448 (two_way_short_needle): Check beginning of haystack for EOL. Use
18449 CHECK_EOL.
18450 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18451 Replace with CHECK_EOL.
18452 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18453 Replace with CHECK_EOL.
18454
18455 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18456
18457 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18458 type-generic.
18459 * math/libm-test.inc: Update comment listing what functions and
18460 macros are tested.
18461 (finite_test): New function.
18462 (isinf_test): Likewise.
18463 (isnan_test): Likewise.
18464 (fpclassify_test): Test subnormal input.
18465 (isfinite_test): Likewise.
18466 (isnormal_test): Likewise.
18467 (main): Call the new functions.
18468
18469 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18470
18471 [BZ #14660]
18472 * Makerules (%.dynsym): Force C locale when running
18473 $(OBJDUMP) --dynamic-syms.
18474
18475 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18476
18477 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18478 <stdint.h>.
18479
18480 2012-10-06 David S. Miller <davem@davemloft.net>
18481
18482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18483 upper 32-bits of the length value in %o2 since we use branch-on-register
18484 tests which consider the entire 64-bit register.
18485
18486 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18487
18488 * string/test-strstr.c (check2): Add a test for page boundary.
18489
18490 2012-10-05 David S. Miller <davem@davemloft.net>
18491
18492 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18493 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18494 file.
18495 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18496 sysdep_routines.
18497 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18498 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18499 and bzero when HWCAP_SPARC_CRYPTO is present.
18500
18501 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18502
18503 [BZ #14602]
18504 * string/test-strstr.c (check2): New function.
18505 (test_main): Call check2.
18506
18507 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18508 and bug-strchr1.
18509 * string/bug-strcasestr1.c (do_test): Moved to ...
18510 * string/test-strcasestr.c (check1): Here. New function.
18511 (do_one_test): Break out result checking code into ...
18512 (check_result): This. New function.
18513 (do_one_test): Call check_result.
18514 (test_main): Call check1.
18515 * string/bug-strchr1.c (do_test): Moved to ...
18516 * string/test-strchr.c (check1): Here. New function.
18517 (do_one_test): Break out result checking code into ...
18518 (check_result): This. New function.
18519 (do_one_test): Call check_result.
18520 (test_main): Call check1.
18521 * string/bug-strstr1.c (main): Moved to ...
18522 * string/test-strstr.c (check1): Here. New function.
18523 (do_one_test): Break out result checking code into ...
18524 (check_result): This. New function.
18525 (do_one_test): Call check_result.
18526 (test_main): Call check1.
18527 * string/bug-strcasestr1.c: Removed.
18528 * string/bug-strchr1.c: Likewise.
18529 * string/bug-strstr1.c: Likewise.
18530
18531 * elf/Makefile (dl-routines): Add hwcaps.
18532 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18533 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18534 (_dl_important_hwcaps): Moved to ...
18535 * elf/dl-hwcaps.c: Here. New file.
18536 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18537
18538 [BZ #14557]
18539 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18540 if IS_IN_rtld isn't defined.
18541
18542 * elf/dl-support.c (_dl_sysinfo_map): New.
18543 Include "get-dynamic-info.h" and "setup-vdso.h".
18544 (_dl_non_dynamic_init): Call setup_vdso.
18545 * elf/dynamic-link.h: Don't include <assert.h>.
18546 (elf_get_dynamic_info): Moved to ...
18547 * elf/get-dynamic-info.h: Here. New file.
18548 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18549 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18550 * elf/setup-vdso.h: Here. New file.
18551 * elf/rtld.c: Include "setup-vdso.h".
18552 (dl_main): Call setup_vdso.
18553
18554 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18555
18556 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18557 creal in comment listing functions tested. List finite, isinf,
18558 isnan, isless, islessequal, isgreater, isgreaterequal,
18559 islessgreater, isunordered, lgamma_r and pow10 as functions and
18560 macros not tested. Mention which functions not tested are aliases
18561 for other functions. Fix typo. Note that signs of NaNs are not
18562 tested.
18563
18564 * scripts/config.guess: Update from config.git.
18565 * scripts/config.sub: Likewise.
18566
18567 2012-10-04 Roland McGrath <roland@hack.frob.com>
18568
18569 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18570 * misc/madvise.c (madvise): Renamed to __madvise.
18571 Make madvise a weak alias.
18572 * include/sys/mman.h: Declare __madvise.
18573 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18574 * sysdeps/unix/syscalls.list
18575 (madvise): Make __madvise the strong name, and madvise a weak alias.
18576 * sysdeps/unix/sysv/linux/syscalls.list
18577 (madvise, mmap): Remove redundant entries.
18578 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18579 * malloc/malloc.c (mtrim): Likewise.
18580 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18581
18582 2012-10-03 Roland McGrath <roland@hack.frob.com>
18583
18584 * sysdeps/mach/hurd/dl-cache.c: File removed.
18585 * config.h.in (USE_LDCONFIG): New #undef.
18586 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18587 * configure: Regenerated.
18588 * elf/Makefile (dl-routines): Add dl-cache only under
18589 [$(use-ldconfig) = yes].
18590 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18591 cache on [USE_LDCONFIG].
18592 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18593 [USE_LDCONFIG].
18594 * elf/rtld.c (dl_main): Likewise.
18595
18596 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18597
18598 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18599 _SC_LEVEL4_CACHE_LINESIZE.
18600
18601 2012-10-03 Roland McGrath <roland@hack.frob.com>
18602
18603 * sysdeps/unix/bsd/confstr.h: File removed.
18604
18605 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18606
18607 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18608 sys/sdt-config.h.
18609
18610 2012-10-02 Roland McGrath <roland@hack.frob.com>
18611
18612 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18613 Make 'mapoff' field ElfW(Off) rather than off_t.
18614
18615 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18616
18617 * nscd/Makefile: Remove nscd-cflags and all its users.
18618 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18619 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18620
18621 [BZ #10631]
18622 * malloc.c (malloc_printerr): Clarify error message.
18623
18624 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 [BZ #14648]
18627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18628 Set bit_FMA_Usable if FMA is supported.
18629 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18630 macro.
18631 (bit_FMA4_Usable): Updated.
18632 (index_FMA_Usable): New macro.
18633 (CPUID_FMA): Likewise
18634 (HAS_FMA): Defined with bit_FMA_Usable.
18635
18636 2012-10-01 Roland McGrath <roland@hack.frob.com>
18637
18638 * bits/types.h (__swblk_t): Type removed.
18639 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18640 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18642 (__SWBLK_T_TYPE): Likewise.
18643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18644 (__SWBLK_T_TYPE): Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18646 (__SWBLK_T_TYPE): Likewise.
18647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18648 (__SWBLK_T_TYPE): Likewise.
18649
18650 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18651 Honza Horak <hhorak@redhat.com>
18652
18653 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18654 (xdr_mapname): Use YPMAXMAP as maxsize.
18655 (xdr_peername): Use YPMAXPEER as maxsize.
18656 (xdr_keydat): Use YPAXRECORD as maxsize.
18657 (xdr_valdat): Use YPMAXRECORD as maxsize.
18658
18659 2012-10-01 Roland McGrath <roland@hack.frob.com>
18660
18661 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18662
18663 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18664 * csu/init-first.c: ... here.
18665 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18666 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18667 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18668 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18669 * sysdeps/i386/init-first.c: File removed.
18670 * sysdeps/sh/init-first.c: File removed.
18671
18672 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18673
18674 [BZ #14645]
18675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18676 if x * y might underflow to zero and z is zero.
18677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18679 * math/libm-test.inc (min_subnorm_value): New variable.
18680 (fma_test): Add more tests.
18681 (fma_test_towardzero): Likewise.
18682 (fma_test_downward): Likewise
18683 (fma_test_upward): Likewise.
18684 (initialize): Set min_subnorm_value.
18685
18686 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18687
18688 [BZ #14638]
18689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18690 0 + 0.
18691 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18692 mode for addition resulting in exact zero.
18693 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18695 exact 0 + 0.
18696 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18698 * math/libm-test.inc (fma_test): Add more tests.
18699 (fma_test_towardzero): New function.
18700 (fma_test_downward): Likewise.
18701 (fma_test_upward): Likewise.
18702 (main): Call the new functions.
18703
18704 2012-09-28 David S. Miller <davem@davemloft.net>
18705
18706 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18707
18708 2012-09-28 Roland McGrath <roland@hack.frob.com>
18709
18710 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18711 instead of SIGALRM.
18712
18713 * sysdeps/gnu/_G_config.h: Moved to ...
18714 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18715 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18716 * sysdeps/generic/_G_config.h: ... here.
18717
18718 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18719
18720 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18721
18722 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18723 Conditionalize target on [libnss_test1.so-version].
18724
18725 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18726
18727 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18728 (elfobjdir): Move out of conditionals.
18729
18730 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18731 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18732 (__nss_lookup_function): Conditionalize label remove_from_tree on
18733 [!DO_STATIC_NSS || SHARED], matching its only use.
18734
18735 2012-09-28 David S. Miller <davem@davemloft.net>
18736
18737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18738 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18739 file.
18740 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18741 sysdep_routines.
18742 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18744 when HWCAP_SPARC_CRYPTO is present.
18745
18746 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18747
18748 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18749
18750 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18751
18752 [BZ #6530]
18753 * stdio-common/vfprintf.c (process_string_arg): Revert
18754 2000-07-22 change.
18755
18756 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18757
18758 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18759 for testcase.
18760 * stdio-common/tst-sprintf.c: Include <locale.h>
18761 (main): Test sprintf's handling of incomplete multibyte
18762 characters.
18763
18764 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 * elf/dl-runtime.c (VERSYMIDX): Removed.
18767 * elf/dl-version.c (VERSYMIDX): Likewise.
18768 * elf/do-rel.h (VERSYMIDX): Likewise.
18769 (VALIDX): Likewise.
18770 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18771 * elf/rtld.c (VALIDX): Likewise.
18772 (ADDRIDX): Likewise.
18773 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18774 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18775 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18776 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18777 (VALIDX): Likewise.
18778 (ADDRIDX): Likewise.
18779
18780 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18781
18782 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18783
18784 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18785
18786 [BZ #11438]
18787 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18788 to global scope.
18789 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18790 addresses are in the same scope as 192.0.2/24.
18791 * posix/gai.conf: Document new scope table defaults.
18792
18793 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18794
18795 [BZ #5298]
18796 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18797 for ftell. Compute offsets from write pointers instead.
18798 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18799
18800 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18801
18802 [BZ #14543]
18803 * libio/Makefile (tests): New test case tst-fseek.
18804 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18805 combination works in wide mode.
18806 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18807 state when the external buffer state changes.
18808
18809 2012-09-27 David S. Miller <davem@davemloft.net>
18810
18811 [BZ #14376]
18812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18813 pass reloc->r_addend in as the 'high' argument to
18814 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18815
18816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18817
18818 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18819
18820 * rt/tst-aio2.c: Include <pthread.h>.
18821 * rt/tst-aio3.c: Likewise.
18822
18823 2012-09-27 Steve Ellcey <sellcey@mips.com>
18824
18825 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18826
18827 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18830 contents on [SHARED].
18831
18832 2012-09-26 Marek Polacek <polacek@redhat.com>
18833
18834 [BZ #14530]
18835 [BZ #13741]
18836 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18837 for C++ and GCC <4.3 as well as for non GCC compilers.
18838
18839 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18840
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18842
18843 2012-09-25 Roland McGrath <roland@hack.frob.com>
18844
18845 * Makefile.in (all, install): Declare with .PHONY.
18846 Reported by Michael Hope <michael.hope@linaro.org>.
18847
18848 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18849
18850 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18851 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18852 system header.
18853 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18854 Likewise.
18855 (sydep_routines): Add the new and the internal functions.
18856 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18857 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18859 (GLIBC_2.17): Add the new function.
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18861 (GLIBC_2.17): Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18863 (GLIBC_2.17): Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18865 (GLIBC_2.17): Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18867
18868 2012-09-25 Alan Modra <amodra@gmail.com>
18869
18870 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18871 Add release barrier before setting once_control to say
18872 initialisation is done. Add hints on lwarx. Use macro in
18873 place of isync.
18874 (clear_once_control): Add release barrier.
18875
18876 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18877
18878 [BZ #13629]
18879 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18880 specially.
18881 * math/s_clog10.c (__clog10): Likewise.
18882 * math/s_clog10f.c (__clog10f): Likewise.
18883 * math/s_clog10l.c (__clog10l): Likewise.
18884 * math/s_clogf.c (__clogf): Likewise.
18885 * math/s_clogl.c (__clogl): Likewise.
18886 * math/Makefile (libm-calls): Add x2y2m1.
18887 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18888 (__x2y2m1): Likewise.
18889 (__x2y2m1l): Likewise.
18890 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18891 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18896 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18897 * sysdeps/i386/fpu/libm-test-ulps: Update.
18898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899
18900 [BZ #14621]
18901 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18902 int as type of variable DEPTH.
18903 (glob): Use size_t instead of int as type of variables NEWCOUNT
18904 and OLD_PATHC.
18905
18906 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18907
18908 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18909 Add s_sincosf-sse2.
18910 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18911 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18912 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18913 macros for using routine as __sincosf_ia32.
18914 Use macro for function declaration and weak_alias.
18915 * sysdeps/i386/fpu/libm-test-ulps: Update.
18916
18917 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18919
18920 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18921 subnormal argument.
18922 * math/s_cexpf.c (__cexpf): Likewise.
18923 * math/s_csinf.c (__csinf): Likewise.
18924 * math/s_csinhf.c (__csinhf): Likewise.
18925 * math/s_ctanf.c (__ctanf): Likewise.
18926 * math/s_ctanhf.c (__ctanhf): Likewise.
18927 * math/s_ccosh.c (__ccoshf): Likewise.
18928 * math/s_cexp.c (__cexpl): Likewise.
18929 * math/s_csin.c (__csin): Likewise.
18930 * math/s_csinh.c (__csinh): Likewise.
18931 * math/s_ctan.c (__ctan): Likewise.
18932 * math/s_ctanh.c (ctanh): Likewise.
18933 * math/s_ccoshl.c (__ccoshl): Likewise.
18934 * math/s_cexpl.c (__cexpl): Likewise.
18935 * math/s_csinl.c (__csinl): Likewise.
18936 * math/s_csinhl.c (__csinhl): Likewise.
18937 * math/s_ctanl.c (__ctanl): Likewise.
18938 * math/s_ctanhl.c (__ctanhl): Likewise.
18939
18940 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18941
18942 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18943 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18944 (_IO_off_t): Define to __off_t, not _G_off_t.
18945 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18946 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18947 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18948 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18949 type of __dummy and __dummy2 fields.
18950 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18951 (_G_ssize_t): Likewise.
18952 (_G_off_t): Likewise.
18953 (_G_pid_t): Likewise.
18954 (_G_uid_t): Likewise.
18955 (_G_wchar_t): Likewise.
18956 (_G_wint_t): Likewise.
18957 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18958 (_G_ssize_t): Likewise.
18959 (_G_off_t): Likewise.
18960 (_G_pid_t): Likewise.
18961 (_G_uid_t): Likewise.
18962 (_G_wchar_t): Likewise.
18963 (_G_wint_t): Likewise.
18964 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18965 (_G_ssize_t): Likewise.
18966 (_G_off_t): Likewise.
18967 (_G_pid_t): Likewise.
18968 (_G_uid_t): Likewise.
18969 (_G_wchar_t): Likewise.
18970 (_G_wint_t): Likewise.
18971
18972 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18973
18974 * malloc/arena.c: Include malloc-sysdep.h.
18975 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18976 is sufficient to shrink the heap or an unmap is needed.
18977 * sysdeps/generic/malloc-sysdep.h: New file. Define
18978 new function check_may_shrink_heap.
18979 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18980 new function check_may_shrink_heap.
18981
18982 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18983
18984 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18985 comments.
18986
18987 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18988
18989 * catgets/test-gencat.sh: Add "set -e".
18990 * elf/tst-pathopt.sh: Likewise.
18991 * grp/tst_fgetgrent.sh: Likewise.
18992 * iconvdata/run-iconv-test.sh: Likewise.
18993 * intl/tst-gettext.sh: Likewise.
18994 * intl/tst-gettext2.sh: Likewise.
18995 * intl/tst-gettext4.sh: Likewise.
18996 * intl/tst-gettext6.sh: Likewise.
18997 * intl/tst-translit.sh: Likewise.
18998 * io/ftwtest-sh: Likewise.
18999 * libio/test-freopen.sh: Likewise.
19000 * malloc/tst-mtrace.sh: Likewise.
19001 * posix/globtest.sh: Likewise.
19002 * posix/tst-getconf.sh: Likewise.
19003 * posix/wordexp-tst.sh: Likewise.
19004 * stdio-common/tst-printf.sh: Likewise.
19005 * stdio-common/tst-unbputc.sh: Likewise.
19006 * stdlib/tst-fmtmsg.sh: Likewise.
19007 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19008 * catgets/Makefile: Do not specify -e option when running
19009 testsuite shell scripts.
19010 * elf/Makefile: Likewise.
19011 * grp/Makefile: Likewise.
19012 * iconvdata/Makefile: Likewise.
19013 * intl/Makefile: Likewise.
19014 * io/Makefile: Likewise.
19015 * libio/Makefile: Likewise.
19016 * malloc/Makefile: Likewise.
19017 * posix/Makefile: Likewise.
19018 * stdio-common/Makefile: Likewise.
19019 * stdlib/Makefile: Likewise.
19020 * sysdeps/x86_64/Makefile: Likewise.
19021
19022 * io/ftwtest-sh: Add copyright header.
19023 * posix/globtest.sh: Likewise.
19024 * posix/tst-getconf.sh: Likewise.
19025 * posix/wordexp-tst.sh: Likewise.
19026 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19027
19028 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19029
19030 [BZ #13679]
19031 * Makeconfig (+link): Defined as $(+link-static) if
19032 $(build-shared) isn't yes.
19033 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19034 isn't yes.
19035 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19036
19037 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19038
19039 [BZ #14562]
19040 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19041 new chunk size with MALLOC_ALIGN_MASK.
19042
19043 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19044
19045 [BZ #5044]
19046 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19047 <rounding-mode.h>.
19048 (__printf_fphex): Determine rounding using get_rounding_mode and
19049 round_away.
19050 * stdio-common/tst-printf-round.c (struct hex_test): New
19051 structure.
19052 (hex_tests): New variable.
19053 (test_hex_in_one_mode): New function.
19054 (do_test): Also run tests for hex float output.
19055
19056 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19057
19058 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19059 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19060 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19061 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19062 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19063 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19064 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19065 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19066
19067 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19068
19069 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19070 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19071 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19072 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19073
19074 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19075
19076 [BZ #14579]
19077 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19078 mode only.
19079 * elf/tst-rtld-load-self.sh: New test.
19080 * elf/Makefile: Run it.
19081
19082 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19083
19084 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19085 (tst-writev-ENV): Remove.
19086 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19087
19088 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19089
19090 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19091
19092 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19093
19094 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19095 unconditional.
19096 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19097 Likewise.
19098 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19099 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19100 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19101 Likewise.
19102
19103 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19104
19105 [BZ #14587]
19106 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19107 * config.make.in (have-cpp-asm-debuginfo): Removed.
19108 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19109 * configure: Regenerated.
19110
19111 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19112
19113 [BZ #5044]
19114 * stdio-common/printf_fp.c: Include <stdbool.h> and
19115 <rounding-mode.h>.
19116 (___printf_fp): Determine rounding using get_rounding_mode and
19117 round_away.
19118 * stdio-common/tst-printf-round.c: New file.
19119 * stdio-common/Makefile (tests): Add tst-printf-round.
19120 (link-libm): New variable.
19121 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19122
19123 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19124
19125 [BZ #14576]
19126 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19127 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19128 Likewise.
19129 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19130 Likewise.
19131
19132 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19133
19134 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19135 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19136 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19137 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19138
19139 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19140
19141 [BZ #14518]
19142 * include/rounding-mode.h: New file.
19143 * sysdeps/generic/get-rounding-mode.h: Likewise.
19144 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19145 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19146 (MAX_VALUE): New macro.
19147 (MIN_VALUE): Likewise.
19148 (overflow_value): New function.
19149 (underflow_value): Likewise.
19150 (round_and_return): Use overflow_value and underflow_value to
19151 determine return values in overflow and underflow cases. Use
19152 round_away to determine rounding depending on rounding mode.
19153 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19154 determine return values in overflow and underflow cases.
19155 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19156 (struct test_results): New structure.
19157 (struct test): Use struct test_results to store expected results
19158 for all rounding modes.
19159 (TEST): Include expected results for all rounding modes.
19160 (test_in_one_mode): New function.
19161 (do_test): Use test_in_one_mode to compute and check results.
19162 Check results for all rounding modes.
19163 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19164 $(link-libm).
19165
19166 2012-12-09 Allan McRae <allan@archlinux.org>
19167
19168 * sysdeps/i386/fpu/libm-test-ulps: Update
19169
19170 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19171
19172 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19173 (_G_int32_t): Likewise.
19174 (_G_uint16_t): Likewise.
19175 (_G_uint32_t): Likewise.
19176 (_G_HAVE_BOOL): Likewise.
19177 (_G_HAVE_ATEXIT): Likewise.
19178 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19179 (_G_HAVE_IO_FILE_OPEN): Likewise.
19180 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19181 (_G_int32_t): Likewise.
19182 (_G_uint16_t): Likewise.
19183 (_G_uint32_t): Likewise.
19184 (_G_HAVE_BOOL): Likewise.
19185 (_G_HAVE_ATEXIT): Likewise.
19186 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19187 (_G_HAVE_IO_FILE_OPEN): Likewise.
19188 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19189 (_G_int32_t): Likewise.
19190 (_G_uint16_t): Likewise.
19191 (_G_uint32_t): Likewise.
19192 (_G_HAVE_BOOL): Likewise.
19193 (_G_HAVE_ATEXIT): Likewise.
19194 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19195 (_G_HAVE_IO_FILE_OPEN): Likewise.
19196
19197 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19198
19199 * csu/libc-tls.c: Update copyright years.
19200
19201 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19202
19203 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19204 [!_G_USING_THUNKS]: Remove conditional code.
19205 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19206 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19207
19208 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19209 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19210 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19211 (_G_VTABLE_LABEL_PREFIX): Likewise.
19212 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19213 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19214 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19215 (_G_VTABLE_LABEL_PREFIX): Likewise.
19216 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19217 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19218 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19219 (_G_VTABLE_LABEL_PREFIX): Likewise.
19220 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19221
19222 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19223
19224 * libio/Makefile: Include ../Makeconfig before tests.
19225 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19226 only if $(build-shared) is yes.
19227
19228 * iconv/gconv_db.c: Update copyright years.
19229
19230 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19231
19232 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19233 unwind info if defined PIC. Fix special cases description.
19234 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19235
19236 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19237 DP_HI_MASK entry.
19238 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19239
19240 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19243
19244 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19245 is NULL.
19246
19247 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19248 (LDLIBS-tst-chk4): This.
19249 (LDFLAGS-tst-chk5): Renamed to ...
19250 (LDLIBS-tst-chk5): This.
19251 (LDFLAGS-tst-chk6): Renamed to ...
19252 (LDLIBS-tst-chk6): This.
19253 (LDFLAGS-tst-lfschk4): Renamed to ...
19254 (LDLIBS-tst-lfschk4): This.
19255 (LDFLAGS-tst-lfschk5): Renamed to ...
19256 (LDLIBS-tst-lfschk5): This.
19257 (LDFLAGS-tst-lfschk6): Renamed to ...
19258 (LDLIBS-tst-lfschk6): This.
19259
19260 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19261 on $(common-objpfx)soversions.mk.
19262
19263 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19264
19265 [BZ #10014]
19266 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19267 example host name.
19268
19269 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19270
19271 * malloc/arena.c (arena_get_retry): New function that gets
19272 another arena for the caller to try its request on.
19273 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19274 current arena cannot fulfill the request.
19275 (__libc_memalign): Likewise.
19276 (__libc_memalign): Likewise.
19277 (__libc_pvalloc): Likewise.
19278 (__libc_calloc): Likewise.
19279
19280 2012-09-05 John Tobey <john.tobey@gmail.com>
19281
19282 [BZ #13542]
19283 * manual/arith.texi (Operations on Complex): Fix description
19284 of carg branch cut.
19285
19286 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19287
19288 [BZ #10014]
19289 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19290 host name.
19291
19292 [BZ #10038]
19293 * manual/memory.texi (Memory): Make order of menu items match
19294 order of sections.
19295
19296 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19297
19298 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19299 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19300 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19301
19302 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19303
19304 * csu/libc-tls.c (static_dtv): Renamed to ...
19305 (_dl_static_dtv): This. Make it global.
19306 (_dl_initial_dtv): Removed.
19307 (__libc_setup_tls): Updated.
19308 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19309 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19310 DL_INITIAL_DTV.
19311
19312 2012-09-06 Petr Machata <pmachata@redhat.com>
19313
19314 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19315 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19316 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19317 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19318
19319 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19320
19321 [BZ #14545]
19322 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19323 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19324 freeing dtv[-1].
19325
19326 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19327
19328 [BZ #14544]
19329 * Makeconfig (link-static-before-libc): Replace $(+prector)
19330 with $(+prectorT).
19331 (link-static-after-libc): Replace $(+postctor) with
19332 $(+postctorT).
19333 (link-bounded): Replace $(+prector)/$(+postctor) with
19334 $(+prectorT)/$(+postctorT).
19335 (+prectorT): New macro.
19336 (+postctorT): Likewise.
19337
19338 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19339
19340 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19341 (round_str): Handle values above the maximum for IBM long double
19342 as inexact.
19343 * stdlib/tst-strtod-round.c (tests): Regenerated.
19344
19345 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19346
19347 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19348 assembler flag.
19349 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19350 zarch_nohighgprs around the zarch optimized routines.
19351 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19352 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19354 for zarch.
19355
19356 2012-09-05 David S. Miller <davem@davemloft.net>
19357
19358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19359
19360 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19361 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19362 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19363 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19364 entries.
19365
19366 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19367
19368 * malloc/arena.c: Fold copyright years.
19369 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19370
19371 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19372
19373 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19374
19375 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19376
19377 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19378
19379 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19380
19381 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19382 change internal state upon failure.
19383
19384 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19385
19386 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19387 * malloc/memusage.c (mmap): Likewise.
19388 (mmap64, mremap): Likewise. Adjust name in comment.
19389
19390 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19391
19392 * libio/fileops.c: Fix typos in comments.
19393 * libio/oldfileops.c: Likewise.
19394 * libio/wfileops.c: Likewise.
19395
19396 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19397
19398 [BZ #1349]
19399 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19400 (tst-malloc-usable-ENV): Set environment for test case.
19401 * malloc/hooks.c (malloc_check_get_size): New function to get
19402 requested size.
19403 * malloc/malloc.c (musable): Use malloc_check_get_size.
19404 * malloc/tst-malloc-usable.c: New test case.
19405
19406 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19407
19408 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19409
19410 2012-09-05 Allan McRae <allan@archlinux.org>
19411
19412 [BZ #13966]
19413 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19414 determine header location.
19415 * configure: Regenerated.
19416
19417 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19418
19419 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19420 float format.
19421 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19422 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19423 format.
19424 (test): Regenerate.
19425
19426 2012-09-04 David S. Miller <davem@davemloft.net>
19427
19428 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19429 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19430 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19431
19432 2012-09-04 Florian Weimer <fweimer@redhat.com>
19433
19434 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19435 failures.
19436
19437 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19438
19439 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19440
19441 [BZ #9914]
19442 * libio/iogetdelim.c: Include <limits.h>.
19443 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19444 + len + 1 would overflow.
19445
19446 2012-09-03 Andreas Jaeger <aj@suse.de>
19447
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19449 * sysdeps/i386/fpu/libm-test-ulps: Update.
19450
19451 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19452
19453 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19454 Add s_sinf-sse2, s_conf-sse2.
19455
19456 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19457 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19458 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19459 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19460
19461 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19462 for using routine as __sinf_ia32.
19463 Use macro for function declaration and weak_alias.
19464 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19465 for using routine as __cosf_ia32.
19466 Use macro for function declaration and weak_alias.
19467
19468 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19469 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19470
19471 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19472 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19474
19475 * math/libm-test.inc (cos_test): Add more test cases.
19476 (sin_test): Likewise.
19477 (sincos_test): Likewise.
19478
19479 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19480
19481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19482 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19483 hidden.
19484 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19485
19486 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19487
19488 [BZ #14538]
19489 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19490 first element of the GOT.
19491 (elf_machine_load_address): Return the difference between
19492 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19493
19494 2012-09-01 Allan McRae <allan@archlinux.org>
19495
19496 [BZ #13412]
19497 * configure.in (AWK): Require gawk version 3.0 or later.
19498 * configure: Regenerated.
19499
19500 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19501
19502 * sysdeps/unix/sysv/linux/kernel-features.h
19503 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19504 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19505 [__NR_clock_getres]: Make code unconditional.
19506 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19507 (clock_getcpuclockid): Remove code left unreachable by removal of
19508 conditionals.
19509 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19510 code unconditional.
19511 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19512 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19513 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19514 Make code unconditional.
19515 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19516 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19517 * sysdeps/unix/sysv/linux/clock_settime.c
19518 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19519 conditional code.
19520 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19521 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19522
19523 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19524
19525 [BZ #14476]
19526 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19527 scripts/test-installation.pl.
19528
19529 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19530 and $ld_so_version if it is set.
19531
19532 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19533
19534 [BZ #14516]
19535 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19536 failure if reading from procfs failed.
19537 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19538
19539 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19540
19541 * sysdeps/unix/sysv/linux/kernel-features.h
19542 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19543 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19544 Remove conditional code.
19545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19546 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19547 Remove conditional code.
19548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19549 * sysdeps/unix/sysv/linux/i386/fxstat.c
19550 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19552 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19553 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19555 * sysdeps/unix/sysv/linux/i386/lxstat.c
19556 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19558 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19559 Remove conditional code.
19560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19561 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19562 Remove conditional code.
19563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19564 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19565 <kernel-features.h>.
19566 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19567 Remove.
19568 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19569 Remove conditional code.
19570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19571 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19572 Remove conditional.
19573
19574 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19575
19576 [BZ #5400]
19577 * NEWS: Add fixed bug number.
19578
19579 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19580
19581 [BZ #14519]
19582 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19583 underflowing exponent in case of negative sign.
19584 * stdlib/tst-strtod-round-data: Add more tests.
19585 * stdlib/tst-strtod-round.c (tests): Regenerated.
19586
19587 [BZ #3479]
19588 * stdlib/strtod_l.c (NDIG): Remove.
19589 (HEXNDIG): Likewise.
19590 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19591 smallest representable value.
19592 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19593 lie within an exact representation of 1/2 ulp of the result.
19594 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19595 unconditionally.
19596 (TENS_P9_IDX): Define unconditionally.
19597 (TENS_P9_SIZE): Likewise.
19598 (TENS_P10_IDX): Likewise.
19599 (TENS_P10_SIZE): Likewise.
19600 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19601 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19602 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19603 entries for 10^2^13 and 10^2^14.
19604 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19605 (TENS_P13_IDX): Define.
19606 (TENS_P13_SIZE): Likewise.
19607 (TENS_P14_IDX): Likewise.
19608 (TENS_P14_SIZE): Likewise.
19609 (_fpioconst_pow10): Change array size to
19610 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19611 unconditional.
19612 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19613 1024]: Add entries for 10^2^13 and 10^2^14.
19614 [LAST_POW10 > _LAST_POW10]: Remove #error.
19615 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19616 (_fpioconst_pow10): Change array size to
19617 FPIOCONST_POW10_ARRAY_SIZE.
19618 * stdlib/gen-fpioconst.c: New file.
19619 * stdlib/gen-tst-strtod-round.c: Likewise.
19620 * stdlib/tst-strtod-round-data: Likewise.
19621 * stdlib/tst-strtod-round.c: Likewise.
19622 * stdlib/Makefile (tests): Add tst-strtod-round.
19623
19624 [BZ #14459]
19625 * stdlib/strtod_l.c: Include <stdint.h>.
19626 (NDEBUG): Do not define.
19627 (round_and_return): Change EXPONENT parameter to type intmax_t.
19628 Rearrange calculations to avoid internal overflow possibilities.
19629 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19630 Rearrange calculations to avoid internal overflow possibilities.
19631 Assert that number fits inside MPNSIZE limbs.
19632 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19633 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19634 calculations and add assertions to avoid internal overflow
19635 possibilities. Add casts to avoid signed/unsigned operations.
19636 * stdlib/tst-strtod-overflow.c: New file.
19637 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19638
19639 2012-08-25 Marek Polacek <polacek@redhat.com>
19640
19641 * time/time.h: Fix some typos in comments.
19642
19643 2012-08-23 Roland McGrath <roland@hack.frob.com>
19644
19645 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19646 * posix/tst-rfc3484-2.c: Likewise.
19647 * posix/tst-rfc3484-3.c: Likewise.
19648
19649 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19650
19651 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19652 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19653
19654 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19655
19656 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19657 #include of fxstatat64.c.
19658
19659 2012-08-22 Roland McGrath <roland@hack.frob.com>
19660
19661 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19662 * shadow/getspent_r.c: Likewise.
19663 * shadow/getspnam.c: Likewise.
19664 * shadow/getspnam_r.c: Likewise.
19665 * gshadow/getsgent.c: Likewise.
19666 * gshadow/getsgent_r.c: Likewise.
19667 * gshadow/getsgnam.c: Likewise.
19668 * gshadow/getsgnam_r.c: Likewise.
19669 * inet/getnetbyad.c: Likewise.
19670 * inet/getnetbyad_r.c: Likewise.
19671 * inet/getnetbynm.c: Likewise.
19672 * inet/getnetbynm_r.c: Likewise.
19673 * inet/getnetent.c: Likewise.
19674 * inet/getnetent_r.c: Likewise.
19675 * inet/getproto.c: Likewise.
19676 * inet/getproto_r.c: Likewise.
19677 * inet/getprtent.c: Likewise.
19678 * inet/getprtent_r.c: Likewise.
19679 * inet/getprtname.c: Likewise.
19680 * inet/getprtname_r.c: Likewise.
19681 * inet/getrpcbyname.c: Likewise.
19682 * inet/getrpcbyname_r.c: Likewise.
19683 * inet/getrpcbynumber.c: Likewise.
19684 * inet/getrpcbynumber_r.c: Likewise.
19685 * inet/getrpcent.c: Likewise.
19686 * inet/getrpcent_r.c: Likewise.
19687 * inet/getaliasent.c: Likewise.
19688 * inet/getaliasent_r.c: Likewise.
19689 * inet/getaliasname.c: Likewise.
19690 * inet/getaliasname_r.c: Likewise.
19691 * nscd/getgrgid_r.c: Likewise.
19692 * nscd/getgrnam_r.c: Likewise.
19693 * nscd/gethstbyad_r.c: Likewise.
19694 * nscd/gethstbynm3_r.c: Likewise.
19695 * nscd/getpwnam_r.c: Likewise.
19696 * nscd/getpwuid_r.c: Likewise.
19697 * nscd/getsrvbynm_r.c: Likewise.
19698 * nscd/getsrvbypt_r.c: Likewise.
19699 * nscd/gai.c: Likewise.
19700
19701 * configure.in (build_nscd): New substituted variable, set
19702 by --disable-build-nscd and defaults to $use_nscd.
19703 * configure: Regenerated.
19704 * config.make.in (build-nscd): New substituted variable.
19705 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19706 Change conditional to require [$(build-nscd) = yes] as well.
19707 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19708
19709 [BZ# 13696]
19710 * configure.in (use_nscd): New substituted variable, set by
19711 --disable-nscd. If enabled, define USE_NSCD.
19712 * configure: Regenerated.
19713 * config.h.in: Add USE_NSCD.
19714 * config.make.in (use-nscd): New substituted variable.
19715 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19716 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19717 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19718 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19719 (CFLAGS-getgrnam_r.c): Likewise.
19720 (CFLAGS-initgroups.c): Likewise.
19721 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19722 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19723 Variables removed.
19724 * inet/getnetgrent_r.c
19725 (nscd_setnetgrent): New function, broken out of ...
19726 (setnetgrent): ... here. Call it.
19727 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19728 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19729 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19730 * nscd/Makefile (routines, aux): Move definitions after include of
19731 Makeconfig. Conditionalize on [$(use-nscd) != no].
19732 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19733 Conditionalize on [USE_NSCD].
19734 (is_nscd, nscd_init_cb): Likewise.
19735 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19736 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19737 * nss/nss_db/db-init.c: Likewise.
19738 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19739 [USE_NSCD].
19740 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19741 (make_request): Use it.
19742 (cache_valid_p): New function.
19743 (__check_pf): Use it.
19744 * NEWS: Add item for --disable-nscd.
19745
19746 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19747
19748 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19749 to support sed >= 4.2.1-20-ga9bf076.
19750 * configure: Regenerated.
19751
19752 2012-08-22 Roland McGrath <roland@hack.frob.com>
19753
19754 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19755 Conditionalize whole body on [IREL].
19756
19757 2012-08-22 Jeff Law <law@redhat.com>
19758
19759 [BZ #14505]
19760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19761 if the family is PF_UNSPEC.
19762
19763 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19764
19765 * Makerules (lib-version): Rename from V.
19766 (install-lib-nosubdir): Change V to lib-version.
19767
19768 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19769
19770 [BZ #14252]
19771 * powerpc32/power6/wcschr.c: New file.
19772 * powerpc32/power6/wcscpy.c: New file.
19773 * powerpc32/power6/wcsrchr.c: New file.
19774 * powerpc64/power6/wcschr.c: New file.
19775 * powerpc64/power6/wcscpy.c: New file.
19776 * powerpc64/power6/wcsrchr.c: New file.
19777
19778 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19779
19780 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19781 (two_way_short_needle): Use it.
19782 * string/strstr.c (AVAILABLE1_USES_J): Define.
19783 * string/strcasestr.c: Likewise.
19784
19785 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19786 array references.
19787 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19788
19789 [BZ #11607]
19790 * NEWS: Add an entry.
19791 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19792 define their defaults.
19793 (two_way_short_needle): Detect end-of-string on-the-fly.
19794 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19795 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19796 * string/bug-strcasestr1.c: New test.
19797 * string/Makefile: Run it.
19798
19799 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19800
19801 [BZ #11607]
19802 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19803 the first character.
19804
19805 2012-08-21 Roland McGrath <roland@hack.frob.com>
19806
19807 * csu/elf-init.c (__libc_csu_irel): Function removed.
19808 * csu/libc-start.c (apply_irel): New function.
19809 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19810
19811 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19812
19813 * sysdeps/unix/sysv/linux/kernel-features.h
19814 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19815 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19816 <kernel-features.h>.
19817 [__NR_fadvise64_64]: Make code unconditional.
19818 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19819 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19820 !__NR_fadvise64_64)]: Likewise.
19821 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19822 !__NR_fadvise64_64))]: Likewise.
19823 [__NR_fadvise64]: Make code unconditional.
19824 [!__NR_fadvise64]: Remove conditional code.
19825 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19826 <kernel-features.h>.
19827 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19828 unconditional.
19829 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19830 conditional code.
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19832 not include <kernel-features.h>.
19833 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19834 unconditional.
19835 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19836 conditional code.
19837 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19838 include <kernel-features.h>.
19839 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19840 unconditional.
19841 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19842 conditional code.
19843
19844 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19845
19846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19847 slight instruction rearrangements per scrollpipe analysis.
19848 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19849
19850 2012-08-20 Roland McGrath <roland@hack.frob.com>
19851
19852 * manual/syslog.texi (syslog; vsyslog, closelog):
19853 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19854 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19855
19856 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19857 DSOCAPS to match condition on defining it.
19858
19859 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19860
19861 * sysdeps/unix/sysv/linux/kernel-features.h
19862 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19864 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19865 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19867 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19868 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19870 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19871 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19872
19873 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19874 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19875
19876 * sysdeps/unix/sysv/linux/kernel-features.h
19877 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19878 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19879 unconditional.
19880 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19881 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19882 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19883 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19884 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19885 Make code unconditional.
19886 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19887 (__mmap64) [!__NR_mmap2]: Likewise.
19888 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19889 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19890 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19891 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19892 [__NR_mmap2]: Make code unconditional.
19893 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19894 (__mmap64) [!__NR_mmap2]: Likewise.
19895
19896 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19897
19898 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19899
19900 2012-08-18 Andreas Jaeger <aj@suse.de>
19901
19902 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19903
19904 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19905
19906 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19907 * include/unistd.h (__have_sock_cloexec): Likewise.
19908 (__have_pipe2): Likewise.
19909 (__have_dup3): Likewise.
19910
19911 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19912
19913 [BZ #9685]
19914 * include/unistd.h (__have_pipe2): Change define into an extern int.
19915 (__have_dup3): Likewise.
19916 * socket/have_sock_cloexec.c: Include fcntl.h.
19917 (__have_pipe2): New variable.
19918 (__have_dup3): Likewise.
19919
19920 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19921
19922 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19923
19924 2012-08-17 Marek Polacek <polacek@redhat.com>
19925
19926 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19927 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19928
19929 2012-08-17 Roland McGrath <roland@hack.frob.com>
19930
19931 * configure.in: Add AC_SUBST for sysheaders.
19932 * configure: Regenerated.
19933 * config.make.in (sysheaders): New substituted variable.
19934
19935 * sysdeps/unix/mkfifo.c: Moved ...
19936 * sysdeps/posix/mkfifo.c: ... here.
19937 * sysdeps/unix/mkfifoat.c: Moved ...
19938 * sysdeps/posix/mkfifoat.c: ... here.
19939
19940 * sysdeps/unix/utime.c: Moved ...
19941 * sysdeps/posix/utime.c: ... here.
19942
19943 * sysdeps/unix/time.c: Moved ...
19944 * sysdeps/posix/time.c: ... here.
19945 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19946 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19947
19948 * sysdeps/unix/nice.c: Moved ...
19949 * sysdeps/posix/nice.c: ... here.
19950
19951 * sysdeps/unix/alarm.c: Moved ...
19952 * sysdeps/posix/alarm.c: ... here.
19953
19954 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19955
19956 2012-08-17 Jeff Law <law@redhat.com>
19957
19958 * intl/Makefile (codeset_mo): New variable.
19959 ($(codeset_mo)): New target.
19960 (tst-codeset.out): Depend on that. Remove explicit rule.
19961 (tst-gettext3.out, tst-gettext5.out): Likewise.
19962 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19963 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19964 * intl/tst-codeset.sh: Remove.
19965 * intl/tst-gettext3.sh: Likewise.
19966 * intl/tst-gettext5.sh: Likewise.
19967
19968 2012-08-17 Roland McGrath <roland@hack.frob.com>
19969
19970 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19971 * sysdeps/unix/syscalls.list: ... here.
19972
19973 * sysdeps/posix/getaddrinfo.c
19974 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19975 (gaiconf_init, gaiconf_reload): Use them.
19976 [!_STATBUF_ST_NSEC]
19977 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19978 Define using time_t rather than struct timespec.
19979
19980 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19981 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19982 Macros removed.
19983 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19984 [!NO_THREADS].
19985 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19986 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19987 Likewise.
19988
19989 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19990 __libc_cleanup_push argument.
19991
19992 * bits/param.h: New file.
19993 * misc/sys/param.h: New file.
19994 * include/sys/param.h: New file.
19995 * misc/Makefile (headers): Add bits/param.h.
19996 * sysdeps/generic/sys/param.h: File removed.
19997 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19998 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19999 * sysdeps/mach/hurd/bits/param.h: New file.
20000 * sysdeps/mach/hurd/sys/param.h: File removed.
20001
20002 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20003 last change.
20004
20005 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20006 [_IO_MTSAFE_IO].
20007 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20008 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20009 New macros.
20010
20011 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20012 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20013 rather than -D_IO_MTSAFE_IO conditionally.
20014 * stdio-common/Makefile (CPPFLAGS): Likewise.
20015 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20016 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20017 Use $(libio-mtsafe).
20018 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20019 of -D_IO_MTSAFE_IO.
20020 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20021 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20022 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20023 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20024 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20025 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20026 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20027 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20028 (CFLAGS-fread_u_chk.c): Likewise.
20029 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20030 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20031 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20032 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20033 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20034 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20035 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20036 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20037 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20038
20039 * libio/Makefile: Test [$(libc-reentrant) = yes]
20040 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20041
20042 * Makeconfig
20043 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20044 * sysdeps/pthread/configure: File removed.
20045 * sysdeps/pthread/Makeconfig: New file.
20046 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20047 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20048
20049 2012-08-16 Gary Benson <gbenson@redhat.com>
20050
20051 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20052 unmapping the first object in a namespace.
20053
20054 2012-08-16 Roland McGrath <roland@hack.frob.com>
20055
20056 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20057 (__internal_setnetgrent): ... this. Add internal_function to
20058 definition. Add libc_hidden_def.
20059 (setnetgrent): Update caller.
20060 (internal_endnetgrent): Renamed to ...
20061 (__internal_endnetgrent): ... this. Add internal_function to
20062 definition. Add libc_hidden_def.
20063 (endnetgrent): Update caller.
20064 (internal_getnetgrent_r): Renamed to ...
20065 (__internal_getnetgrent_r): ... this. Add internal_function to
20066 definition. Add libc_hidden_def.
20067 (__getnetgrent_r): Update caller.
20068 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20069
20070 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20071
20072 * stdlib/longlong.h: Update from GCC.
20073
20074 2012-08-16 Roland McGrath <roland@hack.frob.com>
20075
20076 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20077 on _QL, which is set by umul_ppmm but never used.
20078 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20079 variables, which are set by GMP macros but never used.
20080 * stdio-common/_itowa.c (_itowa): Likewise.
20081 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20082 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20083
20084 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20085
20086 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20087 struct La_sh_regs is not constant.
20088 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20089 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20090 and struct La_sparc64_regs are not constant.
20091
20092 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20093
20094 * sysdeps/unix/sysv/linux/kernel-features.h
20095 (__ASSUME_POSIX_TIMERS): Remove.
20096 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20097 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20098 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20099 Make code unconditional.
20100 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20101 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20102 Make code unconditional.
20103 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20104 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20105 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20107 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20108 Make code unconditional.
20109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20110 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20111 (__libc_missing_posix_timers): Remove.
20112
20113 2012-08-15 Roland McGrath <roland@hack.frob.com>
20114
20115 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20116 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20117
20118 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20119
20120 * elf/dl-sym.c: Include <stdlib.h>.
20121
20122 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20123 constants, which avoids warnings in 32-bit builds.
20124
20125 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20126 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20127
20128 * misc/lseek.c: File moved to ...
20129 * io/lseek.c: ... here.
20130
20131 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20132
20133 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20134 shifting LEN more than 31 bits at once.
20135
20136 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20137
20138 [BZ #14195]
20139 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20140 segmentation fault for a case of two empty input strings.
20141 * string/test-strncasecmp.c (check1): Renamed to...
20142 (bz12205): ...this.
20143 (bz14195): Add new testcase for two empty input strings and N > 0.
20144 (test_main): Call new testcase, adapt for renamed function.
20145
20146 2012-08-15 Andreas Jaeger <aj@suse.de>
20147
20148 [BZ #14090]
20149 * crypt/md5test2.c: New test, based on test supplied by Serge
20150 Belyshev <belyshev@depni.sinp.msu.ru>.
20151 * crypt/Makefile (xtests): Add md5test-giant..
20152 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20153
20154 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20155
20156 [BZ #14090]
20157 * crypt/md5.c (md5_process_block): Don't assume the buffer
20158 length is less than 2**32.
20159 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20160 length is less than 2**64.
20161
20162 2012-08-15 Roland McGrath <roland@hack.frob.com>
20163
20164 * string/str-two-way.h: Include <sys/param.h>.
20165 (MAX): Macro removed.
20166
20167 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20168 Move #define and #undef of memmove to just before and after
20169 including <string.h>.
20170
20171 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20172 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20173 and after including <string.h>. Move declarations of
20174 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20175 to before #include "string/memmove.c".
20176
20177 * include/dirent.h: Declare __getdirentries.
20178
20179 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20180 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20181
20182 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20183
20184 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20185 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20186 * sysdeps/i386/configure: Regenerated.
20187 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20188 STABS_CURRENT_FILE, and STABS_FUN.
20189 (END): Remove call to STABS_FUN_END.
20190 (STABS_CURRENT_FILE1): Delete.
20191 (STABS_CURRENT_FILE): Likewise.
20192 (STABS_FUN): Likewise.
20193 (STABS_FUN_END): Likewise.
20194 (STABS_FUN2): Likewise.
20195 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20196 * sysdeps/x86_64/configure: Regenerated.
20197
20198 2012-08-14 Roland McGrath <roland@hack.frob.com>
20199
20200 * elf/dl-open.c: Include <atomic.h>.
20201 * elf/dl-lookup.c: Likewise.
20202
20203 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20204
20205 * sysdeps/unix/sysv/linux/kernel-features.h
20206 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20207 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20208 unconditionally.
20209 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20210 unconditionally.
20211 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20212 condition on __ASSUME_CLONE_THREAD_FLAGS.
20213
20214 2012-08-14 Andreas Jaeger <aj@suse.de>
20215
20216 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217
20218 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20219
20220 * include/atomic.h (atomic_exchange_and_add): Split into ...
20221 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20222 New atomic macros.
20223
20224 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20225
20226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20227
20228 2012-08-13 Jeff Law <law@redhat.com>
20229
20230 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20231 null byte in the output string.
20232
20233 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20234
20235 * sysdeps/unix/sysv/linux/kernel-features.h
20236 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20237 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20238 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20240 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20241 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20242 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20243
20244 2012-08-09 Jeff Law <law@redhat.com>
20245
20246 [BZ #13939]
20247 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20248 When avoid_arena is set, don't retry in the that arena. Pick the
20249 next one, whatever it might be.
20250 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20251 (arena_lock): Pass in new parameter to arena_get2.
20252 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20253 arena_get2.
20254 (__libc_malloc): Unify retrying after main arena failure with
20255 __libc_memalign version.
20256 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20257
20258 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20259
20260 [BZ #14166]
20261 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20262 to __redirect_strstr.
20263 (__strstr_sse42): Use typeof __redirect_strstr.
20264 (__strstr_ia32): Likewise.
20265 (__libc_strstr): New prototype.
20266 (strstr): Renamed to ...
20267 (__libc_strstr): This.
20268 (strstr): New strong alias of __libc_strstr.
20269 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20270 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20271 __redirect_time.
20272 Include <time.h>.
20273 (__libc_time): New prototype.
20274 (time_ifunc): Replace time with __libc_time.
20275 (time): New strong alias and hidden definition of __libc_time.
20276 (__GI_time): Remove strong alias.
20277 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20278 Include <stddef.h>.
20279 (memmove): Redefined to __redirect_memmove.
20280 (__memmove_sse2): Use typeof __redirect_memmove.
20281 (__memmove_ssse3): Likewise.
20282 (__memmove_ssse3_back): Likewise.
20283 (__libc_memmove): New prototype.
20284 (memmove): Renamed to ...
20285 (__libc_memmove): This.
20286 (memmove): New strong alias of __libc_memmove.
20287
20288 2012-08-08 Mark Salter <msalter@redhat.com>
20289
20290 * elf/elf.h
20291 (R_MN10300_TLS_GD): Define.
20292 (R_MN10300_TLS_LD): Likewise.
20293 (R_MN10300_TLS_LDO): Likewise.
20294 (R_MN10300_TLS_GOTIE): Likewise.
20295 (R_MN10300_TLS_IE): Likewise.
20296 (R_MN10300_TLS_LE): Likewise.
20297 (R_MN10300_TLS_DTPMOD): Likewise.
20298 (R_MN10300_TLS_DTPOFF): Likewise.
20299 (R_MN10300_TLS_TPOFF): Likewise.
20300 (R_MN10300_SYM_DIFF): Likewise.
20301 (R_MN10300_ALIGN): Likewise.
20302 (R_MN10300_NUM): Update.
20303
20304 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20305
20306 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20307 Remove.
20308
20309 2012-08-08 Roland McGrath <roland@hack.frob.com>
20310
20311 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20312
20313 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20314 sysdeps/unix -> sysdeps/posix move.
20315 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20316
20317 2012-08-07 Allan McRae <allan@archlinux.org>
20318
20319 [BZ #14303]
20320 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20321 (SUNOS_CPP): Likewise.
20322 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20323 not found.
20324 (open_input): Call CPP using execvp.
20325
20326 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20327
20328 * sysdeps/unix/sysv/linux/kernel-features.h
20329 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20330 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20331 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20332 (__ASSUME_WAITID_SYSCALL): Likewise.
20333 * sysdeps/unix/sysv/linux/dl-execstack.c
20334 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20335 code unconditional.
20336 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20337 conditional code.
20338 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20339 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20340 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20341 code.
20342 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20343 unconditional.
20344 [__ASSUME_WAITID_SYSCALL]: Likewise.
20345 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20346
20347 2012-08-07 Roland McGrath <roland@hack.frob.com>
20348
20349 * sysdeps/unix/closedir.c: Renamed to ...
20350 * sysdeps/posix/closedir.c: ... here.
20351 * sysdeps/unix/dirfd.c: Renamed to ...
20352 * sysdeps/posix/dirfd.c: ... here.
20353 * sysdeps/unix/dirstream.h: Renamed to ...
20354 * sysdeps/posix/dirstream.h: ... here.
20355 * sysdeps/unix/fdopendir.c: Renamed to ...
20356 * sysdeps/posix/fdopendir.c: ... here.
20357 * sysdeps/unix/opendir.c: Renamed to ...
20358 * sysdeps/posix/opendir.c: ... here.
20359 * sysdeps/unix/readdir.c: Renamed to ...
20360 * sysdeps/posix/readdir.c: ... here.
20361 * sysdeps/unix/readdir_r.c: Renamed to ...
20362 * sysdeps/posix/readdir_r.c: ... here.
20363 * sysdeps/unix/rewinddir.c: Renamed to ...
20364 * sysdeps/posix/rewinddir.c: ... here.
20365 * sysdeps/unix/seekdir.c: Renamed to ...
20366 * sysdeps/posix/seekdir.c: ... here.
20367 * sysdeps/unix/telldir.c: Renamed to ...
20368 * sysdeps/posix/telldir.c: ... here.
20369 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20370 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20371 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20372 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20373
20374 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20375 * bits/fcntl.h: ... here.
20376
20377 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20378 not 0.
20379 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20380 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20381 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20382 (struct flock): Move l_start, l_len to the beginning.
20383 Use __pid_t for l_pid.
20384 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20385 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20386 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20387 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20388 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20389 [__USE_LARGEFILE64] (struct flock64): New type.
20390 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20391
20392 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20393 * bits/dirent.h: ... here.
20394
20395 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20396 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20397
20398 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20399
20400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20401 Change from 2.6.0 to 2.6.16.
20402 * sysdeps/unix/sysv/linux/configure: Regenerated.
20403 * sysdeps/unix/sysv/linux/kernel-features.h
20404 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20405 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20406 version.
20407 (__ASSUME_UTIMES): Likewise.
20408 (__ASSUME_CLONE_STOPPED): Remove.
20409 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20410 architectures, not kernel version.
20411 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20412 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20413 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20414 (__ASSUME_WAITID_SYSCALL): Likewise.
20415 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20416 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20417 * README: State 2.6.16 as minimum Linux kernel version. Do not
20418 refer to older versions.
20419
20420 2012-08-06 Roland McGrath <roland@hack.frob.com>
20421
20422 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20423 Define alphasort64 as an alias.
20424 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20425 Define versionsort64 as an alias.
20426 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20427 Define scandir64 as an alias.
20428 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20429 Define scandirat64 as an alias.
20430 * dirent/alphasort64.c (alphasort64):
20431 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20432 * dirent/versionsort64.c: Likewise.
20433 * dirent/scandir64.c: Likewise.
20434 * dirent/scandirat64.c: Likewise.
20435 * sysdeps/wordsize-64/alphasort.c: File removed.
20436 * sysdeps/wordsize-64/alphasort64.c: File removed.
20437 * sysdeps/wordsize-64/scandir.c: File removed.
20438 * sysdeps/wordsize-64/scandir64.c: File removed.
20439 * sysdeps/wordsize-64/scandirat.c: File removed.
20440 * sysdeps/wordsize-64/scandirat64.c: File removed.
20441 * sysdeps/wordsize-64/versionsort.c: File removed.
20442 * sysdeps/wordsize-64/versionsort64.c: File removed.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20444 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20445 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20446 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20448 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20450 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20451
20452 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20454 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20456 [defined __arch64__ || defined __sparcv9]
20457 (__INO_T_MATCHES_INO64_T): New macro.
20458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20459 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20460 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20461 * sysdeps/unix/sysv/linux/bits/dirent.h
20462 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20463 (_DIRENT_MATCHES_DIRENT64): New macro.
20464
20465 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20466 Define lockf64 as an alias.
20467 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20468 Define fseeko64 as an alias.
20469 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20470 Define ftello64 as an alias.
20471 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20472 Define _IO_fgetpos64 and fgetpos64 as aliases.
20473 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20474 Define _IO_fsetpos64 and fsetpos64 as aliases.
20475 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20476 Conditionalize body on this.
20477 * libio/fseeko64.c: Likewise.
20478 * libio/ftello64.c: Likewise.
20479 * libio/iofgetpos64.c: Likewise.
20480 * libio/iofsetpos64.c: Likewise.
20481 * sysdeps/wordsize-64/lockf.c: File removed.
20482 * sysdeps/wordsize-64/lockf64.c: File removed.
20483 * sysdeps/wordsize-64/fseeko.c: File removed.
20484 * sysdeps/wordsize-64/fseeko64.c: File removed.
20485 * sysdeps/wordsize-64/ftello.c: File removed.
20486 * sysdeps/wordsize-64/ftello64.c: File removed.
20487 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20488 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20489 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20490 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20491 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20493 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20494 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20495 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20496 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20497 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20498 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20499 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20501
20502 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20504 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20505 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20506 [defined __arch64__ || defined __sparcv9]
20507 (__OFF_T_MATCHES_OFF64_T): New macro.
20508 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20509 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20511 (__OFF_T_MATCHES_OFF64_T): New macro.
20512
20513 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20514
20515 * stdlib/secure-getenv.c (__secure_getenv): Replace
20516 GLIBC_2_16 with GLIBC_2_17.
20517
20518 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20519
20520 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20522
20523 2012-08-03 David S. Miller <davem@davemloft.net>
20524
20525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20526
20527 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20528
20529 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20530 Remove.
20531 (__ASSUME_CORRECT_SI_PID): Likewise.
20532 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20533 (__ASSUME_TMPFS_NAME): Likewise.
20534 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20535 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20536 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20537 (HAVE_AUX_SECURE): Make definition unconditional.
20538 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20539 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20540
20541 2012-08-03 Roland McGrath <roland@hack.frob.com>
20542
20543 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20544 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20545 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20546 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20547 __eloop_threshold instead of SYMLOOP_MAX.
20548
20549 * sysdeps/generic/eloop-threshold.h: New file.
20550 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20551 of MAXSYMLINKS.
20552 * elf/chroot_canon.c (chroot_canon): Likewise.
20553
20554 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20555
20556 [BZ #13717]
20557 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20558 Change to 2.6.0 everywhere.
20559 * sysdeps/unix/sysv/linux/configure: Regenerated.
20560 * sysdeps/unix/sysv/linux/kernel-features.h
20561 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20562 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20563 kernel versions.
20564 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20565 (__ASSUME_FUTEX_REQUEUE): Remove.
20566 (__ASSUME_STATFS64): Define unconditionally.
20567 (__ASSUME_AT_SECURE): Likewise.
20568 (__ASSUME_CORRECT_SI_PID): Likewise.
20569 (__ASSUME_TGKILL): Define without depending on kernel version for
20570 i386.
20571 (__ASSUME_UTIMES): Likewise.
20572 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20573 kernel version.
20574 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20575 (__ASSUME_TMPFS_NAME): Likewise.
20576 * README: Update reference to Linux kernel versions.
20577
20578 2012-08-02 Marek Polacek <polacek@redhat.com>
20579
20580 [BZ# 14150]
20581 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20582 libc_cv_asm_type_prefix with %.
20583 * configure: Regenerated.
20584 * include/libc-symbols.h: Remove comment about
20585 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20586 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20587 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20588 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20589 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20590 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20591 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20592 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20593 * elf/tst-unique2mod1.c: Likewise.
20594 * elf/tst-unique1mod2.c: Likewise.
20595 * elf/tst-unique1mod1.c: Likewise.
20596 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20597 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20598 Replace ASM_TYPE_DIRECTIVE with .type.
20599 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20600 * sysdeps/i386/sysdep.h: Likewise.
20601 * sysdeps/x86_64/sysdep.h: Likewise.
20602 * sysdeps/sh/sysdep.h: Likewise.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20604 Do not define ASM_TYPE_DIRECTIVE.
20605 * sysdeps/powerpc/sysdep.h: Likewise.
20606 * sysdeps/powerpc/powerpc32/sysdep.h:
20607 Replace ASM_TYPE_DIRECTIVE with .type.
20608 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20609 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20610 * sysdeps/i386/fpu/e_powf.S: Likewise.
20611 * sysdeps/i386/fpu/e_expl.S: Likewise.
20612 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20613 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20614 * sysdeps/i386/fpu/e_pow.S: Likewise.
20615 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20616 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20617 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20618 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20619 * sysdeps/i386/fpu/e_log2.S: Likewise.
20620 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20621 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20622 * sysdeps/i386/fpu/e_powl.S: Likewise.
20623 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20624 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20625 * sysdeps/i386/fpu/e_logl.S: Likewise.
20626 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20627 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20628 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20629 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20630 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20631 * sysdeps/i386/fpu/e_log.S: Likewise.
20632 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20633 * sysdeps/i386/fpu/e_logf.S: Likewise.
20634 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20635 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20636 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20637 * sysdeps/i386/fpu/e_log10.S: Likewise.
20638 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20639 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20640 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20641 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20642 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20643 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20644 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20645 * sysdeps/i386/i686/strtok.S: Likewise.
20646 * sysdeps/i386/i386-mcount.S: Likewise.
20647 * sysdeps/i386/strtok.S: Likewise.
20648 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20650 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20651 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20652 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20653 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20654 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20655 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20656 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20657 * sysdeps/x86_64/_mcount.S: Likewise.
20658 * sysdeps/x86_64/strtok.S: Likewise.
20659 * sysdeps/sh/_mcount.S: Likewise.
20660
20661 2012-08-01 Roland McGrath <roland@hack.frob.com>
20662
20663 * libio/iofopen.c: Include <fcntl.h>.
20664 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20665 (_IO_fopen64, fopen64): Define as aliases.
20666 * libio/iofopen64.c: Include <fcntl.h>.
20667 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20668 Conditionalize body on this.
20669 * sysdeps/wordsize-64/iofopen.c: File removed.
20670 * sysdeps/wordsize-64/iofopen64.c: File removed.
20671
20672 2012-08-01 Marek Polacek <polacek@redhat.com>
20673
20674 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20675 Use dlfcn directly instead of a variable.
20676 (binfmt-subdir): Do not define.
20677 (dlfcn): Likewise.
20678
20679 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20680
20681 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20682 Remove all definitions.
20683 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20684 <kernel-features.h>.
20685 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20686 (miss_F_GETOWN_EX): Remove all definitions.
20687 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20688 macro definition.
20689 [!__ASSUME_FCNTL64]: Remove conditional code.
20690 [__ASSUME_FCNTL64]: Make code unconditional.
20691 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20692 <kernel-features.h>.
20693 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20694 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20695 (lockf64) [__NR_fcntl64]: Make code unconditional.
20696 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20697
20698 * sysdeps/unix/sysv/linux/kernel-features.h
20699 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20700 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20701 Make code unconditional.
20702 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20703 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20705 [__NR_vfork]: Make code unconditional.
20706 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20707 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20709 [__NR_vfork]: Make code unconditional.
20710 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20711 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20712
20713 2012-08-01 Roland McGrath <roland@hack.frob.com>
20714
20715 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20716 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20717
20718 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20719 Define mkstemp64 as an alias.
20720 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20721 Define mkstemps64 as an alias.
20722 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20723 Define mkostemp64 as an alias.
20724 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20725 Define mkostemps64 as an alias.
20726 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20727 Conditionalize body on this.
20728 * misc/mkostemp64.c: Likewise.
20729 * misc/mkostemps64.c: Likewise.
20730 * misc/mkstemps64.c: Likewise.
20731 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20732 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20733 * sysdeps/wordsize-64/mkostemp.c: File removed.
20734 * sysdeps/wordsize-64/mkstemp.c: File removed.
20735 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20739
20740 [BZ #14138]
20741 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20742 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20743 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20744 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20745
20746 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20747 compat_symbol macros from <shlib-compat.h> rather than the underlying
20748 default_symbol_version and symbol_version macros, so that DEFAULT
20749 lines in shlib-versions are respected.
20750 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20751
20752 2012-08-01 Florian Weimer <fweimer@redhat.com>
20753
20754 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20755 Declare with warn_unused_result.
20756 (setgid, setregid, setegid, setresgid): Likewise.
20757 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20758 Likewise.
20759 * WUR-REPORT: Remove set*id functions.
20760
20761 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20762
20763 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20764
20765 2012-07-31 Roland McGrath <roland@hack.frob.com>
20766
20767 [BZ #10191]
20768 * include/sys/socket.h (__libc_accept, __libc_accept4):
20769 Add attribute_hidden.
20770 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20771
20772 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20773 use of PTR_MANGLE.
20774 * inet/getnetgrent_r.c (setup): Likewise.
20775
20776 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20777
20778 2012-07-31 David S. Miller <davem@davemloft.net>
20779
20780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20781
20782 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20783
20784 [BZ #13629]
20785 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20786 value between 1.0 and 2.0 and smaller part has absolute value less
20787 than 1.0.
20788 * math/s_clog10.c (__clog10): Likewise.
20789 * math/s_clog10f.c (__clog10f): Likewise.
20790 * math/s_clog10l.c (__clog10l): Likewise.
20791 * math/s_clogf.c (__clogf): Likewise.
20792 * math/s_clogl.c (__clogl): Likewise.
20793 * math/libm-test.inc (clog_test): Add more tests.
20794 (clog10_test): Likewise.
20795 * sysdeps/i386/fpu/libm-test-ulps: Update.
20796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20797
20798 2012-07-31 Florian Weimer <fweimer@redhat.com>
20799
20800 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20801 Exit with zero in case no suitable GID is found, and write a
20802 message to standard error.
20803
20804 2012-07-30 Roland McGrath <roland@hack.frob.com>
20805
20806 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20807 rather than to 1.
20808 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20809 (MAXPATHLEN): Removed.
20810 (NOGROUP, NODEV): New macros.
20811 (setbit, clrbit, isset, isclr): New macros.
20812 (howmany, roundup, powerof2): New macros.
20813 (DEV_BSIZE): New macro.
20814
20815 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20816 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20817
20818 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20819 definition on [!__NO_LONG_DOUBLE_MATH].
20820
20821 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20822 PTR_MANGLE and PTR_DEMANGLE.
20823
20824 * socket/accept4.c (accept4): Rename to __libc_accept4.
20825 Define accept4 as a weak alias.
20826
20827 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20828 on [_DIRENT_HAVE_D_TYPE].
20829 * io/ftw.c (ftw_dir): Likewise.
20830
20831 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20832
20833 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20834
20835 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20836 Use the BSD numbers rather than the arbitrary ones we had.
20837 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20838 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20839 (SIGXCPU, SIGXFSZ): New macros.
20840 (_NSIG): Now 32.
20841
20842 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20843 initializer on [_LIBC_REENTRANT].
20844
20845 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20846 definitions inside [_POSIX_MAPPED_FILES].
20847
20848 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20849
20850 * dirent/opendir.c: Include <fcntl.h>.
20851
20852 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20853 (__libc_getspecific): Likewise.
20854 (__libc_key_create): Likewise.
20855
20856 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20857 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20858 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20859 (tmpfile64): Define as alias.
20860 * sysdeps/wordsize-64/tmpfile.c: File removed.
20861 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20862 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20864
20865 * stdio-common/vfscanf.c: Include <stdbool.h>.
20866 * nss/makedb.c: Likewise.
20867 * stdio-common/_i18n_number.h: Likewise.
20868 * argp/argp-help.c: Likewise.
20869 * posix/wordexp.c: Likewise.
20870 * sysdeps/posix/spawni.c: Likewise.
20871 * nss/nss_files/files-initgroups.c: Likewise.
20872 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20873 * nss/nss_files/files-initgroups.c: Likewise.
20874 * nss/nss_db/db-netgrp.c: Likewise.
20875 * nss/nss_db/db-initgroups.c: Likewise.
20876 * io/fchmodat.c: Include <sys/stat.h>.
20877
20878 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20879 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20880
20881 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20882 [HAVE_MMAP].
20883
20884 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20885 Add multiple inclusion protection.
20886
20887 2012-07-27 David S. Miller <davem@davemloft.net>
20888
20889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20890
20891 2012-07-27 Gary Benson <gbenson@redhat.com>
20892
20893 [BZ #14298]
20894 * elf/rtld.c: Include <stap-probe.h>.
20895 (dl_main): Added static probes "init_start" and "init_complete".
20896 * elf/dl-load.c: Include <stap-probe.h>.
20897 (lose): Take new parameter "nsid".
20898 Added static probe "map_failed".
20899 (_dl_map_object_from_fd): Pass namespace id to lose.
20900 Added static probe "map_start".
20901 (open_verify): Pass namespace id to lose.
20902 * elf/dl-open.c: Include <stap-probe.h>.
20903 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20904 and "reloc_complete".
20905 * elf/dl-close.c: Include <stap-probe.h>.
20906 (_dl_close_worker): Added static probes "unmap_start" and
20907 "unmap_complete".
20908 * elf/rtld-debugger-interface.txt: New file documenting the above.
20909
20910 2012-07-26 Roland McGrath <roland@hack.frob.com>
20911
20912 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20913 rather than a string variable.
20914 * sunrpc/rpc_main.c (h_output): Likewise.
20915 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20916
20917 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20918
20919 * inet/check_native.c: New file.
20920
20921 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20922
20923 [BZ #13629]
20924 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20925 if larger part has absolute value 1.0.
20926 * math/s_clog10.c (__clog10): Likewise.
20927 * math/s_clog10f.c (__clog10f): Likewise.
20928 * math/s_clog10l.c (__clog10l): Likewise.
20929 * math/s_clogf.c (__clogf): Likewise.
20930 * math/s_clogl.c (__clogl): Likewise.
20931 * math/libm-test.inc (clog_test): Add more tests.
20932 (clog10_test): Likewise.
20933 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20935
20936 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20937 (pltexit): Likewise.
20938 (La_regs): Likewise.
20939 (La_retval): Likewise.
20940 (int_retval): Likewise.
20941 Update #error for removed macros to refer only to definitions in
20942 tst-audit.h.
20943 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20944 macro.
20945 (pltexit): Likewise.
20946 (La_regs): Likewise.
20947 (La_retval): Likewise.
20948 (int_retval): Likewise.
20949 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20950 macro.
20951 (pltexit): Likewise.
20952 (La_regs): Likewise.
20953 (La_retval): Likewise.
20954 (int_retval): Likewise.
20955 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20956 macro.
20957 (pltexit): Likewise.
20958 (La_regs): Likewise.
20959 (La_retval): Likewise.
20960 (int_retval): Likewise.
20961 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20962 macro.
20963 (pltexit): Likewise.
20964 (La_regs): Likewise.
20965 (La_retval): Likewise.
20966 (int_retval): Likewise.
20967 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20968 macro.
20969 (pltexit): Likewise.
20970 (La_regs): Likewise.
20971 (La_retval): Likewise.
20972 (int_retval): Likewise.
20973 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20974 macro.
20975 (pltexit): Likewise.
20976 (La_regs): Likewise.
20977 (La_retval): Likewise.
20978 (int_retval): Likewise.
20979 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20980 macro definitions in tst-audit.h.
20981 * sysdeps/i386/tst-audit.h: New file.
20982 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20983 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20984 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20985 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20986 * sysdeps/sh/tst-audit.h: Likewise.
20987 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20988 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20989 * sysdeps/x86_64/tst-audit.h: Likewise.
20990
20991 2012-07-26 Andreas Jaeger <aj@suse.de>
20992
20993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20994 ptrace.
20995
20996 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20997 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20998 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20999 PTRACE_O_MASK.
21000 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21001 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21002 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21003
21004 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21005 value.
21006
21007 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21008 _sigsys.
21009 (si_call_addr, si_syscall, si_arch): Define new macro.
21010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21011 _sigsys.
21012 (si_call_addr, si_syscall, si_arch): Define new marcro.
21013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21014 _sigsys.
21015 (si_call_addr, si_syscall, si_arch): Define new macro.
21016 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21017 _sigsys.
21018 (si_call_addr, si_syscall, si_arch): Define new macro.
21019
21020 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21021
21022 [BZ #13717]
21023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21024 Change to 2.4.21 where previously 2.4.1.
21025 * sysdeps/unix/sysv/linux/configure: Regenerated.
21026 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21027 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21028 Linux kernel version.
21029 (__ASSUME_STD_AUXV): Remove.
21030 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21031 kernel version.
21032 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21033 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21034 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21035 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21036 (__ASSUME_NETLINK_SUPPORT): Likewise.
21037 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21038 (__no_netlink_support): Remove conditional definition.
21039 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21040 Remove.
21041 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21042 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21043 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21044 (if_nameindex_ioctl): Remove.
21045 (if_nameindex_netlink): Do not handle __no_netlink_support.
21046 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21047 code.
21048 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21049 Remove conditional code.
21050 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21051 code.
21052 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21053 unconditional.
21054 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21055 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21056 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21057 Remove.
21058 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21059 [!__ASSUME_STD_AUXV]: Remove conditional code.
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21061 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21062 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21064 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21065 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21066 code.
21067 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21069 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21070 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21071 conditional code.
21072 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21074 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21075 code.
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21077 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21078 conditional code.
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21080 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21081 code unconditional.
21082 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21083 conditional code.
21084 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21085 unconditional.
21086 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21087 conditional code.
21088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21089 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21090 unconditional.
21091 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21092 conditional code.
21093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21094 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21095 code unconditional.
21096 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21097 conditional code.
21098 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21099 unconditional.
21100 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21101 conditional code.
21102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21103 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21104 code unconditional.
21105 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21106 conditional code.
21107 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21108 unconditional.
21109 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21110 conditional code.
21111
21112 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21113
21114 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21116 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21117 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21118 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21119 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21120 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21121 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21122 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21123 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21124 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21125 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21126 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21127 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21128 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21129 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21130 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21131 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21132 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21134 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21135 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21137
21138 2012-07-25 Florian Weimer <fweimer@redhat.com>
21139
21140 * Versions.def: Add GLIBC_2.17.
21141 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21142 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21143 Introduce __libc_secure_getenv.
21144 * stdlib/Versions (2.17): Add secure_getenv
21145 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21146 * stdlib/secure-getenv.c: Rename __secure_getenv to
21147 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21148 symbol __secure_getenv for GLIBC_2.0.
21149 * stdlib/tst-secure-getenv.c: New.
21150 * stdlib/Makefile (tests): Add testcase.
21151 * manual/startup.texi (Environment Access): Document
21152 secure_getenv.
21153 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21154 __libc_secure_getenv.
21155 * inet/ruserpass.c (ruserpass): Likewise.
21156 * malloc/mtrace.c (mtrace): Likewise.
21157 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21158 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21159 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21160 * sysdeps/posix/tempname.c: Likewise. Evaluate
21161 HAVE_SECURE_GETENV.
21162 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21163 __secure_getenv to __libc_secure_getenv.
21164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21166 Likewise.
21167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21168 Likewise.
21169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21171 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21176
21177 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21178
21179 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21180 (struct La_i86_retval): Likewise.
21181 (struct La_x86_64_regs): Likewise.
21182 (struct La_x86_64_retval): Likewise.
21183 (struct La_x32_regs): Likewise.
21184 (struct La_x32_retval): Likewise.
21185 (struct La_ppc32_regs): Likewise.
21186 (struct La_ppc32_retval): Likewise.
21187 (struct La_ppc64_regs): Likewise.
21188 (struct La_ppc64_retval): Likewise.
21189 (struct La_sh_regs): Likewise.
21190 (struct La_sh_retval): Likewise.
21191 (struct La_s390_32_regs): Likewise.
21192 (struct La_s390_32_retval): Likewise.
21193 (struct La_s390_64_regs): Likewise.
21194 (struct La_s390_64_retval): Likewise.
21195 (struct La_sparc32_regs): Likewise.
21196 (struct La_sparc32_retval): Likewise.
21197 (struct La_sparc64_regs): Likewise.
21198 (struct La_sparc64_retval): Likewise.
21199 (struct audit_ifaces): Remove architecture-specific pltenter and
21200 pltexit members.
21201 * sysdeps/i386/ldsodefs.h: New file.
21202 * sysdeps/powerpc/ldsodefs.h: Likewise.
21203 * sysdeps/s390/ldsodefs.h: Likewise.
21204 * sysdeps/sh/ldsodefs.h: Likewise.
21205 * sysdeps/sparc/ldsodefs.h: Likewise.
21206 * sysdeps/x86_64/ldsodefs.h: Likewise.
21207
21208 2012-07-25 Marek Polacek <polacek@redhat.com>
21209
21210 [BZ #6808]
21211 * math/libm-test.inc (yn_test): Add another test.
21212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21213 to ERANGE when the result is +-Inf.
21214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21215 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21216 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21217 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21218
21219 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21220
21221 * conform/data/time.h-data (NULL): Use macro-constant. Require
21222 equal to 0.
21223 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21224 clock_t.
21225 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21226
21227 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21228
21229 * configure.in <sysdeps resolving>: Correct printing
21230 Implies_before.
21231 * configure: Regenerate.
21232
21233 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21234
21235 * math/w_ilogb.c: Include <limits.h>.
21236 * math/w_ilogbl.c: Likewise.
21237
21238 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21239
21240 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21241 va_copy. Document allowing for unavailable va_copy only as
21242 pre-C99 compatibility.
21243 * manual/string.texi (Copying and Concatenation): Use va_copy
21244 instead of __va_copy in concat example.
21245
21246 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21247
21248 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21249 (__sendto): Use create_address_port. Initialize APORT and deallocate
21250 it if not null.
21251
21252 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21253 with O_NOLINK passed to __file_name_lookup.
21254
21255 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21256 with O_NOLINK passed to __file_name_lookup.
21257
21258 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21259 negative N or less than NGIDS.
21260
21261 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21262 type to string_t. Set ERANGE as errno and return it if NAME is not big
21263 enough. Use memcpy instead of strncpy.
21264
21265 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21266
21267 * elf/Makefile (check-data): Remove.
21268 (localplt.data): New vpath directive.
21269 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21270 instead of $(check-data).
21271 * scripts/data/localplt-generic.data: Move to ...
21272 * sysdeps/generic/localplt.data: ... here.
21273 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21274 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21275 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21277 ... here.
21278 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21280 ... here.
21281 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21283 ... here.
21284 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21286 ... here.
21287 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21289 ... here.
21290 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21292 ... here.
21293
21294 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295
21296 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21297 PPC32 and PPC64 files.
21298 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21299 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21300
21301 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21302
21303 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21304 __makecontext_ret to ...
21305 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21306 ... here and call exit if uc_link is NULL. New file.
21307 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21308 __makecontext_ret.S.
21309 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21310 __makecontext_ret to ...
21311 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21312 ... here and call exit if uc_link is NULL. New file.
21313 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21314 __makecontext_ret.S.
21315
21316 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21317
21318 * elf/elf.h (R_390_IRELATIVE): New definition.
21319 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21320 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21321 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21322 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21323 (elf_machine_lazy_rel): Likewise.
21324 * sysdeps/s390/dl-irel.h: New file.
21325 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21326 * sysdeps/s390/s390-64/memset.S: New asm code.
21327 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21328 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21329 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21330 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21331 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21332 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21334 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21335 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21336 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21337 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21338 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21339 * sysdeps/s390/s390-32/memset.S: New asm code.
21340 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21341
21342 2012-07-17 Marek Polacek <polacek@redhat.com>
21343
21344 [BZ #14349]
21345 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21346 * sysdeps/s390/s390-64/configure.in: Likewise.
21347 * sysdeps/sparc/configure.in: Likewise.
21348 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21349 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21350 * sysdeps/i386/configure.in: Likewise.
21351 * sysdeps/x86_64/configure.in: Likewise.
21352 * sysdeps/sh/configure.in: Likewise.
21353 * sysdeps/s390/s390-32/configure: Regenerated.
21354 * sysdeps/s390/s390-64/configure: Likewise.
21355 * sysdeps/x86_64/configure: Likewise.
21356 * sysdeps/sh/configure: Likewise.
21357 * sysdeps/powerpc/powerpc64/configure: Likewise.
21358 * sysdeps/powerpc/powerpc32/configure: Likewise.
21359 * sysdeps/sparc/configure: Likwise.
21360 * sysdeps/i386/configure: Likewise.
21361
21362 * elf/dl-open.c: Comment fixes.
21363
21364 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21365
21366 * Makefile [CXX] (check-data): Remove.
21367 [CXX] (c++-types.data): New vpath directive.
21368 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21369 vpath. Do not allow for C++ type data being missing.
21370 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21371 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21372 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21373 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21374 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21375 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21376 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21378 ... here.
21379 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21381 ... here.
21382 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21384 ... here.
21385 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21387 ... here.
21388 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21390 ... here.
21391 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21393 ... here.
21394 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21396 ... here.
21397 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21399
21400 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21401 definitions to architecture-specific files.
21402 (TLS_IE): Likewise.
21403 (TLS_LD): Likewise.
21404 (TLS_GD): Likewise.
21405 * sysdeps/i386/tls-macros.h: New file.
21406 * sysdeps/powerpc/tls-macros.h: Likewise.
21407 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21408 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21409 * sysdeps/sh/tls-macros.h: Likewise.
21410 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21411 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21412 * sysdeps/x86_64/tls-macros.h: Likewise.
21413
21414 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21415
21416 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21417 zero value for regular exit case.
21418
21419 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21420 (__start_context): Preserve zero value for regular exit case.
21421
21422 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21423 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21424
21425 * manual/setjmp.texi (setcontext): Clarify normal process
21426 termination when uc_link is the null pointer.
21427 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21428 exit call.
21429
21430 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21431
21432 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21433 preprocessor. Test for each exception mask separately.
21434
21435 2012-07-16 Andreas Jaeger <aj@suse.de>
21436
21437 * po/ru.po: Update from translation team.
21438
21439 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21440
21441 * conform/data/string.h-data (NULL): Use macro-constant. Require
21442 equal to 0.
21443 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21444 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21445 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21446 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21448
21449 2012-07-13 Andreas Jaeger <aj@suse.de>
21450
21451 * po/fr.po: Update from translation team.
21452
21453 2012-07-12 Marek Polacek <polacek@redhat.com>
21454
21455 [BZ #14173]
21456 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21458 loop condition.
21459
21460 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21461
21462 [BZ #13717]
21463 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21464 Change to 2.4.1 where previously 2.4.0.
21465 * sysdeps/unix/sysv/linux/configure: Regenerated.
21466 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21467 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21468 version.
21469 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21470 (__ASSUME_AT_CLKTCK): Remove.
21471 (__ASSUME_AT_PAGESIZE): Likewise.
21472 (__ASSUME_AT_XID): Likewise.
21473 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21474 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21475 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21476 unconditionally.
21477 (HAVE_AUX_PAGESIZE): Likewise.
21478 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21479 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21480 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21481
21482 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21483
21484 [BZ #14307]
21485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21486 the temporary buffer used to invoke __gethostbyname2_r,
21487 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21488 host_data / struct gaih_addrtuple.
21489 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21490 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21491 header file nss/nsswitch.h.
21492 * nss/nsswitch.h (global scope): Add definition of implementation
21493 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21494 resolv/nss_dns/dns-host.c).
21495
21496 2012-07-11 Andreas Jaeger <aj@suse.de>
21497
21498 * po/fr.po: Update from translation team.
21499
21500 * po/sv.po: Update from translation team
21501 * po/fr.po: Another update from translation team.
21502
21503 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21504
21505 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21506 for subnormals or multiply small sinh result by itself.
21507 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21509
21510 2012-07-11 David S. Miller <davem@davemloft.net>
21511
21512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21513
21514 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21515
21516 [BZ #14347]
21517 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21518 (INTERNAL_MARK): Shift it here.
21519
21520 2012-07-10 Marek Polacek <polacek@redhat.com>
21521
21522 [BZ #14151]
21523 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21524 libc_cv_asm_global_directive with .globl.
21525 * configure: Regenerated.
21526 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21527 with .globl.
21528 * sysdeps/i386/configure: Regenerated.
21529 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21530 with .globl.
21531 * sysdeps/x86_64/configure: Regenerated.
21532 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21533 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21534 * elf/tst-unique2mod2.c: Likewise.
21535 * elf/tst-unique2mod1.c: Likewise.
21536 * elf/tst-unique1mod2.c: Likewise.
21537 * elf/tst-unique1mod1.c: Likewise.
21538 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21539 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21540 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21541 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21542 * sysdeps/mach/sysdep.h: Likewise.
21543 * sysdeps/i386/sysdep.h: Likewise.
21544 * sysdeps/i386/i386-mcount.S: Likewise.
21545 * sysdeps/x86_64/_mcount.S: Likewise.
21546 * sysdeps/x86_64/sysdep.h: Likewise.
21547 * sysdeps/sh/_mcount.S: Likewise.
21548 * sysdeps/sh/sysdep.h: Likewise.
21549 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21550 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21551 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21552 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21553 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21554 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21555 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21556 * locale/localeinfo.h: Likewise.
21557 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21558 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21559
21560 2012-07-09 Roland McGrath <roland@hack.frob.com>
21561
21562 [BZ #14336]
21563 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21564 system".
21565 * manual/message.texi (The Uniforum approach): Likewise.
21566 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21567 (glibc iconv Implementation): Likewise.
21568
21569 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21570
21571 [BZ #14337]
21572 * math/s_clog.c (__clog): Avoid scaling a value down where that
21573 could result in underflow.
21574 * math/s_clog10.c (__clog10): Likewise.
21575 * math/s_clog10f.c (__clog10f): Likewise.
21576 * math/s_clog10l.c (__clog10l): Likewise.
21577 * math/s_clogf.c (__clogf): Likewise.
21578 * math/s_clogl.c (__clogl): Likewise.
21579 * math/libm-test.inc (clog_test): Add more tests.
21580 (clog10_test): Likewise.
21581 * sysdeps/i386/fpu/libm-test-ulps: Update.
21582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21583
21584 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21585
21586 [BZ #14283]
21587 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21588 by 7 not 8 to examine high bit of fractional part.
21589
21590 [BZ #14042]
21591 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21592 for call to __mcount_internal.
21593 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21594 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21595 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21596
21597 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21598
21599 [BZ #14154]
21600 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21601 approximation for values within 0x1p-13f of an odd multiple of
21602 pi/4.
21603 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21604 exception. Add more tests.
21605 * sysdeps/i386/fpu/libm-test-ulps: Update.
21606
21607 [BZ #6778]
21608 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21609 inputs and return -1 for them. Do not check for +Inf in case not
21610 reachable for +Inf.
21611 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21612 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21613 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21614 and return -1 for them. Do not check for +Inf in case not
21615 reachable for +Inf.
21616 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21617 define.
21618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21619 and return -1 for them. Do not check for +Inf in case not
21620 reachable for +Inf.
21621 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21622 spurious underflow.
21623 * sysdeps/i386/fpu/libm-test-ulps: Update.
21624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21625
21626 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21627
21628 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21629
21630 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21631
21632 [BZ #14157]
21633 [BZ #14331]
21634 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21635 could result in spurious underflow. Scale down values above
21636 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21637 * math/s_csqrtf.c (__csqrtf): Likewise.
21638 * math/s_csqrtl.c (__csqrtl): Likewise.
21639 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21640 spurious underflow.
21641 * sysdeps/i386/fpu/libm-test-ulps: Update.
21642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21643
21644 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21645
21646 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21647 xopen-msg.sed.
21648 * catgets/xopen-msg.awk: New file.
21649 * catgets/xopen-msg.sed: Removed.
21650
21651 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21652 po2text.sed.
21653 * intl/po2test.awk: New file.
21654 * intl/po2test.sed: Removed.
21655
21656 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21657
21658 [BZ #14328]
21659 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21660 or multiply small sinh result by itself.
21661 * math/s_ctanf.c (__ctanf): Likewise.
21662 * math/s_ctanh.c (__ctanh): Likewise.
21663 * math/s_ctanhf.c (__ctanhf): Likewise.
21664 * math/s_ctanhl.c (__ctanhl): Likewise.
21665 * math/s_ctanl.c (__ctanl): Likewise.
21666 * math/libm-test.inc (ctan_test_tonearest): New function.
21667 (ctan_test_towardzero): Likewise.
21668 (ctan_test_downward): Likewise.
21669 (ctan_test_upward): Likewise.
21670 (ctanh_test_tonearest): Likewise.
21671 (ctanh_test_towardzero): Likewise.
21672 (ctanh_test_downward): Likewise.
21673 (ctanh_test_upward): Likewise.
21674 (main): Call these new functions.
21675 * sysdeps/i386/fpu/libm-test-ulps: Update.
21676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677
21678 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21679
21680 * .gitignore: Delete /ports entry.
21681
21682 2012-07-03 Andreas Jaeger <aj@suse.de>
21683
21684 * po/bg.po: Update from translation team.
21685 * po/cs.po: Likewise.
21686 * po/de.po: Likewise.
21687 * po/hr.po: Likewise.
21688 * po/nl.pl: Likewise.
21689 * po/pl.po: Likewise.
21690 * po/vi.po: Likewise.
21691
21692 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21693
21694 * Makeconfig [!+link] (+link-before-libc): New variable.
21695 [!+link] (+link-after-libc): Likewise.
21696 [!+link] (+link-tests): Likewise.
21697 [!+link] (+link): Define in terms of $(+link-before-libc) and
21698 $(+link-after-libc).
21699 [!+link-static] (+link-static-before-libc): New variable.
21700 [!+link-static] (+link-static-after-libc): Likewise.
21701 [!+link-static] (+link-static-tests): Likewise.
21702 [!+link-static] (+link-static): Define in terms of
21703 $(+link-static-before-libc) and $(+link-static-after-libc).
21704 [build-shared] (link-libc-before-gnulib): New variable.
21705 [build-shared] (link-libc-tests): Likewise.
21706 [build-shared] (link-libc): Define in terms of
21707 $(link-libc-before-gnulib).
21708 [!build-shared] (link-libc-tests): New variable.
21709 (link-libc-static-tests): New variable.
21710 [!gnulib] (gnulib-arch): New variable.
21711 [!gnulib] (gnulib-tests): Likewise.
21712 [!gnulib] (static-gnulib-arch): Likewise.
21713 [!gnulib] (static-gnulib-tests): Likewise.
21714 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21715 Define with "=" instead of ":=".
21716 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21717 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21718 * Rules (binaries-all-notests): New variable.
21719 (binaries-all-tests): Likewise.
21720 (binaries-static-notests): Likewise.
21721 (binaries-static-tests): Likewise.
21722 (binaries-all): Define using $(binaries-all-notests) and
21723 $(binaries-all-tests).
21724 (binaries-static): Define using $(binaries-static-notests) and
21725 $(binaries-static-tests).
21726 (binaries-shared-tests): New variable.
21727 (binaries-shared-notests): Likewise.
21728 (binaries-shared): Remove variable.
21729 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21730 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21731 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21732 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21733 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21734 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21735 * elf/Makefile (sln-modules): New variable.
21736 (extra-objs): Add $(sln-modules:=.o).
21737 (ldconfig-modules): Add static-stubs.
21738 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21739 * elf/static-stubs.c: New file.
21740
21741 [BZ #14283]
21742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21743 by 7 not 8 to examine high bit of fractional part. Use volatile
21744 variables when splitting into final array of floats if
21745 __FLT_EVAL_METHOD__ != 0.
21746 * math/libm-test.inc (cos_test): Add another test.
21747 (sin_test): Likewise.
21748 * sysdeps/i386/fpu/libm-test-ulps: Update.
21749
21750 [BZ #14273]
21751 * math/libm-test.inc (cosh_test): Add more tests.
21752
21753 * version.h (RELEASE): Set to "development".
21754 (VERSION): Set to "2.16.90".
21755
21756 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21757
21758 * NEWS: Update copyright. Remove last-updated date.
21759 Mention math library bug fixes and timezone data changes.
21760 * README: Mention GNU/Hurd, x32, and HPPA support status.
21761
21762 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21763
21764 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21765
21766 2012-06-27 Andreas Jaeger <aj@suse.de>
21767
21768 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21769
21770 2012-06-25 Andreas Jaeger <aj@suse.de>
21771
21772 * sysdeps/s390/fpu/libm-test-ulps: Update.
21773
21774 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21775 Thomas Schwinge <thomas@codesourcery.com>
21776
21777 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21778 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21780 fanotify_mark.
21781
21782 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21783
21784 * sysdeps/mach/start.c: Remove file.
21785 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21786 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21787 * sysdeps/sh/init-first.c: Likewise.
21788
21789 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21790 registers for frame unwinding purposes, add CFI directives.
21791 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21792 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21793 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21794 Likewise.
21795
21796 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21797 __fortify_fail returning.
21798 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21799
21800 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21801 sysdeps/sh/____longjmp_chk.S.
21802 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21803 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21804 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21805 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21806
21807 * sysdeps/sh/abort-instr.h: New file.
21808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21809 process in case exit returns.
21810
21811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21812 initialize the GOT register before use.
21813
21814 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21815 calculation of ARGC > 4.
21816
21817 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21818 meaningful names to some local labels.
21819
21820 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21821 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21822
21823 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21824 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21825 (__arch_compare_and_exchange_val_16_acq): Likewise.
21826 (__arch_compare_and_exchange_val_32_acq): Likewise.
21827 (atomic_exchange_and_add): Fix gUSA sequence.
21828 (atomic_add): Likewise.
21829 (atomic_add_negative): Likewise.
21830 (atomic_add_zero): Likewise.
21831 (atomic_bit_test_set): Likewise.
21832
21833 2012-06-22 Andreas Schwab <schwab@redhat.com>
21834
21835 [BZ #13579]
21836 * include/link.h (struct link_map): Add l_free_initfini.
21837 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21838 l_initfini.
21839 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21840 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21841 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21842 set.
21843
21844 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21845
21846 * configure.in: Use AC_LANG_SOURCE.
21847 * configure: Regenerate.
21848
21849 2012-06-22 Roland McGrath <roland@hack.frob.com>
21850
21851 * configure.in (libc_cv_localstatedir): New substituted variable.
21852 * configure: Regenerated.
21853 * config.make.in (localstatedir): New variable, substituted from
21854 libc_cv_localstatedir.
21855 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21856 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21857 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21858 * sysdeps/gnu/configure: Regenerated.
21859
21860 2012-06-21 Jeff Law <law@redhat.com>
21861
21862 [BZ #14277]
21863 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21864 free. Simplify list management for _LIBC case.
21865
21866 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21867
21868 [BZ #14273]
21869 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21870 Clear sign bit of 64-bit integer value before comparing against
21871 overflow value.
21872
21873 * sysdeps/mach/configure: Regenerated.
21874
21875 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21876
21877 [BZ #14278]
21878 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21879
21880 2012-06-21 Jeff Law <law@redhat.com>
21881
21882 [BZ #13882]
21883 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21884 uint16_t for elements in the "seen" array to avoid char overflows.
21885 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21886 * elf/dl-open.c (dl_open_worker): Likewise.
21887
21888 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21889
21890 * scripts/list-sources.sh: Scan PORTS for translations.
21891 * po/libc.pot: Regenerated.
21892
21893 2012-06-21 Andreas Jaeger <aj@suse.de>
21894
21895 [BZ #12194]
21896 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21897 warning.
21898 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21899 * bits/byteswap-16.h (__bswap_16): Likewise.
21900 * bits/byteswap.h (__bswap_constant_16): Likewise.
21901
21902 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 [BZ #14117]
21905 * sysdeps/i386/fpu_control.h: Removed.
21906 * sysdeps/x86_64/fpu_control.h: Moved to ...
21907 * sysdeps/x86/fpu_control.h: Here.
21908
21909 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21910 (_FPU_SETCW): Likewise.
21911
21912 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21913
21914 [BZ #14117]
21915 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21916 * sysdeps/x86/fpu/bits/mathinline.h: This.
21917 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21918
21919 [BZ #14050]
21920 [BZ #14117]
21921 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21922 functions if __x86_64__ is defined.
21923
21924 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21925
21926 * string/endian.h: Add !__ASSEMBLER__ condition for including
21927 conversion interfaces.
21928
21929 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21930
21931 [BZ #14241]
21932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21933 of ABS(x) in calculating zero to negative powers other than odd
21934 integers.
21935 * math/libm-test.inc (pow_test): Add more tests.
21936
21937 2012-06-15 Andreas Jaeger <aj@suse.de>
21938
21939 * manual/contrib.texi (Contributors): Update entry of Liubov
21940 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21941 Machado Filho.
21942
21943 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21944
21945 * string/string.h: Add __wur to GNU version of strerror_r.
21946
21947 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 [BZ #14229]
21950 * string/Makefile (tests): Add tst-strtok_r.
21951 * string/tst-strtok_r.c: New file.
21952 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21953 RAX_LP/RDX_LP on SAVE_PTR.
21954
21955 2012-06-14 Roland McGrath <roland@hack.frob.com>
21956
21957 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21958
21959 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21960
21961 * libm_test.inc (csqrt_test): Allow more spurious underflow
21962 exceptions.
21963 (j0_test): Likewise.
21964 (j1_test): Likewise.
21965 (y0_test): Likewise.
21966 (y1_test): Likewise.
21967
21968 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21969
21970 * po/Makefile (libc.pot): Use UTF-8 charset.
21971
21972 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21973
21974 [BZ #14210]
21975 Suppress sign-conversion warning from FD_SET.
21976 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21977 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21978 not unsigned long int.
21979 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21980
21981 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 [BZ #14050]
21984 [BZ #14117]
21985 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21986 __extern_always_inline instead of __extern_inline.
21987 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21988 (__signbit): Likewise.
21989 (__signbitl): Support C++ namespace.
21990 (lrintf): New inline function.
21991 (lrint): Likewise.
21992 (llrintf): Likewise.
21993 (llrint): Likewise.
21994 (fmaxf): Likewise.
21995 (fmax): Likewise.
21996 (fminf): Likewise.
21997 (fmin): Likewise.
21998 (rint): Likewise.
21999 (rintf): Likewise.
22000 (ceil): Likewise.
22001 (ceilf): Likewise.
22002 (floor): Likewise.
22003 (floorf): Likewise.
22004 (nearbyint): Likewise.
22005 (nearbyintf): Likewise.
22006
22007 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22008
22009 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22010 non-default versions.
22011
22012 2012-06-11 Roland McGrath <roland@hack.frob.com>
22013
22014 [BZ #14218]
22015 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22016
22017 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22018
22019 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22020 (FE_UPWARD, FE_DOWNWARD): Don't define.
22021 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22023
22024 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22025 reading it.
22026 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22027 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22028
22029 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22030
22031 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22033 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22034 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22035
22036 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 [BZ #14117]
22039 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22040 * sysdeps/i386/fpu/Implies: New file.
22041 * sysdeps/x86_64/fpu/Implies: Likewise.
22042 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22043 * sysdeps/x86/fpu/bits/fenv.h: This.
22044
22045 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22046 __SSE_MATH__.
22047
22048 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22049
22050 [BZ #14134]
22051 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22052 character 0xffff that matches the last element of the
22053 conversion table.
22054
22055 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22056
22057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22058 fmodl commit.
22059
22060 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22061
22062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22063 values higher than 25.6283.
22064
22065 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22066
22067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22068 subnormal exponent extraction and add some __builtin_expect.
22069 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22070 Fix for subnormal mantissa calculation.
22071
22072 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22073
22074 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22075 cpu2 is -1 and errno is not ENOSYS.
22076
22077 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 [BZ #14117]
22080 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22081 * sysdeps/x86/bits/string.h: This.
22082 * sysdeps/x86_64/bits/string.h: Removed.
22083
22084 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22085 if not compiling for x86-64, but compiling for >= i486.
22086
22087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22088 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22089
22090 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22091 New macro from Linux kernel 3.4.0.
22092 (FP_XSTATE_MAGIC2): Likewise.
22093 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22094 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22095 (struct _fpx_sw_bytes): New struct.
22096 (struct _xsave_hdr): Likewise.
22097 (struct _ymmh_state): Likewise.
22098 (struct _xstate): Likewise.
22099
22100 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22101 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22103 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22104 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22105 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22106
22107 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22108 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22109 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22110 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22111 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22112 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22113
22114 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22115
22116 [BZ #13743]
22117 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22118 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22119 (sysdep_headers): Include sys/platform/ppc.h.
22120 * sysdeps/powerpc/test-gettimebase.c: Test for
22121 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22122 * manual/Makefile (appendices): Include platform.texi.
22123 * manual/contrib.texi (Contributors): Update @node pointers.
22124 * manual/maint.texi (Maintenance): Likewise.
22125 (Platform): New node.
22126 * manual/platform.texi: New file. Document the new features.
22127
22128 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22129 Jakub Jelinek <jakub@redhat.com>
22130
22131 [BZ #14188]
22132 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22133 where __builtin_expect is unavailable.
22134
22135 2012-06-03 David S. Miller <davem@davemloft.net>
22136
22137 * stdlib/longlong.h: Updated from GCC.
22138
22139 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22140
22141 [BZ #14042]
22142 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22143 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22144 __mcount_internal.
22145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22146 (GLIBC_2.16): Likewise.
22147
22148 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22151
22152 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22153
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22155 (default-abi): New variable.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22157 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22158 variable.
22159 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22160 Likewise.
22161 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22162 Likewise.
22163 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22164 Likewise.
22165
22166 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22167 definition. Document in comment.
22168
22169 2012-06-01 David S. Miller <davem@davemloft.net>
22170
22171 * stdlib/longlong.h: Updated from GCC.
22172
22173 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22174
22175 [BZ #14117]
22176 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22177 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22178 sys/debugreg.h sys/io.h here.
22179 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22180 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22181 sys/io.h.
22182 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22183 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22184 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22185 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22186 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22187 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22188
22189 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22190 Define only if __x86_64__ is defined.
22191
22192 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22193
22194 [BZ #14048]
22195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22196 Use int64_t for variable i.
22197 * math/libm-test.inc (fmod_test): Add more tests.
22198
22199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22200 z computation is not scheduled after fetestexcept.
22201 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22202 Use math_force_eval instead of asm to ensure calculation scheduled
22203 before exception test.
22204 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22205 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22206
22207 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22208
22209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22210 computation is not scheduled after fetestexcept.
22211
22212 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22213
22214 [BZ #14117]
22215 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22216 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22217
22218 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22219
22220 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22221 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22222
22223 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22224
22225 [BZ #14117]
22226 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22227 <bits/wordsize.h>.
22228 (__WCHAR_MIN): Support __WORDSIZE == 64.
22229 (__WCHAR_MAX): Likewise.
22230
22231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22232 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22233
22234 [BZ #14183]
22235 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22236 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22237
22238 [BZ #14117]
22239 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22240 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22241
22242 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22243 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22244
22245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22246 Defined to 1 if __x86_64__ isn't defined.
22247 (_STAT_VER_LINUX_OLD): New.
22248 (st_atime): Remove duplicate.
22249 (st_mtime): Likewise.
22250 (st_ctime): Likewise.
22251
22252 2012-05-31 David S. Miller <davem@davemloft.net>
22253
22254 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22255 entries.
22256
22257 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22258
22259 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22260 gen-libm-test.pl.
22261
22262 [BZ #14132]
22263 * elf/dl-reloc.c: Include <_itoa.h>.
22264 (_dl_reloc_bad_type): Remove use of INTUSE.
22265 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22266 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22267 * stdio-common/psiginfo.c (psiginfo): Likewise.
22268 * stdio-common/psignal.c (psignal): Likewise.
22269 * string/strsignal.c (strsignal): Likewise.
22270 * include/signal.h (_sys_siglist): Declare hidden proto.
22271 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22272 INTVARDEF with libc_hidden_data_def.
22273 * stdio-common/itoa-udigits.c: Likewise.
22274 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22275 (_itoa_lower_digits_internal): Remove declaration.
22276 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22277 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22278 (_sys_sigabbrev_internal): Remove aliases.
22279 (_sys_siglist): Define hidden alias.
22280
22281 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22282
22283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22284 bits/sysctl.h.
22285
22286 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22287
22288 [BZ #14117]
22289 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22290 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22291
22292 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22293 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22294 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22295 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22297 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22298
22299 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22300 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22301 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22302
22303 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22304 with __addr.
22305 (insw): Likewise.
22306 (insl): Likewise.
22307 (outsb): Likewise.
22308 (outsw): Likewise.
22309 (outsl): Likewise.
22310
22311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22312 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22313 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22314
22315 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22316 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22318 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22319 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22320 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22321
22322 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22323 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22324
22325 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22326 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22327
22328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22330 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22331
22332 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22333 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22334 to ...
22335 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22336
22337 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22338 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22339 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22340
22341 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22342 for x86-64.
22343 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22344
22345 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22346
22347 * math/math.h (M_El): Use two more decimal places.
22348 (M_LOG2El): Likewise.
22349 (M_LOG10El): Likewise.
22350 (M_LN2l): Likewise.
22351 (M_LN10l): Likewise.
22352 (M_PIl): Likewise.
22353 (M_PI_2l): Likewise.
22354 (M_PI_4l): Likewise.
22355 (M_1_PIl): Likewise.
22356 (M_2_PIl): Likewise.
22357 (M_2_SQRTPIl): Likewise.
22358 (M_SQRT2l): Likewise.
22359 (M_SQRT1_2l): Likewise.
22360
22361 2012-05-31 David S. Miller <davem@davemloft.net>
22362
22363 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22364 values between float registers.
22365 * sysdeps/sparc/sparc64/memset.S: Likewise.
22366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22367
22368 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22369
22370 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22371 -D_FORTIFY_SOURCE=1.
22372 (CPPFLAGS-tst-longjmp_chk.c): Define.
22373 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22374 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22375 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22376 CFLAGS-tst-wchar-h.c.
22377
22378 2012-05-31 Marek Polacek <polacek@redhat.com>
22379
22380 [BZ #14132]
22381 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22382 __endmntent_internal): Remove declaration.
22383 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22384 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22385 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22386
22387 2012-05-30 David S. Miller <davem@davemloft.net>
22388
22389 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22390 (___Q_simulate_exceptions): Use real FP ops rather than writing
22391 into the %fsr.
22392 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22393 Likewise.
22394
22395 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22396
22397 [BZ #14117]
22398 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22399 * sysdeps/x86/bits/xtitypes.h: This.
22400
22401 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22402 * sysdeps/x86/bits/wordsize.h: This.
22403
22404 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22405 * sysdeps/x86/bits/huge_vall.h: This.
22406
22407 * sysdeps/i386/bits/select.h: Removed.
22408 * sysdeps/x86_64/bits/select.h: Renamed to ...
22409 * sysdeps/x86/bits/select.h: This.
22410
22411 * sysdeps/i386/bits/setjmp.h: Removed.
22412 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22413 * sysdeps/x86/bits/setjmp.h: This.
22414
22415 * sysdeps/i386/bits/mathdef.h: Removed.
22416 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22417 * sysdeps/x86/bits/mathdef.h: This.
22418
22419 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22420
22421 [BZ #14132]
22422 * include/sys/socket.h (__connect_internal)
22423 (__libc_sa_len_internal): Remove declaration.
22424 (__connect, __libc_sa_len): Declare hidden_proto.
22425 (SA_LEN): Remove use of INTUSE.
22426 * socket/connect.c: Add libc_hidden_def.
22427 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22428 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22429 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22430 alias.
22431 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22432 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22433 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22434 of adding _internal alias.
22435
22436 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22437
22438 [BZ #14117]
22439 * sysdeps/i386/bits/link.h: Removed.
22440 * sysdeps/i386/bits/linkmap.h: Likewise.
22441 * sysdeps/x86_64/bits/link.h: Renamed to ...
22442 * sysdeps/x86/bits/link.h: This.
22443 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22444 * sysdeps/x86/bits/linkmap.h: This.
22445
22446 * sysdeps/i386/bits/endian.h: Removed.
22447 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22448 * sysdeps/x86/bits/endian.h: This.
22449
22450 * sysdeps/i386/bits/byteswap.h: Removed.
22451 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22452 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22453 * sysdeps/x86/bits/byteswap.h: This.
22454 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22455 * sysdeps/x86/bits/byteswap-16.h: This.
22456 * sysdeps/i386/Implies: Add x86.
22457 * sysdeps/x86_64/Implies: Likewise.
22458
22459 2012-05-30 David S. Miller <davem@davemloft.net>
22460
22461 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22462 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22463 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22464 (FP_TRAPPING_EXCEPTIONS): Define.
22465 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22466 (FP_TRAPPING_EXCEPTIONS): Define.
22467 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22468 subnormals only when inexact has been signalled or underflow
22469 exceptions are enabled.
22470 (_FP_PACK_CANONICAL): Likewise.
22471
22472 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22473
22474 [BZ #14183]
22475 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22476 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22477
22478 2012-05-30 Richard Henderson <rth@twiddle.net>
22479
22480 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22481 with #ifndef NOT_IN_libc.
22482
22483 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22484 marked to avoid plt entry.
22485
22486 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22487
22488 [BZ #14112]
22489 * Makeconfig (default-abi): New macro.
22490 (abi-includes): Likewise.
22491 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22492 $(abi-$(default-abi)-lib-soname) for soname if defined.
22493 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22494 abi-variants.
22495 * Makefile (installed-stubs): Likewise.
22496 * include/stubs-biarch.h: Removed.
22497 * scripts/lib-names.awk: Only handle one library at a time.
22498 * scripts/soversions.awk: Remove WORDSIZE support.
22499 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22500 entries.
22501 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22502 Removed.
22503 (syscall-list-default-condition): Likewise.
22504 (syscall-list-default-condition): Likewise.
22505 (syscall-list-includes): Likewise.
22506 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22507 syscall-list-* with abi-*. Handle undefined abi-variants.
22508 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22509 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22510 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22511 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22512 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22513 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22514 Removed.
22515 (syscall-list-32-options): Likewise.
22516 (syscall-list-32-condition): Likewise.
22517 (syscall-list-64-options): Likewise.
22518 (syscall-list-64-condition): Likewise.
22519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22520 macro.
22521 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22522 Renamed to ...
22523 (abi-*): This.
22524 (abi-64-ld-soname): New macro.
22525 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22526 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22527 Renamed to ...
22528 (abi-*): This.
22529 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22530 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22531
22532 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22533
22534 * sysdeps/unix/sysv/linux/kernel-features.h
22535 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22536 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22537 include <kernel-features.h>.
22538 [!__NR_ftruncate64]: Remove conditional code.
22539 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22540 [__NR_ftruncate64]: Make code unconditional.
22541 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22542 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22543 include <kernel-features.h>.
22544 [!__NR_ftruncate64]: Remove conditional code.
22545 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22546 [__NR_ftruncate64]: Make code unconditional.
22547 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22549 include <kernel-features.h>.
22550 [!__NR_ftruncate64]: Remove conditional code.
22551 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22552 [__NR_ftruncate64]: Make code unconditional.
22553 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22555 include <kernel-features.h>.
22556 [!__NR_ftruncate64]: Remove conditional code.
22557 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22558 [__NR_ftruncate64]: Make code unconditional.
22559 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22560
22561 * configure.in (libc_cv_fpie): Weaken to a compile test using
22562 LIBC_TRY_CC_OPTION.
22563 * configure: Regenerated.
22564
22565 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22566
22567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22571 Refreshed.
22572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22578 Refreshed.
22579
22580 2012-05-27 David S. Miller <davem@davemloft.net>
22581
22582 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22583 (___Q_zero): New.
22584 (__Q_simulate_exceptions): Return void. Change to simulate
22585 exceptions by writing into the %fsr.
22586 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22587 (__Qp_handle_exceptions): Likewise.
22588 (numbers): Delete.
22589 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22590 __Qp_handle_exceptions.
22591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22592 __Qp_handle_exceptions.
22593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22594 as unused and give dummy FP_RND_NEAREST initializer.
22595 (FP_INHIBIT_RESULTS): Define.
22596 (___Q_simulate_exceptions): Update declaration.
22597 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22598 formatting.
22599 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22600 as unused and give dummy FP_RND_NEAREST initializer.
22601 (__Qp_handle_exceptions): Update declaration.
22602 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22603 formatting.
22604
22605 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22606
22607 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22608 the temporary FPU control word.
22609 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22610 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22611 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22612 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22613 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22614 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22615 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22616 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22617 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22618 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22619 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22620
22621 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22622
22623 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22624 fields.
22625
22626 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22627
22628 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22629 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22630 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22631 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22632 Likewise.
22633 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22634 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22635 Likewise.
22636
22637 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22638
22639 * po/h.po: Update from translation team.
22640
22641 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22642
22643 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22644
22645 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22646 handling of denormals.
22647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22648 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22650 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22654 Likewise.
22655
22656 2012-05-26 Marek Polacek <polacek@redhat.com>
22657
22658 [BZ #14152]
22659 * math/libm-test.inc (fma_test): Don't always expect underflow
22660 exception.
22661
22662 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22663
22664 [BZ #12416]
22665 * elf/tst-execstack.c: Include stackinfo.h.
22666 (do_test): Adjust test case to ensure that pthread_getattr_np
22667 behaviour remains the same after marking stack executable.
22668
22669 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22670
22671 * sysdeps/unix/sysv/linux/kernel-features.h
22672 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22673 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22674 kernel-features.h.
22675 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22676 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22677 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22678 kernel-features.h.
22679 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22680 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22681
22682 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22683
22684 * configure.in: Define the default includes to being none.
22685 * configure: Regenerated.
22686
22687 2012-05-25 Roland McGrath <roland@hack.frob.com>
22688
22689 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22690 * sysdeps/x86_64/setjmp.S: Likewise.
22691 * sysdeps/i386/bsd-setjmp.S: Likewise.
22692 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22693 * sysdeps/i386/setjmp.S: Likewise.
22694 * sysdeps/i386/__longjmp.S: Likewise.
22695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22696 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22697
22698 * include/stap-probe.h: New file.
22699 * configure.in: Handle --enable-systemtap.
22700 * configure: Regenerated.
22701 * config.h.in (USE_STAP_PROBE): New #undef.
22702 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22703 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22704 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22705
22706 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22707
22708 [BZ #13717]
22709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22710 to 2.4.0 where earlier.
22711 * sysdeps/unix/sysv/linux/configure: Regenerated.
22712 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22713 <kernel-features.h>.
22714 [__ASSUME_32BITUIDS]: Make code unconditional.
22715 [!__ASSUME_32BITUIDS]: Remove conditional code.
22716 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22717 <kernel-features.h>.
22718 [__ASSUME_32BITUIDS]: Make code unconditional.
22719 [!__ASSUME_32BITUIDS]: Remove conditional code.
22720 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22721 [__ASSUME_32BITUIDS]: Make code unconditional.
22722 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22723 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22724 <kernel-features.h>.
22725 [__ASSUME_32BITUIDS]: Make code unconditional.
22726 [!__ASSUME_32BITUIDS]: Remove conditional code.
22727 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22728 <kernel-features.h>.
22729 [__ASSUME_32BITUIDS]: Make code unconditional.
22730 [!__ASSUME_32BITUIDS]: Remove conditional code.
22731 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22732 <kernel-features.h>.
22733 [__ASSUME_32BITUIDS]: Make code unconditional.
22734 [!__ASSUME_32BITUIDS]: Remove conditional code.
22735 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22736 <kernel-features.h>.
22737 [__ASSUME_32BITUIDS]: Make code unconditional.
22738 [!__ASSUME_32BITUIDS]: Remove conditional code.
22739 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22740 <kernel-features.h>.
22741 [__ASSUME_32BITUIDS]: Make code unconditional.
22742 [!__ASSUME_32BITUIDS]: Remove conditional code.
22743 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22744 <kernel-features.h>.
22745 [__ASSUME_32BITUIDS]: Make code unconditional.
22746 [!__ASSUME_32BITUIDS]: Remove conditional code.
22747 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22748 <kernel-features.h>.
22749 [__ASSUME_32BITUIDS]: Make code unconditional.
22750 [!__ASSUME_32BITUIDS]: Remove conditional code.
22751 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22752 <kernel-features.h>.
22753 [__ASSUME_32BITUIDS]: Make code unconditional.
22754 [!__ASSUME_32BITUIDS]: Remove conditional code.
22755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22756 <kernel-features.h>.
22757 [__ASSUME_32BITUIDS]: Make code unconditional.
22758 [!__ASSUME_32BITUIDS]: Remove conditional code.
22759 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22760 <kernel-features.h>.
22761 [__ASSUME_32BITUIDS]: Make code unconditional.
22762 [!__ASSUME_32BITUIDS]: Remove conditional code.
22763 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22764 <kernel-features.h>.
22765 [__NR_setresgid] (__setresgid): Do not declare.
22766 [__ASSUME_32BITUIDS]: Make code unconditional.
22767 [!__ASSUME_32BITUIDS]: Remove conditional code.
22768 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22769 <kernel-features.h>.
22770 [__NR_setresuid] (__setresuid): Do not declare.
22771 [__ASSUME_32BITUIDS]: Make code unconditional.
22772 [!__ASSUME_32BITUIDS]: Remove conditional code.
22773 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22774 <kernel-features.h>.
22775 [__ASSUME_32BITUIDS]: Make code unconditional.
22776 [!__ASSUME_32BITUIDS]: Remove conditional code.
22777 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22778 <kernel-features.h>.
22779 [__ASSUME_32BITUIDS]: Make code unconditional.
22780 [!__ASSUME_32BITUIDS]: Remove conditional code.
22781 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22782 <kernel-features.h>.
22783 [__ASSUME_32BITUIDS]: Make code unconditional.
22784 [!__ASSUME_32BITUIDS]: Remove conditional code.
22785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22786 <kernel-features.h>.
22787 [__ASSUME_32BITUIDS]: Make code unconditional.
22788 [!__ASSUME_32BITUIDS]: Remove conditional code.
22789 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22790 <kernel-features.h>.
22791 [__ASSUME_32BITUIDS]: Make code unconditional.
22792 [!__ASSUME_32BITUIDS]: Remove conditional code.
22793 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22794 <kernel-features.h>.
22795 [__ASSUME_32BITUIDS]: Make code unconditional.
22796 [!__ASSUME_32BITUIDS]: Remove conditional code.
22797 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22798 <kernel-features.h>.
22799 [__ASSUME_32BITUIDS]: Make code unconditional.
22800 [!__ASSUME_32BITUIDS]: Remove conditional code.
22801 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22802 <kernel-features.h>.
22803 [__ASSUME_32BITUIDS]: Make code unconditional.
22804 [!__ASSUME_32BITUIDS]: Remove conditional code.
22805 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22806 <kernel-features.h>.
22807 [__ASSUME_32BITUIDS]: Make code unconditional.
22808 [!__ASSUME_32BITUIDS]: Remove conditional code.
22809 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22810 <kernel-features.h>.
22811 [__ASSUME_32BITUIDS]: Make code unconditional.
22812 [!__ASSUME_32BITUIDS]: Remove conditional code.
22813 * sysdeps/unix/sysv/linux/kernel-features.h
22814 (__ASSUME_SETRESUID_SYSCALL): Remove.
22815 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22816 (__ASSUME_32BITUIDS): Likewise.
22817 (__ASSUME_LDT_WORKS): Likewise.
22818 (__ASSUME_O_DIRECTORY): Likewise.
22819 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22820 architecture but not kernel version.
22821 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22822 (__ASSUME_MMAP2_SYSCALL): Likewise.
22823 (__ASSUME_STAT64_SYSCALL): Likewise.
22824 (__ASSUME_IPC64): Likewise.
22825 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22826 <kernel-features.h>.
22827 [__ASSUME_32BITUIDS]: Make code unconditional.
22828 [!__ASSUME_32BITUIDS]: Remove conditional code.
22829 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22830 <kernel-features.h>.
22831 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22832 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22833 132096]: Remove conditional code.
22834 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22835 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22836 <kernel-features.h>.
22837 [__ASSUME_32BITUIDS]: Make code unconditional.
22838 [!__ASSUME_32BITUIDS]: Remove conditional code.
22839 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22840 <kernel-features.h>.
22841 [__ASSUME_32BITUIDS]: Make code unconditional.
22842 [!__ASSUME_32BITUIDS]: Remove conditional code.
22843 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22844 <kernel-features.h>.
22845 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22846 unconditional.
22847 (__setresgid): Do not declare.
22848 [__ASSUME_32BITUIDS]: Make code unconditional.
22849 [!__ASSUME_32BITUIDS]: Remove conditional code.
22850 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22851 <kernel-features.h>.
22852 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22853 unconditional.
22854 (__setresuid): Do not declare.
22855 [__ASSUME_32BITUIDS]: Make code unconditional.
22856 [!__ASSUME_32BITUIDS]: Remove conditional code.
22857 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22858 <kernel-features.h>.
22859 [__ASSUME_32BITUIDS]: Make code unconditional.
22860 [!__ASSUME_32BITUIDS]: Remove conditional code.
22861 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22862 <kernel-features.h>.
22863 [__ASSUME_32BITUIDS]: Make code unconditional.
22864 [!__ASSUME_32BITUIDS]: Remove conditional code.
22865
22866 2012-05-25 Richard Henderson <rth@twiddle.net>
22867
22868 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22869 dl_hwcap to ifunc resolver.
22870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22871 elf_ifunc_invoke.
22872 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22873 dl_hwcap to ifunc resolver.
22874 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22875
22876 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22877
22878 [BZ #14153]
22879 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22880 for |x| <= 2**-26, not 2**-57.
22881 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22882 exception.
22883
22884 2012-05-24 Jeff Law <law@redhat.com>
22885
22886 * stdio-common/Makefile (tests): Add bug25.
22887 * stdio-common/bug25.c: New test.
22888
22889 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 [BZ #13576]
22892 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22893 multiple of MALLOC_ALIGNMENT in size.
22894 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22895
22896 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22897
22898 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22899 Require >= 256.
22900 (FILENAME_MAX): Use macro-int-constant.
22901 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22902 (_IOFBF): Use macro-int-constant.
22903 (_IOLBF): Likewise.
22904 (_IONBF): Likewise.
22905 (SEEK_CUR): Likewise.
22906 (SEEK_END): Likewise.
22907 (SEEK_SET): Likewise.
22908 (TMP_MAX): Likewise.
22909 (EOF): Use macro-int-constant. Require < 0.
22910 (NULL): Use macro-constant. Require == 0.
22911 (stdin): Require type to be FILE *.
22912 (stdout): Likewise.
22913 (stderr): Likewise.
22914 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22915 macro-int-constant.
22916 (EXIT_SUCCESS): Likewise.
22917 (NULL): Use macro-constant. Require == 0.
22918 (RAND_MAX): Use macro-int-constant.
22919 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22920 [C99-based standards] (strtof): Require function.
22921 [C99-based standards] (strtold): Likewise.
22922 [C99-based standards] (strtoll): Likewise.
22923 [C99-based standards] (strtoull): Likewise.
22924 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22925 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22926 [ISO || ISO99 || ISO11] (math.h): Likewise.
22927 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22928 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22930
22931 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22932
22933 [BZ #14132]
22934 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22935 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22936 * intl/dgettext.c (DCGETTEXT): Likewise.
22937 * intl/gettext.c (DCGETTEXT): Likewise.
22938 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22939 * posix/regex_internal.h (gettext): Likewise.
22940 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22941 Remove declaration.
22942 * include/argz.h (__argz_count_internal)
22943 (__argz_stringify_internal): Remove declaration.
22944 (__argz_count, __argz_stringify): Declare hidden proto.
22945 * intl/dcgettext.c: Remove use of INTDEF.
22946 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22947 * string/argz-stringify.c: Likewise.
22948 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22949 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22950 Declare hidden proto.
22951 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22952 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22953 Declare hidden proto.
22954 * include/stdio.h (__asprintf_internal): Don't declare.
22955 (__asprintf): Don't define as macro. Declare hidden proto.
22956 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22957 (__fsetlocking): Declare hidden proto.
22958 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22959 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22960 hidden proto.
22961 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22962 (_IO_setlinebuf): Remove use of INTUSE.
22963 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22964 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22965 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22966 Remove declaration.
22967 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22968 (_IO_do_flush): Remove use of INTUSE.
22969 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22970 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22971 (_IO_adjust_column, _IO_least_wmarker)
22972 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22973 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22974 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22975 (_IO_default_doallocate, _IO_wdefault_doallocate)
22976 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22977 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22978 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22979 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22980 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22981 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22982 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22983 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22984 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22985 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22986 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22987 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22988 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22989 proto.
22990 (_IO_flush_all_internal, _IO_adjust_column_internal)
22991 (_IO_default_uflow_internal, _IO_default_finish_internal)
22992 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22993 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22994 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22995 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22996 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22997 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22998 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22999 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23000 (_IO_file_close_internal, _IO_file_close_it_internal)
23001 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23002 (_IO_file_init_internal, _IO_file_attach_internal)
23003 (_IO_file_fopen_internal, _IO_file_read_internal)
23004 (_IO_file_sync_internal, _IO_file_seek_internal)
23005 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23006 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23007 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23008 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23009 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23010 (_IO_list_all_internal, _IO_link_in_internal)
23011 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23012 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23013 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23014 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23015 (_IO_do_write_internal, _IO_padn_internal)
23016 (_IO_getline_info_internal, _IO_getline_internal)
23017 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23018 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23019 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23020 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23021 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23022 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23023 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23024 with libc_hidden_ver, remove use of INTUSE.
23025 * libio/genops.c: Likewise.
23026 * libio/freopen.c: Likewise.
23027 * libio/freopen64.c: Likewise.
23028 * libio/iofclose.c: Likewise.
23029 * libio/iofdopen.c: Likewise.
23030 * libio/iofflush.c: Likewise.
23031 * libio/iofflush_u.c: Likewise.
23032 * libio/iofgets.c: Likewise.
23033 * libio/iofgets_u.c: Likewise.
23034 * libio/iofopen.c: Likewise.
23035 * libio/iofopncook.c: Likewise.
23036 * libio/iofread.c: Likewise.
23037 * libio/iofread_u.c: Likewise.
23038 * libio/ioftell.c: Likewise.
23039 * libio/iofwrite.c: Likewise.
23040 * libio/iogetline.c: Likewise.
23041 * libio/iogets.c: Likewise.
23042 * libio/iogetwline.c: Likewise.
23043 * libio/iopadn.c: Likewise.
23044 * libio/iopopen.c: Likewise.
23045 * libio/ioseekoff.c: Likewise.
23046 * libio/ioseekpos.c: Likewise.
23047 * libio/iosetbuffer.c: Likewise.
23048 * libio/iosetvbuf.c: Likewise.
23049 * libio/ioungetc.c: Likewise.
23050 * libio/ioungetwc.c: Likewise.
23051 * libio/iovdprintf.c: Likewise.
23052 * libio/iovsprintf.c: Likewise.
23053 * libio/iovsscanf.c: Likewise.
23054 * libio/memstream.c: Likewise.
23055 * libio/obprintf.c: Likewise.
23056 * libio/oldfileops.c: Likewise.
23057 * libio/oldiofclose.c: Likewise.
23058 * libio/oldiofdopen.c: Likewise.
23059 * libio/oldiofopen.c: Likewise.
23060 * libio/oldiopopen.c: Likewise.
23061 * libio/oldstdfiles.c: Likewise.
23062 * libio/putc.c: Likewise.
23063 * libio/setbuf.c: Likewise.
23064 * libio/setlinebuf.c: Likewise.
23065 * libio/stdfiles.c: Likewise.
23066 * libio/strops.c: Likewise.
23067 * libio/vasprintf.c: Likewise.
23068 * libio/vscanf.c: Likewise.
23069 * libio/vsnprintf.c: Likewise.
23070 * libio/vswprintf.c: Likewise.
23071 * libio/wfiledoalloc.c: Likewise.
23072 * libio/wfileops.c: Likewise.
23073 * libio/wgenops.c: Likewise.
23074 * libio/wmemstream.c: Likewise.
23075 * libio/wstrops.c: Likewise.
23076 * libio/__fpurge.c: Likewise.
23077 * libio/__fsetlocking.c: Likewise.
23078 * assert/assert.c: Likewise.
23079 * debug/fgets_chk.c: Likewise.
23080 * debug/fgets_u_chk.c: Likewise.
23081 * debug/fread_chk.c: Likewise.
23082 * debug/fread_u_chk.c: Likewise.
23083 * debug/gets_chk.c: Likewise.
23084 * debug/obprintf_chk.c: Likewise.
23085 * debug/vasprintf_chk.c: Likewise.
23086 * debug/vdprintf_chk.c: Likewise.
23087 * debug/vsnprintf_chk.c: Likewise.
23088 * debug/vsprintf_chk.c: Likewise.
23089 * malloc/mtrace.c: Likewise.
23090 * misc/error.c: Likewise.
23091 * misc/syslog.c: Likewise.
23092 * stdio-common/asprintf.c: Likewise.
23093 * stdio-common/fxprintf.c: Likewise.
23094 * stdio-common/getw.c: Likewise.
23095 * stdio-common/isoc99_fscanf.c: Likewise.
23096 * stdio-common/isoc99_scanf.c: Likewise.
23097 * stdio-common/isoc99_vfscanf.c: Likewise.
23098 * stdio-common/isoc99_vscanf.c: Likewise.
23099 * stdio-common/isoc99_vsscanf.c: Likewise.
23100 * stdio-common/printf-prs.c: Likewise.
23101 * stdio-common/printf_fp.c: Likewise.
23102 * stdio-common/printf_fphex.c: Likewise.
23103 * stdio-common/printf_size.c: Likewise.
23104 * stdio-common/putw.c: Likewise.
23105 * stdio-common/scanf.c: Likewise.
23106 * stdio-common/sprintf.c: Likewise.
23107 * stdio-common/tmpfile.c: Likewise.
23108 * stdio-common/vfprintf.c: Likewise.
23109 * stdio-common/vfscanf.c: Likewise.
23110 * stdlib/strfmon_l.c: Likewise.
23111 * sunrpc/openchild.c: Likewise.
23112 * sunrpc/xdr_stdio.c: Likewise.
23113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23114 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23115
23116 2012-05-24 Roland McGrath <roland@hack.frob.com>
23117
23118 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23119
23120 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23121 in the third column, to generate for the shared library an IFUNC
23122 that uses _dl_vdso_vsym.
23123 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23124 * Makeconfig (object-suffixes-noshared): New variable.
23125
23126 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23127 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23128 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23129 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23130
23131 [BZ #14132]
23132 * include/sys/time.h (__gettimeofday): Remove macro.
23133 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23134 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23135 Remove INTDEF.
23136 (__gettimeofday): Add libc_hidden_def.
23137 (gettimeofday): Add libc_hidden_weak.
23138 * sysdeps/mach/gettimeofday.c: Likewise.
23139 * sysdeps/posix/gettimeofday.c: Likewise.
23140 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23141 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23143 (__gettimeofday_internal): Remove strong_alias.
23144 (__gettimeofday): Add libc_hidden_def.
23145 (gettimeofday): Add libc_hidden_weak.
23146 * sysdeps/unix/syscalls.list (gettimeofday):
23147 Remove __gettimeofday_internal alias.
23148
23149 2012-05-24 Daniel Jacobowitz <drow@false.org>
23150 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 [BZ #12495]
23153 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23154 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23155 (largebin_index_32_big): New.
23156 (largebin_index): Use it for 16-byte alignment.
23157 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23158 correction with front_misalign.
23159
23160 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23161
23162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23164 Likewise.
23165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23166 Likewise.
23167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23168 Likewise.
23169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23170 Likewise.
23171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23172 Likewise.
23173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23174 Likewise.
23175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23176 Likewise.
23177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23178 Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23180 Likewise.
23181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23182 Likewise.
23183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23184 Likewise.
23185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23186 Likewise.
23187
23188 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23189 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23190
23191 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23192
23193 [BZ #10846]
23194 [BZ #14036]
23195 * math/libm-test.inc (exp_test): Add test from bug 14036.
23196 (pow_test): Add test from bug 10846.
23197
23198 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23199 and other flags.
23200 (special_function): Do not include flags in test name.
23201 (parse_args): Likewise.
23202 * sysdeps/i386/fpu/libm-test-ulps: Update.
23203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23204 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23205 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23207
23208 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23209 exceptions.
23210 * math/libm-test.inc ("Philosophy"): Update comment about
23211 exception testing.
23212 (UNDERFLOW_EXCEPTION): New macro.
23213 (UNDERFLOW_EXCEPTION_OK): Likewise.
23214 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23215 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23216 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23217 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23218 (INVALID_EXCEPTION_OK): Update value.
23219 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23220 (OVERFLOW_EXCEPTION_OK): Likewise.
23221 (IGNORE_ZERO_INF_SIGN): Likewise.
23222 (test_exceptions): Handle underflow exceptions.
23223 (acos_test): Update for underflow exception expectations.
23224 (cexp_test): Likewise.
23225 (clog_test): Likewise.
23226 (clog10_test): Likewise.
23227 (csqrt_test): Likewise.
23228 (ctan_test): Likewise.
23229 (ctanh_test): Likewise.
23230 (exp_test): Likewise.
23231 (exp10_test): Likewise.
23232 (exp2_test): Likewise.
23233 (expm1_test): Likewise.
23234 (fma_test): Likewise.
23235 (j0_test): Likewise.
23236 (jn_test): Likewise.
23237 (nexttoward_test): Likewise.
23238 (pow_test): Likewise.
23239 (scalbn_test): Likewise.
23240 (scalbln_test): Likewise.
23241 (tan_test): Likewise.
23242 (y1_test): Likewise.
23243 * sysdeps/i386/fpu/libm-test-ulps: Update.
23244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23245
23246 2012-05-23 David S. Miller <davem@davemloft.net>
23247
23248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23249 (__libc_sigaction): Remove unused local variables.
23250
23251 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23252
23253 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23254
23255 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23256
23257 mktime: avoid signed integer overflow
23258 * time/mktime.c (__mktime_internal): Do not mishandle the case
23259 where diff == INT_MIN.
23260
23261 mktime: simplify computation of average
23262 * time/mktime.c (ranged_convert): Use new time_t_avg function
23263 instead of rolling our own (probably-slower) code.
23264
23265 mktime: do not assume signed right shift propagates sign bit
23266 * time/mktime.c (isdst_differ): New static function.
23267 (__mktime_internal): No need to normalize tm_isdst now.
23268 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23269 tm_isdst values.
23270
23271 mktime: merge another wrapv change from gnulib
23272 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23273 from some compilers.
23274
23275 mktime: remove incorrect attempt at unusual arithmetics
23276 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23277 The code didn't really work on such machines anyway.
23278 (TYPE_MINIMUM): Assume two's complement.
23279 (twos_complement_arithmetic): Verify that long_int and time_t
23280 are two's complement (or unsigned, in the latter case).
23281
23282 mktime: check signed shifts on long_int and time_t, too
23283 * time/mktime.c (SHR): Check that shifts work as desired
23284 on the types long_int and time_t too, as SHR is used on
23285 such types.
23286
23287 mktime: do not assume 'long' is wide enough
23288 * time/mktime.c (verify): Move decl up.
23289 (long_int): New type.
23290 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23291 to remove assumption in the code that 'long' is wide enough to
23292 store year values. This assumption is not true on x32 and on
23293 some non-glibc platforms.
23294
23295 mktime: merge wrapv change from gnulib
23296 * time/mktime.c (WRAPV): New macro.
23297 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23298 (guess_time_tm, __mktime_internal): Do not assume that signed
23299 integer overflow wraps around; modern compilers generate code
23300 where this assumption is no longer valid.
23301
23302 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23305 Replace "jmp L(pseudo_end)" with "ret".
23306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23307 Likewise.
23308
23309 2012-05-23 Andreas Jaeger <aj@suse.de>
23310
23311 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23312 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23313
23314 2012-05-23 Andreas Jaeger <aj@suse.de>
23315 Maximilian Attems <max@stro.at>
23316
23317 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23318 New macros.
23319
23320 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23321
23322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23323 code so that pseudo_end is just ret and the stack pointer is
23324 correct also for static library in error case.
23325
23326 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23327
23328 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23329 move to syscalls.list.
23330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23334
23335 * manual/install.texi (Running make install): Do not mention Linux
23336 kernel version for which pt_chown is not needed.
23337 (Linux): Do not mention problems with nscd with 2.0 kernels.
23338 * INSTALL: Regenerated.
23339
23340 2012-05-23 Andreas Jaeger <aj@suse.de>
23341
23342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23343 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23344 macro.
23345 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23346 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23347 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23348 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23349 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23350 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23352 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23353 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23354 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23355 * sysdeps/unix/sysv/linux/bits/in.h
23356 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23357
23358 2012-05-22 Roland McGrath <roland@hack.frob.com>
23359
23360 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23361 (PREPARE_VERSION): Just use assert instead, it will be elided
23362 under [NDEBUG] anyway.
23363
23364 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * sysdeps/unix/sysv/linux/Makefile: Include
23367 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23368 (sysdep_routines): Remove sysctl.
23369 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23370 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23371 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23372 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23373 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23374
23375 2012-05-22 Andreas Jaeger <aj@suse.de>
23376
23377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23378 that pseudo_end is just ret and the stack pointer is correct also
23379 for static library in error case.
23380
23381 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23382
23383 [BZ #14122]
23384 * nss/nsswitch.c (defconfig_entries): New variable.
23385 (__nss_database_lookup): Don't leak defconfig entries.
23386 (nss_parse_service_list): Don't leak on error paths.
23387 (free_database_entries): New function.
23388 (free_defconfig): New function.
23389 (free_mem): Move common code to free_database_entries.
23390
23391 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23392
23393 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23394 Add arch_prctl.
23395 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23396
23397 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23398 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23400 New macro.
23401 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23402 (INTERNAL_SYSCALL_TYPES): Likewise.
23403 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23404 (LOAD_REGS_TYPES_[1-6]): Likewise.
23405 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23406 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23407
23408 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23409
23410 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23411 copysignl for GLIBC_2_0.
23412 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23413 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23415 logbl for GLIBC_2_0.
23416 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23418
23419 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23420
23421 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23422 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23423
23424 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23425 Use "neg %eax".
23426
23427 * time/mktime.c: Update copyright years.
23428
23429 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23430
23431 mktime: merge comment-quoting-style change from gnulib
23432 * time/mktime.c: Quote 'like this' in comments.
23433 The GNU coding standards suggest that we no longer quote `like this',
23434 as "`" and "'" are typically rendered asymmetrically nowadays.
23435 The typical gnulib style is to quote 'like this' when quoting
23436 code, and "like this" when quoting English.
23437
23438 * time/mktime.c (compile-command): Add "-I.".
23439
23440 mktime: merge mktime-internal.h change from gnulib
23441 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23442
23443 mktime: merge time_r change from gnulib
23444 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23445
23446 mktime: merge DEBUG change from gnulib
23447 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23448 case system <time.h> has a #define.
23449
23450 mktime: merge <sys/types.h> change from gnulib
23451 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23452 since <time.t> is now guaranteed to define time_t.
23453
23454 mktime: merge HAVE_CONFIG_H change from gnulib
23455 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23456
23457 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23458
23459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23460 Use "neg %eax".
23461
23462 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23463 __rlim_t cast.
23464 (struct rusage): Use anonymous union to pad each field to
23465 __syscall_slong_t.
23466
23467 2012-05-21 David S. Miller <davem@davemloft.net>
23468
23469 * Makefules (o-iterator): Remove .s cases.
23470 (compile-command.s): Delete.
23471 (COMPILE.s): Delete.
23472 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23473
23474 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23475
23476 * configure.in (libc_cv_predef_stack_protector): Only consider
23477 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23478 * configure: Regenerated.
23479
23480 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23481
23482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23483 New macro. Use R*LP on int and pointer.
23484 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23485 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23486 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23487 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23488
23489 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23490 [__WORDSIZE_TIME64_COMPAT32] instead of
23491 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23492 (struct utmp): Likewise.
23493 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23494 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23495 Renamed to ...
23496 (__WORDSIZE_TIME64_COMPAT32): This.
23497 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23498 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23499 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23500 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23501 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23502 (__WORDSIZE_TIME64_COMPAT32): New macro.
23503
23504 2012-05-21 Andreas Jaeger <aj@suse.de>
23505
23506 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23507 only if [SHARED]. Add prototype for __wcschr_ia32.
23508
23509 2012-05-21 Roland McGrath <roland@hack.frob.com>
23510
23511 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23512 of %rbp unmolested in the jmp_buf while mangling the low bits.
23513 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23514 unmolested high bits of %rbp while demangling the low bits.
23515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23516
23517 2012-05-21 Andreas Jaeger <aj@suse.de>
23518
23519 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23520 * sunrpc/svc_simple.c: Use it for registerrpc.
23521 * sunrpc/xcrypt.c: Use it for passwd2des.
23522
23523 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23524
23525 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23528 Don't define if [__SYSCALL_WORDSIZE != 32].
23529 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23530 New macro.
23531
23532 2012-05-21 Bruno Haible <bruno@clisp.org>
23533 Andreas Jaeger <aj@suse.de>
23534
23535 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23536 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23537 inptr and inend for must_buffer_ch.
23538 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23539 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23540 * stdio-common/Makefile (tests): Remove bug15.
23541 (bug15-ENV): Remove macro.
23542 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23543 anymore.
23544
23545 2012-05-19 Andreas Jaeger <aj@suse.de>
23546 Roland McGrath <roland@hack.frob.com>
23547
23548 * manual/contrib.texi: Completely rewritten. It contains now an
23549 alphabetical list of contributors and their contributions.
23550
23551 2012-05-21 Richard Henderson <rth@twiddle.net>
23552
23553 * misc/getauxval.c (__getauxval): Use unsigned long int.
23554 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23555 (getauxval): Use unsigned long int.
23556
23557 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23558
23559 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23560
23561 2012-05-21 Roland McGrath <roland@hack.frob.com>
23562
23563 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23564 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23565 __alignof__ (long double).
23566
23567 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23568
23569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23570
23571 2012-05-20 Richard Henderson <rth@twiddle.net>
23572
23573 * misc/getauxval.c: New file.
23574 * misc/sys/auxv.h: New file.
23575 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23576 (routines): Add getauxval.
23577 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23578 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23579 * elf/dl-sysdep.c (_dl_auxv): Remove.
23580 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23581 * elf/dl-support.c (_dl_auxv): New variable.
23582 (_dl_aux_init): Initialize it.
23583 * manual/startup.texi (Auxiliary Vector): New node.
23584 * sysdeps/generic/bits/hwcap.h: New file.
23585 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23586 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23587 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23588 * sysdeps/sparc/sysdep.h: ... here. Include it.
23589 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23590 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23592 Update.
23593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23601
23602 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23603
23604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23605
23606 2012-05-19 David S. Miller <davem@davemloft.net>
23607
23608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23609
23610 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23611
23612 [BZ #14123]
23613 * math/s_ccosh.c: Include <float.h>
23614 (__ccosh): Avoid internal overflow calculating sinh and cosh
23615 values before multiplying by sin and cos values.
23616 * math/s_ccoshf.c: Likewise.
23617 * math/s_ccoshl.c: Likewise.
23618 * math/s_csin.c: Likewise.
23619 * math/s_csinf.c: Likewise.
23620 * math/s_csinl.c: Likewise.
23621 * math/s_csinh.c: Likewise.
23622 * math/s_csinhf.c: Likewise.
23623 * math/s_csinhl.c: Likewise.
23624 * math/libm-test.inc (ccos_test): Add more tests.
23625 (ccosh_test): Likewise.
23626 (csin_test): Likewise.
23627 (csinh_test): Likewise.
23628 * sysdeps/i386/fpu/libm-test-ulps: Update.
23629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23630
23631 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23632
23633 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23634 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23635
23636 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23637
23638 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23639
23640 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23641 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23642 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23643 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23644 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23645 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23646 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23647 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23648 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23649 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23650 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23651 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23652 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23653 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23654 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23655 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23656 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23657 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23658 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23659 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23660 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23661 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23662 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23663 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23664 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23665 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23666 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23667 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23668 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23669 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23670 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23671
23672 2012-05-18 Andreas Jaeger <aj@suse.de>
23673
23674 * csu/.gitignore: Delete.
23675
23676 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23677
23678 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23679 (timex): Use __syscall_slong_t.
23680
23681 2012-05-18 Andreas Jaeger <aj@suse.de>
23682 Carlos O'Donell <carlos_odonell@mentor.com>
23683
23684 * manual/install.texi (Configuring and compiling): Update
23685 description about files modified in the source directory.
23686 * INSTALL: Regenerated.
23687
23688 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23689
23690 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23691 value. Use "or" to set return value to -1.
23692 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23693 negate return value.
23694
23695 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23696
23697 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23698 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23699 failure if the compiler has Graphite support disabled.
23700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23701 Likewise.
23702 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23703 CFLAGS-memmove.c): Likewise.
23704 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23705 Likewise.
23706
23707 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23708
23709 * sysdeps/x86_64/x32/_itoa.h: New file.
23710
23711 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23712 getdents system call only if kernel and user dirents have the
23713 same d_ino and d_off.
23714
23715 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23716 LLONG_MAX != LONG_MAX.
23717 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23718 (_fitoa_word): Likewise.
23719
23720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23721 years.
23722 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23723 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23725
23726 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23727 include <bits/wordsize.h>. Check __x86_64__ instead of
23728 __WORDSIZE.
23729 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23730 if __x86_64__ is defined. Use anonymous union on fpstate.
23731
23732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23733 anonymous union.
23734
23735 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23736
23737 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23738 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23739 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23740 Refer to _rtld_local_ro instead of _rtld_global_ro.
23741 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23742 Likewise.
23743 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23744 Likewise.
23745 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23746 Likewise.
23747 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23748 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23749 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23750
23751 * sysdeps/powerpc/powerpc32/dl-machine.c
23752 (__elf_machine_runtime_setup) [PROF]: Don't reference
23753 _dl_prof_resolve.
23754
23755 2012-05-18 Andreas Jaeger <aj@suse.de>
23756
23757 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23758 function only available for GCCs before 3.4 since GCC 3.4
23759 introduced a builtin.
23760 (lrint): Likewise.
23761 (llrintf): Likewise.
23762 (llrint): Likewise.
23763 (fmaxf): Likewise.
23764 (fmax): Likewise.
23765 (fminf): Likewise.
23766 (fmin): Likewise.
23767 (rint): Likewise.
23768 (rintf): Likewise.
23769 (nearbyint): Likewise.
23770 (nearbyintf): Likewise.
23771 (ceil): Likewise.
23772 (ceilf): Likewise.
23773 (floor): Likewise.
23774 (floorf): Likewise.
23775
23776 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23777
23778 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23779 on both fields and cast pointer to __syscall_ulong_t.
23780
23781 * bits/types.h (__fsword_t): New type.
23782 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23783 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23785 (__FSWORD_T_TYPE): Likewise.
23786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23787 (__FSWORD_T_TYPE): Likewise.
23788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23789 (__FSWORD_T_TYPE): Likewise.
23790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23791 (__FSWORD_T_TYPE): Likewise.
23792 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23793 __SWORD_TYPE with __fsword_t.
23794 (statfs64): Likewise.
23795
23796 2012-05-17 David S. Miller <davem@davemloft.net>
23797
23798 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23799
23800 2012-05-17 Andreas Jaeger <aj@suse.de>
23801
23802 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23803 warning.
23804
23805 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23806
23807 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23808
23809 2012-05-17 Andreas Jaeger <aj@suse.de>
23810
23811 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23812 when it is used.
23813
23814 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23815
23816 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23817
23818 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23819
23820 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23821 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23822
23823 2012-05-17 Andreas Jaeger <aj@suse.de>
23824 Carlos O'Donell <carlos_odonell@mentor.com>
23825
23826 [BZ #14059]
23827 * sysdeps/x86_64/multiarch/init-arch.h
23828 (bit_YMM_Usable): Rename to...
23829 (bit_AVX_Usable): ... this.
23830 (bit_FMA4_Usable): New macro.
23831 (bit_XMM_state): New macro.
23832 (bit_YMM_state): New macro.
23833 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23834 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23835 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23836 (CPUID_OSXSAVE): New macro.
23837 (CPUID_AVX): New macro.
23838 (CPUID_FMA4): New macro.
23839 (index_YMM_Usable): Rename to...
23840 (index_AVX_Usable): ... this.
23841 (HAS_AVX): Use HAS_ARCH_FEATURE.
23842 (HAS_FMA4): Likewise.
23843 (HAS_YMM_USABLE): Remove.
23844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23845 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23846 are present.
23847 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23848 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23849 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23850 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23851 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23852
23853 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23854
23855 * math/libm-test.c: Support platforms without multiple rounding modes.
23856 * math/bug-nextafter.c: Support platforms without FP exceptions.
23857 * math/bug-nexttoward.c: Likewise.
23858 * math/test-fenv.c: Likewise.
23859 * math/test-misc.c: Likewise.
23860 * stdlib/bug-getcontext.c: Likewise.
23861
23862 2012-05-17 Andreas Jaeger <aj@suse.de>
23863
23864 * manual/examples/search.c (critter_cmp): Change signature to
23865 avoid warnings.
23866 * manual/string.texi (Collation Functions): Likewise.
23867
23868 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23869
23870 * bits/types.h: Fold copyright years.
23871 * bits/typesizes.h: Likewise.
23872 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23876 * time/time.h: Likewise.
23877
23878 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23879
23880 [BZ #208]
23881 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23882 in instead of returning them. Return void.
23883 (__libc_mallinfo): Accumulate over all arenas.
23884 (__malloc_stats): Adjust for change in int_mallinfo interface.
23885
23886 2012-05-16 Roland McGrath <roland@hack.frob.com>
23887
23888 [BZ #10375]
23889 * configure.in (NM): Add AC_CHECK_TOOL for it.
23890 (libc_extra_cflags): New substituted variable.
23891 Check for -fstack-protector being used implicitly.
23892 * configure: Regenerated.
23893 * config.make.in (config-extra-cflags): New variable,
23894 gets @libc_extra_cflags@.
23895 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23896
23897 [BZ #10375]
23898 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23899 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23900 * configure: Regenerated.
23901 * config.make.in (CPPUNDEFS): New substituted variable.
23902 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23903 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23904 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23905
23906 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23907
23908 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23909 (mq_attr): Use __syscall_slong_t.
23910
23911 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23912
23913 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23914 Check __x86_64__ instead of __WORDSIZE.
23915 (_STAT_VER_LINUX): Likewise.
23916 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23917 __syscall_ulong_t and __syscall_slong_t.
23918 (stat64): Likewise.
23919
23920 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23921
23922 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23923
23924 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23925
23926 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23927
23928 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23929
23930 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23931 __syscall_ulong_t.
23932
23933 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23934 include <bits/wordsize.h>. Check __x86_64__ instead of
23935 __WORDSIZE.
23936 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23937 defined.
23938 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23939
23940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23941 include <bits/wordsize.h>. Check __x86_64__ instead of
23942 __WORDSIZE.
23943 (user_regs_struct): Use "__extension__ unsigned long long"
23944 instead of "unsigned long" if __x86_64__ is defined.
23945 (user): Likewise. Pad after pointer field if __ILP32__ is
23946 defined.
23947
23948 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23949
23950 * configure.in (makeinfo): Require version 4.5 or later. Allow
23951 versions 5 to 9.
23952 * configure: Regenerated.
23953 * manual/install.texi (texinfo): Increase version requirement to
23954 4.5 or later.
23955 * INSTALL: Regenerated.
23956
23957 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23958
23959 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23960
23961 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23962
23963 * sysdeps/x86_64/x32/ffs.c: New file.
23964
23965 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23966 __syscall_ulong_t.
23967 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23968 defined. Use __syscall_ulong_t.
23969 (shminfo): Use __syscall_ulong_t.
23970 (shm_info): Likewise.
23971
23972 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23973 __syscall_ulong_t.
23974
23975 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23976 <bits/wordsize.h>.
23977 (msgqnum_t): Use __syscall_ulong_t.
23978 (msglen_t): Likewise.
23979 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23980 __syscall_ulong_t.
23981
23982 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23983 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23984
23985 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23986
23987 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23988 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23989
23990 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23991 __syscall_slong_t.
23992
23993 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23994 include <bits/wordsize.h>. Check __x86_64__ instead of
23995 __WORDSIZE.
23996
23997 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23998 "unsigned long long int" if __x86_64__ is defined.
23999 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24000
24001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24003 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24004
24005 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24006 <stdint.h>.
24007 (GET_PC): Cast to uintptr_t first.
24008 (GET_FRAME): Likewise.
24009 (GET_STACK): Likewise.
24010
24011 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24013 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24015 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24017 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24018 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24019 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24020 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24022 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24024 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24026 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24028 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24030 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24032 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24034 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24036 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24038 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24040
24041 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24042
24043 * Makerules (+depfiles): Also collect depfiles from .oS in
24044 $(extra-objs).
24045 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24046 .oS, $(libnldbl-routines)).
24047
24048 * Makerules (native-compile-mkdep-flags): Define.
24049 * sunrpc/Makefile (extra-objs): Add $(addprefix
24050 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24051 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24052 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24053 calling $(make-target-directory).
24054
24055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24056
24057 * bits/types.h (__snseconds_t): Removed.
24058 * time/time.h (struct timespec): Replace __snseconds_t with
24059 __syscall_slong_t.
24060 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24061 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24062 Likewise.
24063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24064 (__SNSECONDS_T_TYPE): Likewise.
24065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24066 (__SNSECONDS_T_TYPE): Likewise.
24067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24068 (__SNSECONDS_T_TYPE): Likewise.
24069
24070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24071
24072 * sysdeps/mach/hurd/bits/typesizes.h
24073 (__SYSCALL_SLONG_TYPE): New macro.
24074 (__SYSCALL_ULONG_TYPE): Likewise.
24075
24076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24077
24078 * bits/types.h (__syscall_slong_t): New type.
24079 (__syscall_ulong_t): Likewise.
24080
24081 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24082 (__SYSCALL_ULONG_TYPE): Likewise.
24083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24084 (__SYSCALL_SLONG_TYPE): Likewise.
24085 (__SYSCALL_ULONG_TYPE): Likewise.
24086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24087 (__SYSCALL_SLONG_TYPE): Likewise.
24088 (__SYSCALL_ULONG_TYPE): Likewise.
24089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24090 (__SYSCALL_SLONG_TYPE): Likewise.
24091 (__SYSCALL_ULONG_TYPE): Likewise.
24092
24093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24096 Add sigaltstack-offsets.sym.
24097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24098 <sigaltstack-offsets.h>.
24099 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24100 longjmp_msg pointer.
24101 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24102 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24103 signal stack.
24104 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24105
24106 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24107
24108 * elf/stackguard-macros.h: Remove file.
24109 * sysdeps/generic/stackguard-macros.h: New file.
24110 * sysdeps/i386/stackguard-macros.h: Likewise.
24111 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24112 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24113 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24114 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24115 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24116 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24117 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24118 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24119 <elf/stackguard-macros.h>.
24120
24121 [BZ #14109]
24122 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24123 __aligned__ in attribute.
24124 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24125 (gregset_t): Likewise.
24126
24127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24128
24129 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24130 * sysdeps/x86_64/64/Implies-after: Here. New file.
24131 * sysdeps/x86_64/x32/Implies-after: New file.
24132
24133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24134
24135 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24136 and access return value for _dl_profile_fixup. Use R10_LP to
24137 load frame size.
24138
24139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24140
24141 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24142
24143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24144
24145 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24146 * sysdeps/x86_64/x32/sysdep.h: New file.
24147
24148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24149
24150 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24151 * sysdeps/x86_64/setjmp.S: Likewise.
24152
24153 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24154
24155 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24157 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24159 remove unused global constant.
24160
24161 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24162
24163 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24164 include of <not-cancel.h>.
24165
24166 2012-05-15 Roland McGrath <roland@hack.frob.com>
24167
24168 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24169
24170 2012-05-15 Jeff Law <law@redhat.com>
24171 Andreas Jaeger <aj@suse.de>
24172
24173 [BZ #13594]
24174 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24175 out from...
24176 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24177 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24178 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24179 code changing __hst_map_handle.map.
24180
24181 2012-05-15 Roland McGrath <roland@hack.frob.com>
24182
24183 * configure.in (sysnames): Look for Implies-before and Implies-after
24184 files.
24185 * configure: Regenerated.
24186
24187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24188
24189 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24190 8-byte data alignment with LP_SIZE alignment.
24191
24192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24193
24194 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24195 into R10_LP.
24196
24197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24200
24201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24202
24203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24204 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24206 Likewise.
24207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24208
24209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24210
24211 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24212 (stackinfo_sub_sp): Likewise.
24213
24214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24217 RAX_LP.
24218
24219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24222 into R*_LP.
24223
24224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24225
24226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24227 sizes into R*_LP.
24228
24229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24232
24233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24234
24235 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24236 into R11_LP and load __x86_64_shared_cache_size_half into
24237 R8_LP.
24238
24239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24240
24241 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24242 R8_LP.
24243
24244 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24245
24246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24247 logb for POWER7.
24248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24249 logbf for POWER7.
24250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24251 logbl for POWER7.
24252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24253 powerpc32/power7/fpu/s_logb.c via #include.
24254 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24255 powerpc32/power7/fpu/s_logbf.c via #include.
24256 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24257 powerpc32/power7/fpu/s_logbl.c via #include.
24258
24259 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24260
24261 * README.libm: Remove file.
24262
24263 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24266 count for x32. Use R*_LP and omit operand-size suffix.
24267
24268 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24269
24270 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24271 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24272 * sysdeps/x86_64/x32/shlib-versions: New file.
24273
24274 2012-05-14 Roland McGrath <roland@hack.frob.com>
24275
24276 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24277 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24278 Use _dl_fatal_printf instead.
24279
24280 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24281
24282 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24283 set if not set by the user. Do not allow for being unset.
24284 * sysdeps/unix/sysv/linux/configure: Regenerated.
24285
24286 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24287
24288 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24289 the `q' suffix from lea and replace .quad with ASM_ADDR.
24290
24291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24292
24293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24294 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24295 instead of $17.
24296 (PTR_DEMANGLE): Likewise.
24297
24298 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24301 (LP_OP): Likewise.
24302 (ASM_ADDR): Likewise.
24303 (RAX_LP): Likewise.
24304 (RBP_LP): Likewise.
24305 (RBX_LP): Likewise.
24306 (RCX_LP): Likewise.
24307 (RDI_LP): Likewise.
24308 (RSI_LP): Likewise.
24309 (RSP_LP): Likewise.
24310 (R8_LP): Likewise.
24311 (R9_LP): Likewise.
24312 (R10_LP): Likewise.
24313 (R10_LP): Likewise.
24314 (R11_LP): Likewise.
24315 (R12_LP): Likewise.
24316 (R13_LP): Likewise.
24317 (R14_LP): Likewise.
24318 (R15_LP): Likewise.
24319
24320 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * sysdeps/x86_64/x32/dl-machine.h: New file.
24323
24324 2012-05-14 Andreas Jaeger <aj@suse.de>
24325
24326 * manual/Makefile (subdir): Remove export of subdir.
24327 (all): Remove target.
24328 (.PHONY): Remove all from list.
24329 (mkinstalldirs): Remove.
24330 (.PHONY): Remove installdirs from list.
24331 ($(inst_infodir)/libc.info): Use make-target-directory.
24332 (installdirs): Remove.
24333 (subdir_%): Remove.
24334 (glibc-targets): Remove.
24335 (lib): Remove.
24336 (stubs): Remove.
24337 ($(objpfx)stubs ../po/manual.pot): Remove.
24338 ($(objpfx)stamp%): Remove.
24339 (make-target-directory): Remove.
24340 (subdir_install): Remove.
24341 (routines): Remove.
24342 (aux): Remove.
24343 (sources): Remove.
24344 (objects): Remove.
24345 (headers): Remove.
24346
24347 [BZ #13750]
24348 * manual/.gitignore: Remove, it's not needed anymore.
24349 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24350 all files in it.
24351 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24352 directory.
24353 (texis): Renamed to $(objpfx)texis.
24354 (texis-path): New, contains path to generated files.
24355 (chapters.%): Use texis-path for complete path, add extra argument
24356 libc-texinfo.sh.
24357 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24358 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24359 (summary,texi, stamp-summary): Use complete path of
24360 files. Generate files in build dir.
24361 (dir-add.texi): Build in build dir.
24362 (libm-err.texi,stamp-libm-err): Likewise.
24363 (version.texi, stamp-version): Likewise.
24364 (.%c.texi): Likewise.
24365 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24366 (mostlyclean): Remove target.
24367 (realclean): Remove target.
24368 (generated): Add new variable with contents from mostlyclean and
24369 realclean, remove entries duplicated in common-mostlyclean, add
24370 stamp-libm-err and stamp-version.
24371 (generated-dirs): Add libc directory.
24372 ($(inst_infodir)/libc.info): Install files from build dir.
24373
24374 * manual/install.texi (Configuring and compiling): Adjust since
24375 the info files are not part of the tar ball anymore.
24376
24377 2012-05-14 Andreas Jaeger <aj@suse.de>
24378
24379 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24380 variable.
24381
24382 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24383
24384 [BZ #13717]
24385 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24386 to 2.2.0 where earlier.
24387 * sysdeps/unix/sysv/linux/configure: Regenerated.
24388 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24389 Remove conditional code.
24390 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24391 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24392 Remove conditional code.
24393 [!__NR_lchown]: Likewise.
24394 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24395 [__NR_lchown]: Likewise.
24396 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24397 comment referencing __ASSUME_LCHOWN_SYSCALL.
24398 * sysdeps/unix/sysv/linux/i386/sigaction.c
24399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24401 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24402 Remove conditional code.
24403 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24404 (__protocol_available): Remove #if 0 code.
24405 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24406 conditional code.
24407 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24408 * sysdeps/unix/sysv/linux/kernel-features.h
24409 (__ASSUME_GETCWD_SYSCALL): Don't define.
24410 (__ASSUME_REALTIME_SIGNALS): Likewise.
24411 (__ASSUME_PREAD_SYSCALL): Likewise.
24412 (__ASSUME_PWRITE_SYSCALL): Likewise.
24413 (__ASSUME_POLL_SYSCALL): Likewise.
24414 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24415 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24416 non-SPARC.
24417 (__ASSUME_SIOCGIFNAME): Don't define.
24418 (__ASSUME_MSG_NOSIGNAL): Likewise.
24419 (__ASSUME_SENDFILE): Define unconditionally.
24420 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24421 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24422 conditional code.
24423 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24424 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24425 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24426 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24427 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24428 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24429 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24431 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24434 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24440 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24454 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24455 Remove conditional code.
24456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24457 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24458 Remove conditional code.
24459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24460 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24461 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24462 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24463 Remove conditional code.
24464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24465 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24466 Remove conditional code.
24467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24468 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24469 Remove conditional code.
24470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24471 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24472 Remove conditional code.
24473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24474 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24475 Remove conditional code.
24476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24477 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24480 * sysdeps/unix/sysv/linux/sigaction.c
24481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24483 * sysdeps/unix/sysv/linux/sigpending.c
24484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24486 * sysdeps/unix/sysv/linux/sigprocmask.c
24487 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24488 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24489 * sysdeps/unix/sysv/linux/sigsuspend.c
24490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24493 (__libc_missing_rt_sigs): Remove.
24494 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24495 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24496 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24497 Remove conditional code.
24498 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24499 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24500 return 1.
24501 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24502 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24503 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24504 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24505
24506 2012-05-14 Andreas Jaeger <aj@suse.de>
24507
24508 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24509 it's not used in glibc.
24510 (__coshm1): Likewise.
24511 (__acosh1p): Likewise.
24512 (__sgn): Likewise.
24513
24514 * manual/string.texi (Copying and Concatenation): Add missing
24515 variable in concat example.
24516 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24517
24518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24519
24520 [BZ #14103]
24521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24522 __builtin_clzl with __builtin_clzll.
24523
24524 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24525
24526 [BZ #14104]
24527 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24528 libc_freeres_ptr.
24529
24530 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24531
24532 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24533 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24534 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24535 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24536
24537 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24538
24539 * NEWS: Update ia64 info.
24540
24541 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24542
24543 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24544 used as bcopy.
24545
24546 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24547
24548 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24549 * sysdeps/unix/syscalls.list (dup3): Likewise.
24550 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24551 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24552
24553 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24554
24555 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24556 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24557
24558 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24559
24560 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24561 thread pointer.
24562 (TLS_IE): Use mov/add instead of movq/addq to load thread
24563 pointer.
24564 (TLS_GD_PREFIX): New.
24565 (TLS_GD): Use it.
24566
24567 2012-05-11 David S. Miller <davem@davemloft.net>
24568
24569 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24570 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24571 (_FPU_SETCW): Likewise.
24572
24573 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24574
24575 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24576 is 32-byte aligned.
24577
24578 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24579
24580 [BZ #11837]
24581 * iconvdata/gb18030.c: Update tables.
24582 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24583 characters specially.
24584 (BODY for TO_LOOP): Add encoding of missing ranges.
24585
24586 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24587
24588 [BZ #13673]
24589 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24590 * sysdeps/mach/hurd/dup3.c: Likewise.
24591 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24592 * sysdeps/powerpc/memmove.c:: Likewise.
24593
24594 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24595
24596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24597 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24598
24599 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24600
24601 * elf/elf.h (R_X86_64_RELATIVE64): New.
24602 (R_X86_64_NUM): Updated.
24603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24604 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24605 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24606 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24607 tst-quad1pie tst-quad2pie
24608 (modules-names): Add tst-quadmod1 tst-quadmod2.
24609 ($(objpfx)tst-quad1): New dependency.
24610 ($(objpfx)tst-quad2): Likewise.
24611 ($(objpfx)tst-quad1pie): Likewise.
24612 ($(objpfx)tst-quad2pie): Likewise.
24613 * sysdeps/x86_64/tst-quad1.c: New file.
24614 * sysdeps/x86_64/tst-quad1pie.c: New file.
24615 * sysdeps/x86_64/tst-quad2.c: Likewise.
24616 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24617 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24618 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24619 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24620 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24621
24622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24623
24624 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24625 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24626 * streams/stropts.h (t_scalar_t): Define type.
24627
24628 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24629 (_PATH_PRESERVE): Set to "/var/lib".
24630 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24631
24632 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24633 instead of int.
24634
24635 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24636 if __dir_mkfile succeeded.
24637
24638 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24639 checking for _hurd_dtablesize. Unlock it right after having
24640 finished _hurd_dtable allocation.
24641
24642 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24643
24644 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24645 * sysdeps/mach/hurd/configure: Regenerated.
24646 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24647 special-casing to...
24648 * sysdeps/gnu/configure.in: ... this new file.
24649 * sysdeps/unix/sysv/linux/configure: Regenerated.
24650 * sysdeps/gnu/configure: New generated file.
24651
24652 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24653 for Linux: use nsec instead of usec, as well as:
24654 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24655 members of type struct timespec.
24656 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24657 New macros.
24658 (struct stat64): Likewise.
24659 (_STATBUF_ST_NSEC): New macro.
24660 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24661
24662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24663 __strtoul_internal rather than strtoul.
24664
24665 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24666
24667 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24668 and reject them.
24669
24670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24671
24672 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24673 which preserves existing values.
24674 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24675
24676 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24677
24678 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24679 TIMEOUT values. Return EINVAL for NFDS values either negative or
24680 greater than FD_SETSIZE.
24681
24682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24683
24684 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24685 allocated, call __vm_protect to finish enabling the existing space, and
24686 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24687 allocate the remainder.
24688
24689 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24690
24691 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24692 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24693
24694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24695
24696 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24697 sysdeps/mach/hurd/readlink.c.
24698
24699 * posix/tst-sysconf.c (posix_options): Only use
24700 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24701 _POSIX_SYNCHRONIZED_IO when they are defined
24702 * sysdeps/mach/hurd/bits/posix_opt.h:
24703 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24704 (_XOPEN_REALTIME): Undefine macro.
24705 (_XOPEN_REALTIME_THREADS): Undefine macro.
24706 (_XOPEN_SHM): Undefine macro.
24707 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24708 macro to -1.
24709 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24710 macro to -1.
24711 (_POSIX_ASYNC_IO): Undefine macro.
24712 (_POSIX_PRIORITIZED_IO): Undefine macro.
24713 (_POSIX_SPIN_LOCKS): Define macro to -1.
24714
24715 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24716 SA_NODEFER, SA_RESETHAND.
24717 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24718 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24719 F_DUPFD_CLOEXEC.
24720
24721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24722
24723 * elf/Makefile (pldd-modules): Define unconditionally.
24724
24725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24726
24727 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24728
24729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24730
24731 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24732 Return ENOENT when name is empty.
24733 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24734
24735 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24736
24737 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24738
24739 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24740
24741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24742
24743 Fix mlock in all cases except non-readable pages.
24744 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24745 instead of VM_PROT_ALL as parameter to __vm_wire function.
24746
24747 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24748 (__mkdir): When path is `/', just fail with EEXIST.
24749 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24750
24751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24752
24753 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24754 <sys/uio.h> (for writev).
24755 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24756 and <sys/param.h> (for MIN).
24757
24758 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24759
24760 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24761 REQUESTED_TIME. Properly set the remaining time and return EINTR
24762 if interrupted.
24763
24764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24765
24766 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24767 Depend on against $(link-rpcuserlibs).
24768
24769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24770
24771 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24772 (__libc_stack_end): Do not use attribute_relro.
24773 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24774 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24775 to libthread-provided value.
24776 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24777 attribute_relro.
24778
24779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24780
24781 [BZ #3748]
24782 * bits/libc-lock.h (__libc_once_get): New macro.
24783 * sysdeps/mach/bits/libc-lock.h: Likewise.
24784 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24786 instead of using implementation details.
24787
24788 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24789 * libio/freopen.c: Likewise.
24790 * libio/freopen64.c: Likewise.
24791 * misc/syslog.c: Likewise.
24792 * nscd/connections.c: Likewise.
24793 * nscd/netgroupcache.c: Likewise.
24794 * sysdeps/posix/getcwd.c: Likewise.
24795
24796 2012-05-10 Roland McGrath <roland@hack.frob.com>
24797
24798 * math/w_ilogbf.c: Add #include <limits.h>.
24799
24800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24801
24802 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24803 path instead of returning without unlocking.
24804
24805 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24806 immediate-write ioctls.
24807 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24808
24809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24810
24811 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24812 __builtin_frame_address instead of making assumptions about the
24813 location of the return address relative to DATA. Force early load of
24814 the return address.
24815 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24816 __builtin_frame_address.
24817
24818 dup3 for GNU Hurd.
24819 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24820 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24821 implement dup3 and do some further code clean-ups.
24822 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24823 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24824
24825 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24826
24827 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24828
24829 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24830 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24831 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24832 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24833 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24834 d->port.lock.
24835
24836 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24837 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24838 when handler == SIG_ERR, not when handler != SIG_ERR.
24839
24840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24841
24842 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24843 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24844 definitions.
24845
24846 accept4 for GNU Hurd.
24847 * include/sys/socket.h (__libc_accept4): New prototype.
24848 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24849 to implement __libc_accept4.
24850 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24851 __libc_accept4.
24852 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24853
24854 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24855 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24856 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24857 signal-defines.sym.
24858
24859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24860
24861 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24862
24863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24864
24865 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24866 assertion on O_CLOEXEC flag.
24867 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24868 * hurd/intern-fd.c: Likewise.
24869 * hurd/port2fd.c: Likewise.
24870
24871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24872
24873 [BZ #3906]
24874 * bits/in.h (IPV6_PKTINFO): Define new macro.
24875 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24876
24877 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24878
24879 [BZ #13954]
24880 [BZ #13955]
24881 [BZ #13956]
24882 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24884 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24885 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24887 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24888 * math/libm-test.inc (logb_test) : Additional logb tests.
24889
24890 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24891 Andreas Jaeger <aj@suse.de>
24892
24893 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24894 * configure: Regenerated.
24895 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24896 * config.make.in (link-obsolete-rpc): New substituted variable.
24897 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24898 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24899 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24900 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24901 so that libc.a contains the symbols.
24902 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24903 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24904 * sunrpc/auth_none.c: Likewise.
24905 * sunrpc/auth_unix.c: Likewise.
24906 * sunrpc/authdes_prot.c: Likewise.
24907 * sunrpc/authuxprot.c: Likewise.
24908 * sunrpc/clnt_gen.c: Likewise.
24909 * sunrpc/clnt_perr.c: Likewise.
24910 * sunrpc/clnt_raw.c: Likewise.
24911 * sunrpc/clnt_simp.c: Likewise.
24912 * sunrpc/clnt_tcp.c: Likewise.
24913 * sunrpc/clnt_udp.c: Likewise.
24914 * sunrpc/clnt_unix.c: Likewise.
24915 * sunrpc/des_crypt.c: Likewise.
24916 * sunrpc/des_soft.c: Likewise.
24917 * sunrpc/get_myaddr.c: Likewise.
24918 * sunrpc/key_call.c: Likewise.
24919 * sunrpc/key_prot.c: Likewise.
24920 * sunrpc/netname.c: Likewise.
24921 * sunrpc/pm_getmaps.c: Likewise.
24922 * sunrpc/pm_getport.c: Likewise.
24923 * sunrpc/pmap_clnt.c: Likewise.
24924 * sunrpc/pmap_prot.c: Likewise.
24925 * sunrpc/pmap_prot2.c: Likewise.
24926 * sunrpc/pmap_rmt.c: Likewise.
24927 * sunrpc/publickey.c: Likewise.
24928 * sunrpc/rpc_cmsg.c: Likewise.
24929 * sunrpc/rpc_common.c: Likewise.
24930 * sunrpc/rpc_dtable.c: Likewise.
24931 * sunrpc/rpc_prot.c: Likewise.
24932 * sunrpc/rpc_thread.c: Likewise.
24933 * sunrpc/rtime.c: Likewise.
24934 * sunrpc/svc.c: Likewise.
24935 * sunrpc/svc_auth.c: Likewise.
24936 * sunrpc/svc_raw.c: Likewise.
24937 * sunrpc/svc_run.c: Likewise.
24938 * sunrpc/svc_tcp.c: Likewise.
24939 * sunrpc/svc_udp.c: Likewise.
24940 * sunrpc/svc_unix.c: Likewise.
24941 * sunrpc/svcauth_des.c: Likewise.
24942 * sunrpc/xcrypt.c: Likewise.
24943 * sunrpc/xdr.c: Likewise.
24944 * sunrpc/xdr_array.c: Likewise.
24945 * sunrpc/xdr_float.c: Likewise.
24946 * sunrpc/xdr_intXX_t.c: Likewise.
24947 * sunrpc/xdr_mem.c: Likewise.
24948 * sunrpc/xdr_rec.c: Likewise.
24949 * sunrpc/xdr_ref.c: Likewise.
24950 * sunrpc/xdr_sizeof.c: Likewise.
24951 * sunrpc/xdr_stdio.c: Likewise.
24952
24953 2012-05-10 Roland McGrath <roland@hack.frob.com>
24954
24955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24956 change. Update copyright years.
24957
24958 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24959
24960 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24961
24962 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24963 Joseph Myers <joseph@codesourcery.com>
24964 Paul Pluzhnikov <ppluzhnikov@google.com>
24965
24966 [BZ #14012]
24967 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24968 requiring rpcgen.
24969 [cross-compiling] (extra-libs): Likewise.
24970 [cross-compiling] (extra-libs-others): Likewise.
24971 [cross-compiling] (librpcsvc-routines): Likewise.
24972 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24973 [cross-compiling] (omit-deps): Likewise.
24974 (sunrpc-CPPFLAGS): New variable.
24975 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24976 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24977 (cross-rpcgen-objs): New variable.
24978 (extra-objs): Append $(cross-rpcgen-objs).
24979 ($(cross-rpcgen-objs)): New rule.
24980 ($(objpfx)cross-rpcgen): Likewise.
24981 (rpcgen-cmd): Define to use $(built-program-file). Expand
24982 comment.
24983 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24984 ($(objpfx)x%.stmp): Likewise.
24985 * sunrpc/proto.h [IS_IN_build] (_): Define.
24986 [IS_IN_build] (_libc_intl_domainname): Likewise.
24987
24988 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24991 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24992 and R_X86_64_TPOFF64.
24993
24994 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24995
24996 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24997 sysdeps/unix/sysv/syscalls.list.
24998 (stime): Likewise.
24999 (utime): Likewise.
25000 * sysdeps/unix/sysv/syscalls.list: Remove file.
25001
25002 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25003
25004 [BZ #3440]
25005 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25006 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25007 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25008 (__LC_IDENTIFICATION): Make these macros useful in #if
25009 expressions, as required by C99.
25010
25011 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25012
25013 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25014 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25015 after this.
25016
25017 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25018
25019 * stdlib/longlong.h: Updated from GCC.
25020
25021 2012-05-09 Andreas Jaeger <aj@suse.de>
25022
25023 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25024 default is first entry.
25025 (run_mode): Set type.
25026 (main): Remove informal message about syslog.
25027 (options): Fix typo.
25028
25029 [BZ #14053]
25030 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25031 to asm.
25032 (lrint): Likewise.
25033 (llrintf): Likewise.
25034 (llrint): Likewise.
25035 (rint): Likewise.
25036 (rintf): Likewise.
25037 (nearbyint): Likewise.
25038 (nearbyintf): Likewise.
25039
25040 2012-05-09 Andreas Jaeger <aj@suse.de>
25041 Pedro Alves <palves@redhat.com>
25042
25043 * nscd/nscd.c (run_mode): Use enum.
25044 (main): Cleanup coding style issue.
25045
25046 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25047 Andreas Jaeger <aj@suse.de>
25048
25049 * nscd/nscd.c (go_background): Replaced with...
25050 (run_mode): ... this.
25051 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25052 (options): Add -F --foreground.
25053 (main): Implement it.
25054 (parse_opt): Parse it.
25055
25056 2012-05-09 Andreas Jaeger <aj@suse.de>
25057
25058 [BZ #14083]
25059 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25060 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25061 -Wconversion warning.
25062 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25063 Likewise.
25064
25065 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25066
25067 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25068 == 0.
25069 (LC_ALL): Use macro-int-constant.
25070 (LC_COLLATE): Likewise.
25071 (LC_CTYPE): Likewise.
25072 (LC_MESSAGES): Likewise.
25073 (LC_MONETARY): Likewise.
25074 (LC_NUMERIC): Likewise.
25075 (LC_TIME): Likewise.
25076 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25077 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25079 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25080 Specify type.
25081 [C99-based standards] (float_t): Expect type.
25082 [C99-based standards] (double_t): Expect type.
25083 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25084 type.
25085 [C99-based standards] (HUGE_VALL): Likewise.
25086 [C99-based standards] (INFINITY): Likewise.
25087 [C99-based standards] (NAN): Likewise.
25088 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25089 [C99-based standards] (FP_NAN): Likewise.
25090 [C99-based standards] (FP_NORMAL): Likewise.
25091 [C99-based standards] (FP_SUBNORMAL): Likewise.
25092 [C99-based standards] (FP_ZERO): Likewise.
25093 [C99-based standards] (FP_FAST_FMA): Use
25094 optional-macro-int-constant. Specify type. Require == 1.
25095 [C99-based standards] (FP_FAST_FMAF): Likewise.
25096 [C99-based standards] (FP_FAST_FMAL): Likewise.
25097 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25098 [C99-based standards] (FP_ILOGBNAN): Likewise.
25099 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25100 Specify type.
25101 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25102 [C99-based standards] (math_errhandling): Specify type.
25103 [ISO99 || ISO11] (signgam): Do not allow.
25104 [non-C99-based standards] (copysignf): Do not allow.
25105 [non-C99-based standards] (exp2f): Likewise.
25106 [non-C99-based standards] (log2f): Likewise.
25107 [non-C99-based standards] (modff): Allow.
25108 [non-C99-based standards] (erff): Do not allow.
25109 [non-C99-based standards] (erfcf): Likewise.
25110 [non-C99-based standards] (gammaf): Likewise.
25111 [non-C99-based standards] (hypotf): Likewise.
25112 [non-C99-based standards] (j0f): Likewise.
25113 [non-C99-based standards] (j1f): Likewise.
25114 [non-C99-based standards] (jnf): Likewise.
25115 [non-C99-based standards] (lgammaf): Likewise.
25116 [non-C99-based standards] (tgammaf): Likewise.
25117 [non-C99-based standards] (y0f): Likewise.
25118 [non-C99-based standards] (y1f): Likewise.
25119 [non-C99-based standards] (ynf): Likewise.
25120 [non-C99-based standards] (isnanf): Likewise.
25121 [non-C99-based standards] (acoshf): Likewise.
25122 [non-C99-based standards] (asinhf): Likewise.
25123 [non-C99-based standards] (atanhf): Likewise.
25124 [non-C99-based standards] (cbrtf): Likewise.
25125 [non-C99-based standards] (expm1f): Likewise.
25126 [non-C99-based standards] (ilogbf): Likewise.
25127 [non-C99-based standards] (log1pf): Likewise.
25128 [non-C99-based standards] (logbf): Likewise.
25129 [non-C99-based standards] (nextafterf): Likewise.
25130 [non-C99-based standards] (remainderf): Likewise.
25131 [non-C99-based standards] (rintf): Likewise.
25132 [non-C99-based standards] (scalbf): Likewise.
25133 [non-C99-based standards] (copysignl): Likewise.
25134 [non-C99-based standards] (exp2l): Likewise.
25135 [non-C99-based standards] (log2l): Likewise.
25136 [non-C99-based standards] (modfl): Allow.
25137 [non-C99-based standards] (erfl): Do not allow.
25138 [non-C99-based standards] (erfcl): Likewise.
25139 [non-C99-based standards] (gammal): Likewise.
25140 [non-C99-based standards] (hypotl): Likewise.
25141 [non-C99-based standards] (j0l): Likewise.
25142 [non-C99-based standards] (j1l): Likewise.
25143 [non-C99-based standards] (jnl): Likewise.
25144 [non-C99-based standards] (lgammal): Likewise.
25145 [non-C99-based standards] (tgammal): Likewise.
25146 [non-C99-based standards] (y0l): Likewise.
25147 [non-C99-based standards] (y1l): Likewise.
25148 [non-C99-based standards] (ynl): Likewise.
25149 [non-C99-based standards] (isnanl): Likewise.
25150 [non-C99-based standards] (acoshl): Likewise.
25151 [non-C99-based standards] (asinhl): Likewise.
25152 [non-C99-based standards] (atanhl): Likewise.
25153 [non-C99-based standards] (cbrtl): Likewise.
25154 [non-C99-based standards] (expm1l): Likewise.
25155 [non-C99-based standards] (ilogbl): Likewise.
25156 [non-C99-based standards] (log1pl): Likewise.
25157 [non-C99-based standards] (logbl): Likewise.
25158 [non-C99-based standards] (nextafterl): Likewise.
25159 [non-C99-based standards] (remainderl): Likewise.
25160 [non-C99-based standards] (rintl): Likewise.
25161 [non-C99-based standards] (scalbl): Likewise.
25162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25163 [non-C99-based standards] (FP_*): Do not allow.
25164 [C99-based standards] (FP_*): Change to
25165 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25166 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25167 allow.
25168 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25169 (SIG_ERR): Likewise.
25170 [X/Open-based standards] (SIG_HOLD): Likewise.
25171 (SIG_IGN): Likewise.
25172 (SIGABRT): Use macro-int-constant. Specify type. Require
25173 positive value.
25174 (SIGFPE): Likewise.
25175 (SIGILL): Likewise.
25176 (SIGINT): Likewise.
25177 (SIGSEGV): Likewise.
25178 (SIGTER): Likewise.
25179 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25180 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25181 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25182 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25183 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25184 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25185 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25186 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25187 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25188 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25189 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25190 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25191 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25192 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25193 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25194 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25195 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25196 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25197 [X/Open-based standards] (SIGTRAP): Likewise.
25198 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25199 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25200 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25201 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25202 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25203 allow.
25204
25205 2012-05-08 Ian Wienand <ianw@vmware.com>
25206
25207 [BZ #14080]
25208 * time/tzset.c (__tzset_parse_tz): Update default rules for
25209 daylight time changes in the Energy Policy Act of 2005.
25210
25211 2012-05-09 Andreas Jaeger <aj@suse.de>
25212
25213 [BZ #13983]
25214 * elf/ldconfig.c (parse_conf): Change string to make clear that
25215 ldconfig only issued a warning if ld.so.conf does not exist.
25216
25217 2012-05-08 David S. Miller <davem@davemloft.net>
25218
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25220 movxtod instead of popping the value on the stack.
25221
25222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25223
25224 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25225
25226 * config.h.in: Add HAVE_ARM_PCS_VFP.
25227
25228 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25229
25230 [BZ #13979]
25231 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25232 checking but the checks are disabled for any reason.
25233
25234 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25235
25236 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25237 and ELF64_R_TYPE with ELFW(R_TYPE).
25238
25239 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25240
25241 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25242 (ulimit): Likewise.
25243
25244 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25245 (settimeofday): Likewise.
25246
25247 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25248
25249 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25250 a struct th_u2 inside the union, and move tu_block/tu_code into
25251 a new th_u3 union of tu_block/tu_code inside of that. Move
25252 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25253 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25254 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25255 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25256 (th_stuff): Change to th_u1.tu_stuff.
25257 (th_data): Define.
25258 (th_msg): Change to th_u1.th_u2.tu_data.
25259
25260 2012-05-07 David S. Miller <davem@davemloft.net>
25261
25262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25263
25264 [BZ #14074]
25265 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25266 (SETUP_PIC_REG): Use it.
25267 (SETUP_PIC_REG_LEAF): Use it.
25268
25269 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25270
25271 [BZ #13885]
25272 [BZ #13923]
25273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25274 USE_AS_EXPM1L.
25275 (EXPL_FINITE): Likewise.
25276 (FLDLOG): Likewise.
25277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25278 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25279 e_expl.S.
25280 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25281 USE_AS_EXPM1L.
25282 (EXPL_FINITE): Likewise.
25283 (FLDLOG): Likewise.
25284 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25285 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25286 e_expl.S.
25287 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25288 test of -max_value argument for long double.
25289 * sysdeps/i386/fpu/libm-test-ulps: Update.
25290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
25292 2012-05-06 David S. Miller <davem@davemloft.net>
25293
25294 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25295 quad soft-float symbols whose references which are compiler
25296 generated.
25297 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25298
25299 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25300
25301 [BZ #13884]
25302 [BZ #13914]
25303 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25304 USE_AS_EXP10L.
25305 (EXPL_FINITE): Likewise.
25306 (FLDLOG): Likewise.
25307 (c0): Likewise.
25308 (c1): Likewise.
25309 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25310 Adjust comments for base varying.
25311 (__expl_finite): Change alias to EXPL_FINITE.
25312 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25313 e_expl.S.
25314 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25315 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25317 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25319 USE_AS_EXP10L.
25320 (EXPL_FINITE): Likewise.
25321 (FLDLOG): Likewise.
25322 (c0): Likewise.
25323 (c1): Likewise.
25324 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25325 Adjust comments for base varying.
25326 (__expl_finite): Change alias to EXPL_FINITE.
25327 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25328 tests for bugs.
25329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25330
25331 [BZ #14064]
25332 * math/libm-test.inc (check_float_internal): Correct ulp
25333 calculation for subnormal expected results.
25334
25335 2012-05-06 Andreas Jaeger <aj@suse.de>
25336
25337 * Makeconfig (+math-flags): New, set to -frounding-math.
25338 (+cflags): Add +math-flags so that all of glibc gets compiled with
25339 it.
25340
25341 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25342
25343 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25344
25345 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25346 Disable one test.
25347
25348 [BZ #13787]
25349 [BZ #13922]
25350 [BZ #14036]
25351 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25352 (__ieee754_expl): Allow for and saturate large arguments.
25353 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25354 (u_threshold): Likewise.
25355 (__exp): Call __ieee754_exp before checking for overflow and
25356 underflow.
25357 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25358 (u_threshold): Likewise.
25359 (__expf): Call __ieee754_expf before checking for overflow and
25360 underflow.
25361 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25362 (u_threshold): Likewise.
25363 (__expl): Call __ieee754_expl before checking for overflow and
25364 underflow.
25365 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25366 (__ieee754_expl): Allow for and saturate large arguments.
25367 * math/libm-test.inc (exp_test): Add another test. Do not allow
25368 missing overflow exception on overflow.
25369 (expm1_test): Do not allow missing overflow exception on overflow.
25370
25371 * sysdeps/i386/fpu/e_expl.c: Move to ...
25372 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25373 rather than using inline asm.
25374 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25375 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25376 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25377
25378 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25379 (nice): Likewise.
25380 (poll): Likewise.
25381 (signal): Likewise.
25382 (time): Likewise.
25383 (times): Likewise.
25384
25385 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25386
25387 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25388 sysdeps/unix/common/syscalls.list.
25389 (fchmod): Likewise.
25390 (fchown): Likewise.
25391 (ftruncate): Likewise.
25392 (getrusage): Likewise.
25393 (gettimeofday): Likewise.
25394 (setpgid): Likewise.
25395 (setregid): Likewise.
25396 (setreuid): Likewise.
25397 (sigaction): Likewise.
25398 (truncate): Likewise.
25399 (vhangup): Likewise.
25400 * sysdeps/unix/common/syscalls.list: Remove file.
25401 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25402 * sysdeps/unix/sysv/linux/Implies: Likewise.
25403
25404 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25405
25406 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25408 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25409 Moved to ...
25410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25411 Here.
25412 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25413 to ...
25414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25415 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25416 to ...
25417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25418 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25419 to ...
25420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25421 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25422 to ...
25423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25424 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25425 to ...
25426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25427 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25428 to ...
25429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25430 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25431 to ...
25432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25433 Here.
25434 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25435 to ...
25436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25437 Here.
25438 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25439 to ...
25440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25441 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25442 Moved to ...
25443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25444 Here.
25445 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25446 to ...
25447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25448
25449 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25450
25451 * sysdeps/unix/common/bits/dirent.h: Remove file.
25452 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25453
25454 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25455 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25456 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25457 * sysdeps/unix/bsd/isatty.c: Likewise.
25458 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25459 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25460 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25461
25462 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25463
25464 [BZ #13563]
25465 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25466 long double comparison inaccuracies.
25467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25469
25470 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25471
25472 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25474
25475 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25476
25477 [BZ #14049]
25478 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25479 nonzero digits before rounding a hex value.
25480 * stdlib/tst-strtod.c (tests): Add another test.
25481
25482 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25483
25484 * sysdeps/s390/fpu/libm-test-ulps: Update.
25485
25486 2012-05-03 Andreas Jaeger <aj@suse.de>
25487
25488 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25489 does not get optimized out.
25490 (malloc_opt_barrier): New.
25491
25492 2012-05-03 Andreas Jaeger <aj@suse.de>
25493 Roland McGrath <roland@hack.frob.com>
25494
25495 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25496 intermediate file deletion.
25497 (generated): Add .symlist files.
25498
25499 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25500
25501 [BZ #13775]
25502 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25503 Redirect under this condition.
25504 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25505 [__USE_GNU] (__dprintf_chk): Not under this condition.
25506 [__USE_GNU] (__vdprintf_chk): Likewise.
25507 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25508 under this condition.
25509 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25510 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25511 [__USE_XOPEN2K8] (vdprintf): Likewise.
25512 [__USE_GNU] (__dprintf_chk): Not under this condition.
25513 [__USE_GNU] (__vdprintf_chk): Likewise.
25514 [__USE_GNU] (dprintf): Likewise.
25515 [__USE_GNU] (vdprintf): Likewise.
25516
25517 2012-05-03 Roland McGrath <roland@hack.frob.com>
25518
25519 * elf/Makefile (common-generated): Set this instead of generated for
25520 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25521 $(all-built-dso)-derived lists.
25522
25523 2012-05-03 Andreas Jaeger <aj@suse.de>
25524
25525 * sysdeps/i386/fpu/libm-test-ulps: Update.
25526
25527 * FAQ: Removed.
25528 * FAQ.in: Likewise.
25529 * scripts/gen-FAQ.pl: Likewise.
25530 * manual/install.texi (Installation): Point to online location of
25531 FAQ.
25532 * Makefile (files-for-dist): Remove FAQ.
25533 (FAQ): Remove.
25534
25535 2012-05-02 Allan McRae <allan@archlinux.org>
25536
25537 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25538 (LDFLAGS-reldepmod5.so): Likewise.
25539 (LDFLAGS-reldep6mod1.so): Likewise.
25540 (LDFLAGS-reldep6mod4.so): Likewise.
25541 (LDFLAGS-reldep8mod3.so): Likewise.
25542 (LDFLAGS-unload4mod1.so): Likewise.
25543 (LDFLAGS-unload4mod2.so): Likewise.
25544 (LDFLAGS-tst-initorder): Likewise.
25545 (LDFLAGS-tst-initordera2.so): Likewise.
25546 (LDFLAGS-tst-initordera3.so): Likewise.
25547 (LDFLAGS-tst-initordera4.so): Likewise.
25548 (LDFLAGS-tst-initorderb2.so): Likewise.
25549 (LDFLAGS-noload): Likewise.
25550 (LDFLAGS-next): Likewise.
25551 (LDFLAGS-order2mod1.so): Likewise.
25552 (LDFLAGS-order2mod2.so): Likewise.
25553 (LDFLAGS-tst-initorder2): Likewise.
25554 (LDFLAGS-tst-initorder2a.so): Likewise.
25555 (LDFLAGS-tst-initorder2b.so): Likewise.
25556 (LDFLAGS-tst-initorder2c.so): Likewise.
25557 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25558
25559 2012-05-02 David S. Miller <davem@davemloft.net>
25560
25561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25562
25563 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25564
25565 [BZ #14055]
25566 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25567
25568 2012-05-02 Andreas Jaeger <aj@suse.de>
25569
25570 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25571 since we manipulate rounding mode.
25572 (CPPFLAGS-test-idouble.c): Likewise.
25573 (CPPFLAGS-test-ifloat.c): Likewise.
25574 (CFLAGS-test-ldouble.c): Likewise.
25575 (CFLAGS-test-double.c): Likewise.
25576 (CFLAGS-test-float.c): Likewise.
25577 (CFLAGS-test-misc.c): Likewise.
25578 (CFLAGS-test-test-fenv.c): Likewise.
25579
25580 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25581
25582 [BZ #2550]
25583 [BZ #2570]
25584 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25585 comparisons to determine direction to adjust input.
25586
25587 2012-05-01 Roland McGrath <roland@hack.frob.com>
25588
25589 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25590 output to the target.
25591
25592 * scripts/localplt.awk: New file.
25593 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25594 (check-localplt-CFLAGS): Variable removed.
25595 ($(all-built-dso:=.jmprel)): New static pattern rule.
25596 (generated): Add those targets.
25597 (localplt-built-dso): New variable.
25598 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25599
25600 * elf/check-localplt.c: File removed.
25601
25602 * scripts/check-execstack.awk: New file.
25603 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25604 (check-execstack-CFLAGS): Variable removed.
25605 ($(objpfx)check-execstack.h): Target removed.
25606 ($(objpfx)execstack-default): New target.
25607 (generated): Add that instead of check-execstack.h.
25608 ($(all-built-dso:=.phdr)): New static pattern rule.
25609 (generated): Add those targets.
25610 * elf/check-execstack.c: File removed.
25611
25612 * scripts/check-textrel.awk: New file.
25613 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25614 (check-textrel-CFLAGS): Variable removed.
25615 (all-built-dso): Use := to define.o
25616 ($(all-built-dso:=.dyn)): New static pattern rule.
25617 (generated): Add those targets.
25618 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25619 * config.make.in (READELF): New substituted variable.
25620 * elf/check-textrel.c: File removed.
25621
25622 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25623
25624 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25625 allow.
25626 * conform/data/ctype.h-data [C99-based standards] (isblank):
25627 Expect function.
25628 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25629 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25631 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25632 Specify type. Require positive value.
25633 (EILSEQ): Likewise.
25634 (ERANGE): Likewise.
25635 [ISO || POSIX] (EILSEQ): Do not expect.
25636 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25637 Specify type. Require positive value.
25638 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25641 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25648 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25657 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25658 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25659 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25660 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25661 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25662 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25663 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25664 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25666 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25667 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25668 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25669 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25670 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25671 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25672 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25673 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25674 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25675 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25676 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25677 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25679 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25680 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25681 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25682 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25687 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25688 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25712 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25713 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25714 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25715 Require >= 2.
25716 (FLT_ROUNDS): Expect as macro, not constant.
25717 (FLT_MANT_DIG): Use macro-int-constant.
25718 (DBL_MANT_DIG): Likewise.
25719 (LDBL_MANT_DIG): Likewise.
25720 (FLT_DIG): Likewise.
25721 (DBL_DIG): Likewise.
25722 (LDBL_DIG): Likewise.
25723 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25724 (DBL_MIN_EXP): Likewise.
25725 (LDBL_MIN_EXP): Likewise.
25726 (FLT_MAX_EXP): Use macro-int-constant.
25727 (DBL_MAX_EXP): Likewise.
25728 (LDBL_MAX_EXP): Likewise.
25729 (FLT_MAX_10_EXP): Likewise.
25730 (DBL_MAX_10_EXP): Likewise.
25731 (LDBL_MAX_10_EXP): Likewise.
25732 (FLT_MAX): Use macro-constant.
25733 (DBL_MAX): Likewise.
25734 (LDBL_MAX): Likewise.
25735 (FLT_EPSILON): Use macro-constant. Give upper bound.
25736 (DBL_EPSILON): Likewise.
25737 (LDBL_EPSILON): Likewise.
25738 (FLT_MIN): Likewise.
25739 (DBL_MIN): Likewise.
25740 (LDBL_MIN): Likewise.
25741 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25742 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25743 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25744 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25745 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25746 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25747 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25748 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25749 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25750 [ISO11] (FLT_TRUE_MIN): Likewise.
25751 [ISO11] (LDBL_TRUE_MIN): Likewise.
25752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25753 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25754 (SCHAR_MIN): Use macro-int-constant. Specify type.
25755 (SCHAR_MAX): Likewise.
25756 (UCHAR_MAX): Likewise.
25757 (CHAR_MIN): Likewise.
25758 (CHAR_MAX): Likewise.
25759 (MB_LEN_MAX): Use macro-int-constant.
25760 (SHRT_MIN): Use macro-int-constant. Specify type.
25761 (SHRT_MAX): Likewise.
25762 (USHRT_MAX): Likewise.
25763 (INT_MAX): Likewise.
25764 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25765 bound negative.
25766 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25767 bound with "U".
25768 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25769 bound with "L".
25770 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25771 bound negative. Suffix upper bound with "L".
25772 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25773 bound with "UL".
25774 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25775 Specify type.
25776 [C99-based standards] (LLONG_MAX): Likewise.
25777 [C99-based standards] (ULLONG_MAX): Likewise.
25778 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25779 == 0.
25780 [ISO11] (max_align_t): Require type.
25781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25782
25783 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25784 from $CFLAGS, without defining away __attribute__ calls.
25785 (checknamespace): Use $CFLAGS_namespace.
25786
25787 * conform/conformtest.pl (@keywords): Only include C99 keywords
25788 for standards based on C99 or C11.
25789
25790 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25791 Disable tests.
25792 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25793 UNIX98]: Likewise.
25794
25795 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25796 usability of symbols in #if.
25797
25798 * conform/conformtest.pl: If macro or constant types start
25799 "promoted:", expect the symbol to be of the following type
25800 promoted by the integer promotions.
25801
25802 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25803 in one place. Also handle "macro-constant".
25804
25805 * conform/conformtest.pl: Only accept expected macro values with
25806 "==". Parse all "macro" lines in one place.
25807 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25808
25809 * conform/conformtest.pl: Handle braced types on "constant" lines
25810 instead of handling "typed-constant".
25811 * conform/data/signal.h-data: Use "constant" instead of
25812 "typed-constant".
25813
25814 * conform/conformtest.pl: Handle "optional-" at start of lines in
25815 one place rather than duplicating several cases. Handle each
25816 format of "macro" line with initial "optional-".
25817
25818 * conform/conformtest.pl: Only accept expected constant or
25819 optional-constant values with "==". Parse all "constant" lines in
25820 one place. Parse all "optional-constant" lines in one place.
25821 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25822 * conform/data/fmtmsg.h-data: Likewise.
25823 * conform/data/netinet/in.h-data: Likewise.
25824 * conform/data/tar.h-data: Likewise.
25825 * conform/data/limits.h-data: Use "==" form on "constant" and
25826 "optional-constant" lines.
25827
25828 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25829 Use -std=c99 for XOPEN2K.
25830 (@knownproblems): Remove.
25831 (newtoken): Don't check %isknown.
25832
25833 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25834 Do not expect macro.
25835 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25836 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25837 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25847 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25848 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25853 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25854 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25855 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25856 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25857 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25859 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25860 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25861 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25862 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25863 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25864 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25865 [XPG3] (acosh): Likewise.
25866 [XPG3] (asinh): Likewise.
25867 [XPG3] (atanh): Likewise.
25868 [XPG3] (cbrt): Likewise.
25869 [XPG3] (expm1): Likewise.
25870 [XPG3] (ilogb): Likewise.
25871 [XPG3] (log1p): Likewise.
25872 [XPG3] (logb): Likewise.
25873 [XPG3] (nextafter): Likewise.
25874 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25875 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25876 [XPG3] (remainder): Likewise.
25877 [XPG3] (rint): Likewise.
25878 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25879 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25885 [UNIX98 || XOPEN2K] (scalb): Expect.
25886 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25887 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25912 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26023
26024 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26025 _XOPEN_SOURCE_EXTENDED for XPG4.
26026
26027 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26028
26029 * Makeconfig (localtime): Remove variable.
26030 (inst_localtime-file): Likewise.
26031
26032 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26033
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26035 Update.
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26037 Update.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26039 Update.
26040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26041 Update.
26042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26043 Update.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26045 Update.
26046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26047 Update.
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26049 Update.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26051 Update.
26052
26053 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26054
26055 [BZ #2550]
26056 [BZ #2570]
26057 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26058 comparisons to determine direction to adjust input.
26059 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26060 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26061 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26062 Likewise.
26063 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26064 Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26066 Likewise.
26067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26069 Likewise.
26070 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26071 Likewise.
26072 * math/libm-test.inc (nexttoward_test): Add more tests.
26073
26074 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26075
26076 [BZ #14040]
26077 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26078 in version GLIBC_2.1, not GLIBC_2.0.
26079 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26080 Likewise.
26081
26082 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26083
26084 [BZ #13942]
26085 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26086 (1 - x) * (1 + x).
26087 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26088 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26089 * math/libm-test.inc (acos_test): Add more tests.
26090 (asin_test): Likewise.
26091 * sysdeps/i386/fpu/libm-test-ulps: Update.
26092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26093
26094 [BZ #14034]
26095 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26096 of square root.
26097 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26098 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26099 * math/libm-test.inc (acos_test_tonearest): New function.
26100 (acos_test_towardzero): Likewise.
26101 (acos_test_downward): Likewise.
26102 (acos_test_upward): Likewise.
26103 (asin_test_tonearest): Likewise.
26104 (asin_test_towardzero): Likewise.
26105 (asin_test_downward): Likewise.
26106 (asin_test_upward): Likewise.
26107 (main): Call the new functions.
26108 * sysdeps/i386/fpu/libm-test-ulps: Update.
26109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26110
26111 [BZ #13884]
26112 [BZ #13924]
26113 * math/e_exp10.c: Include <float.h>.
26114 (__ieee754_exp10): Handle underflow here rather than multiplying
26115 large negative argument by M_LN10.
26116 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26117 of __ieee754_expf.
26118 * math/e_exp10l.c: Include <float.h>.
26119 (__ieee754_exp10l): Handle underflow here rather than multiplying
26120 large negative argument by M_LN10l.
26121 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26122 spurious overflow exception on underflow.
26123
26124 2012-04-29 Marek Polacek <polacek@redhat.com>
26125
26126 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26127 (__fortify_function): New macro.
26128 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26129 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26130 __extern_always_inline.
26131 * libio/bits/stdio2.h: Likewise.
26132 * libio/bits/stdio.h: Likewise.
26133 * string/string.h: Likewise.
26134 * string/bits/string3.h: Likewise.
26135 * include/stdio.h: Likewise.
26136 * stdlib/bits/stdlib.h: Likewise.
26137 * stdlib/stdlib.h: Likewise.
26138 * rt/bits/mqueue2.h: Likewise.
26139 * rt/mqueue.h: Likewise.
26140 * posix/bits/unistd.h: Likewise.
26141 * posix/unistd.h: Likewise.
26142 * io/bits/poll2.h: Likewise.
26143 * io/bits/fcntl2.h: Likewise.
26144 * io/fcntl.h: Likewise.
26145 * io/sys/poll.h: Likewise.
26146 * misc/bits/syslog.h: Likewise.
26147 * misc/bits/syslog-ldbl.h: Likewise.
26148 * misc/sys/syslog.h: Likewise.
26149 * socket/bits/socket2.h: Likewise.
26150 * socket/sys/socket.h: Likewise.
26151 * debug/tst-chk1.c: Likewise.
26152 * wcsmbs/bits/wchar2.h: Likewise.
26153 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26154 * wcsmbs/wchar.h: Likewise.
26155
26156 2012-04-29 Andreas Jaeger <aj@suse.de>
26157
26158 * Makerules (tests): Remove enable-check-abi protection.
26159 (check-abi-warn): Remove.
26160 (check-abi-%): Remove check-abi-warn usage.
26161
26162 * configure.in: Remove check-abi configure option.
26163 * configure: Regenerated.
26164 * config.make.in (enable-check-abi): Remove.
26165
26166 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26167
26168 [BZ #14033]
26169 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26170 double functions to double *_finite functions.
26171
26172 [BZ #13941]
26173 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26174 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26175 LDBL_MIN_EXP.
26176 * stdio-common/Makefile (tests): Add tst-sprintf3.
26177 * stdio-common/tst-sprintf3.c: New file.
26178
26179 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26180 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26181
26182 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26183
26184 * conform/conformtest.pl: Remove duplicate typed-constant
26185 handling.
26186
26187 2012-04-28 David S. Miller <davem@davemloft.net>
26188
26189 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26190 (check-abi-%): Remove AWK script prerequisite and explicit
26191 abilist directory.
26192 (check-abi): Rewrite to just diff the symlist with the abilist.
26193 (config-tls, config-abi-config): Delete, no longer used.
26194 (update-abi-%): Remove AWK script and explicit abilist directory.
26195 (update-abi): Rewrite to simply compare and conditionally copy the
26196 symlist and the sysdep abilist file. Remove update-abi-config
26197 checks.
26198 * abilist/ld.abilist: Remove.
26199 * abilist/libBrokenLocale.abilist: Remove.
26200 * abilist/libanl.abilist: Remove.
26201 * abilist/libcrypt.abilist: Remove.
26202 * abilist/libdl.abilist: Remove.
26203 * abilist/librt.abilist: Remove.
26204 * abilist/libthread_db.abilist: Remove.
26205 * abilist/libutil.abilist: Remove.
26206 * scripts/extract-abilist.awk: Remove.
26207 * scripts/merge-abilist.awk: Remove.
26208 * sysdeps/generic/libcidn.abilist: New file.
26209 * sysdeps/generic/libnss_compat.abilist: New file.
26210 * sysdeps/generic/libnss_db.abilist: New file.
26211 * sysdeps/generic/libnss_dns.abilist: New file.
26212 * sysdeps/generic/libnss_files.abilist: New file.
26213 * sysdeps/generic/libnss_hesiod.abilist: New file.
26214 * sysdeps/generic/libnss_nis.abilist: New file.
26215 * sysdeps/generic/libnss_nisplus.abilist: New file.
26216 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26217 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26218 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26219 file.
26220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26221 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26222 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26223 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26224 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26225 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26226 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26227 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26228 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26229 file.
26230 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26231 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26232 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26233 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26234 file.
26235 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26236 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26237 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26238 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26239 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26240 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26241 file.
26242 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26243 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26244 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26245 file.
26246 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26248 New file.
26249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26250 New file.
26251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26252 New file.
26253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26254 New file.
26255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26256 New file.
26257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26258 New file.
26259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26260 New file.
26261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26262 New file.
26263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26264 New file.
26265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26266 New file.
26267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26268 New file.
26269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26270 New file.
26271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26272 New file.
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26274 file.
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26276 New file.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26278 New file.
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26280 file.
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26282 New file.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26284 New file.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26286 file.
26287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26288 New file.
26289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26290 New file.
26291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26292 New file.
26293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26294 New file.
26295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26296 New file.
26297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26298 New file.
26299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26301 file.
26302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26303 New file.
26304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26305 file.
26306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26307 file.
26308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26309 file.
26310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26311 file.
26312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26313 file.
26314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26315 New file.
26316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26317 file.
26318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26319 file.
26320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26321 New file.
26322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26323 file.
26324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26326 file.
26327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26328 New file.
26329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26330 file.
26331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26332 file.
26333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26334 file.
26335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26336 file.
26337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26338 file.
26339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26340 New file.
26341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26342 file.
26343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26344 file.
26345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26346 New file.
26347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26348 file.
26349 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26350 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26351 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26352 file.
26353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26354 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26355 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26356 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26357 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26358 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26359 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26360 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26361 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26362 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26365 file.
26366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26367 New file.
26368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26369 file.
26370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26371 file.
26372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26373 file.
26374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26375 file.
26376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26377 file.
26378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26379 New file.
26380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26381 New file.
26382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26383 file.
26384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26385 New file.
26386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26387 file.
26388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26390 file.
26391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26392 New file.
26393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26394 file.
26395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26396 file.
26397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26398 file.
26399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26400 file.
26401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26402 file.
26403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26404 New file.
26405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26406 New file.
26407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26408 file.
26409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26410 New file.
26411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26412 file.
26413
26414 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26415
26416 * conform/conformtest.pl: Fix typo in handling typed-constant from
26417 allow-header.
26418
26419 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26420
26421 * README: Cut down references to pre-2.6 Linux kernels and
26422 Linuxthreads. Update lists of configurations in libc and ports
26423 and sort alphabetically. Say "or newer" with Linux kernel version
26424 requirements.
26425
26426 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26427
26428 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26429
26430 [BZ #887]
26431 * math/libm-test.inc (logb_test_downward): New test to expose
26432 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26433 rounding mode.
26434
26435 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26436
26437 [BZ #14027]
26438 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26439 to be done.
26440 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26441 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26442
26443 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26444
26445 * sysdeps/unix/i386/brk.S: Remove file.
26446 * sysdeps/unix/i386/dl-brk.S: Likewise.
26447 * sysdeps/unix/i386/pipe.S: Likewise.
26448 * sysdeps/unix/i386/sigreturn.S: Likewise.
26449 * sysdeps/unix/i386/syscall.S: Likewise.
26450 * sysdeps/unix/i386/vfork.S: Likewise.
26451 * sysdeps/unix/i386/wait.S: Likewise.
26452
26453 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26454 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26455
26456 * configure.in (arm*-none*): Do not allow without
26457 --enable-hacker-mode.
26458 (netbsd*): Remove case setting base_os.
26459 (386bsd*): Likewise.
26460 (freebsd*): Likewise.
26461 (bsdi*): Likewise.
26462 (osf*): Likewise.
26463 (sunos*): Likewise.
26464 (ultrix*): Likewise.
26465 (newsos*): Likewise.
26466 (dynix*): Likewise.
26467 (*bsd*): Likewise.
26468 (sysv*): Likewise.
26469 (isc*): Likewise.
26470 (esix*): Likewise.
26471 (sco*): Likewise.
26472 (minix*): Likewise.
26473 (irix4*): Likewise.
26474 (irix6*): Likewise.
26475 (solaris[2-9]*): Likewise.
26476 (none): Likewise.
26477 * configure: Regenerated.
26478
26479 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26480
26481 [BZ #11521]
26482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26483 overflow or cancellation in calculating denominator.
26484 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26485 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26486 down expression to avoid unexpected rounding in newer GCCs.
26487 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26488
26489 2012-04-26 David S. Miller <davem@davemloft.net>
26490
26491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26492 long-double compat symbols.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26506
26507 2012-04-25 David S. Miller <davem@davemloft.net>
26508
26509 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26510 HWCAP_* values only after the memory barriers have been defined.
26511 (atomic_full_barrier): Define.
26512 (atomic_read_barrier): Define.
26513 (atomic_write_barrier): Define.
26514
26515 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26516
26517 * shlib-versions: Add libgcc_s version information.
26518 * sysdeps/generic/libgcc_s.h: Remove.
26519 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26520 libgcc_s.h.
26521 * sysdeps/gnu/unwind-resume.c: Likewise.
26522 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26523
26524 2012-04-25 David S. Miller <davem@davemloft.net>
26525
26526 * sysdeps/unix/sparc/brk.S: Delete.
26527 * sysdeps/unix/sparc/dl-brk.S: Delete.
26528 * sysdeps/unix/sparc/pipe.S: Delete.
26529 * sysdeps/unix/sparc/sysdep.S: Delete.
26530 * sysdeps/unix/sparc/sysdep.h: Delete.
26531 * sysdeps/unix/sparc/vfork.S: Delete.
26532 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26533 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26535 ret_ERRVAL, r0, r1, MOVE): Define.
26536 (JUMPTARGET): Remove.
26537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26538 sysdeps/unix/sparc/sysdep.h
26539 (ENTRY, END): Remove.
26540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26541
26542 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26543
26544 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26545 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26546 -DIS_IN_build.
26547
26548 * timezone/README: Update upstream location and email address for
26549 tzcode and tzdata.
26550 * timezone/zdump.c: Update from tzcode 2012b.
26551 * timezone/zic.c: Likewise.
26552
26553 * configure.in (libc_cv_as_needed): Remove test.
26554 * configure: Regenerated.
26555 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26556 conditional definition.
26557 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26558 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26559 * config.make.in (have-as-needed): Remove variable.
26560
26561 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26562 Paul Pluzhnikov <ppluzhnikov@google.com>
26563
26564 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26565 strings correctly.
26566
26567 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26568
26569 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26570 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26571 * sysdeps/sh/strlen.S: Likewise.
26572
26573 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26574
26575 * sysdeps/unix/fork.S: Remove file.
26576 * sysdeps/unix/i386/fork.S: Likewise.
26577 * sysdeps/unix/sparc/fork.S: Likewise.
26578
26579 * sysdeps/unix/system.c: Remove file.
26580 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26581
26582 * sysdeps/unix/getegid.S: Remove file.
26583 * sysdeps/unix/geteuid.S: Likewise.
26584
26585 2012-04-24 Roland McGrath <roland@hack.frob.com>
26586
26587 * scripts/check-localplt.awk: New file.
26588 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26589 of diff.
26590 * scripts/data/localplt-generic.data: Add a comment.
26591
26592 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26593 NODE when __dir_mkfile failed.
26594 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26595 Reported by Ludovic Courtès <ludo@gnu.org>.
26596
26597 2012-04-24 Andreas Jaeger <aj@suse.de>
26598
26599 * Makerules (common-clean): Also remove gen-as-const-headers
26600 files.
26601
26602 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26603
26604 * Makerules (native-compile): Do not change working directory for
26605 build. Use $(OUTPUT_OPTION) in command.
26606 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26607
26608 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26609
26610 [BZ #13886]
26611 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26612 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26613 * math/libm-test.inc (floor_test): Add more tests.
26614 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26615
26616 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26617
26618 * sysdeps/unix/getdents.c: Remove file.
26619 * sysdeps/unix/sysv/getdents.c: Likewise.
26620 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26621
26622 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26623 sysdeps/unix/mman/syscalls.list.
26624 (mmap): Likewise.
26625 (mprotect): Likewise.
26626 (msync): Likewise.
26627 (munmap): Likewise.
26628 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26629 * sysdeps/unix/mman/syscalls.list: Remove.
26630 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26631
26632 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26633 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26634 * configure: Regenerated.
26635 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26636 $(libgcc_s_suffix).
26637 * config.make.in (libgcc_s_suffix): Remove variable.
26638
26639 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26640
26641 * sysdeps/unix/sysv/gethostname.c: Move to ...
26642 * sysdeps/posix/gethostname.c: ... here.
26643
26644 * sysdeps/unix/execve.S: Remove file.
26645
26646 * sysdeps/unix/_exit.S: Remove file.
26647
26648 2012-04-23 Andreas Jaeger <aj@suse.de>
26649
26650 [BZ #13739]
26651 * manual/Makefile: Remove make dist support, there's no
26652 need for a stand-alone documentation tar ball.
26653 (TEXI2DVI): Define always, it's not in Makeconfig.
26654 (dist): Removed.
26655 (tar-it): Removed.
26656 (edition): Removed.
26657 (glibc-doc-$(edition).tar): Removed
26658 (%.Z): Removed.
26659 (%.gz): Removed.
26660 (%.uu): Removed.
26661 (ETAGS): Remove, it's in Makeconfig.
26662 (move-if-change): Remove, it's in Makeconfig.
26663
26664 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26665
26666 [BZ #13970]
26667 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26668 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26669 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26670 (strtod_l, strtof_l, strtold_l): Remove __wur.
26671 It is not necessarily an error to ignore strtol's return value.
26672 One can reliably look at the stored endptr to decide whether
26673 the number had valid syntax.
26674
26675 2012-04-21 Andreas Jaeger <aj@suse.de>
26676
26677 [BZ #13739]
26678 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26679
26680 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26681
26682 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26683 * sysdeps/unix/sysv/Versions: Remove file.
26684
26685 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26686
26687 [BZ #13927]
26688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26689
26690 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26691
26692 [BZ #7064]
26693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26694 version from __vm86.
26695
26696 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26697
26698 * sysdeps/unix/common/lxstat.c: Remove file.
26699 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26700
26701 * sysdeps/unix/sysv/Makefile: Remove file.
26702
26703 * sysdeps/unix/sysv/direct.h: Remove file.
26704
26705 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26706 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26707 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26708 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26709 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26710 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26711 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26712
26713 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26714
26715 * sysdeps/unix/xmknod.c: Remove file.
26716 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26717
26718 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26719
26720 * sysdeps/unix/sysv/i386/time.S: Remove file.
26721
26722 * sysdeps/unix/fxstat.c: Remove file.
26723 * sysdeps/unix/xstat.c: Likewise.
26724 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26725
26726 * sysdeps/unix/sysv/sigaction.c: Remove file.
26727
26728 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26729 (sysdep_headers): Remove variable.
26730 [termio.h not in sysdep_headers] (generated): Likewise.
26731 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26732 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26733 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26734 * sysdeps/unix/sysv/tcflow.c: Likewise.
26735 * sysdeps/unix/sysv/tcflush.c: Likewise.
26736 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26737 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26738 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26739 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26740 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26741
26742 * sysdeps/unix/siglist.c: Remove file.
26743
26744 * sysdeps/unix/getppid.S: Remove file.
26745
26746 * sysdeps/unix/mkdir.c: Remove file.
26747 * sysdeps/unix/rmdir.c: Likewise.
26748
26749 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26750
26751 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26752 ERR_MAX value.
26753 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26754 errlist-compat value.
26755
26756 2012-04-18 David S. Miller <davem@davemloft.net>
26757
26758 * sysdeps/generic/memcopy.h (reg_char): Delete.
26759 * debug/strcat_chk.c: Use char, not reg_char.
26760 * debug/strcpy_chk.c: Likewise.
26761 * debug/strncat_chk.c: Likewise.
26762 * debug/strncpy_chk.c: Likewise.
26763 * string/memchr.c: Likewise.
26764 * string/memrchr.c: Likewise.
26765 * string/rawmemchr.c: Likewise.
26766 * string/strcat.c: Likewise.
26767 * string/strchr.c: Likewise.
26768 * string/strchrnul.c: Likewise.
26769 * string/strcmp.c: Likewise.
26770 * string/strcpy.c: Likewise.
26771 * string/strncat.c: Likewise.
26772 * string/strncmp.c: Likewise.
26773 * string/strncpy.c: Likewise.
26774
26775 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26776
26777 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26778 __builtin_memcopy is called when src and dest ranges are known to not
26779 overlap.
26780
26781 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26782
26783 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26784 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26785 fwd_align_merge macro call.
26786 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26787 bwd_align_merge macro call.
26788 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26789
26790 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26791
26792 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26793 bwd_align_merge macros.
26794 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26795 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26796 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26797
26798 2012-04-18 David S. Miller <davem@davemloft.net>
26799
26800 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26801
26802 2012-04-18 Andreas Jaeger <aj@suse.de>
26803
26804 [BZ# 6794]
26805 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26806 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26807 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26808
26809 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26810 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26811 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26812
26813 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26814 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26815 Adjust for changed ldbl-128 files.
26816
26817 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26818 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26819 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26820
26821 2012-04-17 David S. Miller <davem@davemloft.net>
26822
26823 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26824
26825 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26826
26827 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26828 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26829 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26830 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26831 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26832 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26833
26834 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26835
26836 [BZ #6794]
26837 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26838 * math/libm-test.inc: Add ilogb errno and exception tests.
26839 * math/w_ilogb.c: New file: ilogb wrapper.
26840 * math/w_ilogbf.c: New file: ilogbf wrapper.
26841 * math/w_ilogbl.c: New file: ilogbl wrapper.
26842 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26843 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26844 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26845 exception being thrown with 0.0 as argument.
26846 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26847 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26848 exception being thrown with 0.0 as argument.
26849 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26850 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26851 exception being thrown with 0.0 as argument.
26852 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26853 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26854 exception being thrown with 0.0 as argument.
26855 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26856 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26857 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26858 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26859 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26860 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26861 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26862 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26863 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26864
26865 2012-04-17 Petr Baudis <pasky@ucw.cz>
26866
26867 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26868 with altivec.
26869
26870 2012-04-16 Marek Polacek <polacek@redhat.com>
26871
26872 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26873
26874 2012-04-16 Marek Polacek <polacek@redhat.com>
26875
26876 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26877 operands of fdivp instruction.
26878
26879 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26880
26881 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26882 * elf/tst-auditmod3b.c: Likewise.
26883 * elf/tst-auditmod4b.c: Likewise.
26884 * elf/tst-auditmod5b.c: Likewise.
26885 * elf/tst-auditmod6b.c: Likewise.
26886 * elf/tst-auditmod6c.c: Likewise.
26887 * elf/tst-auditmod7b.c: Likewise.
26888 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26889 * sysdeps/x86_64/preconfigure.in: Likewise.
26890 * sysdeps/x86_64/preconfigure: Regenerated.
26891
26892 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26893
26894 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26895 __ILP32__.
26896
26897 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26898
26899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26900 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26901
26902 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26903
26904 [BZ #13973]
26905 * locale/iso-639.def: Fix gl language name. Spotted by
26906 Yaron Shahrabani.
26907
26908 2012-04-12 Roland McGrath <roland@hack.frob.com>
26909
26910 [BZ #2074]
26911 * libio/libio.h (__io_write_fn): Update comment.
26912
26913 2012-04-12 Petr Baudis <pasky@ucw.cz>
26914
26915 [BZ #2074]
26916 * stdio.texi (Hook Functions): The user provided writer function
26917 is not allowed to return -1.
26918
26919 2012-04-11 David S. Miller <davem@davemloft.net>
26920
26921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26922
26923 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26924
26925 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26926 Add a leading slash to rtkaio.
26927
26928 2012-04-11 Jim Meyering <meyering@redhat.com>
26929
26930 [BZ #11959]
26931 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26932 It is not necessarily an error to ignore fwrite's return
26933 value. One can reliably use ferror to test for errors after
26934 the fact.
26935
26936 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26937
26938 * bits/types.h (__snseconds_t): New type.
26939 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26940
26941 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26942 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26943 (__SNSECONDS_T_TYPE): Likewise.
26944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26945 (__SNSECONDS_T_TYPE): Likewise.
26946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26947 (__SNSECONDS_T_TYPE): Likewise.
26948
26949 2012-04-10 Andreas Jaeger <aj@suse.de>
26950
26951 [BZ #2636]
26952 * manual/time.texi (Processor Time): Return type of times is
26953 elapsed real time since an arbitrary point in the past.
26954 (CPU Time): Move CLK_TCK from here...
26955 (Processor Time): ...to here. Correct description.
26956 * manual/conf.texi (Constants for Sysconf): Correct description of
26957 _SC_CLK_TCK.
26958
26959 2012-04-10 David S. Miller <davem@davemloft.net>
26960
26961 [BZ #13967]
26962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26963 where the is a gap between DT_REL(A) and DT_JMPREL.
26964
26965 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26966
26967 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26968 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26969 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26970
26971 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26972
26973 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26974 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26975 (dl_main): Handle --inhibit-cache.
26976 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26977 _dl_inhibit_cache.
26978 * elf/dl-load.c (_dl_map_object): Use it.
26979 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26980
26981 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26982
26983 [BZ #13872]
26984 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26985 (__ieee754_powl): Saturate large exponents rather than testing for
26986 overflow of y*log2(x).
26987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26988 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26989 exceptions.
26990
26991 [BZ #11521]
26992 * math/s_ctan.c: Include <float.h>.
26993 (__ctan): Avoid internal overflow or cancellation in calculating
26994 denominator.
26995 * math/s_ctanf.c: Likewise.
26996 * math/s_ctanl.c: Likewise.
26997 * math/s_ctanh.c: Likewise.
26998 * math/s_ctanhf.c: Likewise.
26999 * math/s_ctanhl.c: Likewise.
27000 * math/libm-test.inc (ctan_test): Add more tests.
27001 (ctanh_test): Likewise.
27002 * sysdeps/i386/fpu/libm-test-ulps: Update.
27003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27004
27005 2012-04-09 Andreas Jaeger <aj@suse.de>
27006
27007 [BZ #6894]
27008 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27009 is an optional BSD extension.
27010
27011 [BZ #10254]
27012 * manual/stdio.texi (Opening Streams): Document additional fopen
27013 parameters.
27014
27015 2012-04-09 Roland McGrath <roland@hack.frob.com>
27016
27017 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27018 %eax without telling the compiler.
27019
27020 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27021
27022 [BZ # 13963]
27023 * manual/install.texi: Use sourceware.org.
27024
27025 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27026
27027 [BZ #13873]
27028 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27029 (__ieee754_pow): Generate overflow and underflow using huge*huge
27030 and tiny*tiny rather than just returning constant infinity or zero
27031 for large exponents.
27032 * math/libm-test.inc (pow_test): Require overflow exceptions for
27033 applicable cases of large exponents.
27034
27035 [BZ #706]
27036 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27037 (__ieee754_pow): Use iterative multiplication algorithm only for
27038 integer exponents with absolute value below 1024. Check for odd
27039 integer exponents when using algorithm for real exponents.
27040 * math/libm-test.inc (pow_test): Add more tests.
27041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27042
27043 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27044
27045 [BZ #13705]
27046 * math/libm-test.inc (exp_test): Do not allow overflow exception
27047 on underflow test.
27048
27049 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27050
27051 [BZ #13705]
27052 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27053 instead of __kernel_standard_f.
27054
27055 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27056
27057 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27058 * sysdeps/x86_64/memset_chk.S: Likewise.
27059
27060 2012-04-08 Andreas Jaeger <aj@suse.de>
27061
27062 [BZ #10153]
27063 * manual/startup.texi (Environment Access): Describe return value
27064 for putenv and setenv.
27065
27066 [BZ #6895]
27067 * manual/filesys.texi (Directory Entries): Add description for
27068 DT_LNK.
27069
27070 [BZ #6890]
27071 * manual/filesys.texi (Directory Entries): Clarify that it's file
27072 system not operating system in the description of DT_UNKNOWN.
27073
27074 [BZ #6578]
27075 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27076
27077 2012-04-08 Stephen Compall <s11@member.fsf.org>
27078
27079 [BZ #6649]
27080 * manual/llio.texi (Opening and Closing Files): Add cross
27081 reference to explain mode argument.
27082
27083 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27084
27085 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27086 * sysdeps/x86_64/memset_chk.S: Likewise.
27087
27088 2012-04-07 David S. Miller <davem@davemloft.net>
27089
27090 * elf/elf.h (R_SPARC_WDISP10): Define.
27091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27092 R_SPARC_SIZE32.
27093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27094 R_SPARC_SIZE64 and R_SPARC_H34.
27095
27096 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27097
27098 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27099 conditions and remove no longer applicable assertion.
27100
27101 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27102
27103 * bits/byteswap.h: Include <features.h>.
27104 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27105 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27106
27107 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27108
27109 * bits/byteswap.h (__bswap_16): Removed.
27110 Include <bits/byteswap-16.h> to get __bswap_16.
27111 * sysdeps/i386/bits/byteswap.h: Likewise.
27112 * sysdeps/s390/bits/byteswap.h: Likewise.
27113 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27114 * bits/byteswap-16.h: New file.
27115 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27116 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27117 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27118 * string/Makefile (headers): Add bits/byteswap-16.h.
27119
27120 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27121
27122 [BZ #13895]
27123 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27124 extra indirection.
27125 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27126 * nss/tst-nss-static.c: New.
27127
27128 2012-04-06 Robert Millan <rmh@gnu.org>
27129
27130 [BZ #6486]
27131 * manual/llio.texi (File Position Primitive): lseek
27132 refers to WHENCE when it really means OFFSET.
27133
27134 2012-04-06 Andreas Jaeger <aj@suse.de>
27135
27136 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27137 strncmp declarations.
27138
27139 * abilist/libc.abilist: Add __poll and __ppoll.
27140
27141 2012-04-05 David S. Miller <davem@davemloft.net>
27142
27143 * scripts/check-local-headers.sh: Accept a host triplet in the
27144 path matched by the exclude regexp.
27145
27146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27147 definition.
27148 * sysdeps/powerpc/powerpc32/dl-machine.h
27149 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27150 * sysdeps/s390/s390-32/dl-machine.h
27151 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27152 * sysdeps/sparc/sparc32/dl-machine.h
27153 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27154 * sysdeps/sparc/sparc64/dl-machine.h
27155 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27156
27157 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27158 lazy binding.
27159 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27160 undefined symbol errors.
27161
27162 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27163 DT_NEEDED entries.
27164
27165 2012-04-05 Michael Matz <matz@suse.de>
27166
27167 [BZ #13592]
27168 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27169
27170 2012-04-05 Andreas Jaeger <aj@suse.de>
27171
27172 [BZ #13908]
27173 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27174 comment.
27175
27176 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27177
27178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27179 which ROUND is no valid rounding mode.
27180
27181 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27182
27183 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27184 read again.
27185 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27186
27187 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27188
27189 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27190 an exception using FPU order intentionally.
27191
27192 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27193
27194 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27195 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27196 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27197 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27198
27199 2012-04-05 Simon Josefsson <simon@josefsson.org>
27200
27201 [BZ #12340]
27202 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27203 EINVAL when BUFLEN is too smal.
27204
27205 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27206
27207 [BZ #13553]
27208 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27209 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27210
27211 2012-04-03 Andreas Jaeger <aj@suse.de>
27212
27213 [BZ #13938]
27214 * manual/setjmp.texi (System V contexts): Fix sentence.
27215
27216 [BZ #13926]
27217 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27218 New macro for this case.
27219 [!__GNUC__] (__bswap_64): New inline function for this case.
27220 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27221 * bits/byteswap.h: Likewise.
27222 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27223 ull, guard with __GLIBC_HAVE_LONG_LONG.
27224
27225 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27226 __GLIBC_HAVE_LONG_LONG.
27227
27228 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27229 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27230
27231 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27232
27233 [BZ #13691]
27234 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27235 inptr and inend, rather than using last_ch.
27236
27237 2012-04-02 David S. Miller <davem@davemloft.net>
27238
27239 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27240 * stdio-common/printf-parse.h (read_int): Change return type to
27241 'int', return -1 on INT_MAX overflow.
27242 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27243 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27244 overflows INT_MAX. Check for overflow of in-format-string precision
27245 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27246 SIZE_MAX not INT_MAX for integer overflow test.
27247 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27248 skip the construct in the format string but do not record anything.
27249 * stdio-common/bug22.c: Adjust to test both width/prevision
27250 INT_MAX overflow as well as total length INT_MAX overflow. Check
27251 explicitly for proper errno values.
27252
27253 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27254
27255 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27256 CHAR_MAX.
27257 * string/test-strcmp.c [! WIDE]: Likewise.
27258 * time/tst-mktime2.c: Likewise for INT_MAX.
27259 * string/test-string.h: #include <sys/param.h> for MIN.
27260
27261 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27262 * sysdeps/i386/init-first.c (init): Likewise.
27263 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27264 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27265 * sysdeps/sh/init-first.c (init): Likewise.
27266
27267 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27268
27269 * po/ru.po: Update from translation team.
27270 * po/vi.po: Likewise.
27271
27272 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27273
27274 * resolv/nss_dns/dns-host.c: Merge copyright years.
27275
27276 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27277
27278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27279 Optimize memcpy with prefetch if
27280 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27281 src, dst pointers have unequal 16 byte alignments.
27282
27283 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27284
27285 [BZ #13928]
27286 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27287 from a CNAME entry and return the minimum ttl for the query.
27288 (gaih_getanswer_slice): Likewise.
27289
27290 2012-03-30 Jeff Law <law@redhat.com>
27291
27292 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27293 due to long keys.
27294 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27295 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27296
27297 * resolv/nss_dns/dns-host.c: Update copyright year.
27298
27299 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27300
27301 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27302 requests to save a system call. Fix check that all bytes are sent.
27303
27304 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27305 comments for sendmmsg.
27306
27307 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27308
27309 [BZ #13691]
27310 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27311 with only 1 character between 0x0041 and 0x01b0.
27312 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27313 * wcsmbs/tst-mbsnrtowcs.c: New file.
27314
27315 2012-03-29 David S. Miller <davem@davemloft.net>
27316
27317 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27318 small copies by hand.
27319
27320 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27321
27322 [BZ #13761]
27323 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27324 _nss_compat_initgroups_dyn): Fall back to malloc/free
27325 for large group memberships.
27326
27327 2012-03-28 David S. Miller <davem@davemloft.net>
27328
27329 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27330 that branches into memcpy.
27331 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27332 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27334 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27336 bits.
27337 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27338 implementation too.
27339 * sysdeps/sparc/mempcpy.S: New file.
27340
27341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27342 the IFUNC routine in the libc case.
27343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27344
27345 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27346 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27347 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27348 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27349 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27350 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27351 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27352 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27353
27354 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27355 loop to 256 bytes instead of 64 bytes and fix test signedness.
27356
27357 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27358 * sysdeps/sparc/sparc32/Makefile: rather than here...
27359 * sysdeps/sparc/sparc64/Makefile: and here.
27360
27361 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27362
27363 * malloc/mallocbug.c: Avoid warnings about unused variables.
27364
27365 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27366
27367 [BZ #13760]
27368 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27369 in the right place. Discard and retry query if response is
27370 larger than input buffer size.
27371
27372 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27373
27374 [BZ #369]
27375 [BZ #2678]
27376 [BZ #3866]
27377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27378 x for large integer exponent.
27379 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27380 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27381 sign of result as needed afterwards.
27382 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27383 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27384 result for underflowing pow the same as for overflow.
27385 (__kernel_standard_l): Handle powl overflow and underflow here
27386 rather than calling __kernel_standard.
27387 * math/libm-test.inc (pow_test): Add more tests.
27388
27389 [BZ #3868]
27390 [BZ #13879]
27391 [BZ #13910]
27392 [BZ #13911]
27393 [BZ #13912]
27394 [BZ #13913]
27395 [BZ #13915]
27396 [BZ #13916]
27397 [BZ #13917]
27398 [BZ #13918]
27399 [BZ #13919]
27400 [BZ #13920]
27401 [BZ #13921]
27402 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27403 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27404 (__kernel_standard_l): New function.
27405 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27406 __kernel_standard.
27407 * math/w_acosl.c (__acosl): Likewise.
27408 * math/w_asinl.c (__asinl): Likewise.
27409 * math/w_atan2l.c (__atan2l): Likewise.
27410 * math/w_atanhl.c (__atanhl): Likewise.
27411 * math/w_coshl.c (__coshl): Likewise.
27412 * math/w_exp10l.c (__exp10l): Likewise.
27413 * math/w_exp2l.c (__exp2l): Likewise.
27414 * math/w_fmodl.c (__fmodl): Likewise.
27415 * math/w_hypotl.c (__hypotl): Likewise.
27416 * math/w_j0l.c (__j0l, __y0l): Likewise.
27417 * math/w_j1l.c (__j1l, __y1l): Likewise.
27418 * math/w_jnl.c (__jnl, __ynl): Likewise.
27419 * math/w_lgammal.c (__lgammal): Likewise.
27420 * math/w_log10l.c (__log10l): Likewise.
27421 * math/w_log2l.c (__log2l): Likewise.
27422 * math/w_logl.c (__logl): Likewise.
27423 * math/w_powl.c (__powl): Likewise.
27424 * math/w_remainderl.c (__remainderl): Likewise.
27425 * math/w_scalbl.c (sysv_scalbl): Likewise.
27426 * math/w_sinhl.c (__sinhl): Likewise.
27427 * math/w_sqrtl.c (__sqrtl): Likewise.
27428 * math/w_tgammal.c (__tgammal): Likewise.
27429 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27430 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27431 * math/libm-test.inc (acos_test): Add more tests.
27432 (acosh_test): Likewise.
27433 (asin_test): Likewise.
27434 (atanh_test): Likewise.
27435 (exp_test): Likewise.
27436 (exp10_test): Likewise.
27437 (exp2_test): Likewise.
27438 (expm1_test): Likewise.
27439 (lgamma_test): Likewise.
27440 (log_test): Likewise.
27441 (log10_test): Likewise.
27442 (log1p_test): Likewise.
27443 (log2_test): Likewise.
27444 (pow_test): Do not allow some spurious overflow exceptions.
27445 (sqrt_test): Add more tests.
27446 (tgamma_test): Likewise.
27447 (y0_test): Likewise.
27448 (y1_test): Likewise.
27449 (yn_test): Likewise.
27450
27451 2012-03-27 Anton Blanchard <anton@samba.org>
27452
27453 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27454 MAP_HUGETLB.
27455 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27456 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27458
27459 2012-03-27 David S. Miller <davem@davemloft.net>
27460
27461 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27462
27463 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27464 have-as-vis3 check.
27465
27466 2012-03-27 Andreas Jaeger <aj@suse.de>
27467
27468 * sysdeps/x86_64/elf/configure.in: Moved to ...
27469 * sysdeps/x86_64/configure.in: ... here.
27470 * sysdeps/x86_64/elf/start.S: Moved to ...
27471 * sysdeps/x86_64/start.S: ... here.
27472 * sysdeps/x86_64/elf/configure: Delete.
27473
27474 * sysdeps/x86_64/configure.in: Merge contents from
27475 sysdeps/i386/configure.in (without i686 check).
27476
27477 * sysdeps/i386/elf/Versions: Merge into ...
27478 * sysdeps/i386/Versions: ... this.
27479 * sysdeps/i386/elf/Versions: Delete file.
27480 * sysdeps/i386/elf/start.S: Moved to ...
27481 * sysdeps/i386/start.S: ...here.
27482 * sysdeps/i386/elf/configure.in: Merge into...
27483 * sysdeps/i386/configure.in: ...here.
27484 * sysdeps/i386/elf/configure.in: Delete file.
27485 * sysdeps/i386/elf/configure: Delete file.
27486
27487 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27488 * debug/backtracesyms.c: ... here.
27489 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27490 * debug/backtracesymsfd.c: ... here.
27491 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27492 * sysdeps/generic/ifunc-sel.h: ... here.
27493
27494 * sysdeps/unix/i386/start.c: Delete file.
27495 * sysdeps/unix/sparc/start.c: Delete file.
27496 * sysdeps/unix/start.c: Delete file.
27497
27498 * sysdeps/sh/elf/configure.in: Moved to ...
27499 * sysdeps/sh/configure.in: ... here.
27500 * sysdeps/sh/elf/start.S: Moved to ...
27501 * sysdeps/sh/start.S: ... here.
27502 * sysdeps/sh/elf/configure: Delete file.
27503
27504 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27505 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27506 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27507 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27508 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27509 * sysdeps/powerpc/powerpc64/start.S: here.
27510 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27511 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27512 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27513 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27514 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27515
27516 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27517 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27518 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27519 * sysdeps/powerpc/powerpc32/start.S: ... here.
27520 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27521 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27522 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27523
27524 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27525 * sysdeps/powerpc/ifunc-sel.h: ... here.
27526 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27527 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27528
27529 * sysdeps/sparc/elf/configure.in: Moved to ...
27530 * sysdeps/sparc/configure.in: ... here.
27531 * sysdeps/sparc/elf/configure: Delete file.
27532 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27533 * sysdeps/sparc/sparc32/start.S: ... here.
27534 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27535 * sysdeps/sparc/sparc64/start.S: ... here.
27536 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27537 * sysdeps/sparc/sparc32/Makefile: ... this.
27538 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27539 * sysdeps/sparc/sparc64/Makefile: ... this.
27540
27541 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27542 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27543 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27544 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27545 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27546 * sysdeps/s390/s390-32/setjmp.S: ... here.
27547 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27548 * sysdeps/s390/s390-32/configure.in: ... here.
27549 * sysdeps/s390/s390-32/elf/configure: Delete file.
27550 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27551 * sysdeps/s390/s390-32/start.S: ... here.
27552
27553 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27554 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27555 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27556 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27557 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27558 * sysdeps/s390/s390-64/setjmp.S: ... here.
27559 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27560 * sysdeps/s390/s390-64/configure.in: ... here
27561 * sysdeps/s390/s390-64/elf/configure: Delete file.
27562 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27563 * sysdeps/s390/s390-64/start.S: ... here.
27564 * sysdeps/s390/s390-64/elf/configure: Delete.
27565
27566 * configure.in: Remove support for elf directories in sysdeps.
27567
27568 * configure: Regenerated.
27569 * sysdeps/i386/configure: Regenerated.
27570 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27571 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27572 * sysdeps/s390/s390-32/configure: Regenerated.
27573 * sysdeps/s390/s390-64/configure: Regenerated.
27574 * sysdeps/sh/configure: Regenerated.
27575 * sysdeps/sparc/configure: Regenerated.
27576 * sysdeps/x86_64/configure: Regenerated.
27577
27578 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27579
27580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27581
27582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27583 denormal result into account.
27584
27585 2012-03-25 Roland McGrath <roland@hack.frob.com>
27586
27587 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27588 Reported by Allan McRae <allan@archlinux.org>.
27589
27590 2012-03-23 Jeff Law <law@redhat.com>
27591
27592 * nss/getnssent.c (__nss_getent): Fix typo.
27593
27594 2012-03-23 David S. Miller <davem@davemloft.net>
27595
27596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27597
27598 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27599
27600 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27601 to pad to uint64_t for each field.
27602 (dl_tls_index): Replace unsigned long with uint64_t.
27603
27604 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27605 Paul Pluzhnikov <ppluzhnikov@google.com>
27606
27607 [BZ #6528]
27608 * grp/Makefile (otherlibs): Don't set it.
27609 * inet/Makefile (otherlibs): Likewise.
27610 * login/Makefile (otherlibs): Likewise.
27611 * nscd/Makefile (otherlibs): Likewise.
27612 * posix/Makefile (otherlibs): Likewise.
27613 * pwd/Makefile (otherlibs): Likewise.
27614 * rt/Makefile (otherlibs): Likewise.
27615 * sunrpc/Makefile (otherlibs): Likewise.
27616 * nss/Makefile (otherlibs): Likewise.
27617 Add libnss_files to routines and static-only-routines.
27618 ($(objpfx)getent): Remove rule.
27619 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27620 static-only-routines.
27621
27622 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27623
27624 [BZ #13892]
27625 * math/s_cexp.c: Include <float.h>.
27626 (__cexp): Handle exp result overflowing not necessarily
27627 overflowing both real and imaginary parts of result.
27628 * math/s_cexpf.c: Likewise.
27629 * math/s_cexpl.c: Likewise.
27630 * math/libm-test.inc (cexp_test): Add more tests.
27631 * sysdeps/i386/fpu/libm-test-ulps: Update.
27632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27633
27634 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27635
27636 * include/link.h (ELFW): New macro.
27637 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27638 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27639
27640 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27641
27642 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27643 with uint64_t.
27644
27645 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27646
27647 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27648 declaration.
27649 (struct La_x32_retval): Likewise.
27650
27651 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 * sysdeps/x86_64/preconfigure.in: New file.
27654 * sysdeps/x86_64/preconfigure: New generated file.
27655
27656 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27657
27658 [BZ #13824]
27659 * math/e_exp2l.c: Include <float.h>.
27660 (__ieee754_exp2l): Handle overflow and underflow cases
27661 separately. Only pass fractional part of argument to
27662 __ieee754_expl.
27663 * math/libm-test.inc (exp2_test): Add more tests.
27664
27665 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27666 negating x to take absolute value.
27667 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27668 Likewise.
27669 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27670 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27671 Likewise.
27672 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27673 computing low part if x was negated.
27674 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27675
27676 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27677
27678 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27679 la_x32_gnu_pltexit.
27680 (pltexit): Cast int_retval to ptrdiff_t.
27681 * elf/tst-auditmod3b.c: Likewise.
27682 * elf/tst-auditmod4b.c: Likewise.
27683 * elf/tst-auditmod5b.c: Likewise.
27684 * elf/tst-auditmod6b.c: Likewise.
27685 * elf/tst-auditmod6c.c: Likewise.
27686 * elf/tst-auditmod7b.c: Likewise.
27687
27688 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27689 and x32_gnu_pltexit.
27690
27691 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27692 __ELF_NATIVE_CLASS.
27693 (La_x32_regs): New macro.
27694 (La_x32_retval): Likewise.
27695 (la_x32_gnu_pltenter): New function prototype.
27696 (la_x32_gnu_pltexit): Likewise.
27697
27698 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27699
27700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27701 exponent.
27702
27703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27704
27705 * configure.in (libc_cv_cc_nofma): Check for option to disable
27706 generation of FMA instructions.
27707 * configure: Regenerate.
27708 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27709 * sysdeps/ieee754/dbl-64/Makefile: New file.
27710 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27711 Remove brandred-fma4.
27712 (CFLAGS-brandred-fma4.c): Remove.
27713 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27714 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27715 define.
27716 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27717 define.
27718
27719 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27720
27721 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27722 LLONG_MAX != LONG_MAX.
27723 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27724 (_fitoa_word): Likewise.
27725 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27726 LLONG_MAX != LONG_MAX.
27727 * stdio-common/_itowa.h: Include <_itoa.h>.
27728 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27729 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27730 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27731 only if not defined.
27732 (_ITOA_WORD_TYPE): Likewise.
27733 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27734 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27735
27736 2012-03-21 David S. Miller <davem@davemloft.net>
27737
27738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27739
27740 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27741
27742 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27743 of x86_64 when setting libc_cv_slibdir, libdir and
27744 libc_cv_localedir.
27745 * sysdeps/unix/sysv/linux/configure: Regenerated.
27746
27747 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27748
27749 * manual/lang.texi (Old Varargs): Remove section.
27750 (How Variadic): Update menu.
27751 (va_start): Do not mention varargs.h.
27752
27753 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27754 Joseph Myers <joseph@codesourcery.com>
27755
27756 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27757 link test.
27758 * configure: Regenerated.
27759
27760 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27761
27762 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27763 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27764 conformtest.pl
27765
27766 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27767
27768 * NOTES: Remove.
27769 * Makefile (files-for-dist): Remove NOTES.
27770 (NOTES): Remove rule.
27771 * README: Don't refer to NOTES.
27772 * manual/creature.texi: Don't include macros.texi.
27773 * manual/intro.texi (creature.texi): Remove comment referring to
27774 NOTES.
27775
27776 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27777 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27778 * configure: Regenerated.
27779 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27780 LIBC_TRY_CC_OPTION.
27781 (libc_cv_as_i686): Likewise.
27782 (libc_cv_cc_avx): Likewise.
27783 (libc_cv_cc_sse2avx): Likewise.
27784 (libc_cv_cc_fma4): Likewise.
27785 (libc_cv_cc_novzeroupper): Likewise.
27786 * sysdeps/i386/configure: Regenerated.
27787
27788 [BZ #13883]
27789 * sysdeps/i386/fpu/s_cexp.S: Remove.
27790 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27791 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27792 * math/libm-test.inc (cexp_test): Add more tests.
27793 * sysdeps/i386/fpu/libm-test-ulps: Update.
27794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795
27796 2012-03-21 Allan McRae <allan@archlinux.org>
27797
27798 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27799
27800 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27801
27802 [BZ #13871]
27803 * math/w_exp2.c: Do not include <float.h>.
27804 (o_threshold, u_threshold): Remove.
27805 (__exp2): Calculate result before checking finiteness and calling
27806 __kernel_standard.
27807 * math/w_exp2f.c: Likewise.
27808 * math/w_exp2l.c: Likewise.
27809 * math/libm-test.inc (exp2_test): Require overflow exception for
27810 1e6 input.
27811
27812 [BZ #3866]
27813 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27814 range of signed 64-bit integers before using fistpll. Remove
27815 checks for whether integers fit in mantissa bits.
27816 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27817 the range of signed 32-bit integers before using fistpl. Remove
27818 checks for whether integers fit in mantissa bits.
27819 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27820 (__ieee754_powl): Test for y outside the range of signed 64-bit
27821 integers before using fistpll. Reduce 64-bit values to 63-bit
27822 ones as needed.
27823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27824 divide-by-zero is raised for zero to large negative powers.
27825 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27826 (__ieee754_powl): Test for y outside the range of signed 64-bit
27827 integers before using fistpll. Reduce 64-bit values to 63-bit
27828 ones as needed.
27829 * math/libm-test.inc (pow_test): Add more tests.
27830
27831 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27832
27833 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27834 <stdio-common/_itoa.h>.
27835 * debug/segfault.c: Likewise.
27836 * elf/dl-cache.c: Likewise.
27837 * elf/dl-minimal.c: Likewise.
27838 * elf/dl-misc.c: Likewise.
27839 * elf/dl-sysdep.c: Likewise.
27840 * elf/dl-version.c: Likewise.
27841 * elf/rtld.c: Likewise.
27842 * hurd/hurdsock.c: Likewise.
27843 * hurd/lookup-retry.c: Likewise.
27844 * malloc/malloc.c: Likewise.
27845 * malloc/mtrace.c: Likewise.
27846 * nscd/nscd_getgr_r.c: Likewise.
27847 * nscd/nscd_getpw_r.c: Likewise.
27848 * nscd/nscd_getserv_r.c: Likewise.
27849 * posix/getopt_init.c: Likewise.
27850 * posix/wordexp.c: Likewise.
27851 * stdio-common/_itoa.c: Likewise.
27852 * stdio-common/printf_fphex.c: Likewise.
27853 * stdio-common/vfprintf.c: Likewise.
27854 * string/_strerror.c: Likewise.
27855 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27856 * sysdeps/i386/i686/hp-timing.h: Likewise.
27857 * sysdeps/mach/_strerror.c: Likewise.
27858 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27859 * sysdeps/mach/hurd/sethostid.c: Likewise.
27860 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27861 * sysdeps/mach/xpg-strerror.c: Likewise.
27862 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27864 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27865 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27866 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27867 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27868 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27869 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27870 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27871 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27872 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27873 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27874 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27875 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27876 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27877 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27878 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27879 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27880 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27881 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27882 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27883
27884 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27885
27886 * stdio-common/_itoa.h: Moved to ...
27887 * sysdeps/generic/_itoa.h: Here.
27888
27889 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27890
27891 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27892 instead of "_itoa.h" and "_itowa.h".
27893 * stdio-common/vfprintf.: Likewise.
27894
27895 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27896
27897 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27898 <bits/wordsize.h>.
27899 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27900 (__signbit): Likwise.
27901 (llrintf): Likwise.
27902 (llrint): Likwise.
27903
27904 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27905
27906 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27907 __WORDSIZE != 64.
27908
27909 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27910
27911 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27912 OVERFLOW_EXCEPTION_OK.
27913 * math/libm-test.inc ("Philosophy"): Update comment about
27914 exception testing.
27915 (OVERFLOW_EXCEPTION): Define.
27916 (OVERFLOW_EXCEPTION_OK): Likewise.
27917 (INVALID_EXCEPTION_OK): Renumber.
27918 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27919 (IGNORE_ZERO_INF_SIGN): Likewise.
27920 (test_exceptions): Handle FE_OVERFLOW.
27921 (exp10_test): Expect overflow exceptions.
27922 (exp2_test): Likewise.
27923 (expm1_test): Likewise.
27924 (nextafter_test): Likewise.
27925 (pow_test): Likewise.
27926 (scalbn_test): Likewise.
27927 (scalbln_test): Likewise.
27928
27929 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27930
27931 * sysdeps/x86_64/bits/atomic.h
27932 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27933 64bit integer.
27934 (atomic_exchange_acq): Likewise.
27935 (__arch_exchange_and_add_body): Likewise.
27936 (__arch_add_body): Likewise.
27937 (atomic_add_negative): Likewise.
27938 (atomic_add_zero): Likewise.
27939
27940 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27941
27942 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27943 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27944
27945 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27948 Check __x86_64__ instead of __WORDSIZE.
27949
27950 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27951
27952 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27953
27954 2012-03-19 David S. Miller <davem@davemloft.net>
27955
27956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27957
27958 * sysdeps/sparc/fpu/fenv_private.h: New file.
27959 * sysdeps/sparc/fpu/math_private.h: Use it.
27960 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27961 Remove.
27962 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27963 (libc_feholdexcept_setroundl): Remove.
27964 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27965 Remove.
27966 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27967 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27968
27969 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27970
27971 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27972 int64_t instead of long int.
27973 (INSERT_WORDS64): Likwise.
27974
27975 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27976
27977 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27978 _Unwind_GetCFA return to _Unwind_Ptr first.
27979
27980 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27981
27982 [BZ #13629]
27983 * math/s_clog.c: Include <float.h>.
27984 (__clog): Scale large or subnormal inputs.
27985 * math/s_clogf.c: Likewise.
27986 * math/s_clogl.c: Likewise.
27987 * math/s_clog10.c: Include <float.h>.
27988 (M_LOG10_2): Define.
27989 (__clog10): Scale large or subnormal inputs.
27990 * math/s_clog10f.c: Likewise.
27991 * math/s_clog10l.c: Likewise.
27992 * math/libm-test.inc (clog_test): Add more tests.
27993 (clog10_test): Likewise.
27994 * sysdeps/i386/fpu/libm-test-ulps: Update.
27995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27996
27997 [BZ #11451]
27998 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27999 x and y.
28000 * math/libm-test.inc (atan2_test): Add another test.
28001
28002 * Makerules (common-objdir-compile): Remove.
28003 * sysdeps/unix/Makefile (config-generated): Do not add
28004 $(unix-generated) to variable.
28005 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28006 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28007 Remove rule.
28008 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28009 Likewise.
28010 [generic bits/local_lim.h] (before-compile): Do not append to
28011 variable.
28012 [generic bits/local_lim.h] (common-generated): Likewise.
28013 [generic sys/param.h] (before-compile): Do not append to variable.
28014 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28015 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28016 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28017 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28018 include.
28019 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28020 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28021 [generic sys/param.h] ($(addprefix
28022 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28023 [generic sys/param.h] (common-generated): Do not append to
28024 variable.
28025 [generic sys/param.h] (sysdep_headers): Likewise.
28026 [generic bits/errno.h] (before-compile): Do not append to
28027 variable.
28028 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28029 rule.
28030 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28031 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28032 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28033 [generic bits/errno.h] (common-generated): Do not append to
28034 variable.
28035 [generic bits/ioctls.h] (before-compile): Do not append to
28036 variable.
28037 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28038 rule.
28039 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28040 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28041 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28042 rule.
28043 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28044 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28045 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28046 [generic bits/ioctls.h] (common-generated): Do not append to
28047 variable.
28048 [generic sys/syscall.h] (syscall.h): Remove variable.
28049 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28050 rule.
28051 [generic sys/syscall.h] (before-compile): Do not append to
28052 variable.
28053 [generic sys/syscall.h] (common-generated): Likewise.
28054 * sysdeps/unix/errnos-tmpl.c: Remove file.
28055 * sysdeps/unix/errnos.awk: Likewise.
28056 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28057 * sysdeps/unix/ioctls.awk: Likewise.
28058 * sysdeps/unix/mk-local_lim.c: Likewise.
28059 * sysdeps/unix/snarf-ioctls: Likewise.
28060
28061 2012-03-19 Richard Henderson <rth@twiddle.net>
28062
28063 * sysdeps/i386/fpu/fenv_private.h: New file.
28064 * sysdeps/i386/fpu/math_private.h: Use it.
28065 (math_opt_barrier, math_force_eval): Remove.
28066 (libc_feholdexcept_setround_53bit): Remove.
28067 (libc_feupdateenv_53bit): Remove.
28068 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28069 (math_opt_barrier, math_force_eval): Remove.
28070 (libc_feholdexcept): Remove.
28071 (libc_feholdexcept_setround): Remove.
28072 (libc_fetestexcept, libc_fesetenv): Remove.
28073 (libc_feupdateenv_test): Remove.
28074 (libc_feupdateenv, libc_feholdsetround): Remove.
28075 (libc_feresetround): Remove.
28076
28077 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28078 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28079
28080 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28081 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28082 (libc_feupdateenv_testl): New.
28083 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28084 (libc_feupdateenv_testf): New.
28085 (libc_feupdateenv): Use libc_feupdateenv_test.
28086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28088
28089 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28090 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28091 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28092 (libc_feresetround_noex): New.
28093 (libc_feresetround_noexf): New.
28094 (libc_feresetround_noexl): New.
28095 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28096 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28097 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28098 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28099 SET_RESTORE_ROUND.
28100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28102 (__cos): Likewise.
28103 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28104 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28105 SET_RESTORE_ROUND_NOEX.
28106 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28107 SET_RESTORE_ROUND_NOEXF.
28108 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28109 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28110 (libc_feholdsetroundf): New.
28111 (libc_feresetround, libc_feresetroundf): New.
28112
28113 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28114 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28115 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28116
28117 * sysdeps/generic/math_private.h: Include <fenv.h>.
28118 (default_libc_feholdexcept): New.
28119 (default_libc_feholdexcept_setround): New.
28120 (default_libc_fesetenv, default_libc_feupdateenv): New.
28121 (libc_feholdexcept): Only define if undefined.
28122 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28123 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28124 (libc_feholdexcept_setroundl): Likewise.
28125 (libc_feholdexcept_setround_53bit): Likewise.
28126 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28127 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28128 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28129 (libc_feupdateenv_53bit): Likewise.
28130 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28131 (libc_feholdexcept): Convert from macro to inline function.
28132 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28133 (libc_fesetenv, libc_feupdateenv): Likewise.
28134
28135 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28136 not previously defined.
28137 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28138 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28139 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28140 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28141 * sysdeps/ieee754/flt-32/math_private.h: New file.
28142 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28143 math_private.h below SET_FLOAT_WORD.
28144 (__isnan, __isinf_ns, __finite): Remove.
28145 (__isnanf, __isinf_nsf, __finitef): Remove.
28146
28147 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28148
28149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28150
28151 2012-03-17 David S. Miller <davem@davemloft.net>
28152
28153 [BZ #6471]
28154 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28155 for 2.16.
28156
28157 2012-03-16 David S. Miller <davem@davemloft.net>
28158
28159 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28160 warnings.
28161
28162 [BZ #6471]
28163 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28164 properly.
28165 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28166 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28167 sysdep_routines when subdir is sysvipc.
28168 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28169 __getshmlba helper.
28170
28171 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28172
28173 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28174
28175 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28176 [__LP64__].
28177
28178 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28179
28180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28181 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28182 (__lround): Renamed to ...
28183 (__llround): This. Replace long int with long long int.
28184 Define lround functions as aliases of llround functions.
28185 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28186
28187 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28188
28189 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28190 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28191 adresses to uintptr_t. Replace "long int" and "unsigned long
28192 int" with "greg_t" on va_arg.
28193
28194 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28195
28196 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28197 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28198
28199 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28200 Move e_machine check before EI_CLASS check. Handle x32
28201 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28202 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28203 SKIP_EM_IA_64 and include
28204 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28205
28206 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28207 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28208 (add_system_dir): New macro.
28209
28210 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28211 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28212
28213 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28214
28215 [BZ #2551]
28216 [BZ #2552]
28217 [BZ #2553]
28218 [BZ #2554]
28219 [BZ #2562]
28220 [BZ #2563]
28221 [BZ #2565]
28222 [BZ #2566]
28223 [BZ #2576]
28224 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28225 (y0): Likewise.
28226 * math/w_j0f.c (j0f): Likewise.
28227 (y0f): Likewise.
28228 * math/w_j0l.c (__j0l): Likewise.
28229 (__y0l): Likewise.
28230 * math/w_j1.c (j1): Likewise.
28231 (y1): Likewise.
28232 * math/w_j1f.c (j1f): Likewise.
28233 (y1f): Likewise.
28234 * math/w_j1l.c (__j1l): Likewise.
28235 (__y1l): Likewise.
28236 * math/w_jn.c (jn): Likewise.
28237 (yn): Likewise.
28238 * math/w_jnf.c (jnf): Likewise.
28239 (ynf): Likewise.
28240 * math/w_jnl.c (__jnl): Likewise.
28241 (__ynl): Likewise.
28242 * math/libm-test.inc (j0_test): Add more tests.
28243 (j1_test): Likewise.
28244 (jn_test): Likewise. Add trailing semicolon to existing test.
28245 (y0_test): Likewise.
28246 (y1_test): Likewise.
28247 * sysdeps/i386/fpu/libm-test-ulps: Update.
28248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28249
28250 [BZ #13851]
28251 [BZ #13854]
28252 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28253 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28254 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28256 (__tanl): Set errno for infinite argument.
28257 * sysdeps/i386/fpu/mptan.c: Remove.
28258 * sysdeps/i386/fpu/s_tan.S: Likewise.
28259 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28260 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28261 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28262 * math/libm-test.inc (tan_test): Add more tests and enable more
28263 tests for double and long double.
28264 * sysdeps/i386/fpu/libm-test-ulps: Update.
28265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28266
28267 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28268
28269 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28270 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28271
28272 2012-03-16 Roland McGrath <roland@hack.frob.com>
28273
28274 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28275 * configure.in: Use it for both main tree and add-ons.
28276 * configure: Regenerated.
28277
28278 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28281
28282 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28283
28284 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28285 in comment.
28286
28287 [BZ #13851]
28288 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28289 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28293 infinite argument.
28294 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28296 != 0 for prec == 2.
28297 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28298 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28299 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28300 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28301 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28302 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28303 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28304 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28305 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28306 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28307 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28308 * math/libm-test.inc (cos_test): Add more tests and enable more
28309 tests for long double.
28310 (sin_test): Likewise.
28311 (sincos_test): Likewise.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28314
28315 2012-03-16 David S. Miller <davem@davemloft.net>
28316
28317 * sysdeps/sparc/fpu/math_private.h: New file.
28318
28319 2012-03-15 David S. Miller <davem@davemloft.net>
28320
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28322 file.
28323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28325 file.
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28332 sysdep routines.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28334
28335 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28336 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28337
28338 * sysdeps/sparc/sparc-ifunc.h: New file.
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28340 sparc-ifunc.h
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28343 Likewise.
28344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28345 Likewise.
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28350 Likewise.
28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28356 Likewise.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28358 Likewise.
28359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28383
28384 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28385
28386 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28387 scaling.
28388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28389
28390 2012-03-15 Andreas Jaeger <aj@suse.de>
28391
28392 [BZ #13852]
28393 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28394 ieee754/flt-32 implementation for sin, cos and sincos.
28395 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28396 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28397 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28398 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28399 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28400 ieee754/flt-32 implementation for tan.
28401
28402 * math/libm-test.inc (cos_test): Enable some large input tests for
28403 float as well
28404 (sin_test): Likewise.
28405 (sincos_test): Likewise.
28406 (tan_test): Add tests for large input.
28407
28408 * sysdeps/i386/fpu/libm-test-ulps: Update.
28409
28410 2012-03-15 Andreas Jaeger <aj@suse.de>
28411
28412 [BZ #13658]
28413 * math/libm-test.inc (cos_test): Add more test cases.
28414 (sin_test): Likewise.
28415 (sincos_test): Likewise.
28416
28417 2012-03-15 Andreas Jaeger <aj@suse.de>
28418
28419 [BZ #13837]
28420 * math/libm-test.inc (cos_test): Add a test case for large input
28421 value.
28422 (sin_test): Likewise.
28423 (sincos_test): Likewise.
28424
28425 2012-03-15 Andreas Jaeger <aj@suse.de>,
28426 Joseph Myers <joseph@codesourcery.com>
28427
28428 [BZ #13658]
28429 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28430 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28431 * sysdeps/i386/fpu/branred.c: Likewise.
28432 * sysdeps/i386/fpu/dosincos.c: Likewise.
28433 * sysdeps/i386/fpu/mpa.c: Likewise.
28434 * sysdeps/i386/fpu/s_cos.S: Likewise.
28435 * sysdeps/i386/fpu/s_sin.S: Likewise.
28436 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28437 * sysdeps/i386/fpu/sincos32.c: Likewise.
28438
28439 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28440 Define.
28441 (libc_feupdateenv_53bit): Define.
28442 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28443 Define.
28444 (libc_feupdateenv_53bit): Define.
28445
28446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28447 53 bit (without extend i386 double precision).
28448
28449 * math/libm-test.inc (sincos_test): Add tests for large input.
28450 (sin): Likewise.
28451 (cos): Likewise.
28452
28453 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28454
28455 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28456
28457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28458
28459 2012-03-15 David S. Miller <davem@davemloft.net>
28460
28461 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28462 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28463 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28464 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28477 file.
28478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28480 file.
28481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28483 file.
28484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28486 file.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28489 fmin/fmax sysdep routines.
28490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28491
28492 2012-03-14 David S. Miller <davem@davemloft.net>
28493
28494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28523 routines.
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28525 file.
28526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28528 file.
28529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28531 file.
28532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28534 file.
28535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28537 file.
28538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28540 file.
28541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28542 file.
28543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28544 file.
28545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28546 file.
28547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28548 New file.
28549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28550 file.
28551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28552 file.
28553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28555 file.
28556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28558 file.
28559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28561 file.
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28564 VIS3 routines.
28565
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28567 New file.
28568
28569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28570
28571 * sysdeps/sparc/configure.in: New file.
28572 * sysdeps/sparc/configure: Generate.
28573 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28574 * configure: Regenerate.
28575 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28576 * config.make.in (have-as-vis3): New.
28577 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28578 available use -Av9d instead of -Av9a.
28579 * sysdeps/sparc/sparc64/Makefile: Likewise.
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28582 New file.
28583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28584 file.
28585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28586 New file.
28587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28588 file.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28594
28595 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28596 fzeros/fnegs to load 0x80000000 into a float register instead of
28597 using the stack.
28598 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28599
28600 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28601
28602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28603 bits/syscall.h.
28604 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28605 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28606 ($(inst_includedir)/bits/syscall.h): Remove rule.
28607 ($(objpfx)bits/syscall.d): Include instead of
28608 $(objpfx)syscall-list.d.
28609 (generated): Change syscall-list.h and syscall-list.d to
28610 bits/syscall.h and bits/syscall.d.
28611
28612 2012-03-14 Roland McGrath <roland@hack.frob.com>
28613
28614 [BZ #13846]
28615 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28616
28617 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28618
28619 [BZ #13841]
28620 * math/s_csqrt.c: Include <float.h>.
28621 (__csqrt): Scale large or subnormal inputs.
28622 * math/s_csqrtf.c: Likewise.
28623 * math/s_csqrtl.c: Likewise.
28624 * math/libm-test.inc (csqrt_test): Add more tests.
28625 * sysdeps/i386/fpu/libm-test-ulps: Update.
28626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28627
28628 [BZ #13840]
28629 * math/libm-test.inc (hypot_test): Add more tests.
28630
28631 2012-03-13 David S. Miller <davem@davemloft.net>
28632
28633 [BZ #13840]
28634 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28635 double-precision for the calculation instead of scaling.
28636
28637 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28638
28639 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28640 manipulate bits before adding and subtracting TWO52[sx].
28641 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28642 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28643 Likewise.
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28645
28646 2012-03-13 David S. Miller <davem@davemloft.net>
28647
28648 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28649 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28651 rtld-global-offsets.h
28652 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28653
28654 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28655 large parameters.
28656
28657 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28658
28659 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28660 'err' in the ifdef scope in which it is actually used.
28661
28662 * nss/nss_db/db-init.c: Include string.h
28663
28664 2012-03-12 David S. Miller <davem@davemloft.net>
28665
28666 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28667 masking out of the most significant byte of random value used.
28668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28669 Fix coding style in previous change.
28670
28671 * sysdeps/unix/sysv/linux/kernel-features.h
28672 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28673 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28674 expression.
28675 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28676 later.
28677
28678 2012-03-11 David S. Miller <davem@davemloft.net>
28679
28680 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28681 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28683 for 'resultvar' otherwise things get truncated on 64-bit.
28684
28685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28686 Fix masking out of the most significant byte of random value used.
28687
28688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28689
28690 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28691
28692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28693
28694 2012-03-09 David S. Miller <davem@davemloft.net>
28695
28696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28697 variables with appropriate CPP guards.
28698 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28699 frame pointer, not the stack pointer. Correct layout comments. Fix test
28700 on resulting framesize and the management of the outregs buffer for pltexit.
28701 Preserve floating point return values across _dl_call_pltexit call.
28702 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28703 framesize and the management of the outregs buffer for pltexit.
28704 Preserve floating point return values across _dl_call_pltexit
28705 call.
28706 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28707 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28708 (print_exit): Fix format string for return register value.
28709
28710 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28711
28712 * sunrpc/Makefile (others): Add rpcgen.
28713 ($(objpfx)rpcgen): Remove special build rule and dependency on
28714 libc.
28715 * sunrpc/rpcgen.c: New file.
28716
28717 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28718
28719 [BZ #13673]
28720 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28721 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28722 * sysdeps/i386/crti.S: Likewise.
28723 * sysdeps/i386/crtn.S: Likewise.
28724 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28725 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28726 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28727 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28728 * sysdeps/sh/crti.S: Likewise.
28729 * sysdeps/sh/crtn.S: Likewise.
28730 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28731
28732 [BZ #13673]
28733 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28734 with URL.
28735 * locale/programs/locfile-kw.gperf: Likewise.
28736 * locale/programs/charmap-kw.h: Regenerated.
28737 * locale/programs/locfile-kw.h: Likewise.
28738
28739 [BZ #13673]
28740 * intl/plural.y: Replace FSF snail mail address with URL.
28741 * intl/plural.c: Regenerated.
28742
28743 2012-03-09 Richard Henderson <rth@twiddle.net>
28744
28745 * include/math_private.h: Remove file.
28746 * math/math_private.h: Move file ...
28747 * sysdeps/generic/math_private.h: ... here.
28748
28749 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28750 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28752
28753 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28754 and <math_private.h>.
28755 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28756 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28757 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28758 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28759 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28788 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28795 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28798 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28843 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28849 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28850 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28852 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28855 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28856 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28857 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28858 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28860 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28861 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28862 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28863 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28865 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28866 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28867 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28868 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28869 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28870 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28872 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28873 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28874 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28875 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28876 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28878 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28881 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28882 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28883 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28884 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28885 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28887 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28888 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28889 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28890 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28892 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28893 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28894 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28896 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28897 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28898 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28899 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28900 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28901 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28902 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28903 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28904 * sysdeps/ieee754/k_standard.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28906 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28908 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28909 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28910 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29024 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29025 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29027 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29032 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29037 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29053 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29054 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29065 * sysdeps/ieee754/s_lib_version.c: Likewise.
29066 * sysdeps/ieee754/s_matherr.c: Likewise.
29067 * sysdeps/ieee754/s_signgam.c: Likewise.
29068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29070 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29071 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29073 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29074 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29075 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29076 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29077 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29078 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29079 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29082 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29083 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29084 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29089
29090 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29091
29092 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29093 * sunrpc/rpc_main.c: Likewise.
29094 * sunrpc/rpc_svcout.c: Likewise.
29095
29096 2012-03-09 David S. Miller <davem@davemloft.net>
29097
29098 * include/math_private.h: New file.
29099
29100 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29101
29102 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29103 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29104 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29105 from <bits/socket_type.h>.
29106 (enum __socket_type): Don't define here.
29107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29109 bits/socket_type.h.
29110
29111 [BZ #13566]
29112 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29113 checking __USE_GNU.
29114
29115 * Makerules ($(inst_includedir)/%.h): New rule.
29116 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29117 (install-others): Remove variable setting.
29118 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29119
29120 2012-03-08 Richard Henderson <rth@twiddle.net>
29121
29122 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29123 from macro to inline function; merge with the
29124 !__LIBC_INTERNAL_MATH_INLINES version.
29125 (__ieee754_sqrtf): Likewise.
29126
29127 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29128 to inline function.
29129 (__rintf, __floor, __floorf): Likewise.
29130
29131 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29132 macro to inline function.
29133 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29134
29135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29136 not <math/math_private.h>.
29137
29138 2012-03-08 David S. Miller <davem@davemloft.net>
29139
29140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29141 copyright year.
29142 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29143
29144 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29145
29146 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29147 normalization.
29148 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29149 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29150
29151 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29152
29153 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29154 be defined individually, they must be defined as a block. Define
29155 S for printing a string instead of hidint the different by using a
29156 macro for adding the 'l'.
29157 * stdio-common/tst-fphex-wide.c: Adjust.
29158
29159 2012-03-07 Marek Polacek <polacek@redhat.com>
29160
29161 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29162
29163 2012-03-08 Marek Polacek <polacek@redhat.com>
29164
29165 [BZ #13806]
29166 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29167 * stdio-common/tst-fphex.c: Define a few macros to make the
29168 test reusable. Use them.
29169 * stdio-common/tst-fphex-wide.c: New file.
29170
29171 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29172
29173 [BZ #6911]
29174 * manual/macros.texi (gnusystems): New macro.
29175 (nongnusystems): Likewise.
29176 (gnulinuxhurdsystems): Likewise.
29177 (gnuhurdsystems): Likewise..
29178 (gnulinuxsystems): Likewise.
29179 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29180 variants of the GNU system, not "GNU system".
29181 * manual/conf.texi: Likewise.
29182 * manual/errno.texi: Likewise. Update example of errno macro
29183 expansion.
29184 * manual/filesys.texi: Likewise.
29185 (getumask): Document as specific to GNU/Hurd.
29186 * manual/install.texi: Likewise. Reword some references to
29187 GNU/Linux.
29188 * manual/intro.texi: Likewise.
29189 * manual/io.texi: Likewise.
29190 (File Name Portability): Detail which constraints are inapplicable
29191 to all GNU systems and which are only inapplicable to GNU/Hurd.
29192 * manual/job.texi: Likewise.
29193 * manual/llio.texi: Likewise.
29194 (O_NOCTTY): Document as present on GNU/Linux.
29195 * manual/maint.texi: Likewise.
29196 * manual/memory.texi: Likewise.
29197 * manual/pattern.texi: Likewise.
29198 * manual/pipe.texi: Likewise.
29199 * manual/process.texi: Likewise.
29200 * manual/resource.texi: Likewise.
29201 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29202 child on GNU/Hurd.
29203 * manual/setjmp.texi: Likewise.
29204 * manual/signal.texi: Likewise.
29205 * manual/startup.texi: Likewise.
29206 * manual/stdio.texi: Likewise.
29207 * manual/terminal.texi: Likewise.
29208 (ONLCR): Document as POSIX.
29209 (OXTABS): Document availability on GNU/Linux as XTABS.
29210 (ONOEOT): Document availability separately from other bits.
29211 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29212 * manual/time.texi: Likewise.
29213 * manual/users.texi: Likewise.
29214 * INSTALL: Regenerated.
29215 * sysdeps/gnu/errlist.c: Regenerated.
29216
29217 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29218 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29219 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29220 puts.
29221 * configure: Regenerated.
29222
29223 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29224
29225 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29226 default includes instead of AC_HEADER_CHECK.
29227 * sysdeps/i386/configure: Regenerated.
29228
29229 [BZ #10716]
29230 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29231 * math/s_cacoshf.c (__cacoshf): Likewise.
29232 * math/s_cacoshl.c (__cacoshl): Likewise.
29233 * math/s_casinh.c (__casinh): Set signs of result from argument.
29234 * math/s_casinhf.c (__casinhf): Likewise.
29235 * math/s_casinhl.c (__casinhl): Likewise.
29236 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29237 (casinh_test): Add more tests.
29238 * sysdeps/i386/fpu/libm-test-ulps: Update.
29239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29240
29241 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29242
29243 * po/zh_TW.po: Update from translation team.
29244
29245 * login/Makefile (distribute): Remove variable.
29246 * catgets/Makefile: Likewise.
29247 * mach/Makefile: Likewise.
29248 * malloc/Makefile: Likewise.
29249 * misc/Makefile: Likewise.
29250 * iconv/Makefile: Likewise.
29251 * nscd/Makefile: Likewise.
29252 * hurd/Makefile: Likewise.
29253 * manual/Makefile: Likewise.
29254 * locale/Makefile: Likewise.
29255 * intl/Makefile: Likewise.
29256 * conform/Makefile: Likewise.
29257 * nss/Makefile: Likewise.
29258 * time/Makefile: Likewise.
29259 * soft-fp/Makefile: Likewise.
29260 * dirent/Makefile: Likewise.
29261 * gmon/Makefile: Likewise.
29262 * po/Makefile: Likewise.
29263 * rt/Makefile: Likewise.
29264 * socket/Makefile: Likewise.
29265 * math/Makefile: Likewise.
29266 * signal/Makefile: Likewise.
29267 * debug/Makefile: Likewise.
29268 * elf/Makefile: Likewise.
29269 * timezone/Makefile: Likewise.
29270 * stdlib/Makefile: Likewise.
29271 * iconvdata/Makefile: Likewise.
29272 * sunrpc/Makefile: Likewise.
29273 * io/Makefile: Likewise.
29274 * argp/Makefile: Likewise.
29275 * inet/Makefile: Likewise.
29276 * hesiod/Makefile: Likewise.
29277 * grp/Makefile: Likewise.
29278 * csu/Makefile: Likewise.
29279 * wctype/Makefile: Likewise.
29280 * crypt/Makefile: Likewise.
29281 * libio/Makefile: Likewise.
29282 * string/Makefile: Likewise.
29283 * nis/Makefile: Likewise.
29284 * resolv/Makefile: Likewise.
29285 * stdio-common/Makefile: Likewise.
29286 * wcsmbs/Makefile: Likewise.
29287 * dlfcn/Makefile: Likewise.
29288 * posix/Makefile: Likewise.
29289
29290 [BZ #6959]
29291 * timezone/Makefile: Don't install timezone files, just the programs
29292 and scripts.
29293
29294 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29295
29296 * nss/databases.def: Add missing gshadow entry.
29297
29298 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29299
29300 2012-03-06 Marek Polacek <polacek@redhat.com>
29301
29302 [BZ #13726]
29303 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29304 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29305 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29306 * stdio-common/tst-long-dbl-fphex.c: New file.
29307
29308 2012-03-06 David S. Miller <davem@davemloft.net>
29309
29310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29311 (set_obp_int): New function.
29312 (get_obp_int): New function.
29313 (__get_clockfreq_via_dev_openprom): Likewise.
29314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29315 Avoid unused variable warnings on 'val' and use builtin_expect.
29316 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29317 __builtin_expect.
29318 (INLINE_CLONE_SYSCALL): Likewise.
29319
29320 2012-03-05 David S. Miller <davem@davemloft.net>
29321
29322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29323
29324 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29325
29326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29327
29328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29329 only for |x| >= 40.
29330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29331
29332 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29333
29334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29335 Replace gettimeofday with __vdso_gettimeofday.
29336
29337 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29338 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29339 __vdso_clock_gettime and __vdso_getcpu.
29340
29341 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29342 time with __vdso_time.
29343
29344 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29345
29346 * manual/lang.texi (size_t): Note types to which size_t may be
29347 equivalent with the GNU C Library, but do not describe when
29348 differences between them are significant.
29349
29350 2012-03-05 Andreas Jaeger <aj@suse.de>
29351
29352 * sysdeps/i386/fpu/libm-test-ulps: Update.
29353
29354 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29355
29356 [BZ #3976]
29357 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29358 (__ieee754_pow): Save and restore rounding mode and use
29359 round-to-nearest for main computations.
29360 * math/libm-test.inc (pow_test_tonearest): New function.
29361 (pow_test_towardzero): Likewise.
29362 (pow_test_downward): Likewise.
29363 (pow_test_upward): Likewise.
29364 (main): Call the new functions.
29365 * sysdeps/i386/fpu/libm-test-ulps: Update.
29366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29367
29368 [BZ #3976]
29369 * math/libm-test.inc (cosh_test_tonearest): New function.
29370 (cosh_test_towardzero): Likewise.
29371 (cosh_test_downward): Likewise.
29372 (cosh_test_upward): Likewise.
29373 (sinh_test_tonearest): Likewise.
29374 (sinh_test_towardzero): Likewise.
29375 (sinh_test_downward): Likewise.
29376 (sinh_test_upward): Likewise.
29377 (main): Call the new functions.
29378 * sysdeps/i386/fpu/libm-test-ulps: Update.
29379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29380
29381 2012-03-05 Tom de Vries <tom@codesourcery.com>
29382
29383 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29384 default stack guard is set in last bytes.
29385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29386
29387 2012-03-05 Kees Cook <keescook@chromium.org>
29388
29389 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29390
29391 [BZ #13656]
29392 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29393 possibly allocate from heap instead of stack.
29394 * stdio-common/bug-vfprintf-nargs.c: New file.
29395 * stdio-common/Makefile (tests): Add nargs overflow test.
29396
29397 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29398
29399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29400
29401 2012-03-03 Marek Polacek <polacek@redhat.com>
29402
29403 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29404 * math/math_private.h: Likewise.
29405 * stdlib/tst-strtod.c: Likewise.
29406 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29407 * sysdeps/x86_64/bits/atomic.h: Likewise.
29408
29409 2012-03-02 David S. Miller <davem@davemloft.net>
29410
29411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29415 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29416 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29417 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29418 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29419
29420 2012-03-02 Roland McGrath <roland@hack.frob.com>
29421
29422 [BZ #13792]
29423 * manual/examples/README: New file, says the example source files
29424 can be used under GPL>=2.
29425 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29426 line containing just "*/".
29427 * manual/examples/add.c: Add copyright header (GPL>=2).
29428 * manual/examples/argp-ex1.c: Likewise.
29429 * manual/examples/argp-ex2.c: Likewise.
29430 * manual/examples/argp-ex3.c: Likewise.
29431 * manual/examples/argp-ex4.c: Likewise.
29432 * manual/examples/atexit.c: Likewise.
29433 * manual/examples/db.c: Likewise.
29434 * manual/examples/dir.c: Likewise.
29435 * manual/examples/dir2.c: Likewise.
29436 * manual/examples/execinfo.c: Likewise.
29437 * manual/examples/filecli.c: Likewise.
29438 * manual/examples/filesrv.c: Likewise.
29439 * manual/examples/fmtmsgexpl.c: Likewise.
29440 * manual/examples/genpass.c: Likewise.
29441 * manual/examples/inetcli.c: Likewise.
29442 * manual/examples/inetsrv.c: Likewise.
29443 * manual/examples/isockad.c: Likewise.
29444 * manual/examples/longopt.c: Likewise.
29445 * manual/examples/memopen.c: Likewise.
29446 * manual/examples/memstrm.c: Likewise.
29447 * manual/examples/mkfsock.c: Likewise.
29448 * manual/examples/mkisock.c: Likewise.
29449 * manual/examples/mygetpass.c: Likewise.
29450 * manual/examples/pipe.c: Likewise.
29451 * manual/examples/popen.c: Likewise.
29452 * manual/examples/rprintf.c: Likewise.
29453 * manual/examples/search.c: Likewise.
29454 * manual/examples/select.c: Likewise.
29455 * manual/examples/setjmp.c: Likewise.
29456 * manual/examples/sigh1.c: Likewise.
29457 * manual/examples/sigusr.c: Likewise.
29458 * manual/examples/stpcpy.c: Likewise.
29459 * manual/examples/strdupa.c: Likewise.
29460 * manual/examples/strftim.c: Likewise.
29461 * manual/examples/strncat.c: Likewise.
29462 * manual/examples/subopt.c: Likewise.
29463 * manual/examples/swapcontext.c: Likewise.
29464 * manual/examples/termios.c: Likewise.
29465 * manual/examples/testopt.c: Likewise.
29466 * manual/examples/testpass.c: Likewise.
29467 * manual/examples/timeval_subtract.c: Likewise.
29468
29469 [BZ #13792]
29470 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29471 function to ...
29472 * manual/timeval_subtract.c.texi: ... here, new file.
29473
29474 2012-03-02 David S. Miller <davem@davemloft.net>
29475
29476 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29477
29478 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29479
29480 [BZ #3976]
29481 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29482 (__sin): Save and restore rounding mode and use round-to-nearest
29483 for all computations.
29484 (__cos): Save and restore rounding mode and use round-to-nearest
29485 for all computations.
29486 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29487 <fenv.h>.
29488 (tan): Save and restore rounding mode and use round-to-nearest for
29489 all computations.
29490 * math/libm-test.inc (cos_test_tonearest): New function.
29491 (cos_test_towardzero): Likewise.
29492 (cos_test_downward): Likewise.
29493 (cos_test_upward): Likewise.
29494 (sin_test_tonearest): Likewise.
29495 (sin_test_towardzero): Likewise.
29496 (sin_test_downward): Likewise.
29497 (sin_test_upward): Likewise.
29498 (tan_test_tonearest): Likewise.
29499 (tan_test_towardzero): Likewise.
29500 (tan_test_downward): Likewise.
29501 (tan_test_upward): Likewise.
29502 (main): Call the new functions.
29503 * sysdeps/i386/fpu/libm-test-ulps: Update.
29504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29505
29506 [BZ #10135]
29507 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29508 small n, then large n, before computing and testing k+n.
29509 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29511 Likewise.
29512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29513 Likewise.
29514 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29515 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29522 * math/libm-test.inc (scalbn_test): Add more tests.
29523 (scalbln_test): Likewise.
29524
29525 * manual/filesys.texi (mode_t): Describe constraints on size and
29526 signedness, not exact equivalence to a particular type.
29527 (ino_t): Likewise.
29528 (ino64_t): Likewise.
29529 (dev_t): Likewise.
29530 (nlink_t): Likewise.
29531 (blkcnt_t): Likewise.
29532 (blkcnt64_t): Likewise.
29533 * manual/llio.texi (off_t): Likewise.
29534
29535 [BZ #3976]
29536 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29537 (__ieee754_exp): Save and restore rounding mode and use
29538 round-to-nearest for all computations.
29539 * math/libm-test.inc (exp_test_tonearest): New function.
29540 (exp_test_towardzero): Likewise.
29541 (exp_test_downward): Likewise.
29542 (exp_test_upward): Likewise.
29543 (main): Call the new functions.
29544 * sysdeps/i386/fpu/libm-test-ulps: Update.
29545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29546
29547 2012-03-01 Chris Demetriou <cgd@google.com>
29548
29549 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29550 have predictable order.
29551
29552 2012-03-01 David S. Miller <davem@davemloft.net>
29553
29554 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29555
29556 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29557 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29558 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29559 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29560
29561 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29562 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29563 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29565 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29566 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29567 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29568 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29569 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29570
29571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29572
29573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29574 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29575 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29576
29577 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29578 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29579 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29580 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29581 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29582 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29585 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29586 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29587 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29591 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29593 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29594 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29595 * sysdeps/sparc/elf/configure: Regenerated.
29596
29597 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29598
29599 * configure.in (AS, LD): Require binutils 2.20 or later.
29600 * configure: Regenerated.
29601 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29602 as required minimum version.
29603 * INSTALL: Regenerated.
29604
29605 [BZ #2541]
29606 [BZ #4108]
29607 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29608 before squaring exponent.
29609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29610 bottom long double and 27 bits of top long double before squaring
29611 exponent.
29612 * math/libm-test.inc (erfc_test): Add more tests.
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29616
29617 2012-03-01 Kai Tietz <ktietz@redhat.com>
29618
29619 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29620 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29621 containing bit-fields.
29622 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29623 * soft-fp/single.h (_FP_UNION_S): Likewise.
29624 * soft-fp/double.h (_FP_UNION_D): Likewise.
29625
29626 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29627
29628 [BZ #13786]
29629 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29630 not include ../strcmp.S.
29631 [USE_AS_STRNCASECMP_L]: Likewise.
29632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29633 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29634 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29635 (__strncasecmp_l_ia32): Define as alias to
29636 __strncasecmp_l_nonascii.
29637
29638 [BZ #5794]
29639 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29640 * sysdeps/i386/fpu/libm-test-ulps: Update.
29641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29642
29643 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29645
29646 2012-02-29 Jeff Law <law@redhat.com>
29647
29648 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29649 out of bounds read.
29650
29651 2012-02-29 Marek Polacek <polacek@redhat.com>
29652
29653 [BZ #13706]
29654 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29655 * elf/Makefile: Add rules to run tst-unused-dep.out.
29656
29657 2012-02-28 David S. Miller <davem@davemloft.net>
29658
29659 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29660 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29663 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29664 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29665
29666 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29667
29668 * math/libm-test.inc (llround_test): Move one test from
29669 lround_test. Use TEST_f_L in moved test.
29670 (lround_test): Move misplaced test to llround_test. Add testcase
29671 from bug 2561.
29672
29673 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29674
29675 * sysdeps/x86_64/fpu/e_expf.S: New file.
29676 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29677
29678 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29679
29680 [BZ #13637]
29681 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29682 of remain_len that may cause incomplete multi-byte character and
29683 false match.
29684 * posix/bug-regex33.c: New file.
29685 * posix/Makefile (tests): Add bug-regex33.
29686
29687 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29688
29689 * manual/macros.texi: New file.
29690 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29691 * manual/libc.texinfo: Include macros.texi.
29692 * manual/creatute.texi: Likewise.
29693 * manual/install.texi: Likewise.
29694 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29695 @glibcadj{} in references to the GNU C Library.
29696 * manual/charset.texi: Likewise.
29697 * manual/conf.texi: Likewise.
29698 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29699 when not using those macros.
29700 * manual/creature.texi: Likewise.
29701 * manual/crypt.texi: Likewise.
29702 * manual/errno.texi: Likewise.
29703 * manual/filesys.texi: Likewise.
29704 * manual/header.texi: Likewise.
29705 * manual/install.texi: Likewise.
29706 * manual/intro.texi: Likewise.
29707 * manual/io.texi: Likewise.
29708 * manual/job.texi: Likewise.
29709 * manual/lang.texi: Likewise.
29710 * manual/libc.texiinfo: Likewise.
29711 * manual/llio.texi: Likewise.
29712 * manual/locale.texi: Likewise.
29713 * manual/maint.texi: Likewise.
29714 * manual/math.texi: Likewise.
29715 * manual/memory.texi: Likewise.
29716 * manual/message.texi: Likewise.
29717 * manual/nss.texi: Likewise.
29718 * manual/pattern.texi: Likewise.
29719 * manual/process.texi: Likewise.
29720 * manual/resource.texi: Likewise.
29721 * manual/search.texi: Likewise.
29722 * manual/setjmp.texi: Likewise.
29723 * manual/signal.texi: Likewise.
29724 * manual/socket.texi: Likewise.
29725 * manual/startup.texi: Likewise.
29726 * manual/stdio.texi: Likewise.
29727 * manual/string.texi: Likewise.
29728 * manual/sysinfo.texi: Likewise.
29729 * manual/syslog.texi: Likewise.
29730 * manual/terminal.texi: Likewise.
29731 * manual/time.texi: Likewise.
29732 * manual/users.texi: Likewise.
29733 * INSTALL: Regenerated.
29734 * NOTES: Regenerated.
29735 * sysdeps/gnu/errlist.c: Regenerated.
29736
29737 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29738
29739 * include/dirent.h: Include <dirstream.h> before
29740 <dirent/dirent.h>.
29741
29742 2012-02-28 David S. Miller <davem@davemloft.net>
29743
29744 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29745 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29746 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29747 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29748
29749 2012-02-27 David S. Miller <davem@davemloft.net>
29750
29751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29753 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29754 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29755
29756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29757 frame pointer instead of stack pointer relative arg slot.
29758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29761
29762 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29763
29764 [BZ #3992]
29765 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29766
29767 2012-02-27 David S. Miller <davem@davemloft.net>
29768
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29775 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29777
29778 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29779
29780 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29781 later. Allow versions 5-9.
29782 * configure: Regenerated.
29783 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29784 required minimum version and 4.6 as recommended version. Do not
29785 mention bugs in GCC 2.7 and 2.8.
29786 * INSTALL: Regenerated.
29787
29788 2012-02-27 David S. Miller <davem@davemloft.net>
29789
29790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29796 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29798
29799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29800 manipulate bits before adding and subtracting TWO112[sx].
29801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29802
29803 2012-02-27 Roland McGrath <roland@hack.frob.com>
29804
29805 [BZ #13775]
29806 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29807 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29808 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29809 being in POSIX, because they are in 1003.1-2008.
29810
29811 * rt/tst-aio.c: Include <fcntl.h>.
29812 * rt/tst-aio7.c: Likewise.
29813 * rt/tst-aio64.c: Likewise.
29814
29815 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29816
29817 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29818
29819 * manual/install.texi (--with-headers): Describe headers as
29820 interface headers, not private headers.
29821 (Specific advice for GNU/Linux systems): Describe use of headers
29822 from "make headers_install", not private headers from older
29823 kernels.
29824 * INSTALL: Regenerated.
29825 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29826 Change to 2.6.19.
29827 * sysdeps/unix/sysv/linux/configure: Regenerated.
29828
29829 * manual/llio.texi (fclean): Remove documentation.
29830
29831 * manual/Makefile (libc-texi-generated): New variable. Include
29832 version.texi.
29833 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29834 $(libc-texi-generated), not duplicated list of files.
29835 (version.texi, stamp-version): New rules.
29836 (realclean): Remove $(libc-texi-generated), not individual files
29837 from that list. Do not remove dir-add.texinfo.
29838 * manual/libc.texinfo: Comment out uses of edition numbers and
29839 references to printed manual. Remove last-updated dates.
29840 (EDITION): Comment out.
29841 (ISBN): Likewise.
29842 (VERSION, UPDATED): Remove.
29843 (version.texi): Include.
29844
29845 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29846
29847 * sysdeps/posix/spawni.c: Include <signal.h>.
29848 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29849 * sysdeps/pthread/aio_fsync.c: Likewise.
29850
29851 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29852
29853 * conform/Makefile (tests): Run only when not cross-compiling and
29854 when fast-check is not defined.
29855
29856 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29857 * conform/data/limits.h-data: Fixes for POSIX2008.
29858 * conform/run-conformtest.sh: Run all tests.
29859 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29860 headers.
29861 * include/bits/dlfcn.h: Likewise.
29862 * include/langinfo.h: Likewise.
29863 * include/monetary.h: Likewise.
29864 * include/sys/poll.h: Likewise.
29865
29866 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29867 for __USE_GNU.
29868 * posix/spawn.h: Define __need_sigset_t.
29869 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29870 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29871 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29872 to get sigevent_t only.
29873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29874 only for __USE_GNU.
29875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29877 process_vm_writev only for __USE_GNU.
29878 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29879
29880 * conform/Makefile: For now ignore errors from run-conformtest.
29881 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29882 POSIX to avoid namespace pollution. Don't prepend headers.
29883 * conform/data/aio.h-data: Fixes for POSIX testing.
29884 * conform/data/fcntl.h-data: Likewise.
29885 * conform/data/glob.h-data: Likewise.
29886 * conform/data/grp.h-data: Likewise.
29887 * conform/data/pthread.h-data: Likewise.
29888 * conform/data/pwd.h-data: Likewise.
29889 * conform/data/signal.h-data: Likewise.
29890 * conform/data/spawn.h-data: Likewise.
29891 * conform/data/stdio.h-data: Likewise.
29892 * conform/data/stdlib.h-data: Likewise.
29893 * conform/data/stropts.h-data: Likewise.
29894 * conform/data/sys/mman.h-data: Likewise.
29895 * conform/data/sys/stat.h-data: Likewise.
29896 * conform/data/sys/types.h-data: Likewise.
29897 * conform/data/sys/wait.h-data: Likewise.
29898 * conform/data/time.h-data: Likewise.
29899 * conform/data/unistd.h-data: Likewise.
29900 * conform/data/utime.h-data: Likewise.
29901
29902 * io/sys/stat.h: fchmod was always in POSIX.
29903 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29904 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29905 * rt/aio.h: Define __need_timespec before including <time.h>.
29906 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29907 struct. Add forward declaration of pthread_attr_t and use it in
29908 sigevent.
29909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29911 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29912 always remove CLK_TCK definition.
29913
29914 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29915
29916 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29917
29918 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29919
29920 * conform/run-conformtest.sh: New file.
29921 * conform/Makefile: Run run-conformtest for tests.
29922 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29923 support.
29924
29925 * conform/data/uchar.h-data: New file.
29926 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29927 * conform/data/arpa/inet.h-data: Likewise.
29928 * conform/data/assert.h-data: Likewise.
29929 * conform/data/complex.h-data: Likewise.
29930 * conform/data/cpio.h-data: Likewise.
29931 * conform/data/ctype.h-data: Likewise.
29932 * conform/data/dirent.h-data: Likewise.
29933 * conform/data/dlfcn.h-data: Likewise.
29934 * conform/data/errno.h-data: Likewise.
29935 * conform/data/fcntl.h-data: Likewise.
29936 * conform/data/float.h-data: Likewise.
29937 * conform/data/fmtmsg.h-data: Likewise.
29938 * conform/data/fnmatch.h-data: Likewise.
29939 * conform/data/ftw.h-data: Likewise.
29940 * conform/data/glob.h-data: Likewise.
29941 * conform/data/grp.h-data: Likewise.
29942 * conform/data/iconv.h-data: Likewise.
29943 * conform/data/inttypes.h-data: Likewise.
29944 * conform/data/langinfo.h-data: Likewise.
29945 * conform/data/libgen.h-data: Likewise.
29946 * conform/data/limits.h-data: Likewise.
29947 * conform/data/locale.h-data: Likewise.
29948 * conform/data/math.h-data: Likewise.
29949 * conform/data/monetary.h-data: Likewise.
29950 * conform/data/mqueue.h-data: Likewise.
29951 * conform/data/ndbm.h-data: Likewise.
29952 * conform/data/net/if.h-data: Likewise.
29953 * conform/data/netdb.h-data: Likewise.
29954 * conform/data/netinet/in.h-data: Likewise.
29955 * conform/data/nl_types.h-data: Likewise.
29956 * conform/data/poll.h-data: Likewise.
29957 * conform/data/pthread.h-data: Likewise.
29958 * conform/data/pwd.h-data: Likewise.
29959 * conform/data/regex.h-data: Likewise.
29960 * conform/data/sched.h-data: Likewise.
29961 * conform/data/search.h-data: Likewise.
29962 * conform/data/semaphore.h-data: Likewise.
29963 * conform/data/setjmp.h-data: Likewise.
29964 * conform/data/signal.h-data: Likewise.
29965 * conform/data/spawn.h-data: Likewise.
29966 * conform/data/stdarg.h-data: Likewise.
29967 * conform/data/stdio.h-data: Likewise.
29968 * conform/data/stdlib.h-data: Likewise.
29969 * conform/data/string.h-data: Likewise.
29970 * conform/data/strings.h-data: Likewise.
29971 * conform/data/stropts.h-data: Likewise.
29972 * conform/data/sys/ipc.h-data: Likewise.
29973 * conform/data/sys/mman.h-data: Likewise.
29974 * conform/data/sys/msg.h-data: Likewise.
29975 * conform/data/sys/resource.h-data: Likewise.
29976 * conform/data/sys/select.h-data: Likewise.
29977 * conform/data/sys/sem.h-data: Likewise.
29978 * conform/data/sys/shm.h-data: Likewise.
29979 * conform/data/sys/socket.h-data: Likewise.
29980 * conform/data/sys/stat.h-data: Likewise.
29981 * conform/data/sys/statvfs.h-data: Likewise.
29982 * conform/data/sys/time.h-data: Likewise.
29983 * conform/data/sys/timeb.h-data: Likewise.
29984 * conform/data/sys/times.h-data: Likewise.
29985 * conform/data/sys/types.h-data: Likewise.
29986 * conform/data/sys/uio.h-data: Likewise.
29987 * conform/data/sys/un.h-data: Likewise.
29988 * conform/data/sys/utsname.h-data: Likewise.
29989 * conform/data/sys/wait.h-data: Likewise.
29990 * conform/data/syslog.h-data: Likewise.
29991 * conform/data/tar.h-data: Likewise.
29992 * conform/data/termios.h-data: Likewise.
29993 * conform/data/utime.h-data: Likewise.
29994 * conform/data/utmpx.h-data: Likewise.
29995 * conform/data/varargs.h-data: Likewise.
29996 * conform/data/wchar.h-data: Likewise.
29997 * conform/data/wctype.h-data: Likewise.
29998 * conform/data/wordexp.h-data: Likewise.
29999
30000 * include/stropts.h: New file.
30001 * include/uchar.h: New file.
30002 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30003 * include/assert.h: Likewise.
30004 * include/ctype.h: Likewise.
30005 * include/dirent.h: Likewise.
30006 * include/dlfcn.h: Likewise.
30007 * include/fcntl.h: Likewise.
30008 * include/fnmatch.h: Likewise.
30009 * include/glob.h: Likewise.
30010 * include/grp.h: Likewise.
30011 * include/libio.h: Likewise.
30012 * include/locale.h: Likewise.
30013 * include/math.h: Likewise.
30014 * include/net/if.h: Likewise.
30015 * include/netdb.h: Likewise.
30016 * include/netinet/in.h: Likewise.
30017 * include/pthread.h: Likewise.
30018 * include/pwd.h: Likewise.
30019 * include/regex.h: Likewise.
30020 * include/sched.h: Likewise.
30021 * include/search.h: Likewise.
30022 * include/setjmp.h: Likewise.
30023 * include/signal.h: Likewise.
30024 * include/stdio.h: Likewise.
30025 * include/stdlib.h: Likewise.
30026 * include/string.h: Likewise.
30027 * include/sys/cdefs.h: Likewise.
30028 * include/sys/mman.h: Likewise.
30029 * include/sys/msg.h: Likewise.
30030 * include/sys/resource.h: Likewise.
30031 * include/sys/select.h: Likewise.
30032 * include/sys/socket.h: Likewise.
30033 * include/sys/stat.h: Likewise.
30034 * include/sys/statvfs.h: Likewise.
30035 * include/sys/time.h: Likewise.
30036 * include/sys/times.h: Likewise.
30037 * include/sys/uio.h: Likewise.
30038 * include/sys/utsname.h: Likewise.
30039 * include/sys/wait.h: Likewise.
30040 * include/termios.h: Likewise.
30041 * include/time.h: Likewise.
30042 * include/ulimit.h: Likewise.
30043 * include/unistd.h: Likewise.
30044 * include/utime.h: Likewise.
30045 * include/wchar.h: Likewise.
30046 * include/wctype.h: Likewise.
30047 * include/wordexp.h: Likewise.
30048
30049 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30050
30051 * time/time.h: TIME_UTC must be a macro.
30052 Make timespec_get available for ISO C11 only as well.
30053
30054 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30055
30056 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30057 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30058
30059 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30060
30061 * configure.in: Use -o not -a in test for unsupported multi-arch.
30062
30063 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30064
30065 * manual/texinfo.tex: Update to version 2012-01-19.16.
30066
30067 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30068
30069 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30070
30071 2012-02-24 Roland McGrath <roland@hack.frob.com>
30072
30073 [BZ #13738]
30074 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30075 * manual/fdl-1.3.texi: New file.
30076 * manual/fdl-1.1.texi: File removed.
30077
30078 [BZ #13738]
30079 * manual/libc.texinfo (FDL_VERSION): New @set.
30080 Use it for mention of FDL in cover text.
30081 (Documentation License): Use it in @include file name.
30082
30083 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30084 Roland McGrath <roland@hack.frob.com>
30085
30086 [BZ #5461]
30087 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30088 not LONG_LONG_MAX and LONG_LONG_MIN.
30089 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30090 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30091 name.
30092 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30093
30094 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30095
30096 [BZ #2547]
30097 [BZ #11365]
30098 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30099 manipulate bits before adding and subtracting TWO23[sx].
30100 * math/libm-test.inc (nearbyint_test): Add more tests.
30101
30102 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30103
30104 [BZ #2548]
30105 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30106 bits before adding and subtracting TWO23[sx].
30107 * math/libm-test.inc (rint_test): Add more tests.
30108 (rint_test_tonearest): Likewise.
30109 (rint_test_towardzero): Likewise.
30110 (rint_test_downward): Likewise.
30111 (rint_test_upward: Likewise.
30112
30113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30114
30115 [BZ #10110]
30116 * include/stdc-predef.h: New file. Extracted from features.h.
30117 * include/features.h: Include stdc-predef.h.
30118 * Makefile (headers): Add stdc-predef.h.
30119 * CONFORMANCE (Compiler limitations): Update.
30120
30121 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30122
30123 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30124
30125 2012-02-21 David S. Miller <davem@davemloft.net>
30126
30127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30129
30130 2012-02-20 David S. Miller <davem@davemloft.net>
30131
30132 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30133 using a normal save/restore sequence, rather than allocating a
30134 dummy stack frame just to store a frame pointer and restore.
30135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30136
30137 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30138
30139 * manual/install.texi: Fix stray word in line-wrapped comment.
30140
30141 2012-02-20 David S. Miller <davem@davemloft.net>
30142
30143 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30144 both binutils and gcc support GOTDATA.
30145
30146 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30147 "rd %pc" in the PIC register setup sequences.
30148
30149 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30150 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30151 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30152 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30155 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30158 (SYSCALL_ERROR_HANDLER): Likewise.
30159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30160 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30162 (SYSCALL_ERROR_HANDLER): Likewise.
30163
30164 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30165 (HAVE_GCC_GOTDATA): New.
30166 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30167 relocation support in both binutils and gcc.
30168 * sysdeps/sparc/elf/configure: Regenerate.
30169
30170 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30171 * sysdeps/sparc/sparc32/elf/configure: Delete.
30172 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30173 * sysdeps/sparc/sparc64/elf/configure: Delete.
30174 * sysdeps/sparc/elf/configure.in: New file.
30175 * sysdeps/sparc/elf/configure: Generate.
30176
30177 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30178 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30180 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30181 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30182
30183 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30184
30185 * manual/install.texi: Do not mention specific glibc version
30186 numbers.
30187 * manual/libc.texinfo (VERSION, UPDATED): Update.
30188 (@copying): Use @copyright{} and range of years.
30189
30190 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30191
30192 [BZ #13695]
30193 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30194 [crti.S not in sysdirs] (generated): Do not append.
30195 [crti.S not in sysdirs] (omit-deps): Likewise.
30196 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30197 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30198 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30199 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30200 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30201 Likewise.
30202 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30203 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30204 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30205 * csu/defs.awk: Remove file.
30206 * sysdeps/generic/initfini.c: Likewise.
30207 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30208 variable.
30209 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30210 Likewise.
30211
30212 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30213
30214 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30215 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30216 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30219 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30220 <bits/epoll.h>.
30221 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30222 (__EPOLL_PACKED): Define to empty if not defined by
30223 <bits/epoll.h>.
30224 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30226 bits/epoll.h.
30227
30228 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30229
30230 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30231 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30232 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30233 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30234 <bits/timerfd.h>.
30235 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30237 bits/timerfd.h.
30238
30239 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30240
30241 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30242 in C locale.
30243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30244 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30247
30248 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30249
30250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30252
30253 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30254
30255 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30256 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30257 defined.
30258 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30259 Likewise.
30260 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30261 entry for 2.16.
30262
30263 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30264
30265 * math/w_acos.c: Use non-signaling floating-point comparisons.
30266 * math/w_acosf.c: Likewise.
30267 * math/w_acosh.c: Likewise.
30268 * math/w_acoshf.c: Likewise.
30269 * math/w_acoshl.c: Likewise.
30270 * math/w_acosl.c: Likewise.
30271 * math/w_asin.c: Likewise.
30272 * math/w_asinf.c: Likewise.
30273 * math/w_asinl.c: Likewise.
30274 * math/w_atanh.c: Likewise.
30275 * math/w_atanhf.c: Likewise.
30276 * math/w_atanhl.c: Likewise.
30277 * math/w_exp2.c: Likewise.
30278 * math/w_exp2f.c: Likewise.
30279 * math/w_exp2l.c: Likewise.
30280 * math/w_j0.c: Likewise.
30281 * math/w_j0f.c: Likewise.
30282 * math/w_j0l.c: Likewise.
30283 * math/w_j1.c: Likewise.
30284 * math/w_j1f.c: Likewise.
30285 * math/w_j1l.c: Likewise.
30286 * math/w_jn.c: Likewise.
30287 * math/w_jnf.c: Likewise.
30288 * math/w_log.c: Likewise.
30289 * math/w_log10.c: Likewise.
30290 * math/w_log10f.c: Likewise.
30291 * math/w_log10l.c: Likewise.
30292 * math/w_log2.c: Likewise.
30293 * math/w_log2f.c: Likewise.
30294 * math/w_log2l.c: Likewise.
30295 * math/w_logf.c: Likewise.
30296 * math/w_logl.c: Likewise.
30297 * math/w_sqrt.c: Likewise.
30298 * math/w_sqrtf.c: Likewise.
30299 * math/w_sqrtl.c: Likewise.
30300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30301 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30305
30306 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30307
30308 [BZ #9739]
30309 * manual/string.texi (strnlen): Use correct parameter name in
30310 equivalent expression.
30311
30312 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30313
30314 [BZ #11174]
30315 * manual/users.texi (seteuid): Consistently use neweuid for
30316 argument name.
30317
30318 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30319
30320 [BZ #13704]
30321 * manual/nss.texi (Services in the NSS configuration): Correct
30322 list of services in example configuration file.
30323
30324 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30325
30326 [BZ #11322]
30327 * manual/arith.texi: Remove statements about negative zero
30328 behaving identically to zero.
30329
30330 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30331
30332 [BZ #5993]
30333 * manual/install.texi: Do not document upgrading from libc5.
30334
30335 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30336
30337 [BZ #4596]
30338 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30339
30340 2012-02-18 David S. Miller <davem@davemloft.net>
30341
30342 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30343 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30344 %o7 across the call.
30345 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30346 instead.
30347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30348 SETUP_PIC_REG_LEAF.
30349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30350 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30351 * sysdeps/sparc/crtn.S: Likewise.
30352
30353 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30354
30355 * aout/Makefile: Remove.
30356
30357 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30358
30359 [BZ #13058]
30360 * manual/examples/argp-ex1.c (main): Format definition in GNU
30361 style.
30362 * manual/examples/argp-ex2.c (main): Likewise.
30363 * manual/examples/argp-ex3.c (main): Likewise.
30364 * manual/examples/argp-ex4.c (main): Likewise.
30365 * manual/examples/longopt.c (main): Use new-style prototype
30366 definition.
30367 * manual/examples/strncat.c (main): Specify return type and use
30368 (void) for arguments.
30369 * manual/examples/subopt.c (main): Use char **argv argument.
30370
30371 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30372
30373 [BZ #5077]
30374 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30375 rounding modes.
30376
30377 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30378
30379 [BZ #6907]
30380 * manual/string.texi (strchr): Change when strchrnul is
30381 recommended.
30382
30383 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30384
30385 [BZ #174]
30386 * manual/locale.texi (setlocale): Document LOCPATH.
30387
30388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30389
30390 [BZ #10210]
30391 * manual/process.texi (execle): Move @dots{} before last argument.
30392
30393 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30394
30395 [BZ #12047]
30396 * manual/charset.texi (Generic Charset Conversion): Fix typo
30397 (LC_TYPE -> LC_CTYPE).
30398
30399 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30400
30401 [BZ #5805]
30402 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30403 (scalbnf): Likewise.
30404 (scalbnl): Likewise.
30405 (scalbln): Likewise.
30406 (scalblnf): Likewise.
30407 (scalblnl): Likewise.
30408 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30409 (vwarnx): Likewise.
30410 (verr): Likewise.
30411 (verrx): Likewise.
30412 * manual/filesys.texi (telldir): Use braces around return type.
30413 * manual/llio.texi (mmap): Add space after comma.
30414 (mmap64): Likewise.
30415 * manual/math.texi (jn): Use @var{} on parameter names.
30416 (jnf): Likewise.
30417 (jnl): Likewise.
30418 (yn): Likewise.
30419 (ynf): Likewise.
30420 (ynl): Likewise.
30421 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30422 line.
30423 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30424 "...".
30425 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30426 (sched_get_priority_max): Likewise.
30427 * manual/signal.texi (sigvec): Add space after comma.
30428 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30429 names.
30430 (if_indextoname): Likewise.
30431 (if_freenameindex): Likewise.
30432 (sendto): Use ',' instead of '.' in prototype.
30433 * manual/startup.texi (syscall): Use @dots{} instead of literal
30434 "...".
30435 * manual/stdio.texi (__fpending): Separate initial words of
30436 paragraph from @deftypefun line.
30437 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30438 "...".
30439 (vsyslog): Use @var{} on parameter names.
30440 * manual/terminal.texi (stty): Use @var{} on parameter names.
30441 * manual/users.texi (getutmp): Use @var{} on parameter names.
30442 (getutmpx): Likewise.
30443
30444 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30445
30446 [BZ #6884]
30447 * manual/stdio.texi (fopen): Fix typos in description of
30448 ",ccs=STRING".
30449
30450 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30451
30452 [BZ #4026]
30453 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30454 get clock_id definition.
30455
30456 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30457
30458 [BZ #4822]
30459 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30460 (madvise): Cast every argument to void on its own.
30461
30462 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30463
30464 [BZ #9902]
30465 * manual/startup.texi (Exit Status): Fix typo.
30466
30467 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30468
30469 [BZ #10140]
30470 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30471 * manual/examples/argp-ex2.c: Likewise.
30472 * manual/examples/argp-ex3.c: Likewise.
30473
30474 2012-02-16 Richard Henderson <rth@redhat.com>
30475
30476 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30477 * sysdeps/s390/s390-32/initfini.c: Remove.
30478 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30479 * sysdeps/s390/s390-64/initfini.c: Remove.
30480
30481 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30482
30483 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30484 compiler output for sysdeps/generic/initfini.c.
30485 * sysdeps/sh/elf/initfini.c: Remove file.
30486
30487 2012-02-16 David S. Miller <davem@davemloft.net>
30488
30489 [BZ #11494]
30490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30491
30492 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30493 * sysdeps/sparc/crti.S: New file.
30494 * sysdeps/sparc/crtn.S: New file.
30495 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30496 * sysdeps/sparc/sparc64/Makefile: Likewise.
30497
30498 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30499
30500 [BZ #3335]
30501 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30502
30503 2012-02-15 Roland McGrath <roland@hack.frob.com>
30504
30505 [BZ #4822]
30506 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30507
30508 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30509 (write, read, close): Likewise.
30510 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30511
30512 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30513
30514 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30515 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30516 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30517 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30518 <bits/signalfd.h>.
30519 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30521 bits/signalfd.h.
30522
30523 2012-02-14 Marek Polacek <polacek@redhat.com>
30524
30525 * sysdeps/x86_64/crti.S: New file.
30526 * sysdeps/x86_64/crtn.S: New file.
30527 * sysdeps/x86_64/elf/initfini.c: Remove file.
30528
30529 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30530
30531 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30532 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30533 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30534 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30535 <bits/inotify.h>.
30536 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30538 bits/inotify.h.
30539
30540 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30541
30542 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30543 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30544 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30545 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30546 <bits/eventfd.h>.
30547 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30549 bits/eventfd.h.
30550
30551 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30552
30553 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30554 __feraiseexcept instead of feraiseexcept.
30555
30556 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30557 nanosleep invocations.
30558 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30559 strings, and add error checking for a nanosleep invocations.
30560
30561 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30562
30563 Replace FSF snail mail address with URLs, as per GNU coding standards.
30564 Most of the snail mail addresses were wrong anyway, and omitting
30565 them makes the source code easier to maintain. Almost all of the
30566 changes are to license notices and to locale LC_IDENTIFICATION
30567 addresses, except for this one:
30568 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30569 not its snail mail address.
30570
30571 2012-02-09 Richard Henderson <rth@twiddle.net>
30572
30573 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30574 of kernel-features.h.
30575
30576 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30577
30578 2012-02-08 Marek Polacek <polacek@redhat.com>
30579
30580 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30581 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30582 * sysdeps/gnu/_G_config.h: Likewise.
30583 * sysdeps/generic/_G_config.h: Likewise.
30584
30585 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30586
30587 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30588 tests.
30589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30590
30591 * sysdeps/powerpc/powerpc32/crti.S: New file.
30592 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30593 * sysdeps/powerpc/powerpc64/crti.S: New file.
30594 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30595
30596 * Makeconfig (have-initfini): Don't set.
30597 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30598 * configure.in (nopic_initfini): Don't substitute.
30599 * config.h.in (HAVE_INITFINI): Don't #undef.
30600 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30601 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30602
30603 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30604
30605 Support crti.S and crtn.S provided directly by architectures.
30606 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30607 [crti.S in sysdirs] (omit-deps): Likewise.
30608 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30609 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30610 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30611 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30612 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30613 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30614 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30615 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30616 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30617 compiler output for sysdeps/generic/initfini.c.
30618 * sysdeps/i386/elf/Makefile: Remove file.
30619 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30620
30621 2012-02-07 Marek Polacek <polacek@redhat.com>
30622
30623 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30624 * sysdeps/gnu/_G_config.h: Likewise.
30625 * sysdeps/mach/hurd/_G_config.h: Likewise.
30626
30627 2012-02-07 Marek Polacek <polacek@redhat.com>
30628
30629 * math/Makefile (tests): Add tst-CMPLX2.
30630 * math/tst-CMPLX2.c: New file.
30631
30632 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30633
30634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30635
30636 * math/libm-test.inc (jn_test): Add missing L suffix.
30637
30638 2012-02-06 Marek Polacek <polacek@redhat.com>
30639
30640 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30641 * sysdeps/i386/fpu/e_powf.S: Likewise.
30642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30643 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30645 * sysdeps/i386/fpu/e_pow.S: Likewise.
30646 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30648 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30649 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30650 * sysdeps/i386/fpu/e_log2.S: Likewise.
30651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30653 * sysdeps/i386/fpu/e_powl.S: Likewise.
30654 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30656 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30657 * sysdeps/i386/fpu/e_logl.S: Likewise.
30658 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30659 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30660 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30661 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30662 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30664 * sysdeps/i386/fpu/e_log.S: Likewise.
30665 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30667 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30668 * sysdeps/i386/fpu/e_logf.S: Likewise.
30669 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30670 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30671 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30672 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30673 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30674 * sysdeps/i386/fpu/e_log10.S: Likewise.
30675 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30676 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30677 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30678 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30679 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30680 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30681 * sysdeps/i386/asm-syntax.h: Likewise.
30682 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30685 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30686 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30691 * sysdeps/powerpc/sysdep.h: Likewise.
30692 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30693 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30694
30695 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30696
30697 [BZ #411]
30698 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30699
30700 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30701
30702 * sysdeps/i386/sysdep.h: Include <features.h>.
30703 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30704 version.
30705
30706 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30707
30708 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30709 Define.
30710 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30711 LOAD_PIC_REG_STR.
30712
30713 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30714
30715 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30716 (SETUP_PIC_REG): Use GET_PC_THUNK.
30717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30718 macro.
30719
30720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30721
30722 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30723 for non-PIC compilation.
30724 (SETUP_PIC_REG): Add .p2align directive.
30725 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30726 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30727 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30728 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30729 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30730 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30731 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30733 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30734 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30735 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30736 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30737 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30738 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30739 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30741 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30742 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30743 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30744 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30747 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30748 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30753 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30754 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30755 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30756 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30757 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30758 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30759 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30760 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30761 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30762 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30763 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30764 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30765 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30766
30767 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30768
30769 * math/tst-CMPLX.c: Include <stdio.h>.
30770
30771 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30772
30773 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30774 float.
30775 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30776 * sysdeps/sparc/bits/mathdef.h: Likewise.
30777
30778 2012-01-31 Marek Polacek <polacek@redhat.com>
30779
30780 * libio/libio.h: Don't define _PARAMS.
30781 * locale/programs/config.h: Don't define PARAMS.
30782 * stdlib/strtol_l.c: Likewise.
30783 (__strtol_l): Remove PARAMS from the prototype.
30784
30785 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30786
30787 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30788 names. Just use the correct names. Remove unnecessary wrapper
30789 functions.
30790 * malloc/arena.c: Likewise.
30791 * malloc/hooks.c: Likewise.
30792
30793 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30794 ARENA_TEST says not to. Simplify test for creation of a new arena.
30795 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30796
30797 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30798
30799 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30800 into tail calls.
30801 (update_get_addr): New function.
30802 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30803 GET_ADDR_MODULE parameter.
30804
30805 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30806
30807 * crypt/cert.c: Remove __STDC__ conditionals.
30808 * crypt/crypt-entry.c: Likewise.
30809 * crypt/crypt_util.c: Likewise.
30810 * libio/filedoalloc.c: Likewise.
30811 * libio/fileops.c: Likewise.
30812 * libio/genops.c: Likewise.
30813 * libio/iofclose.c: Likewise.
30814 * libio/iofdopen.c: Likewise.
30815 * libio/iofopen.c: Likewise.
30816 * libio/iofopen64.c: Likewise.
30817 * libio/iogetdelim.c: Likewise.
30818 * libio/iopopen.c: Likewise.
30819 * libio/obprintf.c: Likewise.
30820 * libio/oldfileops.c: Likewise.
30821 * libio/oldiofclose.c: Likewise.
30822 * libio/oldiofdopen.c: Likewise.
30823 * libio/oldiofopen.c: Likewise.
30824 * libio/oldiopopen.c: Likewise.
30825 * libio/wfiledoalloc.c: Likewise.
30826 * libio/wgenops.c: Likewise.
30827 * locale/programs/xmalloc.c: Likewise.
30828 * misc/syslog.c: Likewise.
30829 * stdio-common/xbug.c: Likewise.
30830 * string/memchr.c: Likewise.
30831 * string/memcmp.c: Likewise.
30832 * string/memrchr.c: Likewise.
30833 * string/rawmemchr.c: Likewise.
30834 * sysdeps/posix/getcwd.c: Likewise.
30835 * time/strftime_l.c: Likewise.
30836
30837 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30838
30839 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30840 * config.make.in (config-cflags-sse2avx): Define.
30841 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30842 Fix typo.
30843
30844 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30845
30846 * scripts/config.guess: Update from upstream config git repository.
30847 * scripts/config.sub: Likewise.
30848
30849 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30850
30851 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30852 (EM_NUM): Update.
30853 (R_TILEPRO_*, R_TILEGX_*): New macros.
30854
30855 * scripts/firstversions.awk: Fix bug in version range handling.
30856
30857 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30858
30859 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30860
30861 * include/sys/epoll.h: New file.
30862 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30863 libc_hidden_def.
30864
30865 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30866
30867 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30868 Avoid unnecessary __WORDSIZE == 64 test.
30869 (fmaxf): Use VEX format if possible.
30870 (fmax): Likewise.
30871 (fminf): Likewise.
30872 (fmin): Likewise.
30873
30874 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30875 * math/math_private.h: Remove libc_fegetround* and
30876 libc_fesetround*.
30877 * sysdeps/i386/configure.in: Check for -msse2avx.
30878 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30879 also if SSE2AVX is defined.
30880 Remove libc_fegetround* and libc_fesetround*.
30881 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30882 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30884 of HAS_YMM_USABLE.
30885 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30886 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30888 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30890
30891 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30892
30893 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30894
30895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30896 size is not set.
30897 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30898
30899 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30900
30901 [BZ #13618]
30902 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30903 relocation.
30904 * Makeconfig (libm): Define.
30905 * elf/Makefile: Add rules to build and run tst-relsort1.
30906 * elf/tst-relsort1.c: New file.
30907 * elf/tst-relsort1mod1.c: New file.
30908 * elf/tst-relsort1mod2.c: New file.
30909
30910 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30911
30912 * math/s_ldexp.c: Remove __STDC__ conditionals.
30913 * math/s_ldexpf.c: Likewise.
30914 * math/s_ldexpl.c: Likewise.
30915 * math/s_nextafter.c: Likewise.
30916 * math/s_nexttowardf.c: Likewise.
30917 * math/s_significand.c: Likewise.
30918 * math/s_significandf.c: Likewise.
30919 * math/s_significandl.c: Likewise.
30920 * math/w_jnl.c: Likewise.
30921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30927 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30929 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30930 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30931 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30936 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30937 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30940 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30941 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30943 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30947 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30948 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30949 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30950 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30953 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30954 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30956 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30958 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30959 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30960 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30961 * sysdeps/ieee754/k_standard.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31023 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31028 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31036 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31037 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31041 * sysdeps/ieee754/s_matherr.c: Likewise.
31042 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31043 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31046
31047 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31048
31049 * crypt/md5.h: Remove __STDC__ conditionals.
31050 * libio/libioP.h: Likewise.
31051 * locale/programs/config.h: Likewise.
31052 * sysdeps/generic/sysdep.h: Likewise.
31053 * sysdeps/i386/asm-syntax.h: Likewise.
31054 * sysdeps/s390/asm-syntax.h: Likewise.
31055 * sysdeps/unix/sysdep.h: Likewise.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31058
31059 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31060
31061 * libio/libio.h: Remove __STDC__ conditionals.
31062 * malloc/obstack.h: Likewise.
31063 * math/complex.h: Likewise.
31064 * math/math.h: Likewise.
31065 * sysdeps/generic/_G_config.h: Likewise.
31066 * sysdeps/gnu/_G_config.h: Likewise.
31067 * sysdeps/mach/hurd/_G_config.h: Likewise.
31068 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31070 * sysdeps/sparc/bits/mathdef.h: Likewise.
31071
31072 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31073
31074 [BZ #13583]
31075 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31076 Clean up HAS_* macros.
31077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31078 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31079 possible.
31080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31081 HAS_AVX.
31082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31087
31088 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31089
31090 * elf/tst-unique3.cc (gets): Remove declaration.
31091 * elf/tst-unique3lib.cc (gets): Likewise.
31092 * elf/tst-unique3lib2.cc (gets): Likewise.
31093 * elf/tst-unique4.cc (gets): Likewise.
31094
31095 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31096
31097 * include/stdio.h: Add C++ protection. Add gets declarations and
31098 definitions.
31099 * debug/tst-chk1.c: Don't declare gets here.
31100 * stdio-common/tst-gets.c: Likewise.
31101
31102 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31103
31104 * posix/glob: Remove directory.
31105
31106 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31107
31108 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31109
31110 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31111
31112 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31113 of the non-standard EPFNOSUPPORT.
31114
31115 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31116
31117 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31118 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31119 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31120
31121 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31122
31123 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31124
31125 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31126
31127 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31128 transient errors.
31129 * nscd/grpcache.c (cache_addgr): Likewise.
31130 * nscd/hstcache.c (cache_addhst): Likewise.
31131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31132 * nscd/pwdcache.c (cache_addpw): Likewise.
31133 * nscd/servicescache.c (cache_addserv): Likewise.
31134
31135 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31136
31137 * malloc/malloc.c: Various cleanups.
31138 * malloc/hooks.c: Likewise.
31139
31140 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31141 * stdlib/bug-fmtmsg1.c: New file.
31142
31143 * stdlib/fmtmsg.c (init): Add missing unlock.
31144 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31145
31146 2012-01-12 Marek Polacek <polacek@redhat.com>
31147
31148 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31149 and _GNU_SOURCE.
31150
31151 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31152
31153 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31154 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31155 macro to ensure uniqueness of label name.
31156 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31157 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31158
31159 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31160
31161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31162
31163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31164 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31167
31168 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31169
31170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31171
31172 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31173 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31174 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31175
31176 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31177
31178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31179 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31182
31183 * math/bits/math-finite.h: Add ldexp support.
31184
31185 2012-01-10 Marek Polacek <polacek@redhat.com>
31186
31187 * locale/programs/localedef.h (show_archive_content): Add noreturn
31188 attribute.
31189
31190 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31191
31192 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31193
31194 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31195
31196 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31197
31198 * io/Makefile (headers): Add bits/poll2.h.
31199
31200 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31201
31202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31203 typo #include statement.
31204
31205 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31206
31207 * include/sys/cdefs.h: Define __attribute_alloc_size.
31208 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31209 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31210 * elf/pldd.c: Likewise.
31211 * iconv/iconv_charmap.c: Likewise.
31212 * iconv/iconvconfig.c: Likewise.
31213 * iconv/strtab.c: Likewise.
31214 * locale/programs/locale.c: Likewise.
31215 * locale/programs/localedef.h: Likewise.
31216 * locale/programs/simple-hash.c: Likewise.
31217 * nscd/nscd.h: Likewise.
31218 * nss/makedb.c: Likewise.
31219 * sysdeps/generic/ldconfig.h: Likewise.
31220 * locale/programs/localedef.c: Remove xmalloc prototype.
31221 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31222
31223 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31224
31225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31226 appropriate.
31227
31228 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31229
31230 * math/Makefile (tests): Add tst-CMPLX.
31231 * math/tst-CMPLX.c: New file.
31232
31233 * math/complex.h (CMPLXL): Fix typo.
31234
31235 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31236 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31237 GLIBC_2.16.
31238 * debug/tst-chk1.c: Add poll and ppoll tests.
31239 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31240 * include/sys/poll.h: Add hidden proto for ppoll.
31241 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31242 * sysdeps/mach/hurd/ppoll.c: Likewise.
31243 * io/ppoll.c: Likewise.
31244 * debug/poll_chk.c: New file.
31245 * debug/ppoll_chk.c: New file.
31246 * include/bits/poll2.h: New file.
31247 * io/bits/poll2.h: New file.
31248
31249 [BZ #1350]
31250 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31251
31252 * configure.in: static is always set to yes. Remove.
31253 * config.make.in: Don't set build-static.
31254 * Makeconfig: Remove use of build-static.
31255 * dlfcn/Makefile: Likewise.
31256 * elf/Makefile: Likewise.
31257 * math/Makefile: Likewise.
31258 * misc/Makefile: Likewise.
31259 * nptl/Makefile: Likewise.
31260 * sysdeps/mach/hurd/Makefile: Likewise.
31261
31262 * configure.in: PWD_P is not used anymore.
31263 * config.make.in: Remove PWD_P entry.
31264
31265 * configure.in: Remove last remnants of RANLIB.
31266 No need to check for signed size_t anymore.
31267 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31268 and IA-64.
31269 Remove __builtin_expect test because we require at least gcc 3.4.
31270 * aclocal.m4: Likewise.
31271
31272 * wcsmbs/mbrtoc16.c: Implement using towc function.
31273 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31274 * wcsmbs/wcsmbsload.c: Likewise.
31275 * iconv/gconv_simple.c: Likewise.
31276 * iconv/gconv_int.h: Likewise.
31277 * iconv/gconv_builtin.h: Likewise.
31278 * iconv/iconv_prog.c: Remove CHAR16 handling.
31279
31280 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31281
31282 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31283
31284 * configure.in: Remove --with-elf and --enable-bounded options.
31285 Dont set base_machine for ia64. More non-ELF conditions removed.
31286 Remove testing and setting of leading underscore information.
31287 * config.make.in (build-bounded): Set to no.
31288 * config.h.in: Remove NO_UNDERSCORES entry.
31289 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31290 them.
31291 * csu/start.c: Remove !NO_UNDERSCORE code.
31292 * locale/localeinfo.h: Likewise.
31293 * sysdeps/generic/machine-gmon.h: Likewise.
31294 * sysdeps/generic/sysdep.h: Likewise.
31295 * sysdeps/i386/sysdep.h: Likewise.
31296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31297 * sysdeps/mach/sysdep.h: Likewise.
31298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31300 * sysdeps/sh/sysdep.h: Likewise.
31301 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31302 * sysdeps/unix/i386/sysdep.S: Likewise.
31303 * sysdeps/unix/sparc/start.c: Likewise.
31304 * sysdeps/unix/sparc/sysdep.S: Likewise.
31305 * sysdeps/unix/sparc/sysdep.h: Likewise.
31306 * sysdeps/unix/start.c: Likewise.
31307 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31308 * sysdeps/x86_64/sysdep.h: Likewise.
31309
31310 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31311
31312 [BZ #13553]
31313 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31314 for non-gcc.
31315 * argp/argp-fmtstream.h: Use const instead __const.
31316 * argp/argp.h: Likewise.
31317 * assert/assert.h: Likewise.
31318 * bits/fenv.h: Likewise.
31319 * bits/sched.h: Likewise.
31320 * bits/sigset.h: Likewise.
31321 * bits/sigthread.h: Likewise.
31322 * catgets/nl_types.h: Likewise.
31323 * conform/data/pthread.h-data: Likewise.
31324 * crypt/crypt-private.h: Likewise.
31325 * crypt/crypt.h: Likewise.
31326 * crypt/crypt_util.c: Likewise.
31327 * ctype/ctype.h: Likewise.
31328 * debug/execinfo.h: Likewise.
31329 * debug/mbsnrtowcs_chk.c: Likewise.
31330 * debug/mbsrtowcs_chk.c: Likewise.
31331 * debug/wcsnrtombs_chk.c: Likewise.
31332 * debug/wcsrtombs_chk.c: Likewise.
31333 * debug/wcstombs_chk.c: Likewise.
31334 * dirent/dirent.h: Likewise.
31335 * dlfcn/dlfcn.h: Likewise.
31336 * elf/neededtest4.c: Likewise.
31337 * grp/grp.h: Likewise.
31338 * gshadow/gshadow.h: Likewise.
31339 * iconv/gconv.h: Likewise.
31340 * iconv/gconv_int.h: Likewise.
31341 * iconv/gconv_simple.c: Likewise.
31342 * iconv/iconv.h: Likewise.
31343 * iconv/loop.c: Likewise.
31344 * iconv/skeleton.c: Likewise.
31345 * include/aio.h: Likewise.
31346 * include/aliases.h: Likewise.
31347 * include/argz.h: Likewise.
31348 * include/arpa/inet.h: Likewise.
31349 * include/assert.h: Likewise.
31350 * include/dirent.h: Likewise.
31351 * include/dlfcn.h: Likewise.
31352 * include/execinfo.h: Likewise.
31353 * include/fcntl.h: Likewise.
31354 * include/fenv.h: Likewise.
31355 * include/glob.h: Likewise.
31356 * include/grp.h: Likewise.
31357 * include/libintl.h: Likewise.
31358 * include/mntent.h: Likewise.
31359 * include/netdb.h: Likewise.
31360 * include/pwd.h: Likewise.
31361 * include/rpc/netdb.h: Likewise.
31362 * include/sched.h: Likewise.
31363 * include/search.h: Likewise.
31364 * include/shadow.h: Likewise.
31365 * include/signal.h: Likewise.
31366 * include/stdio.h: Likewise.
31367 * include/stdlib.h: Likewise.
31368 * include/string.h: Likewise.
31369 * include/sys/socket.h: Likewise.
31370 * include/sys/stat.h: Likewise.
31371 * include/sys/statfs.h: Likewise.
31372 * include/sys/statvfs.h: Likewise.
31373 * include/sys/syslog.h: Likewise.
31374 * include/sys/time.h: Likewise.
31375 * include/sys/uio.h: Likewise.
31376 * include/time.h: Likewise.
31377 * include/unistd.h: Likewise.
31378 * include/utmp.h: Likewise.
31379 * include/wchar.h: Likewise.
31380 * include/wctype.h: Likewise.
31381 * inet/aliases.h: Likewise.
31382 * inet/arpa/inet.h: Likewise.
31383 * inet/netinet/ether.h: Likewise.
31384 * inet/netinet/in.h: Likewise.
31385 * intl/libintl.h: Likewise.
31386 * io/bits/fcntl2.h: Likewise.
31387 * io/fcntl.h: Likewise.
31388 * io/ftw.h: Likewise.
31389 * io/sys/poll.h: Likewise.
31390 * io/sys/stat.h: Likewise.
31391 * io/sys/statfs.h: Likewise.
31392 * io/sys/statvfs.h: Likewise.
31393 * io/utime.h: Likewise.
31394 * libio/bits/stdio.h: Likewise.
31395 * libio/bits/stdio2.h: Likewise.
31396 * libio/libio.h: Likewise.
31397 * libio/libioP.h: Likewise.
31398 * libio/stdio.h: Likewise.
31399 * locale/lc-ctype.c: Likewise.
31400 * locale/locale.h: Likewise.
31401 * login/utmp.h: Likewise.
31402 * malloc/arena.c: Likewise.
31403 * malloc/malloc.c: Likewise.
31404 * malloc/malloc.h: Likewise.
31405 * malloc/mcheck.c: Likewise.
31406 * malloc/mtrace.c: Likewise.
31407 * math/bits/mathcalls.h: Likewise.
31408 * math/fenv.h: Likewise.
31409 * math/math_private.h: Likewise.
31410 * misc/bits/error.h: Likewise.
31411 * misc/bits/syslog.h: Likewise.
31412 * misc/err.h: Likewise.
31413 * misc/error.h: Likewise.
31414 * misc/fstab.h: Likewise.
31415 * misc/mntent.h: Likewise.
31416 * misc/regexp.h: Likewise.
31417 * misc/search.h: Likewise.
31418 * misc/sgtty.h: Likewise.
31419 * misc/sys/mman.h: Likewise.
31420 * misc/sys/syslog.h: Likewise.
31421 * misc/sys/uio.h: Likewise.
31422 * misc/sys/xattr.h: Likewise.
31423 * misc/ttyent.h: Likewise.
31424 * nis/rpcsvc/ypclnt.h: Likewise.
31425 * nss/nss.h: Likewise.
31426 * posix/bits/unistd.h: Likewise.
31427 * posix/fnmatch.h: Likewise.
31428 * posix/glob.h: Likewise.
31429 * posix/sched.h: Likewise.
31430 * posix/spawn.h: Likewise.
31431 * posix/sys/wait.h: Likewise.
31432 * posix/unistd.h: Likewise.
31433 * posix/wordexp.h: Likewise.
31434 * pwd/pwd.h: Likewise.
31435 * resolv/netdb.h: Likewise.
31436 * resource/sys/resource.h: Likewise.
31437 * rt/aio.h: Likewise.
31438 * rt/bits/mqueue2.h: Likewise.
31439 * rt/mqueue.h: Likewise.
31440 * shadow/shadow.h: Likewise.
31441 * signal/signal.h: Likewise.
31442 * socket/send.c: Likewise.
31443 * socket/sendto.c: Likewise.
31444 * socket/sys/socket.h: Likewise.
31445 * stdio-common/printf.h: Likewise.
31446 * stdlib/bits/stdlib.h: Likewise.
31447 * stdlib/fmtmsg.h: Likewise.
31448 * stdlib/monetary.h: Likewise.
31449 * stdlib/stdlib.h: Likewise.
31450 * stdlib/ucontext.h: Likewise.
31451 * streams/stropts.h: Likewise.
31452 * string/argz.h: Likewise.
31453 * string/bits/string2.h: Likewise.
31454 * string/string.h: Likewise.
31455 * string/strings.h: Likewise.
31456 * sunrpc/rpc/auth.h: Likewise.
31457 * sunrpc/rpc/auth_des.h: Likewise.
31458 * sunrpc/rpc/clnt.h: Likewise.
31459 * sunrpc/rpc/netdb.h: Likewise.
31460 * sunrpc/rpc/pmap_clnt.h: Likewise.
31461 * sunrpc/rpc/xdr.h: Likewise.
31462 * sysdeps/generic/inttypes.h: Likewise.
31463 * sysdeps/generic/net/if.h: Likewise.
31464 * sysdeps/generic/sys/swap.h: Likewise.
31465 * sysdeps/gnu/net/if.h: Likewise.
31466 * sysdeps/gnu/utmpx.h: Likewise.
31467 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31468 * sysdeps/i386/i486/bits/string.h: Likewise.
31469 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31470 * sysdeps/s390/bits/string.h: Likewise.
31471 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31472 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31473 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31474 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31475 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31476 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31477 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31478 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31479 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31480 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31481 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31482 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31483 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31484 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31485 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31486 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31487 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31493 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31494 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31495 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31496 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31499 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31501 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31502 * sysvipc/sys/ipc.h: Likewise.
31503 * sysvipc/sys/msg.h: Likewise.
31504 * sysvipc/sys/sem.h: Likewise.
31505 * sysvipc/sys/shm.h: Likewise.
31506 * termios/termios.h: Likewise.
31507 * time/sys/time.h: Likewise.
31508 * time/time.h: Likewise.
31509 * wcsmbs/bits/wchar2.h: Likewise.
31510 * wcsmbs/uchar.h: Likewise.
31511 * wcsmbs/wchar.h: Likewise.
31512 * wctype/wctype.h: Likewise.
31513
31514 [BZ #13551]
31515 * Makeconfig: Remove all but ELF support including AIX support.
31516 * Makerules: Likewise.
31517 * config.h.in: Likewise.
31518 * config.make.in: Likewise.
31519 * configure: Likewise.
31520 * configure.in: Likewise.
31521 * csu/Makefile: Likewise.
31522 * csu/version.c: Likewise.
31523 * debug/Makefile: Likewise.
31524 * dlfcn/Makefile: Likewise.
31525 * elf/Makefile: Likewise.
31526 * extra-lib.mk: Likewise.
31527 * iconv/Makefile: Likewise.
31528 * include/libc-symbols.h: Likewise.
31529 * include/shlib-compat.h: Likewise.
31530 * resolv/Makefile: Likewise.
31531 * resolv/res_libc.c: Likewise.
31532 * rt/Makefile: Likewise.
31533 * sysdeps/i386/asm-syntax.h: Likewise.
31534 * sysdeps/i386/sysdep.h: Likewise.
31535 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31536 * sysdeps/mach/sysdep.h: Likewise.
31537 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31538 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31539 * sysdeps/s390/asm-syntax.h: Likewise.
31540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31542 * sysdeps/sh/sysdep.h: Likewise.
31543 * sysdeps/unix/sparc/sysdep.h: Likewise.
31544 * sysdeps/wordsize-32/divdi3.c: Likewise.
31545 * sysdeps/x86_64/sysdep.h: Likewise.
31546
31547 * argp/Versions: Remove _argp_unlock_xxx.
31548
31549 [BZ #13559]
31550 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31551 * abilist/libBrokenLocale.abilist: Likewise.
31552 * abilist/libanl.abilist: Likewise.
31553 * abilist/libc.abilist: Likewise.
31554 * abilist/libcrypt.abilist: Likewise.
31555 * abilist/libdl.abilist: Likewise.
31556 * abilist/libm.abilist: Likewise.
31557 * abilist/libnsl.abilist: Likewise.
31558 * abilist/libpthread.abilist: Likewise.
31559 * abilist/libresolv.abilist: Likewise.
31560 * abilist/librt.abilist: Likewise.
31561 * abilist/libthread_db.abilist: Likewise.
31562 * abilist/libutil.abilist: Likewise.
31563 * abilist/libnss_db.abilist: New file.
31564
31565 * scripts/abilist.awk: Add support for indirect functions.
31566
31567 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31568
31569 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31570
31571 * shlib-versions: Remove entries for ports architectures.
31572
31573 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31574 files in ports.
31575 * elf/stackguard-macros.h: Remove support for IA-64.
31576 * elf/tst-auditmod1.c: Likewise.
31577 * sysdeps/generic/ldsodefs.h: Likewise.
31578
31579 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31580 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31581 configure files.
31582
31583 [BZ #13552]
31584 * configure.in: Remove --enable-omitfp support.
31585 * FAQ.in: Adjust.
31586 * config.make.in: Likewise.
31587 * Makeconfig: Likewise.
31588 * manual/install.texi: Likewise.
31589
31590 In case anyone cares, the IA-64 architecture could move to ports.
31591 * sysdeps/ia64/*: Removed.
31592 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31593 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31594
31595 [BZ #13555]
31596 * configure.in: Remove entries for unsupported architectures.
31597
31598 [BZ #13533]
31599 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31600 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31601 routines.
31602 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31603 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31604 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31605 fall back to using wcrtomb.
31606 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31607 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31608 renaming.
31609 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31610 * wcsmbs/tst-c16c32-1.c: New file.
31611
31612 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31613 local variable.
31614
31615 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31616
31617 * elf/tst-unique3.cc: Add explicit declaration of gets.
31618 * elf/tst-unique3lib.cc: Likewise.
31619 * elf/tst-unique3lib2.cc: Likewise.
31620 * elf/tst-unique4.cc: Likewise.
31621
31622 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31623
31624 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31625
31626 [BZ #13566]
31627 * assert/assert.h (static_assert): Don't define for C++.
31628 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31629 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31630
31631 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31632
31633 * iconv/loop.c (single loop): Fix assertion in storing of
31634 remaining bytes.
31635
31636 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31637
31638 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31639
31640 * posix/getconf.c: Update copyright year.
31641 * nss/getent.c: Likewise.
31642 * nss/makedb.c: Likewise.
31643 * iconv/iconvconfig.c: Likewise.
31644 * iconv/iconv_prog.c: Likewise.
31645 * elf/ldconfig.c: Likewise.
31646 * elf/pldd.c: Likewise.
31647 * elf/sotruss.ksh: Likewise.
31648 * catgets/gencat.c: Likewise.
31649 * csu/version.c: Likewise.
31650 * elf/ldd.bash.in: Likewise.
31651 * elf/sprof.c (print_version): Likewise.
31652 * locale/programs/locale.c: Likewise.
31653 * locale/programs/localedef.c: Likewise.
31654 * login/programs/pt_chown.c: Likewise.
31655 * nscd/nscd.c (print_version): Likewise.
31656 * debug/xtrace.sh: Likewise.
31657 * malloc/memusage.sh: Likewise.
31658 * malloc/mtrace.pl: Likewise.
31659 * debug/catchsegv.sh: Likewise.
31660
31661 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31662
31663 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31664 pure attribute.
31665
31666 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31667
31668 [BZ #13533]
31669 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31670 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31671 transformations.
31672 * iconv/gconv_int.h: Likewise.
31673 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31674 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31675 from libc for GLIBC_2.16.
31676 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31677 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31678 * wcsmbs/uchar.h: Really define mbstate_t.
31679 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31680 * wcsmbs/c16rtomb.c: New file.
31681 * wcsmbs/mbrtoc16.c: New file.
31682 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31683 for C/POSIX locale.
31684 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31685 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31686
31687 * wcsmbs/wchar.h: Add missing __restrict.
31688
31689 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31690
31691 [BZ #13532]
31692 * time/Makefile (routines): Add timespec_get.
31693 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31694 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31695 timespec for ISO C11.
31696 * time/timespec_get.c: New file.
31697 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31698 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31699
31700 [BZ #13531]
31701 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31702 * stdlib/stdlib.h: Declare aligned_alloc.
31703 * Versions.def: Add GLIBC_2.16 for libc.
31704 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31705
31706 [BZ 13527]
31707 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31708 ISO C11.
31709
31710 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31711 code.
31712
31713 [BZ #13528]
31714 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31715
31716 [BZ #13529]
31717 * assert/assert.h (static_assert): Define.
31718
31719 * version.h: Update for 2.16 development version.
31720
31721 [BZ #13526]
31722 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31723 _ISOC11_SOURCE.
31724
31725 * version.h (RELEASE): Bump for 2.15 release.
31726 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31727
31728 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31729 Patch by Marek Polacek <mpolacek@redhat.com>.
31730
31731 * bits/byteswap.h: Protect long long constants with __extension__.
31732 * sysdeps/i386/bits/byteswap.h: Likewise.
31733 * sysdeps/ia64/bits/byteswap.h: Likewise.
31734 * sysdeps/s390/bits/byteswap.h: Likewise.
31735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31736
31737 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31738
31739 [BZ #13540]
31740 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31741 destination buffer.
31742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31743
31744 2011-12-23 Marek Polacek <polacek@redhat.com>
31745
31746 * elf/dl-addr.c (determine_info): Add inline keyword.
31747 * elf/tst-auditmod4b.c (check_avx): Likewise.
31748 * elf/tst-auditmod6b.c (check_avx): Likewise.
31749 * elf/tst-auditmod6c.c (check_avx): Likewise.
31750 * elf/tst-auditmod7b.c (check_avx): Likewise.
31751
31752 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31753
31754 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31755 !__SSE_MATH__.
31756
31757 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31758
31759 [BZ #13540]
31760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31761 processing for last bytes.
31762
31763 2011-08-06 Bruno Haible <bruno@clisp.org>
31764
31765 [BZ #13061]
31766 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31767 U+0385, not to U+1FEE.
31768
31769 [BZ #13062]
31770 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31771 entry for U+00A5 U+0301.
31772
31773 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31774
31775 [BZ #13166]
31776 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31777 buffer for the output is too small.
31778
31779 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31780 optimization.
31781
31782 [BZ #13185]
31783 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31784 SSE flags if possible.
31785
31786 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31787
31788 [BZ #13540]
31789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31790 processing for last bytes.
31791
31792 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31793
31794 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31795 (syscall-list-default-options, syscall-list-default-condition)
31796 (syscall-list-includes): Define.
31797 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31798 list of ABIs and options and #if conditions for each ABI. Do not
31799 handle common syscalls between ABIs specially.
31800 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31801 Remove.
31802 (syscall-list-variants, syscall-list-32bit-options)
31803 (syscall-list-32bit-condition, syscall-list-64bit-options)
31804 (syscall-list-64bit-condition): Define.
31805 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31806 (syscall-list-variants, syscall-list-32bit-options)
31807 (syscall-list-32bit-condition, syscall-list-64bit-options)
31808 (syscall-list-64bit-condition): Define.
31809 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31810 Remove.
31811 (syscall-list-variants, syscall-list-32bit-options)
31812 (syscall-list-32bit-condition, syscall-list-64bit-options)
31813 (syscall-list-64bit-condition): Define.
31814 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31815 Remove.
31816 (syscall-list-variants, syscall-list-32bit-options)
31817 (syscall-list-32bit-condition, syscall-list-64bit-options)
31818 (syscall-list-64bit-condition): Define.
31819
31820 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31821
31822 * locale/iso-639.def: Add brx entry.
31823
31824 [BZ #13328]
31825 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31826 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31827
31828 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31829 __feraiseexcept_renamed.
31830
31831 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31832
31833 [BZ #13538]
31834 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31835 EPOLLET with unsigned values.
31836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31838
31839 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31840 to large cancellation.
31841 * math/s_cacoshf.c: Likewise.
31842 * math/s_cacoshl.c: Likewise.
31843
31844 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31845
31846 [BZ #13305]
31847 [BZ #12786]
31848 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31849 * math/s_cacoshf.c: Likewise.
31850 * math/s_cacoshl.c: Likewise.
31851
31852 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31853
31854 [BZ #13439]
31855 * iconv/gconv.h: Define __GCONV_SWAP.
31856 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31857 * iconvdata/utf-16.c: Likewise.
31858 * iconvdata/utf-32.c: Likewise.
31859
31860 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31861
31862 [BZ #13524]
31863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31864 numerator after shifting it by one limb.
31865
31866 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31867
31868 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31869 under [__USE_EXTERN_INLINES].
31870
31871 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31872
31873 [BZ #13446]
31874 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31875
31876 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31877
31878 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31879 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31880 optimized code.
31881 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31882 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31883 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31884 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31885 for strncasecmp/strncasecmp_l compilation.
31886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31887 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31888
31889 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31890
31891 [BZ #13484]
31892 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31893 of __asm__.
31894
31895 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31896
31897 [BZ #13506]
31898 * time/tzfile.c (__tzfile_read): Check values from file header.
31899
31900 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31901
31902 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31903 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31904 * powerpc/powerpc32/dl-start.S: Likewise.
31905 * powerpc/powerpc32/elf/start.S: Likewise.
31906 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31907 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31908 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31909 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31910 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31911 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31912 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31913 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31914 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31915 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31916 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31917 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31918 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31919 * powerpc/powerpc32/memset.S: Likewise.
31920 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31921 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31922 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31923 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31924 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31925 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31926 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31927 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31928 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31929 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31930 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31931 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31932 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31933
31934 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31935
31936 * math/libm-test.inc: Added more nearbyint tests.
31937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31941
31942 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31943
31944 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31945 FD_CLOEXEC.
31946
31947 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31948
31949 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31950 Add wcscpy-ssse3 wcscpy-c.
31951 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31952 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31953 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31954 * sysdeps/x86_64/wcschr.S: New file.
31955 * sysdeps/x86_64/wcsrchr.S: New file.
31956 * string/test-strcmp.c: Remove checking of wcscmp function for
31957 wrong alignments.
31958 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31959 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31960 wcsrchr-sse2 wcsrchr-c.
31961 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31962 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31963 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31964 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31965 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31966 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31967 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31968 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31969 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31970 * wcsmbc/wcschr.c (WCSCHR): New macro.
31971
31972 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31973
31974 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31975 * wcsmbs/test-wcsrchr.c: New file.
31976 * string/test-strrchr.c: Add wcsrchr support.
31977 (WIDE): New macro.
31978 * wcsmbs/test-wcscpy.c: New file.
31979 * string/test-strcpy.c: Add wcscpy support.
31980 (WIDE): New macro.
31981
31982 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31983
31984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31985 the inner loop.
31986
31987 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31988
31989 [BZ #13472]
31990 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31991
31992 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31993
31994 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31995 Minor optimizations.
31996
31997 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31998 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31999 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32000
32001 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32002
32003 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32004 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32005 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32006 for gcc to avoid warnings.
32007 * inet/Makefile (tests): Add tst-checks.
32008 * inet/tst-checks.c: New file.
32009
32010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32011 warning.
32012
32013 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32014 __wmemcmp_sse2.
32015
32016 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32017 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32018
32019 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32020
32021 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32022
32023 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32024 problem.
32025
32026 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32027
32028 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32029
32030 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32031 conditional on GCC version.
32032 (__arch_compare_and_exchange_val_8_acq)
32033 (__arch_compare_and_exchange_val_16_acq)
32034 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32035 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32036 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32037
32038 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32039
32040 * sysdeps/sh/backtrace.c: New file.
32041
32042 2011-12-02 Andreas Schwab <schwab@redhat.com>
32043
32044 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32045 parenthesis.
32046
32047 2011-12-01 Andreas Schwab <schwab@redhat.com>
32048
32049 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32050 falling back to utime.
32051
32052 2011-11-30 Andreas Schwab <schwab@redhat.com>
32053
32054 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32055 expectations for float.
32056
32057 2011-11-29 Andreas Schwab <schwab@redhat.com>
32058
32059 * locale/weight.h (findidx): Add parameter len.
32060 * locale/weightwc.h (findidx): Likewise.
32061 * posix/fnmatch_loop.c (FCT): Adjust caller.
32062 * posix/regcomp.c (build_equiv_class): Likewise.
32063 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32064 * posix/regexec.c (check_node_accept_bytes): Likewise.
32065 * string/strcoll_l.c (STRCOLL): Likewise.
32066 * string/strxfrm_l.c (STRXFRM): Likewise.
32067
32068 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32069
32070 * Makefile.in: Remove CVSOPT handling.
32071 * configure.in: Remove use of AC_REVISION.
32072 * iconvdata/Makefile (distribute): No need to filter out CVS.
32073 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32074 handling.
32075
32076 2011-11-16 Andreas Schwab <schwab@redhat.com>
32077
32078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32079 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32080 [USE_AS_STRNCASECMP_L]: Likewise.
32081 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32082 NO_TLS_DIRECT_SEG_REFS.
32083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32084 Fix argument offsets for non-PIC.
32085 [USE_AS_STRNCASECMP_L]: Likewise.
32086 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32087 NO_TLS_DIRECT_SEG_REFS.
32088
32089 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32090
32091 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32092 O_CLOEXEC.
32093 * locale/loadlocale.c (_nl_load_locale): Likewise.
32094
32095 2011-11-15 Andreas Schwab <schwab@redhat.com>
32096
32097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32098 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32099 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32100 (SYSCALL_GETTIME): Set errno on error.
32101
32102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32103 count references to noai6ai_cached.
32104
32105 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32106
32107 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32108
32109 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32110 FD_CLOEXEC for /proc/self/maps.
32111
32112 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32113 FD_CLOEXEC for /proc/meminfo.
32114
32115 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32116 gai.conf.
32117
32118 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32119 FD_CLOEXEC for given file.
32120
32121 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32122
32123 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32124 FD_CLOEXEC for /etc/hosts.
32125 (_gethtent): Likewise.
32126
32127 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32128
32129 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32130 cancellation and set FD_CLOEXEC for /etc/netgroup.
32131
32132 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32133 reading /etc/publickey.
32134
32135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32136 allow cancellation when reading /etc/group.
32137
32138 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32139 cancellation.
32140 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32141
32142 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32143 when using data file.
32144
32145 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32146
32147 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32148 (write_nis_obj): Use "c" and "e" in fopen.
32149
32150 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32151
32152 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32153
32154 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32155
32156 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32157
32158 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32159 locale.alias.
32160
32161 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32162
32163 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32164
32165 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32166
32167 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32168 file parsing and set FD_CLOEXEC.
32169
32170 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32171
32172 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32173
32174 2011-11-14 Andreas Schwab <schwab@redhat.com>
32175
32176 * malloc/arena.c (arena_get2): Don't call reused_arena when
32177 _int_new_arena failed.
32178
32179 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32180
32181 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32182 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32187 to compile strcasecmp and strncasecmp.
32188 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32189 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32190
32191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32192
32193 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32194
32195 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32196 locale-defines.sym to gen-as-const-headers.
32197 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32198 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32200 to compile strcasecmp and strncasecmp.
32201 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32202 strcasecmp_l and strncasecmp_l.
32203 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32204 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32205 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32206 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32207 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32208 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32209 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32210 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32211 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32212 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32213 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32214
32215 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32216
32217 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32218 result of SYSDEP_GETTIME_CPU to retval.
32219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32220 parameter list to macro. Remove trailing semicolon. Adjust users.
32221
32222 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32223 variable.
32224
32225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32226 mantissa words.
32227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32228
32229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32230 from unused variable.
32231
32232 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32233 DWARF definitions.
32234 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32235 for assembling.
32236
32237 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32238 over namespaces.
32239
32240 * sunrpc/rpc_prot.c (rejected): Fix case value.
32241
32242 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32243 unsigned long long int to avoid warnings in shift.
32244
32245 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32246 of use of trans.
32247 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32248 variable tmp.
32249
32250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32251 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32252 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32253
32254 * nis/nis_table.c (nis_list): Use variable of correct type for
32255 result of __follow_path call.
32256
32257 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32258
32259 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32260 of math functions ceil, trunc, floor, round, and sqrt, when
32261 avaliable on the platform.
32262 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32263 name clash.
32264 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32265 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32266 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32267
32268 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32269
32270 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32272
32273 2011-11-11 Roland McGrath <roland@hack.frob.com>
32274
32275 * include/unistd.h: Fix __readlink return type.
32276 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32277
32278 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32279
32280 * stdlib/ucontext.h: Undo last change for makecontext.
32281
32282 2011-11-11 Andreas Schwab <schwab@redhat.com>
32283
32284 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32285
32286 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32287 * setjmp/setjmp.h: Mark functions as non-leaf.
32288 * setjmp/bits/setjmp2.h: Likewise.
32289 * stdlib/ucontext.h: Likewise.
32290
32291 2011-11-10 Andreas Schwab <schwab@redhat.com>
32292
32293 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32294 (reused_arena): Don't check arena limit.
32295 (arena_get2): Atomically check arena limit.
32296
32297 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32298
32299 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32300 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32301
32302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32303 instructions.
32304
32305 2011-11-07 Andreas Schwab <schwab@redhat.com>
32306
32307 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32308 handler when locking.
32309
32310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32311 Fix size of allocated buffer.
32312
32313 2011-11-04 Andreas Schwab <schwab@redhat.com>
32314
32315 [BZ #10103]
32316 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32317 declarations for long double functions.
32318 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32319
32320 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32321
32322 2011-11-03 Andreas Schwab <schwab@redhat.com>
32323
32324 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32325 installed.
32326
32327 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32328 is disabled.
32329
32330 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32331
32332 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32333
32334 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32335
32336 * include/alloca.h (stackinfo_alloca_round): Define.
32337 (extend_alloca): Use it.
32338 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32339 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32340 here.
32341
32342 * scripts/check-local-headers.sh: Ignore libaudit.h.
32343
32344 * nscd/Makefile (extra-objs): Make recursively expanded.
32345
32346 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32347
32348 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32350
32351 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32352 * posix/tst-rfc3484-2.c: Likewise.
32353 * posix/tst-rfc3484-3.c: Likewise.
32354
32355 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32356 process_vm_writev.
32357 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32358 process_vm_writev.
32359 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32360 process_vm_writev from libc using GLIBC_2.15 version.
32361
32362 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32363
32364 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32365
32366 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32367 stack usage.
32368
32369 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32370
32371 [BZ #13367]
32372 * nss/getent.c (initgroups_keys): Show error message in case no group
32373 names are given.
32374
32375 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32376 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32377 __bump_nl_timestamp.
32378 * nscd/connections (nscd_init): When host database is served open
32379 netlink socket and request notification about configuration changes.
32380 (main_loop_poll): Track netlink file descriptor and bump timestamp
32381 in case data becomes available.
32382 (main_loop_epoll): Likewise.
32383 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32384 (database_pers_head): Add extra_data fileds.
32385 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32387 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32388 Adjust caller.
32389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32390 in6ai data, call __free_in6ai.
32391 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32392 Add -DHAVE_NETLINK.
32393 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32394 interface information. Reuse previous data if netlink timestamp
32395 is not changed.
32396 (__bump_nl_timestamp): New function.
32397 (__free_in6ai): New function.
32398
32399 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32400
32401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32402 close_not_cancel_no_status here.
32403 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32404
32405 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32406
32407 [BZ #13276]
32408 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32409 return value.
32410
32411 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32412 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32413 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32414
32415 2011-07-03 Andreas Jaeger <aj@suse.de>
32416
32417 [BZ #10709]
32418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32419 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32420 * math/libm-test.inc (sin_test): Add test case.
32421
32422 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32423
32424 [BZ #13337]
32425 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32426 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32427
32428 * elf/chroot_canon.c (chroot_canon): Cleanups.
32429
32430 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32431
32432 [BZ #13335]
32433 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32434 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32435
32436 * string/test-strchr.c: Make usable for strchrnul testing.
32437 * string/test-strchrnul.c: New file.
32438 * string/Makefile (strop-tests): Add strchrnul.
32439
32440 * po/it.po: Update from translation team.
32441 * po/es.po: Likewise.
32442
32443 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32444
32445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32446 the three constants needed as parameters. Drop the others.
32447 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32448 __m128i_strloadu_tolower.
32449 Create and initialize variable zero and use it in all the places
32450 where _mm_setzero_si128 was used.
32451
32452 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32453 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32454 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32456 anymore.
32457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32458 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32459 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32460 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32462 __mpranred, __mptan.
32463 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32464 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32465 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32466 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32467 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32468 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32470 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32471 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32472
32473 2011-10-28 Andreas Schwab <schwab@redhat.com>
32474
32475 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32476 redefine if SHARED.
32477 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32478
32479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32480 wide char related routines to wcsmbs subdir.
32481
32482 2011-10-27 Andreas Schwab <schwab@redhat.com>
32483
32484 [BZ #13344]
32485 * misc/sys/cdefs.h (__THROWNL): Define.
32486 * posix/unistd.h: Use __THREADNL instead of __THREAD
32487 for memory synchronization functions.
32488
32489 2011-10-26 Roland McGrath <roland@hack.frob.com>
32490
32491 [BZ #13349]
32492 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32493 doesn't exist.
32494 * manual/stdio.texi (Obstack Streams): Node removed.
32495
32496 2011-10-26 Andreas Schwab <schwab@redhat.com>
32497
32498 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32499 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32500 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32501
32502 * math/math_private.h (math_force_eval): Allow non-addressable
32503 arguments.
32504 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32505
32506 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32507
32508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32509 file is not needed.
32510
32511 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32519 Add AVX variants.
32520 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32521 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32522 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32523 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32525 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32526 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32527 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32528 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32529 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32530 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32531 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32532 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32533 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32536 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32537 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32538 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32539
32540 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32541 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32542
32543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32544 place. Use VEX encoding when compiling for AVX.
32545
32546 2011-10-25 Andreas Schwab <schwab@redhat.com>
32547
32548 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32549 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32550
32551 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32552
32553 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32554
32555 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32556 useless if() expression.
32557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32567 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32569 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32570 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32571 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32575 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32576
32577 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32578
32579 2011-10-25 Andreas Schwab <schwab@redhat.com>
32580
32581 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32582 condition.
32583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32584
32585 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32586
32587 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32588 .text section. Avoid duplicate constants.
32589 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32601 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32606 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32616 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32617 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32618 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32619 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32621 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32622 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32623 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32625 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32628 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32631 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32634
32635 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32636
32637 * sysdeps/x86_64/dla.h: Move to ...
32638 * sysdeps/x86_64/fpu/dla.h: ...here.
32639 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32640 situations. Use __builtin_fma only for gcc 4.6 and up.
32641
32642 * config.make.in: Add have-mfma4 entry.
32643 * configure.in: Substitute libc_cv_cc_fma4.
32644 * math/Makefile (dbl-only-routines): Add sincostab.
32645 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32646 Use __sincostab not sincos.
32647 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32648 name is a macro.
32649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32653 using __copysign.
32654 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32655 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32656 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32657 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32658 and __inv.
32659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32660 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32661 __copysign.
32662 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32663 define aliases when function name is a macro.
32664 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32665 sysdeps/ieee754/dbl-64/sincos.tbl.
32666 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32667 fma4-enabled routines.
32668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32669 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32670 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32671 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32673 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32675 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32677 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32678 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32680 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32681 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32682 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32683 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32684 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32685 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32686 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32687 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32688 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32694 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32698
32699 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32700 rename.
32701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32707 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32709
32710 2011-10-24 Andreas Schwab <schwab@redhat.com>
32711
32712 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32713
32714 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32715
32716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32717
32718 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32719 prediction.
32720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32721
32722 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32723 Remove unused variable magic_bits.
32724 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32725
32726 * string/strnlen.c: Define and use STRNLEN macro.
32727 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32728 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32730 * wcsmbs/wcslen.c: Define and use WCSLEN.
32731 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32732 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32733 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32734 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32735 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32736 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32737 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32738
32739 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32740
32741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32742 strnlen-sse2-no-bsf.
32743 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32745 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32746 Add strnlen support.
32747 (USE_AS_STRNLEN): New macro.
32748 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32749 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32750 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32751 * sysdeps/x86_64/wcslen.S: New file.
32752
32753 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32754
32755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32756 XMM-moves are used for copying on small sizes.
32757
32758 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32759
32760 * wcsmbs/Makefile (strop-tests): Add wcschr.
32761 * wcsmbs/test-wcschr.c: New file.
32762 * string/test-strchr.c: Update.
32763 Add wcschr support.
32764 (WIDE): New macro.
32765
32766 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32767
32768 * wcsmbs/Makefile (strop-tests): Add wcslen.
32769 * wcsmbs/test-wcslen.c: New file.
32770 * string/test-strlen.c: Update.
32771 Add wcslen support.
32772 (WIDE): New macro.
32773
32774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32775
32776 * po/it.po: Update from translation team.
32777
32778 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32779
32780 * sysdeps/x86_64/wcscmp.S: Update.
32781 Fix wrong comparison semantics.
32782 wcscmp shall use signed comparison not unsigned.
32783 Don't use substraction to avoid overflow bug.
32784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32785 * wcsmbc/wcscmp.c: Likewise.
32786 * string/test-strcmp.c: Likewise.
32787 Add new tests to check cases with negative values.
32788
32789 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32790
32791 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32792 * sysdeps/x86_64/dla.h: ...here. New file.
32793 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32802
32803 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32804
32805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32806 __ynl_finite aliases.
32807
32808 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32809
32810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32811
32812 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32813 define DLA_FMA.
32814 [DLA_FMA] (EMULV): Use DLA_FMA.
32815 [DLA_FMA] (MUL12): Use EMULV.
32816 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32817 that are not needed.
32818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32825
32826 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32827
32828 * math/s_nan.c: Undef __nan.
32829 * math/s_nanf.c: Undef __nanf.
32830 * math/s_nanl.c: Undef __nanl.
32831 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32832 "math_private.h".
32833
32834 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32835
32836 * math/s_catan.c: Add branch predictions.
32837 * math/s_catanf.c: Likewise.
32838 * math/s_catanh.c: Likewise.
32839 * math/s_catanhf.c: Likewise.
32840 * math/s_catanhl.c: Likewise.
32841 * math/s_catanl.c: Likewise.
32842 * math/s_cexp.c: Likewise.
32843 * math/s_cexpf.c: Likewise.
32844 * math/s_cexpl.c: Likewise.
32845 * math/s_clog.c: Likewise.
32846 * math/s_clog10.c: Likewise.
32847 * math/s_clog10f.c: Likewise.
32848 * math/s_clog10l.c: Likewise.
32849 * math/s_clogf.c: Likewise.
32850 * math/s_clogl.c: Likewise.
32851 * math/s_csqrt.c: Likewise.
32852 * math/s_csqrtf.c: Likewise.
32853 * math/s_csqrtl.c: Likewise.
32854 * math/s_ctanf.c: Likewise.
32855 * math/s_ctanh.c: Likewise.
32856 * math/s_ctanhf.c: Likewise.
32857 * math/s_ctanhl.c: Likewise.
32858 * math/s_ctanl.c: Likewise.
32859
32860 * math/math_private.h: Define __nan, __nanf, __nanl.
32861 * math/s_cacosh.c: Include <math_private.h>.
32862 * math/s_cacoshl.c: Likewise.
32863 * math/s_casinh.c: Likewise.
32864 * math/s_casinhf.c: Likewise.
32865 * math/s_casinhl.c: Likewise.
32866 * math/s_ccos.c: Rely entire on ccosh.
32867 * math/s_ccosf.c: Rely entire on ccoshf.
32868 * math/s_ccosl.c: Rely entirely on ccoshl.
32869 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32870 Remove tests for FE_INVALID.
32871 * math/s_ccoshf.c: Likewise.
32872 * math/s_ccoshl.c: Likewise.
32873 * math/s_csin.c: Likewise.
32874 * math/s_csinf.c: Likewise.
32875 * math/s_csinh.c Likewise.
32876 * math/s_csinhf.c: Likewise.
32877 * math/s_csinhl.c: Likewise.
32878 * math/s_csinl.c: Likewise.
32879 * math/s_ctan.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32881 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32882 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32883
32884 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32885
32886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32887 compilation problems.
32888
32889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32890 __builtin_expect.
32891
32892 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32893
32894 * sysdeps/i386/configure.in: Test for -mfma4 option.
32895 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32896 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32897 COMMON_CPUID_INDEX_80000001.
32898 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32899 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32900 use it if FMA3 is not supported.
32901 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32902
32903 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32904 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32905
32906 2011-10-20 Andreas Schwab <schwab@redhat.com>
32907
32908 [BZ #12892]
32909 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32910 it would create a cycle with a link time dependency.
32911
32912 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32913
32914 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32915 instruction.
32916 * string/Makefile (strop-tests): Add rawmemchr.
32917 * string/test-rawmemchr.c: New file.
32918
32919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32921 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32922 when compiling str{,n}casecmp and when AVX is available. Hook up
32923 new optimized code in initializers.
32924
32925 2011-10-19 Andreas Schwab <schwab@redhat.com>
32926
32927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32928 __feraiseexcept instead of feraiseexcept.
32929
32930 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32931
32932 * math/math_private.h: Define defaults for libc_fetestexcept and
32933 libc_feupdateenv.
32934 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32935 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32936 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32938 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32939 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32940 libc_fetestexcept and libc_feupdateenv.
32941
32942 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32943 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32944 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32945 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32946 libc_feholdexcept_setround.
32947
32948 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32949 Add s_nearbyint-c and s_nearbyintf-c.
32950 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32951 nearbyintf inlines.
32952 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32953 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32954 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32955 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32956
32957 * math/math_private.h: Define defaults for libc_fegetround,
32958 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32959 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32960 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32962 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32963 standard functions.
32964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32965 Remove comments and hacks for old compiler versions.
32966 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32967 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32968 libc_feholdexceptl.
32969
32970 2011-10-18 Andreas Schwab <schwab@redhat.com>
32971
32972 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32973 (__feraiseexcept_renamed): Add __NTH.
32974 (feraiseexcept): Add __NTH. Rename local variables to fix
32975 namespace violations.
32976
32977 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32978
32979 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32980
32981 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32982
32983 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32984 recently added interfaces.
32985 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32986
32987 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32988 about macro parameter expansion.
32989
32990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32991 __NO_MATH_INLINES is defined. Cleanups.
32992
32993 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32994 and __floorf is target has SSE4.1.
32995 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32996 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32997 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32998 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32999
33000 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33001 name.
33002 (floorf): Likewise.
33003
33004 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33005
33006 2011-10-17 Andreas Schwab <schwab@redhat.com>
33007
33008 * misc/sys/cdefs.h: Fix last change.
33009
33010 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33011 database lookup.
33012
33013 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33014
33015 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33016
33017 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33018 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33023 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33026 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33027 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33028 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33029 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33030 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33031 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33032 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33033 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33034 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33036 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33038 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33039
33040 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33041 ceil, ceilf, floor, floorf.
33042
33043 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33044 Perform IRELATIVE relocations last.
33045
33046 * elf/do-rel.h: Add another parameter nrelative, replacing the
33047 local variable with the same name. Change name of the function
33048 to end in Rel or Rela (uppercase).
33049 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33050 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33051 elf_dynamic_do_##reloc function.
33052
33053 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33054
33055 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33056 is sufficient, at least on modern CPUs.
33057
33058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33059
33060 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33061 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33062
33063 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33064 __expl_finite.
33065 * math/bits/math-finite.h: Add entries for exp.
33066 * math/e_expl.c: Add __*_finite alias.
33067 * sysdeps/i386/fpu/e_exp.S: Likewise.
33068 * sysdeps/i386/fpu/e_expf.S: Likewise.
33069 * sysdeps/i386/fpu/e_expl.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33071 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33075 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33076 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33077
33078 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33079 is sufficient, at least on modern CPUs.
33080
33081 * ctype/ctype-info.c (__ctype_init): Define.
33082 * include/ctype.h (__ctype_init): Declare.
33083 (__ctype_b_loc): The variable is always initialized.
33084 (__ctype_toupper_loc): Likewise.
33085 (__ctype_tolower_loc): Likewise.
33086 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33087 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33088
33089 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33090
33091 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33092
33093 * configure.in: Also look in $cxxmachine/include for C++ system
33094 headers.
33095
33096 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33097
33098 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33099 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33100 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33101 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33102 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33103 (USE_AS_WMEMCMP): New macro.
33104 Fixing indents.
33105 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33106 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33107 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33108 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33110 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33111 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33112 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33113 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33114 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33116 (USE_AS_WMEMCMP): New macro.
33117 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33118 * sysdeps/string/test-memcmp.c: Update.
33119 Fix simple_wmemcmp.
33120 Add new tests.
33121 * wcsmbs/wmemcmp.c: Update.
33122 (WMEMCMP): New macro.
33123 Fix overflow bug.
33124
33125 2011-10-12 Andreas Jaeger <aj@suse.de>
33126
33127 [BZ #13268]
33128 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33129
33130 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33131
33132 * libio/iofwide.c (do_length): Avoid warning.
33133
33134 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33135
33136 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33137
33138 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33139
33140 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33141 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33142 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33143 * sysdeps/i386/i686/fpu/e_log.S: New file.
33144 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33145 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33146
33147 * ctype/ctype.h: Add support for inlined isXXX functions when
33148 compiling C++ code.
33149
33150 2011-10-14 Andreas Schwab <schwab@redhat.com>
33151
33152 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33153
33154 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33155
33156 2011-10-13 Roland McGrath <roland@hack.frob.com>
33157
33158 [BZ #13291]
33159 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33160
33161 2011-10-13 Andreas Schwab <schwab@redhat.com>
33162
33163 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33164 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33165 feraiseexcept.
33166
33167 * sysdeps/x86_64/memrchr.S: Check for zero size.
33168
33169 * string/stratcliff.c: Add memrchr tests.
33170
33171 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33172
33173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33174 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33175 rawmemchr-sse2 rawmemchr-sse2-bsf.
33176 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33177 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33178 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33179 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33180 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33181 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33182 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33183 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33184 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33185 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33186 * string/memrchr.c (MEMRCHR): New macro.
33187
33188 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33189
33190 Add integration with gcc's -ffinite-math-only and optimize wrapper
33191 functions in libm.
33192 * Versions.def: Define GLIBC_2.15 version for libm.
33193 * math/Makefile (headers): Add bits/math-finite.h.
33194 * math/bits/math-finite.h: New file.
33195 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33196 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33197 * math/e_acoshl.c: Add __*_finite alias.
33198 * math/e_acosl.c: Likewise.
33199 * math/e_asinl.c: Likewise.
33200 * math/e_atan2l.c: Likewise.
33201 * math/e_atanhl.c: Likewise.
33202 * math/e_coshl.c: Likewise.
33203 * math/e_exp10.c: Likewise.
33204 * math/e_exp10f.c: Likewise.
33205 * math/e_exp10l.c: Likewise.
33206 * math/e_exp2l.c: Likewise.
33207 * math/e_fmodl.c: Likewise.
33208 * math/e_gammal_r.c: Likewise.
33209 * math/e_hypotl.c: Likewise.
33210 * math/e_j0l.c: Likewise.
33211 * math/e_j1l.c: Likewise.
33212 * math/e_jnl.c: Likewise.
33213 * math/e_lgammal_r.c: Likewise.
33214 * math/e_log10l.c: Likewise.
33215 * math/e_log2l.c: Likewise.
33216 * math/e_logl.c: Likewise.
33217 * math/e_powl.c: Likewise.
33218 * math/e_sinhl.c: Likewise.
33219 * math/e_sqrtl.c: Likewise.
33220 * math/e_scalb.c: Completely rewritten and optimized.
33221 * math/e_scalbf.c: Likewise.
33222 * math/e_scalbl.c: Likewise.
33223 * math/w_acos.c: Likewise.
33224 * math/w_acosf.c: Likewise.
33225 * math/w_acosl.c: Likewise.
33226 * math/w_acosh.c: Likewise.
33227 * math/w_acoshf.c: Likewise.
33228 * math/w_acoshl.c: Likewise.
33229 * math/w_asin.c: Likewise.
33230 * math/w_asinf.c: Likewise.
33231 * math/w_asinl.c: Likewise.
33232 * math/w_atan2.c: Likewise.
33233 * math/w_atan2f.c: Likewise.
33234 * math/w_atan2l.c: Likewise.
33235 * math/w_atanh.c: Likewise.
33236 * math/w_atanhf.c: Likewise.
33237 * math/w_atanhl.c: Likewise.
33238 * math/w_exp10.c: Likewise.
33239 * math/w_exp10f.c: Likewise.
33240 * math/w_exp10l.c: Likewise.
33241 * math/w_fmod.c: Likewise.
33242 * math/w_fmodf.c: Likewise.
33243 * math/w_fmodl.c: Likewise.
33244 * math/w_j0.c: Likewise.
33245 * math/w_j0f.c: Likewise.
33246 * math/w_j0l.c: Likewise.
33247 * math/w_j1.c: Likewise.
33248 * math/w_j1f.c: Likewise.
33249 * math/w_j1l.c: Likewise.
33250 * math/w_jn.c: Likewise.
33251 * math/w_jnf.c: Likewise.
33252 * math/w_log.c: Likewise.
33253 * math/w_logf.c: Likewise.
33254 * math/w_logl.c: Likewise.
33255 * math/w_log10.c: Likewise.
33256 * math/w_log10f.c: Likewise.
33257 * math/w_log10l.c: Likewise.
33258 * math/w_log2.c: Likewise.
33259 * math/w_log2f.c: Likewise.
33260 * math/w_log2l.c: Likewise.
33261 * math/w_pow.c: Likewise.
33262 * math/w_powf.c: Likewise.
33263 * math/w_powl.c: Likewise.
33264 * math/w_remainder.c: Likewise.
33265 * math/w_remainderf.c: Likewise.
33266 * math/w_remainderl.c: Likewise.
33267 * math/w_scalb.c: Likewise.
33268 * math/w_scalbf.c: Likewise.
33269 * math/w_scalbl.c: Likewise.
33270 * math/w_sqrt.c: Likewise.
33271 * math/w_sqrtf.c: Likewise.
33272 * math/w_sqrtl.c: Likewise.
33273 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33274 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33275 used.
33276 * math/math_private.h: Declare __kernel_standard_f.
33277 * math/w_cosh.c: Remove cruft and optimize a bit.
33278 * math/w_coshf.c: Likewise.
33279 * math/w_coshl.c: Likewise.
33280 * math/w_exp2.c: Likewise.
33281 * math/w_exp2f.c: Likewise.
33282 * math/w_exp2l.c: Likewise.
33283 * math/w_hypot.c: Likewise.
33284 * math/w_hypotf.c: Likewise.
33285 * math/w_hypotl.c: Likewise.
33286 * math/w_lgamma.c: Likewise.
33287 * math/w_lgamma_r.c: Likewise.
33288 * math/w_lgammaf.c: Likewise.
33289 * math/w_lgammaf_r.c: Likewise.
33290 * math/w_lgammal.c: Likewise.
33291 * math/w_lgammal_r.c: Likewise.
33292 * math/w_sinh.c: Likewise.
33293 * math/w_sinhf.c: Likewise.
33294 * math/w_sinhl.c: Likewise.
33295 * math/w_tgamma.c: Likewise.
33296 * math/w_tgammaf.c: Likewise.
33297 * math/w_tgammal.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33300 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33301 Minor optimizations. Pretty printing. Remove cruft.
33302 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33303 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33304 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33305 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33306 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33307 * sysdeps/i386/fpu/e_asin.S: Likewise.
33308 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33309 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33310 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33311 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33312 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33315 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33316 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33317 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33318 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33319 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33320 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33321 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33322 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33323 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33324 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33325 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33326 * sysdeps/i386/fpu/e_log.S: Likewise.
33327 * sysdeps/i386/fpu/e_log10.S: Likewise.
33328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33329 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33330 * sysdeps/i386/fpu/e_log2.S: Likewise.
33331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33332 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33333 * sysdeps/i386/fpu/e_logf.S: Likewise.
33334 * sysdeps/i386/fpu/e_logl.S: Likewise.
33335 * sysdeps/i386/fpu/e_pow.S: Likewise.
33336 * sysdeps/i386/fpu/e_powf.S: Likewise.
33337 * sysdeps/i386/fpu/e_powl.S: Likewise.
33338 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33339 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33340 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33343 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33344 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33345 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33346 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33368 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33369 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33370 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33371 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33372 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33373 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33374 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33375 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33376 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33378 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33379 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33381 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33382 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33383 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33384 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33385 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33386 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33387 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33388 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33396 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33397 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33398 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33400 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33401 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33404 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33405 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33431 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33432 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33435 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33436 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33437 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33438 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33439 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33440 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33441 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33442 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33443 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33444 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33445 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33446 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33447 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33448 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33449 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33450 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33452 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33455 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33457 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33458 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33459 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33460 (__isnanf): Likewise.
33461 (__isinf_ns): Likewise.
33462 (__isinf_nsf): Likewise.
33463 (__finite): Likewise.
33464 (__finitef): Likewise.
33465 (__ieee754_sqrt): Define as macro.
33466 (__ieee754_sqrtf): Define as macro.
33467 (__ieee754_sqrtl): Define as macro.
33468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33469 inlined copy.
33470 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33471 __FINITE_MATH_ONLY__ consistent.
33472 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33473
33474 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33475
33476 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33477 of rawmemchr.
33478
33479 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33480
33481 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33482
33483 * po/ja.po: Update from translation team.
33484
33485 2011-10-08 Roland McGrath <roland@hack.frob.com>
33486
33487 * locale/programs/locarchive.c (prepare_address_space): New function.
33488 (create_archive, enlarge_archive, open_archive): Use it.
33489
33490 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33491 inside [SHARED], where it is used.
33492
33493 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33494
33495 * nss/getent.c (netgroup_keys): Remove unused variable.
33496 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33497
33498 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33499
33500 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33505 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33506 * math/Makefile (libm-calls): Add s_isinf_ns.
33507 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33508 * math/multc3.c: Likewise.
33509 * math/s_casin.c: Likewise.
33510 * math/s_casinf.c: Likewise.
33511 * math/s_casinl.c: Likewise.
33512 * math/s_ccos.c: Likewise.
33513 * math/s_ccosf.c: Likewise.
33514 * math/s_ccosl.c: Likewise.
33515 * math/s_ctan.c: Likewise.
33516 * math/s_ctanf.c: Likewise.
33517 * math/s_ctanh.c: Likewise.
33518 * math/s_ctanhf.c: Likewise.
33519 * math/s_ctanhl.c: Likewise.
33520 * math/s_ctanl.c: Likewise.
33521 * math/w_fmod.c: Likewise.
33522 * math/w_fmodf.c: Likewise.
33523 * math/w_fmodl.c: Likewise.
33524 * math/w_remainder.c: Likewise.
33525 * math/w_remainderf.c: Likewise.
33526 * math/w_remainderl.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33528 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33531 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33532 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33533 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33534 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33535
33536 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33537 of the number.
33538 * stdio-common/printf_fphex.c: Likewise.
33539 * stdio-common/printf_size.c: Likewise.
33540
33541 * math/e_exp10.c: Include math_private.h using <...> not "...".
33542 * math/e_exp10f.c: Likewise.
33543 * math/e_exp10l.c: Likewise.
33544 * math/e_exp2l.c: Likewise.
33545 * math/e_j0l.c: Likewise.
33546 * math/e_j1l.c: Likewise.
33547 * math/e_jnl.c: Likewise.
33548 * math/e_lgammal_r.c: Likewise.
33549 * math/e_rem_pio2l.c: Likewise.
33550 * math/e_scalb.c: Likewise.
33551 * math/e_scalbf.c: Likewise.
33552 * math/e_scalbl.c: Likewise.
33553 * math/k_cosl.c: Likewise.
33554 * math/k_sinl.c: Likewise.
33555 * math/k_tanl.c: Likewise.
33556 * math/s_cacoshf.c: Likewise.
33557 * math/s_catan.c: Likewise.
33558 * math/s_catanf.c: Likewise.
33559 * math/s_catanh.c: Likewise.
33560 * math/s_catanhf.c: Likewise.
33561 * math/s_catanhl.c: Likewise.
33562 * math/s_catanl.c: Likewise.
33563 * math/s_ccosh.c: Likewise.
33564 * math/s_ccoshf.c: Likewise.
33565 * math/s_ccoshl.c: Likewise.
33566 * math/s_cexp.c: Likewise.
33567 * math/s_cexpf.c: Likewise.
33568 * math/s_cexpl.c: Likewise.
33569 * math/s_clog.c: Likewise.
33570 * math/s_clog10.c: Likewise.
33571 * math/s_clog10f.c: Likewise.
33572 * math/s_clog10l.c: Likewise.
33573 * math/s_clogf.c: Likewise.
33574 * math/s_clogl.c: Likewise.
33575 * math/s_csin.c: Likewise.
33576 * math/s_csinf.c: Likewise.
33577 * math/s_csinh.c: Likewise.
33578 * math/s_csinhf.c: Likewise.
33579 * math/s_csinhl.c: Likewise.
33580 * math/s_csinl.c: Likewise.
33581 * math/s_csqrt.c: Likewise.
33582 * math/s_csqrtf.c: Likewise.
33583 * math/s_csqrtl.c: Likewise.
33584 * math/s_ctan.c: Likewise.
33585 * math/s_ctanf.c: Likewise.
33586 * math/s_ctanh.c: Likewise.
33587 * math/s_ctanhf.c: Likewise.
33588 * math/s_ctanhl.c: Likewise.
33589 * math/s_ctanl.c: Likewise.
33590 * math/s_ldexp.c: Likewise.
33591 * math/s_ldexpf.c: Likewise.
33592 * math/s_ldexpl.c: Likewise.
33593 * math/s_significand.c: Likewise.
33594 * math/s_significandf.c: Likewise.
33595 * math/s_significandl.c: Likewise.
33596 * math/w_acos.c: Likewise.
33597 * math/w_acosf.c: Likewise.
33598 * math/w_acosh.c: Likewise.
33599 * math/w_acoshf.c: Likewise.
33600 * math/w_acoshl.c: Likewise.
33601 * math/w_acosl.c: Likewise.
33602 * math/w_asin.c: Likewise.
33603 * math/w_asinf.c: Likewise.
33604 * math/w_asinl.c: Likewise.
33605 * math/w_atan2.c: Likewise.
33606 * math/w_atan2f.c: Likewise.
33607 * math/w_atan2l.c: Likewise.
33608 * math/w_atanh.c: Likewise.
33609 * math/w_atanhf.c: Likewise.
33610 * math/w_atanhl.c: Likewise.
33611 * math/w_cosh.c: Likewise.
33612 * math/w_coshf.c: Likewise.
33613 * math/w_coshl.c: Likewise.
33614 * math/w_dremf.c: Likewise.
33615 * math/w_exp10.c: Likewise.
33616 * math/w_exp10f.c: Likewise.
33617 * math/w_exp10l.c: Likewise.
33618 * math/w_exp2.c: Likewise.
33619 * math/w_exp2f.c: Likewise.
33620 * math/w_fmod.c: Likewise.
33621 * math/w_fmodf.c: Likewise.
33622 * math/w_fmodl.c: Likewise.
33623 * math/w_hypot.c: Likewise.
33624 * math/w_hypotf.c: Likewise.
33625 * math/w_hypotl.c: Likewise.
33626 * math/w_j0.c: Likewise.
33627 * math/w_j0f.c: Likewise.
33628 * math/w_j0l.c: Likewise.
33629 * math/w_j1.c: Likewise.
33630 * math/w_j1f.c: Likewise.
33631 * math/w_j1l.c: Likewise.
33632 * math/w_jn.c: Likewise.
33633 * math/w_jnf.c: Likewise.
33634 * math/w_jnl.c: Likewise.
33635 * math/w_lgamma.c: Likewise.
33636 * math/w_lgamma_r.c: Likewise.
33637 * math/w_lgammaf.c: Likewise.
33638 * math/w_lgammaf_r.c: Likewise.
33639 * math/w_lgammal.c: Likewise.
33640 * math/w_lgammal_r.c: Likewise.
33641 * math/w_log.c: Likewise.
33642 * math/w_log10.c: Likewise.
33643 * math/w_log10f.c: Likewise.
33644 * math/w_log10l.c: Likewise.
33645 * math/w_log2.c: Likewise.
33646 * math/w_log2f.c: Likewise.
33647 * math/w_log2l.c: Likewise.
33648 * math/w_logf.c: Likewise.
33649 * math/w_logl.c: Likewise.
33650 * math/w_pow.c: Likewise.
33651 * math/w_powf.c: Likewise.
33652 * math/w_powl.c: Likewise.
33653 * math/w_remainder.c: Likewise.
33654 * math/w_remainderf.c: Likewise.
33655 * math/w_remainderl.c: Likewise.
33656 * math/w_scalb.c: Likewise.
33657 * math/w_scalbf.c: Likewise.
33658 * math/w_scalbl.c: Likewise.
33659 * math/w_sinh.c: Likewise.
33660 * math/w_sinhf.c: Likewise.
33661 * math/w_sinhl.c: Likewise.
33662 * math/w_sqrt.c: Likewise.
33663 * math/w_sqrtf.c: Likewise.
33664 * math/w_sqrtl.c: Likewise.
33665 * math/w_tgamma.c: Likewise.
33666 * math/w_tgammaf.c: Likewise.
33667 * math/w_tgammal.c: Likewise.
33668
33669 * po/ja.po: Update from translation team.
33670
33671 2011-09-29 Andreas Jaeger <aj@suse.de>
33672
33673 [BZ #13179]
33674 * sunrpc/netname.c (netname2host): Fix logic.
33675
33676 [BZ #6779]
33677 [BZ #6783]
33678 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33679 correctly.
33680 * math/w_remainder.c (__remainder): Likewise.
33681 * math/w_remainderf.c (__remainderf): Likewise.
33682 * math/libm-test.inc (remainder_test): Add test cases.
33683
33684 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33685
33686 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33687 sdiv_qrnnd.
33688
33689 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33690
33691 * string/test-memcmp.c: Avoid unncessary #defines.
33692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33693
33694 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33695
33696 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33697 Use new sse2 version for core i3 - i7 as it's faster
33698 than sse42 version.
33699 (bit_Prefer_PMINUB_for_stringop): New.
33700 * sysdeps/x86_64/rawmemchr.S: Update.
33701 Replace with faster SSE2 version.
33702 * sysdeps/x86_64/memrchr.S: New file.
33703 * sysdeps/x86_64/memchr.S: Update.
33704 Replace with faster SSE2 version.
33705
33706 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33707
33708 * elf/dl-load.c (lose): Add cast to avoid warning.
33709
33710 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33711
33712 * po/ca.po: Update from translation team.
33713
33714 * inet/getnetgrent_r.c: Hook up nscd.
33715 * nscd/Makefile (routines): Add nscd_netgroup.
33716 (nscd-modules): Add netgroupcache.
33717 (CFLAGS-netgroupcache.c): Define.
33718 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33719 (cache_search): Add const to second parameter.
33720 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33721 INNETGR.
33722 (dbs): Add netgrdb entry.
33723 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33724 (verify_persistent_db): Handle netgrdb.
33725 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33726 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33727 GETFDNETGR.
33728 (netgroup_response_header): Define.
33729 (innetgroup_response_header): Define.
33730 (datahead): Add netgroup_response_header and innetgroup_response_header
33731 elements.
33732 * nscd/nscd.conf: Add entries for netgroup cache.
33733 * nscd/nscd.h (dbtype): Add netgrdb.
33734 (_PATH_NSCD_NETGROUP_DB): Define.
33735 (netgroup_iov_disabled): Declare.
33736 (xmalloc, xcalloc, xrealloc): Move declarations here.
33737 (cache_search): Adjust prototype.
33738 Add netgroup-related prototypes.
33739 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33740 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33741 (__nscd_innetgr): Declare.
33742 * nscd/selinux.c (perms): Use access_vector_t as element type and
33743 add netgroup-related initializers.
33744 * nscd/netgroupcache.c: New file.
33745 * nscd/nscd_netgroup.c: New file.
33746 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33747 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33748 For four parameters use innetgr.
33749 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33750 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33751 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33752 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33753
33754 * nscd/connections.c (register_traced_file): Don't register file
33755 for disabled databases.
33756
33757 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33758
33759 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33760
33761 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33762 from tree and freeing node.
33763
33764 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33765
33766 * nss/nsswitch.c (__nss_database_lookup): Handle
33767 nss_parse_service_list out of memory case.
33768
33769 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33770
33771 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33772 out of memory case.
33773
33774 2011-10-04 Andreas Schwab <schwab@redhat.com>
33775
33776 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33777 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33778 pass it down.
33779 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33780 elf_machine_rela, elf_machine_lazy_rel.
33781 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33782 (ELF_DYNAMIC_DO_REL): Likewise.
33783 (ELF_DYNAMIC_DO_RELA): Likewise.
33784 (ELF_DYNAMIC_RELOCATE): Likewise.
33785 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33786 to ELF_DYNAMIC_DO_REL.
33787 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33788 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33789 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33790 elf_machine_rela.
33791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33792 skip_ifunc, don't call ifunc function if non-zero.
33793 (elf_machine_rela): Likewise.
33794 (elf_machine_lazy_rel): Likewise.
33795 (elf_machine_lazy_rela): Likewise.
33796 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33797 (elf_machine_lazy_rel): Likewise.
33798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33799 Likewise.
33800 (elf_machine_lazy_rel): Likewise.
33801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33802 Likewise.
33803 (elf_machine_lazy_rel): Likewise.
33804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33805 (elf_machine_lazy_rel): Likewise.
33806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33807 (elf_machine_lazy_rel): Likewise.
33808 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33809 (elf_machine_lazy_rel): Likewise.
33810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33811 (elf_machine_lazy_rel): Likewise.
33812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33813 (elf_machine_lazy_rel): Likewise.
33814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33815 (elf_machine_lazy_rel): Likewise.
33816
33817 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33818
33819 * nss/nss_files/files-init.c (_nss_files_init): Use static
33820 initialization for all the *_traced_file variables.
33821
33822 2011-09-28 Andreas Schwab <schwab@redhat.com>
33823
33824 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33825
33826 2011-09-27 Roland McGrath <roland@hack.frob.com>
33827
33828 [BZ #13226]
33829 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33830
33831 2011-09-27 Andreas Schwab <schwab@redhat.com>
33832
33833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33834 Reread the line before reparsing it.
33835
33836 2011-09-26 Andreas Schwab <schwab@redhat.com>
33837
33838 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33839
33840 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33841 Maxim Kuvyrkov <maxim@codesourcery.com>
33842 Joseph Myers <joseph@codesourcery.com>
33843
33844 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33845 if needed for __stack_chk_guard.
33846
33847 2011-09-19 Roland McGrath <roland@hack.frob.com>
33848
33849 * sysdeps/posix/spawni.c (script_execute): Always define it.
33850 It will be optimized away if unused.
33851 (maybe_script_execute): New function.
33852 (__spawni): Call it.
33853
33854 * Makerules: Don't include tls.make.
33855 (config-tls): Always set to thread.
33856 * tls.make.c: File removed.
33857
33858 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33859
33860 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33861 * config.make.in (CPPFLAGS-config): New substituted variable.
33862
33863 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33864
33865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33866
33867 [BZ #13192]
33868 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33869 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33870
33871 2011-09-15 Roland McGrath <roland@hack.frob.com>
33872
33873 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33874 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33876 (CALL_FAIL): Likewise.
33877 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33878 (CALL_FAIL): Macro removed.
33879 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33880
33881 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33882
33883 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33884 for __FINITE_MATH_ONLY__ == 1.
33885
33886 2011-09-15 Andreas Schwab <schwab@redhat.com>
33887
33888 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33889 __ieee754_sqrt instead of sqrt.
33890 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33891 __ieee754_sqrtf instead of sqrtf.
33892 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33893 __floorf instead of floorf.
33894 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33895 __floorf, __truncf instead of floorf, truncf.
33896
33897 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33898
33899 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33900
33901 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33902 __extern_always_inline.
33903 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33904 32-bit.
33905
33906 2011-09-14 Andreas Schwab <schwab@redhat.com>
33907
33908 * elf/rtld.c (dl_main): Also relocate in dependency order when
33909 doing symbol dependency testing.
33910
33911 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33912
33913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33914 Always define `refsym'.
33915
33916 2011-09-13 Andreas Schwab <schwab@redhat.com>
33917
33918 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33919 (__FD_ELT): Renamed from __FDELT.
33920 * misc/bits/select2.h (__FD_ELT): Likewise.
33921 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33922 __FD_MASK instead of __FDELT, __FDMASK.
33923 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33924 Likewise.
33925 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33926 Likewise.
33927
33928 * elf/Makefile (gen-ldd): Fix pattern.
33929
33930 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33931 (init_tls): Likewise.
33932
33933 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33934
33935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33936
33937 2011-09-12 Andreas Schwab <schwab@redhat.com>
33938
33939 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33940 `struct cmsghdr *' instead of `void *'.
33941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33942 Likewise.
33943
33944 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33945
33946 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33947 if non-absolute.
33948 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33949 ldd_rewrite_script.
33950
33951 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33952
33953 * configure.in: Remove --with-tls option.
33954 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33955 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33956 out in case it is missing.
33957 * sysdeps/ia64/elf/configure.in: Likewise.
33958 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33959 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33960 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33961 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33962 * sysdeps/sh/elf/configure.in: Likewise.
33963 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33964 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33965 * sysdeps/x86_64/elf/configure.in: Likewise.
33966 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33967 * sysdeps/mach/hurd/tls.h: Likewise.
33968
33969 [BZ #13067]
33970 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33971
33972 [BZ #13090]
33973 * configure.in: Fix use of AC_INIT.
33974
33975 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33976
33977 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33978
33979 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33980 __set_errno.
33981 * malloc/hooks.c: Likewise.
33982
33983 [BZ #11929]
33984 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33985 variables statically.
33986 (narenas): Initialize.
33987 (list_lock): Initialize.
33988 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33989 initializtion of main_arena and list_lock. Small cleanups.
33990 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33991 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33992 Add initializers to main_arena and mp_.
33993 (malloc_state): Remove pagesize member. Change all users to use
33994 GLRO(dl_pagesize).
33995
33996 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33997 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33998 is always initialized.
33999
34000 * malloc/malloc.c: Removed unused configurations and dead code.
34001 * malloc/arena.c: Likewise.
34002 * malloc/hooks.c: Likewise.
34003 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34004
34005 * include/tls.h: Removed. USE___THREAD must always be defined.
34006 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34007 * elf/dl-libc.c: Likewise.
34008 * elf/dl-tsd.c: Likewise.
34009 * include/errno.h: Likewise.
34010 * include/netdb.h: Likewise.
34011 * include/resolv.h: Likewise.
34012 * inet/herrno-loc.c: Likewise.
34013 * inet/herrno.c: Likewise.
34014 * malloc/arena.c: Likewise.
34015 * malloc/hooks.c: Likewise.
34016 * malloc/malloc.c: Likewise.
34017 * resolv/res-state.c: Likewise.
34018 * resolv/res_libc.c: Likewise.
34019 * sysdeps/i386/dl-machine.h: Likewise.
34020 * sysdeps/ia64/dl-machine.h: Likewise.
34021 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34022 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34023 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34024 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34025 * sysdeps/sh/dl-machine.h: Likewise.
34026 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34028 * sysdeps/unix/i386/sysdep.S: Likewise.
34029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34030 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34033 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34035 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34039 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34040 * sysdeps/x86_64/dl-machine.h: Likewise.
34041 * tls.make.c: Likewise.
34042
34043 * configure.in: Remove --with-__thread option. Make tests for
34044 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34045 tls_model attribute fail if no support is available. Remove
34046 USE_IN_LIBIO.
34047 * Makeconfig: Adjust for dropped configure option. All features are
34048 now mandatory.
34049 * Makerules: Likewise.
34050 * Versions.def: Likewise.
34051 * argp/argp-fmtstream.c: Likewise.
34052 * argp/argp-fmtstream.h: Likewise.
34053 * argp/argp-help.c: Likewise.
34054 * assert/assert.c: Likewise.
34055 * config.h.in: Likewise.
34056 * config.make.in: Likewise.
34057 * configure: Likewise.
34058 * configure.in: Likewise.
34059 * csu/Versions: Likewise.
34060 * csu/init.c: Likewise.
34061 * elf/tst-audit2.c: Likewise.
34062 * elf/tst-tls10.c: Likewise.
34063 * elf/tst-tls10.h: Likewise.
34064 * elf/tst-tls11.c: Likewise.
34065 * elf/tst-tls12.c: Likewise.
34066 * elf/tst-tls14.c: Likewise.
34067 * elf/tst-tlsmod11.c: Likewise.
34068 * elf/tst-tlsmod12.c: Likewise.
34069 * elf/tst-tlsmod13.c: Likewise.
34070 * elf/tst-tlsmod13a.c: Likewise.
34071 * elf/tst-tlsmod14a.c: Likewise.
34072 * elf/tst-tlsmod15b.c: Likewise.
34073 * elf/tst-tlsmod16a.c: Likewise.
34074 * elf/tst-tlsmod16b.c: Likewise.
34075 * elf/tst-tlsmod7.c: Likewise.
34076 * elf/tst-tlsmod8.c: Likewise.
34077 * elf/tst-tlsmod9.c: Likewise.
34078 * gmon/gmon.c: Likewise.
34079 * grp/fgetgrent_r.c: Likewise.
34080 * grp/putgrent.c: Likewise.
34081 * hurd/fopenport.c: Likewise.
34082 * include/libc-symbols.h: Likewise.
34083 * include/tls.h: Likewise.
34084 * intl/gettextP.h: Likewise.
34085 * intl/loadinfo.h: Likewise.
34086 * locale/global-locale.c: Likewise.
34087 * locale/localeinfo.h: Likewise.
34088 * mach/devstream.c: Likewise.
34089 * malloc/arena.c: Likewise.
34090 * malloc/set-freeres.c: Likewise.
34091 * misc/err.c: Likewise.
34092 * misc/getttyent.c: Likewise.
34093 * misc/mntent_r.c: Likewise.
34094 * posix/getopt.c: Likewise.
34095 * posix/wordexp.c: Likewise.
34096 * pwd/fgetpwent_r.c: Likewise.
34097 * resolv/Versions: Likewise.
34098 * resolv/res_hconf.c: Likewise.
34099 * shadow/fgetspent_r.c: Likewise.
34100 * shadow/putspent.c: Likewise.
34101 * stdio-common/printf_fphex.c: Likewise.
34102 * stdio-common/tmpfile.c: Likewise.
34103 * stdlib/abort.c: Likewise.
34104 * stdlib/fmtmsg.c: Likewise.
34105 * sunrpc/auth_unix.c: Likewise.
34106 * sunrpc/clnt_perr.c: Likewise.
34107 * sunrpc/clnt_tcp.c: Likewise.
34108 * sunrpc/clnt_udp.c: Likewise.
34109 * sunrpc/clnt_unix.c: Likewise.
34110 * sunrpc/openchild.c: Likewise.
34111 * sunrpc/svc_simple.c: Likewise.
34112 * sunrpc/svc_tcp.c: Likewise.
34113 * sunrpc/svc_udp.c: Likewise.
34114 * sunrpc/svc_unix.c: Likewise.
34115 * sunrpc/xdr.c: Likewise.
34116 * sunrpc/xdr_array.c: Likewise.
34117 * sunrpc/xdr_rec.c: Likewise.
34118 * sunrpc/xdr_ref.c: Likewise.
34119 * sunrpc/xdr_stdio.c: Likewise.
34120
34121 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34122
34123 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34124
34125 2011-07-03 Andreas Jaeger <aj@suse.de>
34126
34127 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34128 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34129 regenerate with gen-libm-tests.pl.
34130
34131 2010-05-12 Petr Baudis <pasky@suse.cz>
34132
34133 [BZ #11589]
34134 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34135 around j0() zero points by switching to j1().
34136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34140
34141 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34142
34143 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34144 instead of 0.
34145 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34146 instead of 0.
34147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34148 Patch in part by Pavel Roskin <proski@gnu.org>.
34149
34150 [BZ #13138]
34151 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34152 realloc.
34153 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34154 Free memory block if necessary.
34155
34156 [BZ #12847]
34157 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34158 be NULL. Don't lock in this case.
34159
34160 2011-09-09 Roland McGrath <roland@hack.frob.com>
34161
34162 * elf/elf.h (ELFOSABI_GNU): New macro.
34163 (ELFOSABI_LINUX): Define to that.
34164
34165 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34166
34167 * string/strncat.c (strncat): Undef the symbol in case it has been
34168 defined in bits/string.h.
34169
34170 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34171
34172 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34173
34174 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34175 link map.
34176
34177 2011-08-17 Andreas Jaeger <aj@suse.de>
34178
34179 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34180
34181 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34182 Ian Lance Taylor <iant@google.com>
34183
34184 * math/libm-test.inc (lround_test): New testcase.
34185 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34186
34187 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34188
34189 * Makefile: Remove support for automatic cvs check-ins.
34190 * Makerules: Likewise.
34191 * config.make.in: Likewise.
34192 * configure.in: Likewise.
34193 * intl/Makefile: Likewise.
34194 * locale/Makefile: Likewise.
34195 * po/Makefile: Likewise.
34196 * posix/Makefile: Likewise.
34197 * sysdeps/gnu/Makefile: Likewise.
34198 * sysdeps/mach/hurd/Makefile: Likewise.
34199 * sysdeps/sparc/sparc32/Makefile: Likewise.
34200
34201 [BZ #13118]
34202 * posix/Makefile (bug-regex32-ENV): Define.
34203 Patch by John Stanley <jpsinthemix@verizon.net>.
34204
34205 * misc/Makefile (headers): Add bits/select2.h.
34206 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34207 * misc/bits/select2.h: New file.
34208 * include/bits/select2.h: New file.
34209 * debug/Makefile (routines): Add fdelt_chk.
34210 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34211 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34212 FD_ISSET.
34213 * debug/fdelt_chk.c: New file.
34214
34215 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34216 * wcsmbs/test-wmemcmp.c: Likewise.
34217 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34218 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34219
34220 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34221
34222 * string/Makefile (strop-tests): Add memcmp.
34223 * string/test-wmemcmp.c: New file.
34224 * string/test-memcmp.c: Add wmemcmp support.
34225
34226 2011-09-08 Roland McGrath <roland@hack.frob.com>
34227
34228 [BZ #13153]
34229 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34230 2011-07-19 change.
34231
34232 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34233 garbage value in a __mach_port_mod_refs call in the cases of the
34234 task-self and thread-self ports.
34235
34236 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34237
34238 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34239
34240 2011-09-08 Andreas Schwab <schwab@redhat.com>
34241
34242 * elf/dl-load.c (lose): Check for non-null L.
34243
34244 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34245
34246 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34247
34248 * elf/dl-libc.c (dlerror_run): Pass back error code from
34249 dl_catch_error.
34250
34251 [BZ #13123]
34252 * elf/dl-load.c (lose): Free l_origin if it is valid.
34253
34254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34255 names.
34256 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34257 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34261 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34262
34263 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34264
34265 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34266 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34268 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34269 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34270 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34271 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34272 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34273 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34274 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34275
34276 2011-08-15 Alan Modra <amodra@gmail.com>
34277
34278 [BZ #13092]
34279 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34280 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34281 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34282 ppc_mcount to static-only-routines.
34283 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34284 __mcount_internal.
34285 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34286 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34287
34288 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34289
34290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34291 for finite and infinity parameters.
34292
34293 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34294
34295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34296 and add nop instructions for throughput optimization.
34297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34298
34299 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34300
34301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34302 aligned copy for power7 with vector-scalar instructions.
34303 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34304
34305 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34306
34307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34308 AVX check.
34309
34310 2011-09-07 Andreas Schwab <schwab@redhat.com>
34311
34312 [BZ #13144]
34313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34314 last change.
34315
34316 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34317
34318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34319 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34320 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34321 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34322 clock_gettime.
34323
34324 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34325
34326 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34327 Forgot to demangle the pointer.
34328
34329 * sysdeps/i386/sysdep.h: Define atom_text_section.
34330 * sysdeps/x86_64/sysdep.h: Likewise.
34331 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34332 section with atom_text_section.
34333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34334 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34335 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34338
34339 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34341 already be defined. Change to take two parameters and don't assign
34342 result to variable. Adjust all users.
34343 Define INTERNAL_GETTIME if not already defined.
34344 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34345 call.
34346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34347 HAVE_CLOCK_GETTIME_VSYSCALL.
34348 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34349
34350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34351 gettimeofday vsyscall, just use time.
34352
34353 2011-09-06 Andreas Schwab <schwab@redhat.com>
34354
34355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34356 <errno.h>.
34357
34358 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34359
34360 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34361 syscall on x86-64.
34362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34363 syscall.
34364 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34366 syscall if possible.
34367
34368 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34369
34370 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34371 e_ident. Don't pass to find_mapsXX.
34372 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34373
34374 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34375
34376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34377 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34378 * sysdeps/x86_64/multiarch/strchr.S: Update.
34379 Check bit_slow_BSF bit.
34380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34381 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34382 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34383
34384 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34385
34386 [BZ #13134]
34387 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34388 before glibc 2.15.
34389 (tryshell): Define.
34390 (__spawni): Change last parameter to be flag. Test
34391 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34392 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34393 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34394 * posix/spawni.c: Likewise.
34395 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34396 * posix/spawnp.c: Likewise. Change normal version to use
34397 SPAWN_XFLAGS_USE_PATH.
34398 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34399 SPAWN_XFLAGS_TRY_SHELL.
34400
34401 [BZ #13150]
34402 * posix/glob.h: Remove gcc 1.x support.
34403
34404 [BZ #13068]
34405 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34406
34407 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34408
34409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34410 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34411 strrchr-sse2-bsf
34412 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34413 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34414 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34416 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34417 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34418
34419 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34420
34421 * sysdeps/x86_64/wcscmp.S: New file.
34422
34423 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34424 wcscmp-c wcscmp-sse2
34425 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34426 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34427 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34428 * wcsmbs/wcscmp.c: Allow renaming.
34429
34430 2011-09-05 David S. Miller <davem@davemloft.net>
34431
34432 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34433 stack slot, rather than the struct return pointer slot.
34434 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34435 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34437 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34438
34439 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34440
34441 * po/ja.po: Update from translation team.
34442
34443 [BZ #13144]
34444 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34445 kernel in 64-bit binaries.
34446
34447 2011-09-01 David S. Miller <davem@davemloft.net>
34448
34449 * elf/elf.h (HWCAP_SPARC_*): Move to..
34450 * sysdeps/sparc/sysdep.h: this new file and add new values.
34451 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34452 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34453 _DL_HWCAP_COUNT to 24.
34454 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34455 entries.
34456 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34457 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34458 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34460 instead of magic constants.
34461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34462
34463 2011-08-31 David S. Miller <davem@davemloft.net>
34464
34465 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34467 Reimplement to do errno handling inline.
34468 (SYSCALL_ERROR_HANDLER): New macro.
34469 (__SYSCALL_STRING): Do not do errno handling in asm.
34470 (__CLONE_SYSCALL_STRING): Delete.
34471 (__INTERNAL_SYSCALL_STRING): Delete.
34472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34473 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34474 (PSEUDO): Reimplement to do errno handling inline.
34475 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34476 (SYSCALL_ERROR_HANDLER): New macro.
34477 (__SYSCALL_STRING): Do not do errno handling in asm.
34478 (__CLONE_SYSCALL_STRING): Delete.
34479 (__INTERNAL_SYSCALL_STRING): Delete.
34480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34481 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34482 i386.
34483 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34484 (inline_syscall*): Add 'err' argument.
34485 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34486 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34487 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34488 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34489
34490 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34491 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34492
34493 2011-08-30 Andreas Schwab <schwab@redhat.com>
34494
34495 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34496
34497 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34498
34499 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34500 directive.
34501
34502 2011-08-24 David S. Miller <davem@davemloft.net>
34503
34504 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34505
34506 2011-08-24 Andreas Schwab <schwab@redhat.com>
34507
34508 * elf/Makefile: Add rules to build and run unload8 test.
34509 * elf/unload8.c: New file.
34510 * elf/unload8mod1.c: New file.
34511 * elf/unload8mod1x.c: New file.
34512 * elf/unload8mod2.c: New file.
34513 * elf/unload8mod3.c: New file.
34514
34515 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34516 it wasn't used.
34517
34518 2011-08-23 David S. Miller <davem@davemloft.net>
34519
34520 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34521 subtract stack bias.
34522 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34523 %sp not %fp in calculations.
34524 (_JMPBUF_UNWINDS_ADJ): Likewise.
34525
34526 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34527 (aio_suspend): Call it to force an exception region around the
34528 AIO_MISC_WAIT() invocation.
34529
34530 2011-08-23 Andreas Schwab <schwab@redhat.com>
34531
34532 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34533 backslash.
34534
34535 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34536
34537 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34538 protection macro.
34539 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34540 and <dl-machine.h>.
34541 (Elf64_FuncDesc): Remove.
34542
34543 2011-08-22 David S. Miller <davem@davemloft.net>
34544
34545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34546 sigaltstack check, add missing cfi directives.
34547 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34548 missing cfi directives, and sigaltstack handling.
34549
34550 2011-08-16 Andreas Schwab <schwab@redhat.com>
34551
34552 [BZ #11724]
34553 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34554 object is seen twice.
34555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34556
34557 * elf/Makefile (distribute): Add tst-initorder2.c.
34558 (tests): Add tst-initorder2.
34559 (modules-names): Add tst-initorder2a tst-initorder2b
34560 tst-initorder2c tst-initorder2d. Add rules to build them.
34561 ($(objpfx)tst-initorder2.out): New rule.
34562 * elf/tst-initorder2.c: New file.
34563 * elf/tst-initorder2.exp: New file.
34564
34565 2011-08-22 Andreas Schwab <schwab@redhat.com>
34566
34567 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34568
34569 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34570 dependencies back to end of function.
34571
34572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34573 $(elfobjdir)/ld.so.
34574
34575 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34576
34577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34578 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34580 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34581 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34582 of __vdso_gettimeofday.
34583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34584 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34585 attribute_hidden.
34586 (_libc_vdso_platform_setup): Remove initialization of
34587 __vdso_gettimeofday and __vdso_time.
34588
34589 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34590
34591 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34592 and fgetc_unlocked.
34593 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34594 getc_unlocked.
34595
34596 * elf/dl-open.c (add_to_global): Report additions to the global scope
34597 for LD_DEBUG=scopes.
34598 (dl_open_worker): Also print scope of newly loaded dependencies.
34599 (_dl_show_scope): Indicate if there is no scope.
34600
34601 [BZ #13114]
34602 * stdio-common/Makefile (tests): Add bug24.
34603 * stdio-common/bug24.c: New file.
34604
34605 2011-08-19 Andreas Jaeger <aj@suse.de>
34606
34607 [BZ #13114]
34608 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34609 non-existant file when using close-on-exec mode.
34610
34611 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34612
34613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34614 the very first instruction.
34615
34616 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34617 the CFI state in the end.
34618 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34619 inclusion of dl-trampoline.h.
34620 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34621
34622 2011-08-19 Andreas Schwab <schwab@redhat.com>
34623
34624 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34625 expectations for long double.
34626
34627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34628 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34629
34630 2011-08-14 David S. Miller <davem@davemloft.net>
34631
34632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34633 artificual limit depends upon the system page size.
34634
34635 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34636
34637 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34638 * resolv/Makefile: Define CFLAGS-libresolv.
34639
34640 2011-08-17 Andreas Schwab <schwab@redhat.com>
34641
34642 * nss/makedb.c (compute_tables): Make variables used in nested
34643 function static.
34644
34645 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34646
34647 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34648 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34649 if buffer was too small.
34650
34651 * elf/pldd.c (main): Attach to all threads in the process.
34652 Rewrite /proc handling to use *at functions.
34653
34654 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34655
34656 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34657 specifies first scope to show.
34658 (dl_open_worker): Update callers. Move printing scope of new
34659 object to before the relocation.
34660 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34661 * sysdeps/generic/ldsodefs.h: Update declaration.
34662
34663 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34664 string for the scope number.
34665
34666 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34667
34668 * nscd/servicescache.c (cache_addserv): Make sure written is always
34669 initialized.
34670
34671 2011-08-14 Roland McGrath <roland@hack.frob.com>
34672
34673 * sysdeps/i386/i486/bits/atomic.h
34674 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34675 statement expression, so as to suppress "set but not used" warning.
34676 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34677
34678 * string/strncat.c (STRNCAT): Use prototype definition.
34679
34680 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34681 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34682 -Iprograms here.
34683 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34684 (localedef-modules): Add localedef.
34685 (locale-modules): Add locale.
34686
34687 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34688 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34689 to avoid a warning.
34690
34691 2011-08-14 David S. Miller <davem@davemloft.net>
34692
34693 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34694 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34695
34696 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34697
34698 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34699 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34700 * elf/rtld.c (dl_main): Set l_name of vDSO.
34701 Call _dl_show_scope when DL_DEBUG_SCOPES.
34702 (process_dl_debug): Recognize scopes flag and also set it for all.
34703 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34704 Declare _dl_show_scope.
34705
34706 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34707 (do_dlopen): Pass caller_dlopen to dl_open.
34708 (__libc_dlopen_mode): Initialize caller_dlopen.
34709
34710 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34711 of libc. Make tolower call locale-independent. Optimize a bit by
34712 using isdigit instead of isalnum.
34713 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34714
34715 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34716
34717 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34718 was a dependency or dynamically loaded.
34719
34720 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34721
34722 * intl/l10nflist.c: Allow architecture-specific pop function.
34723 * sysdeps/x86_64/l10nflist.c: New file.
34724
34725 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34726 classification.
34727
34728 2011-08-10 Andreas Schwab <schwab@redhat.com>
34729
34730 * include/dirent.h: Add libc_hidden_proto for scandirat and
34731 scandirat64. Don't declare __scandirat64.
34732 * dirent/scandirat.c: Add libc_hidden_def.
34733 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34734 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34735
34736 2011-08-10 David S. Miller <davem@davemloft.net>
34737
34738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34739 enum.
34740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34743
34744 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34745
34746 * Versions.def [libc]: Add GLIBC_2.15.
34747 * dirent/Makefile (routines): Add scandirat and scandirat64.
34748 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34749 GLIBC_2.15.
34750 * dirent/dirent.h: Declare scandirat and scandirat64.
34751 * dirent/scandirat.c: New file.
34752 * dirent/scandirat64.c: New file.
34753 * sysdeps/wordsize-64/scandirat.c: New file.
34754 * sysdeps/wordsize-64/scandirat64.c: New file.
34755 * dirent/opendir.c: Define opendirat.
34756 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34757 using scandirat.
34758 * dirent/scandir64.c: Adjust for scandir.c change.
34759 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34760 __scandirat64, and __scandir_cancel_handler.
34761 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34762 additional parameter and use openat instead of open (outside of ld.so).
34763 Add new __opendir as wrapper around __opendirat.
34764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34765 here without requiring old scandirat implementation.
34766
34767 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34768
34769 * dirent/scandir.c (cancel_handler): Renamed to
34770 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34771 defined. Adjust users.
34772 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34773 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34774
34775 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34776
34777 * string/test-string.h (IMPL): Use __STRING to expand name and then
34778 stringify it.
34779
34780 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34781 of cleanups.
34782
34783 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34784
34785 * string/Makefile: Update.
34786 (strop-tests): Append strncat.
34787 * string/test-wcscmp.c: New file.
34788 New comprehensive test for wcscmp.
34789 * string/test-strcmp.c: Update.
34790 (WIDE): New define.
34791
34792 2011-07-22 Andreas Schwab <schwab@redhat.com>
34793
34794 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34795 line.
34796
34797 2011-07-26 Andreas Schwab <schwab@redhat.com>
34798
34799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34800 encoding to ACE if AI_IDN.
34801
34802 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34803
34804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34805 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34806
34807 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34808
34809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34810 Fix overflow bug in strncat.
34811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34812
34813 * string/test-strncat.c: Update.
34814 Add new tests for checking overflow bugs.
34815
34816 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34817
34818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34819 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34820 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34821 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34823 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34824 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34825 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34826 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34827
34828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34829 (USE_AS_STRCAT): Define.
34830 Add strcat and strncat support.
34831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34832
34833 2011-07-25 Andreas Schwab <schwab@redhat.com>
34834
34835 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34836 __n bigger than INT_MAX+1.
34837 (__strncmp_g): Likewise.
34838
34839 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34840
34841 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34842 * libio/stido.h: Likewise.
34843
34844 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34845 (AF_NFC): Define.
34846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34847 (AF_NFC): Define.
34848
34849 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34852 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34854
34855 [BZ #13021]
34856 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34857 installed.
34858
34859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34860 typo.
34861 (_dl_x86_64_save_sse): Likewise.
34862
34863 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34864
34865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34866 OSXSAVE.
34867 (_dl_x86_64_save_sse): Likewise.
34868
34869 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34870
34871 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34872
34873 2011-07-21 Andreas Schwab <schwab@redhat.com>
34874
34875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34876 change.
34877 (_dl_x86_64_save_sse): Use correct AVX check.
34878
34879 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34880
34881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34882 bug in strncpy/strncat.
34883 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34884
34885 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34886
34887 * string/tester.c (test_strcat): Add tests for different alignments
34888 of source and destination.
34889 (test_strncat): Likewise.
34890
34891 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34892
34893 [BZ #12852]
34894 * posix/glob.c (glob): Check passed in values before using them in
34895 expressions to avoid some overflows.
34896 (glob_in_dir): Likewise.
34897
34898 [BZ #13007]
34899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34900 check for AVX enablement so that we don't crash with old kernels and
34901 new hardware.
34902 * elf/tst-audit4.c: Add same checks here.
34903 * elf/tst-audit6.c: Likewise.
34904
34905 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34906
34907 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34908
34909 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34910
34911 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34912
34913 * po/cs.po: Update from translation team.
34914 * po/bg.po: Likewise.
34915
34916 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34917
34918 * misc/sys/cdefs.h: Add support for const attribute.
34919 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34920 to gnu_dev_{major,minor,makedev} functions.
34921
34922 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34923
34924 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34925
34926 2011-07-20 Andreas Schwab <schwab@redhat.com>
34927
34928 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34929 strlen results.
34930
34931 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34932
34933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34934 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34935 register in order to avoid conflicts with the soft frame pointer
34936 being held in r11 when necessary.
34937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34938 (INTERNAL_VSYSCALL_NCS): Likewise.
34939
34940 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34941
34942 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34943 * elf/dl-fini.c (_dl_fini): Adjust caller.
34944 * elf/dl-close.c (_dl_close_worker): Likewise.
34945 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34946
34947 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34948
34949 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34950 "aux_cache->nlibs < 0".
34951
34952 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34953 in the reload-count case.
34954
34955 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34956
34957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34958 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34959 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34960 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34961 * sysdeps/x86_64/multiarch/strcat.S: New file.
34962 * sysdeps/x86_64/multiarch/strncat.S: New file.
34963 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34965 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34966 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34968 (USE_AS_STRCAT): Define.
34969 Add strcat and strncat support.
34970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34972 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34973 * string/strncat.c: Update.
34974 (USE_AS_STRNCAT): Define.
34975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34976 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34977 and i7.
34978 * sysdeps/x86_64/multiarch/init-arch.h
34979 (bit_Prefer_PMINUB_for_stringop): New.
34980 (index_Prefer_PMINUB_for_stringop): Likewise.
34981 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34982 bit_Prefer_PMINUB_for_stringop.
34983
34984 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34985
34986 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34987 buffer64.
34988 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34989 of casting of buffer.
34990 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34991 buffer32 and buffer64.
34992 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34993 writes instead of casting of buffer.
34994 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34995 buffer32.
34996 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34997 casting of buffer.
34998
34999 2011-07-19 Andreas Schwab <schwab@redhat.com>
35000
35001 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35002
35003 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35004
35005 * nscd/nscd.c (termination_handler): Don't do anything for a database
35006 if it has not yet been initialized.
35007
35008 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35009
35010 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35011
35012 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35013
35014 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35015
35016 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35017
35018 * po/nl.po: Update from translation team.
35019 * po/sv.po: Likewise.
35020
35021 2011-07-16 Roland McGrath <roland@hack.frob.com>
35022
35023 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35024 now disallowed by GCC.
35025
35026 * configure.in (use-default-link): Default to yes if a test -shared
35027 link meets our qualifications.
35028 * configure: Regenerated.
35029
35030 * config.make.in (output-format): New variable.
35031 * configure.in: Check for ld --print-output-format support.
35032 * configure: Regenerated.
35033 * Makerules ($(common-objpfx)format.lds)
35034 [$(output-format) != unknown]: Just use $(output-format),
35035 instead of the linker-script munging.
35036
35037 2011-07-14 Roland McGrath <roland@hack.frob.com>
35038
35039 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35040 of $(common-objpfx)shlib.lds.
35041 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35042
35043 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35044 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35045
35046 * configure.in (-z relro check): Adjust test code to add a large
35047 writable data section after it.
35048 * configure: Regenerated.
35049
35050 2011-07-11 Roland McGrath <roland@hack.frob.com>
35051
35052 * configure.in (-z relro check): Fix test code to make the variable
35053 truly const.
35054 * configure: Regenerated.
35055
35056 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35057
35058 * nscd/nscd.h (struct traced_file): Define.
35059 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35060 elements. Add traced_files.
35061 (inotify_fd): Declare.
35062 (register_traced_file): Declare.
35063 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35064 (inotify_fd): Export.
35065 (resolv_conf_descr): Remove.
35066 (nscd_init): Move inotify descriptor creation to main.
35067 Don't register files for notification here.
35068 (register_traced_file): New function.
35069 (invalidate_cache): Don't use reset_res to determine whether to call
35070 res_init, go through the list of registered files.
35071 (main_loop_poll): The inotify descriptors are now stored in the
35072 structures for the traced files.
35073 (main_loop_epoll): Likewise
35074 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35075 to __nss_disable_nscd.
35076 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35077 for a database anymore. Check the records for all the registered
35078 files instead.
35079 * nss/Makefile (libnss_files-routines): Add files-init.
35080 (libnss_db-routines): Add db-init.
35081 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35082 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35083 * nss/nss_db/db-init.c: New file.
35084 * nss/nss_files/files-init.c: New file.
35085 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35086 __nss_lookup_function.
35087 (__nss_lookup_function): Call nss_load_library.
35088 (nss_load_all_libraries): New function.
35089 (__nss_disable_nscd): Take parameter with callback function for files
35090 to register. Set is_nscd. Load all the DSOs for the NSS modules
35091 used for the cached services.
35092 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35094 options for features to all the files in nscd.
35095
35096 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35097
35098 2011-07-10 Roland McGrath <roland@hack.frob.com>
35099
35100 * csu/elf-init.c (__libc_csu_init): Comment typo.
35101
35102 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35103
35104 * po/pl.po: Update from translation team.
35105 * po/ja.po: Likewise.
35106 * po/ru.po: Likewise.
35107 * po/ko.po: Likewise.
35108 * po/fr.po: Likewise.
35109
35110 2011-07-09 Roland McGrath <roland@hack.frob.com>
35111
35112 * configure.in (.ctors/.dtors header and trailer check):
35113 Use an empirical test on a built program.
35114 * configure: Regenerated.
35115
35116 * configure.in (-z relro check): Use an empirical test on a built DSO.
35117 Detect, but do not require, on ia64.
35118 * configure: Regenerated.
35119
35120 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35121 Update tests that use readelf to use $READELF instead.
35122 * configure: Regenerated.
35123
35124 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35125
35126 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35127 if the result is not used.
35128
35129 2011-07-05 Andreas Jaeger <aj@suse.de>
35130
35131 [BZ#9696]
35132 * stdlib/tst-strtod.c: Add testcase.
35133
35134 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35135
35136 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35137 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35138 The latter has a higher limit. Take additional parameter to pass to
35139 the new function.
35140 (__pathconf): Pass file to __statfs_link_max.
35141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35142 __statfs_link_max.
35143 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35144 __statfs_link_max.
35145
35146 [BZ #12868]
35147 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35149 Handle Lustre.
35150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35151 (__statfs_filesize_max): Likewise.
35152 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35153
35154 2011-07-05 Andreas Jaeger <aj@suse.de>
35155
35156 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35157
35158 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35159
35160 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35161 `status' variable.
35162 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35163 Likewise.
35164
35165 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35166
35167 * Makefile (strop-tests): Add strncat.
35168 * string/test-strncat.c: New file.
35169
35170 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35171
35172 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35173
35174 2011-06-21 Andreas Jaeger <aj@suse.de>
35175
35176 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35177 Copy rule from iconvdata/Makefile.
35178
35179 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35180
35181 [BZ #12922]
35182 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35183 but no long options are defined, just return 'W'.
35184
35185 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35186
35187 [BZ #9696]
35188 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35189
35190 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35191
35192 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35193 netgroups to read.
35194 (innetgr): Likewise.
35195
35196 2011-07-05 Roland McGrath <roland@hack.frob.com>
35197
35198 * config.make.in (install_root): Default to $(DESTDIR).
35199
35200 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35201
35202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35203
35204 2011-07-02 Roland McGrath <roland@hack.frob.com>
35205
35206 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35207
35208 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35209 containing directory rather than embedding absolute directory names.
35210
35211 * scripts/check-local-headers.sh: Rewritten using awk.
35212 Match by word, not by line. Print error messages for matches.
35213 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35214
35215 * Makerules [shlib-lds-flags empty]:
35216 ($(common-objpfx)libc_pic.opts): New target.
35217 ($(common-objpfx)libc_pic.os.clean): New target.
35218 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35219
35220 * config.make.in (OBJCOPY): New variable.
35221 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35222 * configure: Regenerated.
35223
35224 * config.make.in (use-default-link): New variable.
35225 * configure.in (use_default_link): Grok --with-default-link to set it.
35226 * configure: Regenerated.
35227 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35228 (shlib-lds, shlib-lds-flags): Define to empty.
35229
35230 * Makerules (shlib-lds): New variable.
35231 (shlib-lds-flags): New variable.
35232 (build-shlib, build-moduile, build-module-asneeded): Use it.
35233 ($(common-objpfx)libc.so): Use $(shlib-lds).
35234 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35235 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35236
35237 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35238 DT_FLAGS/DT_FLAGS_1 with zero flags.
35239
35240 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35241 linker script munging.
35242
35243 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35244
35245 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35246 as 128-bit value.
35247 * crypt/sha512.c (sha512_process_block): Perform total addition using
35248 128-bit if possible.
35249 (__sha512_finish_ctx): Likewise.
35250 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35251 as 64-bit value.
35252 * crypt/sha256.c (SWAP64): Define.
35253 (sha256_process_block): Perform total addition using 64-bit if
35254 possible.
35255 (__sha256_finish_ctx): Likewise.
35256
35257 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35258
35259 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35260 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35261 * nscd/hstcache.c (cache_addhst): Likewise.
35262 * nscd/grpcache.c (cache_addgr): Likewise.
35263 * nscd/aicache.c (addhstaiX): Likewise
35264 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35265
35266 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35267
35268 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35270 * nscd/hstcache.c (cache_addhst): Likewise.
35271 * nscd/grpcache.c (cache_addgr): Likewise.
35272 * nscd/aicache.c (addhstaiX): Likewise
35273
35274 2011-07-01 Andreas Schwab <schwab@redhat.com>
35275
35276 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35277 domain only when needed.
35278
35279 2011-06-30 Andreas Schwab <schwab@redhat.com>
35280
35281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35282 is always restored.
35283
35284 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35285
35286 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35287 are re-adding the entry.
35288 * nscd/servicescache.c (cache_addserv): Likewise.
35289
35290 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35291
35292 * sysdeps/generic/dl-irel.h: fix protection against multiple
35293 inclusions.
35294 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35295
35296 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35297
35298 [BZ #12935]
35299 * malloc/memusage.sh: Fix quoting in message.
35300 * debug/xtrace.sh: Likewise.
35301
35302 * configure.in: Remove support for --experimental-malloc option, make
35303 it the default.
35304 * config.make.in: Likewise.
35305 * malloc/Makefile: Likewise.
35306
35307 2011-06-27 Andreas Schwab <schwab@redhat.com>
35308
35309 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35310 two-byte characters.
35311
35312 2011-06-27 Roland McGrath <roland@hack.frob.com>
35313
35314 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35315 AC_CACHE_CHECK invocation.
35316 * configure: Regenerated.
35317
35318 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35319
35320 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35321
35322 [BZ #12350]
35323 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35324 bit from old_res_options.
35325
35326 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35327
35328 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35329 value type for setfct.
35330
35331 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35332
35333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35334 __gettimeofday instead of gettimeofday.
35335
35336 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35337
35338 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35339
35340 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35341
35342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35343
35344 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35345 info.
35346
35347 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35348
35349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35350 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35351 strcpy-sse2-unaligned strncpy-sse2-unaligned
35352 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35353 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35354 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35355 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35356 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35359 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35360 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35361 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35362 (STRCPY): Support SSE2 and SSSE3 versions.
35363
35364 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35365
35366 [BZ #12874]
35367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35368 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35369 kernels which artificially limit size of requests.
35370
35371 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35372
35373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35374 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35375 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35376 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35377 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35378 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35379 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35380 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35383 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35384 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35385 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35386 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35387 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35389 Enable unaligned load optimization for Intel Core i3, i5 and i7
35390 processors.
35391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35392 Define.
35393 (index_Fast_Unaligned_Load): Define.
35394 (HAS_FAST_UNALIGNED_LOAD): Define.
35395
35396 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35397
35398 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35399
35400 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35401
35402 [BZ #12907]
35403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35404 until it is clear that the information is realy needed.
35405 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35406
35407 2011-06-22 Andreas Schwab <schwab@redhat.com>
35408
35409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35410
35411 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35412
35413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35414 /sys/devices/system/cpu/online if it is usable.
35415
35416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35417 reading the information from the /proc filesystem to once a second.
35418
35419 2011-06-21 Andreas Jaeger <aj@suse.de>
35420
35421 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35422 NULL after inclusion of kernel headers.
35423
35424 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35425
35426 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35427 calls to internal_setent.
35428
35429 [BZ #12885]
35430 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35431 addresses using gethostbyname4_r ignore IPv4 addresses.
35432
35433 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35434 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35435
35436 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35437
35438 2011-06-20 David S. Miller <davem@davemloft.net>
35439
35440 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35441 inclusions.
35442 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35443
35444 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35445 (elf_irel): Use it.
35446 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35447 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35448 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35449 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35450 * sysdeps/x86_64/dl-irel.h: Likewise.
35451
35452 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35453 * elf/dl-sym.c: Likewise.
35454
35455 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35456
35457 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35458 need to dereference resplen2.
35459
35460 2011-06-14 Andreas Schwab <schwab@redhat.com>
35461
35462 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35463
35464 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35465
35466 * Makeconfig: Define vardbdir and inst_vardbdir.
35467 * nss/Makefile: Add rules to install db-Makefile.
35468
35469 * nss/nss_db/db-XXX.c: Cleanup.
35470
35471 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35472 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35473 GLIBC_PRIVATE.
35474 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35475 * nss/makedb.c: Implement -g option to specify that value strings
35476 are generated and should not be added to table iterated over for
35477 get*ent calls.
35478 * nss/nss_db/db-initgroups.c: New file.
35479
35480 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35481 interface.
35482
35483 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35484 (internal_getgrouplist): Adjust to name change.
35485 Update use_initgroups_entry if this is not the first call.
35486 * nss/databases.def: Add initgroups entry.
35487
35488 * nss/makedb.c (compute_tables): Check result of multiple hash table
35489 sizes to minimize maximum chain length.
35490
35491 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35492
35493 * Versions.def: Add entry for libnss_db.
35494 * shlib-versions: Likewise.
35495 * nss/Makefile: Add rules to build libnss_db.
35496 * nss/Versions: Add libnss_db information. Organize libnss_files
35497 entries better.
35498 * nss/db-Makefile: Add gshadow support. Change rules for the new
35499 makedb progra. Some minor improvements to generate smaller files.
35500 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35501 here from...
35502 * nss/makedb.c: ...here.
35503 Improve database format to be smaller and require less memory at
35504 runtime.
35505 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35506 db anymore.
35507 * nss/nss_db/db-netgrp.c: Likewise.
35508 * nss/nss_db/db-open.c: Likewise.
35509 * nss/nss_files/flies-XXX.x: Adjust comments.
35510 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35511 * nss/nss_files/files-grp.c: Likewise.
35512 * nss/nss_files/files-hosts.c: Likewise.
35513 * nss/nss_files/files-network.c: Likewise.
35514 * nss/nss_files/files-proto.c: Likewise.
35515 * nss/nss_files/files-pwd.c: Likewise.
35516 * nss/nss_files/files-rpc.c: Likewise.
35517 * nss/nss_files/files-service.c: Likewise.
35518 * nss/nss_files/files-sgrp.c: Likewise.
35519 * nss/nss_files/files-spwd.c: Likewise.
35520 * nss/nss_db/db-alias.c: Removed.
35521 * nss/nss_db/dummy-db.h: Removed.
35522
35523 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35524
35525 * nss/makedb.c: Rewritten to not use database library.
35526 * nss/Makefile: Update to build new makedb program.
35527
35528 2011-06-14 Andreas Jaeger <aj@suse.de>
35529
35530 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35531 memset declaration.
35532
35533 2011-06-10 Andreas Schwab <schwab@redhat.com>
35534
35535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35536 tmpbuf.
35537
35538 2011-06-10 Roland McGrath <roland@hack.frob.com>
35539
35540 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35541 * elf/Makefile ($(objpfx)ld.so): Likewise.
35542
35543 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35544 Don't list ld.so twice in dependencies.
35545
35546 * posix/bug-regex31.c: Include <stdlib.h>.
35547
35548 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35549
35550 * nis/nss_compat/compat-spwd.c
35551 (getspent_next_nss_netgr): Remove unused variable.
35552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35553
35554 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35555 nonmembers" output to use the right array.
35556
35557 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35558
35559 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35560
35561 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35562 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35563 * catgets/gencat.c (read_input_file): Likewise.
35564 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35565
35566 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35567 variable definition inside #if's controlling its use.
35568
35569 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35570
35571 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35572
35573 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35574
35575 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35576 unreachable code.
35577
35578 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35579
35580 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35581 * configure: Regenerated.
35582
35583 * Makerules: Revert last change.
35584 * elf/Makefile: Likewise.
35585
35586 2011-06-09 Roland McGrath <roland@hack.frob.com>
35587
35588 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35589 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35590 (reloc-link): Likewise.
35591
35592 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35593
35594 * elf/Makefile: Add rules to build pldd.
35595 * elf/pldd.c: New file.
35596 * elf/pldd-xx.c: New file.
35597
35598 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35599
35600 * version.h: Update for 2.15 development version.
35601
35602 2011-06-07 David S. Miller <davem@davemloft.net>
35603
35604 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35605 ifuncs.
35606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35607 elf_machine_lazy_rel): Likewise.
35608 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35610 elf_machine_lazy_rel): Likewise.
35611 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35612 dl_hwcap via passed in argument.
35613 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35614 Likewise.
35615
35616 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35617
35618 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35619
35620 2011-06-06 Roland McGrath <roland@hack.frob.com>
35621
35622 [BZ #12849]
35623 * manual/fdl-1.1.texi: New file, verbatim from:
35624 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35625 * manual/lgpl-2.1.texi: New file, verbatim from:
35626 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35627 * manual/Makefile (licenses): New variable, list those new file names.
35628 (texis): Use it.
35629 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35630
35631 * manual/fdl.texi: File removed.
35632 * manual/lesser.texi: File removed.
35633 * manual/libc.texinfo (Copying, Documentation License):
35634 Use new @include file names, put @appendix directive before @include.
35635
35636 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35637
35638 [BZ #12841]
35639 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35640 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35641 (mq_open): Add __NTH.
35642
35643 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35644
35645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35646 Assume Intel Core i3/i5/i7 processor if AVX is available.
35647
35648 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35649
35650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35651 typo.
35652
35653 2011-05-31 Andreas Schwab <schwab@redhat.com>
35654
35655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35656 memory. Use alloca_account. Fix memory leak when retrying.
35657
35658 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35659
35660 * version.h (RELEASE): Bump for 2.14 release.
35661 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35662
35663 * config.make.in (RANLIB): Remove entry.
35664
35665 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35666
35667 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35668 (libc.pot): Work around missing support for .ksh extension in xgettext.
35669
35670 [BZ #12684]
35671 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35672 if both request failed.
35673 (send_dg): In case of server errors clear resplen or *resplen2.
35674
35675 [BZ #12454]
35676 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35677 when there are multiple maps.
35678 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35679 (_dl_fini): Remove test here.
35680
35681 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35682
35683 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35684
35685 [BZ #12350]
35686 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35687 bit from old_res_options.
35688 (gaih_inet): Likewise.
35689
35690 [BZ #11099]
35691 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35692 as signed.
35693
35694 * resolv/res_init.c (res_setoptions): Make the code more compact.
35695
35696 [BZ #11558]
35697 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35698 set RES_USEVC.
35699
35700 [BZ #11634]
35701 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35702
35703 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35704
35705 [BZ #11781]
35706 * malloc/malloc.h: Declare malloc hook variables as volatile.
35707
35708 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35709 in last patch.
35710
35711 [BZ #11799]
35712 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35713 raise in the comment.
35714 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35716 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35717
35718 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35719
35720 [BZ #12811]
35721 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35722 grow the buffers more if it already has to be sufficient.
35723 (build_wcs_upper_buffer): Likewise.
35724 * posix/regexec.c (check_matching): Likewise.
35725 (clean_state_log_if_needed): Likewise.
35726 (extend_buffers): Don't enlarge buffers beyond size of the input
35727 buffer.
35728 Patches mostly by Emil Wojak <emil@wojak.eu>.
35729 * posix/bug-regex32.c: New file.
35730 * posix/Makefile (tests): Add bug-regex32.
35731
35732 * locale/findlocale.c (_nl_find_locale): Return right away if
35733 _nl_explode_name failed.
35734 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35735
35736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35737
35738 * debug/xtrace.sh: Unify messages.
35739 * malloc/memusage.sh: Likewise.
35740
35741 [BZ #12813]
35742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35743 time symbol from vDSO. Substitute with vsyscall if not available.
35744 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35745 __vdso_time.
35746
35747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35748 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35749 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35750 Add sendmmsg and internal_sendmmsg.
35751 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35752 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35753 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35754
35755 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35756 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35758
35759 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35760
35761 [BZ #12813]
35762 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35763 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35764 available.
35765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35766 __vdso_getcpu.
35767
35768 [BZ #12814]
35769 * iconvdata/Makefile (tests): Add bug-iconv9.
35770 * iconvdata/bug-iconv9.c: New file.
35771
35772 2011-05-27 Andreas Schwab <schwab@redhat.com>
35773
35774 [BZ #12814]
35775 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35776
35777 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35778
35779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35780 (struct user_regs_struct): Change intcs field back to cs.
35781
35782 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35783
35784 * po/ja.po: Update from translation team.
35785
35786 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35787
35788 [BZ #12795]
35789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35791
35792 2011-05-20 Andreas Schwab <schwab@redhat.com>
35793
35794 * stdlib/longlong.h: Update from GCC.
35795
35796 2011-05-23 Andreas Schwab <schwab@redhat.com>
35797
35798 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35799 parameter name.
35800 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35801 Add parameter name.
35802 (__sysconf): Pass it down.
35803
35804 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35805
35806 [BZ #12671]
35807 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35808 some situations.
35809 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35810 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35811 add in in __libc_use_alloca calls. Adjust callers.
35812 (glob): Use malloc in some situations.
35813
35814 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35815 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35816 pltexit.
35817
35818 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35819
35820 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35821 and CLOCK_BOOTTIME_ALARM.
35822
35823 [BZ #12782]
35824 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35825 is returned.
35826
35827 * string/_strerror.c (__strerror_r): Print negative errors as signed
35828 numbers.
35829
35830 [BZ #12777]
35831 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35832 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35833 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35834
35835 * configure.in: Fix typo in redirection and correct removal of test
35836 files in two cases.
35837
35838 [BZ #12788]
35839 * locale/setlocale.c (new_composite_name): Fix test to check for
35840 identical name of all categories.
35841
35842 [BZ #12792]
35843 * libio/filedoalloc.c (local_isatty): New function.
35844 (_IO_file_doallocate): Use local_isatty.
35845 * stdio-common/perror.c (perror): In case a new stream is used
35846 forward the stream error.
35847 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35848 error flag.
35849
35850 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35851
35852 [BZ #11869]
35853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35854 alloca.
35855 * include/alloca.h (extend_alloca_account): Define.
35856
35857 [BZ #11857]
35858 * posix/regex.h: Fix comments with documentation of user-accessible
35859 fields after compilation and describe correct free'ing of pattern
35860 after re_compile_pattern.
35861 Patch by Reuben Thomas <rrt@sc3d.org>.
35862
35863 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35864
35865 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35866 and -mno-altivec to prevent the compiler from using Altivec and/or
35867 VSX instructions when the corresponding registers are not available.
35868
35869 2011-05-19 Andreas Schwab <schwab@redhat.com>
35870
35871 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35872
35873 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35874
35875 * libio/freopen.c (freopen): Use __dup2, not dup2.
35876 * libio/freopen64.c (freopen64): Likewise.
35877
35878 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35879
35880 [BZ #12775]
35881 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35882 * math/Makefile (tests): Add test-powl.
35883 (CFLAGS-test-powl.c): Define.
35884 * math/test-powl.c: New file.
35885
35886 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35887
35888 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35889
35890 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35891
35892 [BZ #11837]
35893 * iconvdata/gb18030.c: Update to GB18020-2005.
35894
35895 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35896
35897 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35898 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35899 Patch by Aharon Robbins <arnold@skeeve.com>.
35900
35901 [BZ #11892]
35902 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35903 on the stack.
35904
35905 [BZ #11895]
35906 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35907 through underflows.
35908
35909 [BZ #12766]
35910 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35911 point to strings before performing equality test for error_one_per_line
35912 mode.
35913
35914 [BZ #11697]
35915 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35916
35917 [BZ #11820]
35918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35919 (struct user_fpregs_struct): Avoid __uint*_t types.
35920
35921 [BZ #6420]
35922 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35923 symbol info. Use it instead of calling _dl_addr locally.
35924 (lock_and_info): New function.
35925 (tr_freehook): Call lock_and_info and pass symbol info as additional
35926 parameter to tr_where.
35927 (tr_mallochook): Likewise.
35928 (tr_reallochook): Likewise.
35929 (tr_memalignhook): Likewise.
35930
35931 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35932 used and couldn't be at all thread-safe.
35933
35934 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35935
35936 * libio/freopen.c (freopen): Don't close old file descriptor
35937 before the new one is opened. Instead dup the new file descriptor
35938 to the old one after the new stream is created.
35939 * libio/freopen64.c (freopen64): Likewise.
35940 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35941 * libio/fileops.c (_IO_new_file_close_it): Handle new
35942 _IO_FLAGS2_NOCLOSE flag.
35943 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35944 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35945 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35946 _IO_FLAGS2_NOCLOSE flag.
35947 * include/unistd.h: Add hidden_proto for dup3.
35948 Define __have_dup3.
35949 * io/dup3.c: Define hidden symbol.
35950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35951
35952 [BZ #7101]
35953 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35954 when an incomplete long option is used.
35955 * posix/tst-getopt_long1.c: New file.
35956 * posix/Makefile (tests): Add tst-getopt_long1.
35957
35958 [BZ #10138]
35959 * scripts/config.guess: Update from autoconf-2.68.
35960 * scripts/config.sub: Likewise.
35961
35962 [BZ #10157]
35963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35964 tests into ...
35965 (has_cpuclock): ...this. New function.
35966 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35967 macro here based on has_cpuclock code.
35968
35969 [BZ #10149]
35970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35971 First byte (not low byte) is now always NUL.
35972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35973
35974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35975 Use non-cancelable interfaces.
35976
35977 [BZ #9809]
35978 * locale/iso-639.def: Add entry for Sorani.
35979
35980 [BZ #11901]
35981 * include/stdlib.h: Move include protection to the right place.
35982 Define abort_msg_s. Declare __abort_msg with it.
35983 * stdlib/abort.c (__abort_msg): Adjust type.
35984 * assert/assert.c (__assert_fail_base): New function. Majority
35985 of code from __assert_fail. Allocate memory for __abort_msg with
35986 mmap.
35987 (__assert_fail): Now call __assert_fail_base.
35988 * assert/assert-perr.c: Remove bulk of implementation. Use
35989 __assert_fail_base.
35990 * include/assert.hL Declare __assert_fail_base.
35991 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35992 mmap.
35993 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35994
35995 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35996
35997 [BZ #11952]
35998 [BZ #12453]
35999 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36000 until all modules are registered in the DTV.
36001 * elf/Makefile: Add rules to build and run tst-tls19.
36002 * elf/tst-tls19.c: New file.
36003 * elf/tst-tls19mod1.c: New file.
36004 * elf/tst-tls19mod2.c: New file.
36005 * elf/tst-tls19mod3.c: New file.
36006 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36007
36008 [BZ #12083]
36009 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36010 correctly.
36011
36012 [BZ #12601]
36013 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36014 two-byte sequence errors.
36015 * iconvdata/Makefile (tests): Add bug-iconv8.
36016 * iconvdata/bug-iconv8.c: New file.
36017
36018 [BZ #12626]
36019 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36020 buf2 definition.
36021
36022 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36023
36024 [BZ #12432]
36025 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36026 (dummy_getcfa): New function.
36027 (init): Get _Unwind_GetCFA address, use dummy if not found.
36028 (backtrace_helper): In recursion check, also check whether CFA changes.
36029 (__backtrace): Completely initialize arg.
36030
36031 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36032 storing incomplete byte sequence in state object. Avoid testing for
36033 guaranteed too small input if we know there is enough data available.
36034
36035 2011-05-11 Andreas Schwab <schwab@redhat.com>
36036
36037 * Makeconfig (+link-pie): Indent.
36038 * Rules (binaries-pie): Define if $(have-fpie) and
36039 $(build-shared).
36040 (binaries-shared): Also filter out $(binaries-pie).
36041 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36042 * nscd/Makefile (others-pie): Add nscd.
36043 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36044 ($(objpfx)nscd): Remove command override.
36045 * login/Makefile (others-pie): Add pt_chown.
36046 ($(objpfx)pt_chown): Remove command override.
36047 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36048 remove command overrides.
36049
36050 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36051
36052 * libio/tst_putwc.c: Fix error messages.
36053
36054 [BZ #12724]
36055 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36056 currently writing and seek to current position when not.
36057 * libio/Makefile (tests): Add bug-fclose1.
36058 * libio/bug-fclose1.c: New file.
36059
36060 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36061
36062 [BZ #12511]
36063 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36064 don't set DF_1_NODELETE here.
36065 (do_lookup_x): When entering new entry test for copy relocation
36066 and if necessary set DF_1_NODELETE flag.
36067 * elf/tst-unique4.cc: New file.
36068 * elf/tst-unique4.h: New file.
36069 * elf/tst-unique4lib.cc: New file.
36070 * elf/Makefile: Add rules to build and run tst-unique4.
36071 Patch by Piotr Bury <pbury@goahead.com>.
36072
36073 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36074
36075 [BZ #12052]
36076 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36077
36078 [BZ #12625]
36079 * misc/mntent_r.c (addmntent): Flush the stream after the output
36080
36081 [BZ #12393]
36082 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36083 (is_trusted_path_normalize): Skip initial colon. Append slash
36084 to empty buffer. Duplicate is_trusted_path code but allow
36085 constructed patch to be prefix.
36086 (is_dst): Allow $ORIGIN followed by /.
36087 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36088 Correct testing of result of is_trusted_path_normalize
36089 (decompose_rpath): Fix warning.
36090
36091 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36092
36093 [BZ #11257]
36094 * grp/initgroups.c (internal_getgrouplist): When we found the service
36095 list through the initgroups entry in nsswitch.conf do not always
36096 continue on a successful lookup. Don't always use the
36097 __nss_group_database value if it is set.
36098 * nss/nsswitch.conf (initgroups): Change action for successful db
36099 lookup to continue for compatibility.
36100
36101 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36102
36103 [BZ #11532]
36104 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36105 and CP774 modules.
36106 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36107 and CP774 modules.
36108 * iconvdata/tst-tables.sh: Likewise.
36109 * iconvdata/cp770.c: New file.
36110 * iconvdata/cp771.c: New file.
36111 * iconvdata/cp772.c: New file.
36112 * iconvdata/cp773.c: New file.
36113 * iconvdata/cp774.c: New file.
36114 * iconvdata/testdata/CP770: New file.
36115 * iconvdata/testdata/CP770..UTF8: New file.
36116 * iconvdata/testdata/CP771: New file.
36117 * iconvdata/testdata/CP771..UTF8: New file.
36118 * iconvdata/testdata/CP772: New file.
36119 * iconvdata/testdata/CP772..UTF8: New file.
36120 * iconvdata/testdata/CP773: New file.
36121 * iconvdata/testdata/CP773..UTF8: New file.
36122 * iconvdata/testdata/CP774: New file.
36123 * iconvdata/testdata/CP774..UTF8: New file.
36124
36125 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36126 END CHARMAP line.
36127 * iconvdata/gen-8bit-gap.sh: Likewise.
36128 * iconvdata/gen-8bit.sh: Likewise.
36129
36130 * locale/iso-639.def: Add ary entry.
36131
36132 [BZ #11258]
36133 * locale/C-translit.h.in: Add U20A1 transliteration.
36134
36135 [BZ #12178]
36136 * locale/iso-639.def: Add wae entry.
36137 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36138
36139 [BZ #12545]
36140 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36141 for n.
36142
36143 [BZ #12711]
36144 * locale/C-translit.h.in: Add entry for U20B9.
36145 Patch by pravin.d.s@gmail.com.
36146
36147 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36148
36149 [BZ #12713]
36150 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36151 ENAMETOOLONG use generic getcwd.
36152 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36153 in rtld. Use *stat64.
36154 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36155 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36156 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36157 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36158 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36159 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36160 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36161 __fstatat64 macros.
36162 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36163 * dirent/rewinddir.c: Add libc_hidden_def.
36164 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36165 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36166
36167 * include/dirent.h (__alloc_dir): Add flags parameter.
36168 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36169 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36170 __alloc_dir.
36171 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36172 from fdopendir if O_CLOEXEC is already set.
36173
36174 2011-03-15 Alan Modra <amodra@gmail.com>
36175
36176 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36177 l_tls_firstbyte_offset non-zero. Save padding offset in
36178 l_tls_firstbyte_offset for later use.
36179 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36180 freeing static tls block.
36181
36182 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36183
36184 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36185 where #ifdef was intended. The intent is to prevent ARG_MAX from
36186 being defined by the kernel headers.
36187
36188 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36189
36190 [BZ #12734]
36191 * resolv/resolv.h: Define RES_NOTLDQUERY.
36192 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36193 no-tld-query and set RES_NOTLDQUERY.
36194 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36195 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36196 modern BIND to search name as TLD unless forbidden.
36197
36198 2011-05-07 Petr Baudis <pasky@suse.cz>
36199 Ulrich Drepper <drepper@gmail.com>
36200
36201 [BZ #12393]
36202 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36203 (is_trusted_path): ...to here.
36204 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36205 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36206 using is_trusted_path_normalize() in setuid scripts.
36207
36208 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36209
36210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36211 __BEGIN/__END_DECLS.
36212
36213 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36214
36215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36216 NSS_STATUS_NOTFOUND if no record was found.
36217
36218 2011-05-05 Andreas Schwab <schwab@redhat.com>
36219
36220 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36221 (headers-not-in-tirpc): Remove rpc/netdb.h
36222 * resolv/netdb.h: Revert last change.
36223
36224 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36225
36226 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36227 circular dependency between libgcc.a and libc.a.
36228
36229 2011-05-05 Andreas Schwab <schwab@redhat.com>
36230
36231 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36232 * nis/Makefile: Don't install rpcsvc/*.
36233 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36234 instead of <rpc/types.h>.
36235 (MAXHOSTNAMELEN): Define.
36236
36237 2011-05-03 Andreas Schwab <schwab@redhat.com>
36238
36239 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36240
36241 2011-04-28 Maciej Babinski <mbabinski@google.com>
36242
36243 [BZ #12714]
36244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36245 gethostbyname4_r when IPv6 results are possible.
36246
36247 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36248
36249 [BZ #12723]
36250 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36251 _PC_PIPE_BUF handling.
36252
36253 2011-04-30 Bruno Haible <bruno@clisp.org>
36254
36255 [BZ #12717]
36256 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36257 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36258 to 'int'.
36259 * inet/getnameinfo.c (getnameinfo): Likewise.
36260
36261 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36262
36263 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36264 to groups setting in database lookup.
36265 * nss/nsswitch.conf: Add initgroups entry.
36266
36267 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36268
36269 [BZ #12685]
36270 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36271 mode string.
36272 Patch by Eric Blake <eblake@redhat.com>.
36273
36274 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36275
36276 * sunrpc/Makefile (need-export-routines): Add svc_run.
36277 (routines): Remove svc_run.
36278 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36279 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36280 * sunrpc/svc_run.c (svc_run): Likewise.
36281 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36282
36283 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36284
36285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36286 problem in reallocation in last patch.
36287
36288 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36289
36290 * sunrpc/Makefile: Move inclusion of Rules.
36291
36292 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36293
36294 * nss/nss_files/files-initgroups.c: New file.
36295 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36296 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36297 _nss_files_initgroups_dyn.
36298
36299 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36300
36301 * elf/elf.h (R_ARM_IRELATIVE): Define.
36302
36303 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36304
36305 * po/ru.po: Update from translation team.
36306
36307 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36308
36309 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36310 dependencies.
36311
36312 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36313
36314 [BZ #12653]
36315 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36316 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36320
36321 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36322
36323 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36324 differing bytes.
36325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36328
36329 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36330
36331 [BZ #12420]
36332 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36333 storing it.
36334 * stdlib/bug-getcontext.c: New file.
36335 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36336
36337 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36338
36339 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36340 instructions into .machine "z9-109".
36341 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36342 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36343
36344 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36345
36346 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36347 between environment variables and auxiliary vector.
36348
36349 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36350
36351 * Makefile: Add rules to build linkobj/libc.so.
36352 * include/libc-symbols.h: Define libc_hidden_nolink.
36353 * include/rpc/auth.h: Mark functions which are to be hidden.
36354 * include/rpc/auth_des.h: Likewise.
36355 * include/rpc/auth_unix.h: Likewise.
36356 * include/rpc/clnt.h: Likewise.
36357 * include/rpc/des_crypt.h: Likewise.
36358 * include/rpc/key_prot.h: Likewise.
36359 * include/rpc/pmap_clnt.h: Likewise.
36360 * include/rpc/pmap_prot.h: Likewise.
36361 * include/rpc/pmap_rmt.h: Likewise.
36362 * include/rpc/rpc_msg.h: Likewise.
36363 * include/rpc/svc.h: Likewise.
36364 * include/rpc/svc_auth.h: Likewise.
36365 * include/rpc/xdr.h: Likewise.
36366 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36367 * nss/Makefile: Likewise.
36368 * sunrpc/Makefile: Don't install headers. Build library with normal
36369 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36370 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36371 for the compat linking library. Remove use of INTDEF/INTUSE.
36372 * sunrpc/auth_none.c: Likewise.
36373 * sunrpc/auth_unix.c: Likewise.
36374 * sunrpc/authdes_prot.c: Likewise.
36375 * sunrpc/authuxprot.c: Likewise.
36376 * sunrpc/clnt_gen.c: Likewise.
36377 * sunrpc/clnt_perr.c: Likewise.
36378 * sunrpc/clnt_raw.c: Likewise.
36379 * sunrpc/clnt_simp.c: Likewise.
36380 * sunrpc/clnt_tcp.c: Likewise.
36381 * sunrpc/clnt_udp.c: Likewise.
36382 * sunrpc/clnt_unix.c: Likewise.
36383 * sunrpc/des_crypt.c: Likewise.
36384 * sunrpc/des_soft.c: Likewise.
36385 * sunrpc/get_myaddr.c: Likewise.
36386 * sunrpc/key_call.c: Likewise.
36387 * sunrpc/key_prot.c: Likewise.
36388 * sunrpc/netname.c: Likewise.
36389 * sunrpc/pm_getmaps.c: Likewise.
36390 * sunrpc/pm_getport.c: Likewise.
36391 * sunrpc/pmap_clnt.c: Likewise.
36392 * sunrpc/pmap_prot.c: Likewise.
36393 * sunrpc/pmap_prot2.c: Likewise.
36394 * sunrpc/pmap_rmt.c: Likewise.
36395 * sunrpc/publickey.c: Likewise.
36396 * sunrpc/rpc_cmsg.c: Likewise.
36397 * sunrpc/rpc_common.c: Likewise.
36398 * sunrpc/rpc_dtable.c: Likewise.
36399 * sunrpc/rpc_prot.c: Likewise.
36400 * sunrpc/rpc_thread.c: Likewise.
36401 * sunrpc/rtime.c: Likewise.
36402 * sunrpc/svc.c: Likewise.
36403 * sunrpc/svc_auth.c: Likewise.
36404 * sunrpc/svc_authux.c: Likewise.
36405 * sunrpc/svc_raw.c: Likewise.
36406 * sunrpc/svc_run.c: Likewise.
36407 * sunrpc/svc_simple.c: Likewise.
36408 * sunrpc/svc_tcp.c: Likewise.
36409 * sunrpc/svc_udp.c: Likewise.
36410 * sunrpc/svc_unix.c: Likewise.
36411 * sunrpc/svcauth_des.c: Likewise.
36412 * sunrpc/xcrypt.c: Likewise.
36413 * sunrpc/xdr.c: Likewise.
36414 * sunrpc/xdr_array.c: Likewise.
36415 * sunrpc/xdr_float.c: Likewise.
36416 * sunrpc/xdr_intXX_t.c: Likewise.
36417 * sunrpc/xdr_mem.c: Likewise.
36418 * sunrpc/xdr_rec.c: Likewise.
36419 * sunrpc/xdr_ref.c: Likewise.
36420 * sunrpc/xdr_sizeof.c: Likewise.
36421 * sunrpc/xdr_stdio.c: Likewise.
36422
36423 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36424
36425 [BZ #12650]
36426 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36427 * sysdeps/ia64/dl-tls.h: Likewise.
36428 * sysdeps/powerpc/dl-tls.h: Likewise.
36429 * sysdeps/s390/dl-tls.h: Likewise.
36430 * sysdeps/sh/dl-tls.h: Likewise.
36431 * sysdeps/sparc/dl-tls.h: Likewise.
36432 * sysdeps/x86_64/dl-tls.h: Likewise.
36433 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36434
36435 2011-03-14 Andreas Schwab <schwab@redhat.com>
36436
36437 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36438 rpath element also skip the following colon.
36439 (expand_dynamic_string_token): Add is_path parameter and pass
36440 down to DL_DST_REQUIRED and _dl_dst_substitute.
36441 (decompose_rpath): Call expand_dynamic_string_token with
36442 non-zero is_path. Ignore empty rpaths.
36443 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36444 with zero is_path.
36445
36446 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36447
36448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36449 Make cancelable.
36450
36451 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36452
36453 [BZ #12655]
36454 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36455 Patch by Filipe David Manana <fdmanana@apache.org>.
36456
36457 2011-04-07 Andreas Schwab <schwab@redhat.com>
36458
36459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36460 Maintain aligned stack.
36461 (CHECK_RSP): Remove unused macro.
36462
36463 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36464
36465 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36467
36468 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36469
36470 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36471
36472 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36473
36474 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36475
36476 [BZ #12518]
36477 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36478 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36479 * sysdeps/x86_64/memmove.c: New file.
36480 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36481 (memcpy): Renamed to ...
36482 (__new_memcpy): This.
36483 (memcpy): Provide GLIBC_2_14 memcpy.
36484 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36485 (memcpy): Provide GLIBC_2_2_5 memcpy.
36486
36487 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36488
36489 [BZ #12631]
36490 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36491
36492 2011-03-30 Andreas Schwab <schwab@redhat.com>
36493
36494 * misc/syncfs.c: New file.
36495 * misc/Makefile (routines): Add syncfs.
36496 * posix/unistd.h: Declare syncfs.
36497 * sysdeps/unix/syscalls.list: Add syncfs.
36498
36499 2011-04-01 Andreas Schwab <schwab@redhat.com>
36500
36501 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36502 open_by_handle_at.
36503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36508 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36510
36511 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36512
36513 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36520
36521 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36522 sync_file_range.c with -fexceptions.
36523 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36524 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36525 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36526 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36527 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36528 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36530 sync_file_range as cancellation point
36531 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36532 now a wrapper around __call_sync_file_range with cancellation handling.
36533 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36534 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36535 function name to __call_sync_file_range.
36536 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36537 Add call_sync_file_range.
36538
36539 2011-04-01 Andreas Schwab <schwab@redhat.com>
36540
36541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36542 bits/timex.h.
36543
36544 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36545
36546 * iconv/iconv.h: Fix typo in comment.
36547 * io/fcntl.h: Likewise.
36548 * libio/stdio.h: Likewise.
36549 * posix/spawn.h: Likewise.
36550 * posix/unistd.h: Likewise.
36551 * stdlib/stdlib.h: Likewise.
36552 * time/time.h: Likewise.
36553 * wcsmbs/wchar.h: Likewise.
36554
36555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36556 open_by_handle): Add.
36557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36558 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36559 Augment a few comments.
36560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36565 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36566 open_by_handle.
36567
36568 * io/fcntl.h (AT_EMPTY_PATH): Define.
36569
36570 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36571
36572 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36573 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36574 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36575 to...
36576 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36577 * Versions.def: Add GLIBC_2.14.
36578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36579 Export.
36580
36581 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36582
36583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36584 round counter.
36585 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36586
36587 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36588
36589 [BZ #12597]
36590 * string/test-strncmp.c (do_page_test): New function.
36591 (check2): Likewise.
36592 (test_main): Call check2.
36593 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36594
36595 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36596
36597 [BZ #12587]
36598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36599 Handle cache information in CPU leaf 4.
36600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36601
36602 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36603
36604 [BZ #12583]
36605 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36606 character representation.
36607 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36608
36609 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36610
36611 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36612 END(__isnan) to END(__isnanf) to match function entry point/label
36613 EALIGN(__isnanf,...).
36614
36615 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36616
36617 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36618
36619 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36620
36621 [BZ #12510]
36622 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36623 copy from the symbol referenced in the relocation to initialize the
36624 used variable.
36625 Patch by Piotr Bury <pbury@goahead.com>.
36626 * elf/Makefile: Add rules to build and tst-unique3.
36627 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36628 * elf/tst-unique3.cc: New file.
36629 * elf/tst-unique3.h: New file.
36630 * elf/tst-unique3lib.cc: New file.
36631 * elf/tst-unique3lib2.cc: New file.
36632
36633 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36634
36635 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36636
36637 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36638 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36639 to _start.
36640
36641 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36642
36643 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36644 to-be-loaded object along a path to loader is ld.so.
36645
36646 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36647 Ulrich Drepper <drepper@gmail.com>
36648
36649 * sysdeps/x86_64/memset.S: After aligning destination, code
36650 branches to different locations depending on the value of
36651 misalignment, when multiarch is enabled. Fix this.
36652
36653 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36654
36655 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36656 Set _x86_64_preferred_memory_instruction for AMD processsors.
36657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36658 Set bit_Prefer_SSE_for_memop for AMD processors.
36659
36660 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36661
36662 * libio/fmemopen.c (fmemopen): Optimize a bit.
36663
36664 2011-03-03 Andreas Schwab <schwab@redhat.com>
36665
36666 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36667
36668 2011-03-03 Roland McGrath <roland@redhat.com>
36669
36670 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36671
36672 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36673
36674 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36675 __bzero_ultra1 instead of __memset_ultra1.
36676
36677 2011-02-23 Andreas Schwab <schwab@redhat.com>
36678 Ulrich Drepper <drepper@gmail.com>
36679
36680 [BZ #12509]
36681 * include/link.h (struct link_map): Add l_orig_initfini.
36682 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36683 returning unsuccessfully.
36684 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36685 close of a file loaded at startup, restore the original l_initfini
36686 list.
36687 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36688 list, store the pointer.
36689 * elf/Makefile ($(objpfx)noload-mem): New rule.
36690 (noload-ENV): Define.
36691 (tests): Add $(objpfx)noload-mem.
36692 * elf/noload.c: Include <memcheck.h>.
36693 (main): Call mtrace. Close all opened handles.
36694
36695 2011-02-17 Andreas Schwab <schwab@redhat.com>
36696
36697 [BZ #12454]
36698 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36699 dependencies are missing.
36700
36701 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36702
36703 Fix __if_freereq crash: Unlike the generic version which uses free,
36704 Hurd needs munmap.
36705 * sysdeps/mach/hurd/ifreq.h: New file.
36706
36707 2011-01-27 Petr Baudis <pasky@suse.cz>
36708 Ulrich Drepper <drepper@gmail.com>
36709
36710 [BZ 12445]#
36711 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36712 to extend_alloca().
36713 * stdio-common/bug23.c: New file.
36714 * stdio-common/Makefile (tests): Add bug23.
36715
36716 2010-09-28 Andreas Schwab <schwab@redhat.com>
36717 Ulrich Drepper <drepper@gmail.com>
36718
36719 [BZ #12489]
36720 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36721 before performing relro protection. At old place add assertion
36722 to make sure nothing changed.
36723
36724 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36725 Glauber de Oliveira Costa <glommer@gmail.com>
36726
36727 * elf/elf.h: Add new ARM TLS relocs.
36728
36729 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36730
36731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36732 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36733 cast from r3.
36734 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36735 'tests' variable.
36736 * sysdeps/wordsize-64/tst-writev.c: New file.
36737
36738 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36739
36740 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36741 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36742 insns in _dl_start to prevent a TOC reference before relocs are
36743 resolved.
36744
36745 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36746
36747 [BZ #12469]
36748 * Makeconfig: Remove RANLIB definition.
36749 * Makerules: Don't use RANLIB.
36750 * aclocal.m4: Remove ranlib test.
36751 * configure.in: No need to check for ranlib.
36752 * elf/rtld-Rules: Don't use RANLIB.
36753
36754 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36755
36756 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36757 protection macro.
36758 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36759 inclusion protection macro.
36760
36761 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36762 SIGRTMIN and SIGRTMAX and print information in that case only when
36763 SIGRTMIN is defined.
36764
36765 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36766
36767 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36768 arginfo fn returning -1.
36769
36770 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36771 and thousands string is zero terminated.
36772
36773 2011-02-03 Andreas Schwab <schwab@redhat.com>
36774
36775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36776 sysdeps/unix/sysv/linux/bits/socket.h.
36777
36778 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36779
36780 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36781 (__CPU_COUNT): Remove old macros.
36782 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36783 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36784 (__CPU_ALLOC, __CPU_FREE): Add macros.
36785 (__sched_cpualloc, __sched_cpufree): Add declarations.
36786
36787 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36788
36789 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36790 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36791 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36792 (readdhstai): Return value of addhstaiX call.
36793 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36794 (addgrbyX): Return value returned by cache_addgr.
36795 (readdgrbyname): Return value returned by addgrbyX.
36796 (readdgrbygid): Likewise.
36797 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36798 (addpwbyX): Return value returned by cache_addpw.
36799 (readdpwbyname): Return value returned by addhstbyX.
36800 (readdpwbyuid): Likewise.
36801 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36802 (addservbyX): Return value returned by cache_addserv.
36803 (readdservbyname): Return value returned by addservbyX:
36804 (readdservbyport): Likewise.
36805 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36806 (addhstbyX): Return value returned by cache_addhst.
36807 (readdhstbyname): Return value returned by addhstbyX.
36808 (readdhstbyaddr): Likewise.
36809 (readdhstbynamev6): Likewise.
36810 (readdhstbyaddrv6): Likewise.
36811 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36812 (readdinitgroups): Return value returned by addinitgroupsX.
36813 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36814 (prune_cache): Keep track of timeout value of re-added entries.
36815 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36816 * nscd/nscd.h: Adjust prototypes of readd* functions.
36817
36818 2011-02-04 Roland McGrath <roland@redhat.com>
36819
36820 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36821 (nis_stats): Likewise.
36822 * nis/nis_modify.c (nis_modify): Likewise.
36823 * nis/nis_remove.c (nis_remove): Likewise.
36824 * nis/nis_add.c (nis_add): Likewise.
36825
36826 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36827
36828 * posix/fnmatch_loop.c: Add some consts.
36829
36830 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36831
36832 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36833
36834 [BZ #12460]
36835 * config.make.in (config-cflags-novzeroupper): Define.
36836 * configure.in: Substitute libc_cv_cc_novzeroupper.
36837 * elf/Makefile (AVX-CFLAGS): Define.
36838 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36839 (CFLAGS-tst-auditmod4a.c): Likewise.
36840 (CFLAGS-tst-auditmod4b.c): Likewise.
36841 (CFLAGS-tst-auditmod6b.c): Likewise.
36842 (CFLAGS-tst-auditmod6c.c): Likewise.
36843 (CFLAGS-tst-auditmod7b.c): Likewise.
36844 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36845
36846 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36847
36848 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36849 function to the callback.
36850 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36851
36852 2011-02-02 Andreas Schwab <schwab@redhat.com>
36853
36854 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36855 of errno.
36856
36857 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36858
36859 [BZ #11724]
36860 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36861 of constructors.
36862 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36863 of destructors.
36864 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36865
36866 [BZ #11724]
36867 * elf/Makefile: Add rules to build and run new test.
36868 * elf/tst-initorder.c: New file.
36869 * elf/tst-initorder.exp: New file.
36870 * elf/tst-initordera1.c: New file.
36871 * elf/tst-initordera2.c: New file.
36872 * elf/tst-initordera3.c: New file.
36873 * elf/tst-initordera4.c: New file.
36874 * elf/tst-initorderb1.c: New file.
36875 * elf/tst-initorderb2.c: New file.
36876 * elf/tst-order-a1.c: New file.
36877 * elf/tst-order-a2.c: New file.
36878 * elf/tst-order-a3.c: New file.
36879 * elf/tst-order-a4.c: New file.
36880 * elf/tst-order-b1.c: New file.
36881 * elf/tst-order-b2.c: New file.
36882 * elf/tst-order-main.c: New file.
36883 New test case by George Gensure <werkt0@gmail.com>.
36884
36885 2010-10-01 Andreas Schwab <schwab@redhat.com>
36886
36887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36888 decoding ACE if AI_CANONIDN.
36889
36890 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36891
36892 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36893
36894 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36895
36896 * version.h (RELEASE): Bump for 2.13 release.
36897 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36898
36899 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36900
36901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36902 MADV_NOHUGEPAGE.
36903 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36909
36910 * posix/getconf.c: Update copyright year.
36911 * catgets/gencat.c: Likewise.
36912 * csu/version.c: Likewise.
36913 * debug/catchsegv.sh: Likewise.
36914 * debug/xtrace.sh: Likewise.
36915 * elf/ldconfig.c: Likewise.
36916 * elf/ldd.bash.in: Likewise.
36917 * elf/sprof.c (print_version): Likewise.
36918 * iconv/iconv_prog.c: Likewise.
36919 * iconv/iconvconfig.c: Likewise.
36920 * locale/programs/locale.c: Likewise.
36921 * locale/programs/localedef.c: Likewise.
36922 * malloc/memusage.sh: Likewise.
36923 * malloc/mtrace.pl: Likewise.
36924 * nscd/nscd.c (print_version): Likewise.
36925 * nss/getent.c: Likewise.
36926
36927 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36928 PF_CAIF, and PF_ALG.
36929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36930
36931 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36932
36933 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36934 (modules-names): Use them.
36935 (ifunc-test-modules, ifunc-pie-tests): Define.
36936 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36937 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36938 (test-extras): Likewise.
36939 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36940 $(compile-command.c).
36941 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36942 (all-built-dso): Define.
36943 (check-textrel.out, check-execstack.out): Depend on it.
36944
36945 * configure.in: Don't override --enable-multi-arch.
36946
36947 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36948
36949 [BZ #6812]
36950 * nscd/hstcache.c (tryagain): Define.
36951 (cache_addhst): Return tryagain not notfound for temporary errors.
36952 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36953 failed.
36954
36955 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36956
36957 [BZ #10563]
36958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36959 to make the syscall.
36960 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36961
36962 [BZ #12378]
36963 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36964 and fall back to matching as normal character if the string ends before
36965 the matching ']' is found. This is what POSIX requires.
36966 * posix/testfnm.c: Adjust test result.
36967 * posix/globtest.sh: Adjust test result. Add new test.
36968 * posix/tst-fnmatch.input: Likewise.
36969 * posix/tst-fnmatch2.c: Add new test.
36970
36971 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36972
36973 * elf/Makefile (check-execstack): Revert last change. Depend on
36974 check-execstack.h.
36975 (check-execstack.h): New target.
36976 (generated): Add check-execstack.h.
36977 * elf/check-execstack.c: Include "check-execstack.h".
36978 (main): Revert last change.
36979 (handle_file): Return zero if GNU_STACK is absent and
36980 DEFAULT_STACK_PERMS doesn't include PF_X.
36981
36982 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36983
36984 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36985 in child fails because the descriptor is already closed.
36986 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36987 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36988 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36989
36990 [BZ #12397]
36991 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36992 syscall.
36993
36994 [BZ #10484]
36995 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36996 temporary buffer used to handle multi lookups locally.
36997 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36998
36999 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37000
37001 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37002 loader is ld.so.
37003
37004 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37005
37006 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37007 alignment for SSE2.
37008
37009 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37010
37011 [BZ #12394]
37012 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37013 characters. When rounding increased number of integer digits recompute
37014 number of groups.
37015 * stdio-common/tst-grouping.c: New file.
37016 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37017
37018 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37019
37020 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37021 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37022
37023 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37024 void.
37025 * bits/select.h: Likewise.
37026
37027 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37028
37029 * po/ja.po: Update from translation team.
37030
37031 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37032
37033 [BZ #11155]
37034 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37035 implementation just like for lxstat, fxstatat, et al.
37036
37037 2010-12-27 Jim Meyering <meyering@redhat.com>
37038
37039 [BZ #12348]
37040 * posix/regexec.c (build_trtable): Return failure indication upon
37041 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37042
37043 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37044
37045 [BZ #12201]
37046 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37047 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37050
37051 [BZ #12207]
37052 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37053
37054 [BZ #12204]
37055 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37056 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37057
37058 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37059
37060 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37061 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37062 script has SORT_BY_INIT_PRIORITY.
37063 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37064 NO_CTORS_DTORS_SECTIONS is defined.
37065 * elf/soinit.c: Likewise.
37066 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37067 NO_CTORS_DTORS_SECTIONS is defined.
37068 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37069 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37070 * sysdeps/sh/init-first.c: Likewise.
37071 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37072
37073 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37074
37075 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37076 always use the slow path.
37077
37078 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37079
37080 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37081 similar rule which adds the sysdep directories to the header search in
37082 order to pick up the correct platform stackinfo.h.
37083 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37084 perform test if it is, otherwise return successfully without testing.
37085 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37086 DEFAULT_STACK_PERMS define in stackinfo.h.
37087 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37088 defined in stackinfo.h.
37089 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37090 DEFAULT_STACK_PERMS defined in stackinfo.h.
37091 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37092 * sysdeps/ia64/stackinfo.h: Likewise.
37093 * sysdeps/s390/stackinfo.h: Likewise.
37094 * sysdeps/sh/stackinfo.h: Likewise.
37095 * sysdeps/sparc/stackinfo.h: Likewise.
37096 * sysdeps/x86_64/stackinfo.h: Likewise.
37097 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37098 PF_X for powerpc64. Retain PF_X for powerpc32.
37099
37100 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37101
37102 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37103 accurately.
37104 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37105 GETDENTS_64BIT_ALIGNED.
37106
37107 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37108
37109 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37110
37111 2010-12-10 Andreas Schwab <schwab@redhat.com>
37112
37113 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37114 _GNU_SOURCE.
37115
37116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37117 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37118 Remove __restrict.
37119 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37120 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37121
37122 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37123
37124 [BZ #11655]
37125 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37126 are initialized.
37127
37128 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37129
37130 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37131
37132 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37133
37134 * po/it.po: Update from translation team.
37135
37136 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37137
37138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37139 unused codes.
37140
37141 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37142
37143 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37144
37145 2010-11-24 Andreas Schwab <schwab@redhat.com>
37146
37147 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37148 specially.
37149 (gaih_getanswer_slice): Likewise.
37150
37151 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37152
37153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37154
37155 2010-05-31 Petr Baudis <pasky@suse.cz>
37156
37157 [BZ #11149]
37158 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37159 silently even in the chroot mode.
37160
37161 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37162
37163 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37164 last patch a bit. Pretty printing
37165
37166 2010-05-31 Petr Baudis <pasky@suse.cz>
37167
37168 [BZ #10085]
37169 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37170 initialization of skip_initgroups_dyn.
37171
37172 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37173
37174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37176
37177 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37178
37179 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37180
37181 2010-11-11 Andreas Schwab <schwab@redhat.com>
37182
37183 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37184 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37185 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37186 ($(objpfx)tst-fnmatch-mem): New rule.
37187 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37188 * posix/tst-fnmatch.c (main): Call mtrace.
37189
37190 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37191
37192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37193 Support Intel processor model 6 and model 0x2c.
37194
37195 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37196
37197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37198 signed comparison.
37199
37200 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37201
37202 [BZ #12205]
37203 * string/test-strncasecmp.c (check_result): New function.
37204 (do_one_test): Use it.
37205 (check1): New function.
37206 (test_main): Use it.
37207 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37208 Support strcasecmp and strncasecmp.
37209
37210 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37211
37212 [BZ #12194]
37213 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37215
37216 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37217
37218 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37219 IFUNC support.
37220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37221 memset-x86-64.
37222 * sysdeps/x86_64/multiarch/bzero.S: New file.
37223 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37224 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37225 * sysdeps/x86_64/multiarch/memset.S: New file.
37226 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37228 Set bit_Prefer_SSE_for_memop for Intel processors.
37229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37230 Define.
37231 (index_Prefer_SSE_for_memop): Define.
37232 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37233
37234 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37235
37236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37238
37239 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37240
37241 [BZ #12191]
37242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37243 (__x86_64_raw_data_cache_size_half): Likewise.
37244 (__x86_64_raw_shared_cache_size): Likewise.
37245 (__x86_64_raw_shared_cache_size_half): Likewise.
37246
37247 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37248 (__x86_64_raw_data_cache_size_half): Likewise.
37249 (__x86_64_raw_shared_cache_size): Likewise.
37250 (__x86_64_raw_shared_cache_size_half): Likewise.
37251 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37252 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37253 and __x86_64_raw_shared_cache_size_half. Round
37254 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37255 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37256 to multiple of 256 bytes.
37257
37258 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37259
37260 [BZ #12167]
37261 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37262 of inacessible symlinks. Verify result of symlink before returning it.
37263 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37264 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37265
37266 2010-10-28 Erich Ritz <erichritz@gmail.com>
37267
37268 * math/math.h (isinf): Fix typo in comment.
37269
37270 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37271
37272 * po/da.po: Update from translation team.
37273
37274 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37275
37276 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37277 is added to the list.
37278
37279 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37280 Ulrich Drepper <drepper@gmail.com>
37281
37282 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37283 the global list here. Move code to...
37284 (_dl_add_to_namespace_list): ...here. New function.
37285 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37286 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37287 * elf/dl-load.c (lose): Don't remove the element from the list.
37288 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37289 (_dl_map_object): Likewise.
37290
37291 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37292
37293 [BZ #12159]
37294 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37295 into all bytes of SSE register.
37296 Patch by Richard Li <richardpku@gmail.com>.
37297
37298 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37299
37300 [BZ #12140]
37301 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37302 perturbing.
37303
37304 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37305
37306 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37307 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37309 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37311 submachine.
37312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37313
37314 2010-10-22 Andreas Schwab <schwab@redhat.com>
37315
37316 * include/dlfcn.h (__RTLD_SECURE): Define.
37317 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37318 mode & __RTLD_SECURE instead.
37319 (open_path): Rename preloaded parameter to secure.
37320 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37321 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37322 * elf/dl-deps.c (openaux): Likewise.
37323 * elf/rtld.c (struct map_args): Remove is_preloaded.
37324 (map_doit): Don't use it.
37325 (dl_main): Likewise.
37326 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37327 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37328
37329 2010-09-09 Andreas Schwab <schwab@redhat.com>
37330
37331 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37332 (sysd-rules-targets): Remove duplicates.
37333 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37334 rtld-%.$o dependency.
37335
37336 2010-10-18 Andreas Schwab <schwab@redhat.com>
37337
37338 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37339 _dl_map_object do it.
37340
37341 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37342
37343 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37344 fast fma builtins, define the macros in the C99 standard.
37345 (FP_FAST_FMAF): Likewise.
37346 (FP_FAST_FMAL): Likewise.
37347 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37348
37349 * bits/mathdef.h: Update copyright year.
37350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37351
37352 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37353
37354 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37355 builtins, define the macros in the C99 standard.
37356 (FP_FAST_FMAF): Likewise.
37357 (FP_FAST_FMAL): Likewise.
37358 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37359 multiply/add.
37360 (FP_FAST_FMAF): Likewise.
37361
37362 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37363
37364 [BZ #3268]
37365 * math/libm-test.inc (fma_test): Some new testcases.
37366 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37368 y and infinite z. Do multiplication by C already in long double.
37369 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37371 y and infinite z. Do bitwise or of inexact bit into u.d.
37372 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37373 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37374 * sysdeps/i386/fpu/s_fma.S: Removed.
37375 * sysdeps/i386/fpu/s_fmal.S: Removed.
37376
37377 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37378
37379 [BZ #3268]
37380 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37382 computation is not scheduled after fetestexcept. Fix value
37383 of minimum denormal long double.
37384
37385 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37386
37387 [BZ #3268]
37388 * math/libm-test.inc (fma_test): Add some more tests.
37389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37390 correctly.
37391
37392 2010-10-15 Andreas Schwab <schwab@redhat.com>
37393
37394 * scripts/data/localplt-s390-linux-gnu.data: New file.
37395 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37396
37397 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37398
37399 [BZ #3268]
37400 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37401 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37402 instead of dbl-64.
37403 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37404 inlines.
37405 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37407 if one of x and y is very large and the other is subnormal.
37408 * sysdeps/s390/fpu/s_fmaf.c: New file.
37409 * sysdeps/s390/fpu/s_fma.c: New file.
37410 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37411 * sysdeps/powerpc/fpu/s_fma.S: New file.
37412 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37413 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37414 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37415
37416 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37417
37418 [BZ #3268]
37419 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37420 fma tests.
37421 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37422 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37423 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37424 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37425 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37426 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37427 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37428
37429 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37430
37431 [BZ #12078]
37432 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37433 * posix/bug-regex31.input: Add test case.
37434
37435 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37436
37437 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37438 * posix/bug-regex31.input: New file.
37439
37440 [BZ #12078]
37441 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37442 (parse_sub_exp): Fix last change, use postorder.
37443
37444 * posix/bug-regex31.c: New file.
37445 * posix/Makefile: Add rules to build and run bug-regex31.
37446
37447 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37448
37449 [BZ #12078]
37450 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37451
37452 [BZ #12108]
37453 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37454 to have entries in sys_siglist.
37455
37456 [BZ #12093]
37457 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37458 be NULL.
37459
37460 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37461
37462 [BZ #3268]
37463 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37464 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37465 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37466 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37467 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37468 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37469 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37470 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37471 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37472 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37473 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37474 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37475 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37476 * math/ftestexcept.c (fetestexcept): Likewise.
37477 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37478 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37479 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37480 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37481 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37482 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37484
37485 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37486
37487 [BZ #12107]
37488 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37489 newline.
37490
37491 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37492
37493 * string/bug-strstr1.c: New file.
37494 * string/Makefile: Add rules to build and run bug-strstr1.
37495
37496 2010-10-05 Eric Blake <eblake@redhat.com>
37497
37498 [BZ #12092]
37499 * string/str-two-way.h (two_way_long_needle): Always clear memory
37500 when skipping input due to the shift table.
37501
37502 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37503
37504 [BZ #12005]
37505 * malloc/mcheck.c: Handle large requests.
37506
37507 [BZ #12077]
37508 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37509 for strncmp and strncasecmp.
37510 * string/stratcliff.c: Add tests for strcmp and strncmp.
37511 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37512
37513 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37514
37515 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37516 __set_fpscr.
37517
37518 2010-09-30 Andreas Jaeger <aj@suse.de>
37519
37520 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37521 (CGROUP_SUPER_MAGIC): Define.
37522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37523 Handle btrfs and cgroup file systems.
37524 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37525 Likewise.
37526
37527 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37528
37529 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37530 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37531
37532 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37533
37534 [BZ #12067]
37535 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37536 trying to locate the ELF header.
37537
37538 2010-09-27 Andreas Schwab <schwab@redhat.com>
37539
37540 [BZ #11611]
37541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37542 Mask out sign-bit copies when constructing f_fsid.
37543
37544 2010-09-24 Petr Baudis <pasky@suse.cz>
37545
37546 * debug/stack_chk_fail_local.c: Add missing licence exception.
37547 * debug/warning-nop.c: Likewise.
37548
37549 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37550
37551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37552 implementing getdents64 using getdents syscall, set d_type if
37553 __ASSUME_GETDENTS32_D_TYPE.
37554
37555 2010-09-16 Andreas Schwab <schwab@redhat.com>
37556
37557 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37558 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37559
37560 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37561
37562 [BZ #12037]
37563 * posix/unistd.h: Undo change of feature selection for ftruncate from
37564 2010-01-11.
37565
37566 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37567
37568 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37569 detection.
37570
37571 2010-09-20 Andreas Schwab <schwab@redhat.com>
37572
37573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37574 fanotify_mark.
37575 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37576
37577 2010-09-14 Andreas Schwab <schwab@redhat.com>
37578
37579 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37580 variables after CHECK_SP call.
37581 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37582
37583 2010-09-13 Andreas Schwab <schwab@redhat.com>
37584 Ulrich Drepper <drepper@redhat.com>
37585
37586 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37587 re-relocationg ld.so.
37588 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37589 _dl_init_paths call.
37590 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37591 here anymore.
37592
37593 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37594
37595 * resolv/res_init.c (__res_vinit): Count the default server we added.
37596
37597 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37598 Ulrich Drepper <drepper@redhat.com>
37599
37600 [BZ #11968]
37601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37602 (____longjmp_chk): Use %ebx for saving value across system call.
37603 Add unwind info.
37604
37605 2010-09-06 Andreas Schwab <schwab@redhat.com>
37606
37607 * manual/Makefile: Don't mix pattern rules with normal rules.
37608
37609 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37610
37611 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37612 operation.
37613 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37614 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37615 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37616 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37618 Likewise.
37619
37620 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37621
37622 [BZ #11979]
37623 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37624 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37625
37626 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37627
37628 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37629 * sysdeps/x86_64/addmul_1.S: Likewise.
37630 * sysdeps/x86_64/lshift.S: Likewise.
37631 * sysdeps/x86_64/mul_1.S: Likewise.
37632 * sysdeps/x86_64/rshift.S: Likewise.
37633 * sysdeps/x86_64/sub_n.S: Likewise.
37634 * sysdeps/x86_64/submul_1.S: Likewise.
37635
37636 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37637
37638 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37639 Define __sched_param instead of SCHED_* and sched_param when
37640 <bits/sched.h> is included with __need_schedparam defined.
37641 * bits/sched.h [__need_schedparam]
37642 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37643 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37644 (__defined_schedparam): Define to 1.
37645 (__sched_param): New structure, identical to sched_param.
37646 (__need_schedparam): Undefine.
37647
37648 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37649
37650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37651 (epoll_create1): Declare.
37652
37653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37654
37655 2010-08-31 Andreas Schwab <schwab@redhat.com>
37656
37657 [BZ #7066]
37658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37659 shifting retval into place.
37660
37661 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37662
37663 * nis/rpcsvc/nis.h: Update copyright notice.
37664 * nis/rpcsvc/nis.x: Likewise.
37665 * nis/rpcsvc/nis_callback.h: Likewise.
37666 * nis/rpcsvc/nis_callback.x: Likewise.
37667 * nis/rpcsvc/nis_object.x: Likewise.
37668 * nis/rpcsvc/nis_tags.h: Likewise.
37669 * nis/rpcsvc/yp.h: Likewise.
37670 * nis/rpcsvc/yp.x: Likewise.
37671 * nis/rpcsvc/ypupd.h: Likewise.
37672 * nis/yp_xdr.c: Likewise.
37673 * nis/ypupdate_xdr.c: Likewise.
37674
37675 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37676 mainly the body of pmap_getport. Add parameters to specify timeouts.
37677 (pmap_getport): Use __libc_rpc_getport.
37678 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37679 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37680 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37681
37682 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37683
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37685 fanotify_mark.
37686
37687 2010-08-27 Roland McGrath <roland@redhat.com>
37688
37689 * sysdeps/i386/i686/multiarch/Makefile
37690 (CFLAGS-varshift.c): New variable.
37691
37692 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37693
37694 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37695 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37696
37697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37698
37699 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37700
37701 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37702
37703 * sysdeps/x86_64/strlen.S: Unroll the loop.
37704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37705 strlen-sse2 strlen-sse2-bsf.
37706 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37707 __strlen_no_bsf if bit_Slow_BSF is set.
37708 (__strlen_sse42): Removed.
37709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37710 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37711
37712 2010-08-25 Roland McGrath <roland@redhat.com>
37713
37714 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37715 * sysdeps/x86_64/multiarch/varshift.c: New file.
37716 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37717 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37718 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37719 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37720
37721 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37722
37723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37724 strlen-sse2 strlen-sse2-bsf.
37725 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37726 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37727 (__strlen_sse2): Removed.
37728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37731 bit_Slow_BSF for Atom.
37732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37733 (index_Slow_BSF): Define.
37734 (HAS_SLOW_BSF): Define.
37735
37736 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37737
37738 [BZ #10851]
37739 * resolv/res_init.c (__res_vinit): When no server address at all
37740 is given default to loopback.
37741
37742 2010-08-24 Roland McGrath <roland@redhat.com>
37743
37744 * configure.in: Remove config-name.h generation.
37745 * configure: Regenerated.
37746 * config-name.in: File removed.
37747 * scripts/config-uname.sh: New file.
37748 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37749 ($(objdir)config-name.h): New target.
37750
37751 * sunrpc/rpc_parse.h: Avoid nested comment.
37752
37753 2010-08-24 Richard Henderson <rth@redhat.com>
37754 Ulrich Drepper <drepper@redhat.com>
37755 H.J. Lu <hongjiu.lu@intel.com>
37756
37757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37759 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37760 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37761 _mm_alignr_epi8 with _mm_loadu_si128.
37762 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37763 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37764 (__m128i_shift_right): Removed.
37765 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37766 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37767 * sysdeps/x86_64/multiarch/varshift.h: New file.
37768 * sysdeps/x86_64/multiarch/varshift.S: New file.
37769
37770 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37771
37772 * configure.in: Move assembler checks to before sysdep dir checking.
37773
37774 2010-08-20 Petr Baudis <pasky@suse.cz>
37775
37776 * LICENSES: Sync the sunrpc license.
37777
37778 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37779
37780 * sunrpc/auth_des.c: Update copyright notice once again.
37781 * sunrpc/auth_none.c: Likewise.
37782 * sunrpc/auth_unix.c: Likewise.
37783 * sunrpc/authdes_prot.c: Likewise.
37784 * sunrpc/authuxprot.c: Likewise.
37785 * sunrpc/bindrsvprt.c: Likewise.
37786 * sunrpc/clnt_gen.c: Likewise.
37787 * sunrpc/clnt_perr.c: Likewise.
37788 * sunrpc/clnt_raw.c: Likewise.
37789 * sunrpc/clnt_simp.c: Likewise.
37790 * sunrpc/clnt_tcp.c: Likewise.
37791 * sunrpc/clnt_udp.c: Likewise.
37792 * sunrpc/clnt_unix.c: Likewise.
37793 * sunrpc/des_crypt.c: Likewise.
37794 * sunrpc/des_soft.c: Likewise.
37795 * sunrpc/get_myaddr.c: Likewise.
37796 * sunrpc/getrpcport.c: Likewise.
37797 * sunrpc/key_call.c: Likewise.
37798 * sunrpc/key_prot.c: Likewise.
37799 * sunrpc/openchild.c: Likewise.
37800 * sunrpc/pm_getmaps.c: Likewise.
37801 * sunrpc/pm_getport.c: Likewise.
37802 * sunrpc/pmap_clnt.c: Likewise.
37803 * sunrpc/pmap_prot.c: Likewise.
37804 * sunrpc/pmap_prot2.c: Likewise.
37805 * sunrpc/pmap_rmt.c: Likewise.
37806 * sunrpc/rpc/auth.h: Likewise.
37807 * sunrpc/rpc/auth_unix.h: Likewise.
37808 * sunrpc/rpc/clnt.h: Likewise.
37809 * sunrpc/rpc/des_crypt.h: Likewise.
37810 * sunrpc/rpc/key_prot.h: Likewise.
37811 * sunrpc/rpc/netdb.h: Likewise.
37812 * sunrpc/rpc/pmap_clnt.h: Likewise.
37813 * sunrpc/rpc/pmap_prot.h: Likewise.
37814 * sunrpc/rpc/pmap_rmt.h: Likewise.
37815 * sunrpc/rpc/rpc.h: Likewise.
37816 * sunrpc/rpc/rpc_des.h: Likewise.
37817 * sunrpc/rpc/rpc_msg.h: Likewise.
37818 * sunrpc/rpc/svc.h: Likewise.
37819 * sunrpc/rpc/svc_auth.h: Likewise.
37820 * sunrpc/rpc/types.h: Likewise.
37821 * sunrpc/rpc/xdr.h: Likewise.
37822 * sunrpc/rpc_clntout.c: Likewise.
37823 * sunrpc/rpc_cmsg.c: Likewise.
37824 * sunrpc/rpc_common.c: Likewise.
37825 * sunrpc/rpc_cout.c: Likewise.
37826 * sunrpc/rpc_dtable.c: Likewise.
37827 * sunrpc/rpc_hout.c: Likewise.
37828 * sunrpc/rpc_main.c: Likewise.
37829 * sunrpc/rpc_parse.c: Likewise.
37830 * sunrpc/rpc_parse.h: Likewise.
37831 * sunrpc/rpc_prot.c: Likewise.
37832 * sunrpc/rpc_sample.c: Likewise.
37833 * sunrpc/rpc_scan.c: Likewise.
37834 * sunrpc/rpc_scan.h: Likewise.
37835 * sunrpc/rpc_svcout.c: Likewise.
37836 * sunrpc/rpc_tblout.c: Likewise.
37837 * sunrpc/rpc_util.c: Likewise.
37838 * sunrpc/rpc_util.h: Likewise.
37839 * sunrpc/rpcinfo.c: Likewise.
37840 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37841 * sunrpc/rpcsvc/key_prot.x: Likewise.
37842 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37843 * sunrpc/rpcsvc/mount.x: Likewise.
37844 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37845 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37846 * sunrpc/rpcsvc/rex.x: Likewise.
37847 * sunrpc/rpcsvc/rstat.x: Likewise.
37848 * sunrpc/rpcsvc/rusers.x: Likewise.
37849 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37850 * sunrpc/rpcsvc/spray.x: Likewise.
37851 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37852 * sunrpc/rtime.c: Likewise.
37853 * sunrpc/svc.c: Likewise.
37854 * sunrpc/svc_auth.c: Likewise.
37855 * sunrpc/svc_authux.c: Likewise.
37856 * sunrpc/svc_raw.c: Likewise.
37857 * sunrpc/svc_run.c: Likewise.
37858 * sunrpc/svc_simple.c: Likewise.
37859 * sunrpc/svc_tcp.c: Likewise.
37860 * sunrpc/svc_udp.c: Likewise.
37861 * sunrpc/svc_unix.c: Likewise.
37862 * sunrpc/svcauth_des.c: Likewise.
37863 * sunrpc/xcrypt.c: Likewise.
37864 * sunrpc/xdr.c: Likewise.
37865 * sunrpc/xdr_array.c: Likewise.
37866 * sunrpc/xdr_float.c: Likewise.
37867 * sunrpc/xdr_mem.c: Likewise.
37868 * sunrpc/xdr_rec.c: Likewise.
37869 * sunrpc/xdr_ref.c: Likewise.
37870 * sunrpc/xdr_sizeof.c: Likewise.
37871 * sunrpc/xdr_stdio.c: Likewise.
37872
37873 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37874 handling.
37875
37876 2010-08-19 Andreas Schwab <schwab@redhat.com>
37877
37878 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37879
37880 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37881
37882 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37884 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37885 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37887 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37888 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37889 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37892 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37893 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37894 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37895 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37896
37897 2010-07-26 Anton Blanchard <anton@samba.org>
37898
37899 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37900 * malloc/arena.c (heap_trim): Likewise.
37901
37902 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37903
37904 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37905 here. Not...
37906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37907 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37908
37909 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37910
37911 * sysdeps/i386/elf/Makefile: New file.
37912
37913 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37914
37915 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37916 from fanotify_init.
37917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37919
37920 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37921
37922 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37923 of strncasecmp_l.
37924 * sysdeps/multiarch/strcmp.S: Likewise.
37925
37926 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37927
37928 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37929 strncase_l-nonascii.
37930 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37931 Add strncase_l-ssse3.
37932 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37933 * sysdeps/x86_64/strcmp.S: Likewise.
37934 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37935 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37936 * sysdeps/x86_64/strncase.S: New file.
37937 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37938 * sysdeps/x86_64/strncase_l.S: New file.
37939 * string/Makefile (strop-tests): Add strncasecmp.
37940 * string/test-strncasecmp.c: New file.
37941
37942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37943 warning.
37944
37945 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37946 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37947
37948 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37949
37950 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37951
37952 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37953
37954 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37956 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37957
37958 2010-05-01 Alan Modra <amodra@gmail.com>
37959
37960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37961 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37962 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37963 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37964 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37965 tidying. Don't tail-call __sigjmp_save for static lib.
37966 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37967 save location.
37968 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37969 (CALL_MCOUNT): Add eh info, and nop after bl.
37970 (TAIL_CALL_SYSCALL_ERROR): New macro.
37971 (PSEUDO_RET): Use it.
37972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37973 Correct save location of integer regs and cr.
37974 (_dl_profile_resolve): Correct cr save location. Delete nops
37975 after bl when SHARED. Reduce cfi size a little by better
37976 placement of cfi directives.
37977 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37978 make a stack frame. Instead use parm save area as a temp.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37980 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37982 Don't make a stack frame for parent, use parm save area.
37983 Increase child stack frame to 112 bytes. Don't save unused reg,
37984 and adjust reg usage. Set up cfi on error recovery and
37985 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37987 (__makecontext): Add dummy nop after jump to exit.
37988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37989 Use correct parm save area and cr save, reduce stack frame.
37990 Correct cfi for possible PSEUDO_RET frame setup.
37991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37992 Branch to local label emitted by PSEUDO_RET rather than
37993 __syscall_error.
37994
37995 2010-08-12 Andreas Schwab <schwab@redhat.com>
37996
37997 [BZ #11904]
37998 * locale/programs/locale.c (print_assignment): New function.
37999 (show_locale_vars): Use it.
38000
38001 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38002
38003 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38004 field.
38005 (struct statfs64): Likewise.
38006 (_STATFS_F_FLAGS): Define.
38007 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38009 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38010 (ST_VALID): Define locally.
38011 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38012 __statvfs_getflags, use the provided value.
38013 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38014 __ASSUME_STATFS_F_FLAGS.
38015
38016 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38017
38018 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38019 Add sys/fanotify.h.
38020 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38021 fanotify_mask for GLIBC_2.13.
38022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38023 fanotify_init and fanotify_mark.
38024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38025 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38026
38027 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38028 Add prlimit.
38029 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38030 prlimit64 for GLIBC_2.13.
38031 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38032 prlimit64.
38033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38034 syscall.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38037 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38040 add prlimit alias.
38041 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38042
38043 [BZ #11903]
38044 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38045 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38046
38047 * nss/Makefile: Add rules to build and run tst-nss-test1.
38048 * shlib-versions: Add entry for libnss_test1.
38049 * nss/nss_test1.c: New file.
38050 * nss/tst-nss-test1.c: New file.
38051
38052 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38053 (__nss_configure_lookup): Set appropriate entry in
38054 __nss_configure_lookup to true.
38055 * nss/nsswitch.h: Define enum with indeces of databases in
38056 databases and __nss_database_custom arrays. Declare
38057 __nss_database_custom.
38058 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38059 to avoid using nscd when custom rules are installed.
38060 * nss/getXXbyYY_r.c: Likewise.
38061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38062
38063 * nss/nss_files/files-parse.c: Whitespace fixes.
38064
38065 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38066
38067 [BZ #11883]
38068 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38069 * posix/fnmatch_loop.c: Likewise.
38070
38071 2010-07-17 Andi Kleen <ak@linux.intel.com>
38072
38073 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38074 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38075 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38076 * Versions.def [GLIBC_2.13]: Add.
38077
38078 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38079
38080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38081 Also fail if tpwd after pwuid call is NULL.
38082
38083 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38084
38085 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38086 when converting to ms.
38087
38088 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38089
38090 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38091 EOPNOTSUPP errors with ENOTTY.
38092 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38093 EOPNOTSUPP errors with ENOTTY.
38094
38095 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38096
38097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38098 Add strcasecmp_l-ssse3.
38099 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38100 strcasecmp.
38101 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38103 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38104
38105 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38106
38107 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38108
38109 * string/Makefile (strop-tests): Add strcasecmp.
38110 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38111 strcasecmp_l-nonascii.
38112 (gen-as-const-headers): Add locale-defines.sym.
38113 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38114 * sysdeps/x86_64/strcasecmp.S: New file.
38115 * sysdeps/x86_64/strcasecmp_l.S: New file.
38116 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38117 * sysdeps/x86_64/locale-defines.sym: New file.
38118 * string/test-strcasecmp.c: New file.
38119
38120 * string/test-strcasestr.c: Test both ends of the range of characters.
38121 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38122
38123 2010-07-29 Roland McGrath <roland@redhat.com>
38124
38125 [BZ #11856]
38126 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38127
38128 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38129
38130 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38131 for ld.so.
38132
38133 2010-07-27 Andreas Schwab <schwab@redhat.com>
38134
38135 * manual/memory.texi (Malloc Tunable Parameters): Document
38136 M_PERTURB.
38137
38138 2010-07-26 Roland McGrath <roland@redhat.com>
38139
38140 [BZ #11840]
38141 * configure.in (-fgnu89-inline check): Set and substitute
38142 gnu89_inline, not libc_cv_gnu89_inline.
38143 * configure: Regenerated.
38144 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38145
38146 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38147
38148 * string/test-strnlen.c: New file.
38149 * string/Makefile (strop-tests): Add strnlen.
38150 * string/tester.c (test_strnlen): Add a few more test cases.
38151 * string/tst-strlen.c: Better error reporting.
38152
38153 * sysdeps/x86_64/strnlen.S: New file.
38154
38155 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38156
38157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38158 lower-latency instructions.
38159
38160 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38161
38162 * string/test-strcasestr.c: New file.
38163 * string/test-strstr.c: New file.
38164 * string/Makefile (strop-tests): Add strstr and strcasestr.
38165 * string/str-two-way.h: Don't undefine MAX.
38166 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38167
38168 2010-07-21 Andreas Schwab <schwab@redhat.com>
38169
38170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38171 strcasestr-nonascii.
38172 (CFLAGS-strcasestr-nonascii.c): Define.
38173 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38175 Remove unused attribute.
38176
38177 2010-07-20 Roland McGrath <roland@redhat.com>
38178
38179 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38180 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38181 ld.so.cache was broken. With it, there is no way to disable dsocaps
38182 like LD_HWCAP_MASK can disable hwcaps.
38183
38184 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38185
38186 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38187
38188 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38189
38190 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38191 call in strcasestr.
38192 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38193 __strcasestr_sse42_nonascii.
38194 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38195 strcasestr-nonascii.c.
38196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38197
38198 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38199
38200 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38204
38205 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38206
38207 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38208 fcntl.
38209
38210 2010-07-06 Andreas Schwab <schwab@redhat.com>
38211
38212 [BZ #11577]
38213 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38214 dl_signal_cerror.
38215
38216 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38217
38218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38219 _PC_PIPE_BUF using F_GETPIPE_SZ.
38220
38221 2010-07-05 Roland McGrath <roland@redhat.com>
38222
38223 * manual/arith.texi (Rounding Functions): Fix rint description
38224 implicit in round description.
38225
38226 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38227
38228 * elf/Makefile: Fix linking for a few tests to make recent linker
38229 happy.
38230
38231 2010-06-30 Andreas Schwab <schwab@redhat.com>
38232
38233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38234 $(common-objpfx)libc_nonshared.a.
38235
38236 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38237
38238 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38239 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38240 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38241 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38242 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38243 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38244 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38245 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38260 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38261 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38262 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38263 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38264 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38265 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38266 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38267 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38268 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38269 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38270 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38271 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38286
38287 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38288
38289 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38290 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38291 * string/memmove.c (memmove): Renamed to ...
38292 (MEMMOVE): ...this. Default to memmove.
38293 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38294 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38295 (END_CHK): Define.
38296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38297 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38298 mempcpy-ssse3-back memmove-ssse3-back.
38299 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38302 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38303 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38304 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38305 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38306 * sysdeps/x86_64/multiarch/memmove.c: New file.
38307 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38308 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38309 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38310 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38311 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38313 Define.
38314 (index_Fast_Copy_Backward): Define.
38315 (HAS_ARCH_FEATURE): Define.
38316 (HAS_FAST_REP_STRING): Define.
38317 (HAS_FAST_COPY_BACKWARD): Define.
38318
38319 2010-06-21 Andreas Schwab <schwab@redhat.com>
38320
38321 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38322 Restore proper fallback handling.
38323
38324 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38325
38326 [BZ #11701]
38327 * posix/group_member.c (__group_member): Correct checking loop.
38328
38329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38330 OOM in getpwuid_r correctly. Return error number when the caller
38331 should return, otherwise -1.
38332 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38333 call returning > 0 value.
38334 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38335
38336 2010-06-07 Andreas Schwab <schwab@redhat.com>
38337
38338 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38339 libc_nonshared.a from targets in modules-names.
38340
38341 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38342
38343 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38344 requires it.
38345
38346 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38347
38348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38349 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38352
38353 2010-06-02 Andreas Schwab <schwab@redhat.com>
38354
38355 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38356
38357 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38358
38359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38360 and F_GETPIPE_SZ.
38361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38367
38368 2010-06-14 Roland McGrath <roland@redhat.com>
38369
38370 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38371
38372 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38373
38374 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38375 __REDIRECT followed by __THROW.
38376 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38377 * posix/getopt.h (getopt): Likewise.
38378
38379 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38380
38381 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38382 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38383 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38384 in AT_FLAGS.
38385 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38386 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38387
38388 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38389
38390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38391
38392 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38393
38394 [BZ #11640]
38395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38396 Properly check family and model.
38397
38398 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38399
38400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38401
38402 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38403
38404 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38405
38406 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38407
38408 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38409 symbol reference.
38410
38411 2010-05-19 Andreas Schwab <schwab@redhat.com>
38412
38413 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38414 symbol reference.
38415
38416 2010-05-21 Andreas Schwab <schwab@redhat.com>
38417
38418 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38419 and internal_recvmmsg.
38420 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38421 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38422 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38423 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38424
38425 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38426 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38427 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38428
38429 2010-05-20 Andreas Schwab <schwab@redhat.com>
38430
38431 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38432
38433 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38434
38435 POWER7 optimizations.
38436 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38437 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38438
38439 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38440
38441 * version.h: Update for 2.13 development version.
38442
38443 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38444
38445 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38446 exceptions. Return 0.
38447
38448 2010-05-07 Roland McGrath <roland@redhat.com>
38449
38450 * elf/ldconfig.c (main): Add a const.
38451
38452 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38453
38454 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38455 (args_options): Add no-idn option.
38456 (ahosts_keys_int): Add idn_flags to ai_flags.
38457 (parse_option): Handle 'i' option to clear idn_flags.
38458
38459 * malloc/malloc.c (_int_free): Possible race in the most recently
38460 added check. Only act on the data if no current modification
38461 happened.
38462
38463 See ChangeLog.17 for earlier changes.
This page took 1.803318 seconds and 5 git commands to generate.