]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix previous commit.
[thirdparty/glibc.git] / ChangeLog
1 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2
3 [BZ #15894]
4 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5
6 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7
8 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
9 arena_get2): Remove THREAD_STATS conditionals.
10 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
11 __malloc_stats, int): Likewise.
12
13 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14
15 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17
18 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19
20 * manual/setjmp.texi: Fix typos/grammar errors.
21
22 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23
24 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25 Only return early when n is <= 0. Delete unused return statement.
26
27 2014-02-08 Mike Frysinger <vapier@gentoo.org>
28
29 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31 * debug/tst-longjmp_chk3.c: New file.
32
33 2014-02-08 Mike Frysinger <vapier@gentoo.org>
34
35 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36 (test_main): Replace code with set_fortify_handler call.
37 * debug/test-strcpy_chk.c: Likewise.
38 * debug/tst-chk1.c: Likewise.
39 * debug/tst-longjmp_chk.c: Likewise.
40 * test-skeleton.c: Include fcntl.h & paths.h
41 (set_fortify_handler): Define.
42
43 2014-02-08 Mike Frysinger <vapier@gentoo.org>
44
45 * debug/tst-longjmp_chk.c: Add header comment and include
46 ../test-skeleton.c.
47 (do_test): Mark static.
48 (TEST_FUNCTION): Define.
49
50 2014-02-08 Mike Frysinger <vapier@gentoo.org>
51
52 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53 (IP_PMTUDISC_INTERFACE): Likewise.
54 (IP_MULTICAST_IF): Likewise.
55 (IP_MULTICAST_TTL): Likewise.
56 (IP_MULTICAST_LOOP): Likewise.
57 (IP_ADD_MEMBERSHIP): Likewise.
58 (IP_DROP_MEMBERSHIP): Likewise.
59 (IP_UNBLOCK_SOURCE): Likewise.
60 (IP_BLOCK_SOURCE): Likewise.
61 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
62 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
63 (IP_MSFILTER): Likewise.
64 (MCAST_JOIN_GROUP): Likewise.
65 (MCAST_BLOCK_SOURCE): Likewise.
66 (MCAST_UNBLOCK_SOURCE): Likewise.
67 (MCAST_LEAVE_GROUP): Likewise.
68 (MCAST_JOIN_SOURCE_GROUP): Likewise.
69 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
70 (MCAST_MSFILTER): Likewise.
71 (IP_MULTICAST_ALL): Likewise.
72 (IP_UNICAST_IF): Likewise.
73
74 2014-02-08 Mike Frysinger <vapier@gentoo.org>
75
76 * timezone/Makefile: Delete $(have-ksh) check.
77 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
78 * timezone/tzselect.ksh: Add +x mode bits.
79
80 2014-02-08 Mike Frysinger <vapier@gentoo.org>
81
82 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
83 (ANON_INODE_FS_MAGIC): Likewise.
84 (BDEVFS_MAGIC): Likewise.
85 (BINFMTFS_MAGIC): Likewise.
86 (BTRFS_TEST_MAGIC): Likewise.
87 (CRAMFS_MAGIC_WEND): Likewise.
88 (DEBUGFS_MAGIC): Likewise.
89 (ECRYPTFS_SUPER_MAGIC): Likewise.
90 (EXT3_SUPER_MAGIC): Likewise.
91 (EXT4_SUPER_MAGIC): Likewise.
92 (FUTEXFS_SUPER_MAGIC): Likewise.
93 (HOSTFS_SUPER_MAGIC): Likewise.
94 (HUGETLBFS_MAGIC): Likewise.
95 (MINIX3_SUPER_MAGIC): Likewise.
96 (MTD_INODE_FS_MAGIC): Likewise.
97 (NILFS_SUPER_MAGIC): Likewise.
98 (OPENPROM_SUPER_MAGIC): Likewise.
99 (PIPEFS_MAGIC): Likewise.
100 (PSTOREFS_MAGIC): Likewise.
101 (QNX6_SUPER_MAGIC): Likewise.
102 (RAMFS_MAGIC): Likewise.
103 (REISERFS_SUPER_MAGIC_STRING): Likewise.
104 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
105 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
106 (SECURITYFS_MAGIC): Likewise.
107 (SELINUX_MAGIC): Likewise.
108 (SMACK_MAGIC): Likewise.
109 (SOCKFS_MAGIC): Likewise.
110 (SQUASHFS_MAGIC): Likewise.
111 (STACK_END_MAGIC): Likewise.
112 (TMPFS_MAGIC): Likewise.
113 (USBDEVICE_SUPER_MAGIC): Likewise.
114 (V9FS_MAGIC): Likewise.
115 (XENFS_SUPER_MAGIC): Likewise.
116 (CRAMFS_MAGIC): Fix typo in comment.
117 (EXT2_SUPER_MAGIC): Update comment.
118 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
119
120 2014-02-08 Joseph Myers <joseph@codesourcery.com>
121
122 * sysdeps/arm: Move directory from ports/sysdeps/arm.
123 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
124 * sysdeps/unix/sysv/linux/arm: Move directory from
125 ports/sysdeps/unix/sysv/linux/arm.
126 * README: Update listing for arm-*-linux-gnueabi.
127
128 * README: Remove mention of am33.
129
130 2014-02-07 Roland McGrath <roland@hack.frob.com>
131
132 * bits/sigset.h (__sigemptyset): Use a statement expression rather
133 than the comma operator, to avoid "rhs of comma has no effect"
134 compiler warnings.
135 (__sigfillset, __sigandset, __sigorset): Likewise.
136 * include/signal.h (__sigemptyset): Likewise.
137 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
138
139 2014-02-07 Allan McRae <allan@archlinux.org>
140
141 * version.h (RELEASE): Set to "development".
142 (VERSION): Set to "2.19.90"
143 * NEWS: Add 2.20 section.
144
145 2014-02-06 Carlos O'Donell <carlos@redhat.com>
146
147 [BZ #16529]
148 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
149
150 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
151
152 * manual/contrib.texi: Update entry for Carlos O'Donell,
153 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
154
155 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
156
157 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
158
159 * sysdeps/unix/sysv/linux/kernel-features.h
160 [__LINUX_KERNEL_VERSION >= 0x020621]
161 (__ASSUME_PROC_PID_TASK_COMM): Define.
162
163 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
164
165 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
166 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
167 Leonard and Allan McRae.
168
169 2014-02-04 David S. Miller <davem@davemloft.net>
170
171 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
172 32-bit.
173
174 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
177 file
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
179 New file
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
181 file.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
183 file.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
185 New file.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
187 file.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
189 file.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
191 New file.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
193 New file.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
195 New file.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
197 New file.
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
199 New file.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
201 New file.
202
203 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204
205 * nptl/shlib-versions: Change powerpc*le start to 2.17.
206 * shlib-versions: Likewise.
207
208 2014-02-04 Roland McGrath <roland@hack.frob.com>
209 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210
211 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
212 (abilist-pattern): New variable, set to %-le.abilist.
213
214 * Makerules (abilist-pattern): New variable.
215 (vpath): Use $(abilist-pattern) in place of %.abilist.
216 (check-abi-% pattern rule): Likewise.
217 (check-abi, update-abi): Likewise.
218
219 2014-02-04 Eric Wong <normalperson@yhbt.net>
220
221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
222
223 2014-02-04 Eric Wong <normalperson@yhbt.net>
224
225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
226
227 2014-02-03 Carlos O'Donell <carlos@redhat.com>
228
229 * manual/startup.texi: Add next, previous, and top entries for
230 the `Program Arguments' and `Environment Variables' nodes.
231
232 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
233
234 * manual/macros.texi: Add comments before MTASC-safety macros.
235
236 * manual/users.texi: Document MTASC-safety properties.
237
238 * manual/threads.texi (pthread_key_create, pthread_key_delete,
239 pthread_getspecific, pthread_setspecific): Format with
240 @deftypefun, and add @safety note.
241 * manual/signal.texi: Move comments that analyze the above
242 functions to their home place.
243
244 2014-02-03 Allan McRae <allan@archlinux.org>
245
246 * po/sl.po: Update Slovenian translation from translation project.
247
248 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
249
250 * manual/time.texi (timegm): Add missing blank after @c.
251 Reported by Joseph Myers <joseph@codesourcery.com>.
252
253 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
254
255 * manual/check-safety.sh: New.
256 * manual/Makefile ($(objpfx)stamp-summary): Run it.
257
258 * manual/terminal.texi: Document MTASC-safety properties.
259
260 * manual/filesys.texi: Document MTASC-safety properties.
261
262 * manual/errno.texi: Document MTASC-safety properties.
263
264 * manual/intro.texi: Document safety identifiers and
265 conditionals.
266
267 * manual/string.texi (wcstok): Fix prototype.
268 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
269
270 * manual/time.texi: Document MTASC-safety properties.
271
272 * manual/string.texi: Document MTASC-safety properties.
273
274 * manual/threads.texi: Document MTASC-safety properties.
275
276 * manual/stdio.texi: Document MTASC-safety properties.
277
278 * manual/syslog.texi: Document MTASC-safety properties.
279
280 * manual/sysinfo.texi: Document MTASC-safety properties.
281
282 * manual/startup.texi: Document MTASC-safety properties.
283
284 * manual/socket.texi: Document MTASC-safety properties.
285
286 * manual/signal.texi: Document MTASC-safety properties.
287
288 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
289
290 * manual/setjmp.texi: Document MTASC-safety properties.
291
292 * manual/search.texi: Document MTASC-safety properties.
293
294 * manual/resource.texi: Document MTASC-safety properties.
295
296 * manual/process.texi: Document MTASC-safety properties.
297
298 * manual/platform.texi: Document MTASC-safety properties.
299
300 * manual/pipe.texi: Document MTASC-safety properties.
301
302 * manual/pattern.texi: Document MTASC-safety properties.
303
304 * manual/message.texi: Document MTASC-safety properties.
305
306 [BZ #12751]
307 * manual/memory.texi: Document MTASC-safety properties.
308
309 * manual/math.texi: Document MTASC-safety properties.
310
311 * manual/locale.texi: Document MTASC-safety properties.
312
313 * manual/llio.texi: Document MTASC-safety properties.
314
315 * manual/libdl.texi: New.
316
317 * manual/lang.texi: Document MTASC-safety properties.
318
319 * manual/job.texi: Document MTASC-safety properties.
320
321 * manual/getopt.texi: Document MTASC-safety properties.
322
323 * manual/ctype.texi: Document MTASC-safety properties.
324
325 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
326
327 [BZ #16046]
328 * csu/libc-tls.c (static_map): Remove variable.
329 (__libc_setup_tls): Use main executable's link map for TLS data.
330 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
331 casing for LM_ID_BASE and GL(dl_nns).
332 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
333 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
334 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
335 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
336 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
337 member.
338 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
339 l_phnum members.
340
341 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
342
343 * manual/debug.texi: Document MTASC-safety properties.
344
345 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
346
347 [BZ #16510]
348 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
349 of __x86_64__ when disabling x87 inline functions.
350
351 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
352
353 * manual/charset.texi: Document MTASC-safety properties.
354
355 * manual/crypt.texi: Document MTASC-safety properties.
356
357 * manual/conf.texi: Document MTASC-safety properties.
358
359 * manual/arith.texi: Document MTASC-safety properties.
360
361 * manual/argp.texi: Document MTASC-safety properties.
362
363 * manual/macros.texi: Introduce macros to document multi
364 thread, asynchronous signal and asynchronous cancellation
365 safety properties.
366 * manual/intro.texi: Introduce the properties themselves.
367
368 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
369
370 * sysdeps/sh/sh4/Makefile: New file.
371
372 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
373
374 * math/gen-libm-test.pl ($srcdir): New variable.
375 ($auto_input): Use it.
376
377 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 [BZ #16506]
380 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
381 access beyond array bounds when parsing netgroups file.
382
383 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
384 the old buffer before realloc.
385
386 2014-01-27 Allan McRae <allan@archlinux.org>
387
388 * po/fr.po: Update French translation from translation project.
389
390 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
391
392 * sysdeps/sh/libm-test-ulps: Regenerate.
393
394 2014-01-24 David S. Miller <davem@davemloft.net>
395
396 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
397
398 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
399
400 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
401 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
402
403 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
404
405 [BZ #16474]
406 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
407 string pointers after reallocation.
408
409 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
410
411 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
412 __SH4A__ instead of __SH_FPU_ANY__.
413
414 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
415
416 * sysdeps/sh/fpu_control.h: New file.
417 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
418 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
419 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
420 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
421 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
422 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
423 * sysdeps/sh/sys/ucontext.h: Remove.
424 * sysdeps/sh/sys: Remove directory.
425
426 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
427
428 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
429 s390/sys/ucontext.h.
430 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
431 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
432
433 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
434
435 [BZ #15605]
436 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
437
438 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439
440 [BZ#16431]
441 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
442 Adjust the vDSO correctly for internal calls.
443 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
444
445 2014-01-20 Allan McRae <allan@archlinux.org>
446
447 * po/ca.po: Update Catalan translation from translation project.
448
449 2014-01-16 Mike Frysinger <vapier@gentoo.org>
450
451 * sysdeps/s390/sotruss-lib.c: New file.
452
453 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
454
455 [BZ#16430]
456 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
457 (__GI___gettimeofday): Alias for a different internal symbol to avoid
458 local calls issues by not having a PLT stub required for IFUNC calls.
459 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
460
461 2014-01-16 Joseph Myers <joseph@codesourcery.com>
462
463 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
464 * math/test-fpucw-static.c: Likewise.
465
466 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
467
468 [BZ #16453]
469 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
470
471 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
472
473 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
474 implementation for powerpc.
475
476 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
477
478 [BZ #14782]
479 * sysdeps/posix/system.c (__libc_system): Do not enable
480 asynchronous cancellation.
481
482 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
483
484 [BZ #16427]
485 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
486 handling only for numbers special also in the IEEE case.
487
488 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
489
490 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
491
492 2014-01-11 Allan McRae <allan@archlinux.org>
493
494 * po/bg.po: Update Bulgarian translation from translation project.
495
496 * po/de.po: Update German translation from translation project.
497
498 2014-01-10 Roland McGrath <roland@hack.frob.com>
499
500 * sysdeps/generic/gcc-compat.h: New file.
501
502 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
503
504 * benchtests/asin-inputs: Correct slow inputs.
505 * benchtests/acos-inputs: Likewise.
506
507 2014-01-10 Allan McRae <allan@archlinux.org>
508
509 * po:sv.po: Update Swedish translation from translation project.
510
511 * po/vi.po: Update Vietnamese translation from translation project.
512
513 * po/eo.po: Update Esperanto translation from translation project.
514
515 * po/cs.po: Update Czech translation from translation project.
516
517 * po/nl.po: Update Dutch translation from translation project.
518
519 * po/pl.po: Update Polish translation from translation project.
520
521 * po/ru.po: Update Russian translation from translation project.
522
523 * po/uk.po: Update Ukrainian translation from translation project.
524
525 2014-01-08 Brooks Moses <bmoses@google.com>
526
527 * elf/dl-load.c: Fix comment typo.
528
529 2014-01-08 Carlos O'Donell <carlos@redhat.com>
530
531 * po/header.pot: Rename to...
532 * po/pot.header: ... this.
533 * po/Makefile: Use pot.header.
534
535 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
536 Maxim Kuvyrkov <maxim@kugelworks.com>
537
538 [BZ #16394]
539 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
540 SRC and DEST against LEN.
541
542 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
543
544 [BZ #16414]
545 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
546 implementation.
547 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
548
549 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
550
551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
552
553 2014-01-08 Joseph Myers <joseph@codesourcery.com>
554
555 [BZ #16408]
556 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
557 for large positive arguments.
558
559 2014-01-07 Joseph Myers <joseph@codesourcery.com>
560
561 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
562
563 * math/auto-libm-test-in: Mark various tests with
564 xfail-rounding:ldbl-128ibm.
565 * math/auto-libm-test-out: Regenerated.
566
567 [BZ #16407]
568 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
569 Increase overflow threshold.
570
571 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
572
573 [BZ #14286]
574 * stdio-common/vfprintf.c: Check for integer overflow.
575
576 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
577
578 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
579 the first argument and return value of __tls_get_addr_internal.
580
581 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
582
583 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
584 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
585
586 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
587
588 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
589 * sysdeps/s390/rtld-global-offsets.sym: New file.
590 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
591 GLIBC_2.19 symbol.
592 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
593 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
594 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
595 ... this.
596 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
597 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
598 ... this.
599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
600 Regenerate.
601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
602 Regenerate.
603 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
604 halfs of GPRs for high_gprs contexts.
605 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
606 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
607 field.
608 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
609 uc_flags field.
610 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
611 64 bit versions:
612 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
613 for high GPRs (uc_high_gprs) and for future extensions
614 (__reserved).
615 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
616 for future extensions (__reserved).
617 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
618 64 bit versions:
619 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
620 SC_HIGHGPRS offset definition.
621 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
622 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
623
624 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
625
626 * Versions.def: Add GLIBC_2.19 for libpthread.
627 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
628 siglongjmp for libpthread with GLIBC_2.19 symver.
629 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
630 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
631 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
632 * sysdeps/s390/__longjmp.c: New file.
633 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
634 * sysdeps/s390/longjmp.c: New file.
635 * sysdeps/s390/setjmp.S: New file.
636 * sysdeps/s390/sigjmp.S: New file.
637 * sysdeps/s390/v1-longjmp.c: New file.
638 * sysdeps/s390/v1-setjmp.h: New file.
639 * sysdeps/s390/v1-sigjmp.c: New file.
640 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
641 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
642 GLIBC_2.19 version.
643 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
644 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
645 versioned symbols for ____longjmp_chk.
646 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
647 Likewise.
648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
649 Regenerate.
650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
651 Regenerate.
652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
653 Regenerate.
654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
655 Regenerate.
656 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
657 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
658 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
659 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
660 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
661 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
662 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
663 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
664 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
665 * sysdeps/s390/rtld-__longjmp.c: New file.
666 * sysdeps/s390/rtld-setjmp.S: New file.
667
668 2014-01-06 Joseph Myers <joseph@codesourcery.com>
669
670 [BZ #16400]
671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
672 Return -__logl (x) for small positive arguments without evaluating
673 a polynomial.
674
675 2014-01-06 Mike Frysinger <vapier@gentoo.org>
676
677 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
678 Rename to ...
679 (__ptrace_peeksiginfo_args): ... this.
680 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
681 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
682 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
683
684 2014-01-06 Allan McRae <allan@archlinux.org>
685
686 * inet/netinet/in.h: Fix typo in comment.
687
688 2014-01-05 Andreas Jaeger <aj@suse.de>
689
690 * sysdeps/i386/fpu/libm-test-ulps: Update.
691
692 2014-01-05 Allan McRae <allan@archlinux.org>
693
694 * po/libc.pot: Regenerated.
695
696 * malloc/memusagestat.c: Fix gettext call formatting.
697
698 2014-01-04 Sami Kerola <kerolasa@iki.fi>
699
700 * nscd/nscd.c: Improve usage() output.
701
702 2014-01-04 Mike Frysinger <vapier@gentoo.org>
703
704 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
705 * sysdeps/unix/sysv/linux/configure: Regenerated.
706 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
707 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
708
709 2014-01-03 Joseph Myers <joseph@codesourcery.com>
710
711 [BZ #16390]
712 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
713 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
714
715 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
716
717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
718 extra tokens at end of #undef directive.
719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
720 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
721 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
722
723 2014-01-03 Joseph Myers <joseph@codesourcery.com>
724
725 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
726
727 * math/auto-libm-test-in: Mark various tests with
728 xfail-rounding:ldbl-128ibm.
729 * math/auto-libm-test-out: Regenerated.
730
731 2014-01-02 Joseph Myers <joseph@codesourcery.com>
732
733 [BZ #16386]
734 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
735 numbers with subnormal high part when calculating exponent.
736
737 [BZ #16385]
738 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
739 fabs.
740
741 [BZ #16384]
742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
743 M_LN2l.
744 (__ieee754_acoshl): Use __log1pl not __log1p.
745
746 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
747
748 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
749 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
750 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
751 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
752 Convert to GNU style.
753 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
754 mem2mem_check, mem2chunk_check, top_check, realloc_check,
755 memalign_check, __malloc_set_state): Likewise.
756 * malloc/mallocbug.c (main): Likewise.
757 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
758 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
759 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
760 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
761 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
762 * malloc/malloc.h: Likewise.
763 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
764 memalignhook, reallochook, mabort): Likewise.
765 * malloc/mcheck.h: Likewise.
766 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
767 mmap64, mremap, munmap, dest): Likewise.
768 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
769 * malloc/morecore.c (__default_morecore): Likewise.
770 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
771 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
772 _obstack_allocated_p, obstack_free, _obstack_memory_used,
773 print_and_abort): Likewise.
774 * malloc/obstack.h: Likewise.
775 * malloc/set-freeres.c (__libc_freeres): Likewise.
776 * malloc/tst-mallocstate.c (main): Likewise.
777 * malloc/tst-mtrace.c (main): Likewise.
778 * malloc/tst-realloc.c (do_test): Likewise.
779
780 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
781
782 [BZ #16366]
783 * nscd/netgroupcache.c (do_notfound): New function.
784 (addgetnetgrentX): Use it.
785
786 [BZ # 16365]
787 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
788 NSS_STATUS_NOTFOUND.
789
790 2014-01-01 Joseph Myers <joseph@codesourcery.com>
791
792 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
794
795 2014-01-01 Allan McRae <allan@archlinux.org>
796
797 * scripts/update-copyrights: Update configure input file suffix.
798
799 * NEWS: Update copyright year.
800 * catgets/gencat.c: Likewise.
801 * csu/version.c: Likewise.
802 * debug/catchsegv.sh: Likewise.
803 * debug/pcprofiledump.c: Likewise.
804 * debug/xtrace.sh: Likewise.
805 * elf/ldconfig.c: Likewise.
806 * elf/ldd.bash.in: Likewise.
807 * elf/pldd.c: Likewise.
808 * elf/sotruss.ksh: Likewise.
809 * elf/sprof.c: Likewise.
810 * iconv/iconv_prog.c: Likewise.
811 * iconv/iconvconfig.c: Likewise.
812 * locale/programs/locale.c: Likewise.
813 * locale/programs/localedef.c: Likewise.
814 * login/programs/pt_chown.c: Likewise.
815 * malloc/memusage.sh: Likewise.
816 * malloc/memusagestat.c: Likewise.
817 * malloc/mtrace.pl: Likewise.
818 * manual/libc.texinfo: Likewise.
819 * nscd/nscd.c: Likewise.
820 * nss/getent.c: Likewise.
821 * nss/makedb.c: Likewise.
822 * posix/getconf.c: Likewise.
823 * scripts/test-installation.pl: Likewise.
824
825 * All files with FSF copyright notices: Update copyright dates
826 using scripts/update-copyrights.
827 * intl/plural.c: Regenerated.
828 * locale/programs/charmap-kw.h: Likewise.
829 * locale/programs/locfile-kw.h: Likewise.
830
831 2013-12-31 Mike Frysinger <vapier@gentoo.org>
832
833 * sysdeps/unix/sysv/linux/configure: Regenerated.
834 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
835 the linux/fanotify.h header.
836 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
837 HAVE_LINUX_FANOTIFY_H is defined.
838
839 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
840
841 * benchtests/cos-inputs: New inputs.
842 * benchtests/sin-inputs: Likewise.
843
844 * benchtests/atan-inputs: New inputs. Fix name of multiple
845 precision fallback inputs.
846
847 * benchtests/atanh-inputs: New inputs.
848 * benchtests/tanh-inputs: Likewise.
849
850 * benchtests/acosh-inputs: New inputs.
851 * benchtests/asinh-inputs: Likewise.
852
853 * benchtests/cosh-inputs: New inputs.
854 * benchtests/sinh-inputs: Likewise.
855
856 * benchtests/acos-inputs: Add more inputs.
857 * benchtests/asin-inputs: Likewise.
858
859 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
860
861 [BZ #16375]
862 * manual/arith.texi: Fix spelling.
863 * manual/charset.texi: Likewise.
864 * manual/errno.texi: Likewise.
865 * manual/filesys.texi: Likewise.
866 * manual/lang.texi: Likewise.
867 * manual/llio.texi: Likewise.
868 * manual/locale.texi: Likewise.
869 * manual/message.texi: Likewise.
870 * manual/resource.texi: Likewise.
871 * manual/search.texi: Likewise.
872 * manual/setjmp.texi: Likewise.
873 * manual/stdio.texi: Likewise.
874 * manual/string.texi: Likewise.
875 * manual/sysinfo.texi: Likewise.
876 * manual/time.texi: Likewise.
877
878 2013-12-27 Carlos O'Donell <carlos@redhat.com>
879
880 * po/sl.po: New file.
881
882 2013-12-27 Mike Frysinger <vapier@gentoo.org>
883
884 * .gitignore: Add core/.gdbinit/.gdb_history.
885
886 2013-12-27 Allan McRae <allan@archlinux.org>
887
888 [BZ #16369]
889 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
890 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
891
892 2013-12-24 Brooks Moses <bmoses@google.com>
893
894 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
895 all compilers that claim C++98 compliance, not just GCC.
896 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
897 Likewise.
898
899 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
900
901 * NEWS: Restore accidentally deleted bug-fix entries.
902
903 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
904 Ondřej Bílka <neleai@seznam.cz>
905
906 [BZ #15073]
907 * malloc/malloc.c (_int_free): Perform sanity check only if we
908 have_lock.
909
910 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
911
912 [BZ #12986]
913 * manual/stdio.texi (String Input Conversions): Clarify that character
914 classes are not supported.
915
916 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917
918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
919
920 2013-12-22 Joseph Myers <joseph@codesourcery.com>
921
922 [BZ #16337]
923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
924 Calculate results for small negative arguments directly rather
925 than using reflection formula with special underflow handling.
926
927 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
928 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
929 sysdeps/unix/bsd/bsd4.4/syscalls.list.
930 (fchflags): Likewise.
931 (revoke): Likewise.
932 (setlogin): Likewise.
933 (sigaltstack): Likewise.
934 (wait4): Likewise.
935 (sigblock): Remove.
936 (sigsetmask): Likewise.
937 (wait3): Likewise.
938 (waitpid): Likewise.
939 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
940 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
941 file.
942 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
943 * sysdeps/unix/bsd/Makefile: ... here.
944 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
945 * sysdeps/unix/bsd/Versions: ... here.
946 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
947 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
948 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
949 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
950 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
951 * sysdeps/unix/bsd/sigblock.c: ... here.
952 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
953 * sysdeps/unix/bsd/sigsetmask.c: ... here.
954 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
955 * sysdeps/unix/bsd/sigvec.c: ... here.
956 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
957 * sysdeps/unix/bsd/tcdrain.c: ... here.
958 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
959 * sysdeps/unix/bsd/tcgetattr.c: ... here.
960 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
961 * sysdeps/unix/bsd/tcsetattr.c: ... here.
962 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
963 * sysdeps/unix/bsd/wait.c: ... here.
964 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
965 * sysdeps/unix/bsd/wait3.c: ... here.
966 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
967 * sysdeps/unix/bsd/waitpid.c: ... here.
968
969 2013-12-21 Joseph Myers <joseph@codesourcery.com>
970
971 [BZ #16356]
972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
973 round-to-nearest for [!USE_AS_EXPM1L].
974 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
975 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
976 more tests of exp and exp10. Expect some exp10 tests to miss
977 exceptions or fail in directed rounding modes.
978 * math/auto-libm-test-out: Regenerated.
979 * math/libm-test.inc (exp10_tonearest_test_data): New array.
980 (exp10_test_tonearest): New function.
981 (exp10_towardzero_test_data): New array.
982 (exp10_test_towardzero): New function.
983 (exp10_downward_test_data): New array.
984 (exp10_test_downward): New function.
985 (exp10_upward_test_data): New array.
986 (exp10_test_upward): New function.
987 (main): Call the new functions.
988 * sysdeps/i386/fpu/libm-test-ulps: Update.
989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
990
991 2013-12-20 Joseph Myers <joseph@codesourcery.com>
992
993 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
994 asinh, atan, atan2, atanh, cbrt, cos and cosh.
995 * math/auto-libm-test-out: Regenerated.
996 * math/libm-test.inc (acosh_test_data): Add more tests.
997 (atanh_test_data): Likewise.
998 (ceil_test_data): Likewise.
999 (copysign_test_data): Likewise.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1002
1003 * timezone/checktab.awk: Update from tzcode 2013i.
1004 * timezone/private.h: Likewise.
1005 * timezone/scheck.c: Likewise.
1006 * timezone/tzfile.h: Likewise.
1007 * timezone/tzselect.ksh: Likewise.
1008 * timezone/zdump.c: Likewise.
1009 * timezone/zic.c: Likewise.
1010
1011 * math/auto-libm-test-in: Add tests of cpow.
1012 * math/auto-libm-test-out: Regenerated.
1013 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1014 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1015 mpc_cc_c.
1016 (func_calc_desc): Add mpc_cc_c union field.
1017 (test_functions): Add cpow.
1018 (special_fill_2pi): New function.
1019 (special_real_inputs): Add 2pi.
1020 (calc_generic_results): Handle mpc_cc_c.
1021 * sysdeps/i386/fpu/libm-test-ulps: Update.
1022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1023
1024 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1025 csqrt, ctan and ctanh.
1026 * math/auto-libm-test-out: Regenerated.
1027 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1028 (TEST_COND_x86): Likewise.
1029 (ccos_test_data): Use AUTO_TESTS_c_c.
1030 (ccosh_test_data): Likewise.
1031 (cexp_test_data): Likewise.
1032 (clog_test_data): Likewise.
1033 (csqrt_test_data): Likewise.
1034 (ctan_test_data): Likewise.
1035 (ctan_tonearest_test_data): Likewise.
1036 (ctan_towardzero_test_data): Likewise.
1037 (ctan_downward_test_data): Likewise.
1038 (ctan_upward_test_data): Likewise.
1039 (ctanh_test_data): Likewise.
1040 (ctanh_tonearest_test_data): Likewise.
1041 (ctanh_towardzero_test_data): Likewise.
1042 (ctanh_downward_test_data): Likewise.
1043 (ctanh_upward_test_data): Likewise.
1044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1045 mpc_c_c.
1046 (func_calc_desc): Add mpc_c_c union field.
1047 (FUNC_mpc_c_c): New macro.
1048 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1049 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1050 ctanh.
1051 (special_fill_min_subnorm_p120): New function.
1052 (special_real_inputs): Add min_subnorm_p120.
1053 (calc_generic_results): Handle mpc_c_c.
1054 * sysdeps/i386/fpu/libm-test-ulps: Update.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1056
1057 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1058
1059 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1060 do_sin_slow): New functions.
1061 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1062 cslow2, csloww1, csloww2): Use the new functions.
1063
1064 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1065 Use M to change sign of result instead of X. Assume X is
1066 positive.
1067 (csloww1): Likewise.
1068 (__sin): Adjust.
1069 (__cos): Adjust.
1070
1071 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1072 arguments A and DA.
1073 (__sin): Adjust.
1074 (__cos): Likewise.
1075
1076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1077 (__cos): Likewise.
1078 (sloww1): Don't adjust sign of DX.
1079 (csloww1): Likewise.
1080 (sloww2): Use X directly and don't adjust sign of DX.
1081 (csloww2): Likewise.
1082
1083 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1084
1085 * math/auto-libm-test-in: Add tests of cabs and carg.
1086 * math/auto-libm-test-out: Regenerated.
1087 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1088 (carg_test_data): Likewise.
1089 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1090 mpc_c_f.
1091 (func_calc_desc): Add mpc_c_f union field.
1092 (test_functions): Add cabs and carg.
1093 (calc_generic_results): Handle mpc_c_f.
1094
1095 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1096 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1097 as a macro and a compat symbol.
1098 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1099 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1100 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1101 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1102 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1103 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1104 not use .hidden.
1105 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1106 Likewise.
1107 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1108 Likewise.
1109 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1110 Likewise.
1111 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1112 Likewise.
1113 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1114 Likewise.
1115 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1116 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1117 from GLIBC_2.3.2.
1118
1119 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1122
1123 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1124
1125 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1126 trailing whitespace removed.
1127 * scripts/config.guess: Update to version 2013-11-29.
1128 * scripts/config.sub: Update to version 2013-10-01.
1129
1130 * math/auto-libm-test-in: Add tests of sincos.
1131 * math/auto-libm-test-out: Regenerated.
1132 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1134 mpfr_f_11.
1135 (func_calc_desc): Add mpfr_f_11 union field.
1136 (test_functions): Add sincos.
1137 (calc_generic_results): Handle mpfr_f_11.
1138 * sysdeps/i386/fpu/libm-test-ulps: Update.
1139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1140
1141 2013-12-19 Andreas Schwab <schwab@suse.de>
1142
1143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1144 CALL_MCOUNT.
1145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1147 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1148
1149 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1150
1151 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1152 * sysdeps/i386/fpu/libm-test-ulps: Update.
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154
1155 [BZ #16293]
1156 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1157 round-to-nearest mode when using frndint.
1158 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1159 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1160 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1161 Likewise.
1162 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1163 sinh test to fail.
1164 * math/auto-libm-test-out: Regenerated.
1165 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1166 (TEST_COND_x86): Likewise.
1167 (expm1_tonearest_test_data): New array.
1168 (expm1_test_tonearest): New function.
1169 (expm1_towardzero_test_data): New array.
1170 (expm1_test_towardzero): New function.
1171 (expm1_downward_test_data): New array.
1172 (expm1_test_downward): New function.
1173 (expm1_upward_test_data): New array.
1174 (expm1_test_upward): New function.
1175 (main): Run the new test functions.
1176 * sysdeps/i386/fpu/libm-test-ulps: Update.
1177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1178
1179 * include/features.h: Update comment documenting feature test
1180 macros. Mention _DEFAULT_SOURCE in comment.
1181 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1182 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1183 _BSD_SOURCE and _SVID_SOURCE.
1184 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1185 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1186 !_SVID_SOURCE]: Likewise.
1187 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1188 (__USE_POSIX_IMPLICITLY): Define.
1189 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1190 (_POSIX_SOURCE): Undefine and redefine.
1191 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1192 (_POSIX_C_SOURCE): Likewise.
1193 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1194 (Feature Test Macros): Update documentation of default features.
1195
1196 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1197
1198 * benchtests/Makefile: Add bench-strtok.
1199 * benchtests/bench-strtok.c: New file: strtok benchtest.
1200
1201 2013-12-19 Allan McRae <allan@archlinux.org>
1202
1203 * manual/install.texi: Suppress menu for plain text output.
1204 * INSTALL: Regenerated.
1205
1206 2013-12-18 Brooks Moses <bmoses@google.com>
1207
1208 [BZ #15846]
1209 * misc/getauxval.c: Include errno.h.
1210 (__getauxval): Set errno to ENOENT if the requested type is not
1211 found.
1212 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1213 don't declare with __attribute_const__.
1214 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1215 * manual/startup.texi: Document that getauxval sets errno.
1216
1217 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1218
1219 * math/auto-libm-test-in: Add tests of jn and yn.
1220 * math/auto-libm-test-out: Regenerated.
1221 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1222 (yn_test_data): Likewise.
1223 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1224 mpfr_if_f.
1225 (func_calc_desc): Add mpfr_if_f union field.
1226 (FUNC_mpfr_if_f): New macro.
1227 (test_functions): Add jn and yn.
1228 (calc_generic_results): Assert type of second input for
1229 mpfr_ff_f. Handle mpfr_if_f.
1230 (output_for_one_input_case): Disable all checking for arguments
1231 fitting floating-point types in case of an integer argument.
1232 * sysdeps/i386/fpu/libm-test-ulps: Update.
1233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1234
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1236 Don't expect fegetround reference in libm.so.
1237
1238 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1239
1240 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1241 $(config-cflags-nofma).
1242
1243 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1244
1245 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1246 * math/auto-libm-test-out: Regenerated.
1247
1248 [BZ #16338]
1249 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1250 to determine exponent and adjust argument to have exponent of -1.
1251 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1252 log2.
1253 * math/auto-libm-test-out: Regenerated.
1254 * sysdeps/i386/fpu/libm-test-ulps: Update.
1255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1256
1257 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1258
1259 * manual/probes.texi: Remove cases when per-thread arenas are
1260 disabled.
1261
1262 2013-12-18 Andreas Schwab <schwab@suse.de>
1263
1264 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1265 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1266 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1267 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1268 * sysdeps/i386/i686/multiarch/Makefile: Update.
1269 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1270
1271 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1272
1273 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1274 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1275
1276 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 [BZ #15968]
1279 Support TZ transition times < 00:00:00.
1280 This is needed for version-3 tz-format files; it supports time
1281 stamps past 2037 for America/Godthab (the only entry in the tz
1282 database for which this change is relevant).
1283 * manual/time.texi (TZ Variable): Document transition times
1284 from -167:59:59 through -00:00:01.
1285 * time/tzset.c (tz_rule): Time of day is now signed.
1286 (__tzset_parse_tz): Parse negative time of day.
1287
1288 Document TZ transition times >= 25:00:00.
1289 * manual/time.texi (TZ Variable): Document transition times from
1290 25:00:00 through 167:59:59. These are already supported, and this
1291 support will help with version-3 tz-format files.
1292
1293 * manual/time.texi (TZ Variable): Modernize North America example
1294 to reflect current (i.e., 2007-and-later) daylight saving rules.
1295
1296 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1297
1298 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1299
1300 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1301 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1304 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1305 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1306 * sysdeps/unix/bsd/clock.c: Likewise.
1307 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1308 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1309 * sysdeps/unix/bsd/init-posix.c: Likewise.
1310 * sysdeps/unix/bsd/poll.c: Likewise.
1311 * sysdeps/unix/bsd/ptsname.c: Likewise.
1312 * sysdeps/unix/bsd/seekdir.c: Likewise.
1313 * sysdeps/unix/bsd/setegid.c: Likewise.
1314 * sysdeps/unix/bsd/seteuid.c: Likewise.
1315 * sysdeps/unix/bsd/setgid.c: Likewise.
1316 * sysdeps/unix/bsd/setrgid.c: Likewise.
1317 * sysdeps/unix/bsd/setruid.c: Likewise.
1318 * sysdeps/unix/bsd/setsid.c: Likewise.
1319 * sysdeps/unix/bsd/setuid.c: Likewise.
1320 * sysdeps/unix/bsd/sigaction.c: Likewise.
1321 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1322 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1323 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1324 * sysdeps/unix/bsd/telldir.c: Likewise.
1325 * sysdeps/unix/bsd/times.c: Likewise.
1326 * sysdeps/unix/bsd/usleep.c: Likewise.
1327
1328 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1329 ($(objpfx)libbsd-compat.a): Remove rule.
1330
1331 * include/features.h (__FAVOR_BSD): Do not define.
1332 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1333 features conflicting with POSIX.
1334 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1335 (_BSD_SOURCE): Remove description of not being a subset of other
1336 feature test macros.
1337 * manual/job.texi (getpgrp): Do not document BSD version.
1338 (getpgid): Do not document by reference to BSD getpgrp.
1339 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1340 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1341 * signal/signal.h [__FAVOR_BSD]: Likewise.
1342 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1343 instead of making contents conditional on [__FAVOR_BSD].
1344 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1345
1346 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1349
1350 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #16314]
1353 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1354 values below 2**-450, not 2**-500.
1355 * math/auto-libm-test-in: Don't allow spurious underflow from
1356 hypot.
1357 * math/auto-libm-test-out: Regenerated.
1358
1359 [BZ #16316]
1360 [BZ #16330]
1361 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1362 values of ha and hb and sort them after adjusting subnormal
1363 arguments.
1364 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1365 Likewise.
1366 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1367 values of ea and eb and sort them after adjusting subnormal
1368 arguments.
1369 * math/auto-libm-test-in: Do not expect some hypot tests of
1370 subnormals to fail. Add more hypot tests.
1371 * math/auto-libm-test-out: Regenerated.
1372
1373 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1374
1375 [BZ #13304]
1376 * sysdeps/sh/s_fma.c: New file.
1377 * sysdeps/sh/s_fmaf.c: New file.
1378 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1379 version.
1380 * sysdeps/sh/Implies: Add sh/soft-fp.
1381
1382 2013-12-16 Roland McGrath <roland@hack.frob.com>
1383
1384 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1385 level of indirection to members `objname', `errstring', `malloced'.
1386 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1387 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1388 it as the __longjmp argument (just pass 1 instead).
1389 (_dl_catch_error): Initialize C with argument pointers and address of
1390 volatile local ERRCODE rather than copying values out of C at return.
1391
1392 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1393
1394 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1395 * math/auto-libm-test-out: Regenerated.
1396 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1397 (hypot_test_data): Likewise.
1398 (pow_test_data): Likewise.
1399 (pow_tonearest_test_data): Likewise.
1400 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1401 mpfr_ff_f.
1402 (func_calc_desc): Add mpfr_ff_f union field.
1403 (FUNC_mpfr_ff_f): New macro.
1404 (test_functions): Add atan2, hypot and pow.
1405 (special_fill_min): New function.
1406 (special_fill_minus_min): Likewise.
1407 (special_fill_min_subnorm): Likewise.
1408 (special_fill_minus_min_subnorm): Likewise.
1409 (special_real_inputs): Add min, -min, min_subnorm and
1410 -min_subnorm.
1411 (calc_generic_results): Handle mpfr_ff_f.
1412 * sysdeps/i386/fpu/libm-test-ulps: Update.
1413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1414
1415 2013-12-16 Will Newton <will.newton@linaro.org>
1416
1417 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1418 (Aligned Memory Blocks): Add documentation for aligned_alloc
1419 and suggest it as an alternative to posix_memalign.
1420 (Hooks for Malloc): Document __memalign_hook is also called
1421 for aligned_alloc. (Summary of Malloc): Add summary for
1422 aligned alloc. Document __memalign_hook is also called
1423 for aligned_alloc.
1424
1425 2013-12-16 Will Newton <will.newton@linaro.org>
1426
1427 * manual/memory.texi (Malloc Examples): Clarify default
1428 alignment documentation. Suggest posix_memalign rather
1429 than memalign or valloc.
1430 (Aligned Memory Blocks): Remove suggestion to use memalign
1431 or valloc. Remove obsolete comment about BSD.
1432 Document memalign errno values and mark the function obsolete.
1433 Document posix_memalign returned error codes. Mark valloc
1434 as obsolete. (Hooks for Malloc): __memalign_hook is also
1435 called for posix_memalign and valloc.
1436 (Summary of Malloc): Add posix_memalign to function summary.
1437 __memalign_hook is also called for posix_memalign and valloc.
1438
1439 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1440
1441 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1442 TAYLOR_SIN.
1443 (__sin): Adjust.
1444 (__cos): Likewise.
1445 (sloww): Use mynumber union. Expand ternary operator into
1446 if-else statements.
1447 (cslow): use mynumber union.
1448
1449 2013-12-16 Allan McRae <allan@archlinux.org>
1450
1451 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1452 * configure: Regenerated.
1453
1454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1455
1456 [BZ #14120]
1457 * configure.ac: Added --enable-maintainer-mode. Check for
1458 autoconf when enabled.
1459 * configure: Regenerated.
1460
1461 * nscd/nscd.service: New file.
1462 * nscd/nscd.tmpfiles: New file.
1463
1464 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1465
1466 [BZ #12100]
1467 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1468 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1469 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1470 (strstr): Add __strstr_sse2_unaligned ifunc.
1471 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1472 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1473 (strcasestr): Remove __strcasestr_sse42 ifunc.
1474 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1477
1478 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1479
1480 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1481 * sysdeps/sh/bits/fenv.h: ... here.
1482 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1483
1484 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485
1486 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1487
1488 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1491 hypotf multiarch implementations.
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1494 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1495 multiarch hypot for PPC64.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1499 multiarch hypotf for PPC64.
1500
1501 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1502
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1504 modff multiarch implementations.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1508 multiarch modf for PPC64.
1509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1512 multiarch modff for PPC64.
1513
1514 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1517 and logl multiarch implementations.
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1521 multiarch logb for PPC64.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1525 multiarch logb for PPC64.
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1529 multiarch logb for PPC64.
1530
1531 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1534 isinff multiarch implementation.
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1536 file.
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1539 multiarch isinf for PPC64.
1540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1541 file.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1543 multiarch isinff for PPC64.
1544
1545 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1548 finitef multiarch implementation.
1549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1550 file.
1551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1553 multiarch finite for PPC64.
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1555 file.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1557 multiarch finitef for PPC64.
1558
1559 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1560
1561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1562 lrint multiarch implementation.
1563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1564 file.
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1567 multiarch llrint for PPC64.
1568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1569 multiarch lrint for PPC64.
1570
1571 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1572
1573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1574 copysignf multiarch implementation.
1575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1576 file.
1577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1578 file.
1579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1580 multiarch copysign for PPC64.
1581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1582 multiarch copysignf for PPC64.
1583
1584 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585
1586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1587 multiarch implementation.
1588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1589 file.
1590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1591 file.
1592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1593 file.
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1595 file.
1596 multiarch llround for PPC64.
1597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1598 multiarch trunc for PPC64.
1599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1600 multiarch truncf for PPC64.
1601
1602 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603
1604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1605 multiarch implementation.
1606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1607 file.
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1609 file.
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1611 file.
1612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1613 file.
1614 multiarch llround for PPC64.
1615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1616 multiarch round for PPC64.
1617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1618 multiarch roundf for PPC64.
1619
1620 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1623 multiarch implementation.
1624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1625 file.
1626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1627 file.
1628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1629 file.
1630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1631 file.
1632 multiarch llround for PPC64.
1633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1634 multiarch floor for PPC64.
1635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1636 multiarch floorf for PPC64.
1637
1638 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639
1640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1641 multiarch implementation.
1642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1643 file.
1644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1645 file.
1646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1647 file.
1648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1649 file.
1650 multiarch llround for PPC64.
1651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1652 multiarch ceil for PPC64.
1653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1654 multiarch ceilf for PPC64.
1655
1656 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657
1658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1659 multiarch implementation.
1660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1661 file.
1662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1663 file.
1664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1665 file.
1666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1667 multiarch llround for PPC64.
1668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1669 multiarch lround for PPC64.
1670
1671 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672
1673 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1674 multiarch implementation.
1675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1678 file.
1679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1682 multiarch isnan for PPC64.
1683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1684 multiarch isnanf for PPC64.
1685
1686 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
1688 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1689 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1690 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1691 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1692 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1694
1695 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696
1697 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1701
1702 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1705 multiarch implementations.
1706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1707 (__libc_ifunc_impl_list): Likewise.
1708 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1711 multiarch stpcpy for PPC64.
1712
1713 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714
1715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1716 multiarch implementations.
1717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1718 (__libc_ifunc_impl_list): Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1720 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1721 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1722 multiarch strcpy for PPC64.
1723
1724 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725
1726 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1727 redefine function name.
1728 (_wordcopy_fwd_dest_aligned): Likewise.
1729 (_wordcopy_bwd_aligned): Likewise.
1730 (_wordcopy_bwd_dest_aligned): Likewise.
1731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1732 multiarch implementations.
1733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1734 (__libc_ifunc_impl_list): Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1736 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1737 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1738 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1739 multiarch wcscpy for PPC64.
1740
1741 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1742
1743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1744 multiarch implementations.
1745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1746 (__libc_ifunc_impl_list): Likewise.
1747 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1748 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1751 multiarch wcscpy for PPC64.
1752
1753 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1756 multiarch implementations.
1757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1758 (__libc_ifunc_impl_list): Likewise.
1759 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1760 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1761 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1762 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1763 multiarch wcsrchr for PPC64.
1764
1765 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766
1767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1768 multiarch implementations.
1769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1770 (__libc_ifunc_impl_list): Likewise.
1771 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1772 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1773 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1774 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1775 multiarch wcschr for PPC64.
1776
1777 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778
1779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1780 multiarch implementations.
1781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1782 (__libc_ifunc_impl_list): Likewise.
1783 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1784 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1785 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1786 multiarch strchrnul for PPC64.
1787
1788 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789
1790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1791 implementations.
1792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1793 (__libc_ifunc_impl_list): Likewise.
1794 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1795 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1796 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1797 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1798 strchr for PPC64.
1799
1800 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801
1802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1803 implementations.
1804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1805 (__libc_ifunc_impl_list): Likewise.
1806 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1809 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1810 strncmp for PPC64.
1811
1812 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1813
1814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1815 multiarch implementations.
1816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1817 (__libc_ifunc_impl_list): Likewise.
1818 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1819 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1820 strncasecmp for PPC64.
1821 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1822 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1823 multiarch strncasecmp_l for PPC64.
1824
1825 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1826
1827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1828 multiarch implementations.
1829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1830 (__libc_ifunc_impl_list): Likewise.
1831 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1832 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1833 multiarch strcasecmp for PPC64.
1834 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1835 file.
1836 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1837 multiarch strcasecmp_l for PPC64.
1838
1839 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1840
1841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1842 implementations.
1843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1844 (__libc_ifunc_impl_list): Likewise.
1845 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1846 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1847 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1848 strnlen for PPC64.
1849
1850 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851
1852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1853 implementations.
1854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1855 (__libc_ifunc_impl_list): Likewise.
1856 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1857 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1858 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1859 strlen for PPC64.
1860
1861 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862
1863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1864 implementations.
1865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1866 (__libc_ifunc_impl_list): Likewise.
1867 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1868 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1869 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1870 rawmemrchr for PPC64.
1871
1872 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1873
1874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1875 implementation.
1876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1877 (__libc_ifunc_impl_list): Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1879 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1880 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1881 memrchr for PPC64.
1882
1883 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884
1885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1886 implementation.
1887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1888 (__libc_ifunc_impl_list): Likewise.
1889 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1890 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1891 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1892 memchr for PPC64.
1893
1894 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895
1896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1897 implementation.
1898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1899 (__libc_ifunc_impl_list): Likewise.
1900 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1901 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1902 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1903 mempcpy for PPC64.
1904
1905 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1906
1907 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1908 avoid cretion of __bzero symbol.
1909 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1910 Likewise.
1911 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1912 Likewise.
1913 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1914 Likewise.
1915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1916 multiarch implementations.
1917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1918 (__libc_ifunc_impl_list): Likewise.
1919 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1920 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1921 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1922 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1923 bzero for PPC32.
1924 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1925 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1926 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1927 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1928 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1929 memset for PPC64.
1930 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1931
1932 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933
1934 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1936 implementations.
1937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1938 (__libc_ifunc_impl_list): Likewise.
1939 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1940 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1941 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1942 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1943 memcmp for PPC64.
1944
1945 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1948 multiarch for POWER/PPC64.
1949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1950 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1955 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1957 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1958 memcpy for PPC64.
1959
1960 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1961
1962 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1963 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1964 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1965 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1966 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1967 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1968 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1969 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1970 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1971 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1972 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1973 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1974 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1975 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1976 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1984
1985 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1986
1987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1988
1989 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1990
1991 * benchtests/Makefile (bench): Add exp2 and log2.
1992 (LDLIBS-bench-exp2): Add -lm.
1993 (LDLIBS-bench-log2): Likewise.
1994 * benchtests/exp2-inputs: New inputs file.
1995 * benchtests/log2-inputs: New inputs file.
1996 * benchtests/log-inputs: Add new inputs.
1997 * benchtests/tan-inputs: Likewise.
1998
1999 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2000
2001 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2002 definition...
2003 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2004 csloww1, csloww2): ... from here.
2005
2006 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2007 instead of structures.
2008 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2009 (POLYNOMIAL): Likewise.
2010 (TAYLOR_SLOW): Likewise.
2011 (__sin): Likewise.
2012 (__cos): Likewise.
2013 (slow1): Likewise.
2014 (slow2): Likewise.
2015 (sloww): Likewise.
2016 (sloww1); Likewise.
2017 (sloww2): Likewise.
2018 (bsloww1): Likewise.
2019 (bsloww2): Likewise.
2020 (cslow2): Likewise.
2021 (csloww): Likewise.
2022 (csloww1): Likewise.
2023 (csloww2): Likewise.
2024
2025 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2026
2027 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2028 (__malloc_assert, __libc_realloc, __libc_calloc,
2029 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2030 memcpy and memset.
2031 * malloc/hooks.c (realloc_check): Likewise.
2032
2033 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2034
2035 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2036 * malloc/arena.c: Remove PER_THREAD conditional.
2037 [!PER_THREAD]: Remove code.
2038 (ptmalloc_unlock_all2): Likewise.
2039 (ptmalloc_init): Likewise.
2040 (_int_new_arena): Likewise.
2041 (arena_get2): Likewise.
2042 * malloc/hooks.c (__malloc_get_state): Likewise.
2043 (__malloc_set_state): Likewise.
2044 * malloc/malloc.c: Likewise.
2045 (struct malloc_state): Likewise.
2046 (struct malloc_par): Likewise.
2047 (__libc_realloc): Likewise.
2048 (__libc_mallopt): Likewise.
2049
2050 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051
2052 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2053
2054 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2055
2056 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2057 macro to a function. Check for zero perturb_byte.
2058 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2059
2060 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2061
2062 * malloc/malloc.c: (force_reg): Remove.
2063 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2064 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2065 force_reg by atomic_forced_read.
2066 * malloc/arena.c (ptmalloc_init): Likewise.
2067 * malloc/hooks.c (top_check): Likewise.
2068
2069 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070
2071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2072
2073 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2074
2075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2076
2077 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2078
2079 * math/auto-libm-test-in: Add tests of lgamma.
2080 * math/auto-libm-test-out: Regenerated.
2081 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2082 (M_LOG_2_SQRT_PIl): Likewise.
2083 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2084 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2085 mpfr_f_f1.
2086 (func_calc_desc): Add mpfr_f_f1 union field.
2087 (ARGS1): New macro.
2088 (ARGS2): Likewise.
2089 (ARGS3): Likewise.
2090 (ARGS4): Likewise.
2091 (RET1): Likewise.
2092 (RET2): Likewise.
2093 (CALC): Likewise.
2094 (FUNC): Likewise.
2095 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2096 (test_functions): Add lgamma.
2097 (calc_generic_results): Handle mpfr_f_f1.
2098 * sysdeps/i386/fpu/libm-test-ulps: Update.
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100
2101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2102
2103 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2104 __mpn_add_n for PowerPC64/POWER7.
2105 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2106 __mpn_sub_n for PowerPC64/POWER7.
2107
2108 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2109
2110 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2111 __mpn_addmul_1 for PowerPC64.
2112 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2113 __mpn_submul_1 for PowerPC64.
2114 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2115 for PowerPC64.
2116 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2117 for PowerPC64.
2118
2119 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2120
2121 [BZ #15089]
2122 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2123
2124 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125
2126 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2127
2128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2129
2130 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2131 add multiarch folders.
2132 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2133 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2134 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2135 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2136 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2137 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2138 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2139 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2140 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2141 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2142 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2149
2150 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2151
2152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2153 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2155 New file.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2157 New file.
2158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2159 multiarch __ieee754_hypot for PowerPC32.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2161 New file.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2163 New file.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2165 multiarch __ieee754_hypotf for PowerPC32.
2166
2167 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2168
2169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2170 long_double_symbol only if __logbl is defined.
2171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2172 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2174 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2176 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2178 path for implementation.
2179 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2182 logb, and logbl multiarch implementations for PowerPC32.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2184 file.
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2186 file.
2187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2188 multiarch logb for PowerPC32.
2189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2190 file.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2192 file.
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2194 multiarch logbf for PowerPC32.
2195 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2197 file.
2198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2199 multiarch logbl implementation for PowerPC32.
2200
2201 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2204 and modff multiarch implementations.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2206 New file.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2208 New file.
2209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2210 multiarch modf for PowerPC32.
2211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2212 New file.
2213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2214 New file.
2215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2216 multiarch modff for PowerPC32.
2217
2218 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2219
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2221 and lrintf multiarch implementations.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2223 New file.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2225 New file.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2227 multiarch lrint for PowerPC32.
2228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2229 file: multiarch lrintf for PowerPC32.
2230
2231 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2232
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2234 and lroundf multiarch implementations.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2236 New file.
2237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2238 New file.
2239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2240 New file.
2241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2242 multiarch lround for PowerPC32.
2243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2244 file: multiarch lroundf for PowerPC32.
2245
2246 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2247
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2249 copysign and copysignf multiarch implementations.
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2251 New file.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2253 New file.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2255 file: multiarch copysign for PowerPC32.
2256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2257 file: multiarch copysignf for PowerPC32.
2258
2259 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2260
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2262 and truncf multiarch implementations.
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2264 New file.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2266 file.
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2268 multiarch trunc for PowerPC32.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2270 New file.
2271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2272 New file.
2273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2274 multiarch truncf for PowerPC32.
2275
2276 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2279 and roundf multiarch implementations.
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2281 New file.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2283 file.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2285 multiarch round for PowerPC32.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2287 New file.
2288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2289 New file.
2290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2291 multiarch roundf for PowerPC32.
2292
2293 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2294
2295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2296 and floorf multiarch implementations.
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2298 New file.
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2300 file.
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2302 multiarch floor for PowerPC32.
2303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2304 New file.
2305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2306 New file.
2307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2308 multiarch floorf for PowerPC32.
2309
2310 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311
2312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2313 and ceilf multiarch implementations.
2314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2315 New file.
2316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2317 file.
2318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2319 multiarch ceil for PowerPC32.
2320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2321 New file.
2322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2323 file.
2324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2325 multiarch ceilf for PowerPC32.
2326
2327 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328
2329 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2330 is defined.
2331 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2332 FINITEF is defined.
2333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2334 and finitef multiarch implementations.
2335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2336 New file.
2337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2338 file.
2339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2340 multiarch finite for PowerPC32.
2341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2342 New file.
2343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2344 file: multiarch finitef for PowerPC32.
2345
2346 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347
2348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2349 and isinff multiarch implementations.
2350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2351 file.
2352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2353 file.
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2355 multiarch isinf for PowerPC32.
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2357 New file.
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2359 multiarch isinff for PowerPC32.
2360
2361 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2362
2363 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2364 alias when __isnan is defined.
2365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2366 and isnanf multiarch implementations.
2367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2368 file.
2369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2370 file.
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2372 file.
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2374 file.
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2376 multiarch isnan for PowerPC32.
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2378 New file.
2379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2380 New file.
2381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2382 multiarch isnanf for PowerPC32.
2383
2384 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385
2386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2387 and sqrtf multiarch implementations.
2388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2389 file.
2390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2391 file.
2392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2393 multiarch sqrt for PowerPC32.
2394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2395 file.
2396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2397 file.
2398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2399 multiarch sqrtf for PowerPC32.
2400
2401 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2402
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2404 and llroundf multiarch implementations.
2405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2406 New file.
2407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2408 New file.
2409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2410 New file.
2411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2412 file: multiarch llround for PowerPC32.
2413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2414 file: multiarch llroundf for PowerPC32.
2415
2416 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417
2418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2419 multiarch PowerPC32 fpu implementations.
2420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2421 New file.
2422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2423 New file.
2424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2425 multiarch llrint for PowerPC32.
2426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2427 New file.
2428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2429 New file.
2430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2431 file.
2432
2433 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2434
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2436
2437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2438
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2440 file.
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2442 file.
2443 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2444 file.
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2446 multiarch wordcopy for PPC32.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2448 wordcopy objects.
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2450 (__libc_ifunc_impl_list): Likewise.
2451 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2452 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2453 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2454 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2455 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2456 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2457
2458 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2459
2460 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2462 file.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2464 file.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2466 file.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2468 multiarch wcscpy for PPC32.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2470 multiarch objects.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2472 (__libc_ifunc_impl_list): Likewise.
2473 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2474 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2475 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2476 sysdeps/powerpc/power6/wcscpy.c.
2477
2478 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2479
2480 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2482 file.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2484 file.
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2486 file.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2488 multiarch wcsrchr for PPC32.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2490 multiarch objects.
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2492 (__libc_ifunc_impl_list): Likewise.
2493 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2494 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2495 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2496 sysdeps/powerpc/power6/wcsrchr.c.
2497
2498 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2501 file.
2502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2503 file.
2504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2506 multiarch wcschr for PPc32.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2508 multiarch objects.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2510 (__libc_ifunc_impl_list): Likewise.
2511 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2512 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2513 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2514 sysdeps/powerpc/power6/wcschr.c.
2515
2516 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2520 file.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2522 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2523 file: multiarch strchr for PPC32.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2525 multiarch objects.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2527 (__libc_ifunc_impl_list): Likewise.
2528
2529 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2530
2531 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2532 name.
2533 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2534 file.
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2536 file.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2538 multiarch strchrnul for PPC32.
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2540 multiarch objects.
2541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2542 (__libc_ifunc_impl_list): Likewise.
2543
2544 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2545
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2547 file.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2549 multiarch strncasecmp for PPC32.
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2551 file.
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2553 multiarch strncasecmp_l for PPC32.
2554 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2555 strncasecmp multiarch objects.
2556 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2557 (__libc_ifunc_impl_list): Likewise.
2558
2559 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2560
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2562 file.
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2564 multiarch strncasecmp for PPC32.
2565 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2566 New file.
2567 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2568 multiarch strcasecmp_l for PPC32.
2569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2570 multiarch objects.
2571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2572 (__libc_ifunc_impl_list): Likewise.
2573
2574 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2577 file.
2578 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2579 file.
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2581 multiarch strncmp for PPC32.
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2583 multiarch objects.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2585 (__libc_ifunc_impl_list): Likewise.
2586
2587 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2588
2589 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2590 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2591 file.
2592 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2595 multiarch objects.
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2597 (__libc_ifunc_impl_list): Likewise.
2598
2599 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2600
2601 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2602 file.
2603 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2604 file.
2605 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2607 multiarch objects.
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2609 (__libc_ifunc_impl_list): Likewise.
2610
2611 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2614 file.
2615 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2616 file.
2617 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2618 multiarch rawmemchr for PPC32.
2619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2620 multiarch objects.
2621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2622 (__libc_ifunc_impl_list): Likewise.
2623
2624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625
2626 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2627 file.
2628 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2629 file.
2630 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2631 file: memrchr multiarch for PPC32.
2632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2633 multiarch objects.
2634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2635 (__libc_ifunc_impl_list): Likewise.
2636
2637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2638
2639 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2640 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2641 file.
2642 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2643 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2644 multiarch memchr for PPC32.
2645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2646 multiarch objects.
2647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2648 (__libc_ifunc_impl_list): Likewise.
2649
2650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651
2652 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2653 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2654 file.
2655 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2656 file.
2657 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2658 file: multiarch mempcpy for PPC32.
2659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2660 multiarch objects.
2661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2662 (__libc_ifunc_impl_list): Likewise.
2663
2664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2665
2666 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2667 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2668 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2669 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2670 multiarch bzero for PPC32.
2671 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2672 file.
2673 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2674 file.
2675 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2676 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2677 file: multiarch memset for PPC32.
2678 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2680 memset multiarch objects.
2681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2682 (__libc_ifunc_impl_list): Likewise.
2683
2684 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2685
2686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2687 file.
2688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2689 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2690 memcmp for PPC32.
2691 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2693 multiarch objects.
2694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2695 (__libc_ifunc_impl_list): Likewise.
2696
2697 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2698
2699 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2701 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2702 file.
2703 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2704 file.
2705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2706 file.
2707 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2708 multiarch memcpy for PPC32.
2709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2710 multiarch objects.
2711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2712 (__libc_ifunc_impl_list): Likewise.
2713
2714 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715
2716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2717 support multiarch for POWER/PPC32.
2718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2719 Likewise.
2720 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2722 Implies file to make multiarch folder appers before the fpu and
2723 default folder for power4 configuration.
2724
2725 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2726
2727 * scripts/bench.pl: Append volatile keyword to type.
2728
2729 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2730
2731 * sysdeps/sh/sotruss-lib.c: New file.
2732 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2733
2734 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735
2736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2737
2738 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2739
2740 [BZ #6810]
2741 * math/w_tgamma.c: Include <errno.h>.
2742 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2743 * math/w_tgammaf.c: Include <errno.h>.
2744 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2745 * math/w_tgammal.c: Include <errno.h>.
2746 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2747 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2748 underflow. Add more tgamma tests.
2749 * math/auto-libm-test-out: Regenerated.
2750 * sysdeps/i386/fpu/libm-test-ulps: Update.
2751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2752
2753 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2754 sin, sinh, tan, tanh, tgamma, y0 and y1.
2755 * math/auto-libm-test-out: Regenerated.
2756 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2757 (TEST_COND_x86): Likewise.
2758 (M_E2l): Remove macro.
2759 (M_E3l): Likewise.
2760 (M_2_SQRT_PIl): Likewise.
2761 (M_SQRT_PIl): Likewise.
2762 (M_1_DIV_El): Likewise.
2763 (log_test_data): Use AUTO_TESTS_f_f.
2764 (log10_test_data): Likewise.
2765 (log1p_test_data): Likewise.
2766 (log2_test_data): Likewise.
2767 (sin_test_data): Likewise.
2768 (sin_tonearest_test_data): Likewise.
2769 (sin_towardzero_test_data): Likewise.
2770 (sin_downward_test_data): Likewise.
2771 (sin_upward_test_data): Likewise.
2772 (sinh_test_data): Likewise.
2773 (sinh_tonearest_test_data): Likewise.
2774 (sinh_towardzero_test_data): Likewise.
2775 (sinh_downward_test_data): Likewise.
2776 (sinh_upward_test_data): Likewise.
2777 (tan_test_data): Likewise.
2778 (tan_tonearest_test_data): Likewise.
2779 (tan_towardzero_test_data): Likewise.
2780 (tan_downward_test_data): Likewise.
2781 (tan_upward_test_data): Likewise.
2782 (tanh_test_data): Likewise.
2783 (tgamma_test_data): Likewise.
2784 (y0_test_data): Likewise.
2785 (y1_test_data): Likewise.
2786 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2787 (special_real_inputs): Add pi/4.
2788 * sysdeps/i386/fpu/libm-test-ulps: Update.
2789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2790
2791 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2792
2793 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2794 "longjmp_target" static probes.
2795 (__longjmp): Rename to __longjmp_symbol.
2796 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2797 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2798 on which longjmp to generate.
2799 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2800 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2801 probe.
2802 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2803 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2804 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2806 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2807 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2809 __longjmp_symbol based on which __longjmp to generate.
2810 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2811 probe.
2812 (setjmp): Rename to setjmp_symbol.
2813 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2814 (_setjmp): Rename to _setjmp_symbol.
2815 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2816 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2817 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2818 which setjmp to generate.
2819 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2820 "longjmp_target" static probes.
2821
2822 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2823
2824 * benchtests/README: Add note about output arguments.
2825 * benchtests/bench-sincos.c: Remove file.
2826 * benchtests/sincos-inputs: New file.
2827 * scripts/bench.pl: Identify output arguments and define
2828 static variables for them.
2829
2830 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2831
2832 [BZ #15941]
2833 * Makefile (INSTALL): Add install-plain.texi as the primary
2834 dependency.
2835 * manual/install-plain.texi: New file.
2836 * manual/install.texi: Include node directive only for
2837 non-plaintext output.
2838
2839 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2840
2841 * stdlib/longlong.h: Update from GCC.
2842
2843 [BZ #6807]
2844 [BZ #15901]
2845 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2846 * math/w_j0f.c (y0f): Likewise.
2847 * math/w_j0l.c (__y0l): Likewise.
2848 * math/w_j1.c (y1): Likewise.
2849 * math/w_j1f.c (y1f): Likewise.
2850 * math/w_j1l.c (__y1l): Likewise
2851 * math/w_jn.c (yn): Likewise.
2852 * math/w_jnf.c (ynf): Likewise.
2853 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2854 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2855 value for Bessel function domain errors outside _SVID_ mode.
2856 Adjust sign of return value for yn (negative integer, 0).
2857 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2858 by zero in return for negative x and set sign appropriately for
2859 negative n.
2860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2861 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2862 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2863 expectations in error cases.
2864 (y1_test_data): Likewise.
2865 (yn_test_data): Likewise.
2866 * sysdeps/i386/fpu/libm-test-ulps: Update.
2867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2868
2869 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2870
2871 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2872 "64" to "64-v1". Add "64-v2".
2873 (abi-64-options): Rename to ...
2874 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2875 (abi-64-condition): Rename to ...
2876 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2877 (abi-64-ld-soname): Rename to ...
2878 (abi-64-v1-ld-soname): ... this.
2879 (abi-64-v2-options): Define.
2880 (abi-64-v2-condition): Likewise.
2881 (abi-64-v2-ld-soname): Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2883 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2887
2888 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2889 Alan Modra <amodra@gmail.com>
2890
2891 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2892 New versions for use with the ELFv2 ABI.
2893 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2894 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2895 declaration.
2896 (struct La_ppc64v2_retval): Likewise.
2897 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2898 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2899 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2900 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2901 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2903 Do not save or restore CR.
2904 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2905 (_dl_profile_resolve): Do no save or restore CR. Support extended
2906 return values for ELFv2 ABI. Fix location of FPR return registers.
2907 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2908 updated values for _CALL_ELF == 2.
2909 (La_regs, La_retval, int_retval): Likewise.
2910
2911 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2912
2913 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2914 (FRAME_MIN_SIZE_PARM): Likewise.
2915 (FRAME_BACKCHAIN): Likewise.
2916 (FRAME_CR_SAVE): Likewise.
2917 (FRAME_LR_SAVE): Likewise.
2918 (FRAME_TOC_SAVE): Likewise.
2919 (FRAME_PARM_SAVE): Likewise.
2920 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2921 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2922 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2923 (call_mcount_parm_offset): New macro.
2924 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2925 (PROF): Use symbolic stack frame offsets.
2926 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2928 Redefine in terms of FRAME_MIN_SIZE.
2929 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2930 (_dl_profile_resolve): Likewise. Update comment.
2931 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2932 symbols stack frame offsets.
2933 (__sigsetjmp): Likewise.
2934 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2935 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2936 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2937 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2938
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2940 (FRAME_BACKCHAIN): Remove.
2941 (FRAME_CR_SAVE): Likewise.
2942 (FRAME_LR_SAVE): Likewise.
2943 (FRAME_COMPILER_DW): Likewise.
2944 (FRAME_LINKER_DW): Likewise.
2945 (FRAME_TOC_SAVE): Likewise.
2946 (FRAME_PARM_SAVE): Likewise.
2947 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2948 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2949 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2951 (CHECK_SP): Use symbolic stack frame offsets.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2953 zone" instead of caller's parameter save area for temp storage.
2954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2955 Likewise. Also, use symbolic stack frame offsets.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2957 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2958 our own stack frame instead of the caller's.
2959 (__socket): Use symbolic stack frame offsets.
2960
2961 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2962 Alan Modra <amodra@gmail.com>
2963
2964 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2965 Define.
2966 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2967 PPC64_LOCAL_ENTRY_OFFSET): Define.
2968 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2969 New function.
2970 (elf_machine_fixup_plt): Call it.
2971 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2972 reloc arguments.
2973 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2974 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2975 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2976 r2 before calling target.
2977
2978 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2979 Alan Modra <amodra@gmail.com>
2980
2981 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2982 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2983 versions of macros to support ELFv2 ABI.
2984 (LOCALENTRY): New macro.
2985 (ENTRY, EALIGN): Use it.
2986 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2987 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2988 fall through into ENTRY entry point.
2989 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2990 Only define if _CALL_ELF != 2.
2991
2992 (elf_machine_matches_host): Verify ABI version matches.
2993 (RTLD_START): Use LOCALENTRY.
2994 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2995 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2996 (PLT_ENTRY_WORDS): New macro.
2997 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2998 (elf_machine_runtime_setup): Support ELFv2 ABI.
2999 (elf_machine_fixup_plt): Likewise.
3000 (elf_machine_plt_conflict): Likewise.
3001 (resolve_ifunc): Likewise.
3002 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3004 Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3006 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3008 (makecontext): Support ELFv2 ABI.
3009 * elf/elf.h (EF_PPC64_ABI): Define.
3010
3011 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3012
3013 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3014 New assembler macro.
3015 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3016 [ASSEMBLER] (ENTRY): ... but instead here ...
3017 [ASSEMBLER] (EALIGN): ... and here.
3018 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3019 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3020 [!ASSEMBLER] (ENTRY_2): Use it.
3021 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3022 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3024 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3025 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3027 Use PPC64_LOAD_FUNCPTR.
3028
3029 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3030
3031 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3032
3033 2013-12-04 Alan Modra <amodra@gmail.com>
3034
3035 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3036 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3037 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3038 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3039
3040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3041 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3042 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3043 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3044 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3045 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3046
3047 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3048
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3050 (__makecontext): Fix incorrect CFI when backtracing out of
3051 context created via makecontext.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3053 (__setcontext): Fix incorrect CFI during switch to new context.
3054 (__novec_setcontext): Likewise.
3055
3056 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3057
3058 [BZ #4772]
3059 * time/strptime_l.c (__strptime_internal): Allow modifiers
3060 in strptime.
3061 * time/tst-strptime.c (day_tests): Add testcase.
3062
3063
3064 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3065
3066 * scripts/bench.pl: Skip over blank lines.
3067
3068 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3069
3070 [BZ #926]
3071 * manual/time.texi (Calendar Time): Clarify what timezone functions
3072 use.
3073
3074 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3075
3076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3077
3078 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3079
3080 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3081 implementation.
3082 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3083 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3084 * debug/memset_chk.c (__memset_chk): Likewise.
3085 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3086 * debug/strncpy_chk.c: Likewise.
3087
3088 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3089
3090 [BZ #15268]
3091 [BZ #15425]
3092 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3093 (__ieee754_exp): For possibly underflowing results, check size of
3094 result and force underflow exception if required.
3095 * math/auto-libm-test-in: Add more tests of exp.
3096 * math/auto-libm-test-out: Regenerated.
3097 * sysdeps/i386/fpu/libm-test-ulps: Update.
3098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3099
3100 [BZ #16283]
3101 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3102 * math/w_exp2f.c (__exp2f): Likewise.
3103 * math/w_exp2l.c (__exp2l): Likewise.
3104 * math/auto-libm-test-in: Do not allow missing errno on exp2
3105 underflow.
3106 * math/auto-libm-test-out: Regenerated.
3107
3108 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3109
3110 [BZ #16274]
3111 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3112 handle filename validation.
3113 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3114 (do_open): Delete.
3115
3116 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3117
3118 [BZ #6786]
3119 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3120 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3121 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3122 <float.h>.
3123 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3125 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3127 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3128 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3129 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3130 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3131 Add more erfc tests.
3132 * math/auto-libm-test-out: Regenerated.
3133 * sysdeps/i386/fpu/libm-test-ulps: Update.
3134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3135
3136 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3137 exp2, expm1, j0 and j1.
3138 * math/auto-libm-test-out: Regenerated.
3139 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3140 (erfc_test_data): Likewise.
3141 (exp_test_data): Likewise.
3142 (exp_tonearest_test_data): Likewise.
3143 (exp_towardzero_test_data): Likewise.
3144 (exp_downward_test_data): Likewise.
3145 (exp_upward_test_data): Likewise.
3146 (exp10_test_data): Likewise.
3147 (exp2_test_data): Likewise.
3148 (expm1_test_data): Likewise.
3149 (j0_test_data): Likewise.
3150 (j1_test_data): Likewise.
3151 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3152 (input_flag_type): Add flag_xfail_rounding.
3153 (input_flags): Add xfail-rounding.
3154 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3155 (output_for_one_input_case): Handle flag_xfail_rounding.
3156 * sysdeps/i386/fpu/libm-test-ulps: Update.
3157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3158
3159 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3160
3161 [BZ #16289]
3162 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3163 division by 0.
3164
3165 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3166
3167 [BZ #16195]
3168 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3169 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3170 (STAP_PROBE0): New macro.
3171 (STAP_PROBE1): Likewise.
3172 (STAP_PROBE2): Likewise.
3173 (STAP_PROBE3): Likewise.
3174 (STAP_PROBE4): Likewise.
3175
3176 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3177
3178 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3179
3180 2013-12-02 Steve Ellcey <sellcey@mips.com>
3181
3182 * benchtests/Makefile (bench): Add sqrt.
3183 (LDLIBS-bench-sqrt): New.
3184 * benchtests/sqrt-input: New.
3185
3186 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3187
3188 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3189 (GAIH_EAI): Likewise.
3190 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3191 (gaih_inet): Likewise.
3192 (getaddrinfo): Don't use GAIH_EAI.
3193
3194 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3195 (struct gaih): Remove definition.
3196
3197 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3200 Use HERRNOP directly.
3201
3202 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3203
3204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3205
3206 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3207
3208 * math/gen-auto-libm-tests.c (test_functions): Add more
3209 single-argument functions.
3210 (special_fill_pi_2): New function.
3211 (special_fill_minus_pi_2): Likewise.
3212 (special_fill_pi_6): Likewise.
3213 (special_fill_minus_pi_6): Likewise.
3214 (special_fill_pi_3): Likewise.
3215 (special_fill_2pi_3): Likewise.
3216 (special_fill_e): Likewise.
3217 (special_fill_1_e): Likewise.
3218 (special_fill_e_minus_1): Likewise.
3219 (special_real_inputs): Add more special inputs.
3220 (output_for_one_input_case): Do not require ERANGE on underflow to
3221 zero if round-to-nearest result does not underflow to zero, unless
3222 exact results required.
3223 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3224 atan, atanh, cbrt, cos and cosh.
3225 * math/auto-libm-test-out: Regenerated.
3226 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3227 (acos_tonearest_test_data): Likewise.
3228 (acos_towardzero_test_data): Likewise.
3229 (acos_downward_test_data): Likewise.
3230 (acos_upward_test_data): Likewise.
3231 (acosh_test_data): Likewise.
3232 (asin_test_data): Likewise.
3233 (asin_tonearest_test_data): Likewise.
3234 (asin_towardzero_test_data): Likewise.
3235 (asin_upward_test_data): Likewise.
3236 (asinh_test_data): Likewise.
3237 (atan_test_data): Likewise.
3238 (atanh_test_data): Likewise.
3239 (cbrt_test_data): Likewise.
3240 (cos_test_data): Likewise.
3241 (cos_tonearest_test_data): Likewise.
3242 (cos_towardzero_test_data): Likewise.
3243 (cos_downward_test_data): Likewise.
3244 (cos_upward_test_data): Likewise.
3245 (cosh_test_data): Likewise.
3246 (cosh_tonearest_test_data): Likewise.
3247 (cosh_towardzero_test_data): Likewise.
3248 (cosh_downward_test_data): Likewise.
3249 (cosh_upward_test_data): Likewise.
3250 * sysdeps/i386/fpu/libm-test-ulps: Update.
3251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3252
3253 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3254
3255 [BZ #6787]
3256 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3257 * math/w_exp10f.c (__exp10f): Likewise.
3258 * math/w_exp10l.c (__exp10l): Likewise.
3259 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3260 errno settings in existing tests.
3261
3262 [BZ #14032]
3263 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3264 precision control set to double precision.
3265 * sysdeps/i386/fpu/w_sqrt.c: New file.
3266 * math/auto-libm-test-in: Add more tests.
3267 * math/auto-libm-test-out: Update.
3268
3269 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3270 (sqrt_test_tonearest): New function.
3271 (sqrt_towardzero_test_data): New variable.
3272 (sqrt_test_towardzero): New function.
3273 (sqrt_downward_test_data): New variable.
3274 (sqrt_test_downward): New function.
3275 (sqrt_upward_test_data): New variable.
3276 (sqrt_test_upward): New function.
3277 (main): Call the new functions.
3278
3279 * math/gen-auto-libm-tests.c: New file.
3280 * math/auto-libm-test-in: Likewise.
3281 * math/auto-libm-test-out: New generated file.
3282 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3283 variables.
3284 (%beautify): Add generated representations of zero.
3285 (top level): Set $auto_input and call parse_auto_input.
3286 (beautify): Remove trailing "f" from hex float constants.
3287 (parse_args): Handle XFAIL_TEST.
3288 (convert_condition): New function.
3289 (or_value): Likewise.
3290 (or_cond_value): Likewise.
3291 (generate_testfile): Handle AUTO_TESTS_* lines.
3292 (parse_auto_input): New function.
3293 * math/libm-test.inc (XFAIL_TEST): New macro.
3294 (ERRNO_UNCHANGED): Update value.
3295 (ERRNO_EDOM): Likewise.
3296 (ERRNO_ERANGE): Likewise.
3297 (IGNORE_RESULT): Likewise.
3298 (TEST_COND_flt_32): New macro.
3299 (TEST_COND_dbl_64): Likewise.
3300 (TEST_COND_ldbl_96_intel): Likewise.
3301 (TEST_COND_ldbl_96_m68k): Likewise.
3302 (TEST_COND_ldbl_128): Likewise.
3303 (TEST_COND_ldbl_128ibm): Likewise.
3304 (TEST_COND_long32): Likewise.
3305 (TEST_COND_long64): Likewise.
3306 (TEST_COND_before_rounding): Likewise.
3307 (TEST_COND_after_rounding): Likewise.
3308 (enable_test): Handle XFAIL_TEST flag.
3309 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3310 with finite results.
3311 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3312 auto-libm-test-out.
3313
3314 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3315 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3316
3317 [BZ #16214]
3318 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3319 __tls_get_addr_internal instead of __tls_get_offset in order to
3320 avoid GOT pointer dependency. Make rtld export
3321 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3322 __tls_get_addr since we are a __tls_get_offset platform.
3323 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3324 GOT pointer being set up before.
3325 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3326
3327 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3328
3329 * manual/math.texi (Errors in Math Functions): Document accuracy
3330 goals.
3331
3332 [BZ #15004]
3333 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3334 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3336 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3337 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3339 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3349
3350 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3351 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3352 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3353 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3354 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3355 Likewise.
3356 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3357 Likewise.
3358 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3359 Likewise.
3360 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3361 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3362 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3363 atomic-feupdateenv and flt-rounds.
3364 * sysdeps/powerpc/nofpu/Versions (libc): Add
3365 __atomic_feholdexcept, __atomic_feclearexcept,
3366 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3367 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3368 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3369 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3370 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3371 here.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3373 Update.
3374
3375 * manual/arith.texi (FP Exceptions): Document that exceptions may
3376 not be raised when matherr is used.
3377 (Math Error Reporting): Document overflow in directed rounding
3378 modes. Document that errno may not be set when finite values are
3379 returned on overflow. Document intent to set errno on underflow
3380 only for underflow to zero.
3381
3382 [BZ #16271]
3383 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3384 round-to-nearest then adjust result for other rounding modes.
3385 * include/fenv.h (fegetround): Use libm_hidden_proto.
3386 * math/fegetround.c (fegetround): Use libm_hidden_def.
3387 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3388 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3389 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3390 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3391 Likewise.
3392 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3393 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3394 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3395 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3396
3397 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3398
3399 [BZ #16077]
3400 * nss/Versions (libnss_files): Add
3401 _nss_files_gethostbyname3_r.
3402 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3403 New function.
3404 (HOST_DB_LOOKUP): Remove macro.
3405 (_nss_files_gethostbyname_r): Implement function without the
3406 HOST_DB_LOOKUP macro.
3407 (_nss_files_gethostbyname2_r): Likewise.
3408
3409 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3410
3411 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3412
3413 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3414
3415 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3416 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3417 warning.
3418
3419 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3420
3421 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3422 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3423 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3424 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3425 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3426 __fe_nomask_env_priv and attribute_hidden.
3427 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3428 (libc_feupdateenv_test_ppc): Likewise.
3429 (libc_feresetround_ppc): Likewise.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3431 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3432 compat_symbol macro.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3434 (__fe_nomask_env): Likewise.
3435 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3436
3437 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3438
3439 * string/Makefile: Remove ifunc tests.
3440 * string/test-string.h: Define TEST_IFUNC.
3441 * string/test-bcopy-ifunc.c: Remove.
3442 * string/test-bzero-ifunc.c: Likewise.
3443 * string/test-memccpy-ifunc.c: Likewise.
3444 * string/test-memchr-ifunc.c: Likewise.
3445 * string/test-memcmp-ifunc.c: Likewise.
3446 * string/test-memcpy-ifunc.c: Likewise.
3447 * string/test-memmem-ifunc.c: Likewise.
3448 * string/test-memmove-ifunc.c: Likewise.
3449 * string/test-mempcpy-ifunc.c: Likewise.
3450 * string/test-memrchr-ifunc.c: Likewise.
3451 * string/test-memset-ifunc.c: Likewise.
3452 * string/test-rawmemchr-ifunc.c: Likewise.
3453 * string/test-stpcpy-ifunc.c: Likewise.
3454 * string/test-stpncpy-ifunc.c: Likewise.
3455 * string/test-strcasecmp-ifunc.c: Likewise.
3456 * string/test-strcasestr-ifunc.c: Likewise.
3457 * string/test-strcat-ifunc.c: Likewise.
3458 * string/test-strchr-ifunc.c: Likewise.
3459 * string/test-strchrnul-ifunc.c: Likewise.
3460 * string/test-strcmp-ifunc.c: Likewise.
3461 * string/test-strcpy-ifunc.c: Likewise.
3462 * string/test-strcspn-ifunc.c: Likewise.
3463 * string/test-strlen-ifunc.c: Likewise.
3464 * string/test-strncasecmp-ifunc.c: Likewise.
3465 * string/test-strncat-ifunc.c: Likewise.
3466 * string/test-strncmp-ifunc.c: Likewise.
3467 * string/test-strncpy-ifunc.c: Likewise.
3468 * string/test-strnlen-ifunc.c: Likewise.
3469 * string/test-strpbrk-ifunc.c: Likewise.
3470 * string/test-strrchr-ifunc.c: Likewise.
3471 * string/test-strspn-ifunc.c: Likewise.
3472 * string/test-strstr-ifunc.c: Likewise.
3473
3474 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3475
3476 * benchtests/Makefile: Remove ifunc tests.
3477 * benchtests/bench-string.h: Define TEST_IFUNC.
3478 * benchtests/bench-bcopy-ifunc.c: Remove.
3479 * benchtests/bench-bzero-ifunc.c: Likewise.
3480 * benchtests/bench-memccpy-ifunc.c: Likewise.
3481 * benchtests/bench-memchr-ifunc.c: Likewise.
3482 * benchtests/bench-memcmp-ifunc.c: Likewise.
3483 * benchtests/bench-memcpy-ifunc.c: Likewise.
3484 * benchtests/bench-memmem-ifunc.c: Likewise.
3485 * benchtests/bench-memmove-ifunc.c: Likewise.
3486 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3487 * benchtests/bench-memrchr-ifunc.c: Likewise.
3488 * benchtests/bench-memset-ifunc.c: Likewise.
3489 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3490 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3491 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3492 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3493 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3494 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3495 * benchtests/bench-strcat-ifunc.c: Likewise.
3496 * benchtests/bench-strchr-ifunc.c: Likewise.
3497 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3498 * benchtests/bench-strcmp-ifunc.c: Likewise.
3499 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3500 * benchtests/bench-strcpy-ifunc.c: Likewise.
3501 * benchtests/bench-strcspn-ifunc.c: Likewise.
3502 * benchtests/bench-strlen-ifunc.c: Likewise.
3503 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3504 * benchtests/bench-strncat-ifunc.c: Likewise.
3505 * benchtests/bench-strncmp-ifunc.c: Likewise.
3506 * benchtests/bench-strncpy-ifunc.c: Likewise.
3507 * benchtests/bench-strnlen-ifunc.c: Likewise.
3508 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3509 * benchtests/bench-strrchr-ifunc.c: Likewise.
3510 * benchtests/bench-strsep-ifunc.c: Likewise.
3511 * benchtests/bench-strspn-ifunc.c: Likewise.
3512 * benchtests/bench-strstr-ifunc.c: Likewise.
3513
3514 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3515
3516 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3517
3518 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3519
3520 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3521 * rt/aio.h: Likewise.
3522 * sysdeps/gnu/bits/utmp.h: Likewise.
3523 * sysdeps/gnu/bits/utmpx.h: Likewise.
3524 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3525 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3526 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3527 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3528 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3529 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3530 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3531 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3532 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3533 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3534 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3535 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3536 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3538 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3539 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3540 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3541 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3542 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3543 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3544 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3545 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3546 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3547 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3548 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3550 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3551 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3552 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3553 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3555 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3556 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3557 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3558 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3559 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3560 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3561 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3562 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3563 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3564 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3565 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3566
3567 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3568
3569 [BZ #16245]
3570 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3571 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3572
3573 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3574
3575 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3576 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3577 Likewise.
3578
3579 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3580
3581 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3582 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3583 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3584 (__fesetround): Remove define.
3585 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3586 rounding and exceptions handling.
3587 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3588 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3589 (__fe_nomask_env): Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3591 __fegetround instead of fegetround.
3592 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3594
3595 2013-11-21 Roland McGrath <roland@hack.frob.com>
3596
3597 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3598 it's there.
3599
3600 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3601
3602 2013-11-21 Meador Inge <meadori@codesourcery.com>
3603
3604 [BZ #11157]
3605 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3606 (encrypt_r): Likewise.
3607 * malloc/obstack.h (obstack_free): Likewise.
3608 * posix/unistd.h (encrypt): Likewise.
3609
3610 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3611
3612 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3613 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3614 DL_CALL_DT_FINI() that call the functions directly.
3615 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3616 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3617 * elf/dl-fini.c: Likewise.
3618
3619 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3620
3621 * malloc/hooks.c (memalign_check): Add alignment rounding.
3622 * malloc/malloc.c (_mid_memalign): New function.
3623 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3624 Implement by calling _mid_memalign.
3625 * manual/probes.texi (Memory Allocation Probes): Remove
3626 memory_valloc_retry and memory_pvalloc_retry.
3627
3628 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3629
3630 * locale/programs/locarchive.c (open_archive): Add const
3631 qualifier to ARCHIVEFNAME and copy default fname to
3632 DEFAULT_FNAME.
3633
3634 [BZ #15601]
3635 * libio/tst-widetext.input: Rename Oriya to Odia.
3636 * locale/iso-639.def: Likewise.
3637
3638 * manual/probes.texi (Mathematical Function Probes): Add
3639 documentation for sin, cos, asin and acos probes.
3640 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3641 (__sin32): Add slowasin probe.
3642 (__cos32): Add slowacos probe.
3643 (__mpsin): Add slowsin probe.
3644 (__mpcos): Add slowcos probe.
3645
3646 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3647
3648 [BZ #15483]
3649 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3650 thread-local __sim_exceptions_thread and global
3651 __sim_exceptions_global.
3652 (__sim_disabled_exceptions): Change to thread-local
3653 __sim_disabled_exceptions_thread and global
3654 __sim_disabled_exceptions_global.
3655 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3656 and global __sim_round_mode_global.
3657 (__simulate_exceptions): Use thread-local floating-point state and
3658 set global state from it as needed.
3659 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3660 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3661 __sim_round_mode_thread.
3662 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3663 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3664 and global __sim_exceptions_global.
3665 (__sim_disabled_exceptions): Change to thread-local
3666 __sim_disabled_exceptions_thread and global
3667 __sim_disabled_exceptions_global.
3668 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3669 and global __sim_round_mode_global.
3670 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3671 (SIM_SET_GLOBAL): Likewise.
3672 * sysdeps/powerpc/soft-fp/sfp-machine.h
3673 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3674 __sim_round_mode_thread.
3675 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3676 __sim_disabled_exceptions_thread.
3677 (__sim_exceptions): Change to __sim_exceptions_thread.
3678 (__sim_disabled_exceptions): Change to
3679 __sim_disabled_exceptions_thread.
3680 (__sim_round_mode): Change to __sim_round_mode_thread.
3681 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3682 thread-local floating-point state and set global state from it as
3683 needed.
3684 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3685 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3686 (__sim_disabled_exceptions): Remove extern declaration.
3687 (feenableexcept): Use thread-local floating-point state and set
3688 global state from it as needed.
3689 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3690 extern declaration.
3691 (__sim_disabled_exceptions): Likewise.
3692 (__sim_round_mode): Likewise.
3693 (__fegetenv): Use thread-local floating-point state.
3694 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3695 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3696 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3697 floating-point state and set global state from it as needed.
3698 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3699 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3700 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3701 Likewise.
3702 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3703 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3704 Likewise.
3705 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3706 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3707 Use __sim_round_mode_thread.
3708 * math/test-fenv-tls.c: New file.
3709 * math/Makefile (tests): Add test-fenv-tls.
3710 ($(objpfx)test-fenv-tls): Depend on
3711 $(common-objpfx)nptl/libpthread.so.
3712
3713 2013-11-19 Andreas Schwab <schwab@suse.de>
3714
3715 * locale/programs/locale.c (show_info): Decode wordarray elements.
3716 * locale/categories.def (LC_MONETARY): Add element for
3717 _NL_MONETARY_CRNCYSTR.
3718 * locale/C-monetary.c (conversion_rate): New variable.
3719 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3720 element.
3721
3722 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3723
3724 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3725 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3726
3727 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3728
3729 * elf/Makefile (tst-auxv): New test.
3730 * elf/tst-auxv.c: New
3731 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3732
3733 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3734
3735 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3736 (hidden_proto): Caller changed.
3737 (hidden_tls_proto): New macro.
3738 (libc_hidden_tls_proto): Likewise.
3739 (rtld_hidden_tls_proto): Likewise.
3740 (libm_hidden_tls_proto): Likewise.
3741 (libresolv_hidden_tls_proto): Likewise.
3742 (librt_hidden_tls_proto): Likewise.
3743 (libdl_hidden_tls_proto): Likewise.
3744 (libnss_files_hidden_tls_proto): Likewise.
3745 (libnsl_hidden_tls_proto): Likewise.
3746 (libnss_nisplus_hidden_tls_proto): Likewise.
3747 (libutil_hidden_tls_proto): Likewise.
3748
3749 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3750
3751 [BZ #10253]
3752 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3753 (decompose_rpath): Defer expansion to fillin_rpath.
3754 (_dl_init_paths): Pass linkmap to fillin_rpath.
3755
3756 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3757
3758 * benchtests/Makefile: Add strsep.
3759 * benchtests/bench-strsep.c: New file: strsep benchtest.
3760 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3761
3762 2013-11-18 Andreas Schwab <schwab@suse.de>
3763
3764 * locale/programs/locale.c (show_info) [case byte]: Check for
3765 '\377' instead of '\177'.
3766 * locale/C-monetary.c (not_available): Always use "\377".
3767 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3768 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3769 detect unavailable sign_posn locale elements.
3770 * locale/localeconv.c (__localeconv): For grouping and
3771 mon_grouping handle "\177" and "\377" like no grouping.
3772 (INT_ELEM): New macro. Use it to set all numeric members.
3773 * locale/programs/ld-monetary.c (monetary_read)
3774 <tok_mon_grouping>: Normalize single -1 to the empty string.
3775 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3776 Likewise.
3777
3778 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3779
3780 [BZ #16055]
3781 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3782 when we match (nil).
3783 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3784
3785 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3786
3787 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3788 (NO_TEST_INLINE): Update value.
3789 (ERRNO_UNCHANGED): Likewise.
3790 (ERRNO_EDOM): Likewise.
3791 (ERRNO_ERANGE): Likewise.
3792 (IGNORE_RESULT): Likewise.
3793 (check_float_internal): Check signs of NaN results if
3794 TEST_NAN_SIGN used.
3795 (check_complex): Pass TEST_NAN_SIGN flag through to second
3796 check_float_internal call.
3797 (copysign_test_data): Add tests with quiet NaNs as second
3798 argument. Use TEST_NAN_SIGN.
3799 (fabs_test_data): Add test of negative quiet NaN argument. Use
3800 TEST_NAN_SIGN.
3801 (signbit_test_data): Add tests of quiet NaN argument.
3802 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3803
3804 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3805 $ignore_result.
3806 (parse_args): Handle function results specified as IGNORE.
3807 * math/libm-test.inc (IGNORE_RESULT): New macro.
3808 (check_float_internal): Do not check numerical result if flag
3809 IGNORE_RESULT set.
3810 (check_complex): Pass through IGNORE_RESULT to second
3811 check_float_internal call.
3812 (check_int): Do not check numerical result if flag IGNORE_RESULT
3813 set.
3814 (check_long): Likewise.
3815 (check_bool): Likewise.
3816 (check_longlong): Likewise.
3817 (lrint_test_data): Add tests of infinite and NaN arguments.
3818 (lrint_tonearest_test_data): Likewise.
3819 (lrint_towardzero_test_data): Likewise.
3820 (lrint_downward_test_data): Likewise.
3821 (lrint_upward_test_data): Likewise.
3822 (llrint_test_data): Likewise.
3823 (llrint_tonearest_test_data): Likewise.
3824 (llrint_towardzero_test_data): Likewise.
3825 (llrint_downward_test_data): Likewise.
3826 (llrint_upward_test_data): Likewise.
3827 (lround_test_data): Likewise.
3828 (llround_test_data): Likewise.
3829
3830 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3831 (ERRNO_UNCHANGED): Update value.
3832 (ERRNO_EDOM): Likewise.
3833 (ERRNO_ERANGE): Likewise.
3834 (NO_TEST_INLINE_FLOAT): New macro.
3835 (NO_TEST_INLINE_DOUBLE): Likewise.
3836 (enable_test): New function.
3837 (RUN_TEST_f_f): Check enable_test before running test.
3838 (RUN_TEST_2_f): Likewise.
3839 (RUN_TEST_fff_f): Likewise.
3840 (RUN_TEST_c_f): Likewise.
3841 (RUN_TEST_f_f1): Likewise.
3842 (RUN_TEST_fF_f1): Likewise.
3843 (RUN_TEST_fI_f1): Likewise.
3844 (RUN_TEST_ffI_f1): Likewise.
3845 (RUN_TEST_c_c): Likewise.
3846 (RUN_TEST_cc_c): Likewise.
3847 (RUN_TEST_f_i): Likewise.
3848 (RUN_TEST_f_i_tg): Likewise.
3849 (RUN_TEST_ff_i_tg): Likewise.
3850 (RUN_TEST_f_b): Likewise.
3851 (RUN_TEST_f_b_tg): Likewise.
3852 (RUN_TEST_f_l): Likewise.
3853 (RUN_TEST_f_L): Likewise.
3854 (RUN_TEST_fFF_11): Likewise.
3855 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3856 conditionals.
3857 (cosh_test_data): Likewise.
3858 (exp_test_data): Likewise.
3859 (expm1_test_data): Likewise.
3860 (hypot_test_data): Likewise.
3861 (pow_test_data): Likewise.
3862 (sinh_test_data): Likewise.
3863 (tanh_test_data): Likewise.
3864 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3865 flags argument.
3866
3867 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3868 tests with quiet NaN input and output.
3869 (acosh_test_data): Likewise.
3870 (asin_test_data): Likewise.
3871 (asinh_test_data): Likewise.
3872 (atan_test_data): Likewise.
3873 (atanh_test_data): Likewise.
3874 (atan2_test_data): Likewise.
3875 (cbrt_test_data): Likewise.
3876 (cos_test_data): Likewise.
3877 (cosh_test_data): Likewise.
3878 (erf_test_data): Likewise.
3879 (erfc_test_data): Likewise.
3880 (exp_test_data): Likewise.
3881 (exp10_test_data): Likewise.
3882 (exp2_test_data): Likewise.
3883 (expm1_test_data): Likewise.
3884 (hypot_test_data): Likewise.
3885 (j0_test_data): Likewise.
3886 (j1_test_data): Likewise.
3887 (jn_test_data): Likewise.
3888 (lgamma_test_data): Likewise.
3889 (log_test_data): Likewise.
3890 (log10_test_data): Likewise.
3891 (log1p_test_data): Likewise.
3892 (log2_test_data): Likewise.
3893 (pow_test_data): Likewise.
3894 (scalb_test_data): Likewise.
3895 (sin_test_data): Likewise.
3896 (sincos_test_data): Likewise.
3897 (sinh_test_data): Likewise.
3898 (tan_test_data): Likewise.
3899 (tanh_test_data): Likewise.
3900 (tgamma_test_data): Likewise.
3901 (y0_test_data): Likewise.
3902 (y1_test_data): Likewise.
3903 (yn_test_data): Likewise.
3904
3905 [BZ #16167]
3906 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3907 argument being NaN and avoid computations with second argument in
3908 that case.
3909 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3910 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3911 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3912
3913 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3914
3915 * locale/iso-639.def: Add Chitwani Tharu (the).
3916
3917 2013-11-14 Andreas Schwab <schwab@suse.de>
3918
3919 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3920 word instead of empty string.
3921
3922 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3925 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3927 (__fe_nomask_env): Likewise.
3928
3929 2013-11-13 Steve Ellcey <sellcey@mips.com>
3930
3931 * benchtests/bench-timing.h: Include time.h.
3932
3933 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 [BZ #15997]
3936 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3937 to 3.4.0 for x32.
3938 * sysdeps/unix/sysv/linux/configure: Regenerated.
3939
3940 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3941
3942 [BZ #16151]
3943 * stdlib/strtod_l.c (round_and_return): Do not consider
3944 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3945 exponent one less than half the least subnormal exponent.
3946 * stdlib/test-strtod-round-data: Add more tests.
3947 * stdlib/tst-strtod-round.c (tests): Regenerated.
3948
3949 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950
3951 [BZ #14143]
3952 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3953 (__fe_mask_env): Likewise.
3954 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3955 libm_hidden_proto and add function prototype.
3956 (__fe_mask_env): Add function prototype.
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3958 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3960 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3962 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3963
3964 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3965
3966 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3967 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3968
3969 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3970
3971 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3972 of htab_find_slot().
3973
3974 2013-11-11 David S. Miller <davem@davemloft.net>
3975
3976 [BZ #16150]
3977 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3978 symbol in the non-vis3 case in static builds.
3979 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3980 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3981 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3982 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3983
3984 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3985
3986 [BZ #387]
3987 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3988 it is empty.
3989
3990 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991
3992 * benchtests/Makefile: Add bench-strtod.
3993 * benchtests/bench-strtod.c: New file: strtod benchtest
3994
3995 2013-11-11 Andreas Schwab <schwab@suse.de>
3996
3997 [BZ #16153]
3998 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3999 terminating NUL in key length.
4000
4001 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4002
4003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4004 Add artificial ODP entry for vDSO symbol for PPC64.
4005 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4006 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4007
4008 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4009
4010 [BZ #15374]
4011 * nss/getent.c (services_keys): Recognize services starting with digit.
4012
4013 2013-11-06 David S. Miller <davem@davemloft.net>
4014
4015 [BZ #15985]
4016 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4017 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4018
4019 2013-11-06 Will Newton <will.newton@linaro.org>
4020
4021 * manual/memory.texi (Malloc Examples): Remove register
4022 keyword from examples.
4023
4024 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4025
4026 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4027
4028 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #6981]
4031 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4032 depending on [__GCC_IEC_559 > 0].
4033 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4034 depending on [__GCC_IEC_559_COMPLEX > 0].
4035
4036 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4037
4038 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4039 to iso-639.def.
4040
4041 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4042
4043 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4044
4045 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4046
4047 [BZ #16112]
4048 * malloc/malloc (malloc_info): Do not handle first bin as
4049 special case.
4050
4051 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4052
4053 * locale/iso-639.def: Add Central Nahuatl (nhn).
4054
4055 2013-11-01 Bruno Haible <bruno@clisp.org>
4056
4057 [BZ #7003]
4058 * manual/math.texi (BSD Random): Specify range upper bound as
4059 in POSIX.
4060
4061 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4062
4063 * locale/iso-639.def: Add Meadow Mari (mhr).
4064
4065 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4066
4067 [BZ #14752], [BZ #15763]
4068 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4069 Validate name.
4070 * rt/tst_shm.c: Add test for escaping directory.
4071
4072 2013-10-31 Andreas Schwab <schwab@suse.de>
4073
4074 [BZ #15917]
4075 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4076 followed by 'x' as part of digit sequence.
4077 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4078
4079 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4080
4081 [BZ #16037]
4082 * configure.ac: allow GNU Make 4.0 and greater.
4083 * configure: Regenerated.
4084
4085 2013-10-30 Will Newton <will.newton@linaro.org>
4086
4087 [BZ #16038]
4088 * malloc/hooks.c (memalign_check): Limit alignment to the
4089 maximum representable power of two.
4090 * malloc/malloc.c (__libc_memalign): Likewise.
4091 * malloc/tst-memalign.c (do_test): Add test for very
4092 large alignment values.
4093 * malloc/tst-posix_memalign.c (do_test): Likewise.
4094
4095 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4096
4097 [BZ #11087]
4098 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4099 (munmap_chunk): Likewise.
4100 (mremap_chunk): Likewise.
4101
4102 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4103
4104 [BZ #15799]
4105 * stdlib/div.c (div): Remove obsolete code.
4106 * stdlib/ldiv.c (ldiv): Likewise.
4107 * stdlib/lldiv.c (lldiv): Likewise.
4108
4109 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4110
4111 [BZ #16071]
4112 * nss/nss_files/files-XXX.c (get_contents_ret): New
4113 enumerator.
4114 (get_contents): New function.
4115 (internal_getent): Use it. Expand size of LINEBUFLEN.
4116
4117 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4118
4119 * configure.in: Moved to ...
4120 * configure.ac: ... here. Change reference to configure.in
4121 to configure.ac.
4122 * sysdeps/arm/preconfigure.ac: ... here.
4123 configure.in to configure.ac.
4124 * sysdeps/gnu/configure.in: Moved to ...
4125 * sysdeps/gnu/configure.ac: ... here.
4126 * sysdeps/i386/configure.in: Moved to ...
4127 * sysdeps/i386/configure.ac: ... here.
4128 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4129 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4130 * sysdeps/mach/configure.in: Moved to ...
4131 * sysdeps/mach/configure.ac: ... here.
4132 * sysdeps/mach/hurd/configure.in: Moved to ...
4133 * sysdeps/mach/hurd/configure.ac: ... here.
4134 * sysdeps/powerpc/configure.in: Moved to ...
4135 * sysdeps/powerpc/configure.ac: ... here.
4136 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4137 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4138 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4139 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4140 * sysdeps/s390/s390-32/configure.in: Moved to ...
4141 * sysdeps/s390/s390-32/configure.ac: ... here.
4142 * sysdeps/s390/s390-64/configure.in: Moved to ...
4143 * sysdeps/s390/s390-64/configure.ac: ... here.
4144 * sysdeps/sh/configure.in: Moved to ...
4145 * sysdeps/sh/configure.ac: ... here.
4146 * sysdeps/sparc/configure.in: Moved to ...
4147 * sysdeps/sparc/configure.ac: ... here.
4148 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4149 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4150 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4151 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4152 * sysdeps/x86_64/configure.in: Moved to ...
4153 * sysdeps/x86_64/configure.ac: ... here.
4154 * sysdeps/x86_64/preconfigure.in: Moved to ...
4155 * sysdeps/x86_64/preconfigure.ac: ... here.
4156 * aclocal.m4: Change reference to configure.in to configure.ac.
4157 * config.h.in: Likewise.
4158 * manual/install.texi: Likewise.
4159 * manual/maint.texi: Likewise.
4160 * Makefile: Likewise.
4161 * malloc/Makefile: Likewise.
4162 * nscd/Makefile: Likewise.
4163 * Makeconfig: Change reference to configure.in and
4164 preconfigure.in to configure.ac and preconfigure.ac
4165 respectively.
4166 * INSTALL: Regenerated.
4167 * configure: Likewise.
4168 * sysdeps/gnu/configure: Likewise.
4169 * sysdeps/i386/configure: Likewise.
4170 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4171 * sysdeps/mach/configure: Likewise.
4172 * sysdeps/mach/hurd/configure: Likewise.
4173 * sysdeps/powerpc/configure: Likewise.
4174 * sysdeps/powerpc/powerpc32/configure: Likewise.
4175 * sysdeps/powerpc/powerpc64/configure: Likewise.
4176 * sysdeps/s390/s390-32/configure: Likewise.
4177 * sysdeps/s390/s390-64/configure: Likewise.
4178 * sysdeps/sh/configure: Likewise.
4179 * sysdeps/sparc/configure: Likewise.
4180 * sysdeps/unix/sysv/linux/configure: Likewise.
4181 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4182 * sysdeps/x86_64/configure: Likewise.
4183 * sysdeps/x86_64/preconfigure: Likewise.
4184
4185 2013-10-29 Andreas Schwab <schwab@suse.de>
4186
4187 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4188
4189 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
4191 * benchtests/pow-inputs: Add new inputs.
4192
4193 * benchtests/exp-inputs: Add new inputs.
4194
4195 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4196 conditional check for return value.
4197 (__cos32): Likewise.
4198
4199 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4200
4201 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4202 to provide a boost for large inputs with word alignment.
4203 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4204 implementation based on optimized PPC64 strcpy.
4205 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4206 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4207 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4208 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4209
4210 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4211
4212 [BZ #2801]
4213 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4214
4215 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4216
4217 [BZ #14876]
4218 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4219 * time/tst-strptime.c (day_tests): Add testcase.
4220
4221 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4222
4223 [BZ #14029]
4224 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4225
4226 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4227
4228 [BZ #16074]
4229 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4230 MAP_FAILED on error.
4231
4232 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4233
4234 [BZ #16072]
4235 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4236 heap for large requests.
4237
4238 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4239
4240 [BZ #9954]
4241 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4242 result if the result has no associated interface.
4243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4244 interface for all 127.X.Y.Z addresses.
4245
4246 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4247
4248 * locale/iso-639.def: Add Ligurian (lij)
4249
4250 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4251
4252 [BZ #15825]
4253 * sunrpc/rpc_main.c: Document rpcgen -5.
4254
4255 2013-10-19 Michael Stahl <mstahl@redhat.com>
4256
4257 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4258
4259 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4260
4261 [BZ #10278]
4262 * posix/glob.c: Match only directories when trailing slash is present.
4263 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4264 (main): Add testcase.
4265
4266 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4267
4268 [BZ #15670]
4269 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4270
4271 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4272
4273 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4274 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4275 AUTH_DES and cindex for FIPS 140-2.
4276 (DES Encryption): Add cindex FIPS 46-3.
4277
4278 * locale/locarchive.h (struct locarhandle): Add fname.
4279 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4280 if an optional argument was specified to --list-archive,
4281 otherwise NULL.
4282 * locale/programs/locarchive.c (show_archive_content): Take new
4283 argument fname and pass it via ah.fname to open_archive.
4284 * locale/programs/localedef.h: Update decl.
4285 (open_archive): If AH->fname is non-null, open that file
4286 rather than the default file name, and don't ignore ENOENT.
4287 (create_archive): Set AH.fname to NULL.
4288 (delete_locales_from_archive): Likewise.
4289 (add_locales_to_archive): Likewise.
4290 * locale/programs/locfile.c (write_all_categories): Likewise.
4291
4292 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4293 Aldy Hernandez <aldyh@redhat.com>
4294
4295 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4296 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4297 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4298 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4299 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4300 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4301 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4302 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4303 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4304 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4305 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4306 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4307 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4308 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4309 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4310 Likewise.
4311 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4312 Likewise.
4313 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4314 Likewise.
4315 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4316 Likewise.
4317 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4318 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4319 Likewise.
4320 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4321 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4322 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4323 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4324 Likewise.
4325 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4326 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4327 * sysdeps/powerpc/preconfigure: Likewise.
4328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4329 Likewise.
4330 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4331 Replace contents of file by #include of <fenv_libc.h>.
4332 * sysdeps/powerpc/soft-fp/sfp-machine.h
4333 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4334 and <sys/prctl.h>.
4335 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4339 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4342 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4343 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4344 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4345 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4346 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4348 Allow copysignl PLT reference to be missing.
4349
4350 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4351 Joseph Myers <joseph@codesourcery.com
4352
4353 [BZ #15948]
4354 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4355 single character.
4356 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4357
4358 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
4360 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4361 * elf/tst-tls1.c: Likewise.
4362 * elf/tst-tls10.h: Likewise.
4363 * elf/tst-tls14.c: Likewise.
4364 * elf/tst-tls2.c: Likewise.
4365 * elf/tst-tls3.c: Likewise.
4366 * elf/tst-tls4.c: Likewise.
4367 * elf/tst-tls5.c: Likewise.
4368 * elf/tst-tls6.c: Likewise.
4369 * elf/tst-tls7.c: Likewise.
4370 * elf/tst-tls8.c: Likewise.
4371 * elf/tst-tls9.c: Likewise.
4372 * elf/tst-tlsmod1.c: Likewise.
4373 * elf/tst-tlsmod13.c: Likewise.
4374 * elf/tst-tlsmod13a.c: Likewise.
4375 * elf/tst-tlsmod14a.c: Likewise.
4376 * elf/tst-tlsmod16a.c: Likewise.
4377 * elf/tst-tlsmod16b.c: Likewise.
4378 * elf/tst-tlsmod2.c: Likewise.
4379 * elf/tst-tlsmod3.c: Likewise.
4380 * elf/tst-tlsmod4.c: Likewise.
4381 * elf/tst-tlsmod5.c: Likewise.
4382 * elf/tst-tlsmod6.c: Likewise.
4383
4384 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4385
4386 [BZ #12486]
4387 * malloc/malloc.c: remove checks for statistics.
4388
4389 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4390
4391 [BZ #15277]
4392 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4393 * inet/tst-network.c: Add testcase.
4394
4395 2013-10-17 Andreas Schwab <schwab@suse.de>
4396
4397 [BZ #15218]
4398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4399 to determine canonical name.
4400
4401 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4402
4403 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4404 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4406 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4412 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4427 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4428 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4433 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4435 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4439 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4440 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4441 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4442 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4443 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4444 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4445 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4446 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4452 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4454 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4455 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4457 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4458 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4461
4462 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4463
4464 [BZ #16041]
4465 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4466 make result into a quiet NaN.
4467
4468 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4469
4470 * soft-fp/adddf3.c: Fix horizontal whitespace.
4471 * soft-fp/addsf3.c: Likewise.
4472 * soft-fp/addtf3.c: Likewise.
4473 * soft-fp/divdf3.c: Likewise.
4474 * soft-fp/divsf3.c: Likewise.
4475 * soft-fp/divtf3.c: Likewise.
4476 * soft-fp/double.h: Likewise.
4477 * soft-fp/eqdf2.c: Likewise.
4478 * soft-fp/eqsf2.c: Likewise.
4479 * soft-fp/eqtf2.c: Likewise.
4480 * soft-fp/extenddftf2.c: Likewise.
4481 * soft-fp/extended.h: Likewise.
4482 * soft-fp/extendsfdf2.c: Likewise.
4483 * soft-fp/extendsftf2.c: Likewise.
4484 * soft-fp/extendxftf2.c: Likewise.
4485 * soft-fp/fixdfdi.c: Likewise.
4486 * soft-fp/fixdfsi.c: Likewise.
4487 * soft-fp/fixdfti.c: Likewise.
4488 * soft-fp/fixsfdi.c: Likewise.
4489 * soft-fp/fixsfsi.c: Likewise.
4490 * soft-fp/fixsfti.c: Likewise.
4491 * soft-fp/fixtfdi.c: Likewise.
4492 * soft-fp/fixtfsi.c: Likewise.
4493 * soft-fp/fixtfti.c: Likewise.
4494 * soft-fp/fixunsdfdi.c: Likewise.
4495 * soft-fp/fixunsdfsi.c: Likewise.
4496 * soft-fp/fixunsdfti.c: Likewise.
4497 * soft-fp/fixunssfdi.c: Likewise.
4498 * soft-fp/fixunssfsi.c: Likewise.
4499 * soft-fp/fixunssfti.c: Likewise.
4500 * soft-fp/fixunstfdi.c: Likewise.
4501 * soft-fp/fixunstfsi.c: Likewise.
4502 * soft-fp/fixunstfti.c: Likewise.
4503 * soft-fp/floatdidf.c: Likewise.
4504 * soft-fp/floatdisf.c: Likewise.
4505 * soft-fp/floatditf.c: Likewise.
4506 * soft-fp/floatsidf.c: Likewise.
4507 * soft-fp/floatsisf.c: Likewise.
4508 * soft-fp/floatsitf.c: Likewise.
4509 * soft-fp/floattidf.c: Likewise.
4510 * soft-fp/floattisf.c: Likewise.
4511 * soft-fp/floattitf.c: Likewise.
4512 * soft-fp/floatundidf.c: Likewise.
4513 * soft-fp/floatundisf.c: Likewise.
4514 * soft-fp/floatunditf.c: Likewise.
4515 * soft-fp/floatunsidf.c: Likewise.
4516 * soft-fp/floatunsisf.c: Likewise.
4517 * soft-fp/floatunsitf.c: Likewise.
4518 * soft-fp/floatuntidf.c: Likewise.
4519 * soft-fp/floatuntisf.c: Likewise.
4520 * soft-fp/floatuntitf.c: Likewise.
4521 * soft-fp/fmadf4.c: Likewise.
4522 * soft-fp/fmasf4.c: Likewise.
4523 * soft-fp/fmatf4.c: Likewise.
4524 * soft-fp/gedf2.c: Likewise.
4525 * soft-fp/gesf2.c: Likewise.
4526 * soft-fp/getf2.c: Likewise.
4527 * soft-fp/ledf2.c: Likewise.
4528 * soft-fp/lesf2.c: Likewise.
4529 * soft-fp/letf2.c: Likewise.
4530 * soft-fp/muldf3.c: Likewise.
4531 * soft-fp/mulsf3.c: Likewise.
4532 * soft-fp/multf3.c: Likewise.
4533 * soft-fp/negdf2.c: Likewise.
4534 * soft-fp/negsf2.c: Likewise.
4535 * soft-fp/negtf2.c: Likewise.
4536 * soft-fp/op-1.h: Likewise.
4537 * soft-fp/op-2.h: Likewise.
4538 * soft-fp/op-4.h: Likewise.
4539 * soft-fp/op-8.h: Likewise.
4540 * soft-fp/op-common.h: Likewise.
4541 * soft-fp/quad.h: Likewise.
4542 * soft-fp/single.h: Likewise.
4543 * soft-fp/soft-fp.h: Likewise.
4544 * soft-fp/sqrtdf2.c: Likewise.
4545 * soft-fp/sqrtsf2.c: Likewise.
4546 * soft-fp/sqrttf2.c: Likewise.
4547 * soft-fp/subdf3.c: Likewise.
4548 * soft-fp/subsf3.c: Likewise.
4549 * soft-fp/subtf3.c: Likewise.
4550 * soft-fp/truncdfsf2.c: Likewise.
4551 * soft-fp/trunctfdf2.c: Likewise.
4552 * soft-fp/trunctfsf2.c: Likewise.
4553 * soft-fp/trunctfxf2.c: Likewise.
4554 * soft-fp/unorddf2.c: Likewise.
4555 * soft-fp/unordsf2.c: Likewise.
4556 * soft-fp/unordtf2.c: Likewise.
4557
4558 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4559
4560 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4561 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4562
4563 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4564
4565 * elf/dl-libc.c: Clear initfini list after freeing.
4566
4567 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4568
4569 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4570 * soft-fp/addsf3.c: Likewise.
4571 * soft-fp/addtf3.c: Likewise.
4572 * soft-fp/divdf3.c: Likewise.
4573 * soft-fp/divsf3.c: Likewise.
4574 * soft-fp/divtf3.c: Likewise.
4575 * soft-fp/double.h: Likewise.
4576 * soft-fp/eqdf2.c: Likewise.
4577 * soft-fp/eqsf2.c: Likewise.
4578 * soft-fp/eqtf2.c: Likewise.
4579 * soft-fp/extenddftf2.c: Likewise.
4580 * soft-fp/extended.h: Likewise.
4581 * soft-fp/extendsfdf2.c: Likewise.
4582 * soft-fp/extendsftf2.c: Likewise.
4583 * soft-fp/extendxftf2.c: Likewise.
4584 * soft-fp/fixdfdi.c: Likewise.
4585 * soft-fp/fixdfsi.c: Likewise.
4586 * soft-fp/fixdfti.c: Likewise.
4587 * soft-fp/fixsfdi.c: Likewise.
4588 * soft-fp/fixsfsi.c: Likewise.
4589 * soft-fp/fixsfti.c: Likewise.
4590 * soft-fp/fixtfdi.c: Likewise.
4591 * soft-fp/fixtfsi.c: Likewise.
4592 * soft-fp/fixtfti.c: Likewise.
4593 * soft-fp/fixunsdfdi.c: Likewise.
4594 * soft-fp/fixunsdfsi.c: Likewise.
4595 * soft-fp/fixunsdfti.c: Likewise.
4596 * soft-fp/fixunssfdi.c: Likewise.
4597 * soft-fp/fixunssfsi.c: Likewise.
4598 * soft-fp/fixunssfti.c: Likewise.
4599 * soft-fp/fixunstfdi.c: Likewise.
4600 * soft-fp/fixunstfsi.c: Likewise.
4601 * soft-fp/fixunstfti.c: Likewise.
4602 * soft-fp/floatdidf.c: Likewise.
4603 * soft-fp/floatdisf.c: Likewise.
4604 * soft-fp/floatditf.c: Likewise.
4605 * soft-fp/floatsidf.c: Likewise.
4606 * soft-fp/floatsisf.c: Likewise.
4607 * soft-fp/floatsitf.c: Likewise.
4608 * soft-fp/floattidf.c: Likewise.
4609 * soft-fp/floattisf.c: Likewise.
4610 * soft-fp/floattitf.c: Likewise.
4611 * soft-fp/floatundidf.c: Likewise.
4612 * soft-fp/floatundisf.c: Likewise.
4613 * soft-fp/floatunsidf.c: Likewise.
4614 * soft-fp/floatunsisf.c: Likewise.
4615 * soft-fp/floatuntidf.c: Likewise.
4616 * soft-fp/floatuntisf.c: Likewise.
4617 * soft-fp/floatuntitf.c: Likewise.
4618 * soft-fp/fmadf4.c: Likewise.
4619 * soft-fp/fmasf4.c: Likewise.
4620 * soft-fp/fmatf4.c: Likewise.
4621 * soft-fp/gedf2.c: Likewise.
4622 * soft-fp/gesf2.c: Likewise.
4623 * soft-fp/getf2.c: Likewise.
4624 * soft-fp/ledf2.c: Likewise.
4625 * soft-fp/lesf2.c: Likewise.
4626 * soft-fp/letf2.c: Likewise.
4627 * soft-fp/muldf3.c: Likewise.
4628 * soft-fp/mulsf3.c: Likewise.
4629 * soft-fp/multf3.c: Likewise.
4630 * soft-fp/negdf2.c: Likewise.
4631 * soft-fp/negsf2.c: Likewise.
4632 * soft-fp/negtf2.c: Likewise.
4633 * soft-fp/op-1.h: Likewise.
4634 * soft-fp/op-2.h: Likewise.
4635 * soft-fp/op-4.h: Likewise.
4636 * soft-fp/op-8.h: Likewise.
4637 * soft-fp/op-common.h: Likewise.
4638 * soft-fp/quad.h: Likewise.
4639 * soft-fp/single.h: Likewise.
4640 * soft-fp/soft-fp.h: Likewise.
4641 * soft-fp/sqrtdf2.c: Likewise.
4642 * soft-fp/sqrtsf2.c: Likewise.
4643 * soft-fp/sqrttf2.c: Likewise.
4644 * soft-fp/subdf3.c: Likewise.
4645 * soft-fp/subsf3.c: Likewise.
4646 * soft-fp/subtf3.c: Likewise.
4647 * soft-fp/truncdfsf2.c: Likewise.
4648 * soft-fp/trunctfdf2.c: Likewise.
4649 * soft-fp/trunctfsf2.c: Likewise.
4650 * soft-fp/trunctfxf2.c: Likewise.
4651 * soft-fp/unorddf2.c: Likewise.
4652 * soft-fp/unordsf2.c: Likewise.
4653 * soft-fp/unordtf2.c: Likewise.
4654
4655 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4656
4657 [BZ #15672]
4658 * misc/error.c (error_tail): Fix possible buffer overflow.
4659
4660 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4661
4662 [BZ #13028]
4663 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4664 address.
4665
4666 2013-10-14 P. J. McDermott <pj@pehjota.net>
4667
4668 [BZ #832]
4669 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4670 testing pipefail option.
4671
4672 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4673
4674 * soft-fp/double.h: Indent preprocessor directives inside #if.
4675 * soft-fp/extended.h: Likewise.
4676 * soft-fp/op-2.h: Likewise.
4677 * soft-fp/op-4.h: Likewise.
4678 * soft-fp/op-common.h: Likewise.
4679 * soft-fp/quad.h: Likewise.
4680 * soft-fp/single.h: Likewise.
4681 * soft-fp/soft-fp.h: Likewise.
4682
4683 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4684
4685 * iconv/iconv_prog.c: Fix typos.
4686 * stdio-common/psiginfo-data.h: Likewise.
4687
4688 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4689
4690 [BZ #15764]
4691 * locale/setlocale.c: Fix typo.
4692
4693 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4694
4695 [BZ #16036]
4696 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4697 signaling NaN arguments.
4698 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4699 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4700
4701 [BZ #14910]
4702 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4703 unordered operands.
4704 * soft-fp/gesf2.c (__gesf2): Likewise.
4705 * soft-fp/getf2.c (__getf2): Likewise.
4706 * soft-fp/ledf2.c (__ledf2): Likewise.
4707 * soft-fp/lesf2.c (__lesf2): Likewise.
4708 * soft-fp/letf2.c (__letf2): Likewise.
4709
4710 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4711 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4712 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4713 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4714 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4715 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4716 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4717 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4718 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4719 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4720 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4721 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4722 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4723 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4724 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4725 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4726 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4727 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4728 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4729 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4730 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4731 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4732 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4733 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4734 * soft-fp/floattidf.c (__floattidf): Likewise.
4735 * soft-fp/floattisf.c (__floattisf): Likewise.
4736 * soft-fp/floattitf.c (__floattitf): Likewise.
4737 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4738 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4739 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4740 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4741 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4742 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4743 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4744 * soft-fp/gesf2.c (__gesf2): Likewise.
4745 * soft-fp/getf2.c (__getf2): Likewise.
4746 * soft-fp/ledf2.c (__ledf2): Likewise.
4747 * soft-fp/lesf2.c (__lesf2): Likewise.
4748 * soft-fp/letf2.c (__letf2): Likewise.
4749
4750 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4751 Undefine and redefine.
4752 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4753 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4754 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4755 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4756 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4757 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4758 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4759 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4760 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4761 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4762 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4763 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4764 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4765 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4766 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4767
4768 [BZ #16032]
4769 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4770 without decrementing exponent if mantissa >= that for the
4771 denominator, not >.
4772 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4773 denominator, not >. Decrement exponent in < case instead of
4774 incrementing in >= case.
4775 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4776 without decrementing exponent if mantissa >= that for the
4777 denominator, not >.
4778
4779 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4780 computing saturated result for unsigned overflow.
4781
4782 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4783 Jeff Law <law@redhat.com>
4784
4785 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4786 (atan2Mp): Add systemtap probe marker.
4787 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4788 (__ieee754_log): Add systemtap probe marker.
4789 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4790 (atanMp): Add systemtap probe marker.
4791 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4792 (tanMp): Add systemtap probe marker.
4793 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4794 (__slowexp): Add systemtap probe marker.
4795 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4796 (__slowpow): Add systemtap probe marker.
4797 * manual/probes.texi: Document probes.
4798
4799 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4800
4801 [BZ #15362]
4802 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4803 written.
4804 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4805 written.
4806 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4807 written to buffer but not flushed.
4808 * libio/iofwrite_u.c: Likewise.
4809 * libio/iopadn.c: Return bytes returned even if EOF was
4810 encountered.
4811 * libio/iowpadn.c: Likewise.
4812 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4813 if _IO_padn does not write the whole buffer.
4814 [!COMPILE_WPRINTF] (PAD): Likewise.
4815
4816 2013-10-10 David S. Miller <davem@davemloft.net>
4817
4818 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4819 directory block.
4820
4821 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4822
4823 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4824 instead of FSF address.
4825 * soft-fp/fixdfti.c: Likewise.
4826 * soft-fp/fixsfti.c: Likewise.
4827 * soft-fp/fixtfti.c: Likewise.
4828 * soft-fp/fixunsdfti.c: Likewise.
4829 * soft-fp/fixunssfti.c: Likewise.
4830 * soft-fp/fixunstfti.c: Likewise.
4831 * soft-fp/floattidf.c: Likewise.
4832 * soft-fp/floattisf.c: Likewise.
4833 * soft-fp/floattitf.c: Likewise.
4834 * soft-fp/floatuntidf.c: Likewise.
4835 * soft-fp/floatuntisf.c: Likewise.
4836 * soft-fp/floatuntitf.c: Likewise.
4837 * soft-fp/trunctfxf2.c: Likewise.
4838
4839 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4840 * soft-fp/fixdfti.c: Likewise.
4841 * soft-fp/fixsfti.c: Likewise.
4842 * soft-fp/fixtfti.c: Likewise.
4843 * soft-fp/fixunsdfti.c: Likewise.
4844 * soft-fp/fixunssfti.c: Likewise.
4845 * soft-fp/fixunstfti.c: Likewise.
4846 * soft-fp/floattidf.c: Likewise.
4847 * soft-fp/floattisf.c: Likewise.
4848 * soft-fp/floattitf.c: Likewise.
4849 * soft-fp/floatuntidf.c: Likewise.
4850 * soft-fp/floatuntisf.c: Likewise.
4851 * soft-fp/floatuntitf.c: Likewise.
4852 * soft-fp/trunctfxf2.c: Likewise.
4853
4854 2013-10-10 David S. Miller <davem@davemloft.net>
4855
4856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4857
4858 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4859
4860 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4861 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4862 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4863 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4864 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4865 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4866 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4867
4868 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4869 for NaNs before doing comparisons on argument.
4870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4871 Likewise.
4872
4873 2013-10-10 Will Newton <will.newton@linaro.org>
4874
4875 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4876 passed to _int_memalign does not overflow.
4877
4878 2013-10-10 Torvald Riegel <triegel@redhat.com>
4879
4880 * scripts/bench.pl: Add include-sources directive.
4881 * benchtests/README: Update documentation.
4882
4883 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4884
4885 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4886 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4887 instead of FP_INIT_ROUNDMODE.
4888 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4889 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4890
4891 [BZ #16034]
4892 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4893 copy class of input value.
4894 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4895 not handle exceptions.
4896 * soft-fp/negsf2.c (__negsf2): Likewise.
4897 * soft-fp/negtf2.c (__negtf2): Likewise.
4898 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4899
4900 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4901
4902 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4903 semicolon. From Linux kernel.
4904
4905 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4906
4907 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4908
4909 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4910
4911 [BZ #156]
4912 * manual/socket.texi: Added statement about buffer
4913 for gethostbyname2_r.
4914
4915 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4916
4917 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4918 Use .p2align directive instead, throughout.
4919 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4920 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4921 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4922 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4923 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4924 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4925 * sysdeps/x86_64/strchr.S: Likewise.
4926 * sysdeps/x86_64/strrchr.S: Likewise.
4927
4928 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4929
4930 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4931
4932 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4933
4934 * sysdeps/generic/math_private.h (__mpsin1): Remove
4935 declaration.
4936 (__mpcos1): Likewise.
4937 (__mpsin): New argument __range_reduce.
4938 (__mpcos): Likewise.
4939 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4940 (slow): Use __mpsin and __mpcos.
4941 (slow1): Likewise.
4942 (slow2): Likewise.
4943 (sloww): Likewise.
4944 (sloww1): Likewise.
4945 (sloww2): Likewise.
4946 (bsloww): Likewise.
4947 (bsloww1): Likewise.
4948 (bsloww2): Likewise.
4949 (cslow2): Likewise.
4950 (csloww): Likewise.
4951 (csloww1): Likewise.
4952 (csloww2): Likewise.
4953 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4954 range_reduce. Merge in __mpsin1.
4955 (__mpcos): Likewise.
4956 (__mpsin1): Remove.
4957 (__mpcos1): Likewise.
4958
4959 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4960
4961 * locale/loadlocale.c (_nl_intern_locale_data): Use
4962 LOCFILE_ALIGNED_P.
4963 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4964 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4965 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4966 obstack data is appropriately aligned.
4967 (obstack_int32_grow_fast): Likewise.
4968 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4969 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4970 (add_locale_uint32_array): Likewise.
4971
4972 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4973
4974 * benchtests/Makefile: Remove ARGLIST and RET variables.
4975 ($(objpfx)bench-%.c): Pass only function name to the script.
4976 * benchtests/README: Update documentation.
4977 * benchtests/acos-inputs: Add new directives.
4978 * benchtests/acosh-inputs: Likewise.
4979 * benchtests/asin-inputs: Likewise.
4980 * benchtests/asinh-inputs: Likewise.
4981 * benchtests/atan-inputs: Likewise.
4982 * benchtests/atanh-inputs: Likewise.
4983 * benchtests/cos-inputs: Likewise.
4984 * benchtests/cosh-inputs: Likewise.
4985 * benchtests/exp-inputs: Likewise.
4986 * benchtests/log-inputs: Likewise.
4987 * benchtests/pow-inputs: Likewise.
4988 * benchtests/rint-inputs: Likewise.
4989 * benchtests/sin-inputs: Likewise.
4990 * benchtests/sinh-inputs: Likewise.
4991 * benchtests/tan-inputs: Likewise.
4992 * benchtests/tanh-inputs: Likewise.
4993 * scripts/bench.pl: Add support for new directives.
4994
4995 2013-10-07 Alan Modra <amodra@gmail.com>
4996
4997 * README: Fix careless merge.
4998
4999 2013-10-05 Alan Modra <amodra@gmail.com>
5000
5001 * NEWS: Mention powerpc64le support and bugs fixed.
5002 * README: Both big-endian and little-endian powerpc64 supported.
5003
5004 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5005
5006 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5007 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5008 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5009 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5010
5011 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5012
5013 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5014 match prototype.
5015
5016 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5019 Move -mhard-float appending from
5020 ports/sysdeps/powerpc/powerpc32/Makefile.
5021 [$(with-fp) = yes] (ASFLAGS): Likewise.
5022 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5023 * sysdeps/powerpc/nofpu: Move directory from
5024 ports/sysdeps/powerpc/nofpu.
5025 * sysdeps/powerpc/soft-fp: Move directory from
5026 ports/sysdeps/powerpc/soft-fp.
5027 * sysdeps/powerpc/powerpc32/405: Move directory from
5028 ports/sysdeps/powerpc/powerpc32/405.
5029 * sysdeps/powerpc/powerpc32/440: Move directory from
5030 ports/sysdeps/powerpc/powerpc32/440.
5031 * sysdeps/powerpc/powerpc32/464: Move directory from
5032 ports/sysdeps/powerpc/powerpc32/464.
5033 * sysdeps/powerpc/powerpc32/476: Move directory from
5034 ports/sysdeps/powerpc/powerpc32/476.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5038 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5040 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5042 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5044 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5045 * README: Update for powerpc-*-linux-gnu software floating point
5046 support in libc.
5047
5048 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5049 case to powerpc/powerpc32*.
5050 * sysdeps/unix/sysv/linux/configure: Regenerated.
5051
5052 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5053 (_FPU_MASK_OM): Define as 0x04.
5054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5056 0x00c10080.
5057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5058 0x0000003c.
5059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5060
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5062 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5063 getcontext_e500.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5065 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5066 setcontext_e500.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5068 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5069 and setcontext_e500.
5070
5071 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5072
5073 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5074
5075 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5076
5077 * manual/threads.texi (Default Thread Attributes): Fix typo.
5078
5079 2013-10-04 Will Newton <will.newton@linaro.org>
5080
5081 * malloc/Makefile: Add tst-memalign.
5082 * malloc/tst-memalign.c: New file.
5083
5084 * malloc/tst-posix_memalign.c: Add comments.
5085 (do_test): Add comments and call free on all potentially
5086 allocated pointers. Add space after cast.
5087
5088 * malloc/tst-pvalloc.c: Add comments.
5089 (do_test): Add comments and call free on all potentially
5090 allocated pointers. Remove duplicate check for NULL pointer.
5091 Add space after cast.
5092
5093 * malloc/tst-valloc.c: Add comments.
5094 (do_test): Add comments and call free on all potentially
5095 allocated pointers. Remove duplicate check for NULL pointer.
5096 Add space after cast.
5097
5098 2013-10-04 Alan Modra <amodra@gmail.com>
5099
5100 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5101 Use stdint types in rather than __attribute__((mode())).
5102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5103
5104 2013-10-04 Alan Modra <amodra@gmail.com>
5105
5106 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5107 Correct handling of unaligned relocs for little-endian.
5108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5109
5110 2013-10-04 Alan Modra <amodra@gmail.com>
5111
5112 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5113 * configure: Regenerate.
5114 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5115 * shlib-versions: Likewise.
5116
5117 2013-10-04 Alan Modra <amodra@gmail.com>
5118
5119 * string/tester.c (test_memrchr): Increment reported test cycle.
5120
5121 2013-10-04 Alan Modra <amodra@gmail.com>
5122
5123 * string/test-memcpy.c (do_one_test): When reporting errors, print
5124 string address and don't overrun end of string.
5125
5126 2013-10-04 Alan Modra <amodra@gmail.com>
5127
5128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5129 insrdi. Make better use of reg selection to speed exit slightly.
5130 Schedule entry path a little better. Remove useless "are we done"
5131 checks on entry to main loop. Handle wrapping around zero address.
5132 Correct main loop count. Handle single left-over word from main
5133 loop inline rather than by using loop_small. Remove extra word
5134 case in loop_small caused by wrong loop count. Add little-endian
5135 support.
5136 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5137 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5138 cache hint.
5139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5140 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5141 support. Avoid rlwimi.
5142 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5143
5144 2013-10-04 Alan Modra <amodra@gmail.com>
5145
5146 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5147 insrdi. Formatting.
5148 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5149 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5151 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5152 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5153 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5154
5155 2013-10-04 Alan Modra <amodra@gmail.com>
5156
5157 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5158 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5160 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5161 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5162 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5163 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5164 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5165 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5166 use of regs. Use power7 mtocrf. Tidy function tails.
5167
5168 2013-10-04 Alan Modra <amodra@gmail.com>
5169
5170 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5171 Formatting. Consistently use rXXX register defines or rN defines.
5172 Use early exit labels that avoid restoring unused non-volatile regs.
5173 Make cr field use more consistent with rWORDn compares. Rename
5174 regs used as shift registers for unaligned loop, using rN defines
5175 for short lifetime/multiple use regs.
5176 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5177 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5178 addi 1,1,64 to pop stack frame. Simplify return value code.
5179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5180
5181 2013-10-04 Alan Modra <amodra@gmail.com>
5182
5183 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5184 support. Correct typos, formatting. Optimize tail. Use insrdi
5185 rather than rlwimi.
5186 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5187 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5188 little-endian support. Correct typos.
5189 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5190 rather than rlwimi.
5191 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5192 in loop and entry code to keep "and." results.
5193 (strchr): Add little-endian support. Comment. Move cntlzd
5194 earlier in tail.
5195 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5196
5197 2013-10-04 Alan Modra <amodra@gmail.com>
5198
5199 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5200 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5201 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5202 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5203
5204 2013-10-04 Alan Modra <amodra@gmail.com>
5205
5206 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5207 (rTMP): Define as r11.
5208 (strcmp): Add little-endian support. Optimise tail.
5209 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5210 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5211 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5212 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5213 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5215 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5216
5217 2013-10-04 Alan Modra <amodra@gmail.com>
5218
5219 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5220 little-endian support. Remove unnecessary "are we done" tests.
5221 Handle "s" wrapping around zero and extremely large "size".
5222 Correct main loop count. Handle single left-over word from main
5223 loop inline rather than by using small_loop. Correct comments.
5224 Delete "zero" tail, use "end_max" instead.
5225 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5226
5227 2013-10-04 Alan Modra <amodra@gmail.com>
5228
5229 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5230 support. Don't branch over align.
5231 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5232 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5233 support. Rearrange tmp reg use to suit. Comment.
5234 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5235
5236 2013-10-04 Alan Modra <amodra@gmail.com>
5237
5238 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5239
5240 2013-10-04 Alan Modra <amodra@gmail.com>
5241
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5243 conditional form of branch and link when obtaining pc.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5245
5246 2013-10-04 Alan Modra <amodra@gmail.com>
5247
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5249 HIWORD/LOWORD.
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5252
5253 2013-10-04 Alan Modra <amodra@gmail.com>
5254
5255 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5256 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5257 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5258 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5259 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5260 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5261 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5263 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5264 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5265
5266 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5267 Alistair Popple <alistair@ozlabs.au.ibm.com>
5268 Alan Modra <amodra@gmail.com>
5269
5270 [BZ #15723]
5271 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5272 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5273 _dl_hwcap access for little-endian.
5274 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5275 destroy vmx regs when saving unaligned.
5276 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5277 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5278 destroy vmx regs when saving unaligned.
5279
5280 2013-10-04 Alan Modra <amodra@gmail.com>
5281
5282 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5283 Don't use a union to pack hi/low value.
5284
5285 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5286
5287 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5288 for little-endian.
5289 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5291 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5292 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5293 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5294
5295 2013-10-04 Alan Modra <amodra@gmail.com>
5296
5297 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5298 constants to usual value for .cst8 section, and remove redundant
5299 high address load.
5300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5301 constant for 0x1p52. Load little-endian words of double from
5302 correct stack offsets.
5303
5304 2013-10-04 Alan Modra <amodra@gmail.com>
5305
5306 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5307 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5308 words of double from correct stack offsets.
5309 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5310 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5311 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5314 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5316 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5317 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5318 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5321 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5322 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5323 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5325 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5326
5327 2013-10-04 Alan Modra <amodra@gmail.com>
5328
5329 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5330 64-bit int/double union.
5331 (_FPU_SETCW): Likewise.
5332 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5333 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5334
5335 2013-10-04 Alan Modra <amodra@gmail.com>
5336
5337 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5338 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5339
5340 2013-10-04 Alan Modra <amodra@gmail.com>
5341
5342 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5343 use vector int constants.
5344 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5345
5346 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5347
5348 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5349 array with long long.
5350 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5351 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5352 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5353 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5354 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5355 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5356 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5357 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5358 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5359 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5360 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5361 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5362 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5363
5364 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5365
5366 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5367 (__signbit): Likewise. Correct for little-endian.
5368 (__signbitl): Call __signbit.
5369 (lrint): Correct for little-endian.
5370 (lrintf): Call lrint.
5371
5372 2013-10-04 Alan Modra <amodra@gmail.com>
5373
5374 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5375 union 32-bit int array member with 64-bit int array.
5376 (t515, tm256): Double rather than long double.
5377 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5378
5379 2013-10-04 Alan Modra <amodra@gmail.com>
5380
5381 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5382 Delete.
5383 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5385 version of math_ldbl.h.
5386
5387 2013-10-04 Alan Modra <amodra@gmail.com>
5388
5389 [BZ #15734], [BZ #15735]
5390 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5391 all uses of ieee875 long double macros and unions. Simplify test
5392 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5393 ldbl_extract_mantissa value for ix,iy exponents. Properly
5394 normalize after ldbl_extract_mantissa, and don't add hidden bit
5395 already handled. Don't treat low word of ieee854 mantissa like
5396 low word of IBM long double and mask off bit when testing for
5397 zero.
5398 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5399 all uses of ieee875 long double macros and unions. Simplify tests
5400 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5401 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5402 two1022, instead use their values. Recognise that tests for large
5403 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5404 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5405 Rewrite all uses of ieee875 long double macros and unions. Simplify
5406 test for 0.0L and nan. Correct negation.
5407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5408 ieee875 long double macros and unions. Correct output for large
5409 magnitude x. Correct absolute value calculation.
5410 (__erfcl): Likewise.
5411 * math/libm-test.inc: Add tests for errors discovered in IBM long
5412 double versions of fmodl, remainderl, erfl and erfcl.
5413
5414 2013-10-04 Alan Modra <amodra@gmail.com>
5415
5416 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5417 all uses of ieee854 long double macros and unions. Simplify tests
5418 for long doubles that are fully specified by the high double.
5419 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5420 Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5422 Remove dead code too.
5423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5424 (__ieee754_ynl): Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5428 Remove dead code too.
5429 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5433 Simplify.
5434 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5435 Simplify.
5436 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5439 Comment on variable precision.
5440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5442 Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5447 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5448
5449 2013-10-04 Alan Modra <amodra@gmail.com>
5450
5451 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5453 all uses of ieee854 long double macros and unions.
5454 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5460 Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5467 Simplify sign and nan test too.
5468 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5470 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5472 Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5475 Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5482
5483 2013-10-04 Alan Modra <amodra@gmail.com>
5484
5485 * stdio-common/printf_size.c (__printf_size): Don't use
5486 union ieee854_long_double in fpnum union.
5487 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5488 signbit macro to retrieve sign from long double.
5489 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5490 retrieve sign from long double.
5491 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5492 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5493 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5494 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5495 * math/test-misc.c (main): Don't use union ieee854_long_double.
5496
5497 2013-10-04 Alan Modra <amodra@gmail.com>
5498
5499 [BZ #15680]
5500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5501 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5502 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5503 calculation. Remove unnecessary test for denormal exponent.
5504 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5505 Correct handling of denormals. Avoid undefined shift behaviour.
5506 Correct normalisation of low mantissa when low double is denormal.
5507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5508 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5509 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5510 Correct normalisation of low mantissa. Test for overflow of high
5511 mantissa and normalise.
5512 (ldbl_nearbyint): Use more readable constant for two52.
5513 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5514 (__mpn_construct_long_double): Fix test for overflow of high
5515 mantissa and correct normalisation. Avoid undefined shift.
5516
5517 2013-10-04 Alan Modra <amodra@gmail.com>
5518
5519 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5520 (union ibm_extended_long_double): Define as an array of ieee754_double.
5521 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5522 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5523 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5524 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5532
5533 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5534
5535 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5536 page size instead of calling getpagesize.
5537
5538 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5539 (LOCFILE_ALIGN_MASK): Likewise.
5540 (LOCFILE_ALIGN_UP): Likewise.
5541 (LOCFILE_ALIGNED_P): Likewise.
5542 * locale/programs/ld-collate.c (collate_output): Use the new
5543 macros instead of __alignof__ (int32_t).
5544 * locale/weight.h (findidx): Likewise.
5545
5546 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5547
5548 [BZ #431]
5549 * manual/string.texi: Fix strncat and wcsncat.
5550
5551 2013-10-03 Brooks Moses <bmoses@google.com>
5552
5553 [BZ #15915]
5554 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5555 * Makerules: ...here, and adjust associated comments.
5556
5557 2013-10-02 Will Newton <will.newton@linaro.org>
5558
5559 * malloc/Makefile: Add tst-pvalloc.
5560 * malloc/tst-pvalloc.c: New file.
5561
5562 2013-10-02 Will Newton <will.newton@linaro.org>
5563
5564 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5565 improve test coverage.
5566
5567 2013-10-02 Will Newton <will.newton@linaro.org>
5568
5569 * malloc/Makefile: Add tst-posix_memalign.
5570 * malloc/tst-posix_memalign.c: New file.
5571
5572 2013-10-01 Eric Blake <eblake@redhat.com>
5573
5574 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5575 Use __THROWNL rather than __THROW on static functions.
5576
5577 2013-09-30 Petr Machata <pmachata@redhat.com>
5578
5579 * elf/elf.h (R_AARCH64_ABS16): New macro.
5580 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5581 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5582 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5583 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5584 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5585 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5586 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5587 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5588 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5589 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5590 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5591 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5592 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5593 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5594 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5595 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5596 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5597 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5598 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5599 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5600 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5601 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5602 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5603 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5604 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5605 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5606 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5607 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5608 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5609 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5610 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5611 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5612 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5613 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5614 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5615 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5616 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5617 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5618 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5619 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5620 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5621 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5622 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5623 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5624 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5625 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5626 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5627 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5628 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5629 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5630 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5631 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5632 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5633 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5634 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5635 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5636 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5637 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5638 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5639 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5640 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5641 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5642 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5643 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5644 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5645 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5646 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5647 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5648 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5649 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5650 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5651 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5652 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5653 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5654 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5655 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5656 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5657 (R_AARCH64_TLSDESC_LDR): Likewise.
5658 (R_AARCH64_TLSDESC_ADD): Likewise.
5659 (R_AARCH64_TLSDESC_CALL): Likewise.
5660
5661 2013-09-30 Andreas Schwab <schwab@suse.de>
5662
5663 [BZ #15048]
5664 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5665 the nss database lookup.
5666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5668
5669 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5670
5671 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5672
5673 2013-09-28 P. J. McDermott <pj@pehjota.net>
5674
5675 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5676 ${Bash-specific parameter/pattern/string} parameter expansion.
5677 * sysdeps/unix/make-syscalls.sh: Likewise.
5678
5679 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5680
5681 * sysdeps/sh/stackguard-macros.h: New file.
5682
5683 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5684
5685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5687 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5688 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5689 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5690 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5691
5692 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693
5694 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5695 Fix thread ID register.
5696
5697 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5698
5699 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5700 [POSIX || UNIX98]: Require rather than permitting all symbols from
5701 <time.h>.
5702 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5703 element of struct sched_param.
5704 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5705 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5706 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5707 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5708 constant.
5709
5710 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5711
5712 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5713 argument calculation.
5714
5715 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5716
5717 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5718 Expect macro.
5719 [POSIX] (pthread_attr_t): Do not require type.
5720 [POSIX] (pthread_cond_t): Likewise.
5721 [POSIX] (pthread_condattr_t): Likewise.
5722 [POSIX] (pthread_key_t): Likewise.
5723 [POSIX] (pthread_mutex_t): Likewise.
5724 [POSIX] (pthread_mutexattr_t): Likewise.
5725 [POSIX] (pthread_once_t): Likewise.
5726 [POSIX] (pthread_t): Likewise.
5727 [POSIX-based standards] (pthread_atfork): Expect function.
5728
5729 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5730 Richard Sandiford <richard@codesourcery.com>
5731
5732 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5733 (swap_endianness_p): New extern variable.
5734 (set_big_endian): New inline function.
5735 (maybe_swap_uint32): Likewise.
5736 (maybe_swap_uint32_array): Likewise.
5737 (maybe_swap_uint32_obstack): Likewise.
5738 * locale/programs/locfile.c: Include <stdbool.h>.
5739 (swap_endianness_p): New variable.
5740 (add_locale_uint32): Call maybe_swap_uint32.
5741 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5742 (write_locale_data): Call maybe_swap_uint32_array.
5743 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5744 maybe_swap_uint32.
5745 (obstack_int32_grow_fast): Likewise.
5746 (output_weightwc): Call maybe_swap_uint32_obstack.
5747 (collate_output): Likewise.
5748 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5749 (OPT_LITTLE_ENDIAN): Likewise.
5750 (options): Add --little-endian and --big-endian options.
5751 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5752 * locale/programs/locarchive.c: Include "locfile.h".
5753 (GET): New macro.
5754 (SET): Likewise.
5755 (INC): Likewise.
5756 (create_archive): Use the new macros to access fields of
5757 structures directly mapped from or written to locale archives.
5758 (oldlocrecentcmp): Likewise.
5759 (enlarge_archive): Likewise.
5760 (insert_name): Likewise.
5761 (add_alias): Likewise.
5762 (add_locale): Likewise.
5763 (delete_locales_from_archive): Likewise.
5764 (show_archive_content): Likewise.
5765 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5766 locale data.
5767
5768 2013-09-24 Roland McGrath <roland@hack.frob.com>
5769
5770 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5771 http://www.gnu.org/doc/freemanuals.texi.
5772 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5773
5774 2013-09-24 Will Newton <will.newton@linaro.org>
5775
5776 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5777 macro.
5778
5779 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5780
5781 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5782 unsigned char.
5783
5784 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5785
5786 * manual/threads.texi (POSIX Threads): Fix a typo.
5787
5788 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5789
5790 [BZ #14547]
5791 * string/tst-strcoll-overflow.c: New test case.
5792 * string/Makefile (xtests): Add tst-strcoll-overflow.
5793 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5794 cache if string sizes may cause integer overflow.
5795
5796 [BZ #14547]
5797 * string/strcoll_l.c (coll_seq): New members rule, idx,
5798 save_idx and back_us.
5799 (get_next_seq_nocache): New function.
5800 (do_compare_nocache): New function.
5801 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5802 when malloc fails.
5803
5804 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5805
5806 [BZ #15754]
5807 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5808 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5809 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5810
5811 [BZ #15754]
5812 * elf/Makefile (tests): Add tst-ptrguard1.
5813 (tests-static): Add tst-ptrguard1-static.
5814 (tst-ptrguard1-ARGS): Define.
5815 (tst-ptrguard1-static-ARGS): Define.
5816 * elf/tst-ptrguard1.c: New file.
5817 * elf/tst-ptrguard1-static.c: New file.
5818 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5819 * sysdeps/i386/stackguard-macros.h: Likewise.
5820 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5821 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5822 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5823 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5824 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5825 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5826
5827 2013-09-23 Hector Marco <hecmargi@upv.es>
5828 Ismael Ripoll <iripoll@disca.upv.es>
5829 Carlos O'Donell <carlos@redhat.com>
5830
5831 [BZ #15754]
5832 * sysdeps/generic/stackguard-macros.h: Define
5833 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5834 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5835 Define __pointer_chk_guard_local.
5836 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5837 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5838
5839 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5840
5841 [BZ #15859]
5842 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5843
5844 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5845
5846 * include/string.h (__ffs): Declare as hidden.
5847 * string/ffs.c (__ffs): Define as hidden.
5848 * sysdeps/i386/ffs.c (__ffs): Likewise.
5849 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5850 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5851 * sysdeps/s390/ffs.c (__ffs): Likewise.
5852 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5853
5854 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5855
5856 * NEWS: Mention malloc probes.
5857
5858 * malloc/arena.c (new_heap): New memory_heap_new probe.
5859 (grow_heap): New memory_heap_more probe.
5860 (shrink_heap): New memory_heap_less probe.
5861 (heap_trim): New memory_heap_free probe.
5862 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5863 (systrim): New memory_sbrk_less probe.
5864 * manual/probes.texi: Document them.
5865
5866 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5867 * manual/probes.texi: Document it.
5868
5869 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5870 (__libc_realloc): Add memory_realloc_retry probe.
5871 (__libc_memalign): Add memory_memalign_retry probe.
5872 (__libc_valloc): Add memory_valloc_retry probe.
5873 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5874 (__libc_calloc): Add memory_calloc_retry probe.
5875 * manual/probes.texi: Document them.
5876
5877 * malloc/arena.c (get_free_list): Add probe
5878 memory_arena_reuse_free_list.
5879 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5880 and memory_arena_reuse.
5881 (arena_get2) [!PER_THREAD]: Likewise.
5882 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5883 memory_arena_reuse_realloc.
5884 * manual/probes.texi: Document them.
5885
5886 * malloc/malloc.c (__libc_free): Add
5887 memory_mallopt_free_dyn_thresholds probe.
5888 (__libc_mallopt): Add multiple memory_mallopt probes.
5889 * manual/probes.texi: Document them.
5890
5891 * malloc/malloc.c: Include stap-probe.h.
5892 (__libc_mallopt): Add memory_mallopt probe.
5893 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5894 * manual/probes.texi: New.
5895 * manual/Makefile (chapters): Add probes.
5896 * manual/threads.texi: Set next node.
5897
5898 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5899
5900 [BZ #15963, #13985]
5901 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5902 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5903 Add `Chinese' to `nan' entry name.
5904
5905 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5906
5907 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5908 (POLYNOMIAL): Likewise.
5909 (TAYLOR_SINCOS): Likewise.
5910 (TAYLOR_SLOW): Likewise.
5911 (__sin): Use TAYLOR_SINCOS.
5912 (__cos): Likewise.
5913 (slow): Use TAYLOR_SLOW.
5914 (sloww): Likewise.
5915 (bsloww): Likewise.
5916 (csloww): Likewise.
5917
5918 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5919
5920 * stdlib/strtod_l.c: Fix buffer overrun.
5921
5922 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5923
5924 * benchtests/Makefile (bench): Add sincos.
5925 * benchtests/bench-sincos.c: New file.
5926
5927 * math/libm-test.inc (cos_test_data): New test inputs.
5928 (sin_test_data): Likewise.
5929
5930 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5931 macro.
5932 (__sin): Use it.
5933 (__cos): Likewise.
5934 (slow1): Likewise.
5935 (slow2): Likewise.
5936 (sloww1): Likewise.
5937 (sloww2): Likewise.
5938 (bsloww1): Likewise.
5939 (bsloww2): Likewise.
5940 (cslow2): Likewise.
5941 (csloww1): Likewise.
5942 (csloww2): Likewise.
5943
5944 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5945 function.
5946 (__sin): Use it.
5947 (__cos): Likewise.
5948
5949 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5950 gotos.
5951 (__cos): Likewise.
5952
5953 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5954
5955 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5956 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5957 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5958 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5959 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5960 * elf/cache.c (print_entry): Handle the new cache flags.
5961
5962 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5963 Aldy Hernandez <aldyh@redhat.com>
5964
5965 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5966 Change condition to [_SOFT_FLOAT].
5967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5979 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5982 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5983 declaration.
5984
5985 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5986
5987 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5988 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5989 (__longjmp): Use LOAD_GP to load saved GPRs.
5990 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5991 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5992 (__sigsetjmp): Use SAVE_GP to save GPRs.
5993
5994 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5995 Do not append -msoft-float.
5996 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5997
5998 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5999
6000 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6001
6002 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6003
6004 [BZ #15966]
6005 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6006 (_FPU_GETCW): Use initial "__" on variable and field names but not
6007 on macro parameter name.
6008 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6009 parentheses around reference to macro parameter.
6010
6011 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6012
6013 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6014 prototype.
6015 (ctype_startup): Use uint32_t in cast and sizeof for
6016 ctype->charnames.
6017
6018 2013-09-11 Jia Liu <proljc@gmail.com>
6019
6020 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6021 __daddr_t_defined.
6022 [__FreeBSD__]: Likewise.
6023
6024 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6025
6026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6027 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6028 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6029 (strchr): Remove __strchr_sse42 ifunc selection.
6030 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6031 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6032
6033 2013-09-11 Will Newton <will.newton@linaro.org>
6034
6035 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6036 parameter to RES. Remove hardcoded 1000 value.
6037 * benchtests/bench-skeleton.c (main): Pass RES parameter
6038 to TIMING_INIT and multiply result by 1000.
6039
6040 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6041
6042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6043
6044 2013-09-11 Andreas Schwab <schwab@suse.de>
6045
6046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6047 if not defined.
6048 (O_TMPFILE) [__USE_GNU]: Define.
6049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6050 Define.
6051
6052 2013-09-11 Will Newton <will.newton@linaro.org>
6053
6054 [BZ #15857]
6055 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6056 does not overflow.
6057
6058 2013-09-11 Will Newton <will.newton@linaro.org>
6059
6060 [BZ #15856]
6061 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6062 does not overflow.
6063
6064 2013-09-11 Will Newton <will.newton@linaro.org>
6065
6066 [BZ #15855]
6067 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6068 does not overflow.
6069
6070 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6071
6072 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6073 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6077
6078 2013-09-10 Allan McRae <allan@archlinux.org>
6079
6080 [BZ #15748]
6081 * manual/arith.texi (Parsing of Floats): Clarify
6082 cross-reference.
6083
6084 [BZ #15849]
6085 * manual/install.texi (Running make install): Mention
6086 --enable-pt-chown.
6087 * INSTALL: Regenerated.
6088
6089 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6090
6091 * csu/init-first.c (_init): Remove the !SHARED condition around
6092 FPU control word initialization.
6093 * elf/dl-support.c (_dl_fpu_control): New variable.
6094 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6095 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6096 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6097 * math/test-fpucw-static.c: New file.
6098 * math/test-fpucw-ieee.c: New file.
6099 * math/test-fpucw-ieee-static.c: New file.
6100 * math/Makefile (tests): Add `test-fpucw-ieee' and
6101 `$(tests-static)'.
6102 (tests-static): New variable.
6103 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6104 dependency to...
6105 [($(build-shared),yes)]
6106 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6107 ... this.
6108 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6109 New dependency.
6110
6111 2013-09-09 Allan McRae <allan@archlinux.org>
6112
6113 [BZ #15939]
6114 * manual/string.texi (Collation Functions): Fix typo in
6115 strcoll example.
6116 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6117
6118 [BZ #15893]
6119 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6120
6121 [BZ #15892]
6122 * libio/memstream.c (open_memstream): Fix memory leak.
6123 * libio/wmemstream.c (open_wmemstream): Likewise.
6124
6125 [BZ #15895]
6126 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6127
6128 2013-09-09 Will Newton <will.newton@linaro.org>
6129
6130 * malloc/Makefile: Add tst-realloc to tests.
6131 * malloc/tst-realloc.c: New file.
6132
6133 2013-09-09 Allan McRae <allan@archlinux.org>
6134
6135 [BZ #15844]
6136 * COPYING: Update from GNU website to fix FSF address.
6137 * COPYING.LIB: Likewise.
6138
6139 2013-09-06 David S. Miller <davem@davemloft.net>
6140
6141 * po/zh_TW.po: Update Chinese (traditional) translation from
6142 translation project.
6143
6144 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6145 Joseph Myers <joseph@codesourcery.com>
6146
6147 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6148 "localeinfo.h".
6149 (obstack_chunk_alloc): New macro.
6150 (obstack_chunk_free): Likewise.
6151 (record_offset): New function.
6152 (init_locale_data): Likewise.
6153 (align_locale_data): Likewise.
6154 (add_locale_empty): Likewise.
6155 (add_locale_raw_data): Likewise.
6156 (add_locale_raw_obstack): Likewise.
6157 (add_locale_string): Likewise.
6158 (add_locale_wstring): Likewise.
6159 (add_locale_uint32): Likewise.
6160 (add_locale_uint32_array): Likewise.
6161 (add_locale_char): Likewise.
6162 (start_locale_structure): Likewise.
6163 (end_locale_structure): Likewise.
6164 (start_locale_prelude): Likewise.
6165 (end_locale_prelude): Likewise.
6166 (write_locale_data): Take locale_file structure rather than an
6167 iovec.
6168 * locale/programs/locfile.h: Include "obstack.h".
6169 (struct locale_file): Change to store locale file contents instead
6170 of header.
6171 (init_locale_data): New prototype.
6172 (align_locale_data): Likewise.
6173 (add_locale_empty): Likewise.
6174 (add_locale_raw_data): Likewise.
6175 (add_locale_raw_obstack): Likewise.
6176 (add_locale_string): Likewise.
6177 (add_locale_wstring): Likewise.
6178 (add_locale_uint32): Likewise.
6179 (add_locale_uint32_array): Likewise.
6180 (add_locale_char): Likewise.
6181 (start_locale_structure): Likewise.
6182 (end_locale_structure): Likewise.
6183 (start_locale_prelude): Likewise.
6184 (end_locale_prelude): Likewise.
6185 (write_locale_data): Update prototype.
6186 * locale/programs/3level.h (struct TABLE): Remove result field.
6187 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6188 Use new locale_file interface.
6189 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6190 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6191 * locale/programs/ld-address.c (address_output): Use new
6192 locale_file interface.
6193 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6194 NO_ADD_LOCALE.
6195 (collate_finish): Don't call collseq_table_finalize.
6196 (collate_output): Use new locale_file interface.
6197 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6198 in file.
6199 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6200 (TABLE): Move defines earlier in file.
6201 (ELEMENT): Likewise.
6202 (DEFAULT): Likewise.
6203 (wctrans_table_add): Move macro and inline function earlier in
6204 file.
6205 (struct wctype_table): Move type earlier in file.
6206 (add_locale_wctype_table): New static prototype.
6207 (struct locale_ctype_t): Use logical types instead of struct iovec
6208 pointers for members.
6209 (ctype_output): Use new locale_file interface.
6210 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6211 new locale_file interface.
6212 (allocate_arrays): Update for use of new locale_file interface.
6213 * locale/programs/ld-identification.c (identification_output): Use
6214 new locale_file interface.
6215 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6216 * locale/programs/ld-messages.c (messages_output): Likewise.
6217 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6218 * locale/programs/ld-name.c (name_output): Likewise.
6219 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6220 * locale/programs/ld-paper.c (paper_output): Likewise.
6221 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6222 * locale/programs/ld-time.c (time_output): Likewise.
6223
6224 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6225
6226 * benchtests/Makefile: Add memrchr benchmark.
6227 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6228 benchmark as memrchr.
6229 * benchtests/bench-memrchr-ifunc.c: New file.
6230 * benchtests/bench-memrchr.c: New file.
6231
6232 2013-09-06 Will Newton <will.newton@linaro.org>
6233
6234 * benchtests/Makefile (string-bench): Add memcpy.
6235
6236 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6237 Cong Wang <amwang@redhat.com>
6238
6239 [BZ #15850]
6240 * sysdeps/unix/sysv/linux/bits/in.h
6241 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6242 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6243 before __USE_KERNEL_IPV6_DEFS uses.
6244 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6245 IPPROTO_BEETPH.
6246 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6247 sockaddr_in6, or ipv6_mreq.
6248
6249 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250
6251 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6252 memory access for final bytes in some large inputs.
6253 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6254
6255 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6256
6257 * string/test-memrchr.c: New file.
6258 * string/test-memrchr-ifunc.c: New file.
6259 * string/Makefile: Add new memrchr testcase.
6260
6261 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6262
6263 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6264 fanotify_init returns EPERM.
6265
6266 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6267
6268 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6269 errors.
6270 (top level): Treat second token from macro or constant entries for
6271 allowed headers as allowed.
6272 * include/complex.h: Condition internal declarations on
6273 [!_ISOMAC].
6274 * include/fenv.h: Condition include of <stdbool.h> and internal
6275 declarations on [!_ISOMAC].
6276
6277 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6278
6279 [BZ #15923]
6280 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6281
6282 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6283
6284 * configure.in (--enable-versioning): Remove configure option.
6285 (libc_cv_asm_symver_directive): Remove configure test.
6286 (libc_cv_ld_version_script_option): Likewise.
6287 (VERSIONING): Remove variable and AC_SUBST.
6288 (DO_VERSIONING): Remove AC_DEFINE.
6289 * configure: Regenerated.
6290 * config.h.in (DO_VERSIONING): Remove macro.
6291 * Makerules [$(versioning) = yes]: Change conditionals to
6292 [$(build-shared) = yes].
6293 * config.make.in (versioning): Remove variable.
6294 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6295 [$(build-shared) = yes].
6296 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6297 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6298 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6299 [$(build-shared) = yes].
6300 * extra-lib.mk [$(versioning) = yes]: Likewise.
6301 * hurd/Makefile [$(versioning) = yes]: Likewise.
6302 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6303 [SHARED].
6304 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6305 [SHARED].
6306 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6307 [SHARED && !NO_HIDDEN].
6308 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6309 [SHARED].
6310 [SHARED && DO_VERSIONING]: Likewise..
6311 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6312 [$(build-shared) = yes].
6313 * manual/install.texi (--disable-versioning): Remove
6314 documentation.
6315 * INSTALL: Regenerated.
6316 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6317 to [SHARED].
6318 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6319 [$(build-shared) = yes].
6320 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6321 * sysdeps/i386/i686/multiarch/strstr-c.c
6322 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6323 [SHARED && !NO_HIDDEN].
6324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6325 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6326 * sysdeps/powerpc/powerpc32/dl-machine.c
6327 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6328 * sysdeps/powerpc/powerpc32/sysdep.h
6329 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6330 to [SHARED && PIC && !NO_HIDDEN].
6331 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6332 conditional to [SHARED].
6333
6334 2013-09-04 Will Newton <will.newton@linaro.org>
6335
6336 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6337 * benchtests/bench-string.h: Include bench-timing.h instead
6338 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6339 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6340 call to HP_TIMING_DIFF_INIT.
6341 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6342 instead of hp-timing.h macros.
6343 * benchtests/bench-memchr.c: Likewise.
6344 * benchtests/bench-memcmp.c: Likewise.
6345 * benchtests/bench-memcpy.c: Likewise.
6346 * benchtests/bench-memmem.c: Likewise.
6347 * benchtests/bench-memmove.c: Likewise.
6348 * benchtests/bench-memset.c: Likewise.
6349 * benchtests/bench-rawmemchr.c: Likewise.
6350 * benchtests/bench-strcasecmp.c: Likewise.
6351 * benchtests/bench-strcasestr.c: Likewise.
6352 * benchtests/bench-strcat.c: Likewise.
6353 * benchtests/bench-strchr.c: Likewise.
6354 * benchtests/bench-strcmp.c: Likewise.
6355 * benchtests/bench-strcpy.c: Likewise.
6356 * benchtests/bench-strcpy_chk.c: Likewise.
6357 * benchtests/bench-strlen.c: Likewise.
6358 * benchtests/bench-strncasecmp.c: Likewise.
6359 * benchtests/bench-strncat.c: Likewise.
6360 * benchtests/bench-strncmp.c: Likewise.
6361 * benchtests/bench-strncpy.c: Likewise.
6362 * benchtests/bench-strnlen.c: Likewise.
6363 * benchtests/bench-strpbrk.c: Likewise.
6364 * benchtests/bench-strrchr.c: Likewise.
6365 * benchtests/bench-strspn.c: Likewise.
6366 * benchtests/bench-strstr.c: Likewise.
6367
6368 2013-09-04 Will Newton <will.newton@linaro.org>
6369
6370 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6371
6372 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6373
6374 [BZ #15427]
6375 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6376 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6377 * math/libm-test.inc (lgamma_test_data): Add more tests.
6378 * sysdeps/i386/fpu/libm-test-ulps: Update.
6379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6380
6381 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6382
6383 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6385 Add ifunc.
6386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6387 Add strcmp-sse2-unaligned
6388 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6389
6390 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6391
6392 * Versions.def (libc): Add GLIBC_2.19.
6393
6394 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6395
6396 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6397 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6398
6399 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6400
6401 [BZ #14155]
6402 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6403 intermediate calculations in recurrence.
6404 (__ieee754_ynf): Likewise.
6405 * math/libm-test.inc (jn_test_data): Do not allow spurious
6406 underflow exception. Add more tests.
6407 (yn_test_data): Add more tests.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6410
6411 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6412
6413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6414
6415 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6416
6417 * csu/init-first.c: Fix then/than typos.
6418 * locale/programs/ld-collate.c: Likewise.
6419 * locale/programs/linereader.h: Likewise.
6420 * manual/charset.texi: Likewise.
6421 * manual/filesys.texi: Likewise.
6422 * manual/stdio.texi: Likewise.
6423 * manual/string.texi: Likewise.
6424 * stdlib/fmtmsg.c: Likewise.
6425 * sysdeps/i386/stpncpy.S: Likewise.
6426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6428 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6429 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6430
6431 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6432
6433 * elf/dl-open.c: Fix typos.
6434 * iconvdata/gbbig5.c: Likewise.
6435 * iconvdata/iso-2022-jp.c: Likewise.
6436 * iconv/gconv_int.h: Likewise.
6437 * iconv/loop.c: Likewise.
6438 * nis/rpcsvc/nis.h: Likewise.
6439 * resolv/ns_name.c: Likewise.
6440 * stdio-common/vfscanf.c: Likewise.
6441 * streams/stropts.h: Likewise.
6442 * sunrpc/rpc_thread.c: Likewise.
6443 * sysdeps/i386/strpbrk.S: Likewise.
6444 * sysdeps/ieee754/k_standard.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6447 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6448 * sysdeps/mach/hurd/profil.c: Likewise.
6449 * sysdeps/s390/dl-procinfo.h: Likewise.
6450 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6451 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6453 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6455
6456 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6457
6458 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6460
6461 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6462
6463 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6464 aix specific files.
6465 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6466 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6467 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6468 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6469 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6470 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6471 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6472 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6473
6474 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6475 Roland McGrath <roland@hack.frob.com>
6476
6477 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6478 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6479
6480 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6481
6482 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6483 __executable_start symbol instead of _start.
6484
6485 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6486
6487 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6488 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6489 Move macros to...
6490 * sysdeps/gnu/ldsodefs.h: ... this new file.
6491
6492 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6493 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6494 instead of ELFOSABI_LINUX.
6495
6496 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6497 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6498 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6499 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6500 Likewise.
6501 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6502 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6504 Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6506 (ibm_extended_long_double): Add ieee_nan member.
6507 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6508 (do_test): New function.
6509
6510 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6511 TEST_TRUNC.
6512 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6513 functions, renamed from truncdfsf_test, trunctfsf_test,
6514 trunctfdf_test.
6515 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6516 functions.
6517 (do_test): Run all these.
6518
6519 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6520
6521 * argp/argp-help.c: Fix typos.
6522 * argp/argp-parse.c: Likewise.
6523 * debug/backtracesyms.c: Likewise.
6524 * elf/elf.h: Likewise.
6525 * malloc/malloc.c: Likewise.
6526 * nis/nis_print.c: Likewise.
6527 * resolv/res_comp.c: Likewise.
6528 * stdlib/stdlib.h: Likewise.
6529 * sunrpc/clnt_tcp.c: Likewise.
6530 * sunrpc/clnt_udp.c: Likewise.
6531 * sunrpc/clnt_unix.c: Likewise.
6532 * sysdeps/unix/bsd/ptsname.c: Likewise.
6533 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6536 Likewise.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6538 Likewise.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6540 Likewise.
6541 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6542
6543 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6544
6545 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6547
6548 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6549
6550 [BZ #15897]
6551 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6552 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6553 ($(objpfx)bug-dl-leaf): New rule.
6554 ($(objpfx)bug-dl-leaf.so): Likewise.
6555 ($(objpfx)bug-dl-leaf.out): Likewise.
6556 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6557 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6558 * dlfcn/bug-dl-leaf.c: New test.
6559 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6560 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6561 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6562 (dlclose): Likewise.
6563 (dlmopen): Likewise.
6564
6565 2013-08-27 Roland McGrath <roland@hack.frob.com>
6566
6567 * include/netdb.h [!_ISOMAC]:
6568 Don't include <tls.h>.
6569 (h_errno, __libc_h_errno): Move declaration and macros out of
6570 [_LIBC_REENTRANT].
6571
6572 * include/resolv.h [_RESOLV_H_]:
6573 Don't include <tls.h>.
6574 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6575 * resolv/res_libc.c: Don't include <tls.h>.
6576 (_res): Use __attribute__ ((nocommon)) in place of
6577 __attribute__ ((section (".bss"))).
6578
6579 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6580 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6581
6582 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6583
6584 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6585 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6586
6587 * resolv/res_mkquery.c: Include <sys/time.h>.
6588
6589 * inet/ifreq.c: Moved to ...
6590 * sysdeps/unix/ifreq.c: ... here.
6591 * inet/ifreq.c: New file, true stub version.
6592
6593 * socket/sa_len.c: New file.
6594 * socket/Makefile (aux): Add it.
6595 * sysdeps/unix/sysv/linux/Makefile
6596 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6597 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6598 and #include <socket/sa_len.c>.
6599 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6600 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6601
6602 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6603 * bits/socket.h: ... here.
6604
6605 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6606 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6607 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6608
6609 2013-08-27 Andreas Schwab <schwab@suse.de>
6610
6611 [BZ #15736]
6612 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6613 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6614 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6615 * string/test-strcasecmp.c (test_main): Run tests in several
6616 locales.
6617 * string/test-strncasecmp.c (test_main): Likewise.
6618
6619 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6620 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6621 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6623 (__strncasecmp_ssse3) [PIC]: Likewise.
6624
6625 2013-08-26 Roland McGrath <roland@hack.frob.com>
6626
6627 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6628
6629 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6630 instead of explicitly declaring xdecrypt.
6631 * nis/nss_nis/nis-publickey.c: Likewise.
6632
6633 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6634
6635 [BZ #15890]
6636 * nscd/aicache.c: Include res_hconf.h.
6637 (addhstaiX): Initialize res_hconf.
6638
6639 2013-08-26 Andreas Schwab <schwab@suse.de>
6640
6641 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6642 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6643
6644 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6645
6646 * nscd/aicache.c (addhstaiX): Fix indentation.
6647
6648 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6649
6650 * configure.ac: Quote $build_pt_chown test.
6651 * configure: Regenerated.
6652
6653 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6654
6655 [BZ #15532]
6656 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6657 * math/s_cexpf.c (__cexpf): Likewise.
6658 * math/s_cexpl.c (__cexpl): Likewise.
6659 * math/libm-test.inc (cexp_test_data): Correct expected return
6660 value for NaN + i0. Add another test.
6661
6662 2013-08-22 David S. Miller <davem@davemloft.net>
6663
6664 * po/ca.po: Update Catalan translation from translation project.
6665 * po/uk.po: Add Ukrainian translations from translation project.
6666
6667 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6668
6669 [BZ #15797]
6670 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6671 is infinite, not alongside NaN test.
6672 * math/s_fdimf.c (__fdimf): Likewise.
6673 * math/s_fdiml.c (__fdiml): Likewise.
6674 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6675 errno is unchanged.
6676
6677 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6678
6679 * argp/argp-help.c: Fix typos.
6680 * crypt/speeds.c: Likewise.
6681 * csu/check_fds.c: Likewise.
6682 * elf/dl-load.c: Likewise.
6683 * elf/dl-open.c: Likewise.
6684 * elf/reldep3.c: Likewise.
6685 * elf/reldep.c: Likewise.
6686 * elf/sprof.c: Likewise.
6687 * iconv/iconv_charmap.c: Likewise.
6688 * iconv/skeleton.c: Likewise.
6689 * iconv/strtab.c: Likewise.
6690 * io/lockf64.c: Likewise.
6691 * libio/libioP.h: Likewise.
6692 * resolv/gai_notify.c: Likewise.
6693 * resolv/ns_name.c: Likewise.
6694 * resolv/ns_samedomain.c: Likewise.
6695 * resolv/res_send.c: Likewise.
6696 * stdlib/random.c: Likewise.
6697 * sunrpc/rpc/xdr.h: Likewise.
6698 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6699 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6700 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6701 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6703 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6705 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6706 * sysdeps/mach/hurd/check_fds.c: Likewise.
6707 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6708 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6712 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6713 * sysdeps/pthread/aio_notify.c: Likewise.
6714 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6715 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6718 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6719
6720 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6721
6722 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6723 version if bit_Slow_SSE4_2 is set.
6724 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6726
6727 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728
6729 [BZ #15867]
6730 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6731 trampoline stack frame information.
6732 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6734 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6735 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6736 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6737 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6738 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6739 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6740 sa_flags value.
6741 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6742 interrupting a syscall and set with option SA_SIGINFO.
6743
6744 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6745
6746 [BZ #15531]
6747 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6748 argument is infinite.
6749 * math/s_cprojf.c (__cprojf): Likewise.
6750 * math/s_cprojl.c (__cprojl): Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6752 * math/libm-test.inc (cproj_test_data): Add more tests.
6753
6754 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6755
6756 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6757 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6758 size. Use __ffs to determine corresponding shift.
6759
6760 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6761 Roland McGrath <roland@hack.frob.com>
6762
6763 * Makefile (INSTALL): Remove trailing blank lines from output of
6764 makeinfo.
6765
6766 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6767
6768 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6769 Align 32 bit compat elf_greg to 8 bytes.
6770
6771 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6772
6773 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6774
6775 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6776
6777 * string/strcoll_l.c (coll_seq): New structure.
6778 (get_next_seq_cached): New function.
6779 (get_next_seq): New function.
6780 (do_compare): New function.
6781 (STRCOLL): Use GNU style definition. Simplify implementation
6782 by using get_next_seq, get_next_seq_cached and do_compare.
6783
6784 2013-08-16 Florian Weimer <fweimer@redhat.com>
6785
6786 [BZ #14699]
6787 CVE-2013-4237
6788 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6789 member.
6790 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6791 member.
6792 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6793 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6794 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6795 conditional.
6796 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6797 GETDENTS_64BIT_ALIGNED.
6798 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6799 * manual/filesys.texi (Reading/Closing Directory): Document
6800 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6801 strongly.
6802 * manual/conf.texi (Limits for Files): Add portability note to
6803 NAME_MAX, PATH_MAX.
6804 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6805
6806 2013-08-13 Andreas Schwab <schwab@suse.de>
6807
6808 [BZ #15749]
6809 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6810 of fabs.
6811 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6812 LDBL_MAX_EXP >= 16384]: Add tests for it.
6813
6814 2013-08-12 David S. Miller <davem@davemloft.net>
6815
6816 * version.h (RELEASE): Set to "development".
6817 (VERSION): Set to "2.18.90".
6818 * NEWS: Add 2.19 section.
6819
6820 2013-08-03 David S. Miller <davem@davemloft.net>
6821
6822 * po/ko.po: Update Korean translation from translation project.
6823
6824 2013-08-01 David S. Miller <davem@davemloft.net>
6825
6826 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6827 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6828 Bilka.
6829
6830 2013-07-30 David S. Miller <davem@davemloft.net>
6831
6832 * po/fr.po: Update French translation from translation project.
6833
6834 2013-07-28 David S. Miller <davem@davemloft.net>
6835
6836 * po/cs.po: Update Czech translation from translation project.
6837
6838 * po/sv.po: Update Swedish translation from translation project.
6839
6840 2013-07-27 David S. Miller <davem@davemloft.net>
6841
6842 * po/eo.po: Update Esperanto translation from translation project.
6843
6844 * po/vi.po: Update Vietnamese translation from translation project.
6845
6846 * po/de.po: Update German translation from translation project.
6847
6848 2013-07-26 David S. Miller <davem@davemloft.net>
6849
6850 * po/bg.po: Update Bulgarian translation from translation project.
6851
6852 * po/nl.po: Update Dutch translation from translation project.
6853 * po/pl.po: Update Polish translation from translation project.
6854 * po/ru.po: Update Russian translation from translation project.
6855
6856 2013-07-24 David S. Miller <davem@davemloft.net>
6857
6858 * po/libc.pot: Update.
6859
6860 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6861
6862 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6863 variable page size.
6864 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6865 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6866 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6867
6868 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6869
6870 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6871
6872 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6873 Andreas Schwab <schwab@suse.de>
6874 Roland McGrath <roland@hack.frob.com>
6875 Joseph Myers <joseph@codesourcery.com>
6876 Carlos O'Donell <carlos@redhat.com>
6877
6878 [BZ #15755]
6879 * config.h.in: Define HAVE_PT_CHOWN.
6880 * config.make.in (build-pt-chown): New variable.
6881 * configure.in (--enable-pt_chown): New configure option.
6882 * configure: Regenerate.
6883 * login/Makefile: Include Makeconfig. Build pt_chown only if
6884 build-pt-chown is enabled.
6885 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6886 pt_chown to fix pty ownership.
6887 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6888 CLOSE_ALL_FDS.
6889 * manual/install.texi (Configuring and compiling): Mention
6890 --enable-pt_chown. Add @findex for grantpt.
6891 * INSTALL: Regenerate.
6892
6893 2013-07-20 David S. Miller <davem@davemloft.net>
6894
6895 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6896 difference between 32-bit and 64-bit.
6897
6898 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6899
6900 [BZ #15711]
6901 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6902 Avoid system header dependency with -ffreestanding.
6903 ($(objpfx)bits/syscall%d): Likewise.
6904
6905 2013-07-13 David S. Miller <davem@davemloft.net>
6906
6907 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6908 underflows from atanl/atan2l due to bug 15319.
6909 (casinh_test_data): Likewise.
6910
6911 2013-07-07 David S. Miller <davem@davemloft.net>
6912
6913 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6914
6915 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6916
6917 * sysdeps/i386/fpu/libm-test-ulps: Update.
6918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6919
6920 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
6922 * configure.in (--enable-lock-elision): Fix message text.
6923 * INSTALL: Regenerate.
6924 * configure: Regenerate.
6925
6926 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6927
6928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6929
6930 2013-07-03 Andreas Jaeger <aj@suse.de>
6931
6932 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6933 define.
6934 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6935 (ptrace_peeksiginfo_args): Add.
6936 (__ptrace_peeksiginfo_flags): Add.
6937 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6939 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6940
6941 2013-07-03 Allan McRae <allan@archlinux.org>
6942
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944
6945 2013-07-02 David S. Miller <davem@davemloft.net>
6946
6947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6948
6949 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6950
6951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6952
6953 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6954
6955 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6957
6958 2013-07-02 Andi Kleen <ak@linux.intel.com>
6959
6960 * config.h.in (ENABLE_LOCK_ELISION): Add.
6961 * configure.in (--enable-lock-elision): Add option.
6962 * manual/install.texi: Document --enable lock elision.
6963 * configure: Regenerate
6964 * INSTALL: Regenerate.
6965
6966 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6967
6968 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6969 SSE4.2 strcasecmp for libc.a.
6970 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6971
6972 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6973
6974 [BZ #13304]
6975 * soft-fp/op-common.h (_FP_FMA): New macro.
6976 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6977 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6978 (_FP_MUL_MEAT_1_imm): ... here.
6979 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6980 (_FP_MUL_MEAT_1_wide): ... here.
6981 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6982 (_FP_MUL_MEAT_1_hard): ... here.
6983 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6984 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6985 (_FP_MUL_MEAT_2_wide): ... here.
6986 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6987 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6988 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6989 (_FP_MUL_MEAT_2_gmp): ... here.
6990 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6991 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6992 (_FP_MUL_MEAT_4_wide): ... here.
6993 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6994 (_FP_MUL_MEAT_4_gmp): ... here.
6995 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6996 (_FP_WFRACBITS_DW_S): Likewise.
6997 (_FP_WFRACXBITS_DW_S): Likewise.
6998 (_FP_HIGHBIT_DW_S): Likewise.
6999 (FP_FMA_S): Likewise.
7000 (_FP_FRAC_HIGH_DW_S): Likewise.
7001 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7002 (_FP_WFRACBITS_DW_D): Likewise.
7003 (_FP_WFRACXBITS_DW_D): Likewise.
7004 (_FP_HIGHBIT_DW_D): Likewise.
7005 (FP_FMA_D): Likewise.
7006 (_FP_FRAC_HIGH_DW_D): Likewise.
7007 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7008 (_FP_WFRACBITS_DW_E): Likewise.
7009 (_FP_WFRACXBITS_DW_E): Likewise.
7010 (_FP_HIGHBIT_DW_E): Likewise.
7011 (FP_FMA_E): Likewise.
7012 (_FP_FRAC_HIGH_DW_E): Likewise.
7013 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7014 (_FP_WFRACBITS_DW_Q): Likewise.
7015 (_FP_WFRACXBITS_DW_Q): Likewise.
7016 (_FP_HIGHBIT_DW_Q): Likewise.
7017 (FP_FMA_Q): Likewise.
7018 (_FP_FRAC_HIGH_DW_Q): Likewise.
7019 * soft-fp/fmasf4.c: New file.
7020 * soft-fp/fmadf4.c: Likewise.
7021 * soft-fp/fmatf4.c: Likewise.
7022
7023 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7024
7025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7026 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7027 Silvermont.
7028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7029 macro.
7030 (index_Slow_SSE4_2): Likewise.
7031 (index_Prefer_PMINUB_for_stringop): Likewise.
7032 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7033 bit_Slow_SSE4_2 is set.
7034 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7036
7037 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7038
7039 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7040 rtld_global._dl_hwcap2.
7041 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7042 POWER8.
7043 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7044 POWER8 feature descriptions defined in _dl_hwcap2.
7045 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7046 string handling for POWER8 feature bits.
7047 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7048 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7049 _dl_powerpc_cap_flags.
7050 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7051 * sysdeps/powerpc/rtld-global-offsets.sym
7052 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7053 _dl_hwcap2 in the rtld_global_ro structure.
7054
7055 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7056
7057 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7058 hardware capabilities in support of AT_HWCAP2.
7059 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7060 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7061 GLRO(dl_hwcap2).
7062 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7063 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7064 explicitly the unknown a_type display mechanism is used.
7065 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7066 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7067 struct member.
7068 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7069 to macro prototype for AT_HWCAP2 support.
7070 * sysdeps/i386/dl-procinfo.h: Likewise.
7071 * sysdeps/s390/dl-procinfo.h: Likewise.
7072 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7073 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7074 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7075 return -1 for unknown a_type display fallback.
7076 * sysdeps/sparc/dl-procinfo.h: Likewise.
7077 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7078 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7079
7080 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7081
7082 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7083 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7084
7085 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7086
7087 [BZ #12492]
7088 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7089 mprotect making __stack_prot writable.
7090
7091 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7092 Joseph Myers <joseph@codesourcery.com>
7093
7094 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7095 as being properly aligned.
7096
7097 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7098
7099 * dlfcn/modstatic5.c: New file.
7100 * dlfcn/tststatic5.c: New file.
7101 * dlfcn/Makefile (tests): Add tststatic5.
7102 (tests-static): Likewise.
7103 (modules-names): Add modstatic5.
7104 (tststatic5-ENV): New variable.
7105 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7106
7107 [BZ #15022]
7108 * elf/dl-support.c (_dl_main_map): New variable.
7109 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7110 (_dl_nns, _dl_load_adds): Set to 1.
7111 (_dl_initial_searchlist): Refer to _dl_main_map.
7112 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7113 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7114 call to _dl_get_origin.
7115 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7116 around call_map.
7117 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7118 * dlfcn/modstatic3.c: New file.
7119 * dlfcn/tststatic3.c: New file.
7120 * dlfcn/tststatic4.c: New file.
7121 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7122 (tests-static): Likewise.
7123 (modules-names): Add modstatic3.
7124 (tststatic3-ENV, tststatic4-ENV): New variables.
7125 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7126 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7127
7128 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7129
7130 * configure.in (CC): Require GCC version 4.4 or later.
7131 * configure: Regenerated.
7132 * manual/install.texi (Tools for Compilation): Update GCC version
7133 requirement.
7134 * INSTALL: Regenerated.
7135
7136 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7137
7138 [BZ #15674]
7139 * string/test-memcmp.c (check2): New.
7140 (main): Call check2.
7141
7142 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7143
7144 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7145
7146 [BZ #15022]
7147 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7148 over to...
7149 (dl_open_worker) [!SHARED]: ... here.
7150
7151 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7152
7153 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7154
7155 2013-06-25 Richard Henderson <rth@redhat.com>
7156
7157 * locale/programs/locarchive.c: Include <libc-internal.h>
7158
7159 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7160
7161 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7162 trailing whitespace removed.
7163
7164 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7165
7166 [BZ #10283]
7167 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7168 * locale/programs/locarchive.c: Include libc-mmap.h.
7169 (prepare_address_space): Take two new outputs (the mmap base and len).
7170 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7171 values.
7172 (create_archive): Declare new mmap base and len values for
7173 prepare_address_space, and store the result in ah.
7174 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7175 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7176 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7177 Declare new mmap base and len values for
7178 prepare_address_space, and store the result in new_ah.
7179 (open_archive): Declare new mmap base and len values for
7180 prepare_address_space, and store the result in ah.
7181 (close_archive): If ah->mmap_base is not NULL, use that and
7182 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7183 * sysdeps/generic/libc-mmap.h: New file.
7184
7185 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7186
7187 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7188 (ALIGN_UP): Likewise.
7189 (PTR_ALIGN_DOWN): Likewise.
7190 (PTR_ALIGN_UP): Likewise.
7191
7192 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7193
7194 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7195 entry mapped to PPC_PLATFORM_POWER8.
7196 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7197 POWER8.
7198 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7199 (_dl_string_platform): Add case for exporting platform position for
7200 POWER8.
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7202 search path to sysdeps/powerpc/powerpc32/power8 directory.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7204 search path to sysdeps/powerpc/powerpc64/power8 directory.
7205 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7206 power7 directories.
7207 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7208 power7 directories.
7209
7210 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7211
7212 * INSTALL: Regenerate.
7213
7214 * nscd/connections.c (nscd_init): Fix comment.
7215
7216 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7217
7218 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7219
7220 [BZ #15667]
7221 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7222 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7223
7224 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7225
7226 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7227 DL_DST_REQ_STATIC.
7228 (DL_DST_REQ_STATIC): Remove macro.
7229
7230 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7231
7232 [BZ #7006]
7233 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7234 with a shift of 0 bits.
7235
7236 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7237
7238 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7239 $(tststatic-ENV).
7240
7241 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7242
7243 [BZ #15655]
7244 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7245
7246 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7247
7248 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7249 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7250 accepts -fno-tree-loop-distribute-patterns.
7251 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7252 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7253 recursive call.
7254 * string/memset.c (memset): Likewise.
7255 * string/test-memmove.c (simple_memmove): Disable loop transformation
7256 to library calls.
7257 * string/test-memset.c (simple_memset): Likewise.
7258 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7259 * benchtests/bench-memset.c (simple_memset): Likewise.
7260 * configure: Regenerated.
7261
7262 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7263
7264 * math/test-misc.c (main): Ignore fesetround failure when failures
7265 of subsequent rounding tests would be ignored.
7266
7267 [BZ #15654]
7268 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7269 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7270 * math/fegetenv.c (__fegetenv): Return 0.
7271 * math/fegetexcept.c (fegetexcept): Return 0.
7272 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7273 FE_TONEAREST.
7274 * math/feholdexcpt.c (feholdexcept): Return 0.
7275 * math/fesetenv.c (__fesetenv): Return 0.
7276 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7277 argument FE_TONEAREST.
7278 * math/feupdateenv.c (__feupdateenv): Return 0.
7279 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7280
7281 2013-06-18 Roland McGrath <roland@hack.frob.com>
7282
7283 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7284 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7285 ($(objpfx)rtld-%.os rules): Use them.
7286
7287 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7288
7289 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7290 fields.
7291
7292 2013-06-17 Roland McGrath <roland@hack.frob.com>
7293
7294 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7295 length of target pattern, then descending length of dependency pattern.
7296 * configure.in (AWK): Require gawk 3.1.2 or newer.
7297 * manual/install.texi (Tools for Compilation): Say that we do.
7298 * configure: Regenerated.
7299
7300 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7301 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7302 * scripts/sysd-rules.awk: ... this new script.
7303 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7304 than a glob-style pattern.
7305
7306 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7307
7308 * math/test-misc.c (main): Do not treat incorrectly rounded
7309 conversions as failure unless ROUNDING_TESTS passes.
7310
7311 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7312
7313 [BZ #15631]
7314 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7315 restore exception state around main square root computation, then
7316 check for inexactness explicitly.
7317
7318 * math/libm-test.inc (fma_test_data): Add another test.
7319
7320 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7321
7322 * manual/threads.texi (Non-POSIX Extensions): New document
7323 node. Document pthread_getattr_default_np and
7324 pthread_setattr_default_np.
7325
7326 * Versions.def (libpthread): Add GLIBC_2.18.
7327 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7329 Likewise.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7331 Likewise.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7333 Likewise.
7334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7335 Likewise.
7336 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7337 Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7339 Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7341 Likewise.
7342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7343 Likewise.
7344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7345 Likewise.
7346
7347 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7348
7349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7350 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7351
7352 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7353 H.J. Lu <hjl.tools@gmail.com>
7354
7355 [BZ #15627]
7356 * sysdeps/x86_64/rtld-memset.c: Remove file.
7357 * sysdeps/x86_64/rtld-memset.S: New file.
7358
7359 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7360
7361 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7362 (test_in_one_mode): Take arguments for whether the rounding mode
7363 is supported for each floating-point type.
7364 (do_test): Pass new arguments to test_in_one_mode using
7365 ROUNDING_TESTS.
7366
7367 2013-06-13 Roland McGrath <roland@hack.frob.com>
7368
7369 * posix/tst-waitid.c (do_test): Distinguish different instances of
7370 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7371 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7372 before entering the kernel for waitpid.
7373
7374 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7375
7376 * NEWS: Fix note on clock function precision. Text by Roland
7377 McGrath.
7378
7379 2013-06-13 Roland McGrath <roland@hack.frob.com>
7380
7381 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7382 it into place only when and if the sanity check passes.
7383
7384 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7385
7386 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7387 output for whether conversion result is exact. Take argument
7388 indicating whether type is IBM long double.
7389 (round_for_all): Change need_exact field to ibm_ld.
7390 * stdlib/tst-strtod-round.c (struct exactness): New type.
7391 (struct test): Change bool ld_ok field to struct exactness exact.
7392 (TEST): Update all definitions for change to field.
7393 (tests): Regenerate array contents.
7394 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7395 field value. Check for IBM long double here.
7396 (do_test): Update calls to test_in_one_mode.
7397
7398 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7399
7400 [BZ #12515]
7401 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7402 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7403
7404 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7405
7406 [BZ #15605]
7407 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7408 generated by the compiler on loop optimizations.
7409 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7410 general definitions.
7411
7412 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7413
7414 * math/bug-nextafter.c: Include <math-tests.h>.
7415 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7416 the relevant type.
7417 * math/bug-nexttoward.c: Include <math-tests.h>.
7418 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7419 the relevant type.
7420 * math/test-misc.c: Include <math-tests.h>.
7421 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7422 the relevant type.
7423
7424 2013-06-12 Andreas Jaeger <aj@suse.de>
7425
7426 * po/ia.po: Update Interlingua translation from translation
7427 project.
7428
7429 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7430
7431 * include/fenv.h: Include stdbool.h.
7432 (struct rm_ctx): New structure.
7433 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7434 Define macro.
7435 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7436 (SET_RESTORE_ROUNDF): Likewise.
7437 (SET_RESTORE_ROUNDL): Likewise.
7438 (SET_RESTORE_ROUND_NOEX): Likewise.
7439 (SET_RESTORE_ROUND_NOEXF): Likewise.
7440 (SET_RESTORE_ROUND_NOEXL): Likewise.
7441 (SET_RESTORE_ROUND_53BIT): Likewise.
7442 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7443 (libc_feresetround_noexf_ctx): Likewise.
7444 (libc_feresetround_noexl_ctx): Likewise.
7445 (libc_feholdsetround_53bit_ctx): Likewise.
7446 (libc_feresetround_53bit_ctx): Likewise.
7447 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7448 (libc_feholdexcept_setround_sse_ctx): New function.
7449 (libc_fesetenv_sse_ctx): Likewise.
7450 (libc_feupdateenv_sse_ctx): Likewise.
7451 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7452 (libc_feholdexcept_setround_387_ctx): Likewise.
7453 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7454 (libc_feholdsetround_387_prec_ctx): Likewise.
7455 (libc_feholdsetround_387_ctx): Likewise.
7456 (libc_feholdsetround_387_53bit_ctx): Likewise.
7457 (libc_feholdsetround_sse_ctx): Likewise.
7458 (libc_feresetround_sse_ctx): Likewise.
7459 (libc_feresetround_387_ctx): Likewise.
7460 (libc_feupdateenv_387_ctx): Likewise.
7461 (libc_feholdexcept_setroundf_ctx): Define macro.
7462 (libc_fesetenvf_ctx): Likewise.
7463 (libc_feupdateenvf_ctx): Likewise.
7464 (libc_feholdsetroundf_ctx): Likewise.
7465 (libc_feresetroundf_ctx): Likewise.
7466 (libc_feholdexcept_setround_ctx): Likewise.
7467 (libc_fesetenv_ctx): Likewise.
7468 (libc_feupdateenv_ctx): Likewise.
7469 (libc_feholdsetround_ctx): Likewise.
7470 (libc_feresetround_ctx): Likewise.
7471 (libc_feholdexcept_setroundl_ctx): Likewise.
7472 (libc_feupdateenvl_ctx): Likewise.
7473 (libc_feholdsetroundl_ctx): Likewise.
7474 (libc_feresetroundl_ctx): Likewise.
7475 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7476 (libc_feresetround_53bit_ctx): Likewise.
7477
7478 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7479
7480 * locale/iso-639.def: Convert to UTF-8.
7481
7482 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7483
7484 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7485 (EXCEPTION_TESTS_double): Likewise.
7486 (EXCEPTION_TESTS_long_double): Likewise.
7487 (EXCEPTION_TESTS): Likewise.
7488 * math/libm-test.inc (test_exceptions): Only test exceptions if
7489 EXCEPTION_TESTS (FLOAT).
7490
7491 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7492
7493 * benchtests/Makefile (string-bench): Add strcpy_chk and
7494 stpcpy_chk.
7495 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7496 * benchtests/bench-stpcpy_chk.c: New file.
7497 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7498 * benchtests/bench-strcpy_chk.c: New file.
7499 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7500 code.
7501 (do_test): Likewise.
7502
7503 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7504
7505 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7506 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7507 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7508 with tabs where appropriate.
7509 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7510 dl-procinfo.h.
7511 [PPC_PLATFORM_PPC440]: Likewise.
7512 [PPC_PLATFORM_PPC464]: Likewise.
7513 [PPC_PLATFORM_PPC476]: Likewise.
7514 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7515 ppc464, and ppc476 platform strings merging from ports/
7516 dl-procinfo.h.
7517
7518 2013-06-11 Andreas Schwab <schwab@suse.de>
7519
7520 [BZ #14991]
7521 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7522 (from_ucs4_idx): Regenerate.
7523 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7524 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7525 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7526 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7527 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7528 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7529 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7530 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7531 from FROM_LOOP and TO_LOOP specific macros.
7532 (BODY): Handle combining characters.
7533 * iconvdata/BIG5HKSCS.irreversible: Update.
7534 * iconvdata/BIG5HKSCS.precomposed: New file.
7535 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7536 characters.
7537 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7538
7539 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
7541 * include/sys/time.h: Fix indentation and add copyright header.
7542
7543 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7544 (do_test): Likewise.
7545 * string/test-memchr.c (do_one_test): Likewise.
7546 (do_test): Likewise.
7547 * string/test-memcmp.c (do_one_test): Likewise.
7548 (do_test): Likewise.
7549 * string/test-memcpy.c (do_one_test): Likewise.
7550 (do_test): Likewise.
7551 * string/test-memmem.c (do_one_test): Likewise.
7552 (do_test): Likewise.
7553 (do_random_tests): Likewise.
7554 * string/test-memmove.c (do_one_test): Likewise.
7555 (do_test): Likewise.
7556 * string/test-memset.c (do_one_test): Likewise.
7557 (do_test): Likewise.
7558 * string/test-rawmemchr.c (do_one_test): Likewise.
7559 (do_test): Likewise.
7560 * string/test-strcasecmp.c (do_one_test): Likewise.
7561 (do_test): Likewise.
7562 * string/test-strcasestr.c (do_one_test): Likewise.
7563 (do_test): Likewise.
7564 * string/test-strcat.c (do_one_test): Likewise.
7565 (do_test): Likewise.
7566 * string/test-strchr.c (do_one_test): Likewise.
7567 (do_test): Likewise.
7568 * string/test-strcmp.c (do_one_test): Likewise.
7569 (do_test): Likewise.
7570 * string/test-strcpy.c (do_one_test): Likewise.
7571 (do_test): Likewise.
7572 * string/test-string.h: Likewise.
7573 (test_init): Likewise.
7574 * string/test-strlen.c (do_one_test): Likewise.
7575 (do_test): Likewise.
7576 * string/test-strncasecmp.c (do_one_test): Likewise.
7577 (do_test): Likewise.
7578 * string/test-strncat.c (do_one_test): Likewise.
7579 (do_test): Likewise.
7580 * string/test-strncmp.c (do_one_test): Likewise.
7581 (do_test_limit): Likewise.
7582 (do_test): Likewise.
7583 * string/test-strncpy.c (do_one_test): Likewise.
7584 (do_test): Likewise.
7585 * string/test-strnlen.c (do_one_test): Likewise.
7586 (do_test): Likewise.
7587 * string/test-strpbrk.c (do_one_test): Likewise.
7588 (do_test): Likewise.
7589 * string/test-strrchr.c (do_one_test): Likewise.
7590 (do_test): Likewise.
7591 * string/test-strspn.c (do_one_test): Likewise.
7592 (do_test): Likewise.
7593 * string/test-strstr.c (do_one_test): Likewise.
7594 (do_test): Likewise.
7595
7596 * benchtests/Makefile (string-bench): Add string benchmarks.
7597 * benchtests/bench-bcopy-ifunc.c: New file.
7598 * benchtests/bench-bcopy.c: New file.
7599 * benchtests/bench-bzero-ifunc.c: New file.
7600 * benchtests/bench-bzero.c: New file.
7601 * benchtests/bench-memccpy-ifunc.c: New file.
7602 * benchtests/bench-memccpy.c: New file.
7603 * benchtests/bench-memchr-ifunc.c: New file.
7604 * benchtests/bench-memchr.c: New file.
7605 * benchtests/bench-memcmp-ifunc.c: New file.
7606 * benchtests/bench-memcmp.c: New file.
7607 * benchtests/bench-memmem-ifunc.c: New file.
7608 * benchtests/bench-memmem.c: New file.
7609 * benchtests/bench-memmove-ifunc.c: New file.
7610 * benchtests/bench-memmove.c: New file.
7611 * benchtests/bench-mempcpy-ifunc.c: New file.
7612 * benchtests/bench-mempcpy.c: New file.
7613 * benchtests/bench-memset-ifunc.c: New file.
7614 * benchtests/bench-memset.c: New file.
7615 * benchtests/bench-rawmemchr-ifunc.c: New file.
7616 * benchtests/bench-rawmemchr.c: New file.
7617 * benchtests/bench-stpcpy-ifunc.c: New file.
7618 * benchtests/bench-stpcpy.c: New file.
7619 * benchtests/bench-stpncpy-ifunc.c: New file.
7620 * benchtests/bench-stpncpy.c: New file.
7621 * benchtests/bench-strcasecmp-ifunc.c: New file.
7622 * benchtests/bench-strcasecmp.c: New file.
7623 * benchtests/bench-strcasestr-ifunc.c: New file.
7624 * benchtests/bench-strcasestr.c: New file.
7625 * benchtests/bench-strcat-ifunc.c: New file.
7626 * benchtests/bench-strcat.c: New file.
7627 * benchtests/bench-strchr-ifunc.c: New file.
7628 * benchtests/bench-strchr.c: New file.
7629 * benchtests/bench-strchrnul-ifunc.c: New file.
7630 * benchtests/bench-strchrnul.c: New file.
7631 * benchtests/bench-strcmp-ifunc.c: New file.
7632 * benchtests/bench-strcmp.c: New file.
7633 * benchtests/bench-strcpy-ifunc.c: New file.
7634 * benchtests/bench-strcpy.c: New file.
7635 * benchtests/bench-strcspn-ifunc.c: New file.
7636 * benchtests/bench-strcspn.c: New file.
7637 * benchtests/bench-strlen-ifunc.c: New file.
7638 * benchtests/bench-strlen.c: New file.
7639 * benchtests/bench-strncasecmp-ifunc.c: New file.
7640 * benchtests/bench-strncasecmp.c: New file.
7641 * benchtests/bench-strncat-ifunc.c: New file.
7642 * benchtests/bench-strncat.c: New file.
7643 * benchtests/bench-strncmp-ifunc.c: New file.
7644 * benchtests/bench-strncmp.c: New file.
7645 * benchtests/bench-strncpy-ifunc.c: New file.
7646 * benchtests/bench-strncpy.c: New file.
7647 * benchtests/bench-strnlen-ifunc.c: New file.
7648 * benchtests/bench-strnlen.c: New file.
7649 * benchtests/bench-strpbrk-ifunc.c: New file.
7650 * benchtests/bench-strpbrk.c: New file.
7651 * benchtests/bench-strrchr-ifunc.c: New file.
7652 * benchtests/bench-strrchr.c: New file.
7653 * benchtests/bench-strspn-ifunc.c: New file.
7654 * benchtests/bench-strspn.c: New file.
7655 * benchtests/bench-strstr-ifunc.c: New file.
7656 * benchtests/bench-strstr.c: New file.
7657
7658 * benchtests/Makefile: Disable parallel execution of targets.
7659 (string-bench): Add memcpy.
7660 (benchset): New variable to store a list of benchmark sets.
7661 (bench-func): Renamed from bench.
7662 (bench-set): New target.
7663 (bench): Depend on bench-func and bench-set.
7664 * benchtests/README: Add section on benchmark sets.
7665 * benchtests/bench-memcpy-ifunc.c: New file.
7666 * benchtests/bench-memcpy.c: New file.
7667 * benchtests/bench-string.h: New file.
7668
7669 2013-06-11 Andreas Schwab <schwab@suse.de>
7670
7671 [BZ #15577]
7672 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7673 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7674 values in the triple.
7675 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7676 terminator in the group key.
7677
7678 2013-06-11 Andreas Jaeger <aj@suse.de>
7679
7680 * po/zh_TW.po: Update Chinese (traditional) translation from
7681 translation project.
7682
7683 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7684
7685 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7686 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7687 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7688 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7689 (clock_getcpuclockid): Likewise.
7690 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7691 Add weak_alias and libc_hidden_def.
7692 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7693 * rt/clock_gettime.c (clock_gettime): Rename to
7694 __clock_gettime. Add weak_alias and libc_hidden_def.
7695 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7696 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7697 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7698 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7699 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7700 Likewise.
7701 * rt/clock_settime.c (clock_settime): Rename to
7702 __clock_settime. Add weak_alias and libc_hidden_def.
7703 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7704
7705 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7706
7707 * mach/err_boot.sub: Remove trailing whitespace.
7708 * mach/err_ipc.sub: Likewise.
7709 * mach/err_mach.sub: Likewise.
7710
7711 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7712 (ROUNDING_TESTS_double): Likewise.
7713 (ROUNDING_TESTS_long_double): Likewise.
7714 (ROUNDING_TESTS): Likewise.
7715 * math/libm-test.inc: Include <math-tests.h>.
7716 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7717 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7718 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7719 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7720
7721 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7722
7723 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7724 of assigning.
7725
7726 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7727
7728 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7729 otherwise empty TRANS lines.
7730 * sysdeps/gnu/errlist.c: Regenerated.
7731
7732 * catgets/gencat.c (error_print): Use (void) in function
7733 definition.
7734 * crypt/crypt_util.c (__init_des): Likewise.
7735 * crypt/speeds.c (Stop): Likewise.
7736 (main): Likewise.
7737 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7738 * inet/ruserpass.c (token): Likewise.
7739 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7740 * intl/localealias.c (extend_alias_table): Likewise.
7741 * intl/plural-exp.c (init_germanic_plural): Likewise.
7742 * libio/fcloseall.c (__fcloseall): Likewise.
7743 * libio/genops.c (_IO_flush_all): Likewise.
7744 (_IO_flush_all_linebuffered): Likewise.
7745 (_IO_cleanup): Likewise.
7746 (_IO_iter_begin): Likewise.
7747 (_IO_iter_end): Likewise.
7748 (_IO_list_lock): Likewise.
7749 (_IO_list_unlock): Likewise.
7750 (_IO_list_resetlock): Likewise.
7751 * libio/getchar.c (getchar): Likewise.
7752 * libio/getchar_u.c (getchar_unlocked): Likewise.
7753 * libio/getwchar.c (getwchar): Likewise.
7754 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7755 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7756 * login/getpt.c (__getpt): Likewise.
7757 * login/tst-utmp.c (main): Likewise.
7758 * malloc/hooks.c (__malloc_check_init): Likewise.
7759 * malloc/malloc.c (__malloc_stats): Likewise.
7760 * malloc/mtrace.c (tr_break): Likewise.
7761 (mtrace): Likewise.
7762 (muntrace): Likewise.
7763 * misc/fstab.c (endfsent): Likewise.
7764 * misc/getclktck.c (__getclktck): Likewise.
7765 * misc/getdtsz.c (__getdtablesize): Likewise.
7766 * misc/gethostid.c (gethostid): Likewise.
7767 * misc/getpagesize.c (__getpagesize): Likewise.
7768 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7769 (__get_nprocs): Likewise.
7770 (__get_phys_pages): Likewise.
7771 (__get_avphys_pages): Likewise.
7772 * misc/getttyent.c (getttyent): Likewise.
7773 (setttyent): Likewise.
7774 (endttyent): Likewise.
7775 * misc/getusershell.c (getusershell): Likewise.
7776 (endusershell): Likewise.
7777 (setusershell): Likewise.
7778 (initshells): Likewise.
7779 * misc/hsearch.c (__hdestroy): Likewise.
7780 * misc/sync.c (sync): Likewise.
7781 * misc/syslog.c (closelog_internal): Likewise.
7782 (closelog): Likewise.
7783 * misc/ttyslot.c (ttyslot): Likewise.
7784 * misc/vhangup.c (vhangup): Likewise.
7785 * posix/fork.c (__fork): Likewise.
7786 * posix/getegid.c (__getegid): Likewise.
7787 * posix/geteuid.c (__geteuid): Likewise.
7788 * posix/getgid.c (__getgid): Likewise.
7789 * posix/getpid.c (__getpid): Likewise.
7790 * posix/getppid.c (__getppid): Likewise.
7791 * posix/getuid.c (__getuid): Likewise.
7792 * posix/pause.c (pause): Likewise.
7793 * posix/setpgrp.c (setpgrp): Likewise.
7794 * posix/setsid.c (__setsid): Likewise.
7795 * posix/test-vfork.c (noop): Likewise.
7796 * resolv/gethnamaddr.c (_endhtent): Likewise.
7797 (_gethtent): Likewise.
7798 (ht_endhostent): Likewise.
7799 (gethostent): Likewise.
7800 (dns_service): Likewise.
7801 * stdlib/drand48.c (drand48): Likewise.
7802 * stdlib/lrand48.c (lrand48): Likewise.
7803 * stdlib/mrand48.c (mrand48): Likewise.
7804 * stdlib/rand.c (rand): Likewise.
7805 * stdlib/random.c (__random): Likewise.
7806 * stdlib/setenv.c (clearenv): Likewise.
7807 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7808 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7809 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7810 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7811 (__get_nprocs): Likewise.
7812 (__get_phys_pages): Likewise.
7813 (__get_avphys_pages): Likewise.
7814 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7815 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7816 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7817 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7818 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7819 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7820 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7821 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7822 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7823 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7824 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7825 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7826 * sysdeps/posix/clock.c (clock): Likewise.
7827 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7828 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7829 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7830 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7831 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7833 (__get_nprocs_conf): Likewise.
7834 (__get_phys_pages): Likewise.
7835 (__get_avphys_pages): Likewise.
7836 * time/clock.c (clock): Likewise.
7837 * time/tzset.c (__tzname_max): Likewise.
7838
7839 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7840
7841 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7842 (__bswap_32): Do not use "register".
7843 * crypt/crypt.c (_ufc_doit_r): Likewise.
7844 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7845 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7846 * gmon/gmon.c (__monstartup): Likewise.
7847 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7848 * hurd/hurdmalloc.c (more_memory): Likewise.
7849 (malloc): Likewise.
7850 (free): Likewise.
7851 (realloc): Likewise.
7852 (malloc_fork_prepare): Likewise.
7853 (malloc_fork_parent): Likewise.
7854 (malloc_fork_child): Likewise.
7855 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7856 (_svcauth_des): Likewise.
7857 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7858 * inet/inet_net.c (inet_network): Likewise.
7859 * inet/inet_netof.c (inet_netof): Likewise.
7860 * inet/rcmd.c (__validuser2_sa): Likewise.
7861 * io/fts.c (fts_open): Likewise.
7862 (fts_load): Likewise.
7863 (fts_close): Likewise.
7864 (fts_read): Likewise.
7865 (fts_children): Likewise.
7866 (fts_build): Likewise.
7867 (fts_stat): Likewise.
7868 (fts_sort): Likewise.
7869 (fts_alloc): Likewise.
7870 (fts_lfree): Likewise.
7871 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7872 (_IO_file_xsgetn): Likewise.
7873 (_IO_file_xsgetn_mmap): Likewise.
7874 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7875 (_IO_cookie_write): Likewise.
7876 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7877 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7878 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7879 * malloc/obstack.c (_obstack_begin): Likewise.
7880 (_obstack_begin_1): Likewise.
7881 (_obstack_newchunk): Likewise.
7882 (_obstack_allocated_p): Likewise.
7883 (obstack_free): Likewise.
7884 (_obstack_memory_used): Likewise.
7885 * misc/getttyent.c (getttynam): Likewise.
7886 (getttyent): Likewise.
7887 (skip): Likewise.
7888 (value): Likewise.
7889 * misc/getusershell.c (initshells): Likewise.
7890 * misc/syslog.c (__vsyslog_chk): Likewise.
7891 * misc/ttyslot.c (ttyslot): Likewise.
7892 * nis/nis_hash.c (__nis_hash): Likewise.
7893 * posix/fnmatch_loop.c (FCT): Likewise.
7894 * posix/getconf.c (print_all): Likewise.
7895 (main): Likewise.
7896 * posix/getopt.c (exchange): Likewise.
7897 * posix/glob.c (globfree): Likewise.
7898 (prefix_array): Likewise.
7899 (__glob_pattern_type): Likewise.
7900 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7901 (NS_GET32): Likewise.
7902 (NS_PUT16): Likewise.
7903 (NS_PUT32): Likewise.
7904 * resolv/gethnamaddr.c (getanswer): Likewise.
7905 (gethostbyname2): Likewise.
7906 (gethostbyaddr): Likewise.
7907 (_gethtent): Likewise.
7908 (_gethtbyname2): Likewise.
7909 (_gethtbyaddr): Likewise.
7910 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7911 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7912 * resolv/res_init.c (__res_vinit): Likewise.
7913 (net_mask): Likewise.
7914 * resolv/res_mkquery.c (outchar): Likewise.
7915 (PRINT): Likewise.
7916 * stdio-common/printf_fp.c (outchar): Likewise.
7917 (PRINT): Likewise.
7918 * stdio-common/printf_fphex.c (outchar): Likewise.
7919 (PRINT): Likewise.
7920 * stdio-common/printf_size.c (outchar): Likewise.
7921 (PRINT): Likewise.
7922 * stdio-common/test_rdwr.c (main): Likewise.
7923 * stdio-common/tfformat.c (matches): Likewise.
7924 * stdio-common/vfprintf.c (outchar): Likewise.
7925 (printf_unknown): Likewise.
7926 (buffered_vfprintf): Likewise.
7927 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7928 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7929 (ReadFile): Likewise.
7930 * stdlib/qsort.c (SWAP): Likewise.
7931 (_quicksort): Likewise.
7932 * stdlib/setenv.c (__add_to_environ): Likewise.
7933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7934 * stdlib/strtol_l.c (__strtol_l): Likewise.
7935 * stdlib/tst-strtod.c (main): Likewise.
7936 * stdlib/tst-strtol.c (main): Likewise.
7937 * stdlib/tst-strtoll.c (main): Likewise.
7938 * string/bits/string2.h (__strcmp_cc): Likewise.
7939 (__strcmp_cg): Likewise.
7940 (__strcspn_c1): Likewise.
7941 (__strcspn_c2): Likewise.
7942 (__strcspn_c3): Likewise.
7943 (__strspn_c1): Likewise.
7944 (__strspn_c2): Likewise.
7945 (__strspn_c3): Likewise.
7946 (__strsep_1c): Likewise.
7947 (__strsep_2c): Likewise.
7948 (__strsep_3c): Likewise.
7949 * string/memccpy.c (__memccpy): Likewise.
7950 * string/stpcpy.c (__stpcpy): Likewise.
7951 * string/strcmp.c (strcmp): Likewise.
7952 * string/strrchr.c (strrchr): Likewise.
7953 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7954 Likewise.
7955 * sysdeps/mach/hurd/getcwd.c
7956 (_hurd_canonicalize_directory_name_internal): Likewise.
7957 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7958 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7959 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7960 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7961 Likewise, in both definitions.
7962 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7963 definitions.
7964 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7965 64] (__bswap_64): Likewise.
7966 * time/test_time.c (main): Likewise.
7967 * time/tzfile.c (__tzfile_read): Likewise.
7968 (__tzfile_compute): Likewise.
7969 * time/tzset.c (__tzset_parse_tz): Likewise.
7970 (tzset_internal): Likewise.
7971 (compute_change): Likewise.
7972 * wcsmbs/wcscat.c (__wcscat): Likewise.
7973 * wcsmbs/wcschr.c (wcschr): Likewise.
7974 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7975 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7976 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7977 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7978 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7979 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7980 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7981 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7982 * wcsmbs/wmemset.c (wmemset): Likewise.
7983
7984 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7985
7986 * scripts/config.guess: Update to version 2013-05-16.
7987 * scripts/config.sub: Update to version 2013-04-24.
7988 * scripts/install-sh: Update to version 2011-11-20.07.
7989 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7990 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7991
7992 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7993
7994 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7995 * elf/sln.c: Likewise.
7996 * hurd/hurd/ioctl.h: Likewise.
7997 * hurd/hurdmalloc.c: Likewise.
7998 * hurd/xattr.c: Likewise.
7999 * include/shlib-compat.h: Likewise.
8000 * inet/ruserpass.c: Likewise.
8001 * libio/iofgets_u.c: Likewise.
8002 * libio/iofgetws_u.c: Likewise.
8003 * locale/programs/ld-identification.c: Likewise.
8004 * locale/programs/ld-time.c: Likewise.
8005 * mach/msg-destroy.c: Likewise.
8006 * nss/nss_files/files-netgrp.c: Likewise.
8007 * resolv/res_data.c: Likewise.
8008 * soft-fp/op-1.h: Likewise.
8009 * soft-fp/op-2.h: Likewise.
8010 * soft-fp/op-4.h: Likewise.
8011 * soft-fp/op-common.h: Likewise.
8012 * stdio-common/printf_fphex.c: Likewise.
8013 * stdlib/strtod_l.c: Likewise.
8014 * sunrpc/rpc/clnt.h: Likewise.
8015 * sysdeps/generic/framestate.c: Likewise.
8016 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8017 * sysdeps/i386/bsd-setjmp.S: Likewise.
8018 * sysdeps/i386/__longjmp.S: Likewise.
8019 * sysdeps/i386/setjmp.S: Likewise.
8020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8021 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8023 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8025 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8026 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8027 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8028 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8029 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8030 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8031 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8033 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8035 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8036 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8037 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8038 * sysdeps/ieee754/support.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8040 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8041 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8042 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8043 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8044 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8045 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8046 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8047 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8048 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8049 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8050 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8051 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8052 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8054 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8055 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8057
8058 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8059
8060 * posix/transbug.c: Remove executable mode.
8061
8062 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8063
8064 * crypt/speeds.c: Remove trailing whitespace.
8065 * dlfcn/default.c: Likewise.
8066 * elf/ifuncdep2.c: Likewise.
8067 * elf/ifuncmain1.c: Likewise.
8068 * elf/ifuncmain1vis.c: Likewise.
8069 * elf/testobj.h: Likewise.
8070 * elf/tst-stackguard1.c: Likewise.
8071 * gmon/sys/gmon.h: Likewise.
8072 * hurd/hurdmsg.c: Likewise.
8073 * hurd/new-fd.c: Likewise.
8074 * hurd/ports-get.c: Likewise.
8075 * iconvdata/ibm1008_420.c: Likewise.
8076 * inet/tst-getni1.c: Likewise.
8077 * inet/tst-getni2.c: Likewise.
8078 * libio/ioungetc.c: Likewise.
8079 * libio/wfiledoalloc.c: Likewise.
8080 * manual/libm-err-tab.pl: Likewise.
8081 * math/w_dremf.c: Likewise.
8082 * misc/ftruncate.c: Likewise.
8083 * posix/bug-glob2.c: Likewise.
8084 * posix/tst-pcre.c: Likewise.
8085 * posix/wait4.c: Likewise.
8086 * resolv/README: Likewise.
8087 * resolv/res_debug.h: Likewise.
8088 * resolv/tst-inet_ntop.c: Likewise.
8089 * setjmp/bug269-setjmp.c: Likewise.
8090 * soft-fp/extended.h: Likewise.
8091 * soft-fp/op-1.h: Likewise.
8092 * soft-fp/op-2.h: Likewise.
8093 * soft-fp/op-4.h: Likewise.
8094 * soft-fp/op-8.h: Likewise.
8095 * soft-fp/testit.c: Likewise.
8096 * stdio-common/bug16.c: Likewise.
8097 * stdlib/random.c: Likewise.
8098 * sunrpc/rpcsvc/rquota.x: Likewise.
8099 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8100 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8101 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8102 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8103 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8104 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8105 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8106 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8107 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8108 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8109 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8121 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8128 * sysdeps/ieee754/s_lib_version.c: Likewise.
8129 * sysdeps/mach/hurd/check_fds.c: Likewise.
8130 * sysdeps/mach/hurd/getsockname.c: Likewise.
8131 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8132 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8133 * sysdeps/powerpc/bits/link.h: Likewise.
8134 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8135 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8136 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8137 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8138 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8139 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8140 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8141 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8142 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8143 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8144 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8145 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8146 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8147 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8148 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8149 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8153 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8154 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8155 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8156 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8157 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8158 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8159 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8160 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8161 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8162 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8163 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8164 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8165 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8168 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8169 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8170 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8171 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8172 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8173 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8174 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8175 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8176 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8177 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8178 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8179 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8180 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8181 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8182 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8183 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8186 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8187 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8188 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8190 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8191 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8192 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8193 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8194 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8195 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8196 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8197 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8198 * sysdeps/powerpc/sysdep.h: Likewise.
8199 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8200 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8201 * sysdeps/sh/dl-trampoline.S: Likewise.
8202 * sysdeps/sh/memset.S: Likewise.
8203 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8204 * sysdeps/sh/strlen.S: Likewise.
8205 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8206 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8207 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8208 * sysdeps/sparc/sparc32/rem.S: Likewise.
8209 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8210 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8211 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8212 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8213 * sysdeps/sparc/sparc32/urem.S: Likewise.
8214 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8215 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8216 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8217 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8218 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8219 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8220 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8221 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8222 * sysdeps/unix/bsd/times.c: Likewise.
8223 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8224 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8228 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8229 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8230 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8231 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8232 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8233 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8234 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8235 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8236 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8237 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8238 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8239 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8240 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8241 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8242 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8243 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8244 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8245 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8246 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8247 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8248 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8251 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8252 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8253 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8254 * sysdeps/x86_64/strcspn.S: Likewise.
8255
8256 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8257
8258 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8259 generated file. Regenerate properly from gen-translit.pl.
8260 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8261 locale/C-translit.h.
8262
8263 2013-06-05 Andreas Schwab <schwab@suse.de>
8264
8265 [BZ #15100]
8266 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8267 week as 6 instead of -1.
8268 * time/tst-strptime.c (day_tests): Add test case.
8269
8270 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8271
8272 * sysdeps/generic/math_private.h
8273 (libc_feholdexcept_setround_53bit): Replace with
8274 libc_feholdsetround_53bit.
8275 (libc_feupdateenv_53bit): Replace with
8276 libc_feresetround_53bit.
8277 (SET_RESTORE_ROUND_53BIT): Adjust.
8278
8279 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8280
8281 * string/test-strchrnul.c: Add copyright header.
8282
8283 * posix/tst-getaddrinfo4.c: Increase test timeout.
8284
8285 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8286
8287 [BZ #15536]
8288 * math/libm-test.inc (MAX_EXP): Remove
8289 (MIN_EXP): Define.
8290 (ulp): Use MIN_EXP - MANT_DIG.
8291 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8292
8293 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8294
8295 * po/be.po: Revert last change.
8296 * po/zh_CN.po: Likewise.
8297 * po/header.pot: Likewise.
8298
8299 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8300
8301 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8302 link-libc-deps to empty as target-specific variable.
8303 * Makerules (link-libc-args): New variable.
8304 (libc-for-link): Likewise.
8305 (link-libc-deps): Likewise.
8306 (lib%.so): Depend on $(link-libc-deps). Link with
8307 $(link-libc-args).
8308 (build-module): Link with $(link-libc-args).
8309 (build-module-asneeded): Likewise.
8310 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8311 list of objects.
8312 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8313 target-specific variable.
8314 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8315 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8316 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8317 libc.
8318 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8319 libc and ld.so.
8320 ($(objpfx)libpcprofile.so): Likewise.
8321 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8322 libc_nonshared.a.
8323 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8324 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8325 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8326 $(link-libc-deps).
8327 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8328 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8329 * login/Makefile ($(objpfx)libutil.so): Likewise.
8330 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8331 * math/Makefile ($(objpfx)libm.so): Likewise.
8332 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8333 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8334 variable instead of depending directly on libc.
8335 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8336 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8337 $(link-libc-deps).
8338 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8339 libc.
8340 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8341 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8342 ($(objpfx)libanl.so): Likewise.
8343 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8344 ld.so.
8345 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8346 $(link-libc-deps).
8347 * sysdeps/i386/fpu/Makefile: Remove file.
8348 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8349 ($(objpfx)libm.so): Remove dependency on ld.so.
8350
8351 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8352
8353 [BZ # 15553]
8354 * nis/yp_xdr.c (XDRMAXNAME): Define.
8355 (XDRMAXRECORD): Define.
8356 (xdr_domainname): Use XDRMAXNAME.
8357 (xdr_mapname): Likewise.
8358 (xdr_peername): Likewise.
8359 (xdr_keydat): Use XDRMAXRECORD.
8360 (xdr_valdat): Likewise.
8361
8362 2013-05-30 Jeff Law <law@redhat.com>
8363
8364 [BZ #14256]
8365 * manual/errno.texi (ESTALE): Update to account for more than
8366 just NFS file systems.
8367 * sysdeps/gnu/errlist.c: Regenerated.
8368
8369 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8370
8371 [BZ #15465]
8372 * elf/Makefile (tests): Add tst-null-argv.
8373 (modules-names): Add tst-null-argv-lib.
8374 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8375 (tst-null-argv-ENV): Set environment for tst-null-argv.
8376 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8377 (RTLD_PROGNAME): New macro.
8378 * elf/tst-null-argv.c: New test case.
8379 * elf/tst-null-argv-lib.c: Library for test case.
8380 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8381 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8382 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8383 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8384 * elf/dl-init.c (call_init): Likewise.
8385 (_dl_init): Likewise.
8386 * elf/dl-load.c (print_search_path): Likewise.
8387 (_dl_map_object): Likewise.
8388 * elf/dl-lookup.c (do_lookup_x): Likewise.
8389 (add_dependency): Likewise.
8390 (_dl_lookup_symbol_x): Likewise.
8391 (_dl_debug_bindings): Likewise.
8392 * elf/dl-open.c (_dl_show_scope): Likewise.
8393 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8394 * elf/dl-version.c (match_symbol): Likewise.
8395 (_dl_check_map_versions): Likewise.
8396 * elf/rtld.c (dl_main): Likewise.
8397 (print_unresolved): Use RTLD_PROGNAME.
8398 (print_missing_version): Likewise.
8399 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8400 (elf_machine_rela): Likewise.
8401 * sysdeps/powerpc/powerpc32/dl-machine.c
8402 (__process_machine_rela): Likewise.
8403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8404 Likewise.
8405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8406 Likewise.
8407 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8408 Likewise.
8409 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8411 Likewise.
8412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8413 Likewise.
8414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8415
8416 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8417
8418 * po/be.po: Add descriptive title.
8419 * po/zh_CN.po: Likewise.
8420 * po/header.pot: Likewise.
8421
8422 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8423
8424 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8425 error message.
8426 (enlarge_archive): Likewise.
8427
8428 2013-05-28 Ben North <ben@redfrontdoor.org>
8429
8430 * manual/arith.texi (frexp): It is the magnitude of the return
8431 value which lies in [0.5, 1), not the return value itself.
8432
8433 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8434
8435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8436
8437 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8438
8439 * stdio-common/bug26.c (main): Correct fscanf template.
8440
8441 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8442 declare _dl_skip_args.
8443
8444 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8445 Don't declare.
8446
8447 * manual/platform.texi: Add missing @end deftypefun.
8448
8449 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8450
8451 [BZ #15529]
8452 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8453 bit of mantissa of 2^16382.
8454 * math/libm-test.inc (hypot_test_data): Add more tests.
8455
8456 * math/libm-test.inc: Add drem and pow10 to list of tested
8457 functions.
8458 (pow10_test): New function.
8459 (drem_test): Likewise.
8460 (drem_test_tonearest): Likewise.
8461 (drem_test_towardzero): Likewise.
8462 (drem_test_downward): Likewise.
8463 (drem_test_upward): Likewise.
8464 (main): Call the new functions.
8465
8466 * math/libm-test.inc (finite_test_data): Remove.
8467 (finite_test): Run tests from isfinite_test_data.
8468 (gamma_test_data): Remove.
8469 (gamma_test): Run tests from lgamma_test_data.
8470 * sysdeps/i386/fpu/libm-test-ulps: Update.
8471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8472
8473 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8474
8475 * manual/platform.texi: Add PowerPC PPR function set documentation.
8476 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8477 implementation.
8478
8479 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8480
8481 * math/libm-test.inc (MAX_EXP): Define.
8482 (ULPDIFF): Define.
8483 (ulp): New function.
8484 (check_float_internal): Use ULPDIFF.
8485 (cpow_test): Disable failing test.
8486 (check_ulp): Test ulp() implemetnation.
8487 (main): Call check_ulp before starting tests.
8488
8489 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8490
8491 * math/gen-libm-test.pl (generate_testfile): Do not handle
8492 START_DATA and END_DATA.
8493 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8494 END_DATA.
8495 (acos_tonearest_test_data): Likewise.
8496 (acos_towardzero_test_data): Likewise.
8497 (acos_downward_test_data): Likewise.
8498 (acos_upward_test_data): Likewise.
8499 (acosh_test_data): Likewise.
8500 (asin_test_data): Likewise.
8501 (asin_tonearest_test_data): Likewise.
8502 (asin_towardzero_test_data): Likewise.
8503 (asin_downward_test_data): Likewise.
8504 (asin_upward_test_data): Likewise.
8505 (asinh_test_data): Likewise.
8506 (atan_test_data): Likewise.
8507 (atanh_test_data): Likewise.
8508 (atan2_test_data): Likewise.
8509 (cabs_test_data): Likewise.
8510 (cacos_test_data): Likewise.
8511 (cacosh_test_data): Likewise.
8512 (carg_test_data): Likewise.
8513 (casin_test_data): Likewise.
8514 (casinh_test_data): Likewise.
8515 (catan_test_data): Likewise.
8516 (catanh_test_data): Likewise.
8517 (cbrt_test_data): Likewise.
8518 (ccos_test_data): Likewise.
8519 (ccosh_test_data): Likewise.
8520 (ceil_test_data): Likewise.
8521 (cexp_test_data): Likewise.
8522 (cimag_test_data): Likewise.
8523 (clog_test_data): Likewise.
8524 (clog10_test_data): Likewise.
8525 (conj_test_data): Likewise.
8526 (copysign_test_data): Likewise.
8527 (cos_test_data): Likewise.
8528 (cos_tonearest_test_data): Likewise.
8529 (cos_towardzero_test_data): Likewise.
8530 (cos_downward_test_data): Likewise.
8531 (cos_upward_test_data): Likewise.
8532 (cosh_test_data): Likewise.
8533 (cosh_tonearest_test_data): Likewise.
8534 (cosh_towardzero_test_data): Likewise.
8535 (cosh_downward_test_data): Likewise.
8536 (cosh_upward_test_data): Likewise.
8537 (cpow_test_data): Likewise.
8538 (cproj_test_data): Likewise.
8539 (creal_test_data): Likewise.
8540 (csin_test_data): Likewise.
8541 (csinh_test_data): Likewise.
8542 (csqrt_test_data): Likewise.
8543 (ctan_test_data): Likewise.
8544 (ctan_tonearest_test_data): Likewise.
8545 (ctan_towardzero_test_data): Likewise.
8546 (ctan_downward_test_data): Likewise.
8547 (ctan_upward_test_data): Likewise.
8548 (ctanh_test_data): Likewise.
8549 (ctanh_tonearest_test_data): Likewise.
8550 (ctanh_towardzero_test_data): Likewise.
8551 (ctanh_downward_test_data): Likewise.
8552 (ctanh_upward_test_data): Likewise.
8553 (erf_test_data): Likewise.
8554 (erfc_test_data): Likewise.
8555 (exp_test_data): Likewise.
8556 (exp_tonearest_test_data): Likewise.
8557 (exp_towardzero_test_data): Likewise.
8558 (exp_downward_test_data): Likewise.
8559 (exp_upward_test_data): Likewise.
8560 (exp10_test_data): Likewise.
8561 (exp2_test_data): Likewise.
8562 (expm1_test_data): Likewise.
8563 (fabs_test_data): Likewise.
8564 (fdim_test_data): Likewise.
8565 (finite_test_data): Likewise.
8566 (floor_test_data): Likewise.
8567 (fma_test_data): Likewise.
8568 (fma_towardzero_test_data): Likewise.
8569 (fma_downward_test_data): Likewise.
8570 (fma_upward_test_data): Likewise.
8571 (fmax_test_data): Likewise.
8572 (fmin_test_data): Likewise.
8573 (fmod_test_data): Likewise.
8574 (fpclassify_test_data): Likewise.
8575 (frexp_test_data): Likewise.
8576 (gamma_test_data): Likewise.
8577 (hypot_test_data): Likewise.
8578 (ilogb_test_data): Likewise.
8579 (isfinite_test_data): Likewise.
8580 (isgreater_test_data): Likewise.
8581 (isgreaterequal_test_data): Likewise.
8582 (isinf_test_data): Likewise.
8583 (isless_test_data): Likewise.
8584 (islessequal_test_data): Likewise.
8585 (islessgreater_test_data): Likewise.
8586 (isnan_test_data): Likewise.
8587 (isnormal_test_data): Likewise.
8588 (issignaling_test_data): Likewise.
8589 (isunordered_test_data): Likewise.
8590 (j0_test_data): Likewise.
8591 (j1_test_data): Likewise.
8592 (jn_test_data): Likewise.
8593 (ldexp_test_data): Likewise.
8594 (lgamma_test_data): Likewise.
8595 (lrint_test_data): Likewise.
8596 (lrint_tonearest_test_data): Likewise.
8597 (lrint_towardzero_test_data): Likewise.
8598 (lrint_downward_test_data): Likewise.
8599 (lrint_upward_test_data): Likewise.
8600 (llrint_test_data): Likewise.
8601 (llrint_tonearest_test_data): Likewise.
8602 (llrint_towardzero_test_data): Likewise.
8603 (llrint_downward_test_data): Likewise.
8604 (llrint_upward_test_data): Likewise.
8605 (log_test_data): Likewise.
8606 (log10_test_data): Likewise.
8607 (log1p_test_data): Likewise.
8608 (log2_test_data): Likewise.
8609 (logb_test_data): Likewise.
8610 (logb_downward_test_data): Likewise.
8611 (lround_test_data): Likewise.
8612 (llround_test_data): Likewise.
8613 (modf_test_data): Likewise.
8614 (nearbyint_test_data): Likewise.
8615 (nextafter_test_data): Likewise.
8616 (nexttoward_test_data): Likewise.
8617 (pow_test_data): Likewise.
8618 (pow_tonearest_test_data): Likewise.
8619 (pow_towardzero_test_data): Likewise.
8620 (pow_downward_test_data): Likewise.
8621 (pow_upward_test_data): Likewise.
8622 (remainder_test_data): Likewise.
8623 (remainder_tonearest_test_data): Likewise.
8624 (remainder_towardzero_test_data): Likewise.
8625 (remainder_downward_test_data): Likewise.
8626 (remainder_upward_test_data): Likewise.
8627 (remquo_test_data): Likewise.
8628 (rint_test_data): Likewise.
8629 (rint_tonearest_test_data): Likewise.
8630 (rint_towardzero_test_data): Likewise.
8631 (rint_downward_test_data): Likewise.
8632 (rint_upward_test_data): Likewise.
8633 (round_test_data): Likewise.
8634 (scalb_test_data): Likewise.
8635 (scalbn_test_data): Likewise.
8636 (scalbln_test_data): Likewise.
8637 (signbit_test_data): Likewise.
8638 (sin_test_data): Likewise.
8639 (sin_tonearest_test_data): Likewise.
8640 (sin_towardzero_test_data): Likewise.
8641 (sin_downward_test_data): Likewise.
8642 (sin_upward_test_data): Likewise.
8643 (sincos_test_data): Likewise.
8644 (sinh_test_data): Likewise.
8645 (sinh_tonearest_test_data): Likewise.
8646 (sinh_towardzero_test_data): Likewise.
8647 (sinh_downward_test_data): Likewise.
8648 (sinh_upward_test_data): Likewise.
8649 (sqrt_test_data): Likewise.
8650 (tan_test_data): Likewise.
8651 (tan_tonearest_test_data): Likewise.
8652 (tan_towardzero_test_data): Likewise.
8653 (tan_downward_test_data): Likewise.
8654 (tan_upward_test_data): Likewise.
8655 (tanh_test_data): Likewise.
8656 (tgamma_test_data): Likewise.
8657 (trunc_test_data): Likewise.
8658 (y0_test_data): Likewise.
8659 (y1_test_data): Likewise.
8660 (yn_test_data): Likewise.
8661 (significand_test_data): Likewise.
8662
8663 * math/gen-libm-test.pl (@functions): Remove variable.
8664 (generate_testfile): Don't handle START and END lines.
8665 * math/libm-test.inc (START): New macro.
8666 (END): Likewise.
8667 (END_COMPLEX): Likewise.
8668 (acos_test): Use END macro without arguments.
8669 (acos_test_tonearest): Likewise.
8670 (acos_test_towardzero): Likewise.
8671 (acos_test_downward): Likewise.
8672 (acos_test_upward): Likewise.
8673 (acosh_test): Likewise.
8674 (asin_test): Likewise.
8675 (asin_test_tonearest): Likewise.
8676 (asin_test_towardzero): Likewise.
8677 (asin_test_downward): Likewise.
8678 (asin_test_upward): Likewise.
8679 (asinh_test): Likewise.
8680 (atan_test): Likewise.
8681 (atanh_test): Likewise.
8682 (atan2_test): Likewise.
8683 (cabs_test): Likewise.
8684 (cacos_test): Use END_COMPLEX macro without arguments.
8685 (cacosh_test): Likewise.
8686 (carg_test): Use END macro without arguments.
8687 (casin_test): Use END_COMPLEX macro without arguments.
8688 (casinh_test): Likewise.
8689 (catan_test): Likewise.
8690 (catanh_test): Likewise.
8691 (cbrt_test): Use END macro without arguments.
8692 (ccos_test): Use END_COMPLEX macro without arguments.
8693 (ccosh_test): Likewise.
8694 (ceil_test): Use END macro without arguments.
8695 (cexp_test): Use END_COMPLEX macro without arguments.
8696 (cimag_test): Use END macro without arguments.
8697 (clog_test): Use END_COMPLEX macro without arguments.
8698 (clog10_test): Likewise.
8699 (conj_test): Likewise.
8700 (copysign_test): Use END macro without arguments.
8701 (cos_test): Likewise.
8702 (cos_test_tonearest): Likewise.
8703 (cos_test_towardzero): Likewise.
8704 (cos_test_downward): Likewise.
8705 (cos_test_upward): Likewise.
8706 (cosh_test): Likewise.
8707 (cosh_test_tonearest): Likewise.
8708 (cosh_test_towardzero): Likewise.
8709 (cosh_test_downward): Likewise.
8710 (cosh_test_upward): Likewise.
8711 (cpow_test): Use END_COMPLEX macro without arguments.
8712 (cproj_test): Likewise.
8713 (creal_test): Use END macro without arguments.
8714 (csin_test): Use END_COMPLEX macro without arguments.
8715 (csinh_test): Likewise.
8716 (csqrt_test): Likewise.
8717 (ctan_test): Likewise.
8718 (ctan_test_tonearest): Likewise.
8719 (ctan_test_towardzero): Likewise.
8720 (ctan_test_downward): Likewise.
8721 (ctan_test_upward): Likewise.
8722 (ctanh_test): Likewise.
8723 (ctanh_test_tonearest): Likewise.
8724 (ctanh_test_towardzero): Likewise.
8725 (ctanh_test_downward): Likewise.
8726 (ctanh_test_upward): Likewise.
8727 (erf_test): Use END macro without arguments.
8728 (erfc_test): Likewise.
8729 (exp_test): Likewise.
8730 (exp_test_tonearest): Likewise.
8731 (exp_test_towardzero): Likewise.
8732 (exp_test_downward): Likewise.
8733 (exp_test_upward): Likewise.
8734 (exp10_test): Likewise.
8735 (exp2_test): Likewise.
8736 (expm1_test): Likewise.
8737 (fabs_test): Likewise.
8738 (fdim_test): Likewise.
8739 (finite_test): Likewise.
8740 (floor_test): Likewise.
8741 (fma_test): Likewise.
8742 (fma_test_towardzero): Likewise.
8743 (fma_test_downward): Likewise.
8744 (fma_test_upward): Likewise.
8745 (fmax_test): Likewise.
8746 (fmin_test): Likewise.
8747 (fmod_test): Likewise.
8748 (fpclassify_test): Likewise.
8749 (frexp_test): Likewise.
8750 (gamma_test): Likewise.
8751 (hypot_test): Likewise.
8752 (ilogb_test): Likewise.
8753 (isfinite_test): Likewise.
8754 (isgreater_test): Likewise.
8755 (isgreaterequal_test): Likewise.
8756 (isinf_test): Likewise.
8757 (isless_test): Likewise.
8758 (islessequal_test): Likewise.
8759 (islessgreater_test): Likewise.
8760 (isnan_test): Likewise.
8761 (isnormal_test): Likewise.
8762 (issignaling_test): Likewise.
8763 (isunordered_test): Likewise.
8764 (j0_test): Likewise.
8765 (j1_test): Likewise.
8766 (jn_test): Likewise.
8767 (ldexp_test): Likewise.
8768 (lgamma_test): Likewise.
8769 (lrint_test): Likewise.
8770 (lrint_test_tonearest): Likewise.
8771 (lrint_test_towardzero): Likewise.
8772 (lrint_test_downward): Likewise.
8773 (lrint_test_upward): Likewise.
8774 (llrint_test): Likewise.
8775 (llrint_test_tonearest): Likewise.
8776 (llrint_test_towardzero): Likewise.
8777 (llrint_test_downward): Likewise.
8778 (llrint_test_upward): Likewise.
8779 (log_test): Likewise.
8780 (log10_test): Likewise.
8781 (log1p_test): Likewise.
8782 (log2_test): Likewise.
8783 (logb_test): Likewise.
8784 (logb_test_downward): Likewise.
8785 (lround_test): Likewise.
8786 (llround_test): Likewise.
8787 (modf_test): Likewise.
8788 (nearbyint_test): Likewise.
8789 (nextafter_test): Likewise.
8790 (nexttoward_test): Likewise.
8791 (pow_test): Likewise.
8792 (pow_test_tonearest): Likewise.
8793 (pow_test_towardzero): Likewise.
8794 (pow_test_downward): Likewise.
8795 (pow_test_upward): Likewise.
8796 (remainder_test): Likewise.
8797 (remainder_test_tonearest): Likewise.
8798 (remainder_test_towardzero): Likewise.
8799 (remainder_test_downward): Likewise.
8800 (remainder_test_upward): Likewise.
8801 (remquo_test): Likewise.
8802 (rint_test): Likewise.
8803 (rint_test_tonearest): Likewise.
8804 (rint_test_towardzero): Likewise.
8805 (rint_test_downward): Likewise.
8806 (rint_test_upward): Likewise.
8807 (round_test): Likewise.
8808 (scalb_test): Likewise.
8809 (scalbn_test): Likewise.
8810 (scalbln_test): Likewise.
8811 (signbit_test): Likewise.
8812 (sin_test): Likewise.
8813 (sin_test_tonearest): Likewise.
8814 (sin_test_towardzero): Likewise.
8815 (sin_test_downward): Likewise.
8816 (sin_test_upward): Likewise.
8817 (sincos_test): Likewise.
8818 (sinh_test): Likewise.
8819 (sinh_test_tonearest): Likewise.
8820 (sinh_test_towardzero): Likewise.
8821 (sinh_test_downward): Likewise.
8822 (sinh_test_upward): Likewise.
8823 (sqrt_test): Likewise.
8824 (tan_test): Likewise.
8825 (tan_test_tonearest): Likewise.
8826 (tan_test_towardzero): Likewise.
8827 (tan_test_downward): Likewise.
8828 (tan_test_upward): Likewise.
8829 (tanh_test): Likewise.
8830 (tgamma_test): Likewise.
8831 (trunc_test): Likewise.
8832 (y0_test): Likewise.
8833 (y1_test): Likewise.
8834 (yn_test): Likewise.
8835 (significand_test): Likewise.
8836
8837 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8838
8839 [BZ #15381]
8840 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8841
8842 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8843
8844 [BZ #14894]
8845 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8846 __ppc_mdoio and __ppc_mdoom.
8847 * manual/platform.texi: Document new functions __ppc_yield,
8848 __ppc_mdoio and __ppc_mdoom.
8849
8850 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8851
8852 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8853 (main): Mention "tls" pseudo-hwcap is legacy.
8854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8855
8856 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8857
8858 * math/gen-libm-test.pl (parse_args): Output only string of
8859 arguments as text for test name, not full call or descriptions of
8860 tests for extra outputs.
8861 (generate_testfile): Do not pass function name to parse_args.
8862 Generate this_func variable from START.
8863 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8864 field to arg_str.
8865 (struct test_ff_f_data): Likewise.
8866 (test_ff_f_data_nexttoward): Likewise.
8867 (struct test_fi_f_data): Likewise.
8868 (struct test_fl_f_data): Likewise.
8869 (struct test_if_f_data): Likewise.
8870 (struct test_fff_f_data): Likewise.
8871 (struct test_c_f_data): Likewise.
8872 (struct test_f_f1_data): Likewise. Remove field extra_name.
8873 (struct test_fF_f1_data): Likewise.
8874 (struct test_ffI_f1_data): Likewise.
8875 (struct test_c_c_data): Rename test_name field to arg_str.
8876 (struct test_cc_c_data): Likewise.
8877 (struct test_f_i_data): Likewise.
8878 (struct test_ff_i_data): Likewise.
8879 (struct test_f_l_data): Likewise.
8880 (struct test_f_L_data): Likewise.
8881 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8882 and extra2_name.
8883 (COMMON_TEST_SETUP): New macro.
8884 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8885 (COMMON_TEST_CLEANUP): Likewise.
8886 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8887 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8888 macros.
8889 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8890 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8891 macros.
8892 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8893 (RUN_TEST_fff_f): Take argument string. Call new setup and
8894 cleanup macros.
8895 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8896 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8897 macros.
8898 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8899 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8900 macros.
8901 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8902 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8903 cleanup macros.
8904 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8905 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8906 cleanup macros.
8907 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8908 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8909 cleanup macros.
8910 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8911 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8912 macros.
8913 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8914 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8915 macros.
8916 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8917 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8918 macros.
8919 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8920 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8921 cleanup macros.
8922 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8923 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8924 cleanup macros.
8925 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8926 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8927 macros.
8928 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8929 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8930 cleanup macros.
8931 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8932 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8933 macros.
8934 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8935 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8936 macros.
8937 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8938 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8939 cleanup macros.
8940 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8941
8942 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8943
8944 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8945 to _sifields.sigfault.
8946 (si_addr_lsb): Define new macro.
8947 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8949 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8950
8951 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8952
8953 [BZ #15441]
8954 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8955 returns -1.
8956 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8957 null return -1.
8958 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8959 loading the domain.
8960
8961 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8962
8963 * math/gen-libm-test.pl (parse_args): Do not include expected
8964 result in test name.
8965 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8967 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8968 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8969 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8971
8972 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8973
8974 * benchtests/Makefile: Sort function entries.
8975
8976 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8977 tanh, asinh, acosh, atanh.
8978 * benchtests/acos-inputs: New file.
8979 * benchtests/acosh-inputs: New file.
8980 * benchtests/asin-inputs: New file.
8981 * benchtests/asinh-inputs: New file.
8982 * benchtests/atanh-inputs: New file.
8983 * benchtests/cosh-inputs: New file.
8984 * benchtests/log-inputs: New file.
8985 * benchtests/sinh-inputs: New file.
8986 * benchtests/tanh-inputs: New file.
8987
8988 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8989
8990 [BZ #15339]
8991 * posix/tst-getaddrinfo4.c: New test.
8992 * posix/Makefile (tests): Add it.
8993
8994 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8995
8996 [BZ #15339]
8997 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8998 when no services were used.
8999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9000 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9001
9002 2013-05-21 Andreas Schwab <schwab@suse.de>
9003
9004 [BZ #15014]
9005 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9006 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9007 successful.
9008 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9009 redundant variable declarations and reallocation of buffer when
9010 parsing as IPv6 address. Always set NSS status when called from
9011 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9012 buffer too small. Correct computation of needed size.
9013 * nss/Makefile (tests): Add test-digits-dots.
9014 * nss/test-digits-dots.c: New test.
9015
9016 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9017
9018 * benchtests/Makefile: Remove instructions for adding
9019 benchmark tests.
9020 * benchtests/README: New file to explain how to execute and
9021 enhance the benchmark tests.
9022
9023 2013-05-21 Andreas Schwab <schwab@suse.de>
9024
9025 [BZ #15493]
9026 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9027 * setjmp/tst-sigsetjmp.c: New test.
9028
9029 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9030
9031 * sysdeps/x86_64/memset.S (memset): New implementation.
9032 (__bzero): Likewise.
9033 (__memset_tail): New function.
9034
9035 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9036
9037 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9038 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9039 __memcpy_sse2_unaligned ifunc selection.
9040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9041 Add memcpy-sse2-unaligned.S.
9042 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9043 Add: __memcpy_sse2_unaligned.
9044
9045 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9046
9047 [BZ #15490]
9048 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9049 math_force_eval before restoring floating-point envrionment.
9050 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9052 Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9054 <math_private.h>.
9055 (__nearbyintl): Use math_force_eval before restoring
9056 floating-point environment.
9057 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9058
9059 * math/gen-libm-test.pl (special_functions): Remove.
9060 (parse_args): Don't handle TEST_extra. Handle functions with no
9061 return value.
9062 * math/libm-test.inc (struct test_sincos_data): Replace with
9063 struct test_fFF_11_data.
9064 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9065 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9066 (sincos_test_data): Change element type to struct
9067 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9068 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9069 RUN_TEST_LOOP_sincos.
9070 * math/README.libm-test: Don't mention special handling of
9071 individual functions.
9072 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9074 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9075 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9076 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9078
9079 * math/gen-libm-test.pl (get_variable): Remove function.
9080 (parse_args): Don't show pointer parameters to call in test
9081 names. Use "extra output N" in test names for extra outputs
9082 rather than naming variables.
9083
9084 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9085
9086 [BZ #15488]
9087 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9088 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9089 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9090 double tests.
9091 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9092 disable.
9093 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9094 check_long_double.
9095
9096 * math/gen-libm-test.pl (@tests): Remove variable.
9097 ($count): Likewise.
9098 (new_test): Remove function.
9099 (show_exceptions): New function.
9100 (special_functions): Use show_exceptions instead of new_test.
9101 (parse_args): Likewise.
9102 (generate_testfile): Pass only function name in generated call to
9103 print_max_error or print_complex_max_error.
9104 (get_ulps): Do not handle complex tests specially.
9105 (output_test): Rename to ...
9106 (get_all_ulps_for_test): ... this. Return a string rather than
9107 printing to a file. Require ulps to be present.
9108 (output_ulps): Generate arrays rather than #defines.
9109 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9110 (struct ulp_data): New type.
9111 (BUILD_COMPLEX_ULP): Remove macro.
9112 (compare_ulp_data): New function.
9113 (find_ulps): Likewise.
9114 (find_test_ulps): Likewise.
9115 (find_function_ulps): Likewise.
9116 (find_complex_function_ulps): Likewise.
9117 (print_max_error): Determine allowed ulps using
9118 find_function_ulps.
9119 (print_complex_max_error): Determine allowed ulps using
9120 find_complex_function_ulps.
9121 (check_float_internal): Determine max ulps using find_test_ulps.
9122 (check_float): Do not take max_ulp parameter. Update call to
9123 check_float_internal.
9124 (check_complex): Likewise.
9125 (check_int): Do not take max_ulp parameter.
9126 (check_long): Likewise.
9127 (check_bool): Likewise.
9128 (check_longlong): Likewise.
9129 (struct test_f_f_data): Remove max_ulp field.
9130 (struct test_ff_f_data): Likewise.
9131 (struct test_ff_f_data_nexttoward): Likewise.
9132 (struct test_fi_f_data): Likewise.
9133 (struct test_fl_f_data): Likewise.
9134 (struct test_if_f_data): Likewise.
9135 (struct test_fff_f_data): Likewise.
9136 (struct test_c_f_data): Likewise.
9137 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9138 (struct test_fF_f1_data): Likewise.
9139 (struct test_ffI_f1_data): Likewise.
9140 (struct test_c_c_data): Remove max_ulp field.
9141 (struct test_cc_c_data): Likewise.
9142 (struct test_f_i_data): Likewise.
9143 (struct test_ff_i_data): Likewise.
9144 (struct test_f_l_data): Likewise.
9145 (struct test_f_L_data): Likewise.
9146 (struct test_sincos_data): Likewise.
9147 (RUN_TEST_f_f): Do not handle ulps.
9148 (RUN_TEST_LOOP_f_f): Likewise.
9149 (RUN_TEST_2_f): Likewise.
9150 (RUN_TEST_LOOP_2_f): Likewise.
9151 (RUN_TEST_fff_f): Likewise.
9152 (RUN_TEST_LOOP_fff_f): Likewise.
9153 (RUN_TEST_c_f): Likewise.
9154 (RUN_TEST_LOOP_c_f): Likewise.
9155 (RUN_TEST_f_f1): Likewise.
9156 (RUN_TEST_LOOP_f_f1): Likewise.
9157 (RUN_TEST_fF_f1): Likewise.
9158 (RUN_TEST_LOOP_fF_f1): Likewise.
9159 (RUN_TEST_fI_f1): Likewise.
9160 (RUN_TEST_LOOP_fI_f1): Likewise.
9161 (RUN_TEST_ffI_f1): Likewise.
9162 (RUN_TEST_LOOP_ffI_f1): Likewise.
9163 (RUN_TEST_c_c): Likewise.
9164 (RUN_TEST_LOOP_c_c): Likewise.
9165 (RUN_TEST_cc_c): Likewise.
9166 (RUN_TEST_LOOP_cc_c): Likewise.
9167 (RUN_TEST_f_i): Likewise.
9168 (RUN_TEST_LOOP_f_i): Likewise.
9169 (RUN_TEST_f_i_tg): Likewise.
9170 (RUN_TEST_LOOP_f_i_tg): Likewise.
9171 (RUN_TEST_ff_i_tg): Likewise.
9172 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9173 (RUN_TEST_f_b): Likewise.
9174 (RUN_TEST_LOOP_f_b): Likewise.
9175 (RUN_TEST_f_b_tg): Likewise.
9176 (RUN_TEST_LOOP_f_b_tg): Likewise.
9177 (RUN_TEST_f_l): Likewise.
9178 (RUN_TEST_LOOP_f_l): Likewise.
9179 (RUN_TEST_f_L): Likewise.
9180 (RUN_TEST_LOOP_f_L): Likewise.
9181 (RUN_TEST_sincos): Likewise.
9182 (RUN_TEST_LOOP_sincos): Likewise.
9183
9184 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9185
9186 [BZ #15480]
9187 [BZ #15485]
9188 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9189 main case of finite arguments, set rounding mode to FE_TONEAREST
9190 and discard exceptions.
9191 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9192 exceptions.
9193 (remainder_tonearest_test_data): New variable.
9194 (remainder_test_tonearest): New function.
9195 (remainder_towardzero_test_data): New variable.
9196 (remainder_test_towardzero): New function.
9197 (remainder_downward_test_data): New variable.
9198 (remainder_test_downward): New function.
9199 (remainder_upward_test_data): New variable.
9200 (remainder_test_upward): New function.
9201 (main): Call the new test functions.
9202
9203 * math/libm-test.inc (struct test_f_f1_data): Remove field
9204 extra_init.
9205 (struct test_fF_f1_data): Likewise.
9206 (struct test_ffI_f1_data): Likewise.
9207 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9208 based on value of EXTRA_EXPECTED.
9209 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9210 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9211 EXTRA_VAR based on value of EXTRA_EXPECTED.
9212 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9213 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9214 EXTRA_VAR based on value of EXTRA_EXPECTED.
9215 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9216 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9217 EXTRA_VAR based on value of EXTRA_EXPECTED.
9218 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9219 * math/gen-libm-test.pl (parse_args): Don't output initializers
9220 for extra output values.
9221
9222 * math/libm-test.inc (check_int): Expect result to be exactly
9223 equal to expected value and do not handle ulps.
9224 (check_long): Likewise.
9225 (check_longlong): Likewise.
9226
9227 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9228 exceptions.
9229 (cimag_test_data): Likewise.
9230 (conj_test_data): Likewise.
9231 (copysign_test_data): Likewise.
9232 (cproj_test_data): Likewise.
9233 (creal_test_data): Likewise.
9234 (fabs_test_data): Likewise.
9235 (fdim_test_data): Likewise.
9236 (finite_test_data): Likewise.
9237 (floor_test_data): Likewise.
9238 (fmax_test_data): Likewise.
9239 (fmin_test_data): Likewise.
9240 (fmod_test_data): Likewise.
9241 (fpclassify_test_data): Likewise.
9242 (frexp_test_data): Likewise.
9243 (ilogb_test_data): Likewise.
9244 (isfinite_test_data): Likewise.
9245 (isgreater_test_data): Likewise.
9246 (isgreaterequal_test_data): Likewise.
9247 (isinf_test_data): Likewise.
9248 (isless_test_data): Likewise.
9249 (islessequal_test_data): Likewise.
9250 (islessgreater_test_data): Likewise.
9251 (isnan_test_data): Likewise.
9252 (isnormal_test_data): Likewise.
9253 (issignaling_test_data): Likewise.
9254 (isunordered_test_data): Likewise.
9255 (ldexp_test_data): Likewise.
9256 (lrint_test_data): Likewise.
9257 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9258 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9259 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9260 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9261 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9262 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9263 test input.
9264 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9265 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9266 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9267 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9268 that test input.
9269 (lrint_downward_test_data): Test for "inexact" exceptions.
9270 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9271 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9272 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9273 test input.
9274 (lrint_upward_test_data): Test for "inexact" exceptions.
9275 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9276 test input.
9277 (llrint_test_data): Test for "inexact" exceptions.
9278 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9279 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9280 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9281 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9282 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9283 (llrint_downward_test_data): Test for "inexact" exceptions.
9284 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9285 (llrint_upward_test_data): Test for "inexact" exceptions.
9286 (logb_test_data): Likewise.
9287 (logb_downward_test_data): Likewise.
9288 (nextafter_test_data): Likewise.
9289 (nexttoward_test_data): Likewise.
9290 (remainder_test_data): Likewise.
9291 (remquo_test_data): Likewise.
9292 (scalbn_test_data): Likewise.
9293 (scalbln_test_data): Likewise.
9294 (signbit_test_data): Likewise.
9295 (sqrt_test_data): Likewise.
9296 (significand_test_data): Likewise.
9297
9298 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9299
9300 [BZ #15424]
9301 * benchtests/bench-modf.c (struct args): Mark arg0 as
9302 volatile.
9303 * scripts/bench.pl: Mark members of struct args as volatile.
9304
9305 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9306
9307 [BZ # 15497]
9308 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9309 negative infinity on POWER6 or lower.
9310 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9311
9312 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9313
9314 [BZ #15442]
9315 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9316 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9317 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9318 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9319 (_FP_SETQNAN): New macro.
9320 (_FP_SETQNAN_SEMIRAW): Likewise.
9321 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9322 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9323 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9324 (FP_EXTEND): Use _FP_FRAC_SNANP.
9325 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9326 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9327 into account.
9328 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9329 New macro.
9330 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9331 Likewise.
9332
9333 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9334
9335 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9336 with DIVIDE_BY_ZERO_EXCEPTION.
9337 (gamma_test_data): Likewise.
9338 (lgamma_test_data): Likewise.
9339 (log_test_data): Likewise.
9340 (log10_test_data): Likewise.
9341 (log2_test_data): Likewise.
9342 (tgamma_test_data): Likewise.
9343
9344 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9345 (acos_test_tonearest): Likewise.
9346 (acos_test_towardzero): Likewise.
9347 (acos_test_downward): Likewise.
9348 (acos_test_upward): Likewise.
9349 (acosh_test): Likewise.
9350 (asin_test): Likewise.
9351 (asin_test_tonearest): Likewise.
9352 (asin_test_towardzero): Likewise.
9353 (asin_test_downward): Likewise.
9354 (asin_test_upward): Likewise.
9355 (asinh_test): Likewise.
9356 (atan_test): Likewise.
9357 (atanh_test): Likewise.
9358 (atan2_test): Likewise.
9359 (cabs_test): Likewise.
9360 (cacos_test): Likewise.
9361 (cacosh_test): Likewise.
9362 (casin_test): Likewise.
9363 (casinh_test): Likewise.
9364 (catan_test): Likewise.
9365 (catanh_test): Likewise.
9366 (cbrt_test): Likewise.
9367 (ccos_test): Likewise.
9368 (ccosh_test): Likewise.
9369 (cexp_test): Likewise.
9370 (clog_test): Likewise.
9371 (clog10_test): Likewise.
9372 (cos_test): Likewise.
9373 (cos_test_tonearest): Likewise.
9374 (cos_test_towardzero): Likewise.
9375 (cos_test_downward): Likewise.
9376 (cos_test_upward): Likewise.
9377 (cosh_test): Likewise.
9378 (cosh_test_tonearest): Likewise.
9379 (cosh_test_towardzero): Likewise.
9380 (cosh_test_downward): Likewise.
9381 (cosh_test_upward): Likewise.
9382 (cpow_test): Likewise.
9383 (csin_test): Likewise.
9384 (csinh_test): Likewise.
9385 (csqrt_test): Likewise.
9386 (ctan_test): Likewise.
9387 (ctan_test_tonearest): Likewise.
9388 (ctan_test_towardzero): Likewise.
9389 (ctan_test_downward): Likewise.
9390 (ctan_test_upward): Likewise.
9391 (ctanh_test): Likewise.
9392 (ctanh_test_tonearest): Likewise.
9393 (ctanh_test_towardzero): Likewise.
9394 (ctanh_test_downward): Likewise.
9395 (ctanh_test_upward): Likewise.
9396 (erf_test): Likewise.
9397 (erfc_test): Likewise.
9398 (exp_test): Likewise.
9399 (exp_test_tonearest): Likewise.
9400 (exp_test_towardzero): Likewise.
9401 (exp_test_downward): Likewise.
9402 (exp_test_upward): Likewise.
9403 (exp10_test): Likewise.
9404 (exp2_test): Likewise.
9405 (expm1_test): Likewise.
9406 (fmod_test): Likewise.
9407 (gamma_test): Likewise.
9408 (hypot_test): Likewise.
9409 (j0_test): Likewise.
9410 (j1_test): Likewise.
9411 (jn_test): Likewise.
9412 (lgamma_test): Likewise.
9413 (log_test): Likewise.
9414 (log10_test): Likewise.
9415 (log1p_test): Likewise.
9416 (log2_test): Likewise.
9417 (logb_test_downward): Likewise.
9418 (pow_test): Likewise.
9419 (pow_test_tonearest): Likewise.
9420 (pow_test_towardzero): Likewise.
9421 (pow_test_downward): Likewise.
9422 (pow_test_upward): Likewise.
9423 (remainder_test): Likewise.
9424 (remquo_test): Likewise.
9425 (sin_test): Likewise.
9426 (sin_test_tonearest): Likewise.
9427 (sin_test_towardzero): Likewise.
9428 (sin_test_downward): Likewise.
9429 (sin_test_upward): Likewise.
9430 (sincos_test): Likewise.
9431 (sinh_test): Likewise.
9432 (sinh_test_tonearest): Likewise.
9433 (sinh_test_towardzero): Likewise.
9434 (sinh_test_downward): Likewise.
9435 (sinh_test_upward): Likewise.
9436 (sqrt_test): Likewise.
9437 (tan_test): Likewise.
9438 (tan_test_tonearest): Likewise.
9439 (tan_test_towardzero): Likewise.
9440 (tan_test_downward): Likewise.
9441 (tan_test_upward): Likewise.
9442 (tanh_test): Likewise.
9443 (tgamma_test): Likewise.
9444 (y0_test): Likewise.
9445 (y1_test): Likewise.
9446 (yn_test): Likewise.
9447
9448 * math/gen-libm-test.pl (adjust_arg): Remove function.
9449 (special_function): Remove argument $in_func. Only handle
9450 generating output for tables of tests, not inside functions.
9451 (parse_args): Likewise.
9452 (generate_testfile): Remove variable $in_func. Update call to
9453 parse_args.
9454 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9455 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9456 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9457 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9458 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9459 (MAX_VALUE_INIT): Rename macro to max_value.
9460 (MIN_VALUE_INIT): Rename macro to min_value.
9461 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9462 (plus_zero): Remove variable.
9463 (minus_zero): Likewise.
9464 (plus_infty): Likewise.
9465 (minus_infty): Likewise.
9466 (qnan_value): Likewise.
9467 (max_value): Likewise.
9468 (min_value): Likewise.
9469 (min_subnorm_value): Likewise.
9470
9471 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9472
9473 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9474 uint64_t or uint32_t usage.
9475 * crypt/sha256-block.c: Likewise.
9476 * crypt/sha256-crypt.c: Likewise.
9477 * crypt/sha256.c: Likewise.
9478 * crypt/sha512-block.c: Likewise.
9479 * crypt/sha512-crypt.c: Likewise.
9480 * crypt/sha512.c: Likewise.
9481 * debug/backtrace-tst.c: Likewise.
9482 * debug/pcprofiledump.c: Likewise.
9483 * elf/cache.c: Likewise.
9484 * elf/dl-cache.c: Likewise.
9485 * elf/dl-misc.c: Likewise.
9486 * elf/dl-profile.c: Likewise.
9487 * elf/dl-support.c: Likewise.
9488 * elf/ldconfig.c: Likewise.
9489 * elf/sprof.c: Likewise.
9490 * iconv/dummy-repertoire.c: Likewise.
9491 * iconv/iconv_charmap.c: Likewise.
9492 * iconv/skeleton.c: Likewise.
9493 * iconvdata/8bit-generic.c: Likewise.
9494 * iconvdata/cp737.h: Likewise.
9495 * iconvdata/cp775.h: Likewise.
9496 * iconvdata/ibm1008.h: Likewise.
9497 * iconvdata/ibm1025.h: Likewise.
9498 * iconvdata/ibm1046.h: Likewise.
9499 * iconvdata/ibm1097.h: Likewise.
9500 * iconvdata/ibm1112.h: Likewise.
9501 * iconvdata/ibm1122.h: Likewise.
9502 * iconvdata/ibm1123.h: Likewise.
9503 * iconvdata/ibm1124.h: Likewise.
9504 * iconvdata/ibm1129.h: Likewise.
9505 * iconvdata/ibm1130.h: Likewise.
9506 * iconvdata/ibm1132.h: Likewise.
9507 * iconvdata/ibm1133.h: Likewise.
9508 * iconvdata/ibm1137.h: Likewise.
9509 * iconvdata/ibm1140.h: Likewise.
9510 * iconvdata/ibm1141.h: Likewise.
9511 * iconvdata/ibm1142.h: Likewise.
9512 * iconvdata/ibm1143.h: Likewise.
9513 * iconvdata/ibm1144.h: Likewise.
9514 * iconvdata/ibm1145.h: Likewise.
9515 * iconvdata/ibm1146.h: Likewise.
9516 * iconvdata/ibm1147.h: Likewise.
9517 * iconvdata/ibm1148.h: Likewise.
9518 * iconvdata/ibm1149.h: Likewise.
9519 * iconvdata/ibm1153.h: Likewise.
9520 * iconvdata/ibm1154.h: Likewise.
9521 * iconvdata/ibm1155.h: Likewise.
9522 * iconvdata/ibm1156.h: Likewise.
9523 * iconvdata/ibm1157.h: Likewise.
9524 * iconvdata/ibm1158.h: Likewise.
9525 * iconvdata/ibm1160.h: Likewise.
9526 * iconvdata/ibm1161.h: Likewise.
9527 * iconvdata/ibm1162.h: Likewise.
9528 * iconvdata/ibm1163.h: Likewise.
9529 * iconvdata/ibm1164.h: Likewise.
9530 * iconvdata/ibm1166.h: Likewise.
9531 * iconvdata/ibm1167.h: Likewise.
9532 * iconvdata/ibm12712.h: Likewise.
9533 * iconvdata/ibm1390.h: Likewise.
9534 * iconvdata/ibm1399.h: Likewise.
9535 * iconvdata/ibm16804.h: Likewise.
9536 * iconvdata/ibm4517.h: Likewise.
9537 * iconvdata/ibm4899.h: Likewise.
9538 * iconvdata/ibm4909.h: Likewise.
9539 * iconvdata/ibm4971.h: Likewise.
9540 * iconvdata/ibm5347.h: Likewise.
9541 * iconvdata/ibm803.h: Likewise.
9542 * iconvdata/ibm856.h: Likewise.
9543 * iconvdata/ibm901.h: Likewise.
9544 * iconvdata/ibm902.h: Likewise.
9545 * iconvdata/ibm9030.h: Likewise.
9546 * iconvdata/ibm9066.h: Likewise.
9547 * iconvdata/ibm921.h: Likewise.
9548 * iconvdata/ibm922.h: Likewise.
9549 * iconvdata/ibm9448.h: Likewise.
9550 * iconvdata/isiri-3342.h: Likewise.
9551 * iconvdata/jis0201.h: Likewise.
9552 * include/link.h: Likewise.
9553 * include/netdb.h: Likewise.
9554 * inet/check_native.c: Likewise.
9555 * inet/check_pf.c: Likewise.
9556 * inet/getipv4sourcefilter.c: Likewise.
9557 * inet/getnameinfo.c: Likewise.
9558 * inet/getsourcefilter.c: Likewise.
9559 * inet/htonl.c: Likewise.
9560 * inet/setipv4sourcefilter.c: Likewise.
9561 * inet/setsourcefilter.c: Likewise.
9562 * inet/test-inet6_opt.c: Likewise.
9563 * inet/tst-network.c: Likewise.
9564 * locale/C-collate.c: Likewise.
9565 * locale/C-ctype.c: Likewise.
9566 * locale/C-time.c: Likewise.
9567 * locale/C-translit.h: Likewise.
9568 * locale/loadarchive.c: Likewise.
9569 * locale/programs/3level.h: Likewise.
9570 * locale/programs/charmap.c: Likewise.
9571 * locale/programs/charmap.h: Likewise.
9572 * locale/programs/ld-address.c: Likewise.
9573 * locale/programs/ld-collate.c: Likewise.
9574 * locale/programs/ld-ctype.c: Likewise.
9575 * locale/programs/ld-identification.c: Likewise.
9576 * locale/programs/ld-measurement.c: Likewise.
9577 * locale/programs/ld-messages.c: Likewise.
9578 * locale/programs/ld-monetary.c: Likewise.
9579 * locale/programs/ld-name.c: Likewise.
9580 * locale/programs/ld-numeric.c: Likewise.
9581 * locale/programs/ld-paper.c: Likewise.
9582 * locale/programs/ld-telephone.c: Likewise.
9583 * locale/programs/ld-time.c: Likewise.
9584 * locale/programs/linereader.c: Likewise.
9585 * locale/programs/locale.c: Likewise.
9586 * locale/programs/locarchive.c: Likewise.
9587 * locale/programs/locfile.h: Likewise.
9588 * locale/programs/repertoire.c: Likewise.
9589 * locale/programs/simple-hash.c: Likewise.
9590 * locale/programs/simple-hash.h: Likewise.
9591 * malloc/memusage.c: Likewise.
9592 * malloc/memusagestat.c: Likewise.
9593 * nis/nis_defaults.c: Likewise.
9594 * nis/nis_hash.c: Likewise.
9595 * nis/nis_print.c: Likewise.
9596 * nis/nis_xdr.c: Likewise.
9597 * nscd/connections.c: Likewise.
9598 * nscd/hstcache.c: Likewise.
9599 * nscd/nscd_gethst_r.c: Likewise.
9600 * nscd/nscd_getserv_r.c: Likewise.
9601 * nscd/nscd_helper.c: Likewise.
9602 * nscd/servicescache.c: Likewise.
9603 * nss/makedb.c: Likewise.
9604 * nss/nss_db/db-XXX.c: Likewise.
9605 * nss/nss_db/db-initgroups.c: Likewise.
9606 * nss/nss_db/db-netgrp.c: Likewise.
9607 * nss/nss_files/files-network.c: Likewise.
9608 * nss/nss_files/files-parse.c: Likewise.
9609 * posix/bug-regex5.c: Likewise.
9610 * posix/fnmatch_loop.c: Likewise.
9611 * posix/regcomp.c: Likewise.
9612 * posix/regexec.c: Likewise.
9613 * posix/tst-rfc3484-2.c: Likewise.
9614 * posix/tst-rfc3484-3.c: Likewise.
9615 * posix/tst-rfc3484.c: Likewise.
9616 * resolv/nss_dns/dns-canon.c: Likewise.
9617 * resolv/nss_dns/dns-network.c: Likewise.
9618 * resolv/res_init.c: Likewise.
9619 * resolv/res_mkquery.c: Likewise.
9620 * resolv/tst-aton.c: Likewise.
9621 * stdlib/cxa_atexit.c: Likewise.
9622 * stdlib/cxa_finalize.c: Likewise.
9623 * stdlib/gen-fpioconst.c: Likewise.
9624 * stdlib/strtol_l.c: Likewise.
9625 * string/tst-endian.c: Likewise.
9626 * sunrpc/auth_des.c: Likewise.
9627 * sunrpc/clnt_udp.c: Likewise.
9628 * sunrpc/rtime.c: Likewise.
9629 * sunrpc/svcauth_des.c: Likewise.
9630 * sunrpc/xdr.c: Likewise.
9631 * sunrpc/xdr_intXX_t.c: Likewise.
9632 * sunrpc/xdr_rec.c: Likewise.
9633 * sysdeps/generic/ldconfig.h: Likewise.
9634 * sysdeps/generic/ldsodefs.h: Likewise.
9635 * sysdeps/generic/memusage.h: Likewise.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9639 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9646 * sysdeps/posix/getaddrinfo.c: Likewise.
9647 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9648 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9649 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9650 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9651 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9652 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9653 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9654 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9655 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9657 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9658 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9659 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9660 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9661 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9662 * sysdeps/x86_64/dl-tls.h: Likewise.
9663 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9664 * time/alt_digit.c: Likewise.
9665 * time/era.c: Likewise.
9666 * wcsmbs/tst-c16c32-1.c: Likewise.
9667
9668 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9669
9670 * math/libm-test.inc (struct test_sincos_data): New type.
9671 (RUN_TEST_LOOP_sincos): New macro.
9672 (sincos_test_data): New variable.
9673 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9674
9675 2013-05-16 Richard Henderson <rth@redhat.com>
9676
9677 * math/atest-exp2.c (LIMB64): New macro.
9678 (CONSTSZ): New macro.
9679 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9680 (hexdig): Move ...
9681 (print_mpn_fp): ... to function scope.
9682 (read_mpn_hex): Remove.
9683 (get_log2): Remove.
9684 (exp2_mpn): Use mp_log2.
9685 (main): Use mp_exp1.
9686
9687 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9688
9689 * math/libm-test.inc: Remove comment about not testing "inexact"
9690 exceptions.
9691 (INEXACT_EXCEPTION): New macro.
9692 (NO_INEXACT_EXCEPTION): Likewise.
9693 (INVALID_EXCEPTION_OK): Update value.
9694 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9695 (OVERFLOW_EXCEPTION_OK): Likewise.
9696 (UNDERFLOW_EXCEPTION_OK): Likewise.
9697 (IGNORE_ZERO_INF_SIGN): Likewise.
9698 (ERRNO_UNCHANGED): Likewise.
9699 (ERRNO_EDOM): Likewise.
9700 (ERRNO_ERANGE): Likewise.
9701 (test_exceptions): Handle testing "inexact" exceptions.
9702 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9703 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9704 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9705 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9706 INEXACT_EXCEPTION.
9707 (rint_towardzero_test_data): Likewise.
9708 (rint_downward_test_data): Likewise.
9709 (rint_upward_test_data): Likewise.
9710
9711 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9712 with OVERFLOW_EXCEPTION.
9713 (exp10_test_data): Likewise.
9714 (exp2_test_data): Likewise.
9715 (expm1_test_data): Likewise.
9716 (lgamma_test_data): Likewise.
9717 (pow_test_data): Likewise.
9718 (tgamma_test_data): Likewise.
9719 (yn_test_data): Remove duplicate test of overflow.
9720
9721 * math/libm-test.inc (struct test_cc_c_data): New type.
9722 (RUN_TEST_LOOP_cc_c): New macro.
9723 (cpow_test_data): New variable.
9724 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9725
9726 * math/libm-test.inc (struct test_f_L_data): New type.
9727 (RUN_TEST_LOOP_f_L): New macro.
9728 (llrint_test_data): New variable.
9729 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9730 (llrint_tonearest_test_data): New variable.
9731 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9732 (llrint_towardzero_test_data): New variable.
9733 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9734 (llrint_downward_test_data): New variable.
9735 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9736 (llrint_upward_test_data): New variable.
9737 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9738 (llround_test_data): New variable.
9739 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9740
9741 2013-05-13 Peter Collingbourne <pcc@google.com>
9742
9743 * math/atest-exp2.c (get_log2): Remove const attribute.
9744
9745 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9746
9747 * math/libm-test.inc (struct test_f_l_data): New type.
9748 (RUN_TEST_LOOP_f_l): New macro.
9749 (lrint_test_data): New variable.
9750 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9751 (lrint_tonearest_test_data): New variable.
9752 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9753 (lrint_towardzero_test_data): New variable.
9754 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9755 (lrint_downward_test_data): New variable.
9756 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9757 (lrint_upward_test_data): New variable.
9758 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9759 (lround_test_data): New variable.
9760 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9761
9762 2013-05-15 Peter Collingbourne <pcc@google.com>
9763
9764 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9765 (EXTRACT_WORDS64) Use where appropriate.
9766 (INSERT_WORDS64) Likewise.
9767
9768 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9769 constraints with x constraints.
9770 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9771
9772 * malloc/obstack.c (_obstack_compat): Add initializer.
9773
9774 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9775
9776 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9777 si_trapno and add si_addr_lsb to _sifields.sigfault.
9778 (si_trapno): Remove macro.
9779 (si_addr_lsb): Define new macro.
9780 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9781
9782 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9783
9784 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9785 instead of TEST_f_l.
9786 (llrint_test_tonearest): Likewise.
9787 (llrint_test_towardzero): Likewise.
9788 (llrint_test_downward): Likewise.
9789 (llrint_test_upward): Likewise.
9790 (llround_test): Likewise.
9791
9792 * math/libm-test.inc (struct test_f_i_data): Add comment.
9793 (RUN_TEST_LOOP_f_b): New macro.
9794 (RUN_TEST_LOOP_f_b_tg): Likewise.
9795 (finite_test_data): New variable.
9796 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9797 (isfinite_test_data): New variable.
9798 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9799 (isinf_test_data): New variable.
9800 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9801 (isnan_test_data): New variable.
9802 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9803 (isnormal_test_data): New variable.
9804 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9805 (issignaling_test_data): New variable.
9806 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9807 (signbit_test_data): New variable.
9808 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9809
9810 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9811 with INVALID_EXCEPTION.
9812 (acosh_test_data): Likewise.
9813 (asin_test_data): Likewise.
9814 (atanh_test_data): Likewise.
9815 (fmod_test_data): Likewise.
9816 (log_test_data): Likewise.
9817 (log10_test_data): Likewise.
9818 (log2_test_data): Likewise.
9819 (pow_test_data): Likewise.
9820 (sqrt_test_data): Likewise.
9821 (y0_test_data): Likewise.
9822 (y1_test_data): Likewise.
9823 (yn_test_data): Likewise.
9824
9825 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9826 function contents.
9827
9828 * math/libm-test.inc (struct test_ff_i_data): New type.
9829 (RUN_TEST_LOOP_ff_i_tg): New macro.
9830 (isgreater_test_data): New variable.
9831 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9832 (isgreaterequal_test_data): New variable.
9833 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9834 (isless_test_data): New variable.
9835 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9836 (islessequal_test_data): New variable.
9837 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9838 (islessgreater_test_data): New variable.
9839 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9840 (isunordered_test_data): New variable.
9841 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9842
9843 2013-05-14 David S. Miller <davem@davemloft.net>
9844
9845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9846
9847 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9848
9849 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9850
9851 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9852 extra_test to int.
9853 (struct test_f_i_data): Change type of max_ulp to int.
9854
9855 * math/libm-test.inc (test_ffI_f1_data): New type.
9856 (RUN_TEST_LOOP_ffI_f1): New macro.
9857 (remquo_test_data): New variable.
9858 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9859
9860 * setjmp/tst-setjmp-fp.c: New file.
9861 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9862 (link-libm): New variable.
9863 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9864
9865 * math/libm-test.inc (struct test_f_i_data): New type.
9866 (RUN_TEST_LOOP_f_i): New macro.
9867 (RUN_TEST_LOOP_f_i_tg): Likewise.
9868 (fpclassify_test_data): New variable.
9869 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9870 (ilogb_test_data): New variable.
9871 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9872
9873 * math/libm-test.inc (scalbln_test): Correct function name in END
9874 call.
9875
9876 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9877 (RUN_TEST_LOOP_fI_f1): New macro.
9878 (frexp_test_data): New variable.
9879 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9880
9881 * math/libm-test.inc (struct test_fF_f1_data): New type.
9882 (RUN_TEST_LOOP_fF_f1): New macro.
9883 (modf_test_data): New variable.
9884 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9885
9886 * math/libm-test.inc (struct test_f_f1_data): New type.
9887 (RUN_TEST_LOOP_f_f1): New macro.
9888 (gamma_test_data): New variable.
9889 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9890 (lgamma_test_data): New variable.
9891 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9892
9893 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9894
9895 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9896 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9897 (main): Comment "tls" pseudo-hwcap.
9898
9899 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9900
9901 * math/libm-test.inc (struct test_fl_f_data): New type.
9902 (RUN_TEST_LOOP_fl_f): New variable.
9903 (scalbln_test_data): New variable.
9904 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9905
9906 * math/libm-test.inc (struct test_fi_f_data): New type.
9907 (RUN_TEST_LOOP_fi_f): New macro.
9908 (ldexp_test_data): New variable.
9909 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9910 (scalbn_test_data): New variable.
9911 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9912
9913 * math/libm-test.inc (struct test_c_f_data): New type.
9914 (RUN_TEST_LOOP_c_f): New macro.
9915 (cabs_test_data): New variable.
9916 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9917 (carg_test_data): New variable.
9918 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9919 (cimag_test_data): New variable.
9920 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9921 (creal_test_data): New variable.
9922 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9923
9924 * math/libm-test.inc (struct test_if_f_data): New type.
9925 (RUN_TEST_LOOP_if_f): New macro.
9926 (jn_test_data): New variable.
9927 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9928 (yn_test_data): New variable.
9929 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9930
9931 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9932
9933 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9934
9935 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9936 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9937
9938 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9939
9940 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9941 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9942 (bench-deps): Add bench-timing.h.
9943 * benchtests-bench-skeleton.c: Include bench-timing.h.
9944 (main): Use TIMING_* macros instead of clock_gettime.
9945 * benchtests/bench-timing.h: New file.
9946
9947 [BZ #14582]
9948 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9949 Renamed from _LIB_VERSION.
9950 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9951
9952 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9953
9954 * math/libm-test.inc (struct test_fff_f_data): New type.
9955 (RUN_TEST_LOOP_fff_f): New macro.
9956 (fma_test_data): New variable.
9957 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9958 (fma_towardzero_test_data): New variable.
9959 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9960 (fma_downward_test_data): New variable.
9961 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9962 (fma_upward_test_data): New variable.
9963 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9964
9965 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9966 (struct test_c_c_data): New type.
9967 (RUN_TEST_LOOP_c_c): New macro.
9968 (cacos_test_data): New variable.
9969 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9970 (cacosh_test_data): New variable.
9971 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9972 (casin_test_data): New variable.
9973 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9974 (casinh_test_data): New variable.
9975 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9976 (catan_test_data): New variable.
9977 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9978 (catanh_test_data): New variable.
9979 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9980 (ccos_test_data): New variable.
9981 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9982 (ccosh_test_data): New variable.
9983 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9984 (cexp_test_data): New variable.
9985 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9986 (clog_test_data): New variable.
9987 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9988 (clog10_test_data): New variable.
9989 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9990 (conj_test_data): New variable.
9991 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9992 (cproj_test_data): New variable.
9993 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9994 (csin_test_data): New variable.
9995 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9996 (csinh_test_data): New variable.
9997 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9998 (csqrt_test_data): New variable.
9999 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10000 (ctan_test_data): New variable.
10001 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10002 (ctan_tonearest_test_data): New variable.
10003 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10004 (ctan_towardzero_test_data): New variable.
10005 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10006 (ctan_downward_test_data): New variable.
10007 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10008 (ctan_upward_test_data): New variable.
10009 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10010 (ctanh_test_data): New variable.
10011 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10012 (ctanh_tonearest_test_data): New variable.
10013 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10014 (ctanh_towardzero_test_data): New variable.
10015 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10016 (ctanh_downward_test_data): New variable.
10017 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10018 (ctanh_upward_test_data): New variable.
10019 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10020 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10021 of BUILD_COMPLEX.
10022
10023 * math/libm-test.inc (struct test_ff_f_data): New type.
10024 (struct test_ff_f_data_nexttoward): Likewise.
10025 (RUN_TEST_LOOP_2_f): New macro.
10026 (RUN_TEST_LOOP_ff_f): Likewise.
10027 (atan2_test_data): New variable.
10028 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10029 (copysign_test_data): New variable.
10030 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10031 (fdim_test_data): New variable.
10032 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10033 (fmax_test_data): New variable.
10034 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10035 (fmin_test_data): New variable.
10036 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10037 (fmod_test_data): New variable.
10038 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10039 (hypot_test_data): New variable.
10040 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10041 (nextafter_test_data): New variable.
10042 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10043 (nexttoward_test_data): New variable.
10044 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10045 (pow_test_data): New variable.
10046 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10047 (pow_tonearest_test_data): New variable.
10048 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10049 (pow_towardzero_test_data): New variable.
10050 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10051 (pow_downward_test_data): New variable.
10052 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10053 (pow_upward_test_data): New variable.
10054 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10055 (remainder_test_data): New variable.
10056 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10057 (scalb_test_data): New variable.
10058 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10059 * sysdeps/i386/fpu/libm-test-ulps: Update.
10060
10061 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10062
10063 * math/libm-test.inc (fma_test): Use max_value instead of local
10064 variable fltmax.
10065 (nextafter_test): Likewise.
10066
10067 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10068 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10069 (acos_downward_test_data): New variable.
10070 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10071 (acos_upward_test_data): New variable.
10072 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10073 (acosh_test_data): New variable.
10074 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10075 (asin_test_data): New variable.
10076 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10077 (asin_tonearest_test_data): New variable.
10078 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10079 (asin_towardzero_test_data): New variable.
10080 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10081 (asin_downward_test_data): New variable.
10082 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10083 (asin_upward_test_data): New variable.
10084 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10085 (asinh_test_data): New variable.
10086 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10087 (atan_test_data): New variable.
10088 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10089 (atanh_test_data): New variable.
10090 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10091 (cbrt_test_data): New variable.
10092 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10093 (ceil_test_data): New variable.
10094 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10095 (cos_test_data): New variable.
10096 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10097 (cos_tonearest_test_data): New variable.
10098 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10099 (cos_towardzero_test_data): New variable.
10100 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10101 (cos_downward_test_data): New variable.
10102 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10103 (cos_upward_test_data): New variable.
10104 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10105 (cosh_test_data): New variable.
10106 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10107 (cosh_tonearest_test_data): New variable.
10108 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10109 (cosh_towardzero_test_data): New variable.
10110 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10111 (cosh_downward_test_data): New variable.
10112 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10113 (cosh_upward_test_data): New variable.
10114 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10115 (erf_test_data): New variable.
10116 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10117 (erfc_test_data): New variable.
10118 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10119 (exp_test_data): New variable.
10120 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10121 (exp_tonearest_test_data): New variable.
10122 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10123 (exp_towardzero_test_data): New variable.
10124 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10125 (exp_downward_test_data): New variable.
10126 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10127 (exp_upward_test_data): New variable.
10128 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10129 (exp10_test_data): New variable.
10130 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10131 (exp2_test_data): New variable.
10132 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10133 (expm1_test_data): New variable.
10134 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10135 (fabs_test_data): New variable.
10136 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10137 (floor_test_data): New variable.
10138 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10139 (j0_test_data): New variable.
10140 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10141 (j1_test_data): New variable.
10142 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10143 (log_test_data): New variable.
10144 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10145 (log10_test_data): New variable.
10146 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10147 (log1p_test_data): New variable.
10148 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10149 (log2_test_data): New variable.
10150 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10151 (logb_test_data): New variable.
10152 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10153 (logb_downward_test_data): New variable.
10154 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10155 (nearbyint_test_data): New variable.
10156 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10157 (rint_test_data): New variable.
10158 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10159 (rint_tonearest_test_data): New variable.
10160 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10161 (rint_towardzero_test_data): New variable.
10162 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10163 (rint_downward_test_data): New variable.
10164 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10165 (rint_upward_test_data): New variable.
10166 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10167 (round_test_data): New variable.
10168 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10169 (sin_test_data): New variable.
10170 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10171 (sin_tonearest_test_data): New variable.
10172 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10173 (sin_towardzero_test_data): New variable.
10174 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10175 (sin_downward_test_data): New variable.
10176 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10177 (sin_upward_test_data): New variable.
10178 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10179 (sinh_test_data): New variable.
10180 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10181 (sinh_tonearest_test_data): New variable.
10182 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10183 (sinh_towardzero_test_data): New variable.
10184 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10185 (sinh_downward_test_data): New variable.
10186 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10187 (sinh_upward_test_data): New variable.
10188 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10189 (sqrt_test_data): New variable.
10190 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10191 (tan_test_data): New variable.
10192 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10193 (tan_tonearest_test_data): New variable.
10194 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10195 (tan_towardzero_test_data): New variable.
10196 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10197 (tan_downward_test_data): New variable.
10198 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10199 (tan_upward_test_data): New variable.
10200 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10201 (tanh_test_data): New variable.
10202 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10203 (tgamma_test_data): New variable.
10204 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10205 (trunc_test_data): New variable.
10206 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10207 (y0_test_data): New variable.
10208 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10209 (y1_test_data): New variable.
10210 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10211 (significand_test_data): New variable.
10212 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10213
10214 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10215
10216 [BZ #12387]
10217 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10218
10219 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10220
10221 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10222
10223 2013-05-10 Andreas Jaeger <aj@suse.de>
10224
10225 [BZ #15448]
10226 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10227 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10228
10229 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10230
10231 * math/gen-libm-test.pl (adjust_arg): New function.
10232 (special_functions): Handle generating output in both functions
10233 and arrays.
10234 (parse_args): Likewise.
10235 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10236 $in_func argument to parse_args.
10237 * math/libm-test.inc (struct test_f_f_data): New type.
10238 (IF_ROUND_INIT_): New macro.
10239 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10240 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10241 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10242 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10243 (ROUND_RESTORE_): Likewise.
10244 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10245 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10246 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10247 (ROUND_RESTORE_FE_UPWARD): Likewise.
10248 (RUN_TEST_LOOP_f_f): New macro.
10249 (acos_test_data): New variable.
10250 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10251 (acos_tonearest_test_data): New variable.
10252 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10253
10254 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10255
10256 * benchtests/bench-skeleton.c (startup): Fix coding style.
10257
10258 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10259
10260 [BZ #6809]
10261 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10262 negative infinity argument.
10263 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10264 negative infinity argument.
10265 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10266 negative infinity argument.
10267 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10268 domain errors.
10269
10270 2013-05-10 Florian Weimer <fweimer@redhat.com>
10271
10272 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10273 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10274 * iconv/iconv_prog.c (main): Likewise.
10275 * locale/programs/charmap-dir.c (charmap_readdir)
10276 (fopen_uncompressed): Likewise.
10277 * locale/programs/locfile.c (siblings_uncached)
10278 (write_locale_data): Use lstat64 instead of lstat.
10279 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10280 stat.
10281
10282 2013-05-10 Andreas Jaeger <aj@suse.de>
10283
10284 [BZ #15395]
10285 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10286 localization.
10287 Include <locale.h>.
10288
10289 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10290
10291 * elf/dl-close.c (_dl_close_worker): Add comments.
10292
10293 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #15359]
10296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10297 high part of pi/2.
10298 (__ieee754_rem_pio2l): Update comments.
10299
10300 [BZ #15429]
10301 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10302 high part of pi/2.
10303 (__ieee754_rem_pio2l): Update comments.
10304
10305 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10306 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10307
10308 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10309 M_PI_4l.
10310
10311 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10312 (M_PI_34_LOG10El): Likewise.
10313 (M_PI2_LOG10El): Likewise.
10314 (M_PI4_LOG10El): Likewise.
10315 (M_PI_LOG10El): Likewise.
10316
10317 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10318
10319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10320
10321 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10322
10323 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10324 (MINUS_ZERO_INIT): Likewise.
10325 (PLUS_INFTY_INIT): Likewise.
10326 (MINUS_INFTY_INIT): Likewise.
10327 (QNAN_VALUE_INIT): Likewise.
10328 (MAX_VALUE_INIT): Likewise.
10329 (MIN_VALUE_INIT): Likewise.
10330 (MIN_SUBNORM_VALUE_INIT): Likewise.
10331 (plus_zero): Initialize with PLUS_ZERO_INIT.
10332 (minus_zero): Initialize with MINUS_ZERO_INIT.
10333 (plus_infty): Initialize with PLUS_INFTY_INIT.
10334 (minus_infty): Initialize with MINUS_INFTY_INIT.
10335 (qnan_value): Initialize with QNAN_VALUE_INIT.
10336 (max_value): Initialize with MAX_VALUE_INIT.
10337 (min_value): Initialize with MIN_VALUE_INIT.
10338 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10339
10340 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10341 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10342 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10343 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10344
10345 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10346 (RUN_TEST_2_f): Likewise.
10347 (RUN_TEST_ff_f): Likewise.
10348 (RUN_TEST_fi_f): Likewise.
10349 (RUN_TEST_fl_f): Likewise.
10350 (RUN_TEST_fff_f): Likewise.
10351 (RUN_TEST_c_f): Likewise.
10352 (RUN_TEST_f_f1): Likewise.
10353 (RUN_TEST_fF_f1): Likewise.
10354 (RUN_TEST_fI_f1): Likewise.
10355 (RUN_TEST_ffI_f1): Likewise.
10356 (RUN_TEST_c_c): Likewise.
10357 (RUN_TEST_cc_c): Likewise.
10358 (RUN_TEST_f_i): Likewise.
10359 (RUN_TEST_f_i_tg): Likewise.
10360 (RUN_TEST_ff_i_tg): Likewise.
10361 (RUN_TEST_f_b): Likewise.
10362 (RUN_TEST_f_b_tg): Likewise.
10363 (RUN_TEST_f_l): Likewise.
10364 (RUN_TEST_f_L): Likewise.
10365 (RUN_TEST_sincos): Likewise.
10366 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10367 whether to show exceptions. Do not include ");\n" in return
10368 value.
10369 (special_functions): Output call to RUN_TEST_sincos instead of
10370 check_float calls. Update calls to new_test.
10371 (parse_args): Output call to single RUN_TEST_* macro instead of
10372 check_* calls and other assignments. Update calls to new_test.
10373
10374 [BZ #2546]
10375 [BZ #2560]
10376 [BZ #5159]
10377 [BZ #15426]
10378 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10379 input to result for tgamma overflow.
10380 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10381 (gamma_coeff): New variable.
10382 (NCOEFF): New macro.
10383 (gamma_positive): New function.
10384 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10385 underflow here. Use gamma_positive instead of exp (lgamma) for
10386 other arguments.
10387 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10388 (gamma_coeff): New variable.
10389 (NCOEFF): New macro.
10390 (gammaf_positive): New function.
10391 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10392 underflow here. Use gamma_positive instead of exp (lgamma) for
10393 other arguments.
10394 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10395 (gamma_coeff): New variable.
10396 (NCOEFF): New macro.
10397 (gammal_positive): New function.
10398 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10399 underflow here. Use gamma_positive instead of exp (lgamma) for
10400 other arguments.
10401 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10402 (gamma_coeff): New variable.
10403 (NCOEFF): New macro.
10404 (gammal_positive): New function.
10405 (__ieee754_gammal_r): Handle positive infinity, overflow and
10406 underflow here. Handle NaN the same as positive infinity. Remove
10407 check x < 0xffffffff for negative integers. Use gamma_positive
10408 instead of exp (lgamma) for other arguments.
10409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10410 (gamma_coeff): New variable.
10411 (NCOEFF): New macro.
10412 (gammal_positive): New function.
10413 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10414 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10418 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10419 * sysdeps/generic/math_private.h (__gamma_productf): New
10420 prototype.
10421 (__gamma_product): Likewise.
10422 (__gamma_productl): Likewise.
10423 * math/Makefile (libm-calls): Add gamma_product.
10424 * math/libm-test.inc (tgamma_test): Add more tests.
10425 * sysdeps/i386/fpu/libm-test-ulps: Update.
10426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10427
10428 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10429
10430 * benchtests/bench-skeleton.c (main): Preheat CPU.
10431
10432 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10433
10434 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10435
10436 2013-05-07 Roland McGrath <roland@hack.frob.com>
10437
10438 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10439 and _dl_skip_args_internal.
10440
10441 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10442
10443 * manual/message.texi (Message Translation): Talk about users.
10444 Message to key mapping impacts design.
10445
10446 2013-05-06 Roland McGrath <roland@hack.frob.com>
10447
10448 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10449
10450 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10451
10452 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10453 * sysdeps/wordsize-64/glob64.c: ... here.
10454
10455 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10456 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10457 New macros.
10458
10459 * debug/getlogin_r_chk.c: Moved to ...
10460 * login/getlogin_r_chk.c: ... here.
10461 * debug/Makefile (routines): Move getlogin_r_chk to ...
10462 * login/Makefile (routines): ... here.
10463 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10464 * login/Versions (libc: GLIBC_2.4): ... here.
10465
10466 * io/poll.c (__poll): Renamed from poll.
10467 Add libc_hidden_def.
10468 (poll): Define as weak alias.
10469
10470 * debug/ptsname_r_chk.c: Moved to ...
10471 * login/ptsname_r_chk.c: ... here.
10472 * debug/Makefile (routines): Move ptsname_r_chk to ...
10473 * login/Makefile (routines): ... here.
10474 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10475 * login/Versions (libc: GLIBC_2.4): ... here.
10476
10477 * posix/getlogin.c: Moved to ...
10478 * login/getlogin.c: ... here.
10479 * posix/getlogin_r.c: Moved to ...
10480 * login/getlogin_r.c: ... here.
10481 * posix/getlogin_r.c: Moved to ...
10482 * login/getlogin_r.c: ... here.
10483 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10484 * login/Makefile (routines): ... here.
10485 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10486 * login/Versions (libc: GLIBC_2.0): ... here.
10487
10488 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10489 (setrlimit): Define as weak alias.
10490
10491 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10492 Call __ names for open, ftruncate, and close.
10493 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10494 (truncate): Define as weak alias.
10495
10496 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10497
10498 * math/gen-libm-test.pl (parse_args): Initialize x before each
10499 test of frexp, modf and remquo.
10500
10501 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10502 test signgam value.
10503
10504 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10505
10506 [BZ #15418]
10507 [BZ #15419]
10508 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10509 internal tests.
10510 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10511
10512 2013-05-06 Roland McGrath <roland@hack.frob.com>
10513
10514 * elf/dl-writev.h: New file.
10515 * elf/dl-misc.c: Include it.
10516 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10517 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10518
10519 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10520
10521 * math/libm-test.inc (noXFails): Remove variable.
10522 (noXPasses): Likewise.
10523 (BUILD_COMPLEX_INT): Remove macro.
10524 (print_screen): Remove xfail argument.
10525 (print_screen_max_error): Likewise.
10526 (update_stats): Likewise.
10527 (print_max_error): Likewise. Update calls to other affected
10528 functions.
10529 (print_complex_max_error): Likewise.
10530 (test_single_exception): Update calls to print_screen.
10531 (test_single_errno): Likewise.
10532 (check_float_internal): Remove xfail argument. Update calls to
10533 other affected functions.
10534 (check_float): Likewise.
10535 (check_complex): Likewise.
10536 (check_int): Likewise.
10537 (check_long): Likewise.
10538 (check_bool): Likewise.
10539 (check_longlong): Likewise.
10540 (main): Don't print noXFails and noXPasses.
10541 * math/gen-libm-test.pl (top level): Don't mention expected
10542 failure handling in comment.
10543 (new_test): Don't handle expected failures.
10544 (parse_args): Don't mention expected failure handling in comment.
10545 (generate_testfile): Don't handle expected failures.
10546 (parse_ulps): Likewise.
10547 (print_ulps_file): Likewise.
10548 (get_failure): Remove function.
10549 (output_test): Don't handle expected failures.
10550 * make/README.libm-test: Don't mention expected failure handling.
10551
10552 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10553 (minus_zero): Likewise.
10554 (plus_infty): Likewise.
10555 (minus_infty): Likewise.
10556 (qnan_value): Likewise.
10557 (max_value): Likewise.
10558 (min_value): Likewise.
10559 (min_subnorm_value): Likewise.
10560 (initialize): Do not initialize those variables dynamically.
10561
10562 2013-05-03 Roland McGrath <roland@hack.frob.com>
10563
10564 * io/open.c (__open_2): Moved to ...
10565 * io/open_2.c: ... this new file.
10566 * io/open64.c (__open64_2): Moved to ...
10567 * io/open64_2.c: ... this new file.
10568 * io/openat.c (__openat_2): Moved to ...
10569 * io/openat_2.c: ... this new file.
10570 * io/openat64.c (__openat64_2): Moved to ...
10571 * io/openat64_2.c: ... this new file.
10572 * io/Makefile (routines): Add them.
10573 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10574 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10575 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10576 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10577 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10578 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10579 (__openat64): Add hidden_ver.
10580 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10581 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10582
10583 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10584 Separately conditionalize setting of GLRO(dl_sysinfo) so
10585 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10586 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10587
10588 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10589
10590 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10591 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10592 definition.
10593 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10594 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10595 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10596 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10597 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10598
10599 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10600
10601 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10602 test signgam value.
10603
10604 * math/libm-test.inc (hypot_test): Do not use
10605 IGNORE_ZERO_INF_SIGN.
10606
10607 2013-05-03 Andreas Jaeger <aj@suse.de>
10608
10609 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10610 Linux 3.9.
10611 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10612 (PF_MAX): Adjust for VSOCK change.
10613
10614 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10615
10616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10617
10618 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10619
10620 [BZ #15264]
10621 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10622 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10623 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10624
10625 2013-05-02 David S. Miller <davem@davemloft.net>
10626
10627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10628
10629 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10630
10631 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10632
10633 2013-05-01 Roland McGrath <roland@hack.frob.com>
10634
10635 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10636
10637 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10638
10639 [BZ #14952]
10640 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10641 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10642 Use __attribute__ ((__gnu_inline__)).
10643 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10644 Don't use __attribute__ ((__gnu_inline__)).
10645
10646 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10647
10648 [BZ #15423]
10649 * math/s_catan.c (__catan): Handle small real or imaginary part of
10650 input specially to avoid spurious underflow.
10651 * math/s_catanf.c (__catanf): Likewise.
10652 * math/s_catanh.c (__catanh): Likewise.
10653 * math/s_catanhf.c (__catanhf): Likewise.
10654 * math/s_catanhl.c (__catanhl): Likewise.
10655 * math/s_catanl.c (__catanl): Likewise.
10656 * math/libm-test.inc (catan_test): Add more tests.
10657 (catanh_test): Likewise.
10658 * sysdeps/i386/fpu/libm-test-ulps: Update.
10659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10660
10661 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10662
10663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10664
10665 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10666
10667 [BZ #15416]
10668 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10669 accurately for denominator in atan2.
10670 * math/s_catanf.c (__catanf): Likewise.
10671 * math/s_catanh.c (__catanh): Likewise.
10672 * math/s_catanhf.c (__catanhf): Likewise.
10673 * math/s_catanhl.c (__catanhl): Likewise.
10674 * math/s_catanl.c (__catanl): Likewise.
10675 * math/libm-test.inc (catan_test): Add more tests.
10676 (catanh_test): Likewise.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679
10680 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10681
10682 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10683
10684 * benchtests/Makefile (bench): Remove slow benchmarks.
10685 * benchtests/atan-inputs: Add slow benchmark inputs.
10686 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10687 (BENCH_FUNC): Accept variant offset.
10688 (VARIANT): Define.
10689 * benchtests/bench-skeleton.c (main): Run benchmark for each
10690 variant.
10691 * benchtests/cos-inputs: Add slow benchmark inputs.
10692 * benchtests/exp-inputs: Likewise.
10693 * benchtests/pow-inputs: Likewise.
10694 * benchtests/sin-inputs: Likewise.
10695 * benchtests/slowatan-inputs: Remove.
10696 * benchtests/slowatan.c: Remove.
10697 * benchtests/slowcos-inputs: Remove.
10698 * benchtests/slowcos.c: Remove.
10699 * benchtests/slowexp-inputs: Remove.
10700 * benchtests/slowexp.c: Remove.
10701 * benchtests/slowpow-inputs: Remove.
10702 * benchtests/slowpow.c: Remove.
10703 * benchtests/slowsin-inputs: Remove.
10704 * benchtests/slowsin.c: Remove.
10705 * benchtests/slowtan-inputs: Remove.
10706 * benchtests/slowtan.c: Remove.
10707 * benchtests/tan-inputs: Add slow benchmark inputs.
10708 * scripts/bench.pl: Parse comments and directives.
10709
10710 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10711 in CPPFLAGS.
10712 ($(objpfx)bench-%.c): Remove *-ITER.
10713 * benchtests/bench-modf.c: Remove definition of ITER.
10714 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10715 (main): Loop for DURATION seconds instead of fixed number of
10716 iterations.
10717 * scripts/bench.pl: Don't expect iterations in parameters.
10718
10719 2013-04-29 Roland McGrath <roland@hack.frob.com>
10720
10721 * io/fchdir.c (__fchdir): Renamed from fchdir.
10722 (fchdir): Define as weak alias.
10723
10724 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10725
10726 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10727 (ERRNO_EDOM): Likewise.
10728 (ERRNO_ERANGE): Likewise.
10729 (noErrnoTests): New variable.
10730 (init_max_error): Set errno to 0.
10731 (test_single_errno): New function.
10732 (test_errno): Likewise.
10733 (check_float_internal): Call test_errno. Set errno to 0.
10734 (check_complex): Refer to errno tests in comment.
10735 (check_int): Call test_errno. Set errno to 0.
10736 (check_long): Likewise.
10737 (check_bool): Likewise.
10738 (check_longlong): Likewise.
10739 (cos_test): Use ERRNO_* flags for errno tests instead of
10740 check_int.
10741 (expm1_test): Likewise.
10742 (fmod_test): Likewise.
10743 (ilogb_test): Likewise.
10744 (lgamma_test): Likewise.
10745 (pow_test): Likewise.
10746 (remainder_test): Likewise.
10747 (sin_test): Likewise.
10748 (tan_test): Likewise.
10749 (yn_test): Likewise.
10750 (initialize): Set errno to 0.
10751 (main): Print number of errno tests.
10752 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10753
10754 2013-04-29 Andreas Jaeger <aj@suse.de>
10755
10756 [BZ #15084]
10757 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10758 and RES_USEVC.
10759
10760 [BZ #15085]
10761 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10762 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10763 unimplemented.
10764
10765 [BZ #15380]
10766 * stdlib/random.c (__initstate): Return NULL if
10767 __initstate fails.
10768
10769 [BZ #15086]
10770 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10771 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10772 RES_SNGLKUPREOP.
10773
10774 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10775
10776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10777
10778 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10779
10780 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10781 of individual tests.
10782 (casin_test): Likewise.
10783 (casinh_test): Likewise.
10784
10785 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10786
10787 [BZ #15409]
10788 * math/s_catan.c (__catan): Handle arguments with large real or
10789 imaginary part separately without squaring.
10790 * math/s_catanf.c (__catanf): Likewise.
10791 * math/s_catanh.c (__catanh): Likewise.
10792 * math/s_catanhf.c (__catanhf): Likewise.
10793 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10794 and redefine.
10795 (__catanhl): Handle arguments with large real or imaginary part
10796 separately without squaring.
10797 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10798 and redefine.
10799 (__catanl): Handle arguments with large real or imaginary part
10800 separately without squaring.
10801 * math/libm-test.inc (catan_test): Add more tests.
10802 (catanh_test): Likewise.
10803 * sysdeps/i386/fpu/libm-test-ulps: Update.
10804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10805
10806 2013-04-27 Andreas Jaeger <aj@suse.de>
10807
10808 [BZ #15007]
10809 * stdlib/stdlib.h: Update guards for qecvt.
10810 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10811 <stdlib.h>.
10812
10813 2013-04-27 Allan McRae <allan@archlinux.org>
10814
10815 * sysdeps/i386/fpu/libm-test-ulps: Update.
10816
10817 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #15406]
10820 * math/s_catan.c: Include <float.h>.
10821 (__catan): Ensure underflow exception occurs for underflowed
10822 result.
10823 * math/s_catanf.c: Include <float.h>.
10824 (__catanf): Ensure underflow exception occurs for underflowed
10825 result.
10826 * math/s_catanh.c: Include <float.h>.
10827 (__catanh): Ensure underflow exception occurs for underflowed
10828 result.
10829 * math/s_catanhf.c: Include <float.h>.
10830 (__catanhf): Ensure underflow exception occurs for underflowed
10831 result.
10832 * math/s_catanhl.c: Include <float.h>.
10833 (__catanhl): Ensure underflow exception occurs for underflowed
10834 result.
10835 * math/s_catanl.c: Include <float.h>.
10836 (__catanl): Ensure underflow exception occurs for underflowed
10837 result.
10838 * math/libm-test.inc (catan_test): Add more tests.
10839 (catanh_test): Likewise.
10840
10841 [BZ #15405]
10842 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10843 underflowed result.
10844 * math/s_ccoshf.c (__ccoshf): Likewise.
10845 * math/s_ccoshl.c (__ccoshl): Likewise.
10846 * math/s_csin.c (__csin): Likewise.
10847 * math/s_csinf.c (__csinf): Likewise.
10848 * math/s_csinh.c (__csinh): Likewise.
10849 * math/s_csinhf.c (__csinhf): Likewise.
10850 * math/s_csinhl.c (__csinhl): Likewise.
10851 * math/s_csinl.c (__csinl): Likewise.
10852 * math/libm-test.inc (ccos_test): Add more tests.
10853 (ccosh_test): Likewise.
10854 (csin_test): Likewise.
10855 (csinh_test): Likewise.
10856
10857 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10858
10859 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10860 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10861 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10862 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10863 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10864 powerpc/power5+/fpu folders.
10865 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10866
10867
10868 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10869
10870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10871
10872 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10873
10874 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10875 additions to variable.
10876 [$(config-machine) = x86_64] (modules-names): Likewise.
10877 ($(objpfx)tst-audit3): Remove dependency.
10878 ($(objpfx)tst-audit3.out): Likewise.
10879 ($(objpfx)tst-audit4): Likewise.
10880 ($(objpfx)tst-audit4.out): Likewise.
10881 ($(objpfx)tst-audit5): Likewise.
10882 ($(objpfx)tst-audit5.out): Likewise.
10883 ($(objpfx)tst-audit6): Likewise.
10884 ($(objpfx)tst-audit6.out): Likewise.
10885 ($(objpfx)tst-audit7): Likewise.
10886 ($(objpfx)tst-audit7.out): Likewise.
10887 (tst-audit3-ENV): Remove variable.
10888 (tst-audit4-ENV): Likewise.
10889 (tst-audit5-ENV): Likewise.
10890 (tst-audit6-ENV): Likewise.
10891 (tst-audit7-ENV): Likewise.
10892 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10893 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10894 addition to variable.
10895 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10896 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10897 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10898 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10899 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10900 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10901 tst-audit3, tst-audit4 and tst-audit5.
10902 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10903 tst-audit6 and tst-audit7.
10904 [$(subdir) = elf] (modules-names): Add audit modules for those
10905 tests.
10906 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10907 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10908 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10909 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10910 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10911 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10912 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10913 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10914 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10915 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10916 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10917 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10918 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10919 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10920 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10921 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10922 Likewise.
10923 [$(subdir) = elf && $(config-cflags-avx) = yes]
10924 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10925 [$(subdir) = elf && $(config-cflags-avx) = yes]
10926 (CFLAGS-tst-auditmod4a.c): Likewise.
10927 [$(subdir) = elf && $(config-cflags-avx) = yes]
10928 (CFLAGS-tst-auditmod4b.c): Likewise.
10929 [$(subdir) = elf && $(config-cflags-avx) = yes]
10930 (CFLAGS-tst-auditmod6b.c): Likewise.
10931 [$(subdir) = elf && $(config-cflags-avx) = yes]
10932 (CFLAGS-tst-auditmod6c.c): Likewise.
10933 [$(subdir) = elf && $(config-cflags-avx) = yes]
10934 (CFLAGS-tst-auditmod7b.c): Likewise.
10935 * elf/tst-audit3.c: Move to ...
10936 * sysdeps/x86_64/tst-audit3.c: ... here.
10937 * elf/tst-audit4.c: Move to ...
10938 * sysdeps/x86_64/tst-audit4.c: ... here.
10939 * elf/tst-audit5.c: Move to ...
10940 * sysdeps/x86_64/tst-audit5.c: ... here.
10941 * elf/tst-audit6.c: Move to ...
10942 * sysdeps/x86_64/tst-audit6.c: ... here.
10943 * elf/tst-audit7.c: Move to ...
10944 * sysdeps/x86_64/tst-audit7.c: ... here.
10945 * elf/tst-auditmod3a.c: Move to ...
10946 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10947 * elf/tst-auditmod3b.c: Move to ...
10948 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10949 * elf/tst-auditmod4a.c: Move to ...
10950 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10951 * elf/tst-auditmod4b.c: Move to ...
10952 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10953 * elf/tst-auditmod5a.c: Move to ...
10954 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10955 * elf/tst-auditmod5b.c: Move to ...
10956 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10957 * elf/tst-auditmod6a.c: Move to ...
10958 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10959 * elf/tst-auditmod6b.c: Move to ...
10960 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10961 * elf/tst-auditmod6c.c: Move to ...
10962 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10963 * elf/tst-auditmod7a.c: Move to ...
10964 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10965 * elf/tst-auditmod7b.c: Move to ...
10966 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10967
10968 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10969
10970 [BZ #15366]
10971 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10972 define unconditionally.
10973 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10974 define unconditionally.
10975 (INT8_C, INT16_C, etc.): Likewise.
10976
10977 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10978
10979 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10980 __ehdr_start with hidden visibility.
10981
10982 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10983
10984 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10985
10986 * math/libm-test.inc (cos_test): Use accurate hex constants.
10987 (sincost_test): Likewise.
10988
10989 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10990
10991 * math/libm-test.inc (catan_test): Add more tests.
10992 (catanh_test): Likewise.
10993
10994 * math/s_catanf.c (__catanf): Use suffixed floating-point
10995 constants.
10996 * math/s_catanhf.c (__catanhf): Likewise.
10997 * math/s_catanhl.c (__catanhl): Likewise.
10998 * math/s_catanl.c (__catanl): Likewise.
10999
11000 [BZ #15394]
11001 * math/s_catan.c (__catan): Calculate imaginary part of result
11002 with log1p not log unless computing log of number close to 0.
11003 * math/s_catanf.c (__catanf): Likewise.
11004 * math/s_catanl.c (__catanl): Likewise.
11005 * math/s_catanh.c (__catanh): Calculate real part of result with
11006 log1p not log unless computing log of number close to 0.
11007 * math/s_catanhf.c (__catanhf): Likewise.
11008 * math/s_catanhl.c (__catanhl): Likewise.
11009 * math/libm-test.inc (catan_test): Add more tests.
11010 (catanh_test): Likewise.
11011 * sysdeps/i386/fpu/libm-test-ulps: Update.
11012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11013
11014 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11015
11016 * benchtests/Makefile: Mention files in which fast and slow
11017 paths of math functions are implemented.
11018
11019 2013-04-23 Roland McGrath <roland@hack.frob.com>
11020
11021 * sysdeps/posix/timespec_get.c: New file.
11022
11023 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11024
11025 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11026 POWER.
11027 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11028 for POWER.
11029 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11030 powerpc/power5/fpu folders.
11031 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11032 * benchtests/Makefile: Add modf testcase.
11033 * benchtests/bench-modf.c: New file: Benchmark test for mo
11034
11035 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11036
11037 [BZ #14888]
11038 * time/Makefile (tests): Add tst-strptime-whitespace.
11039 * time/strptime_l.c (get_number): Use ISSPACE.
11040 (__strptime_internal): Likewise.
11041 * time/tst-strptime-whitespace.c: New test case.
11042
11043 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11044
11045 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11046 member.
11047 (_nss_files_init): Set it here.
11048
11049 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11050
11051 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11052 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11053 unsigned.
11054
11055 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11056
11057 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11058
11059 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11060
11061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11062 size just once.
11063
11064 2013-04-21 David S. Miller <davem@davemloft.net>
11065
11066 * po/ru.po: Update Russion translation from translation project.
11067
11068 2013-04-17 Adam Conrad <adconrad@0c3.net>
11069
11070 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11071 and setfsgid.
11072
11073 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11074
11075 * configure.in: Remove i386 configure warning. Remove i386 case.
11076 * configure: Regenerate.
11077 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11078 Add example to error message.
11079 * sysdeps/i386/configure: Regenerate.
11080
11081 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11082
11083 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11084 slowtan.
11085 * benchtests/cos-inputs: New file.
11086 * benchtests/slowcos-inputs: New file.
11087 * benchtests/slowcos.c: New file.
11088 * benchtests/slowtan-inputs: New file.
11089 * benchtests/slowtan.c: New file.
11090 * benchtests/tan-inputs: New file.
11091
11092 2013-04-16 Roland McGrath <roland@hack.frob.com>
11093
11094 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11095 considered kosher.
11096
11097 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11098
11099 * benchtests/Makefile: Include cppflags-iterator.mk to add
11100 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11101
11102 * Makefile.in (bench-clean): New target.
11103 * benchtests/Makefile (bench-clean): Likewise.
11104
11105 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11106
11107 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11108
11109 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11110
11111 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11112
11113 2013-04-15 Andreas Schwab <schwab@suse.de>
11114
11115 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11117 * nscd/pwdcache.c (cache_addpw): Likewise.
11118 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11119 more than recsize.
11120
11121 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11122
11123 * benchtests/Makefile (bench): Write all output to
11124 bench-out.tmp together.
11125
11126 2013-04-15 Andreas Schwab <schwab@suse.de>
11127
11128 * nscd/nscd.c (main): Don't fork again after closing files.
11129
11130 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11131
11132 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11133
11134 * benchtests/Rules (bench-deps): Collect dependencies into a
11135 single variable. Add Makefile to dependencies.
11136 ($(objpfx)bench-%.c): Depend on bench-deps.
11137
11138 2013-04-12 Roland McGrath <roland@hack.frob.com>
11139 Xavier Roche <roche+kml2@exalead.com>
11140
11141 [BZ #15361]
11142 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11143 just that it's a file descriptor.
11144 * manual/llio.texi (Synchronizing AIO Operations): Update description
11145 for EBADF error from aio_fsync.
11146
11147 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11148
11149 * Rules (bench): Move target definition...
11150 * benchtests/Makefile: ... here.
11151
11152 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11153
11154 * math/libm-test.inc (cos_test): Fix PI/2 test.
11155 (sincos_test): Likewise.
11156 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11157 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11158
11159 2013-04-11 Andreas Schwab <schwab@suse.de>
11160
11161 [BZ #13988]
11162 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11163 accept exponent character only when digits were seen.
11164 * stdio-common/Makefile (tests): Add bug26.
11165 * stdio-common/bug26.c: New file.
11166
11167 [BZ #14293]
11168 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11169 non-freeable.
11170
11171 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11172
11173 * Makeconfig (rtld-prefix): Define built linker prefix.
11174 * Rules (run-bench): Use it.
11175 * math/Makefile (run-regen-ulps): Likewise.
11176
11177 * Rules (bench): Remove eval.
11178
11179 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 Roland McGrath <roland@hack.frob.com>
11181 Ondrej Bilka <neleai@seznam.cz>
11182
11183 [BZ #15346]
11184 * time/getdate.c: Include ctype.h and alloca.h.
11185 (__getdate_r): Trim leading and trailing spaces of input.
11186 * time/tst-getdate.c (tests): Add tests with leading and
11187 trailing spaces.
11188
11189 2013-04-08 Roland McGrath <roland@hack.frob.com>
11190
11191 [BZ #14280]
11192 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11193 when computing value.
11194
11195 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11196
11197 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11198 Use testrun.sh to run libm tests.
11199
11200 [BZ #15309]
11201 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11202
11203 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11204
11205 [BZ #15264]
11206 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11207
11208 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11209
11210 * Makefile.in (regen-ulps): New target.
11211 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11212 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11213 [ifneq (no,$(PERL)] (regen-ulps): New target.
11214 [ifeq (no,$(PERL)] (regen-ulps): New target.
11215 * math/libm-test.inc (ulps_file_name): Define.
11216 (output_dir): New variable.
11217 (options): Add "output-dir" option.
11218 (parse_opt): Handle 'o' case.
11219 (main): If output_dir is non-NULL use it as a prefix
11220 otherwise use "".
11221 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11222
11223 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11224
11225 [BZ #10060, #10062]
11226 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11227 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11228 fail configure if __sync_val_compare_and_swap is not inlined.
11229 * sysdeps/i386/configure: Regenerate.
11230 * configure.in: Build for i686 when configured for i386.
11231 * configure: Regenerate.
11232 * README: Remove i386 reference.
11233
11234 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11235
11236 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11238
11239 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11240
11241 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11242 (lmsnanval): New variables.
11243 (F): Add conversion tests.
11244 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11245 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11246
11247 * stdio-common/tstdiomisc.c (F): Properly collect individual
11248 tests' results.
11249
11250 [BZ #14686, #15336]
11251 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11252 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11253 Instead, use input NaN values or generate a qNaN by arithmetic
11254 operation. Also fix bugs to comply with the standard.
11255 * math/libm-test.inc (remainder_test): Add more tests.
11256
11257 [BZ #15335, #15342]
11258 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11260 input NaN values or generate a qNaN by arithmetic operation.
11261
11262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11263 unreachable code.
11264
11265 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11266 definitions.
11267
11268 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11269
11270 [BZ #14478]
11271 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11272 underflowed result.
11273 * math/s_cexpf.c (__cexpf): Likewise.
11274 * math/s_cexpl.c (__cexpl): Likewise.
11275 * math/libm-test.inc (cexp_test): Add more tests.
11276
11277 2013-04-03 Andreas Schwab <schwab@suse.de>
11278
11279 [BZ #15330]
11280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11281 order arrays from heap if bigger than alloca cutoff.
11282
11283 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11284
11285 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11286 (SNAN_TESTS_double): Refer to GCC PR56831.
11287 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11288 GCC PR56828.
11289
11290 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11291
11292 * Rules (bench): Move bench.out after the run is complete.
11293
11294 * Rules (bench): Echo currently running benchmark.
11295
11296 * benchtests/Makefile (bench): Add atan and slowatan.
11297 * benchtests/atan-inputs: New file.
11298 * benchtests/slowatan-inputs: New file.
11299 * benchtests/slowatan.c: New file.
11300
11301 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11302 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11303 its value.
11304
11305 [BZ #15305]
11306 * sysdeps/unix/sysv/linux/kernel-features.h
11307 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11308 __ASSUME_XFS_RESTRICTED_CHOWN.
11309 * sysdeps/unix/sysv/linux/pathconf.c
11310 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11311 Save and restore errno.
11312
11313 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11314
11315 [BZ #15327]
11316 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11317 arguments using __kernel_casinh.
11318 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11319 arguments using __kernel_casinhf.
11320 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11321 arguments using __kernel_casinhl.
11322 * math/libm-test.inc (cacosh_test): Add more tests.
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11325
11326 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11327
11328 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11330
11331 * bench/Makefile (bench): Add sin and slowsin.
11332 * benchtests/sin-inputs: New file.
11333 * benchtests/slowsin-inputs: New file.
11334 * benchtests/slowsin.c: New file.
11335
11336 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11337 (bench): Add slowexp and slowpow.
11338 (exp-ITER): Increase iterations.
11339 (pow-ITER): Likewise.
11340 * benchtests/exp-inputs: Change input.
11341 * benchtests/pow-inputs: Likewise.
11342 * benchtests/slowexp-inputs: New file.
11343 * benchtests/slowexp.c: New file.
11344 * benchtests/slowpow-inputs: New file.
11345 * benchtests/slowpow.c: New file.
11346
11347 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11348
11349 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11350 instructions.
11351 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11352 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11353 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11354 * benchtests/Makefile: Add rint benchtest.
11355 * benchtests/rint-inputs: Input for rint benchtest.
11356
11357 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11358
11359 * Versions.def (libm): Add GLIBC_2.18.
11360 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11361 hidden libm prototypes.
11362 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11363 * math/Makefile (libm-calls): Add s_issignaling.
11364 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11365 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11366 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11367 declaration.
11368 * math/math.h [__USE_GNU] (issignaling): New macro.
11369 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11370 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11372 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11375 * manual/arith.texi (issignaling): New section.
11376 * manual/libm-err-tab.pl (@all_functions): Update comment.
11377 * math/gen-libm-test.pl (parse_args): Apply special handling for
11378 issignaling.
11379 * math/libm-test.inc (print_float, issignaling_test): New
11380 functions.
11381 (check_float_internal): Add issignaling checks.
11382 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11383 default definition.
11384 * sysdeps/powerpc/math-tests.h: New file.
11385 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11386 tests.
11387 * math/test-snan.c (TEST_FUNC): Likewise.
11388
11389 2013-03-30 David S. Miller <davem@davemloft.net>
11390
11391 * po/de.po: Update from translation team.
11392
11393 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11394
11395 [BZ #10357]
11396 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11397 imaginary part less than 1.0 and real part less than 0.5
11398 specially.
11399 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11400 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11401 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11402 (cacos_test): Add more tests.
11403 (casin_test): Likewise.
11404 (casinh_test): Likewise.
11405 * sysdeps/i386/fpu/libm-test-ulps: Update.
11406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11407
11408 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11409
11410 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11411 ONE with its value.
11412
11413 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11414 (__pow_mp): Replace ONE and MONE with their values.
11415 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11416 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11417 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11418 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11420 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11421
11422 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11423
11424 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11425 (__pow_mp): Replace ZERO and MZERO with their values.
11426 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11427 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11428 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11430 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11431 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11432 (__sqr): Likewise.
11433
11434 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11435
11436 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11437
11438 2013-03-28 Roland McGrath <roland@hack.frob.com>
11439
11440 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11441 Declare with __attribute__ ((weak)).
11442 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11443 Call __call_tls_dtors only if it's not NULL.
11444
11445 2013-03-28 Roland McGrath <roland@hack.frob.com>
11446
11447 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11448 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11449 magic __ehdr_start linker symbol if it's defined.
11450 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11451 them up here if it was already done.
11452
11453 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11454 (_dl_aux_init): Use const in cast when setting it.
11455 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11456 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11457 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11458
11459 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11460 Declare them here.
11461 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11462 * csu/libc-tls.c: Nor here.
11463 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11464
11465 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11466 (__libc_message): Never call vsyslog.
11467
11468 2013-03-28 Alan Modra <amodra@gmail.com>
11469
11470 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11471 Define as empty.
11472 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11473 Likewise.
11474
11475 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11476
11477 [BZ #15214]
11478 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11479 underflow.
11480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11481
11482 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11483
11484 [BZ #15304]
11485 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11486 Don't add gid passed as argument.
11487
11488 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11489
11490 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11491
11492 [BZ #15307]
11493 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11494 imaginary part between 1.0 and 1.5 and real part less than 0.5
11495 specially.
11496 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11497 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11498 * math/libm-test.inc (cacos_test): Add more tests.
11499 (casin_test): Likewise.
11500 (casinh_test): Likewise.
11501 * sysdeps/i386/fpu/libm-test-ulps: Update.
11502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11503
11504 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11505
11506 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11507 constants.
11508 (norm): Likewise.
11509 (denorm): Likewise.
11510 (__dbl_mp): Likewise.
11511 (add_magnitudes): Likewise.
11512 (sub_magnitudes): Likewise.
11513 (__add): Likewise.
11514 (__sub): Likewise.
11515 (__mul): Likewise.
11516 (__sqr): Likewise.
11517 (__inv): Likewise.
11518 (__dvd): Likewise.
11519
11520 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11521 commented code.
11522 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11523 (__dubcos): Likewise.
11524 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11525 (__ieee754_acos): Likewise.
11526 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11527 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11528 (__exp1): Likewise.
11529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11531 (log1): Likewise.
11532 (my_log2): Likewise.
11533 (checkint): Likewise.
11534 * sysdeps/ieee754/dbl-64/e_remainder.c
11535 (__ieee754_remainder): Likewise.
11536 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11538 (bsloww): Likewise.
11539 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11540
11541 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11542 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11543 MANTISSA_STORE_T to store computations on mantissa. Use
11544 macros for rounding and division.
11545 (denorm): Likewise.
11546 (__dbl_mp): Likewise.
11547 (add_magnitudes): Likewise.
11548 (sub_magnitudes): Likewise.
11549 (__mul): Likewise.
11550 (__sqr): Likewise.
11551 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11552 powers of two in terms of TWOPOW macro.
11553 (mp_no): Make type of mantissa as MANTISSA_T.
11554 [!RADIXI]: Define RADIXI.
11555 [!TWO52]: Define TWO52.
11556 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11557
11558 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559
11560 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11561 llroundl symbol when building for PPC32.
11562
11563 2013-03-24 Mark H Weaver <mhw@netris.org>
11564
11565 * manual/arith.texi (Normalization Functions): Fix prototypes for
11566 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11567
11568 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11569
11570 [BZ #13889]
11571 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11572 high value to check if expl overflow.
11573 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11574 to check for underflow and overflow.
11575 * math/libm-test.inc: Add exp test.
11576
11577 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11578
11579 [BZ #11120]
11580 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11581 with NOT_IN_libc.
11582
11583 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11584
11585 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11586 symbol.
11587
11588 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11589
11590 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11591 wrap blocks consisting of several statements.
11592
11593 * sysdeps/generic/math-tests.h: New file.
11594 * sysdeps/i386/fpu/math-tests.h: Likewise.
11595 * math/test-snan.c: Include it.
11596 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11597
11598 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11599
11600 [BZ #15285]
11601 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11602 (__ieee754_j0l): Do not improve calculations using cos of twice
11603 input for inputs above LDBL_MAX / 2.0L.
11604 (__ieee754_y0l): Likewise.
11605 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11606 (__ieee754_j1l): Do not improve calculations using cos of twice
11607 input for inputs above LDBL_MAX / 2.0L.
11608 (__ieee754_y1l): Likewise.
11609 * math/libm-test.inc (j0_test): Add another test.
11610 (j1_test): Likewise.
11611 (y0_test): Likewise.
11612 (y1_test): Likewise.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614
11615 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11616
11617 * Rules ($(objpfx)bench-%.c): Include code from a C source
11618 file.
11619
11620 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11621
11622 [BZ #15287]
11623 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11624 imaginary part 1.0 and real part less than 0.5 specially.
11625 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11626 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11627 * math/libm-test.inc (cacos_test): Add more tests.
11628 (casin_test): Likewise.
11629 (casinh_test): Likewise.
11630 * sysdeps/i386/fpu/libm-test-ulps: Update.
11631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11632
11633 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
11635 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11636 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11637
11638 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11639
11640 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11641 * config.make.in (config-cflags-sse4): Remove variable.
11642 (config-cflags-avx): Likewise.
11643 (config-cflags-sse2avx): Likewise.
11644 (config-cflags-novzeroupper): Likewise.
11645 (config-asflags-i686): Likewise.
11646 (have-mfma4): Likewise.
11647 (have-as-vis3): Likewise.
11648 (MIG): Likewise.
11649 * configure.in (MIG): Do not AC_SUBST.
11650 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11651 (libc_cv_cc_sse4): Do not AC_SUBST.
11652 (libc_cv_cc_avx): Likewise.
11653 (libc_cv_cc_sse2avx): Likewise.
11654 (libc_cv_cc_novzeroupper): Likewise.
11655 (libc_cv_cc_fma4): Likewise.
11656 (libc_cv_as_i686): Likewise.
11657 (libc_cv_sparc_as_vis3): Likewise.
11658 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11659 LIBC_CONFIG_VAR.
11660 (config-asflags-i686): Likewise.
11661 (config-cflags-avx): Likewise.
11662 (config-cflags-sse2avx): Likewise.
11663 (have-mfma4): Likewise.
11664 (config-cflags-novzeroupper): Likewise.
11665 * sysdeps/mach/configure.in (MIG): Likewise.
11666 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11667 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11668 LIBC_CONFIG_VAR.
11669 (config-cflags-avx): Likewise.
11670 (config-cflags-sse2avx): Likewise.
11671 (have-mfma4): Likewise.
11672 (config-cflags-novzeroupper): Likewise.
11673 * configure: Regenerated.
11674 * sysdeps/i386/configure: Likewise.
11675 * sysdeps/mach/configure: Likewise.
11676 * sysdeps/sparc/configure: Likewise.
11677 * sysdeps/x86_64/configure: Likewise.
11678
11679 2013-03-20 Roland McGrath <roland@hack.frob.com>
11680
11681 [BZ #14812]
11682 * locale/programs/localedef.c (options): Put N_ translation marker
11683 on argument names, not just descriptions.
11684
11685 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11686
11687 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11688
11689 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11690
11691 [BZ #14176]
11692 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11693
11694 2013-03-19 Roland McGrath <roland@hack.frob.com>
11695
11696 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11697 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11698 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11699 [!BEFORE_ABORT] (before_abort): New function.
11700 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11701 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11702 (writev_for_fatal): New function.
11703 (WRITEV_FOR_FATAL): New macro; call that.
11704 (backtrace_and_maps): New function.
11705 (BEFORE_ABORT): New macro; call that.
11706 (struct str_list): Type removed.
11707 (__libc_message, __libc_fatal): Functions removed.
11708 Include <sysdeps/posix/libc_fatal.c> instead.
11709
11710 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11711
11712 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11713 constants.
11714 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11715 double constants.
11716
11717 2013-03-19 Andreas Schwab <schwab@suse.de>
11718
11719 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11720 * sysdeps/gnu/configure: Regenerate.
11721
11722 * configure.in: Substitute libc_cv_rtlddir.
11723 * configure: Regenerate.
11724 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11725 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11726 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11727 * elf/Makefile (install-others, CFLAGS-interp.c)
11728 (ldso_install, common-ldd-rewrite): Likewise.
11729 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11730 $(inst_slibdir)/$(rtld-installed-name).
11731 * scripts/rellns-sh: Add -p option.
11732 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11733 for source.
11734
11735 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11736
11737 * manual/nptl.texi: Renamed to ...
11738 * manual/threads.texi: ... this.
11739 * manual/Makefile (chapters): Update.
11740
11741 2013-03-18 Roland McGrath <roland@hack.frob.com>
11742
11743 [BZ #14812]
11744 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11745 on argument names, not just descriptions.
11746 * malloc/memusagestat.c (options): Likewise.
11747 * nss/getent.c (options): Likewise.
11748
11749 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11750
11751 [BZ #14812]
11752 * iconv/iconv_prog.c (options): Put N_ translation marker
11753 on argument names, not just descriptions.
11754 * iconv/iconvconfig.c (options): Likewise.
11755
11756 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11757
11758 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11759 implementation which is faster on all x86_64 architectures.
11760 Tested on AMD, Intel Nehalem, SNB, IVB.
11761 * sysdeps/x86_64/strnlen.S: Likewise.
11762
11763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11764 Remove all multiarch strlen and strnlen versions.
11765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11766 Remove strlen and strnlen related parts.
11767
11768 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11769 Inline strlen part.
11770 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11771
11772 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11773 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11774 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11775 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11776 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11778
11779 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11780
11781 * manual/memory.texi (Malloc Tunable Parameters):
11782 Sort parameters alphabetically. Add comments for missing entries.
11783
11784 2013-03-17 David S. Miller <davem@davemloft.net>
11785
11786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11787
11788 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11789
11790 [BZ #15283]
11791 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11792 for arguments at most half maximum finite value.
11793 * math/libm-test.inc (j0_test): Add more tests.
11794 (j1_test): Likewise.
11795 (y0_test): Likewise.
11796 (y1_test): Likewise.
11797 * sysdeps/i386/fpu/libm-test-ulps: Update.
11798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11799
11800 [BZ #14155]
11801 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11802 1 / x and functions P and Q for arguments above 0x1p256L.
11803 (__ieee754_y0l): Likewise.
11804 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11805 (__ieee754_y1l): Likewise.
11806 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11807 (j1_test): Likewise.
11808 (y0_test): Likewise.
11809 (y1_test): Likewise.
11810
11811 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11812
11813 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11814 variable.
11815
11816 2013-03-15 Roland McGrath <roland@hack.frob.com>
11817
11818 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11819 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11820 zero since it's initialized to EXEC_PAGESIZE.
11821
11822 * sysdeps/unix/sysv/linux/ldsodefs.h
11823 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11824 * sysdeps/generic/ldsodefs.h: ... here.
11825
11826 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11827
11828 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11829
11830 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11831 math/test-snan.c.
11832 * math/test-snan.c: Renamed from
11833 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11834 * math/Makefile (tests): Add test-snan.
11835 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11836 test-powerpc-snan.
11837
11838 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11839 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11840 functions.
11841 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11842 __builtin_nan family of functions.
11843 * math/libm-test.inc (initialize): Initialize qnan_value with
11844 __builtin_nan family of functions.
11845 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11846 Remove variables.
11847 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11848 Remove functions.
11849 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11850 storage class. Initialize qNaN_var and sNaN_var with
11851 __builtin_nan and __builtin_nans families of functions,
11852 respectively.
11853
11854 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11855 (sqrt_test): Remove duplicate test with qNaN input.
11856 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11857 (round_test, signbit_test, significand_test): Note missing +/-Inf
11858 as well as qNaN tests.
11859
11860 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11861 qNaN_var. Fix a few strings, too.
11862 * math/libm-test.inc (nan_value): Rename to qnan_value.
11863 * math/gen-libm-test.pl (%beautify): Adjust to that.
11864 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11865 * math/test-misc.c (main): Likewise.
11866 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11867 to __qnan_bytes, and __qnan_union, respectively.
11868 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11869 Likewise.
11870 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11871 and lqnanval, respectively.
11872 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11873 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11874 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11875 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11876
11877 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11878 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11879 doubles.
11880
11881 * math/test-misc.c (main): Fix copy'n'pastos.
11882 * misc/tst-efgcvt.c (special): Likewise.
11883
11884 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11885 Remove declarations.
11886
11887 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11888
11889 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11890 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11891 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11892 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11893
11894 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11895
11896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11897 macro to return vdso values correctly in IFUNC implementations.
11898 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11899 Optimization by using IFUNC.
11900
11901 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11902 Richard Henderson <rth@redhat.com>
11903 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11904
11905 * Makefile.in (bench): New target.
11906 * NEWS: Mention the benchmark framework.
11907 * Rules (bench): Likewise.
11908 (binaries-bench): Generate binaries for functions to
11909 benchmark.
11910 * benchtests/Makefile: New makefile for benchmark tests.
11911 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11912 programs.
11913 * benchtests/exp-inputs: New input file for EXP function.
11914 * benchtests/pow-inputs: New input file for POW function.
11915 * scripts/bench.pl: New script to generate source files for
11916 benchmark programs.
11917
11918 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11919
11920 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11921 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11922 computations on mantissa. Use macros for rounding and
11923 division.
11924 (denorm): Likewise.
11925 (__dbl_mp): Likewise.
11926 (add_magnitudes): Likewise.
11927 (sub_magnitudes): Likewise.
11928 (__mul): Likewise.
11929 (__sqr): Likewise.
11930 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11931 powers of two in terms of TWOPOW macro.
11932 (mp_no): Make type of mantissa as MANTISSA_T.
11933 [!RADIXI]: Define RADIXI.
11934 [!TWO52]: Define TWO52.
11935 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11936
11937 * manual/nptl.texi (cindex): Modify threads to pthreads.
11938
11939 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11940
11941 * sysdeps/x86_64/preconfigure: Regenerated.
11942
11943 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11944
11945 [BZ #14155]
11946 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11947 0x1p28 and above.
11948 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11949 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11950 0x1p28 and above.
11951 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11952 * math/libm-test.inc (j0_test): Do not allow one spurious
11953 underflow exception.
11954 (y1_test): Likewise.
11955
11956 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11957
11958 * manual/Makefile (chapters): Add nptl.
11959 * manual/debug.texi (Debugging Support): Add link to Threads
11960 chapter.
11961 * manual/nptl.texi: New file.
11962
11963 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11964
11965 2013-03-14 Petr Baudis <pasky@ucw.cz>
11966
11967 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11968 for non-NULL pointer before the memory validity test. Pointed
11969 out by Holger Brunck <holger.brunck@keymile.com>.
11970
11971 2013-03-13 Andreas Schwab <schwab@suse.de>
11972
11973 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11974 instead of .os.
11975
11976 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11977
11978 * timezone/zic.c: Update from tzcode 2013b.
11979
11980 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11981
11982 * manual/install.texi (Configuring and compiling):
11983 Mention i686 and i586.
11984 * INSTALL: Regenerate.
11985
11986 2013-03-12 Roland McGrath <roland@hack.frob.com>
11987
11988 * sysdeps/init_array/elf-init.c: New file.
11989 * csu/elf-init.c
11990 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11991 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11992
11993 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11994 __gmon_start__ as global, but as static with a .preinit_array pointer.
11995 * sysdeps/init_array/gmon-start.c: New file. Use that.
11996 * sysdeps/init_array/crti.S: New file, empty except for comments.
11997 * sysdeps/init_array/crtn.S: Likewise.
11998
11999 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12000
12001 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12002 definining bcopy.
12003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12004 Remove Prefer_SSE_for_memop.
12005 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12006 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12007 HAS_PREFER_SSE_FOR_MEMOP.
12008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12009 memset-x86-64.
12010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12011 Remove bzero, memset ifunc support.
12012 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12013 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12014 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12015 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12016
12017 2013-03-11 Andreas Schwab <schwab@suse.de>
12018
12019 [BZ #15234]
12020 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12021 by SHLIB_COMPAT.
12022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12023 (GLIBC_2.16): Remove pthread_atfork.
12024
12025 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12026
12027 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12028 (ptestcases.h): Likewise.
12029
12030 2013-03-08 Roland McGrath <roland@hack.frob.com>
12031
12032 * Makeconfig ($(common-objpfx)config.status): Depend on
12033 sysdeps/*/preconfigure{,.in} too.
12034
12035 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12036
12037 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12038 (__free_hook): Use void * instead of __malloc_ptr_t.
12039 (__malloc_hook): Likewise.
12040 (__realloc_hook): Likewise.
12041 (__memalign_hook): Likewise.
12042 (__after_morecore_hook): Likewise.
12043 * malloc/arena.c (save_malloc_hook): Likewise.
12044 (save_free_hook): Likewise.
12045 * malloc/hooks.c (malloc_hook_ini): Likewise.
12046 (realloc_hook_ini): Likewise.
12047 (memalign_hook_ini): Likewise.
12048 * malloc/malloc.c (malloc_hook_ini): Likewise.
12049 (realloc_hook_ini): Likewise.
12050 (memalign_hook_ini): Likewise.
12051 (__free_hook): Likewise.
12052 (__malloc_hook): Likewise.
12053 (__realloc_hook): Likewise.
12054 (__memalign_hook): Likewise.
12055 (__libc_malloc): Likewise.
12056 (__libc_free): Likewise.
12057 (__libc_realloc): Likewise.
12058 (__libc_memalign): Likewise.
12059 (__libc_valloc): Likewise.
12060 (__libc_pvalloc): Likewise.
12061 (__libc_calloc): Likewise.
12062 (__posix_memalign): Likewise.
12063 * malloc/morecore.c (__sbrk): Likewise.
12064 (__default_morecore): Likewise.
12065
12066 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12067
12068 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12069 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12070 __malloc_ptrdiff_t.
12071
12072 * malloc/malloc.h (__malloc_size_t): Remove macro.
12073 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12074 __malloc_size_t.
12075 (old_memalign_hook): Likewise.
12076 (old_realloc_hook): Likewise.
12077 (struct hdr): Likewise.
12078 (flood): Likewise.
12079 (mallochook): Likewise.
12080 (memalignhook): Likewise.
12081 (reallochook): Likewise.
12082 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12083 (tr_old_realloc_hook): Likewise.
12084 (tr_old_memalign_hook): Likewise.
12085 (tr_mallochook): Likewise.
12086 (tr_reallochook): Likewise.
12087 (tr_memalignhook): Likewise.
12088
12089 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12090
12091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12092 default_ldbl_pack and using as default implementation.
12093 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12094 implementation.
12095 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12096 redundant definition.
12097 (ldbl_insert_mantissa): Likewise.
12098 (ldbl_canonicalize): Likewise.
12099 (ldbl_nearbyint): Likewise.
12100 (ldbl_pack): Rename to ldbl_pack_ppc.
12101 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12102 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12103 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12104
12105 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12106
12107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12108 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12109 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12110 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12112 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12113 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12114 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12115
12116 2013-03-07 Andreas Jaeger <aj@suse.de>
12117
12118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12119 bits/mman-linux.h.
12120
12121 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12122
12123 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12124 Include mpa.h and declare __MPEXP.
12125 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12126 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12127 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12128 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12129 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12130 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12131 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12132
12133 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12134 (__slowpow): Use long double EXPL and LOGL functions to
12135 compute POW.
12136 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12137 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12138 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12139 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12140 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12141 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12142
12143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12144 intermediate variable to calculate exponent.
12145 (__sqr): Likewise.
12146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12147 Likewise.
12148 (__sqr): Likewise.
12149
12150 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12151 [!NO__SQR]: Define __sqr.
12152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12153 and NO__SQR. Remove all code except __mul and __sqr. Include
12154 sysdeps/ieee754/dbl-64/mpa.c.
12155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12156
12157 [BZ #12723]
12158 * posix/Makefile (tests): Add tst-pathconf.
12159 * posix/tst-pathconf.c: New test case.
12160 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12161 _PC_PIPE_BUF.
12162 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12163
12164 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12165
12166 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12167
12168 2013-03-06 Andreas Jaeger <aj@suse.de>
12169
12170 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12171 definition via __MAP_ANONYMOUS.
12172
12173 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12174 it's not part of Linux headers.
12175
12176 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12177 (MAP_HUGE_MASK): Define.
12178
12179 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12180 Define.
12181 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12183 Define.
12184 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12185 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12186 Define.
12187 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12189 Define.
12190 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12191
12192 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12193 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12194 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12195 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12196 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12197 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12198
12199 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12200 Handle f2fs.
12201
12202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12203 Handle f2fs and efivarfs.
12204
12205 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12206 f2fs.
12207
12208 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12209 (EFIVARFS_MAGIC): Add.
12210 (F2FS_LINK_MAX): Add.
12211
12212 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12213
12214 * stdio-common/vfprintf.c: Replace __builtin_expect with
12215 __glibc_unlikely.
12216
12217 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #13550]
12220 * sysdeps/generic/bp-sym.h: Remove file.
12221 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12222 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12223 <bp-sym.h> and <bp-asm.h>.
12224 (__longjmp): Don't use BP_SYM.
12225 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12226 and <bp-asm.h>.
12227 (memcpy): Don't use BP_SYM.
12228 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12229 <bp-sym.h> and <bp-asm.h>.
12230 (memcpy): Don't use BP_SYM.
12231 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12232 <bp-asm.h>.
12233 (memcpy): Don't use BP_SYM.
12234 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12235 <bp-asm.h>.
12236 (memset): Don't use BP_SYM.
12237 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12238 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12239 (__bzero): Don't use BP_SYM.
12240 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12241 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12242 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12243 <bp-sym.h> and <bp-asm.h>.
12244 (memcmp): Don't use BP_SYM. Remove comment about bounded
12245 pointers.
12246 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12247 <bp-sym.h> and <bp-asm.h>.
12248 (memcpy): Don't use BP_SYM.
12249 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12250 <bp-sym.h> and <bp-asm.h>.
12251 (memset): Don't use BP_SYM.
12252 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12253 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12254 (__bzero): Don't use BP_SYM.
12255 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12256 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12257 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12258 <bp-sym.h> and <bp-asm.h>.
12259 (strncmp): Don't use BP_SYM. Remove comment about bounded
12260 pointers.
12261 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12262 <bp-sym.h> and <bp-asm.h>.
12263 (memcpy): Don't use BP_SYM.
12264 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12265 <bp-sym.h> and <bp-asm.h>.
12266 (memset): Don't use BP_SYM.
12267 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12268 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12269 (__bzero): Don't use BP_SYM.
12270 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12271 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12273 <bp-sym.h> and <bp-asm.h>.
12274 (__memchr): Don't use BP_SYM.
12275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12276 <bp-sym.h> and <bp-asm.h>.
12277 (memcmp): Don't use BP_SYM. Remove comment about bounded
12278 pointers.
12279 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12280 <bp-sym.h> and <bp-asm.h>.
12281 (memcpy): Don't use BP_SYM.
12282 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12283 <bp-sym.h> and <bp-asm.h>.
12284 (__mempcpy): Don't use BP_SYM.
12285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12286 <bp-sym.h> and <bp-asm.h>.
12287 (__memrchr): Don't use BP_SYM.
12288 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12289 <bp-sym.h> and <bp-asm.h>.
12290 (memset): Don't use BP_SYM.
12291 (__bzero): Likewise.
12292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12293 <bp-sym.h> and <bp-asm.h>.
12294 (__rawmemchr): Don't use BP_SYM.
12295 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12296 <bp-sym.h> and <bp-asm.h>.
12297 (__STRCMP): Don't use BP_SYM.
12298 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12299 <bp-sym.h> and <bp-asm.h>.
12300 (strchr): Don't use BP_SYM.
12301 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12302 <bp-sym.h> and <bp-asm.h>.
12303 (__strchrnul): Don't use BP_SYM.
12304 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12305 <bp-sym.h> and <bp-asm.h>.
12306 (strlen): Don't use BP_SYM.
12307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12308 <bp-sym.h> and <bp-asm.h>.
12309 (strncmp): Don't use BP_SYM. Remove comment about bounded
12310 pointers.
12311 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12312 <bp-sym.h> and <bp-asm.h>.
12313 (__strnlen): Don't use BP_SYM.
12314 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12315 <bp-sym.h> and <bp-asm.h>.
12316 (__GI__setjmp): Don't use BP_SYM.
12317 (_setjmp): Likewise.
12318 (__sigsetjmp): Likewise.
12319 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12320 (L(start_addresses)): Don't use BP_SYM.
12321 (_start): Likewise.
12322 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12323 <bp-asm.h>.
12324 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12325 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12326 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12327 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12328 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12329 <bp-asm.h>.
12330 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12331 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12332 about bounded pointers.
12333 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12334 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12335 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12336 <bp-asm.h>.
12337 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12338 about bounded pointers. Remove GKM FIXME comments.
12339 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12340 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12341 <bp-asm.h>.
12342 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12343 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12344 Remove GKM FIXME comments.
12345 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12346 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12347 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12348 <bp-asm.h>.
12349 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12350 about bounded pointers. Remove GKM FIXME comment.
12351 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12352 and <bp-asm.h>.
12353 (strncmp): Don't use BP_SYM. Remove comment about bounded
12354 pointers.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12356 <bp-sym.h> and <bp-asm.h>.
12357 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12359 <bp-sym.h> and <bp-asm.h>.
12360 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12361 comment.
12362
12363 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12364
12365 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12366 call free(NULL).
12367
12368 2013-03-05 David S. Miller <davem@davemloft.net>
12369
12370 * po/es.po: Update from translation team.
12371
12372 2013-03-05 Andreas Jaeger <aj@suse.de>
12373
12374 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12375 <bits/mman-linux.h>.
12376 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12377 is fine.
12378 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12379 <bits/mman-linux.h> to end of file.
12380 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12381 is fine.
12382 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12383 <bits/mman-linux.h> to end of file.
12384 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12385 is fine.
12386 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12387 <bits/mman-linux.h> to end of file.
12388
12389 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12390 (MCL_CURRENT, MCL_FUTURE): Define here.
12391
12392 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12393
12394 [BZ #15232]
12395 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12396 attribute_hidden.
12397 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12398
12399 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12400
12401 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12402 fourth parameter needed for rt_sigprocmask syscall.
12403 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12404 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12406 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12407 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12408 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12409
12410 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12411
12412 [BZ #13550]
12413 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12414 comment about bounded pointers.
12415 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12416 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12417
12418 2013-03-04 Andreas Jaeger <aj@suse.de>
12419
12420 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12421 common definitions.
12422
12423 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12424 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12425 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12426 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12428 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12429
12430 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12431
12432 [BZ #15055]
12433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12434 __ieee754_sqrl instead of __sqrl.
12435
12436 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12437
12438 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12439 * sysdeps/powerpc/fpu_control.h: ... here.
12440 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12441 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12442 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12443 * sysdeps/powerpc/bits/mathinline.h: ... here.
12444
12445 2013-03-01 Roland McGrath <roland@hack.frob.com>
12446
12447 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12448 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12449 to just [NEED_DL_SYSINFO_DSO].
12450 * elf/dl-support.c: Likewise.
12451 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12452 * elf/rtld.c (dl_main): Likewise.
12453 * elf/setup-vdso.h (setup_vdso): Likewise.
12454 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12455 * sysdeps/unix/sysv/linux/dl-sysdep.c
12456 (_dl_discover_osversion): Likewise.
12457
12458 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12459
12460 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12461 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12462
12463 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12464
12465 * NEWS: Mention libm performance improvements and non-x86 PI
12466 futex support.
12467
12468 * csu/libc-start.c (__pthread_initialize_minimal): Change
12469 function arguments.
12470 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12471
12472 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12473
12474 [BZ #13550]
12475 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12476 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12477 <bp-sym.h> and <bp-asm.h>.
12478 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12479 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12480 and <bp-asm.h>.
12481 (memcpy): Don't use BP_SYM.
12482 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12483 <bp-asm.h>.
12484 (__mpn_add_n): Don't use BP_SYM.
12485 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12486 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12487 and <bp-asm.h>.
12488 (__mpn_addmul_1): Don't use BP_SYM.
12489 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12490 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12491 <bp-sym.h>.
12492 (_setjmp): Don't use BP_SYM.
12493 (__novmx_setjmp): Likewise.
12494 (__GI__setjmp): Likewise.
12495 (__vmx_setjmp): Likewise.
12496 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12497 <bp-sym.h>.
12498 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12499 (__bzero): Don't use BP_SYM.
12500 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12501 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12502 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12503 <bp-sym.h> and <bp-asm.h>.
12504 (memcpy): Don't use BP_SYM.
12505 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12506 <bp-sym.h> and <bp-asm.h>.
12507 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12508 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12509 <bp-sym.h> and <bp-asm.h>.
12510 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12511 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12512 <bp-asm.h>.
12513 (__mpn_lshift): Don't use BP_SYM.
12514 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12515 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12516 <bp-asm.h>.
12517 (memset): Don't use BP_SYM.
12518 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12519 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12520 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12521 <bp-asm.h>.
12522 (__mpn_mul_1): Don't use BP_SYM.
12523 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12525 <bp-sym.h> and <bp-asm.h>.
12526 (memcmp): Don't use BP_SYM.
12527 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12528 <bp-sym.h> and <bp-asm.h>.
12529 (memcpy): Don't use BP_SYM.
12530 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12531 <bp-sym.h> and <bp-asm.h>.
12532 (memset): Don't use BP_SYM.
12533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12534 <bp-sym.h> and <bp-asm.h>.
12535 (strncmp): Don't use BP_SYM.
12536 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12537 <bp-sym.h> and <bp-asm.h>.
12538 (memcpy): Don't use BP_SYM.
12539 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12540 <bp-sym.h> and <bp-asm.h>.
12541 (memset): Don't use BP_SYM.
12542 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12543 <bp-sym.h> and <bp-asm.h>.
12544 (__memchr): Don't use BP_SYM.
12545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12546 <bp-sym.h> and <bp-asm.h>.
12547 (memcmp): Don't use BP_SYM.
12548 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12549 <bp-sym.h> and <bp-asm.h>.
12550 (memcpy): Don't use BP_SYM.
12551 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12552 <bp-sym.h> and <bp-asm.h>.
12553 (__mempcpy): Don't use BP_SYM.
12554 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12555 <bp-sym.h> and <bp-asm.h>.
12556 (__memrchr): Don't use BP_SYM.
12557 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12558 <bp-sym.h> and <bp-asm.h>.
12559 (memset): Don't use BP_SYM.
12560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12561 <bp-sym.h> and <bp-asm.h>.
12562 (__rawmemchr): Don't use BP_SYM.
12563 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12564 <bp-sym.h> and <bp-asm.h>.
12565 (__STRCMP): Don't use BP_SYM.
12566 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12567 <bp-sym.h> and <bp-asm.h>.
12568 (strchr): Don't use BP_SYM.
12569 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12570 <bp-sym.h> and <bp-asm.h>.
12571 (__strchrnul): Don't use BP_SYM.
12572 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12573 <bp-sym.h> and <bp-asm.h>.
12574 (strlen): Don't use BP_SYM.
12575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12576 <bp-sym.h> and <bp-asm.h>.
12577 (strncmp): Don't use BP_SYM.
12578 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12579 <bp-sym.h> and <bp-asm.h>.
12580 (__strnlen): Don't use BP_SYM.
12581 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12582 <bp-asm.h>.
12583 (__mpn_rshift): Don't use BP_SYM.
12584 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12585 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12586 <bp-sym.h> and <bp-asm.h>.
12587 (__sigsetjmp): Don't use BP_SYM.
12588 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12589 (L(start_addresses)): Don't use BP_SYM.
12590 (_start): Likewise.
12591 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12592 <bp-asm.h>.
12593 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12594 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12595 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12596 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12597 <bp-asm.h>.
12598 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12599 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12600 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12601 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12602 <bp-asm.h>.
12603 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12604 comments.
12605 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12607 <bp-asm.h>.
12608 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12609 FIXME comments.
12610 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12611 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12612 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12613 <bp-asm.h>.
12614 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12615 comment.
12616 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12617 and <bp-asm.h>.
12618 (strncmp): Don't use BP_SYM,
12619 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12620 <bp-asm.h>.
12621 (__mpn_sub_n): Don't use BP_SYM.
12622 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12623 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12624 and <bp-asm.h>.
12625 (__mpn_submul_1): Don't use BP_SYM.
12626 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12628 <bp-sym.h> and <bp-asm.h>.
12629 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12631 <bp-sym.h> and <bp-asm.h>.
12632 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12633 comment.
12634
12635 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12636
12637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12638 Use ZK to minimize writes to Z.
12639 (sub_magnitudes): Simplify code a bit.
12640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12641 Use ZK to minimize writes to Z.
12642 (sub_magnitudes): Simplify code a bit.
12643
12644 2013-02-27 Roland McGrath <roland@hack.frob.com>
12645
12646 * csu/gmon-start.c: Add special exception to license text.
12647
12648 2013-02-27 Richard Henderson <rth@redhat.com>
12649
12650 * scripts/config.guess: Update from config.git.
12651 * scripts/config.sub: Likewise.
12652
12653 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12654
12655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12656
12657 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12658
12659 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12660
12661 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12662
12663 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12664
12665 2013-02-26 Roland McGrath <roland@hack.frob.com>
12666
12667 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12668 [$(build-shared = yes].
12669
12670 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12671
12672 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12673 (__mul): Reduce iterations for calculating mantissa.
12674
12675 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12676 MPTWO.
12677 (__mpranred): Likewise.
12678
12679 [BZ #15160]
12680 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12681 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12682
12683 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12684
12685 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12686 Define __attribute__.
12687
12688 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12689
12690 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12691 unused.
12692 * posix/regex_internal.h (__attribute): Remove.
12693 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12694 (re_string_context_at): Likewise.
12695 (bitset_not): Use __attribute__ and mark function as possibly
12696 unused.
12697 (bitset_merge): Likewise.
12698 (bitset_mask): Likewise.
12699 (re_string_char_size_at): Likewise.
12700 (re_string_wchar_at): Likewise.
12701 (re_string_elem_size_at): Likewise.
12702
12703 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12704
12705 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12706 code.
12707 (cc32): Likewise.
12708
12709 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12710 (__acr): Likewise.
12711 (__cpy): Likewise.
12712 (norm): Likewise.
12713 (denorm): Likewise.
12714 (__dbl_mp): Likewise.
12715 (add_magnitudes): Likewise.
12716 (sub_magnitudes): Likewise.
12717 (__mul): Likewise.
12718 (__inv): Likewise.
12719
12720 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12721 style.
12722
12723 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12724 style.
12725
12726 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12727 code.
12728
12729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12730 up changes with default code.
12731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12732 Likewise.
12733
12734 2013-02-24 Allan McRae <allan@archlinux.org>
12735
12736 * manual/socket.texi (The Internet Namespace): Order menu items
12737 to match that in the file.
12738
12739 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12740 node listing of the info page menu.
12741
12742 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12743
12744 [BZ #13550]
12745 * sysdeps/i386/bp-asm.h: Remove file.
12746 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12747 (PARMS): Do not use macros from bp-asm.h.
12748 (S1): Likewise.
12749 (S2): Likewise.
12750 (SIZE): Likewise.
12751 (__mpn_add_n): Do not use BP_SYM
12752 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12753 "bp-asm.h".
12754 (PARMS): Do not use macros from bp-asm.h.
12755 (S1): Likewise.
12756 (SIZE): Likewise.
12757 (__mpn_addmul_1): Do not use BP_SYM
12758 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12759 "bp-asm.h".
12760 (PARMS): Do not use macros from bp-asm.h.
12761 (SIGMSK): Likewise.
12762 (_setjmp): Likewise. Do not use BP_SYM.
12763 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12764 "bp-asm.h".
12765 (PARMS): Do not use macros from bp-asm.h.
12766 (SIGMSK): Likewise.
12767 (setjmp): Likewise. Do not use BP_SYM.
12768 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12769 "bp-asm.h".
12770 (PARMS): Do not use macros from bp-asm.h.
12771 (__frexp): Do not use BP_SYM.
12772 (frexp): Likewise.
12773 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12774 "bp-asm.h".
12775 (PARMS): Do not use macros from bp-asm.h.
12776 (__frexpf): Do not use BP_SYM.
12777 (frexpf): Likewise.
12778 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12779 "bp-asm.h".
12780 (PARMS): Do not use macros from bp-asm.h.
12781 (__frexpl): Do not use BP_SYM.
12782 (frexpl): Likewise.
12783 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12784 "bp-asm.h".
12785 (PARMS): Do not use macros from bp-asm.h.
12786 (__remquo): Do not use BP_SYM.
12787 (remquo): Likewise.
12788 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12789 "bp-asm.h".
12790 (PARMS): Do not use macros from bp-asm.h.
12791 (__remquof): Do not use BP_SYM.
12792 (remquof): Likewise.
12793 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12794 "bp-asm.h".
12795 (PARMS): Do not use macros from bp-asm.h.
12796 (__remquol): Do not use BP_SYM.
12797 (remquol): Likewise.
12798 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12799 "bp-asm.h".
12800 (PARMS): Do not use macros from bp-asm.h.
12801 (DEST): Likewise.
12802 (SRC): Likewise.
12803 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12804 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12805 "bp-asm.h".
12806 (PARMS): Do not use macros from bp-asm.h.
12807 (strlen): Do not use BP_SYM.
12808 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12809 "bp-asm.h".
12810 (PARMS): Do not use macros from bp-asm.h.
12811 (S1): Likewise.
12812 (S2): Likewise.
12813 (SIZE): Likewise.
12814 (__mpn_add_n): Do not use BP_SYM.
12815 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12816 "bp-asm.h".
12817 (PARMS): Do not use macros from bp-asm.h.
12818 (S1): Likewise.
12819 (SIZE): Likewise.
12820 (__mpn_addmul_1): Do not use BP_SYM.
12821 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12822 weak_alias.
12823 (bzero): Likewise.
12824 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12825 "bp-asm.h".
12826 (PARMS): Do not use macros from bp-asm.h.
12827 (S): Likewise.
12828 (SIZE): Likewise.
12829 (__mpn_lshift): Do not use BP_SYM.
12830 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12831 "bp-asm.h".
12832 (PARMS): Do not use macros from bp-asm.h.
12833 (DEST): Likewise.
12834 (SRC): Likewise.
12835 (LEN): Likewise.
12836 (memcpy): Likewise. Do not use BP_SYM.
12837 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12838 libc_hidden_def and weak_alias.
12839 (mempcpy): Do not use BP_SYM in weak_alias.
12840 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12841 "bp-asm.h".
12842 (PARMS): Do not use macros from bp-asm.h.
12843 (DEST): Likewise.
12844 (LEN): Likewise.
12845 [!BZERO_P] (CHR): Likewise.
12846 (memset): Likewise. Do not use BP_SYM.
12847 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12848 "bp-asm.h".
12849 (PARMS): Do not use macros from bp-asm.h.
12850 (S1): Likewise.
12851 (SIZE): Likewise.
12852 (__mpn_mul_1): Do not use BP_SYM.
12853 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12854 "bp-asm.h".
12855 (PARMS): Do not use macros from bp-asm.h.
12856 (S): Likewise.
12857 (SIZE): Likewise.
12858 (__mpn_rshift): Do not use BP_SYM.
12859 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12860 "bp-asm.h".
12861 (PARMS): Do not use macros from bp-asm.h.
12862 (STR): Likewise.
12863 (CHR): Likewise.
12864 (strchr): Likewise. Do not use BP_SYM.
12865 (index): Do not use BP_SYM in weak_alias.
12866 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12867 "bp-asm.h".
12868 (PARMS): Do not use macros from bp-asm.h.
12869 (DEST): Likewise.
12870 (SRC): Likewise.
12871 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12872 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12873 "bp-asm.h".
12874 (PARMS): Do not use macros from bp-asm.h.
12875 (strlen): Do not use BP_SYM.
12876 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12877 "bp-asm.h".
12878 (PARMS): Do not use macros from bp-asm.h.
12879 (S1): Likewise.
12880 (S2): Likewise.
12881 (SIZE): Likewise.
12882 (__mpn_sub_n): Do not use BP_SYM.
12883 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12884 "bp-asm.h".
12885 (PARMS): Do not use macros from bp-asm.h.
12886 (S1): Likewise.
12887 (SIZE): Likewise.
12888 (__mpn_submul_1): Do not use BP_SYM.
12889 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12890 "bp-asm.h".
12891 (PARMS): Do not use macros from bp-asm.h.
12892 (S1): Likewise.
12893 (S2): Likewise.
12894 (SIZE): Likewise.
12895 (__mpn_add_n): Do not use BP_SYM.
12896 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12897 weak_alias.
12898 (bzero): Likewise.
12899 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12900 "bp-asm.h".
12901 (PARMS): Do not use macros from bp-asm.h.
12902 (BLK2): Likewise.
12903 (LEN): Likewise.
12904 (memcmp): Do not use BP_SYM.
12905 (bcmp): Do not use BP_SYM in weak_alias.
12906 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12907 "bp-asm.h".
12908 (PARMS): Do not use macros from bp-asm.h.
12909 (DEST): Likewise.
12910 (SRC): Likewise.
12911 (LEN): Likewise.
12912 (memcpy): Likewise. Do not use BP_SYM.
12913 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12914 "bp-asm.h".
12915 (PARMS): Do not use macros from bp-asm.h.
12916 (DEST): Likewise.
12917 (SRC): Likewise.
12918 (LEN): Likewise.
12919 (memmove): Likewise. Do not use BP_SYM.
12920 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12921 "bp-asm.h".
12922 (PARMS): Do not use macros from bp-asm.h.
12923 (DEST): Likewise.
12924 (SRC): Likewise.
12925 (LEN): Likewise.
12926 (__mempcpy): Likewise. Do not use BP_SYM.
12927 (mempcpy): Do not use BP_SYM in weak_alias.
12928 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12929 "bp-asm.h".
12930 (PARMS): Do not use macros from bp-asm.h.
12931 (DEST): Likewise.
12932 (LEN): Likewise.
12933 [!BZERO_P] (CHR): Likewise.
12934 (memset): Likewise. Do not use BP_SYM.
12935 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12936 "bp-asm.h".
12937 (PARMS): Do not use macros from bp-asm.h.
12938 (STR2): Likewise.
12939 (strcmp): Do not use BP_SYM.
12940 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12941 "bp-asm.h".
12942 (PARMS): Do not use macros from bp-asm.h.
12943 (STR): Likewise.
12944 (DELIM): Likewise.
12945 [USE_AS_STRTOK_R] (SAVE): Likewise.
12946 (FUNCTION): Likewise. Do not use BP_SYM.
12947 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12948 aliases.
12949 (strtok_r): Likewise.
12950 (__GI___strtok_r): Likewise.
12951 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12952 (PARMS): Do not use macros from bp-asm.h.
12953 (S): Likewise.
12954 (SIZE): Likewise.
12955 (__mpn_lshift): Do not use BP_SYM.
12956 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12957 (PARMS): Do not use macros from bp-asm.h.
12958 (STR): Likewise.
12959 (CHR): Likewise.
12960 (__memchr): Do not use BP_SYM.
12961 (memchr): Do not use BP_SYM in weak_alias.
12962 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12963 (PARMS): Do not use macros from bp-asm.h.
12964 (BLK2): Likewise.
12965 (LEN): Likewise.
12966 (memcmp): Do not use BP_SYM.
12967 (bcmp): Do not use BP_SYM in weak_alias.
12968 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12969 (PARMS): Do not use macros from bp-asm.h.
12970 (S1): Likewise.
12971 (SIZE): Likewise.
12972 (__mpn_mul_1): Do not use BP_SYM.
12973 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12974 "bp-asm.h".
12975 (PARMS): Do not use macros from bp-asm.h.
12976 (STR): Likewise.
12977 (CHR): Likewise.
12978 (__rawmemchr): Do not use BP_SYM.
12979 (rawmemchr): Do not use BP_SYM in weak_alias.
12980 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12981 (PARMS): Do not use macros from bp-asm.h.
12982 (S): Likewise.
12983 (SIZE): Likewise.
12984 (__mpn_rshift): Do not use BP_SYM.
12985 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12986 (PARMS): Do not use macros from bp-asm.h.
12987 (SIGMSK): Likewise.
12988 (__sigsetjmp): Likewise. Do not use BP_SYM.
12989 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12990 (_start): Do not use BP_SYM.
12991 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12992 (PARMS): Do not use macros from bp-asm.h.
12993 (DEST): Likewise.
12994 (SRC): Likewise.
12995 (__stpcpy): Likewise. Do not use BP_SYM.
12996 (stpcpy): Do not use BP_SYM in weak_alias.
12997 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12998 "bp-asm.h".
12999 (PARMS): Do not use macros from bp-asm.h.
13000 (DEST): Likewise.
13001 (SRC): Likewise.
13002 (LEN): Likewise.
13003 (__stpncpy): Likewise. Do not use BP_SYM.
13004 (stpncpy): Do not use BP_SYM in weak_alias.
13005 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13006 (PARMS): Do not use macros from bp-asm.h.
13007 (STR): Likewise.
13008 (CHR): Likewise.
13009 (strchr): Likewise. Do not use BP_SYM.
13010 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13011 "bp-asm.h".
13012 (PARMS): Do not use macros from bp-asm.h.
13013 (STR): Likewise.
13014 (CHR): Likewise.
13015 (__strchrnul): Likewise. Do not use BP_SYM.
13016 (strchrnul): Do not use BP_SYM in weak_alias.
13017 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13018 "bp-asm.h".
13019 (PARMS): Do not use macros from bp-asm.h.
13020 (STOP): Likewise.
13021 (strcspn): Do not use BP_SYM.
13022 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13023 "bp-asm.h".
13024 (PARMS): Do not use macros from bp-asm.h.
13025 (STR): Likewise.
13026 (STOP): Likewise.
13027 (strpbrk): Likewise. Do not use BP_SYM.
13028 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13029 "bp-asm.h".
13030 (PARMS): Do not use macros from bp-asm.h.
13031 (STR): Likewise.
13032 (CHR): Likewise.
13033 (strrchr): Likewise. Do not use BP_SYM.
13034 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13035 (PARMS): Do not use macros from bp-asm.h.
13036 (SKIP): Likewise.
13037 (strspn): Do not use BP_SYM.
13038 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13039 (PARMS): Do not use macros from bp-asm.h.
13040 (STR): Likewise.
13041 (DELIM): Likewise.
13042 (SAVE): Likewise.
13043 (FUNCTION): Likewise. Do not use BP_SYM.
13044 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13045 aliases.
13046 (strtok_r): Likewise.
13047 (__GI___strtok_r): Likewise.
13048 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13049 (PARMS): Do not use macros from bp-asm.h.
13050 (S1): Likewise.
13051 (S2): Likewise.
13052 (SIZE): Likewise.
13053 (__mpn_sub_n): Do not use BP_SYM.
13054 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13055 "bp-asm.h".
13056 (PARMS): Do not use macros from bp-asm.h.
13057 (S1): Likewise.
13058 (SIZE): Likewise.
13059 (__mpn_submul_1): Do not use BP_SYM.
13060 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13061 <bp-sym.h>.
13062 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13063 and <bp-asm.h>.
13064 (PARMS): Do not use macros from bp-asm.h.
13065 (FLAGS): Likewise.
13066 (PTID): Likewise.
13067 (TLS): Likewise.
13068 (CTID): Likewise.
13069 (__clone): Do not use BP_SYM.
13070 (clone): Do not use BP_SYM in weak_alias.
13071 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13072 and <bp-asm.h>.
13073 (PARMS): Do not use macros from bp-asm.h.
13074 (LEN): Likewise.
13075 (__mmap64): Do not use BP_SYM.
13076 (mmap64): Do not use BP_SYM in weak_alias.
13077 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13078 <bp-sym.h> and <bp-asm.h>.
13079 (PARMS): Do not use macros from bp-asm.h.
13080 (__posix_fadvise64_l64): Do not use BP_SYM.
13081 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13082 (PARMS): Do not use macros from bp-asm.h.
13083 (NSOPS): Likewise.
13084 (semtimedop): Do not use BP_SYM.
13085 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13086 and <bp-asm.h>.
13087
13088 2013-02-21 Allan McRae <allan@archlinux.org>
13089
13090 * manual/message.texi (Charset conversion in gettext):
13091 Move @end statement to beginning of line.
13092
13093 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13094
13095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13096 static.
13097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13098 Likewise.
13099
13100 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13101 (denorm): Likewise.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13104
13105 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13106
13107 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13108 tail-call to the resolved function if pltexit isn't needed.
13109
13110 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13111
13112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13113 or Y being zero as being unlikely.
13114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13115 Likewise.
13116
13117 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13118
13119 * manual/nss.texi (System Databases and Name Service Switch):
13120 Remove frobnicate @pxref.
13121
13122 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13123
13124 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13125 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13126
13127 2013-02-20 Petr Machata <pmachata@redhat.com>
13128
13129 * elf/elf.h (R_ARM_TARGET1): New macro.
13130 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13131 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13132 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13133 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13134 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13135 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13136 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13137 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13138 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13139 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13140 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13141 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13142 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13143 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13144 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13145 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13146 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13147 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13148 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13149 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13150 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13151 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13152 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13153 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13154 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13155 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13156 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13157 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13158 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13159 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13160 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13161 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13162 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13163 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13164 (R_ARM_THM_GOT_BREL12): Likewise.
13165 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13166 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13167 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13168 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13169 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13170 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13171 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13172 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13173 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13174
13175 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13176
13177 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13178 __attribute_used__ to __attribute__ ((unused)).
13179
13180 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13181
13182 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13183 powerpc mpa.c.
13184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13185 comment formatting.
13186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13187
13188 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13189
13190 [BZ #13550]
13191 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13192 Remove macro.
13193 (ENTER): Remove both macro definitions.
13194 (LEAVE): Likewise.
13195 (CHECK_BOUNDS_LOW): Likewise.
13196 (CHECK_BOUNDS_HIGH): Likewise.
13197 (CHECK_BOUNDS_BOTH): Likewise.
13198 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13199 (RETURN_BOUNDED_POINTER): Likewise.
13200 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13201 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13202 (POP_ERRNO_LOCATION_RETURN): Likewise.
13203 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13204 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13205 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13206 macros.
13207 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13208 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13209 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13210 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13211 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13212 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13213 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13214 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13215 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13216 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13217 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13218 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13219 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13220 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13221 removed macros.
13222 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13223 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13224 macros.
13225 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13226 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13227 * sysdeps/i386/i586/memset.S (memset): Likewise.
13228 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13229 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13230 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13231 macros.
13232 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13233 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13234 Change uses of L(2) to L(out).
13235 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13236 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13237 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13238 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13239 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13240 removed macros.
13241 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13242 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13243 macros.
13244 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13245 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13246 (RETURN): Do not use macro LEAVE.
13247 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13248 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13249 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13250 * sysdeps/i386/i686/memset.S (memset): Likewise.
13251 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13252 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13253 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13254 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13255 Likewise.
13256 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13257 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13258 L(1_2) and L(1_3) into L(1).
13259 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13260 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13261 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13262 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13263 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13264 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13265 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13266 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13267 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13268 macros.
13269 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13270 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13271 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13272 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13273 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13274 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13275 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13276 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13277 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13278 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13279 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13280 * sysdeps/i386/strspn.S (strspn): Likewise.
13281 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13282 conditional code.
13283 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13284 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13285 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13286 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13287 L(1_3) into L(1_1).
13288 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13289 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13290 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13291 macros.
13292 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13293
13294 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13295
13296 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13297 macro.
13298
13299 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13300
13301 * math/atest-exp.c (exp_mpn): Remove ROUND.
13302 * math/atest-exp2.c (exp_mpn): Likewise.
13303 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13304
13305 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13306 * stdlib/tst-tls-atexit-lib.c: Likewise.
13307 * stdlib/tst-tls-atexit.c: Likewise.
13308
13309 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13310
13311 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13312 and __attribute_alloc_size__.
13313
13314 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13315
13316 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13317 __attribute_alloc_size__.
13318 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13319 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13320
13321 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13322
13323 * include/programs/xmalloc.h: New file.
13324 * catgets/gencat.c: Include it.
13325 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13326 * elf/pldd.c: Likewise.
13327 * iconv/iconv_charmap.c: Likewise.
13328 * iconv/iconvconfig.c: Likewise.
13329 * iconv/strtab.c: Likewise.
13330 * locale/programs/locale.c: Likewise.
13331 * locale/programs/localedef.h: Likewise.
13332 * locale/programs/simple-hash.c: Likewise.
13333 * nscd/nscd.h: Likewise.
13334 * nss/makedb.c: Likewise.
13335 * sysdeps/generic/ldconfig.h: Likewise.
13336
13337 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13338
13339 * Versions.def: Add GLIBC_2.18.
13340 * include/link.h (struct link_map): New member l_tls_dtor_count.
13341 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13342 (__call_tls_dtors): Likewise.
13343 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13344 __cxa_thread_atexit_impl.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13346 Likewise.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13348 Likewise.
13349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13350 Likewise.
13351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13352 Likewise.
13353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13355 Likewise.
13356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13357 Likewise.
13358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13360 Likewise.
13361 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13362 (tests): Add test case tst-tls-atexit.
13363 (modules-names): Add shared library for tst-tls-atexit.
13364 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13365 (GLIBC_PRIVATE): Add __call_tls_dtors.
13366 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13367 for libstdc++.
13368 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13369 * stdlib/tst-tls-atexit.c: New test case.
13370 * stdlib/tst-tls-atexit-lib.c: New test case.
13371
13372 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13373
13374 * elf/Versions (ld): Add _dl_find_dso_for_object.
13375 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13376 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13377 (dl_open_worker): Use _dl_find_dso_for_object.
13378 * elf/dl-sym.c (do_sym): Likewise.
13379 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13380
13381 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13382
13383 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13384 Syntactic changes only.
13385 (_dl_runtime_profile): Do a tail-call to the resolved function.
13386
13387 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13388
13389 [BZ #13550]
13390 * sysdeps/x86_64/bp-asm.h: Remove file.
13391 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13392 <bp-sym.h> and <bp-asm.h>.
13393 (__clone): Do not use BP_SYM.
13394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13395 <bp-sym.h> and <bp-asm.h>.
13396 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13397 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13398 "bp-asm.h".
13399 (_setjmp): Do not use BP_SYM.
13400 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13401 "bp-asm.h".
13402 (setjmp): Do not use BP_SYM.
13403 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13404 libc_hidden_def.
13405 (mempcpy): Do not use BP_SYM in weak_alias.
13406 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13407 "bp-asm.h".
13408 (strchr): Do not use BP_SYM.
13409 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13410 "bp-asm.h".
13411 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13412 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13413 (_start): Do not use BP_SYM.
13414 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13415 "bp-asm.h".
13416 (strcat): Do not use BP_SYM.
13417 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13418 "bp-asm.h".
13419 (STRCMP): Do not use BP_SYM.
13420 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13421 "bp-asm.h".
13422 (STRCPY): Do not use BP_SYM.
13423 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13424 "bp-asm.h".
13425 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13426 "bp-asm.h".
13427 (FUNCTION): Do not use BP_SYM.
13428 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13429 weak_alias.
13430 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13431
13432 2013-02-17 Andreas Jaeger <aj@suse.de>
13433
13434 * time/Versions: Sort entries.
13435 * string/Versions: Likewise.
13436 * resolv/Versions: Likewise.
13437 * posix/Versions: Likewise.
13438 * iconv/Versions: Likewise.
13439 * elf/Versions: Likewise.
13440 * wcsmbs/Versions: Likewise.
13441
13442 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13443
13444 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13445 loop termination condition.
13446
13447 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13448 variable to calculate EZ.
13449 (__sqr): Likewise.
13450
13451 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13452 the lower precision input.
13453
13454 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13455
13456 [BZ #13550]
13457 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13458 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13459 (run-via-rtld-prefix): Do not handle %-bp tests.
13460 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13461 (all-object-suffixes): Remove .ob.
13462 (bppfx): Remove variable.
13463 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13464 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13465 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13466 [$(build-bounded) = yes] (libtype.ob): Likewise.
13467 * Makerules (elide-routines.ob): Remove variable.
13468 (do-tests-clean): Do not handle *-bp.out.
13469 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13470 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13471 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13472 (tests): Do not include $(tests-bp.out).
13473 (xtests): Do not include $(xtests-bp.out).
13474 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13475 [$(build-bounded) = yes] ($(addprefix
13476 $(objpfx),$(binaries-bounded))): Remove rule.
13477 ($(objpfx)%-bp.out): Remove rule.
13478 * config.make.in (build-bounded): Remove variable.
13479 * crypt/Makefile [$(build-bounded) = yes]
13480 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13481 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13482 append to variable.
13483 [$(build-bounded) = yes] (install-lib): Likewise.
13484 [$(build-bounded) = yes] (generated): Likewise.
13485 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13486 Remove rule.
13487 * intl/Makefile [$(build-bounded) = yes]
13488 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13489 * math/Makefile [$(build-bounded) = yes]
13490 ($(tests:%=$(objpfx)%-bp): Likewise.
13491 * misc/Makefile [$(build-bounded) = yes]
13492 ($(objpfx)tst-tsearch-bp): Likewise.
13493 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13494 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13495 Remove dependency.
13496 * string/Makefile (o-objects.ob): Remove variable.
13497 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13498 (CFLAGS-.ob): Remove variable.
13499 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13500 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13501 both definitions of variable.
13502 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13503 (ASFLAGS-.ob): Remove variable.
13504
13505 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13506
13507 [BZ #13550]
13508 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13509 Remove __BOUNDED_POINTERS__ from condition.
13510 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13511 * string/bits/string2.h [!__NO_STRING_INLINES &&
13512 !__BOUNDED_POINTERS__]: Likewise.
13513 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13514 Likewise.
13515 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13516 Remove conditional code.
13517 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13518 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13519 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13520 condition.
13521
13522 [BZ #13550]
13523 * csu/libc-start.c: Do not include <bp-sym.h>.
13524 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13525 * elf/dl-open.c: Do not include <bp-sym.h>.
13526 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13527 * math/fegetenv.c: Do not include <bp-sym.h>.
13528 (fegetenv): Do not use BP_SYM in versioned symbols.
13529 * nptl/sysdeps/pthread/bits/libc-lockP.h
13530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13531 <bp-sym.h>.
13532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13533 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13535 (__pthread_mutex_destroy): Likewise.
13536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13537 (__pthread_mutex_lock): Likewise.
13538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13539 (__pthread_mutex_trylock): Likewise.
13540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13541 (__pthread_mutex_unlock): Likewise.
13542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13543 (__pthread_mutexattr_init): Likewise.
13544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13545 (__pthread_mutexattr_destroy): Likewise.
13546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13547 (__pthread_mutexattr_settype): Likewise.
13548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13549 (__pthread_rwlock_init): Likewise.
13550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13551 (__pthread_rwlock_destroy): Likewise.
13552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13553 (__pthread_rwlock_rdlock): Likewise.
13554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13555 (__pthread_rwlock_tryrdlock): Likewise.
13556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13557 (__pthread_rwlock_wrlock): Likewise.
13558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13559 (__pthread_rwlock_trywrlock): Likewise.
13560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13561 (__pthread_rwlock_unlock): Likewise.
13562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13563 (__pthread_key_create): Likewise.
13564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13565 (__pthread_setspecific): Likewise.
13566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13567 (__pthread_getspecific): Likewise.
13568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13569 Likewise.
13570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13571 (_pthread_cleanup_push_defer): Likewise.
13572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13573 (_pthread_cleanup_pop_restore): Likewise.
13574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13575 (pthread_setcancelstate): Likewise.
13576 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13577 <bp-sym.h>.
13578 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13579 (memchr): Do not use BP_SYM in weak_alias.
13580 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13581 (fegetenv): Do not use BP_SYM in versioned symbols.
13582 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13583 (fesetenv): Do not use BP_SYM in versioned symbols.
13584 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13585 (feupdateenv): Do not use BP_SYM in versioned symbols.
13586 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13587 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13588 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13589 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13590 (open64): Do not use BP_SYM in weak_alias.
13591 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13592 (fegetenv): Do not use BP_SYM in versioned symbols.
13593 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13594 (fesetenv): Do not use BP_SYM in versioned symbols.
13595 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13596 (feupdateenv): Do not use BP_SYM in versioned symbols.
13597 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13598 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13599 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13600 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13601 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13602 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13603 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13604 <bp-sym.h>.
13605 (__libc_start_main): Do not use BP_SYM.
13606
13607 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13608
13609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13610 redundant return line.
13611 (norm): Likewise.
13612 (denorm): Likewise.
13613 (dbl_mp): Likewise.
13614 (sub_magnitudes): Likewise.
13615 (__add): Likewise.
13616 (__sub): Likewise.
13617 (__mul): Likewise.
13618 (__inv): Likewise.
13619 (__dvd): Likewise.
13620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13621 (norm): Likewise.
13622 (denorm): Likewise.
13623 (dbl_mp): Likewise.
13624 (sub_magnitudes): Likewise.
13625 (__add): Likewise.
13626 (__sub): Likewise.
13627 (__mul): Likewise.
13628 (__inv): Likewise.
13629 (__dvd): Likewise.
13630
13631 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13632 instead of __mul.
13633 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13634 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13635 (cc32): Likewise.
13636
13637 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13638 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13640 of __mul for squares.
13641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13642 function
13643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13644 Likewise.
13645 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13646 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13647
13648 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13649
13650 [BZ #13550]
13651 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13652 code.
13653 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13654 prototype or function definition. Rename ubp_* variables and
13655 parameters. Remove argv definitions conditional on
13656 [__BOUNDED_POINTERS__].
13657 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13658 * elf/dl-runtime.c (_dl_fixup): Likewise.
13659 * include/set-hooks.h (RUN_HOOK): Likewise.
13660 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13661 definition.
13662 * string/strcpy.c (strcpy): Do not use __unbounded.
13663 * sysdeps/generic/frame.h (struct layout): Likewise.
13664 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13665 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13666 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13667 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13668 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13669 (__backtrace): Likewise.
13670 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13671 use __ptrvalue.
13672 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13673 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13674 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13675 Likewise.
13676 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13677 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13678 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13679 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13680 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13681 Do not use __unbounded.
13682 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13683 Rename __unboundedrlimits parameter to rlimits in prototype.
13684 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13685 Do not use __unbounded.
13686 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13687 not use __ptrvalue.
13688 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13689 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13690 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13691 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13692 __ptrvalue or __unbounded.
13693 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13694 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13695 use __unbounded.
13696 (__new_msgctl): Do not use __ptrvalue.
13697 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13698 __unbounded.
13699 (__libc_msgrcv): Do not use __ptrvalue.
13700 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13701 startup_info): Do not use __unbounded.
13702 (__libc_start_main): Likewise. Rename ubp_* variables and
13703 parameters. Remove argv definitions conditional on
13704 [__BOUNDED_POINTERS__].
13705 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13706 __ptrvalue.
13707 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13708 use __unbounded.
13709 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13710 or __ptrvalue.
13711 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13712 use __unbounded.
13713 (__new_shmctl): Do not use __ptrvalue.
13714 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13715 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13716 Likewise.
13717 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13719 (__libc_sigaction): Likewise.
13720 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13721 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13722 Likewise.
13723 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13724
13725 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13726
13727 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13728
13729 * string/mempcpy.c: Implement by calling memcpy.
13730
13731 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13732
13733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13734
13735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13736 evaluation.
13737
13738 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13739 values in the mantissa.
13740
13741 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13742 minimize writes to Z.
13743 (sub_magnitudes): Simplify code a bit.
13744
13745 2013-02-12 Roland McGrath <roland@hack.frob.com>
13746
13747 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13748 from the message. The linker prefixes all warnings with that already.
13749
13750 2013-02-12 Andreas Schwab <schwab@suse.de>
13751
13752 [BZ #15078]
13753 * posix/regexec.c (extend_buffers): Add parameter min_len.
13754 (check_matching): Pass minimum needed length.
13755 (clean_state_log_if_needed): Likewise.
13756 (get_subexp): Likewise.
13757 * posix/Makefile (tests): Add bug-regex34.
13758 (bug-regex34-ENV): Define.
13759 * posix/bug-regex34.c: New file.
13760
13761 [BZ #11561]
13762 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13763 elements compare against the byte sequence of it, not its name.
13764 * posix/Makefile (tests): Add bug-regex35.
13765 (bug-regex35-ENV): Define.
13766 * posix/bug-regex35.c: New file.
13767
13768 2013-02-11 Tom de Vries <tom@codesourcery.com>
13769
13770 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13771 comment.
13772 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13773 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13774 (CHECK_EOL): Add undef.
13775
13776 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13777
13778 * bits/stdlib-bsearch.h: New file.
13779 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13780 * stdlib/stdlib.h: Likewise.
13781
13782 2013-02-11 Roland McGrath <roland@hack.frob.com>
13783
13784 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13785 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13786 declaration.
13787 * manual/search.texi (Array Search Function): Add missing const in
13788 lfind prototype.
13789 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13790 declaration to use rlim_t.
13791 (Basic Scheduling Functions): Remove erroneous const from
13792 sched_getparam prototype. Remove erroneous * from
13793 sched_get_priority_max and sched_get_priority_min prototypes.
13794 (Resource Usage): Fix summary @comment on vtimes to refer to
13795 sys/vtimes.h rather than vtimes.h.
13796 Add missing *s in vtimes prototype.
13797 (Limits on Resources): Fix ulimit prototype to return long int.
13798 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13799 prototypes to use long int rather than double.
13800 (BSD Random): Fix initstate and setstate to use char *, not void *.
13801 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13802 prototype to make second argument 'struct aiocb64 *const[]'.
13803 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13804 (Status of AIO Operations): Remove erroneous const in aio_return and
13805 aio_return64 prototypes.
13806 (Synchronizing I/O): Fix sync prototype to return void.
13807 * manual/startup.texi (Suboptions): Remove an erroneous const in
13808 getsubopt prototype.
13809 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13810 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13811 use size_t rather than int.
13812 (Scanning All Users): Likewise for getpwent_r.
13813 (Setting Groups): Add missing const to setgroups prototype.
13814 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13815 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13816 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13817 'const void *' rather than 'const char *'.
13818 (Host Address Functions): Likewise for inet_ntop.
13819 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13820 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13821 ssize_t for return value.
13822 (Sending Data): Likewise for send, sendto, sendmsg.
13823 (Socket Option Functions): Add a missing const in setsockopt prototype.
13824 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13825 use wchar_t for the argument.
13826 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13827 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13828 take no arguments.
13829 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13830 double/float/long double for second argument.
13831 Fix return types of significand, significandf, significandl.
13832 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13833 argument in fchmod prototype.
13834 (File Owner): Use uid_t and gid_t in fchown prototype.
13835 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13836 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13837 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13838 use 'const struct dirent **' as argument types to CMP function pointer
13839 argument.
13840 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13841 (File Times): Fix summary magic @comment for struct utimbuf and utime
13842 to refer to utime.h, not time.h.
13843 * manual/string.texi (Argz Functions): Add missing const in
13844 argz_extract and argz_next prototypes.
13845 (Finding Tokens in a String): Likewise for basename.
13846 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13847 (Copying and Concatenation): Fix typo in wmemmove prototype.
13848 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13849 (Signal Stack): Remove erroneous const in sigstack prototype.
13850 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13851 prototype.
13852 (Simple Calendar Time): Likewise for stime.
13853 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13854 prototype.
13855 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13856 say sys/sysctl.h instead.
13857 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13858 and vsyslog prototypes.
13859
13860 2013-02-11 Tom de Vries <tom@codesourcery.com>
13861
13862 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13863 Remove.
13864
13865 2013-02-11 Roland McGrath <roland@hack.frob.com>
13866
13867 * misc/sys/mman.h: Fix typo in mremap comment.
13868
13869 2013-02-08 Roland McGrath <roland@hack.frob.com>
13870
13871 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13872 the '\0' terminator.
13873
13874 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13875
13876 [BZ #13550]
13877 * debug/segfault.c: Don't include <bp-checks.h>.
13878 * sysdeps/generic/bp-checks.h: Remove file.
13879 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13880 (__GETDENTS): Don't use CHECK_N.
13881 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13882 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13883 (__getgroups): Don't use CHECK_N.
13884 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13885 (setgroups): Don't use CHECK_N.
13886 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13887 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13888 (__libc_msgrcv): Don't use CHECK_N.
13889 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13890 (__libc_msgsnd): Don't use CHECK_N.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13892 <bp-checks.h>.
13893 (__libc_pread): Don't use CHECK_N.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13895 include <bp-checks.h>.
13896 (__libc_pread64): Don't use CHECK_N.
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13898 include <bp-checks.h>.
13899 (__libc_pwrite): Don't use CHECK_N.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13901 include <bp-checks.h>.
13902 (__libc_pwrite64): Don't use CHECK_N.
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13904 <bp-checks.h>.
13905 (__libc_pread): Don't use CHECK_N.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13907 include <bp-checks.h>.
13908 (__libc_pread64): Don't use CHECK_N.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13910 include <bp-checks.h>.
13911 (__libc_pwrite): Don't use CHECK_N.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13913 include <bp-checks.h>.
13914 (__libc_pwrite64): Don't use CHECK_N.
13915 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13916 (do_pread): Don't use CHECK_N.
13917 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13918 (do_pread64): Don't use CHECK_N.
13919 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13920 (do_pwrite): Don't use CHECK_N.
13921 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13922 (do_pwrite64): Don't use CHECK_N.
13923 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13924 (__libc_readv): Don't use CHECK_N.
13925 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13926 (semop): Don't use CHECK_N.
13927 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13928 <bp-checks.h>.
13929 (semtimedop): Don't use CHECK_N.
13930 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13931 (__libc_pread): Don't use CHECK_N.
13932 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13933 <bp-checks.h>.
13934 (__libc_pread64): Don't use CHECK_N.
13935 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13936 <bp-checks.h>.
13937 (__libc_pwrite): Don't use CHECK_N.
13938 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13939 <bp-checks.h>.
13940 (__libc_pwrite64): Don't use CHECK_N.
13941 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13942 <bp-checks.h>.
13943 (__libc_msgrcv): Don't use CHECK_N.
13944 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13945 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13946 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13947 (__libc_writev): Don't use CHECK_N.
13948
13949 2013-02-08 Roland McGrath <roland@hack.frob.com>
13950
13951 * string/strcpy.c: Removed unused variable.
13952
13953 * Makeconfig (+sysdep-includes): Define with := rather than =.
13954 Use an existing include/ subdir of each sysdeps dir before it.
13955
13956 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13957
13958 * nscd/connection.c (register_traced_file): Comment function.
13959 [HAVE_INOTIFY] (union __inev): Define.
13960 [HAVE_INOTIFY] (inotify_check_files): New function.
13961 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13962 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13963 clear_db_cache.
13964 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13965
13966 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13967
13968 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13969 loaded if not already and that a failure is permanent.
13970
13971 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13972
13973 [BZ #15006]
13974 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13975 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13976
13977 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13978
13979 [BZ #13550]
13980 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13981 (CHECK_1_NULL_OK): Likewise.
13982 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13983 (__fxstat): Do not use CHECK_1.
13984 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13985 <bp-checks.h>.
13986 (___fxstat64): Do not use CHECK_1.
13987 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13988 <bp-checks.h>.
13989 (__fxstatat): Do not use CHECK_1.
13990 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13991 <bp-checks.h>.
13992 (__fxstatat64): Do not use CHECK_1.
13993 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13994 <bp-checks.h>.
13995 (__fxstat): Do not use CHECK_1.
13996 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13997 <bp-checks.h>.
13998 (__fxstatat): Do not use CHECK_1.
13999 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14000 <bp-checks.h>.
14001 (__getresgid): Do not use CHECK_1.
14002 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14003 <bp-checks.h>.
14004 (__getresuid): Do not use CHECK_1.
14005 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14006 <bp-checks.h>.
14007 (__lxstat): Do not use CHECK_1.
14008 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14009 <bp-checks.h>.
14010 (__old_msgctl): Do not use CHECK_1.
14011 (__new_msgctl): Likewise.
14012 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14013 <bp-checks.h>.
14014 (__new_setrlimit): Do not use CHECK_1.
14015 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14016 <bp-checks.h>.
14017 (__old_shmctl): Do not use CHECK_1.
14018 (__new_shmctl): Likewise.
14019 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14020 <bp-checks.h>.
14021 (__xstat): Do not use CHECK_1.
14022 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14023 (__lxstat): Do not use CHECK_1.
14024 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14025 <bp-checks.h>.
14026 (___lxstat64): Do not use CHECK_1.
14027 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14028 (__old_msgctl): Do not use CHECK_1.
14029 (__new_msgctl): Likewise.
14030 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14031 <bp-checks.h>.
14032 (__gettimeofday): Do not use CHECK_1.
14033 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14034 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14035 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14036 <bp-checks.h>.
14037 (__gettimeofday): Do not use CHECK_1.
14038 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14039 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14040 (__new_shmctl): Do not use CHECK_1.
14041 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14042 <bp-checks.h>.
14043 (do_sigtimedwait): Do not use CHECK_1.
14044 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14045 <bp-checks.h>.
14046 (do_sigwaitinfo): Do not use CHECK_1.
14047 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14048 <bp-checks.h>.
14049 (msgctl): Do not use CHECK_1.
14050 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14051 <bp-checks.h>.
14052 (shmctl): Do not use CHECK_1.
14053 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14054 (ustat): Do not use CHECK_1.
14055 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14056 <bp-checks.h>.
14057 (__fxstat): Do not use CHECK_1.
14058 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14059 <bp-checks.h>.
14060 (__fxstatat): Do not use CHECK_1.
14061 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14062 <bp-checks.h>.
14063 (__lxstat): Do not use CHECK_1.
14064 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14065 <bp-checks.h>.
14066 (__xstat): Do not use CHECK_1.
14067 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14068 (__xstat): Do not use CHECK_1.
14069 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14070 (___xstat64): Do not use CHECK_1.
14071
14072 [BZ #13550]
14073 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14074 definitions.
14075 (CHECK_BOUNDS_HIGH): Likewise.
14076 * string/strcpy.c: Do not include <bp-checks.h>.
14077 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14078
14079 2013-02-07 Roland McGrath <roland@hack.frob.com>
14080
14081 * nscd/nscd-client.h (__nscd_drop_map_ref):
14082 Add __attribute__ ((unused)).
14083 * nis/nss-nisplus.h (niserr2nss): Likewise.
14084
14085 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14086 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14087
14088 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14089 Remove inline keyword.
14090 * include/rounding-mode.h (round_away): Likewise.
14091 * libio/wfileops.c (adjust_wide_data): Likewise.
14092 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14093 (__m128i_strloadu_tolower): Likewise.
14094 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14095 (__m128i_strloadu_tolower): Likewise.
14096 * time/mktime.c (ydhms_diff): Likewise.
14097 * locale/elem-hash.h (elem_hash): Likewise.
14098 * locale/setlocale.c (setdata): Likewise.
14099 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14100 (re_string_wchar_at): Likewise.
14101 (bitset_not, bitset_merge, bitset_mask): Likewise.
14102 [!(__GNUC__ > 3)] (inline): Remove macro.
14103 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14104 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14105 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14106 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14107 * string/memcmp.c (memcmp_bytes): Likewise.
14108 * locale/programs/locarchive.c (compute_hashval): Likewise.
14109 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14110 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14111 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14112 * nss/getent.c (print_rpc, print_protocols): Likewise.
14113 (print_passwd, print_group, print_aliases): Likewise.
14114 * nis/nss-nisplus.h (niserr2nss): Likewise.
14115 * nscd/connections.c (restart_p): Likewise.
14116 Change return type to bool.
14117
14118 2013-02-05 Roland McGrath <roland@hack.frob.com>
14119
14120 * Makeconfig (all-Depend-files): Add existing
14121 $(sorted-subdirs:=/Depend) files.
14122 (all-subdirs): Remove nss.
14123 * sysdeps/unix/inet/Subdirs: Add it here instead.
14124 * hesiod/Depend: New file.
14125
14126 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14127 instead of calling alloca.
14128
14129 * io/lseek.c (__lseek): Rename to __libc_lseek.
14130 Define __lseek as an alias.
14131
14132 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14133
14134 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14135
14136 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14137 else clause and remove check for non-standard endianness.
14138
14139 2013-02-04 David S. Miller <davem@davemloft.net>
14140
14141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14142
14143 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14144
14145 [BZ #13550]
14146 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14147 (__ubp_memchr): Remove prototype.
14148 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14149 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14150 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14151 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14152 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14153 Remove alias.
14154 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14155 (__ubp_memchr): Likewise.
14156 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14157 (__ubp_memchr): Likewise.
14158 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14159 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14160 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14161 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14162 CHECK_STRING.
14163 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14164 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14165 (__getcwd): Do not use CHECK_STRING.
14166 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14167 <bp-checks.h>.
14168 (__real_chown): Do not use CHECK_STRING.
14169 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14170 <bp-checks.h>.
14171 (fchownat): Do not use CHECK_STRING.
14172 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14173 CHECK_STRING.
14174 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14175 <bp-checks.h>.
14176 (__lchown): Do not use CHECK_STRING.
14177 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14178 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14179 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14180 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14182 include <bp-checks.h>.
14183 (truncate64): Do not use CHECK_STRING.
14184 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14185 <bp-checks.h>.
14186 (__real_chown): Do not use CHECK_STRING.
14187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14188 <bp-checks.h>.
14189 (__lchown): Do not use CHECK_STRING.
14190 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14191 <bp-checks.h>.
14192 (__chown): Do not use CHECK_STRING.
14193 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14194 <bp-checks.h>.
14195 (truncate64): Do not use CHECK_STRING.
14196 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14197 Likewise.
14198 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14199 (__xmknod): Do not use CHECK_STRING.
14200 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14201 <bp-checks.h>.
14202 (__xmknodat): Do not use CHECK_STRING.
14203 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14204 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14205
14206 2013-02-04 Andreas Schwab <schwab@suse.de>
14207
14208 [BZ #14142]
14209 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14210 * include/netdb.h: Likewise for h_errno.
14211 * elf/tst-stackguard1.c: Include <tls.h>.
14212
14213 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14214
14215 * elf/link.h (struct link_map): Extend the l_addr comment.
14216 * include/link.h (struct link_map): Likewise.
14217
14218 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #13550]
14221 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14222 (BOUNDED_1): Remove macro.
14223 * debug/backtrace.c: Don't include <bp-checks.h>.
14224 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14225 (__backtrace): Likewise.
14226 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14227 <bp-checks.h>.
14228 (__backtrace): Don't use BOUNDED_1.
14229 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14230 <bp-checks.h>.
14231 (__backtrace): Don't use BOUNDED_1.
14232 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14233 (__backtrace): Don't use BOUNDED_1.
14234 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14235 (shmat): Don't use BOUNDED_N.
14236
14237 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14238
14239 [BZ #13550]
14240 * sysdeps/generic/bp-start.h: Remove file.
14241 * csu/libc-start.c: Don't include <bp-start.h>.
14242 (LIBC_START_MAIN): Set up __environ directly instead of using
14243 INIT_ARGV_and_ENVIRON.
14244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14245 <bp-start.h>.
14246
14247 [BZ #13550]
14248 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14249 definitions.
14250 (CHECK_FCNTL): Likewise.
14251 (CHECK_N_PAGES): Likewise.
14252
14253 [BZ #13550]
14254 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14255 definitions.
14256 (CHECK_SIGSET_NULL_OK): Likewise.
14257 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14258 <bp-checks.h>.
14259 (sigpending): Don't use CHECK_SIGSET.
14260 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14261 <bp-checks.h>.
14262 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14263 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14264 <bp-checks.h>.
14265 (do_sigsuspend): Don't use CHECK_SIGSET.
14266 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14267 use CHECK_SIGSET.
14268 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14269 (do_sigwait): Don't use CHECK_SIGSET.
14270 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14271 use CHECK_SIGSET.
14272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14273 include <bp-checks.h>.
14274 (sigpending): Don't use CHECK_SIGSET.
14275 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14276 include <bp-checks.h>.
14277 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14278 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14279 <bp-checks.h>.
14280 (sigpending): Don't use CHECK_SIGSET.
14281 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14282 <bp-checks.h>.
14283 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14284
14285 [BZ #13550]
14286 * sysdeps/generic/bp-semctl.h: Remove file.
14287 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14288 <bp-checks.h> and <bp-semctl.h>.
14289 (__old_semctl): Don't use CHECK_SEMCTL.
14290 (__new_semctl): Likewise.
14291 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14292 and <bp-semctl.h>.
14293 (__old_semctl): Don't use CHECK_SEMCTL.
14294 (__new_semctl): Likewise.
14295 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14296 <bp-checks.h> and <bp-semctl.h>.
14297 (__old_semctl): Don't use CHECK_SEMCTL.
14298 (__new_semctl): Likewise.
14299 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14300 <bp-checks.h> and <bp-semctl.h>.
14301 (semctl): Don't use CHECK_SEMCTL.
14302
14303 [BZ #13550]
14304 * Makerules (elide-bp-thunks): Remove variable.
14305 (elide-routines.oS): Don't use $(elide-bp-thunks).
14306 (elide-routines.os): Likewise.
14307 (elide-routines.o): Likewise.
14308 (elide-routines.op): Likewise.
14309 (elide-routines.og): Likewise.
14310 (objects): Don't use $(bp-thunks).
14311 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14312 include.
14313 (common-generated): Do not add s-proto-bp.d.
14314 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14315 (int): Likewise.
14316 (typ): Likewise.
14317 Do not generate makefile rules for bounded-pointer thunks.
14318 * sysdeps/generic/bp-thunks.h: Remove file.
14319 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14320 * sysdeps/unix/s-proto-bp.S: Likewise.
14321
14322 [BZ #15062]
14323 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14324 parts of result separately when argument is not close to line from
14325 -i to i and one part of argument is small.
14326 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14327 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14328 * math/libm-test.inc (cacos_test): Add more tests.
14329 (casin_test): Likewise.
14330 (casinh_test): Likewise.
14331 * sysdeps/i386/fpu/libm-test-ulps: Update.
14332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333
14334 2013-01-31 David S. Miller <davem@davemloft.net>
14335
14336 * po/de.po: Update from translation team.
14337
14338 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14339
14340 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14341
14342 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14343
14344 * configure.in (_AC_PROG_CC_C89): New definition.
14345 * configure: Regenerate.
14346
14347 * configure.in (AC_PROG_CPP): New definition.
14348 * configure: Regenerate.
14349
14350 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14351
14352 * debug/tst-backtrace.h: New file.
14353 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14354 (ret): Remove variable.
14355 (x): Likewise.
14356 (FAIL): Remove macro.
14357 (NO_INLINE): Likewise.
14358 (fn1): Use match function instead of strstr.
14359 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14360 (ret): Remove variable.
14361 (x): Likewise.
14362 (FAIL): Remove macro.
14363 (NO_INLINE): Likewise.
14364 (fn): Use match function instead of strstr.
14365 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14366 (ret): Remove variable.
14367 (x): Likewise.
14368 (FAIL): Remove macro.
14369 (NO_INLINE): Likewise.
14370 (handle_signal): Use match function instead of strstr.
14371 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14372 (ret): Remove variable.
14373 (x): Likewise.
14374 (FAIL): Remove macro.
14375 (NO_INLINE): Likewise.
14376 (handle_signal): Use match function instead of strstr.
14377
14378 2013-01-23 Roland McGrath <roland@hack.frob.com>
14379
14380 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14381
14382 2013-01-23 David S. Miller <davem@davemloft.net>
14383
14384 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14385 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14386 argument of CAS if possible.
14387 * sysdeps/sparc/sparc64/bits/atomic.h
14388 (__arch_compare_and_exchange_val_32_acq): Likewise.
14389 (__arch_compare_and_exchange_val_64_acq): Likewise.
14390
14391 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14392
14393 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14394 * sysdeps/posix/ulimit.c: ... this.
14395 Include <limits.h>.
14396 * sysdeps/unix/bsd/ulimit.c: Remove file.
14397
14398 2013-01-23 Adam Conrad <adconrad@0c3.net>
14399
14400 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14401 (LDFLAGS-tst-array5): Likewise.
14402
14403 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14404
14405 [BZ #15036]
14406 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14407 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14408 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14409 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14410
14411 2013-01-21 David S. Miller <davem@davemloft.net>
14412
14413 * sysdeps/sparc/backtrace.c: New file.
14414 * sysdeps/sparc/sparc32/backtrace.h: New file.
14415 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14416 * sysdeps/sparc/sparc64/backtrace.h: New file.
14417 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14418 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14419 -funwind-tables.
14420
14421 2013-01-21 Andreas Schwab <schwab@suse.de>
14422
14423 [BZ #15020]
14424 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14425 closed its stdout.
14426
14427 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14428
14429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14430 "mpa2.h".
14431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14432
14433 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14434 Mark Mitchell <mark@codesourcery.com>
14435 Tom de Vries <tom@codesourcery.com>
14436 Paul Pluzhnikov <ppluzhnikov@google.com>
14437
14438 * debug/tst-backtrace2.c: New file.
14439 * debug/tst-backtrace3.c: Likewise.
14440 * debug/tst-backtrace4.c: Likewise.
14441 * debug/tst-backtrace5.c: Likewise.
14442 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14443 (CFLAGS-tst-backtrace3.c): Likewise.
14444 (CFLAGS-tst-backtrace4.c): Likewise.
14445 (CFLAGS-tst-backtrace5.c): Likewise.
14446 (LDFLAGS-tst-backtrace2): Likewise.
14447 (LDFLAGS-tst-backtrace3): Likewise.
14448 (LDFLAGS-tst-backtrace4): Likewise.
14449 (LDFLAGS-tst-backtrace5): Likewise.
14450 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14451 tst-backtrace4 and tst-backtrace5.
14452
14453 2013-01-18 Anton Blanchard <anton@samba.org>
14454 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14455
14456 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14457 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14459 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14461 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14462 "+r" and remove output regs list as redundant. Add explicit inline
14463 asm to specify register of return val to work around compiler codegen
14464 bug. Remove (int) cast on return value. Add return type parameter to
14465 use in macro so that this macro does not truncate return value for
14466 64-bit values.
14467 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14468 pass to INTERNAL_VSYSCALL_NCS.
14469 (INLINE_VSYSCALL): Add 'long int' as return type to
14470 INTERNAL_VSYSCALL_NCS macro invocation.
14471 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14472 INTERNAL_VSYSCALL_NCS macro invocation.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14474
14475 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14476
14477 [BZ #14496]
14478 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14479 Fix application of SIMD FP exception mask.
14480
14481 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14482 mp_no from a power of two.
14483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14484 __mpexp_twomm1. Use __pow_mp.
14485
14486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14487 multiplication.
14488
14489 2013-01-17 David S. Miller <davem@davemloft.net>
14490
14491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14492
14493 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14494
14495 [BZ #15023]
14496 * include/complex.h: Condition contents on [!_COMPLEX_H].
14497 (__kernel_casinhf): New prototype.
14498 (__kernel_casinh): Likewise.
14499 (__kernel_casinhl): Likewise.
14500 * math/Makefile (libm_calls): Add k_casinh.
14501 * math/k_casinh.c: New file.
14502 * math/k_casinhf.c: Likewise.
14503 * math/k_casinhl.c: Likewise.
14504 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14505 finite nonzero arguments.
14506 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14507 finite nonzero arguments.
14508 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14509 finite nonzero arguments.
14510 * math/s_casinh.c: Do not include <float.h>.
14511 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14512 * math/s_casinhf.c: Do not include <float.h>.
14513 (__casinhf): Move code for finite nonzero arguments to
14514 k_casinhf.c.
14515 * math/s_casinhl.c: Do not include <float.h>.
14516 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14517 redefine.
14518 (__casinhl): Move code for finite nonzero arguments to
14519 k_casinhl.c.
14520 * math/libm-test.inc (cacos_test): Add more tests.
14521 * sysdeps/i386/fpu/libm-test-ulps: Update.
14522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523
14524 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14525
14526 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14527 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14528 [!HAVE_MREMAP]: Remove [defined linux] case.
14529 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14530
14531 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14532
14533 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14534
14535 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14536
14537 * elf/elf.h (R_386_SIZE32): New relocation.
14538 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14539 R_386_SIZE32.
14540 (elf_machine_rela): Likewise.
14541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14542 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14543
14544 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14545
14546 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14547 (FP_FAST_FMA): Do not define.
14548 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14549 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14550 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14551 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14552 !_SOFT_FLOAT]: Likewise.
14553 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14554 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14555 value.
14556 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14557 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14558 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14559 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14560 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14561 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14562 file.
14563
14564 2013-01-16 Andreas Schwab <schwab@suse.de>
14565
14566 [BZ #14327]
14567 * include/stdlib.h (__mktemp): Add declaration.
14568 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14569 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14570
14571 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14572
14573 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14574 definitions.
14575 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14576 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14577 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14578 definitions here.
14579 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14580 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14581 definitions.
14582 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14583 and ONE.
14584 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14585 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14586 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14587 definitions.
14588 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14589 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14590 definitions.
14591 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14592
14593 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14594
14595 2013-01-15 David S. Miller <davem@davemloft.net>
14596
14597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14598 trunc{,f} to libm-sysdep_routes.
14599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14601 file.
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14604 file.
14605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14606 file.
14607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14609 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14610 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14611 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14612 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14613 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14614 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14615
14616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14617 nearbyint{,f} to libm-sysdep_routes.
14618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14620 New file.
14621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14622 file.
14623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14624 New file.
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14626 file.
14627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14629 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14630 file.
14631 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14632 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14633 file.
14634 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14635 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14636 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14637
14638 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14639 libc_feholdexcept and libc_fesetenv.
14640
14641 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14642
14643 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14644
14645 2013-01-14 David S. Miller <davem@davemloft.net>
14646
14647 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14648 (SPARC_ASM_VIS2_IFUNC): Likewise.
14649 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14651 use of 'siam' instruction.
14652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14653 Likewise.
14654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14655 Likewise.
14656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14657 Likewise.
14658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14663 file.
14664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14665 file.
14666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14667 file.
14668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14669 file.
14670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14675 new VIS2 routines.
14676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14679 Likewise.
14680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14685 routines to libm-sysdep_routines.
14686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14687
14688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14689 fdim/fdimf to libm-sysdep_routines.
14690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14691 file.
14692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14694 file.
14695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14698 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14699 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14700 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14701 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14702
14703 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14704
14705 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14706 to optimize copies.
14707
14708 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14711
14712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14713 local variable MPTWO.
14714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14715 Likewise.
14716
14717 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14718
14719 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14720 GLOB_NOESCAPE.
14721
14722 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14723
14724 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14725
14726 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14727
14728 * manual/pattern.texi (glob_t): Document gl_flags.
14729 (glob64_t): Likewise.
14730
14731 2013-01-11 David S. Miller <davem@davemloft.net>
14732
14733 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14734 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14735 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14736 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14737 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14738 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14739 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14740 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14741 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14742 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14743 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14744 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14745 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14746
14747 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14748 sparc V9 rather than using V8 code.
14749 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14750 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14751
14752 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14753 Move to...
14754 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14755 Here.
14756
14757 2013-01-11 Roland McGrath <roland@hack.frob.com>
14758
14759 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14760 not in the main loop.
14761 * configure: Regenerated.
14762
14763 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14764
14765 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14766 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14767 to just #else.
14768 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14769 [!__GLIBC_HAVE_LONG_LONG] case.
14770 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14771 condition to just #else.
14772 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14773 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14774 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14775 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14776 unconditional.
14777 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14778 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14779 #elif condition to just #else.
14780 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14781 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14782 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14783 #elif condition to just #else.
14784
14785 2013-01-11 Steve Ellcey <sellcey@mips.com>
14786
14787 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14788 (EF_MIPS_ARCH_64): Fix value.
14789 (EF_MIPS_ARCH_32R2): New.
14790 (EF_MIPS_ARCH_64R2): New.
14791
14792 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 * Makeconfig (+link-pie-before-libc): New.
14795 (+link-pie-after-libc): Likewise.
14796 (+link-pie-tests): Likewise.
14797 (+link-pie): Rewritten.
14798 (link-before-libc): Remove $(config-LDFLAGS).
14799 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14800 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14801 (config-LDFLAGS): Renamed to ...
14802 (rtld-LDFLAGS): This.
14803 (rtld-tests-LDFLAGS): New macro.
14804 (link-libc-rpath-link): Likewise.
14805 (link-libc-tests-rpath-link): Likewise.
14806 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14807 (link-libc): Prepand $(link-libc-rpath-link).
14808 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14809 (test-program-prefix): New macro.
14810 (test-via-rtld-prefix): Likewise.
14811 (test-program-cmd): Likewise.
14812 (host-test-program-cmd): Likewise.
14813 * Makefile ($(common-objpfx)testrun.sh): Replace
14814 $(run-program-prefix) with $(test-program-prefix).
14815 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14816 $(rtld-LDFLAGS).
14817 ($(common-objpfx)shlib.lds): Likewise.
14818 (build-module-helper): Likewise.
14819 ($(common-objpfx)format.lds): Likewise.
14820 * Rules (binaries-pie-tests): New.
14821 (binaries-pie-notests): Likewise.
14822 (binaries-pie): Rewritten.
14823 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14824 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14825 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14826 (make-test-out): Replace $(host-built-program-cmd) with
14827 $(host-test-program-cmd).
14828 * config.make.in (build-hardcoded-path-in-tests): New variable.
14829 * configure.in (--enable-hardcoded-path-in-tests): New configure
14830 option.
14831 (hardcoded_path_in_tests): New AC_SUBST.
14832 * configure: Regenerated.
14833 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14834 $(built-program-cmd) with $(test-program-cmd).
14835 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14836 (test_program_cmd): This.
14837 * elf/Makefile ($(objpfx)order.out): Run test with
14838 $(test-program-prefix).
14839 ($(objpfx)order2.out): Likewise.
14840 ($(objpfx)tst-initorder.out): Likewise.
14841 ($(objpfx)tst-initorder2.out): Likewise.
14842 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14843 $(test-program-cmd).
14844 ($(objpfx)tst-array1-static.out): Likewise.
14845 ($(objpfx)tst-array2.out): Likewise.
14846 ($(objpfx)tst-array3.out): Likewise.
14847 ($(objpfx)tst-array4.out): Likewise.
14848 ($(objpfx)tst-array5.out): Likewise.
14849 ($(objpfx)tst-array5-static.out): Likewise.
14850 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14851 $(test-program-cmd).
14852 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14853 $(run-program-prefix) with $(test-program-prefix).
14854 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14855 (test_program_prefix): This.
14856 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14857 $(run-program-prefix) with $(test-program-prefix).
14858 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14859 (test_program_prefix): This.
14860 * iconvdata/tst-tables.sh: Likewise.
14861 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14862 $(run-program-prefix) with $(test-program-prefix).
14863 ($(objpfx)tst-translit.out): Likewise.
14864 ($(objpfx)tst-gettext2.out): Likewise.
14865 ($(objpfx)tst-gettext4.out): Likewise.
14866 ($(objpfx)tst-gettext6.out): Likewise.
14867 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14868 (test_program_prefix): This.
14869 * intl/tst-gettext2.sh: Likewise.
14870 * intl/tst-gettext4.sh Likewise.
14871 * intl/tst-gettext6.sh: Likewise.
14872 * intl/tst-translit.sh: Likewise.
14873 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14874 with $(test-program-cmd).
14875 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14876 $(run-program-prefix) with $(test-program-prefix).
14877 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14878 (test_program_prefix): This.
14879 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14880 $(run-program-prefix) with $(test-program-prefix).
14881 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14882 (test_program_prefix): This.
14883 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14884 * posix/Makefile ($(objpfx)globtest.out): Replace
14885 $(run-via-rtld-prefix) and $(test-wrapper) with
14886 $(test-program-prefix) and $(test-via-rtld-prefix).
14887 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14888 $(test-program-prefix).
14889 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14890 $(host-test-program-cmd).
14891 (tst-spawn-ARGS): Likewise.
14892 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14893 $(test-program-prefix).
14894 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14895 (test_via_rtld_prefix): This.
14896 (test_wrapper): Renamed to ...
14897 (test_program_prefix): This.
14898 (run_program_prefix): Replaced by test_program_prefix.
14899 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14900 (test_program_prefix): This.
14901 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14902 with $(host-test-program-cmd).
14903 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14904 $(run-program-prefix) with $(test-program-prefix).
14905 ($(objpfx)tst-printf.out): Likewise.
14906 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14907 $(test-program-cmd).
14908 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14909 (test_program_prefix): This.
14910 * stdio-common/tst-unbputc.sh: Likewise.
14911 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14912 $(run-program-prefix) with $(test-program-prefix).
14913 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14914 (test_program_prefix): This.
14915 * string/Makefile ($(objpfx)tst-svc.out): Replace
14916 $(built-program-cmd) with $(test-program-cmd).
14917
14918 2013-01-11 Andreas Jaeger <aj@suse.de>
14919
14920 [BZ #15003]
14921 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14922 value. Sync with Linux 3.7.
14923
14924 2013-01-10 David S. Miller <davem@davemloft.net>
14925
14926 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14927 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14928 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14929
14930 2013-01-10 Roland McGrath <roland@hack.frob.com>
14931
14932 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14933 never set.
14934 * configure: Regenerated.
14935
14936 2013-01-10 David S. Miller <davem@davemloft.net>
14937
14938 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14939 sparc V9 rather than using V8 code.
14940 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14941 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14942
14943 2013-01-10 Roland McGrath <roland@hack.frob.com>
14944
14945 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14946 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14947 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14948 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14949 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14950 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14951 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14952 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14953 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14954 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14955 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14956 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14957 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14958 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14959 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14960 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14961 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14962 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14963 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14964 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14965 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14966 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14967 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14968 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14969 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14970 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14971 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14972
14973 2013-01-10 David S. Miller <davem@davemloft.net>
14974
14975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14976
14977 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14978
14979 * posix/Makefile (tests-static): New variable.
14980 (tests): Add $(tests-static).
14981 (tst-exec-static-ARGS): New variable.
14982 (tst-spawn-static-ARGS): Likewise.
14983 * posix/tst-exec-static.c: New file.
14984 * posix/tst-spawn-static.c: Likewise.
14985 * posix/tst-exec.c: Support run directly.
14986 * posix/tst-spawn.c: Likewise.
14987
14988 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14989
14990 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14991 long.
14992 * math/bits/mathcalls.h (llrint): Likewise.
14993 (llround): Likewise.
14994 * stdlib/stdlib.h (struct drand48_data): Likewise.
14995 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14996 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14997 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14998 Likewise.
14999 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15000 Likewise.
15001 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15002 (elf_greg_t): Likewise.
15003 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15004 (__jmp_buf): Likewise.
15005 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15006 definitions.
15007 (llrint): Likewise, for all definitions.
15008 (llrintl): Likewise.
15009
15010 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15011 Remove [__GNUC__] condition.
15012 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15013 condition to just [__USE_ISOC99].
15014 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15015
15016 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15017
15018 [BZ #14200]
15019 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15020 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15021 defined.
15022 (_POSIX_V6_ILP32_OFF32): Likewise.
15023 (_XBS5_ILP32_OFF32): Likewise.
15024 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15025 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15026
15027 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15028
15029 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15030
15031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15032 doubles __mpexp_twomm1. Adjust usage.
15033 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15034 Remove.
15035
15036 2013-01-10 Andreas Schwab <schwab@suse.de>
15037
15038 [BZ #14964]
15039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15040 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15041
15042 2013-01-09 David S. Miller <davem@davemloft.net>
15043
15044 [BZ #15003]
15045 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15046 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15047 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15048 TCP_FASTOPEN): Define.
15049 (tcp_repair_opt): New structure.
15050 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15051 enum values.
15052 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15053 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15054 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15055 (tcp_cookie_transactions): New structure.
15056
15057 2013-01-09 Anton Blanchard <anton@samba.org>
15058
15059 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15060 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15061 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15063
15064 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15065
15066 * include/features.h (__USE_ANSI): Remove.
15067
15068 2013-01-09 Roland McGrath <roland@hack.frob.com>
15069
15070 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15071
15072 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15073
15074 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15075
15076 * sysdeps/s390/fpu/libm-test-ulps: Update.
15077
15078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15079
15080 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15081 (__acr): Likewise.
15082 (__cpy): Likewise.
15083 (norm): Likewise.
15084 (denorm): Likewise.
15085 (__mp_dbl): Likewise.
15086 (__dbl_mp): Likewise.
15087 (add_magnitudes): Likewise.
15088 (sub_magnitudes): Likewise.
15089 (__add): Likewise.
15090 (__sub): Likewise.
15091 (__mul): Likewise.
15092 (__inv): Likewise.
15093 (__dvd): Likewise.
15094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15095 (__acr): Likewise.
15096 (__cpy): Likewise.
15097 (norm): Likewise.
15098 (denorm): Likewise.
15099 (__mp_dbl): Likewise.
15100 (__dbl_mp): Likewise.
15101 (add_magnitudes): Likewise.
15102 (sub_magnitudes): Likewise.
15103 (__add): Likewise.
15104 (__sub): Likewise.
15105 (__mul): Likewise.
15106 (__inv): Likewise.
15107 (__dvd): Likewise.
15108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15109 (__acr): Likewise.
15110 (__cpy): Likewise.
15111 (norm): Likewise.
15112 (denorm): Likewise.
15113 (__mp_dbl): Likewise.
15114 (__dbl_mp): Likewise.
15115 (add_magnitudes): Likewise.
15116 (sub_magnitudes): Likewise.
15117 (__add): Likewise.
15118 (__sub): Likewise.
15119 (__mul): Likewise.
15120 (__inv): Likewise.
15121 (__dvd): Likewise.
15122
15123 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15124
15125 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15126 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15127 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15128 2 && __USE_EXTERN_INLINES]: Likewise.
15129
15130 2013-01-08 Andreas Jaeger <aj@suse.de>
15131
15132 [BZ# 14985]
15133 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15134 Remove.
15135 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15136 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15137
15138 2013-01-07 Anton Blanchard <anton@samba.org>
15139
15140 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15141 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15142 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15143 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15144 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15145 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15146 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15147 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15149 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15150 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15151 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15152 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15153 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15154 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15155 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15156 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15157 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15158 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15159 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15160 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15161 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15163 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15164 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15165 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15166 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15169 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15170 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15172 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15173 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15174 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15175 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15176 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15177 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15178 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15179 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15182 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15183
15184 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15185
15186 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15187 (__MALLOC_PMT): Likewise.
15188 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15189 [__GNUC__], only on [_LIBC].
15190 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15191 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15192 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15193 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15194 forward declaration.
15195 (realloc_hook_ini): Likewise.
15196 (memalign_hook_ini): Likewise.
15197 (__libc_memalign): Do not use __MALLOC_PMT in variable
15198 declaration.
15199 (__libc_valloc): Likewise.
15200 (__libc_pvalloc): Likewise.
15201 (__libc_calloc): Likewise.
15202 (__posix_memalign): Likewise.
15203
15204 [BZ #14996]
15205 * math/s_casinh.c: Include <float.h>.
15206 (__casinh): Do not do computation with squaring and square root
15207 for large arguments.
15208 * math/s_casinhf.c: Include <float.h>.
15209 (__casinhf): Do not do computation with squaring and square root
15210 for large arguments.
15211 * math/s_casinhl.c: Include <float.h>.
15212 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15213 (__casinhl): Do not do computation with squaring and square root
15214 for large arguments.
15215 * math/libm-test.inc (casin_test): Add more tests.
15216 (casinh_test): Likewise.
15217 * sysdeps/i386/fpu/libm-test-ulps: Update.
15218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15219
15220 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15221
15222 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15223 (__x86_64_raw_data_cache_size): Likewise.
15224 (__x86_64_data_cache_size_half): Likewise.
15225 (__x86_64_raw_data_cache_size_half): Likewise.
15226 (__x86_64_shared_cache_size): Likewise.
15227 (__x86_64_raw_shared_cache_size): Likewise.
15228 (__x86_64_shared_cache_size_half): Likewise.
15229 (__x86_64_raw_shared_cache_size_half): Likewise.
15230 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15231 to ...
15232 (__x86_data_cache_size): This.
15233 (__x86_64_raw_data_cache_size): Renamed to ...
15234 (__x86_raw_data_cache_size): This.
15235 (__x86_64_data_cache_size_half): Renamed to ...
15236 (__x86_data_cache_size_half): This.
15237 (__x86_64_raw_data_cache_size_half): Renamed to ...
15238 (__x86_raw_data_cache_size_half): This.
15239 (__x86_64_shared_cache_size): Renamed to ...
15240 (__x86_shared_cache_size): This.
15241 (__x86_64_raw_shared_cache_size): Renamed to ...
15242 (__x86_raw_shared_cache_size): This.
15243 (__x86_64_shared_cache_size_half): Renamed to ...
15244 (__x86_shared_cache_size_half): This.
15245 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15246 (__x86_raw_shared_cache_size_half): This.
15247 * sysdeps/x86_64/memcpy.S: Updated.
15248 * sysdeps/x86_64/memset.S: Likewise.
15249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15250 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15252
15253 2013-01-04 David S. Miller <davem@davemloft.net>
15254
15255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15256
15257 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15258
15259 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15260 1 to avoid redefinition warning.
15261 (__USE_GNU): Don't define.
15262 (init_signaling_nan): Protoize.
15263
15264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15265
15266 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15267
15268 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15270 (__cpymn): Likewise.
15271 (norm): Remove commented code.
15272 (denorm): Likewise.
15273 (__mp_dbl): Likewise.
15274 (__inv): Likewise.
15275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15276 (__cpymn): Likewise.
15277 (norm): Remove commented code.
15278 (denorm): Likewise.
15279 (__mp_dbl): Likewise.
15280 (__inv): Likewise.
15281
15282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15283 mp_no value for 1.0 and 2.0.
15284 (norm): Use RADIXI instead of radixi.d.
15285 (denorm): Likewise.
15286 (__mul): Use 0.0 instead of zero.d.
15287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15288 mp_no value for 1.0 and 2.0.
15289 (norm): Use RADIXI instead of radixi.d.
15290 (denorm): Likewise.
15291 (__mul): Use 0.0 instead of zero.d.
15292
15293 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15294
15295 [BZ #14994]
15296 * math/s_casinh.c (__casinh): Reduce finite argument to first
15297 quadrant then set signs of results at the end.
15298 * math/s_casinhf.c (__casinhf): Likewise.
15299 * math/s_casinhl.c (__casinhl): Likewise.
15300 * math/libm-test.inc (casin_test): Add more tests.
15301 (casinh_test): Likewise.
15302 * sysdeps/i386/fpu/libm-test-ulps: Update.
15303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15304
15305 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15306
15307 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15308
15309 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15310
15311 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15312 declarations.
15313 (denorm): Likewise.
15314 (__mp_dbl): Likewise.
15315 (__inv): Likewise.
15316
15317 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15318 and adjust the header comment.
15319
15320 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15321 variable name from declaration.
15322
15323 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15326 Initialize COMMON_CPUID_INDEX_7 element.
15327 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15328 (CPUID_RTM): Likewise.
15329 (HAS_RTM): Likewise.
15330 (COMMON_CPUID_INDEX_7): New enum.
15331
15332 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15333
15334 [BZ #14981]
15335 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15336 size is zero, record memory as freed.
15337
15338 2013-01-03 Andreas Jaeger <aj@suse.de>
15339
15340 * po/ia.po: Add new Interlingua translation.
15341
15342 2012-01-03 Allan McRae <allan@archlinux.org>
15343
15344 * locale/programs/localedef.c: Fix description of '--posix' flag.
15345
15346 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15347
15348 * NEWS: Update dates in second copyright notice.
15349 * README: Update copyright dates in example.
15350 * manual/libc.texinfo: Update copyright dates.
15351 * scripts/test-installation.pl: Update copyright date in --version
15352 output.
15353
15354 * hurd/ctty-input.c: Fix copyright notice formatting.
15355 * hurd/ctty-output.c: Likewise.
15356 * hurd/dtable.c: Likewise.
15357 * hurd/hurd-raise.c: Likewise.
15358 * hurd/hurdprio.c: Likewise.
15359 * hurd/msgportdemux.c: Likewise.
15360 * misc/sys/file.h: Likewise.
15361 * misc/sys/ioctl.h: Likewise.
15362 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15363 * sysdeps/mach/hurd/chdir.c: Likewise.
15364 * sysdeps/mach/hurd/fchdir.c: Likewise.
15365 * sysdeps/mach/hurd/rename.c: Likewise.
15366 * sysdeps/mach/hurd/rmdir.c: Likewise.
15367 * sysdeps/mach/hurd/seekdir.c: Likewise.
15368 * sysdeps/mach/hurd/setsid.c: Likewise.
15369 * sysdeps/posix/wait3.c: Likewise.
15370
15371 * All files with FSF copyright notices: Update copyright dates
15372 using scripts/update-copyrights.
15373 * intl/plural.c: Regenerated.
15374 * locale/programs/charmap-kw.h: Likewise.
15375 * locale/programs/locfile-kw.h: Likewise.
15376
15377 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15378
15379 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15380 four values.
15381
15382 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15383 calculation loop and add branch prediction.
15384
15385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15386 check access beyond bounds of m1np.
15387
15388 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15389 MPTWO.
15390 (__inv): Remove local variable MPTWO to use the global
15391 constant.
15392 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15394 variable MPTWO.
15395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15396 MP3HALFS static const.
15397
15398 2013-01-01 David S. Miller <davem@davemloft.net>
15399
15400 * po/ca.po: Update from translation team.
15401
15402 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15403
15404 * scripts/update-copyrights: New file.
15405 * Makeconfig: Reformat copyright notice.
15406 * ctype/ctype.h: Likewise.
15407 * debug/swprintf_chk.c: Likewise.
15408 * elf/dl-cache.c: Likewise.
15409 * elf/dl-debug.c: Likewise.
15410 * elf/dl-object.c: Likewise.
15411 * grp/initgroups.c: Likewise.
15412 * hurd/Makefile: Likewise.
15413 * hurd/hurd/signal.h: Likewise.
15414 * hurd/hurdfault.c: Likewise.
15415 * hurd/hurdioctl.c: Likewise.
15416 * hurd/hurdlookup.c: Likewise.
15417 * hurd/intr-msg.c: Likewise.
15418 * iconv/gconv_open.c: Likewise.
15419 * libio/swprintf.c: Likewise.
15420 * locale/lc-ctype.c: Likewise.
15421 * locale/nl_langinfo.c: Likewise.
15422 * mach/Machrules: Likewise.
15423 * mach/Makefile: Likewise.
15424 * malloc/obstack.h: Likewise.
15425 * manual/Makefile: Likewise.
15426 * manual/tsort.awk: Likewise.
15427 * misc/bits/stab.def: Likewise.
15428 * nis/nis_print_group_entry.c: Likewise.
15429 * nis/nis_table.c: Likewise.
15430 * nis/nss_compat/compat-pwd.c: Likewise.
15431 * nis/nss_compat/compat-spwd.c: Likewise.
15432 * po/Makefile: Likewise.
15433 * posix/fnmatch.c: Likewise.
15434 * posix/regex.h: Likewise.
15435 * resolv/Makefile: Likewise.
15436 * resolv/nss_dns/dns-network.c: Likewise.
15437 * resolv/res_hconf.c: Likewise.
15438 * scripts/gen-sorted.awk: Likewise.
15439 * soft-fp/soft-fp.h: Likewise.
15440 * stdio-common/printf.h: Likewise.
15441 * stdlib/monetary.h: Likewise.
15442 * stdlib/random.c: Likewise.
15443 * stdlib/random_r.c: Likewise.
15444 * sysdeps/generic/Makefile: Likewise.
15445 * sysdeps/gnu/Makefile: Likewise.
15446 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15448 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15453 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15456 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15458 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15459 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15460 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15461 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15466 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15467 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15474 * sysdeps/mach/hurd/errnos.awk: Likewise.
15475 * sysdeps/mach/hurd/fork.c: Likewise.
15476 * sysdeps/mach/hurd/getcwd.c: Likewise.
15477 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15478 * sysdeps/mach/hurd/mmap.c: Likewise.
15479 * sysdeps/mach/hurd/utimes.c: Likewise.
15480 * sysdeps/mach/hurd/xmknod.c: Likewise.
15481 * sysdeps/posix/profil.c: Likewise.
15482 * sysdeps/posix/readdir_r.c: Likewise.
15483 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15484 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15485 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15486 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15488 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15490 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15492 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15494 * sysdeps/pthread/lio_listio.c: Likewise.
15495 * sysdeps/sparc/dl-procinfo.h: Likewise.
15496 * sysdeps/unix/i386/sysdep.S: Likewise.
15497 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15498 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15499 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15500 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15502 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15503 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15504 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15505 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15506 * sysdeps/wordsize-32/divdi3.c: Likewise.
15507 * time/sys/time.h: Likewise.
15508 * wcsmbs/Makefile: Likewise.
15509
15510 2013-01-01 David S. Miller <davem@davemloft.net>
15511
15512 * po/fr.po: Update from translation team.
15513
15514 * catgets/gencat.c: Update copyright year.
15515 * csu/version.c: Likewise.
15516 * debug/catchsegv.sh: Likewise.
15517 * debug/pcprofiledump.c: Likewise.
15518 * debug/xtrace.sh: Likewise.
15519 * elf/ldconfig.c: Likewise.
15520 * elf/ldd.bash.in: Likewise.
15521 * elf/pldd.c: Likewise.
15522 * elf/sotruss.ksh: Likewise.
15523 * elf/sprof.c: Likewise.
15524 * iconv/iconv_prog.c: Likewise.
15525 * iconv/iconvconfig.c: Likewise.
15526 * locale/programs/locale.c: Likewise.
15527 * locale/programs/localedef.c: Likewise.
15528 * login/programs/pt_chown.c: Likewise.
15529 * malloc/memusage.sh: Likewise.
15530 * malloc/memusagestat.c: Likewise.
15531 * malloc/mtrace.pl: Likewise.
15532 * nscd/nscd.c: Likewise.
15533 * nss/getent.c: Likewise.
15534 * nss/makedb.c: Likewise.
15535 * posix/getconf.c: Likewise.
15536
15537 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15538
15539 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15540 numbers.
15541
15542 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15543
15544 * math/bits/mathcalls.h (modf): Use __nonnull.
15545
15546 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15547
15548 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15549 (split): Use macro CN instead of the bare value.
15550 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15551 could be used.
15552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15553 instead of the bare value.
15554 (power1): Likewise.
15555
15556 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15557
15558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15559 __ATAN_TWOM.
15560 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15561
15562 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15563 their values.
15564 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15565 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15566 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15567 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15568
15569 2012-12-28 Andreas Jaeger <aj@suse.de>
15570
15571 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15572 values are from Linux 3.7.
15573
15574 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15575 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15576
15577 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15578
15579 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15580 TRUE case.
15581
15582 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15583 (norm): Likewise.
15584 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15585 variables with preprocessor constants.
15586 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15587 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15588 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15589
15590 2012-12-27 Bruno Haible <bruno@clisp.org>
15591
15592 [BZ #14317]
15593 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15594 only if needed.
15595
15596 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15597
15598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15599 and use variable directly.
15600 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15601
15602 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15603 MPONE.
15604 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15605 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15606 variable MPONE.
15607 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15609 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15610 include directive. Remove local variable MPONE.
15611 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15612 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15613 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15614
15615 2012-12-25 David S. Miller <davem@davemloft.net>
15616
15617 * version.h (RELEASE): Set to "development".
15618 (VERSION): Set to "2.17.90".
15619 * NEWS: Add 2.18 section.
15620
15621 2012-12-21 David S. Miller <davem@davemloft.net>
15622
15623 * po/hr.po: Update from translation team.
15624
15625 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15626
15627 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15628
15629 2012-12-19 Steve Ellcey <sellcey@mips.com>
15630
15631 * NEWS: Mention new memcpy for MIPS.
15632
15633 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15634
15635 * manual/contrib.texi (Contributors): Spelling correction.
15636
15637 2012-12-15 David S. Miller <davem@davemloft.net>
15638
15639 * po/ru.po: Update from translation team.
15640
15641 2012-12-13 David S. Miller <davem@davemloft.net>
15642
15643 * NEWS: Mention IFUNC testsuite enhancements.
15644
15645 * po/pl.po: Update from translation team.
15646 * po/bg.po: Likewise.
15647
15648 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15649 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15650
15651 2012-12-11 David S. Miller <davem@davemloft.net>
15652
15653 * po/sv.po: Update from translation team.
15654
15655 * po/vi.po: Update from translation team.
15656
15657 * po/cs.po: Update from translation team.
15658
15659 * po/de.po: Update from translation team.
15660 * po/eo.po: Likewise.
15661 * po/nl.po: Likewise.
15662
15663 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15664
15665 [BZ #14246]
15666 * manual/argp.texi (Argp Helper Functions): Move node to follow
15667 Argp Parsing State.
15668
15669 [BZ #14872]
15670 * manual/conf.texi (Limits on File System Capacity): Mention if
15671 terminating null is included in the max size.
15672
15673 2012-12-10 Andreas Jaeger <aj@suse.de>
15674
15675 * po/cs.po: Update from translation team.
15676
15677 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15678
15679 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15680 void pointer and cast to uintptr_t.
15681 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15682 path.
15683 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15684 * sysdeps/s390/s390-64/memset.S: Likewise.
15685
15686 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15687
15688 [BZ #14833]
15689 * menual/message.texi (Message Translation): Fix typos.
15690 (Helper programs for gettext): Likewise.
15691
15692 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15693
15694 [BZ #14898]
15695 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15696 Change to -1.
15697
15698 2012-12-07 David S. Miller <davem@davemloft.net>
15699
15700 * po/libc.pot: Update.
15701
15702 2012-12-07 Richard Henderson <rth@redhat.com>
15703
15704 [BZ #10114]
15705 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15706 normal/normal case to before the switch.
15707 (_FP_DIV): Likewise.
15708
15709 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15710 Mike Frysinger <vapier@gentoo.org>
15711
15712 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15713 check for __NR_fadvise64_64.
15714
15715 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15716
15717 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15718 0, not just to plain "0" as a statement.
15719 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15720 with cw.
15721
15722 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15723
15724 * NEWS: Use sourceware.org in Bugzilla URL.
15725
15726 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15727
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15729 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15730
15731 * stdio-common/tst-put-error.c (do_test): Add newline to the
15732 padded test to ensure flush.
15733
15734 2012-12-05 Jeff Law <law@redhat.com>
15735
15736 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15737
15738 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15739
15740 * README: Don't refer to ports add-on as distributed separately.
15741 Mention AArch64 in list of systems supported in the ports add-on.
15742
15743 * LICENSES: Add more non-FSF copyright and license notices.
15744
15745 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15746 ((unused)).
15747
15748 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15749
15750 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15751 10000 as width of padded output.
15752
15753 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15754
15755 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15756
15757 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15758 variable LX with __attribute__ ((unused)).
15759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15760 Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15764 with __attribute__ ((unused)).
15765
15766 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15767
15768 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15769
15770 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15771
15772 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15773 (CFLAGS-nldbl-acos.c): New variable.
15774 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15777 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15778 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15779 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15780 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15781 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15782 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15783 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15784 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15785 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15786 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15787 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15788 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15789 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15790 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15791 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15792 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15793 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15794 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15795 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15796 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15797 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15798 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15799 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15800 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15801 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15802 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15803 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15804 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15805 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15806 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15807 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15808 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15809 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15810 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15811 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15812 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15813 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15814 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15815 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15816 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15817 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15818 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15819 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15820 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15821 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15822 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15823 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15824 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15825 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15826 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15827 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15828 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15829 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15830 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15831 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15832 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15833 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15834 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15835 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15836 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15837 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15838 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15839 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15840 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15841 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15842 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15843 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15844 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15845 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15846 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15847 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15848 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15849 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15850 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15851 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15852 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15853 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15854 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15855 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15856 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15857 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15858 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15859 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15860 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15861 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15862 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15863 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15864 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15865 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15866 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15867 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15868 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15869 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15870 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15871
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15873 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15874
15875 [BZ #14914]
15876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15877 whole low double instead of just low 47 bits when splitting values
15878 into two parts.
15879
15880 2012-12-03 Allan McRae <allan@archlinux.org>
15881
15882 * manual/stdio.texi (Predefined Printf Handlers): Remove
15883 @hsep and @vsep usage.
15884
15885 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15886
15887 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15888 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15889
15890 2012-12-03 Jeff Law <law@redhat.com>
15891
15892 * time/sys/time.h (settimeofday): Do not mark TV argument
15893 as __nonnull.
15894
15895 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15896
15897 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15898 when currently writing and seek to current position when not.
15899 * libio/Makefile (tests): Remove bug-fclose1.
15900 * libio/bug-fclose1.c: Delete.
15901
15902 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15903
15904 * manual/arith.texi (feenableexcept): Fix typo.
15905 (fedisableexcept): Likewise.
15906
15907 2012-11-30 Roland McGrath <roland@hack.frob.com>
15908
15909 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15910 second, differently-typed declaration, rather than a cast.
15911
15912 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15913
15914 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15915 * include/rpc/svc.h: ... here.
15916
15917 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15918
15919 [BZ #13013]
15920 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15921 depending n and resplen2 to catch cases where answer
15922 equals answerp2.
15923
15924 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15925
15926 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15927 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15928
15929 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15930
15931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15932
15933 2012-11-29 Roland McGrath <roland@hack.frob.com>
15934
15935 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15936
15937 2012-11-28 Jeff Law <law@redhat.com>
15938
15939 [BZ #13761]
15940 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15941 dataset_temporary. Track alloca usage into alloca_used.
15942 If dataset is large allocate and release it via malloc/free.
15943
15944 2012-06-04 Florian Weimer <fweimer@redhat.com>
15945
15946 [BZ #14197]
15947 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15948
15949 2012-11-28 David S. Miller <davem@davemloft.net>
15950
15951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15952
15953 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15954
15955 [BZ #14803]
15956 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15957 of pi/2 rounded to nearest to 64 bits.
15958 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15959 nearest to 64 bits.
15960 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15961 bits.
15962
15963 2012-11-28 Jeff Law <law@redhat.com>
15964 Martin Osvald <mosvald@redhat.com>
15965
15966 [BZ #14889]
15967 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15968 * sunrpc/svc.c: Include time.h.
15969 (__svc_accept_failed): New function.
15970 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15971 any reason other than EINTR, call __svc_accept_failed.
15972 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15973 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15974
15975 2012-11-28 Andreas Schwab <schwab@suse.de>
15976
15977 * scripts/abilist.awk: Also handle indirect functions in .opd
15978 section.
15979
15980 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15981
15982 [BZ #13881]
15983 * sysdeps/x86/fpu/powl_helper.c: New file.
15984 * sysdeps/x86/fpu/Makefile: Likewise.
15985 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15986 (p3): New object.
15987 (__ieee754_powl): Use __powl_helper for finite arguments except
15988 integer exponents below 8.
15989 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15990 (p3): New object.
15991 (__ieee754_powl): Use __powl_helper for finite arguments except
15992 integer exponents below 8.
15993 * math/libm-test.inc (pow_test): Add more tests and enable some
15994 previously disabled tests.
15995 * sysdeps/i386/fpu/libm-test-ulps: Update.
15996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15997
15998 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15999 Carlos O'Donell <carlos_odonell@mentor.com>
16000
16001 * nss/makedb.c (is_prime): Assert that input is odd and greater
16002 than 4. Note that fact in a comment too.
16003 (next_prime): Add 4 to input.
16004
16005 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16006
16007 [BZ #11741]
16008 * libio/Makefile (tests): Add test case tst-fwrite-error.
16009 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16010 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16011 * libio/tst-fwrite-error.c: New test case.
16012
16013 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16014
16015 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16016 before casting to void *.
16017 * include/libc-internal.h (__pointer_type): New macro.
16018 (__integer_if_pointer_type_sub): Likewise.
16019 (__integer_if_pointer_type): Likewise.
16020 (cast_to_integer): Likewise.
16021 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16022 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16023 before casting to atomic64_t.
16024 (atomic_exchange_acq): Likewise.
16025 (__arch_exchange_and_add_body): Likewise.
16026 (__arch_add_body): Likewise.
16027 (atomic_add_negative): Likewise.
16028 (atomic_add_zero): Likewise.
16029
16030 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16031
16032 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16033 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16034 (add_fdes): Likewise.
16035 (linear_search_fdes): Likewise.
16036 (binary_search_unencoded_fdes): Likewise.
16037
16038 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16039
16040 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16041
16042 2012-11-24 Adam Conrad <adconrad@0c3.net>
16043
16044 * configure.in: Autodetect C++ header directories.
16045 * configure: Regenerated.
16046
16047 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16048
16049 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16050
16051 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16054
16055 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16056
16057 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16058 LDBL_MANT_DIG == 106]: Disable some tests.
16059 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16060 Likewise.
16061 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16062 Likewise.
16063
16064 [BZ #14871]
16065 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16066 input for small inputs. Return +/- pi/2 for large inputs.
16067 * math/libm-test.inc (atan_test): Add more tests.
16068
16069 * sysdeps/generic/unwind-dw2-fde-glibc.c
16070 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16071 __attribute__ ((unused)).
16072
16073 [BZ #14645]
16074 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16075 x * y if x and y are nonzero and z is zero.
16076
16077 [BZ #14811]
16078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16079 nonzero exponents with absolute value below 0x1p-117 to +/-
16080 0x1p-117.
16081
16082 [BZ #14869]
16083 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16084 up arguments below 2**-450, not just those below 2**-500.
16085 * math/libm-test.inc (hypot_test): Add another test.
16086
16087 [BZ #14868]
16088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16089 Return a+b for ratio over 2**120, not 2**60.
16090 * math/libm-test.inc (hypot_test): Add another test.
16091
16092 * math/libm-test.inc (clog_test): Use
16093 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16094 (clog10_test): Likewise.
16095
16096 [BZ #6778]
16097 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16098
16099 2012-11-22 Andreas Schwab <schwab@suse.de>
16100
16101 * sysdeps/i386/fpu/libm-test-ulps: Update.
16102
16103 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16104
16105 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16106 printf output with newline.
16107
16108 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16109
16110 [BZ #14865]
16111 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16112 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16113 -z nodlopen, -z initfirst and -z execstack support.
16114 * configure: Regenerated.
16115
16116 * elf/elf.h (DF_1_NODIRECT): New macro.
16117 (DF_1_IGNMULDEF): Likewise.
16118 (DF_1_NOKSYMS): Likewise.
16119 (DF_1_NOHDR): Likewise.
16120 (DF_1_EDITED): Likewise.
16121 (DF_1_NORELOC): Likewise.
16122 (DF_1_SYMINTPOSE): Likewise.
16123 (DF_1_GLOBAUDIT): Likewise.
16124 (DF_1_SINGLETON): Likewise.
16125 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16126 DT_1_SUPPORTED_MASK bits.
16127 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16128
16129 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16130
16131 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16132
16133 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16134
16135 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16136 macro.
16137
16138 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16139 (sendmmsg): Move declarations...
16140 * socket/sys/socket.h: ... here.
16141 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16142 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16143 include it from...
16144 * socket/recvmmsg.c: ... this new file.
16145 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16146 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16147 definition of __sendmmsg hidden.
16148 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16149 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16150 Move ENOSYS stub into and include it from...
16151 * socket/sendmmsg.c: ... this new file.
16152 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16153 (sysdep_routines): Move recvmmsg and sendmmsg...
16154 * socket/Makefile (routines): ... here.
16155 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16156 (GLIBC_PRIVATE): Add __sendmmsg.
16157 * include/sys/socket.h (__sendmmsg): Add declarations.
16158 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16159 sendmmsg.
16160
16161 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16162
16163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16164 variable I1 with __attribute__ ((unused)).
16165 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16166
16167 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16168
16169 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16170 DUMMY variables with __attribute__ ((unused)).
16171
16172 * bits/byteswap.h: Include <bits/types.h>.
16173 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16174
16175 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16176
16177 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16178 string_t. Do not manually set errno.
16179 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16180 length with __strnlen. Make sure to both set errno and return it on
16181 failure.
16182
16183 2012-11-19 David S. Miller <davem@davemloft.net>
16184
16185 With help from Joseph Myers.
16186 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16187 very large arguments properly.
16188 * math/libm-test.inc (atan_test): New tests.
16189 (atan2_test): New tests.
16190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16192
16193 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16194
16195 [BZ #14856]
16196 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16197 Define to 3.
16198
16199 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16200 [POSIX] (EADDRNOTAVAIL): Likewise.
16201 [POSIX] (EAFNOSUPPORT): Likewise.
16202 [POSIX] (EALREADY): Likewise.
16203 [POSIX] (ECONNABORTED): Likewise.
16204 [POSIX] (ECONNREFUSED): Likewise.
16205 [POSIX] (ECONNRESET): Likewise.
16206 [POSIX] (EDESTADDRREQ): Likewise.
16207 [POSIX] (EDQUOT): Likewise.
16208 [POSIX] (EHOSTUNREACH): Likewise.
16209 [POSIX] (EIDRM): Likewise.
16210 [POSIX] (EISCONN): Likewise.
16211 [POSIX] (ELOOP): Likewise.
16212 [POSIX] (EMULTIHOP): Likewise.
16213 [POSIX] (ENETDOWN): Likewise.
16214 [POSIX] (ENETUNREACH): Likewise.
16215 [POSIX] (ENOBUFS): Likewise.
16216 [POSIX] (ENODATA): Likewise.
16217 [POSIX] (ENOLINK): Likewise.
16218 [POSIX] (ENOMSG): Likewise.
16219 [POSIX] (ENOPROTOOPT): Likewise.
16220 [POSIX] (ENOSR): Likewise.
16221 [POSIX] (ENOSTR): Likewise.
16222 [POSIX] (ENOTCONN): Likewise.
16223 [POSIX] (ENOTSOCK): Likewise.
16224 [POSIX] (EOPNOTSUPP): Likewise.
16225 [POSIX] (EOVERFLOW): Likewise.
16226 [POSIX] (EPROTO): Likewise.
16227 [POSIX] (EPROTONOSUPPORT): Likewise.
16228 [POSIX] (EPROTOTYPE): Likewise.
16229 [POSIX] (ESTALE): Likewise.
16230 [POSIX] (ETIME): Likewise.
16231 [POSIX] (ETXTBSY): Likewise.
16232 [POSIX] (EWOULDBLOCK): Likewise.
16233 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16234 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16235 [POSIX] (SEEK_CUR): Likewise.
16236 [POSIX] (SEEK_END): Likewise.
16237 [POSIX || UNIX98] (mode_t): Do not require.
16238 [POSIX] (off_t): Likewise.
16239 [POSIX] (pid_t): Likewise.
16240 [POSIX] (sys/stat.h): Do not allow header.
16241 [POSIX] (unistd.h): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16243 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16244 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16245 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16246 require.
16247 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16248 sigevent): Specify elements.
16249 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16250 entry.
16251 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16252 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16253
16254 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16255 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16256 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16257 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16258 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16259 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16260 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16261 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16263 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16264 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16265 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16266 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16267 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16268 Likewise.
16269 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16270 Likewise.
16271 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16272 Likewise.
16273 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16274 Likewise.
16275 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16276 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16277 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16278 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16280 Specify lower bound on value.
16281 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16287 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16288 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16289 value.
16290 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16291 as optional.
16292 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16304 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16305 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16308 entry.
16309 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16310 optional.
16311 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16312 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16315 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16316 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16317 Likewise.
16318 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16319 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16320 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16321 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16322 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16323 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16324 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16325 as optional.
16326 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16327 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16328 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16329 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16330 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16331 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16332 specify as optional.
16333 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16334 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16335 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16336 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16337 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16338 [XPG3] (NL_LANGMAX): Likewise.
16339 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16340 [POSIX || XPG3] (NL_NMAX): Likewise.
16341 [POSIX || XPG3] (NL_SETMAX): Likewise.
16342 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16343 [XPG3] (NZERO): Likewise.
16344 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16345 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16346 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16347 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16348 (REG_ERANGE): Expect.
16349 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16350 optional-constant.
16351 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16352 Use (void) in prototype.
16353 [POSIX] (*_t): Allow.
16354 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16355 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16356 (WRDE_BADVAL): Expect.
16357
16358 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16359 expect.
16360 [XPG3 || XPG4] (O_RSYNC): Likewise.
16361 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16362 Likewise.
16363 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16364 [XPG3 || XPG4] (sigqueue): Likewise.
16365 [XPG3 || XPG4] (sigtimedwait): Likewise.
16366 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16367 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16368 [XPG3 || XPG4] (vsnprintf): Likewise.
16369 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16370 Likewise.
16371 [XPG3 || XPG4] (blksize_t): Likewise.
16372 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16373 Likewise.
16374 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16375 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16376 [XPG3 || XPG4] (struct itimerspec): Likewise.
16377 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16378 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16379 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16380 [XPG3 || XPG4] (clockid_t): Likewise.
16381 [XPG3 || XPG4] (timer_t): Likewise.
16382 [XPG3 || XPG4] (clock_getres): Likewise.
16383 [XPG3 || XPG4] (clock_gettime): Likewise.
16384 [XPG3 || XPG4] (clock_settime): Likewise.
16385 [XPG3 || XPG4] (nanosleep): Likewise.
16386 [XPG3 || XPG4] (timer_create): Likewise.
16387 [XPG3 || XPG4] (timer_delete): Likewise.
16388 [XPG3 || XPG4] (timer_gettime): Likewise.
16389 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16390 [XPG3 || XPG4] (timer_settime): Likewise.
16391 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16392 [XPG3 || XPG4] (getlogin_r): Likewise.
16393 [XPG3 || XPG4] (pread): Likewise.
16394 [XPG3 || XPG4] (pthread_atfork): Likewise.
16395 [XPG3 || XPG4] (pwrite): Likewise.
16396
16397 [BZ #14835]
16398 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16399 <bits/siginfo.h>.
16400
16401 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16402
16403 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16404 finalizing MALLSTREAM.
16405
16406 * sysdeps/mach/hurd/syncfs.c: New file.
16407
16408 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16409
16410 [BZ #14719]
16411 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16412 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16413 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16414 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16415 (_nss_dns_gethostbyname4_r): Likewise.
16416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16417 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16418
16419 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16420
16421 [BZ #13763]
16422 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16423
16424 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16425
16426 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16427 * elf/cache.c (print_entry): Print ",AArch64" for
16428 FLAG_AARCH64_LIB64
16429
16430 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16431 * elf/cache.c (print_entry): Print ",hard-float" for
16432 FLAG_ARM_LIBHF.
16433
16434 2012-11-18 David S. Miller <davem@davemloft.net>
16435
16436 With help from Joseph Myers.
16437 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16438 cutoff to 2**-13.
16439 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16440 cutoff to 2**-25.
16441 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16442 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16443 small.
16444 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16445 * math/libm-test.inc (y0_test): New tests.
16446 (y1_test): New tests.
16447 * sysdeps/i386/fpu/libm-test-ulps: Update.
16448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16450
16451 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16452
16453 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16454 64-bit targets.
16455 * configure: Regenerated.
16456
16457 2012-11-17 David S. Miller <davem@davemloft.net>
16458
16459 [BZ #14811]
16460 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16461 nonzero exponents with absolute value below 0x1p-128 to +/-
16462 0x1p-128.
16463
16464 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16465
16466 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16467
16468 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16469
16470 * posix/getconf-speclist.c: New file.
16471 * posix/posix-envs.def: Likewise.
16472 * posix/confstr.c (START_ENV_GROUP): New macro.
16473 (END_ENV_GROUP): Likewise.
16474 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16475 (KNOWN_PRESENT_ENV_STRING): Likewise.
16476 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16477 (UNKNOWN_ENVIRONMENT): Likewise.
16478 (confstr): Include posix-envs.def instead of handling
16479 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16480 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16481 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16482 (END_ENV_GROUP): Likewise.
16483 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16484 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16485 (UNKNOWN_ENVIRONMENT): Likewise.
16486 (__sysconf): Include posix-envs.def instead of handling associated
16487 cases directly here.
16488 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16489 preprocessing getconf-speclist.c rather than running getconf or
16490 generating empty file.
16491
16492 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16493
16494 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16495
16496 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16497
16498 [BZ #14672]
16499 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16500
16501 2012-11-16 David S. Miller <davem@davemloft.net>
16502
16503 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16504 smaller than LDBL_EPSILON/2.0L, just return xm1.
16505
16506 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * elf/tst-array1.c (init): Set constructor priority to 1000.
16509 (fini): Set destructor priority to 1000.
16510 * elf/tst-array2dep.c: Likewise.
16511
16512 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16513
16514 [BZ #11741]
16515 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16516 (_IO_new_file_xsputn): Also return EOF if none of the input
16517 data was written when overflow failed.
16518 * libio/iopadn.c (_IO_padn): Likewise.
16519 * libio/iowpadn.c (_IO_wpadn): Likewise.
16520 * stdio-common/tst-put-error.c: Add copyright notice.
16521 (do_test): Add case for printing padded string.
16522 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16523 _IO_padn returned error.
16524 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16525 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16526 return EOF.
16527
16528 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16529
16530 * libio/libioP.h: Add comment note that the references to C++
16531 bits are now obsolete.
16532
16533 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16534
16535 * math/libm-test.inc (check_complex): Use asprintf.
16536
16537 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16538
16539 * debug/pcprofiledump.c (print_version): Update copyright year.
16540 * malloc/memusagestat.c (print_version): Likewise.
16541
16542 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16543
16544 [BZ #14831]
16545 * elf/Makefile (tests): Add tst-audit8.
16546 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16547 ($(objpfx)tst-audit8.out): New target.
16548 (tst-audit8-ENV): New variable.
16549 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16550 audit if l_reloc_result is NULL.
16551 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16552 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16553 * elf/tst-audit8.c: New file.
16554
16555 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16556
16557 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16558 * misc/Makefile (CFLAGS-select.c): Define.
16559 * posix/Makefile (CFLAGS-pause.c): Define.
16560
16561 2012-11-13 David S. Miller <davem@davemloft.net>
16562
16563 * crypt/Makefile: Move test targets after toplevel Rules
16564 inclusion. Grab any necessary sysdep routines when linking.
16565 * crypt/md5.c (md5_process_block): Remove define, we will always
16566 name it __md5_process_block.
16567 (md5_finish_ctx): Update md5_process_block call.
16568 (md5_stream): Likewise.
16569 (md5_process_bytes): Likewise.
16570 (md5_process_block): Rename to __md5_process_block and move to ...
16571 * crypt/md5-block.c: ... here.
16572 * crypt/sha256.c (sha256_process_block): Move to ...
16573 * crypt/sha256-block.c: ... here.
16574 * crypt/sha512.c (sha512_process_block): Move to ...
16575 * crypt/sha512-block.c: ... here.
16576 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16577 path.
16578 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16579 * sysdeps/sparc/sparc64/multiarch/Makefile
16580 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16581 crypt subdir.
16582 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16583 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16584 multiarch changes.
16585 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16586 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16587 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16588 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16589 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16590 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16591 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16592 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16593 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16594 file.
16595 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16596 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16597 file.
16598 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16599
16600 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16601
16602 * timezone/tzselect.ksh: Update from tzcode git revision
16603 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16604 * timezone/zdump.c: Likewise.
16605 * timezone/zic.c: Likewise.
16606 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16607 in TZVERSION setting, not $(PKGVERSION).
16608 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16609 REPORT_BUGS_TO settings.
16610
16611 [BZ #14838]
16612 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16613 macro.
16614
16615 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16616
16617 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16618 detection to immediately after _FP_ROUND().
16619 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16620 bits are 0.
16621
16622 2012-11-11 David S. Miller <davem@davemloft.net>
16623
16624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16625 inttypes.h
16626 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16627 __close rather than their public counterparts.
16628
16629 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16630
16631 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16632 file.
16633 [UNIX98] (sem_timedwait): Do not expect.
16634 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16635 [XPG4 || UNIX98] (sockatmark): Do not expect.
16636 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16637 (clock_getcpuclockid): Do not expect.
16638 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16639 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16640 Do not expect.
16641 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16642 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16643 [UNIX98] (vwscanf): Likewise.
16644 [UNIX98] (vswscanf): Likewise.
16645
16646 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16647
16648 * timezone/version.h: Remove file.
16649 * timezone/README: Do not refer to version.h.
16650 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16651 $(objpfx)version.h.
16652 ($(objpfx)zdump.o): Likewise.
16653 ($(objpfx)version.h): New target.
16654
16655 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16656 2012i.
16657 * timezone/README: Don't mention modification to tzselect.ksh.
16658 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16659 work on unmodified tzselect.ksh. Substitute version numbers in
16660 tzselect.ksh.
16661
16662 * Makefile (format-me): Remove.
16663 (INSTALL): Adjust indentation. Use commands directly instead of
16664 using $(format-me).
16665
16666 * aclocal.m4 (ACX_PKGVERSION): New macro.
16667 (ACX_BUGURL): Likewise.
16668 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16669 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16670 (REPORT_BUGS_TO): Likewise.
16671 * configure: Regenerated.
16672 * config.h.in (PKGVERSION): New macro.
16673 (REPORT_BUGS_TO): Likewise.
16674 * config.make.in (PKGVERSION): New variable.
16675 (PKGVERSION_TEXI): Likewise.
16676 (REPORT_BUGS_TO): Likewise.
16677 (REPORT_BUGS_TEXI): Likewise.
16678 * Makefile (format-me): Use -I$(common-objpfx)manual.
16679 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16680 ($(common-objpfx)manual/%): New target.
16681 (manual/%): Remove target.
16682 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16683 (print_version): Use PKGVERSION.
16684 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16685 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16686 and REPORT_BUGS_TO.
16687 ($(objpfx)xtrace): Likewise.
16688 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16689 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16690 (print_version): Use PKGVERSION.
16691 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16692 (do_version): Use PKGVERSION.
16693 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16694 REPORT_BUGS_TO.
16695 (common-ldd-rewrite): Likewise.
16696 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16697 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16698 (print_version): Use PKGVERSION.
16699 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16700 * elf/pldd.c (argp_program_bug_address): Remove variable.
16701 (more_help): New function.
16702 (argp): Use more_help.
16703 (print_version): Use PKGVERSION.
16704 * elf/sln.c (main): Use PKGVERSION.
16705 (usage): Use REPORT_BUGS_TO.
16706 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16707 (top level): Use PKGVERSION.
16708 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16709 (print_version): Use PKGVERSION.
16710 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16711 (print_version): Use PKGVERSION.
16712 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16713 (print_version): Use PKGVERSION.
16714 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16715 (print_version): Use PKGVERSION.
16716 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16717 (print_version): Use PKGVERSION.
16718 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16719 (print_version): Use PKGVERSION.
16720 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16721 and BUGURL.
16722 ($(objpfx)memusage): Likewise.
16723 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16724 (do_version): Use PKGVERSION.
16725 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16726 (print_version): Use PKGVERSION.
16727 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16728 ($PKGVERSION): New variable.
16729 ($REPORT_BUGS_TO): Likewise.
16730 (usage): Use $REPORT_BUGS_TO.
16731 (top level): Use $PKGVERSION.
16732 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16733 ($(objpfx)pkgvers.texi): New rule.
16734 ($(objpfx)stamp-pkgvers): Likewise.
16735 * manual/install.texi: Include pkgvers.texi.
16736 (--with-pkgversion): Document new configure option.
16737 (--with-bugurl): Likewise.
16738 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16739 than necessarily for this particular distribution. Use
16740 REPORT_BUGS_TO for where to report bugs.
16741 * INSTALL: Regenerated.
16742 * manual/libc.texinfo: Include pkgvers.texi.
16743 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16744 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16745 (print_version): Use PKGVERSION.
16746 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16747 (print_version): Use PKGVERSION.
16748 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16749 (print_version): Use PKGVERSION.
16750 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16751 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16752 macro.
16753 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16754 (print_version): Use PKGVERSION.
16755 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16756 (print_version): Use PKGVERSION.
16757 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16758 and PKGVERSION.
16759
16760 * timezone/checktab.awk: Update from tzcode 2012i.
16761 * timezone/ialloc.c: Likewise.
16762 * timezone/private.h: Likewise.
16763 * timezone/scheck.c: Likewise.
16764 * timezone/tzfile.h: Likewise.
16765 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16766 (TZVERSION): Hardcode tzcode version number.
16767 * timezone/zdump.c: Update from tzcode 2012i.
16768 * timezone/zic.c: Likewise.
16769 * timezone/version.h: New file.
16770 * timezone/README: Describe version.h. Update upstream location.
16771
16772 [BZ #14824]
16773 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16774 (mktemp): Enable declaration.
16775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16779 Likewise.
16780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16781 Likewise.
16782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16783 Likewise.
16784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16785 Likewise.
16786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16787 Likewise.
16788 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16789 Likewise.
16790
16791 [BZ #14821]
16792 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16793 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16794 for copies of such integer values.
16795 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16796 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16797
16798 2012-11-09 Andreas Jaeger <aj@suse.de>
16799
16800 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16801 definitions and declarations that are provided by
16802 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16803
16804 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16805
16806 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16807 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16808 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16809 definition.
16810
16811 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16812
16813 * elf/elf.h: Update comment before AArch64 relocations.
16814
16815 2012-11-07 David S. Miller <davem@davemloft.net>
16816
16817 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16818 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16819 (__start_context): Declare.
16820 (__makecontext_ret): Delete.
16821 (__makecontext): Hook up __start_context instead of
16822 __makecontext_ret.
16823 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16824 (sysdep_routines): Add __start_context when in stdlib.
16825
16826 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16827
16828 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16829 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16830 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16831 hardcoded "nm".
16832 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16833 (READELF): New variable. Use it instead of hardcoded "readelf".
16834
16835 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16836
16837 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16838 * sysdeps/x86/Makefile: Here.
16839 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16840 * sysdeps/x86/tst-xmmymm.sh: This.
16841
16842 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16843
16844 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16845 expectations.
16846 [UNIX98] (pthread_barrier_t): Do not expect.
16847 [UNIX98] (pthread_barrierattr_t): Likewise.
16848 [UNIX98] (pthread_spinlock_t): Likewise.
16849 [UNIX98] (pthread_barrier_destroy): Likewise.
16850 [UNIX98] (pthread_barrier_init): Likewise.
16851 [UNIX98] (pthread_barrier_wait): Likewise.
16852 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16853 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16854 [UNIX98] (pthread_barrierattr_init): Likewise.
16855 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16856 [UNIX98] (pthread_getcpuclockid): Likewise.
16857 [UNIX98] (pthread_mutex_timedlock): Likewise.
16858 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16859 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16860 [UNIX98] (pthread_sigmask): Likewise.
16861 [UNIX98] (pthread_spin_destroy): Likewise.
16862 [UNIX98] (pthread_spin_init): Likewise.
16863 [UNIX98] (pthread_spin_lock): Likewise.
16864 [UNIX98] (pthread_spin_trylock): Likewise.
16865 [UNIX98] (pthread_spin_unlock): Likewise.
16866 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16867 Do not expect.
16868 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16869 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16870 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16871 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16872 [XPG3 || XPG4] (pthread_key_t): Likewise.
16873 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16874 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16875 [XPG3 || XPG4] (pthread_once_t): Likewise.
16876 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16877 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16878 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16879 [XPG3 || XPG4] (pthread_t): Likewise.
16880
16881 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16882 not expect.
16883 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16884
16885 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16886 Change function return type to int.
16887
16888 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16889 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16890 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16891 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16892 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16893 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16894 [!POSIX] (posix_madvise): Likewise.
16895 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16896 && !UNIX98].
16897 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16898 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16899 (mode_t): Likewise.
16900 (posix_mem_offset): Likewise.
16901 (posix_typed_mem_get_info): Likewise.
16902 (posix_typed_mem_open): Likewise.
16903
16904 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16905 Change condition to [XOPEN2K8].
16906
16907 * conform/conformtest.pl: Preprocess allow-header data with -x c
16908 instead of from stdin.
16909 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16910 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16911 [C99-based standards] (cerfc): Likewise.
16912 [C99-based standards] (cexp2): Likewise.
16913 [C99-based standards] (cexpm1): Likewise.
16914 [C99-based standards] (clog10): Likewise.
16915 [C99-based standards] (clog1p): Likewise.
16916 [C99-based standards] (clog2): Likewise.
16917 [C99-based standards] (clgamma): Likewise.
16918 [C99-based standards] (ctgamma): Likewise.
16919 [C99-based standards] (cerff): Likewise.
16920 [C99-based standards] (cerfcf): Likewise.
16921 [C99-based standards] (cexp2f): Likewise.
16922 [C99-based standards] (cexpm1f): Likewise.
16923 [C99-based standards] (clog10f): Likewise.
16924 [C99-based standards] (clog1pf): Likewise.
16925 [C99-based standards] (clog2f): Likewise.
16926 [C99-based standards] (clgammaf): Likewise.
16927 [C99-based standards] (ctgammaf): Likewise.
16928 [C99-based standards] (cerfl): Likewise.
16929 [C99-based standards] (cerfcl): Likewise.
16930 [C99-based standards] (cexp2l): Likewise.
16931 [C99-based standards] (cexpm1l): Likewise.
16932 [C99-based standards] (clog10l): Likewise.
16933 [C99-based standards] (clog1pl): Likewise.
16934 [C99-based standards] (clog2l): Likewise.
16935 [C99-based standards] (clgammal): Likewise.
16936 [C99-based standards] (ctgammal): Likewise.
16937 * conform/data/inttypes.h-data [C99-based standards]: Include
16938 stdint.h-data. Remove all expectations for stdint.h contents.
16939 [C99-based standards] (PRI*): Do not allow.
16940 [C99-based standards] (SCN*): Likewise.
16941 [C99-based standards] (*_t): Likewise.
16942 [C99-based-standards] (PRId8): Expect macro.
16943 [C99-based-standards] (PRIi8): Likewise.
16944 [C99-based-standards] (PRIo8): Likewise.
16945 [C99-based-standards] (PRIu8): Likewise.
16946 [C99-based-standards] (PRIx8): Likewise.
16947 [C99-based-standards] (PRIX8): Likewise.
16948 [C99-based-standards] (SCNd8): Likewise.
16949 [C99-based-standards] (SCNi8): Likewise.
16950 [C99-based-standards] (SCNo8): Likewise.
16951 [C99-based-standards] (SCNu8): Likewise.
16952 [C99-based-standards] (SCNx8): Likewise.
16953 [C99-based-standards] (PRIdLEAST8): Likewise.
16954 [C99-based-standards] (PRIiLEAST8): Likewise.
16955 [C99-based-standards] (PRIoLEAST8): Likewise.
16956 [C99-based-standards] (PRIuLEAST8): Likewise.
16957 [C99-based-standards] (PRIxLEAST8): Likewise.
16958 [C99-based-standards] (PRIXLEAST8): Likewise.
16959 [C99-based-standards] (SCNdLEAST8): Likewise.
16960 [C99-based-standards] (SCNiLEAST8): Likewise.
16961 [C99-based-standards] (SCNoLEAST8): Likewise.
16962 [C99-based-standards] (SCNuLEAST8): Likewise.
16963 [C99-based-standards] (SCNxLEAST8): Likewise.
16964 [C99-based-standards] (PRIdFAST8): Likewise.
16965 [C99-based-standards] (PRIiFAST8): Likewise.
16966 [C99-based-standards] (PRIoFAST8): Likewise.
16967 [C99-based-standards] (PRIuFAST8): Likewise.
16968 [C99-based-standards] (PRIxFAST8): Likewise.
16969 [C99-based-standards] (PRIXFAST8): Likewise.
16970 [C99-based-standards] (SCNdFAST8): Likewise.
16971 [C99-based-standards] (SCNiFAST8): Likewise.
16972 [C99-based-standards] (SCNoFAST8): Likewise.
16973 [C99-based-standards] (SCNuFAST8): Likewise.
16974 [C99-based-standards] (SCNxFAST8): Likewise.
16975 [C99-based-standards] (PRId16): Likewise.
16976 [C99-based-standards] (PRIi16): Likewise.
16977 [C99-based-standards] (PRIo16): Likewise.
16978 [C99-based-standards] (PRIu16): Likewise.
16979 [C99-based-standards] (PRIx16): Likewise.
16980 [C99-based-standards] (PRIX16): Likewise.
16981 [C99-based-standards] (SCNd16): Likewise.
16982 [C99-based-standards] (SCNi16): Likewise.
16983 [C99-based-standards] (SCNo16): Likewise.
16984 [C99-based-standards] (SCNu16): Likewise.
16985 [C99-based-standards] (SCNx16): Likewise.
16986 [C99-based-standards] (PRIdLEAST16): Likewise.
16987 [C99-based-standards] (PRIiLEAST16): Likewise.
16988 [C99-based-standards] (PRIoLEAST16): Likewise.
16989 [C99-based-standards] (PRIuLEAST16): Likewise.
16990 [C99-based-standards] (PRIxLEAST16): Likewise.
16991 [C99-based-standards] (PRIXLEAST16): Likewise.
16992 [C99-based-standards] (SCNdLEAST16): Likewise.
16993 [C99-based-standards] (SCNiLEAST16): Likewise.
16994 [C99-based-standards] (SCNoLEAST16): Likewise.
16995 [C99-based-standards] (SCNuLEAST16): Likewise.
16996 [C99-based-standards] (SCNxLEAST16): Likewise.
16997 [C99-based-standards] (PRIdFAST16): Likewise.
16998 [C99-based-standards] (PRIiFAST16): Likewise.
16999 [C99-based-standards] (PRIoFAST16): Likewise.
17000 [C99-based-standards] (PRIuFAST16): Likewise.
17001 [C99-based-standards] (PRIxFAST16): Likewise.
17002 [C99-based-standards] (PRIXFAST16): Likewise.
17003 [C99-based-standards] (SCNdFAST16): Likewise.
17004 [C99-based-standards] (SCNiFAST16): Likewise.
17005 [C99-based-standards] (SCNoFAST16): Likewise.
17006 [C99-based-standards] (SCNuFAST16): Likewise.
17007 [C99-based-standards] (SCNxFAST16): Likewise.
17008 [C99-based-standards] (PRId32): Likewise.
17009 [C99-based-standards] (PRIi32): Likewise.
17010 [C99-based-standards] (PRIo32): Likewise.
17011 [C99-based-standards] (PRIu32): Likewise.
17012 [C99-based-standards] (PRIx32): Likewise.
17013 [C99-based-standards] (PRIX32): Likewise.
17014 [C99-based-standards] (SCNd32): Likewise.
17015 [C99-based-standards] (SCNi32): Likewise.
17016 [C99-based-standards] (SCNo32): Likewise.
17017 [C99-based-standards] (SCNu32): Likewise.
17018 [C99-based-standards] (SCNx32): Likewise.
17019 [C99-based-standards] (PRIdLEAST32): Likewise.
17020 [C99-based-standards] (PRIiLEAST32): Likewise.
17021 [C99-based-standards] (PRIoLEAST32): Likewise.
17022 [C99-based-standards] (PRIuLEAST32): Likewise.
17023 [C99-based-standards] (PRIxLEAST32): Likewise.
17024 [C99-based-standards] (PRIXLEAST32): Likewise.
17025 [C99-based-standards] (SCNdLEAST32): Likewise.
17026 [C99-based-standards] (SCNiLEAST32): Likewise.
17027 [C99-based-standards] (SCNoLEAST32): Likewise.
17028 [C99-based-standards] (SCNuLEAST32): Likewise.
17029 [C99-based-standards] (SCNxLEAST32): Likewise.
17030 [C99-based-standards] (PRIdFAST32): Likewise.
17031 [C99-based-standards] (PRIiFAST32): Likewise.
17032 [C99-based-standards] (PRIoFAST32): Likewise.
17033 [C99-based-standards] (PRIuFAST32): Likewise.
17034 [C99-based-standards] (PRIxFAST32): Likewise.
17035 [C99-based-standards] (PRIXFAST32): Likewise.
17036 [C99-based-standards] (SCNdFAST32): Likewise.
17037 [C99-based-standards] (SCNiFAST32): Likewise.
17038 [C99-based-standards] (SCNoFAST32): Likewise.
17039 [C99-based-standards] (SCNuFAST32): Likewise.
17040 [C99-based-standards] (SCNxFAST32): Likewise.
17041 [C99-based-standards] (PRId64): Likewise.
17042 [C99-based-standards] (PRIi64): Likewise.
17043 [C99-based-standards] (PRIo64): Likewise.
17044 [C99-based-standards] (PRIu64): Likewise.
17045 [C99-based-standards] (PRIx64): Likewise.
17046 [C99-based-standards] (PRIX64): Likewise.
17047 [C99-based-standards] (SCNd64): Likewise.
17048 [C99-based-standards] (SCNi64): Likewise.
17049 [C99-based-standards] (SCNo64): Likewise.
17050 [C99-based-standards] (SCNu64): Likewise.
17051 [C99-based-standards] (SCNx64): Likewise.
17052 [C99-based-standards] (PRIdLEAST64): Likewise.
17053 [C99-based-standards] (PRIiLEAST64): Likewise.
17054 [C99-based-standards] (PRIoLEAST64): Likewise.
17055 [C99-based-standards] (PRIuLEAST64): Likewise.
17056 [C99-based-standards] (PRIxLEAST64): Likewise.
17057 [C99-based-standards] (PRIXLEAST64): Likewise.
17058 [C99-based-standards] (SCNdLEAST64): Likewise.
17059 [C99-based-standards] (SCNiLEAST64): Likewise.
17060 [C99-based-standards] (SCNoLEAST64): Likewise.
17061 [C99-based-standards] (SCNuLEAST64): Likewise.
17062 [C99-based-standards] (SCNxLEAST64): Likewise.
17063 [C99-based-standards] (PRIdFAST64): Likewise.
17064 [C99-based-standards] (PRIiFAST64): Likewise.
17065 [C99-based-standards] (PRIoFAST64): Likewise.
17066 [C99-based-standards] (PRIuFAST64): Likewise.
17067 [C99-based-standards] (PRIxFAST64): Likewise.
17068 [C99-based-standards] (PRIXFAST64): Likewise.
17069 [C99-based-standards] (SCNdFAST64): Likewise.
17070 [C99-based-standards] (SCNiFAST64): Likewise.
17071 [C99-based-standards] (SCNoFAST64): Likewise.
17072 [C99-based-standards] (SCNuFAST64): Likewise.
17073 [C99-based-standards] (SCNxFAST64): Likewise.
17074 [C99-based-standards] (PRIdMAX): Likewise.
17075 [C99-based-standards] (PRIiMAX): Likewise.
17076 [C99-based-standards] (PRIoMAX): Likewise.
17077 [C99-based-standards] (PRIuMAX): Likewise.
17078 [C99-based-standards] (PRIxMAX): Likewise.
17079 [C99-based-standards] (PRIXMAX): Likewise.
17080 [C99-based-standards] (SCNdMAX): Likewise.
17081 [C99-based-standards] (SCNiMAX): Likewise.
17082 [C99-based-standards] (SCNoMAX): Likewise.
17083 [C99-based-standards] (SCNuMAX): Likewise.
17084 [C99-based-standards] (SCNxMAX): Likewise.
17085 [C99-based-standards] (PRIdPTR): Likewise.
17086 [C99-based-standards] (PRIiPTR): Likewise.
17087 [C99-based-standards] (PRIoPTR): Likewise.
17088 [C99-based-standards] (PRIuPTR): Likewise.
17089 [C99-based-standards] (PRIxPTR): Likewise.
17090 [C99-based-standards] (PRIXPTR): Likewise.
17091 [C99-based-standards] (SCNdPTR): Likewise.
17092 [C99-based-standards] (SCNiPTR): Likewise.
17093 [C99-based-standards] (SCNoPTR): Likewise.
17094 [C99-based-standards] (SCNuPTR): Likewise.
17095 [C99-based-standards] (SCNxPTR): Likewise.
17096 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17097 allow.
17098 * conform/data/stdint.h-data: Update comments to clarify
17099 requirements.
17100 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17101 type.
17102 [C99-based standards] (INT8_MAX): Likewise.
17103 [C99-based standards] (INT16_MIN): Likewise.
17104 [C99-based standards] (INT16_MAX): Likewise.
17105 [C99-based standards] (INT32_MIN): Likewise.
17106 [C99-based standards] (INT32_MAX): Likewise.
17107 [C99-based standards] (INT64_MIN): Likewise.
17108 [C99-based standards] (INT64_MAX): Likewise.
17109 [C99-based standards] (UINT8_MAX): Likewise.
17110 [C99-based standards] (UINT16_MAX): Likewise.
17111 [C99-based standards] (UINT32_MAX): Likewise.
17112 [C99-based standards] (UINT64_MAX): Likewise.
17113 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17114 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17115 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17116 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17117 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17118 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17119 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17120 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17121 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17122 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17123 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17124 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17125 [C99-based standards] (INT_FAST8_MIN): Likewise.
17126 [C99-based standards] (INT_FAST8_MAX): Likewise.
17127 [C99-based standards] (INT_FAST16_MIN): Likewise.
17128 [C99-based standards] (INT_FAST16_MAX): Likewise.
17129 [C99-based standards] (INT_FAST32_MIN): Likewise.
17130 [C99-based standards] (INT_FAST32_MAX): Likewise.
17131 [C99-based standards] (INT_FAST64_MIN): Likewise.
17132 [C99-based standards] (INT_FAST64_MAX): Likewise.
17133 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17134 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17135 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17136 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17137 [C99-based standards] (INTPTR_MIN): Likewise.
17138 [C99-based standards] (INTPTR_MAX): Likewise.
17139 [C99-based standards] (UINTPTR_MAX): Likewise.
17140 [C99-based standards] (INTMAX_MIN): Likewise.
17141 [C99-based standards] (INTMAX_MAX): Likewise.
17142 [C99-based standards] (UINTMAX_MAX): Likewise.
17143 [C99-based standards] (PTRDIFF_MIN): Likewise.
17144 [C99-based standards] (PTRDIFF_MAX): Likewise.
17145 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17146 [C99-based standards] (SIZE_MAX): Likewise.
17147 [C99-based standards] (WCHAR_MAX): Likewise.
17148 [C99-based standards] (WINT_MAX): Likewise.
17149 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17150 constraint on value.
17151 [C99-based standards] (WCHAR_MIN): Likewise.
17152 [C99-based standards] (WINT_MIN): Likewise.
17153 [C99-based standards] (*_t): Allow.
17154 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17155 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17156 Include math.h-data and complex.h-data. Remove all expectations
17157 of math.h and complex.h contents.
17158 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17159 at end of line.
17160 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17161 (struct tm): Expect tag.
17162 [C99-based-standards] (wcstof): Expect function.
17163 [C99-based-standards] (wcstold): Likewise.
17164 [C99-based-standards] (wcstoll): Likewise.
17165 [C99-based-standards] (wcstoull): Likewise.
17166 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17167 macro-int-constant. Specify type.
17168 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17169 constraint on value.
17170 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17171 Specify type.
17172 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17173 Specify value.
17174 [ISO C standards]: Do not allow headers.
17175 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17176 wcs[abcdefghijklmnopqrstuvwxyz]*.
17177 [ISO C standards] (*_t): Do not allow.
17178 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17179 Expect function.
17180 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17181 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17182 Specify type.
17183 [ISO C standards]: Do not allow headers.
17184 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17185 is[abcdefghijklmnopqrstuvwxyz]*.
17186 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17187 to[abcdefghijklmnopqrstuvwxyz]*.
17188 [ISO C standards] (*_t): Do not allow.
17189 * conform/data/stdalign.h-data: New file.
17190 * conform/data/stdbool.h-data: Likewise.
17191 * conform/data/stdnoreturn.h-data: Likewise.
17192
17193 2012-11-07 Roland McGrath <roland@hack.frob.com>
17194
17195 [BZ #14815]
17196 * manual/filesys.texi (Directory Entries): Typo fix.
17197 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17198
17199 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17200
17201 * elf/elf.h (EM_AARCH64): New macro.
17202 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17203 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17204 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17205 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17206 (R_AARCH64_TLSDESC): Likewise.
17207 (NT_ARM_TLS): Likewise.
17208 (NT_ARM_HW_BREAK): Likewise.
17209 (NT_ARM_HW_WATCH): Likewise.
17210
17211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17212
17213 [BZ #14811]
17214 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17215 (__ieee754_powl): Saturate nonzero exponents with absolute value
17216 below 0x1p-79 to +/- 0x1p-79.
17217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17218 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17219 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17220 nonzero exponents with absolute value below 0x1p-32 to +/-
17221 0x1p-32.
17222 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17223 (__ieee754_powl): Saturate nonzero exponents with absolute value
17224 below 0x1p-79 to +/- 0x1p-79.
17225 * math/libm-test.inc (pow_test): Add more tests.
17226
17227 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17228
17229 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17230 _dl_s390_cap_flags with kernel. Increase string length.
17231 (_dl_s390_platforms): Add z196 and zEC12.
17232
17233 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17234
17235 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17236 Change XOPEN21K to XOPEN2K.
17237
17238 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17239
17240 * string/memmove.c: Use memcpy when possible.
17241
17242 2012-11-06 Andreas Jaeger <aj@suse.de>
17243
17244 * po/eo.po: Update from translation team.
17245
17246 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17247
17248 [BZ #14793]
17249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17250 exponent and small x and y exponents, scale x or y up. Increase
17251 by 2 the exponent used in scaling up.
17252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17253 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17254 * math/libm-test.inc (fma_test): Add more tests.
17255 (fma_test_towardzero): Likewise.
17256 (fma_test_downward): Likewise.
17257 (fma_test_upward): Likewise.
17258
17259 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17260
17261 [BZ #14805]
17262 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17263 fenv_t *.
17264
17265 [BZ #14801]
17266 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17267 namespace for names of struct fields.
17268 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17269 fenv_t fields.
17270 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17271 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17272
17273 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17274
17275 [BZ #3665]
17276 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17277
17278 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17279
17280 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17281 PTR_DEMANGLE.
17282
17283 [BZ #5246]
17284 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17285 PTR_DEMANGLE.
17286
17287 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17288
17289 [BZ #14797]
17290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17291 definitely overflow as x * y not x * y + z.
17292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17294 * math/libm-test.inc (fma_test): Add more tests.
17295 (fma_test_towardzero): Likewise.
17296 (fma_test_downward): Likewise.
17297 (fma_test_upward): Likewise.
17298
17299 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17300
17301 [BZ #157]
17302
17303 * include/stub-tag.h: Remove file.
17304 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17305 '#include' of it.
17306 * manual/maint.texi (Porting): Don't reference it.
17307 * Makerules ($(objpfx)stubs): Likewise.
17308 * dirent/closedir.c: Don't include <stub-tag.h>.
17309 * dirent/dirfd.c: Likewise.
17310 * dirent/fdopendir.c: Likewise.
17311 * dirent/getdents.c: Likewise.
17312 * dirent/getdents64.c: Likewise.
17313 * dirent/opendir.c: Likewise.
17314 * dirent/readdir.c: Likewise.
17315 * dirent/readdir64.c: Likewise.
17316 * dirent/readdir64_r.c: Likewise.
17317 * dirent/readdir_r.c: Likewise.
17318 * dirent/rewinddir.c: Likewise.
17319 * dirent/seekdir.c: Likewise.
17320 * dirent/telldir.c: Likewise.
17321 * gmon/profil.c: Likewise.
17322 * grp/setgroups.c: Likewise.
17323 * inet/if_index.c: Likewise.
17324 * io/access.c: Likewise.
17325 * io/chdir.c: Likewise.
17326 * io/chmod.c: Likewise.
17327 * io/chown.c: Likewise.
17328 * io/close.c: Likewise.
17329 * io/dup.c: Likewise.
17330 * io/dup2.c: Likewise.
17331 * io/dup3.c: Likewise.
17332 * io/euidaccess.c: Likewise.
17333 * io/faccessat.c: Likewise.
17334 * io/fchdir.c: Likewise.
17335 * io/fchmod.c: Likewise.
17336 * io/fchmodat.c: Likewise.
17337 * io/fchown.c: Likewise.
17338 * io/fchownat.c: Likewise.
17339 * io/fcntl.c: Likewise.
17340 * io/flock.c: Likewise.
17341 * io/fstatfs.c: Likewise.
17342 * io/fstatfs64.c: Likewise.
17343 * io/fstatvfs.c: Likewise.
17344 * io/fstatvfs64.c: Likewise.
17345 * io/futimens.c: Likewise.
17346 * io/fxstat.c: Likewise.
17347 * io/fxstat64.c: Likewise.
17348 * io/fxstatat.c: Likewise.
17349 * io/fxstatat64.c: Likewise.
17350 * io/getcwd.c: Likewise.
17351 * io/isatty.c: Likewise.
17352 * io/lchmod.c: Likewise.
17353 * io/lchown.c: Likewise.
17354 * io/link.c: Likewise.
17355 * io/linkat.c: Likewise.
17356 * io/lseek.c: Likewise.
17357 * io/lseek64.c: Likewise.
17358 * io/lxstat64.c: Likewise.
17359 * io/mkdir.c: Likewise.
17360 * io/mkdirat.c: Likewise.
17361 * io/mkfifo.c: Likewise.
17362 * io/mkfifoat.c: Likewise.
17363 * io/open.c: Likewise.
17364 * io/open64.c: Likewise.
17365 * io/openat.c: Likewise.
17366 * io/openat64.c: Likewise.
17367 * io/pipe.c: Likewise.
17368 * io/pipe2.c: Likewise.
17369 * io/poll.c: Likewise.
17370 * io/posix_fadvise.c: Likewise.
17371 * io/posix_fadvise64.c: Likewise.
17372 * io/posix_fallocate.c: Likewise.
17373 * io/posix_fallocate64.c: Likewise.
17374 * io/read.c: Likewise.
17375 * io/readlink.c: Likewise.
17376 * io/readlinkat.c: Likewise.
17377 * io/rmdir.c: Likewise.
17378 * io/sendfile.c: Likewise.
17379 * io/sendfile64.c: Likewise.
17380 * io/statfs.c: Likewise.
17381 * io/statfs64.c: Likewise.
17382 * io/statvfs.c: Likewise.
17383 * io/statvfs64.c: Likewise.
17384 * io/symlink.c: Likewise.
17385 * io/symlinkat.c: Likewise.
17386 * io/ttyname.c: Likewise.
17387 * io/ttyname_r.c: Likewise.
17388 * io/umask.c: Likewise.
17389 * io/unlink.c: Likewise.
17390 * io/unlinkat.c: Likewise.
17391 * io/utime.c: Likewise.
17392 * io/utimensat.c: Likewise.
17393 * io/write.c: Likewise.
17394 * io/xmknod.c: Likewise.
17395 * io/xmknodat.c: Likewise.
17396 * io/xstat.c: Likewise.
17397 * io/xstat64.c: Likewise.
17398 * login/getpt.c: Likewise.
17399 * login/grantpt.c: Likewise.
17400 * login/unlockpt.c: Likewise.
17401 * math/e_acoshl.c: Likewise.
17402 * math/e_acosl.c: Likewise.
17403 * math/e_asinl.c: Likewise.
17404 * math/e_atan2l.c: Likewise.
17405 * math/e_atanhl.c: Likewise.
17406 * math/e_coshl.c: Likewise.
17407 * math/e_expl.c: Likewise.
17408 * math/e_fmodl.c: Likewise.
17409 * math/e_gammal_r.c: Likewise.
17410 * math/e_hypotl.c: Likewise.
17411 * math/e_j0l.c: Likewise.
17412 * math/e_j1l.c: Likewise.
17413 * math/e_jnl.c: Likewise.
17414 * math/e_lgammal_r.c: Likewise.
17415 * math/e_log10l.c: Likewise.
17416 * math/e_log2l.c: Likewise.
17417 * math/e_logl.c: Likewise.
17418 * math/e_powl.c: Likewise.
17419 * math/e_rem_pio2l.c: Likewise.
17420 * math/e_sinhl.c: Likewise.
17421 * math/e_sqrtl.c: Likewise.
17422 * math/fclrexcpt.c: Likewise.
17423 * math/fedisblxcpt.c: Likewise.
17424 * math/feenablxcpt.c: Likewise.
17425 * math/fegetenv.c: Likewise.
17426 * math/fegetexcept.c: Likewise.
17427 * math/fegetround.c: Likewise.
17428 * math/feholdexcpt.c: Likewise.
17429 * math/fesetenv.c: Likewise.
17430 * math/fesetround.c: Likewise.
17431 * math/feupdateenv.c: Likewise.
17432 * math/fgetexcptflg.c: Likewise.
17433 * math/fraiseexcpt.c: Likewise.
17434 * math/fsetexcptflg.c: Likewise.
17435 * math/ftestexcept.c: Likewise.
17436 * math/k_cosl.c: Likewise.
17437 * math/k_rem_pio2l.c: Likewise.
17438 * math/k_sinl.c: Likewise.
17439 * math/k_tanl.c: Likewise.
17440 * math/s_asinhl.c: Likewise.
17441 * math/s_atanl.c: Likewise.
17442 * math/s_cbrtl.c: Likewise.
17443 * math/s_erfl.c: Likewise.
17444 * math/s_expm1l.c: Likewise.
17445 * math/s_log1pl.c: Likewise.
17446 * math/s_tanhl.c: Likewise.
17447 * misc/acct.c: Likewise.
17448 * misc/brk.c: Likewise.
17449 * misc/chflags.c: Likewise.
17450 * misc/chroot.c: Likewise.
17451 * misc/fchflags.c: Likewise.
17452 * misc/fgetxattr.c: Likewise.
17453 * misc/flistxattr.c: Likewise.
17454 * misc/fremovexattr.c: Likewise.
17455 * misc/fsetxattr.c: Likewise.
17456 * misc/fsync.c: Likewise.
17457 * misc/ftruncate.c: Likewise.
17458 * misc/futimes.c: Likewise.
17459 * misc/futimesat.c: Likewise.
17460 * misc/getdomain.c: Likewise.
17461 * misc/getdtsz.c: Likewise.
17462 * misc/gethostid.c: Likewise.
17463 * misc/gethostname.c: Likewise.
17464 * misc/getloadavg.c: Likewise.
17465 * misc/getpagesize.c: Likewise.
17466 * misc/getsysstats.c: Likewise.
17467 * misc/getxattr.c: Likewise.
17468 * misc/gtty.c: Likewise.
17469 * misc/ioctl.c: Likewise.
17470 * misc/lgetxattr.c: Likewise.
17471 * misc/listxattr.c: Likewise.
17472 * misc/llistxattr.c: Likewise.
17473 * misc/lremovexattr.c: Likewise.
17474 * misc/lsetxattr.c: Likewise.
17475 * misc/lutimes.c: Likewise.
17476 * misc/madvise.c: Likewise.
17477 * misc/mincore.c: Likewise.
17478 * misc/mlock.c: Likewise.
17479 * misc/mlockall.c: Likewise.
17480 * misc/mmap.c: Likewise.
17481 * misc/mprotect.c: Likewise.
17482 * misc/msync.c: Likewise.
17483 * misc/munlock.c: Likewise.
17484 * misc/munlockall.c: Likewise.
17485 * misc/munmap.c: Likewise.
17486 * misc/preadv.c: Likewise.
17487 * misc/preadv64.c: Likewise.
17488 * misc/ptrace.c: Likewise.
17489 * misc/pwritev.c: Likewise.
17490 * misc/pwritev64.c: Likewise.
17491 * misc/readv.c: Likewise.
17492 * misc/reboot.c: Likewise.
17493 * misc/remap_file_pages.c: Likewise.
17494 * misc/removexattr.c: Likewise.
17495 * misc/revoke.c: Likewise.
17496 * misc/select.c: Likewise.
17497 * misc/setdomain.c: Likewise.
17498 * misc/setegid.c: Likewise.
17499 * misc/seteuid.c: Likewise.
17500 * misc/sethostid.c: Likewise.
17501 * misc/sethostname.c: Likewise.
17502 * misc/setregid.c: Likewise.
17503 * misc/setreuid.c: Likewise.
17504 * misc/setxattr.c: Likewise.
17505 * misc/sstk.c: Likewise.
17506 * misc/stty.c: Likewise.
17507 * misc/swapoff.c: Likewise.
17508 * misc/swapon.c: Likewise.
17509 * misc/sync.c: Likewise.
17510 * misc/syncfs.c: Likewise.
17511 * misc/syscall.c: Likewise.
17512 * misc/truncate.c: Likewise.
17513 * misc/ualarm.c: Likewise.
17514 * misc/usleep.c: Likewise.
17515 * misc/ustat.c: Likewise.
17516 * misc/utimes.c: Likewise.
17517 * misc/vhangup.c: Likewise.
17518 * misc/writev.c: Likewise.
17519 * posix/_exit.c: Likewise.
17520 * posix/alarm.c: Likewise.
17521 * posix/execve.c: Likewise.
17522 * posix/fexecve.c: Likewise.
17523 * posix/fork.c: Likewise.
17524 * posix/fpathconf.c: Likewise.
17525 * posix/getaddrinfo.c: Likewise.
17526 * posix/getegid.c: Likewise.
17527 * posix/geteuid.c: Likewise.
17528 * posix/getgid.c: Likewise.
17529 * posix/getgroups.c: Likewise.
17530 * posix/getlogin.c: Likewise.
17531 * posix/getlogin_r.c: Likewise.
17532 * posix/getpgid.c: Likewise.
17533 * posix/getpid.c: Likewise.
17534 * posix/getppid.c: Likewise.
17535 * posix/getresgid.c: Likewise.
17536 * posix/getresuid.c: Likewise.
17537 * posix/getsid.c: Likewise.
17538 * posix/getuid.c: Likewise.
17539 * posix/glob64.c: Likewise.
17540 * posix/nanosleep.c: Likewise.
17541 * posix/pathconf.c: Likewise.
17542 * posix/pause.c: Likewise.
17543 * posix/posix_madvise.c: Likewise.
17544 * posix/pread.c: Likewise.
17545 * posix/pread64.c: Likewise.
17546 * posix/pwrite.c: Likewise.
17547 * posix/pwrite64.c: Likewise.
17548 * posix/sched_getaffinity.c: Likewise.
17549 * posix/sched_getp.c: Likewise.
17550 * posix/sched_gets.c: Likewise.
17551 * posix/sched_primax.c: Likewise.
17552 * posix/sched_primin.c: Likewise.
17553 * posix/sched_rr_gi.c: Likewise.
17554 * posix/sched_setaffinity.c: Likewise.
17555 * posix/sched_setp.c: Likewise.
17556 * posix/sched_sets.c: Likewise.
17557 * posix/sched_yield.c: Likewise.
17558 * posix/setgid.c: Likewise.
17559 * posix/setlogin.c: Likewise.
17560 * posix/setpgid.c: Likewise.
17561 * posix/setresgid.c: Likewise.
17562 * posix/setresuid.c: Likewise.
17563 * posix/setsid.c: Likewise.
17564 * posix/setuid.c: Likewise.
17565 * posix/sleep.c: Likewise.
17566 * posix/spawni.c: Likewise.
17567 * posix/sysconf.c: Likewise.
17568 * posix/times.c: Likewise.
17569 * posix/wait.c: Likewise.
17570 * posix/wait3.c: Likewise.
17571 * posix/wait4.c: Likewise.
17572 * posix/waitpid.c: Likewise.
17573 * resolv/gai_sigqueue.c: Likewise.
17574 * resource/getpriority.c: Likewise.
17575 * resource/getrlimit.c: Likewise.
17576 * resource/getrusage.c: Likewise.
17577 * resource/nice.c: Likewise.
17578 * resource/setpriority.c: Likewise.
17579 * resource/setrlimit.c: Likewise.
17580 * resource/ulimit.c: Likewise.
17581 * rt/aio_cancel.c: Likewise.
17582 * rt/aio_fsync.c: Likewise.
17583 * rt/aio_read.c: Likewise.
17584 * rt/aio_sigqueue.c: Likewise.
17585 * rt/aio_suspend.c: Likewise.
17586 * rt/aio_write.c: Likewise.
17587 * rt/clock_getres.c: Likewise.
17588 * rt/clock_gettime.c: Likewise.
17589 * rt/clock_nanosleep.c: Likewise.
17590 * rt/clock_settime.c: Likewise.
17591 * rt/lio_listio.c: Likewise.
17592 * rt/mq_close.c: Likewise.
17593 * rt/mq_getattr.c: Likewise.
17594 * rt/mq_notify.c: Likewise.
17595 * rt/mq_open.c: Likewise.
17596 * rt/mq_receive.c: Likewise.
17597 * rt/mq_send.c: Likewise.
17598 * rt/mq_setattr.c: Likewise.
17599 * rt/mq_timedreceive.c: Likewise.
17600 * rt/mq_timedsend.c: Likewise.
17601 * rt/mq_unlink.c: Likewise.
17602 * rt/shm_open.c: Likewise.
17603 * rt/shm_unlink.c: Likewise.
17604 * rt/timer_create.c: Likewise.
17605 * rt/timer_delete.c: Likewise.
17606 * rt/timer_getoverr.c: Likewise.
17607 * rt/timer_gettime.c: Likewise.
17608 * rt/timer_settime.c: Likewise.
17609 * setjmp/__longjmp.c: Likewise.
17610 * setjmp/setjmp.c: Likewise.
17611 * signal/kill.c: Likewise.
17612 * signal/killpg.c: Likewise.
17613 * signal/raise.c: Likewise.
17614 * signal/sigaction.c: Likewise.
17615 * signal/sigaltstack.c: Likewise.
17616 * signal/sigblock.c: Likewise.
17617 * signal/sigignore.c: Likewise.
17618 * signal/sigintr.c: Likewise.
17619 * signal/signal.c: Likewise.
17620 * signal/sigpause.c: Likewise.
17621 * signal/sigpending.c: Likewise.
17622 * signal/sigqueue.c: Likewise.
17623 * signal/sigreturn.c: Likewise.
17624 * signal/sigset.c: Likewise.
17625 * signal/sigsetmask.c: Likewise.
17626 * signal/sigstack.c: Likewise.
17627 * signal/sigsuspend.c: Likewise.
17628 * signal/sigtimedwait.c: Likewise.
17629 * signal/sigvec.c: Likewise.
17630 * signal/sigwait.c: Likewise.
17631 * signal/sigwaitinfo.c: Likewise.
17632 * signal/sysv_signal.c: Likewise.
17633 * socket/accept.c: Likewise.
17634 * socket/accept4.c: Likewise.
17635 * socket/bind.c: Likewise.
17636 * socket/connect.c: Likewise.
17637 * socket/getpeername.c: Likewise.
17638 * socket/getsockname.c: Likewise.
17639 * socket/getsockopt.c: Likewise.
17640 * socket/isfdtype.c: Likewise.
17641 * socket/listen.c: Likewise.
17642 * socket/recv.c: Likewise.
17643 * socket/recvfrom.c: Likewise.
17644 * socket/recvmsg.c: Likewise.
17645 * socket/send.c: Likewise.
17646 * socket/sendmsg.c: Likewise.
17647 * socket/sendto.c: Likewise.
17648 * socket/setsockopt.c: Likewise.
17649 * socket/shutdown.c: Likewise.
17650 * socket/sockatmark.c: Likewise.
17651 * socket/socket.c: Likewise.
17652 * socket/socketpair.c: Likewise.
17653 * stdio-common/ctermid.c: Likewise.
17654 * stdio-common/cuserid.c: Likewise.
17655 * stdio-common/remove.c: Likewise.
17656 * stdio-common/rename.c: Likewise.
17657 * stdio-common/renameat.c: Likewise.
17658 * stdio-common/tempname.c: Likewise.
17659 * stdlib/getcontext.c: Likewise.
17660 * stdlib/makecontext.c: Likewise.
17661 * stdlib/setcontext.c: Likewise.
17662 * stdlib/swapcontext.c: Likewise.
17663 * stdlib/system.c: Likewise.
17664 * streams/fattach.c: Likewise.
17665 * streams/fdetach.c: Likewise.
17666 * streams/getmsg.c: Likewise.
17667 * streams/getpmsg.c: Likewise.
17668 * streams/putmsg.c: Likewise.
17669 * streams/putpmsg.c: Likewise.
17670 * sysdeps/unix/bsd/getpt.c: Likewise.
17671 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17672 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17673 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17675 Likewise.
17676 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17677 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17678 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17679 * sysvipc/msgctl.c: Likewise.
17680 * sysvipc/msgget.c: Likewise.
17681 * sysvipc/msgrcv.c: Likewise.
17682 * sysvipc/msgsnd.c: Likewise.
17683 * sysvipc/semctl.c: Likewise.
17684 * sysvipc/semget.c: Likewise.
17685 * sysvipc/semop.c: Likewise.
17686 * sysvipc/semtimedop.c: Likewise.
17687 * sysvipc/shmat.c: Likewise.
17688 * sysvipc/shmctl.c: Likewise.
17689 * sysvipc/shmdt.c: Likewise.
17690 * sysvipc/shmget.c: Likewise.
17691 * termios/tcdrain.c: Likewise.
17692 * termios/tcflow.c: Likewise.
17693 * termios/tcflush.c: Likewise.
17694 * termios/tcgetattr.c: Likewise.
17695 * termios/tcgetpgrp.c: Likewise.
17696 * termios/tcsendbrk.c: Likewise.
17697 * termios/tcsetattr.c: Likewise.
17698 * termios/tcsetpgrp.c: Likewise.
17699 * time/adjtime.c: Likewise.
17700 * time/clock.c: Likewise.
17701 * time/getitimer.c: Likewise.
17702 * time/gettimeofday.c: Likewise.
17703 * time/setitimer.c: Likewise.
17704 * time/settimeofday.c: Likewise.
17705 * time/stime.c: Likewise.
17706 * time/time.c: Likewise.
17707
17708 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17709
17710 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17711 /usr/old/bin.
17712
17713 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17714 instead of spaces.
17715 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17716
17717 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17718
17719 [BZ #14796]
17720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17721 FE_TONEAREST before applying Dekker multiplication and Knuth
17722 addition. Clear inexact exceptions and check for exact zero
17723 results afterwards.
17724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17725 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17726 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17727 * math/libm-test.inc (fma_test): Add more tests.
17728 (fma_test_towardzero): Likewise.
17729 (fma_test_downward): Likewise.
17730 (fma_test_upward): Likewise.
17731 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17732 function.
17733 (libc_fesetround): New macro.
17734 (libc_fesetroundf): Likewise.
17735 (libc_fesetroundl): Likewise.
17736 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17737 function.
17738 (libc_fesetround_387): Likewise.
17739 (libc_fesetroundf): New macro.
17740 (libc_fesetround): Likewise.
17741 (libc_fesetroundl): Likewise.
17742 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17743 function.
17744 (libc_fesetroundf): New macro.
17745 (libc_fesetround): Likewise.
17746 (libc_fesetroundl): Likewise.
17747 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17748 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17749 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17750 libm_hidden_ver.
17751 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17752 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17753 libm_hidden_def.
17754 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17755 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17756 libm_hidden_ver.
17757 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17758 libm_hidden_def.
17759
17760 [BZ #3439]
17761 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17762 integer constant usable in #if and use that to give value to enum
17763 constant.
17764 (FE_DIVBYZERO): Likewise.
17765 (FE_UNDERFLOW): Likewise.
17766 (FE_OVERFLOW): Likewise.
17767 (FE_INVALID): Likewise.
17768 (FE_INVALID_SNAN): Likewise.
17769 (FE_INVALID_ISI): Likewise.
17770 (FE_INVALID_IDI): Likewise.
17771 (FE_INVALID_ZDZ): Likewise.
17772 (FE_INVALID_IMZ): Likewise.
17773 (FE_INVALID_COMPARE): Likewise.
17774 (FE_INVALID_SOFTWARE): Likewise.
17775 (FE_INVALID_SQRT): Likewise.
17776 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17777 (FE_TONEAREST): Likewise.
17778 (FE_TOWARDZERO): Likewise.
17779 (FE_UPWARD): Likewise.
17780 (FE_DOWNWARD): Likewise.
17781 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17782 (FE_DIVBYZERO): Likewise.
17783 (FE_OVERFLOW): Likewise.
17784 (FE_UNDERFLOW): Likewise.
17785 (FE_INEXACT): Likewise.
17786 (FE_TONEAREST): Likewise.
17787 (FE_DOWNWARD): Likewise.
17788 (FE_UPWARD): Likewise.
17789 (FE_TOWARDZERO): Likewise.
17790 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17791 (FE_UNDERFLOW): Likewise.
17792 (FE_OVERFLOW): Likewise.
17793 (FE_DIVBYZERO): Likewise.
17794 (FE_INVALID): Likewise.
17795 (FE_TONEAREST): Likewise.
17796 (FE_TOWARDZERO): Likewise.
17797 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17798 (FE_OVERFLOW): Likewise.
17799 (FE_UNDERFLOW): Likewise.
17800 (FE_DIVBYZERO): Likewise.
17801 (FE_INEXACT): Likewise.
17802 (FE_TONEAREST): Likewise.
17803 (FE_TOWARDZERO): Likewise.
17804 (FE_UPWARD): Likewise.
17805 (FE_DOWNWARD): Likewise.
17806 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17807 (FE_DIVBYZERO): Likewise.
17808 (FE_OVERFLOW): Likewise.
17809 (FE_UNDERFLOW): Likewise.
17810 (FE_INEXACT): Likewise.
17811 (FE_TONEAREST): Likewise.
17812 (FE_DOWNWARD): Likewise.
17813 (FE_UPWARD): Likewise.
17814 (FE_TOWARDZERO): Likewise.
17815
17816 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17817
17818 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17819
17820 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17821
17822 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17823 commands. Quote $PWD.
17824 (blacklist_exports): Don't use remove_newlines. Replace "declare
17825 -x" by "export".
17826 (remove_newlines): Remove.
17827
17828 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17829
17830 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17831 * stdlib/stdlib.h (atof): Moved to ...
17832 * include/bits/stdlib-float.h: Here. New file.
17833 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17834 * stdlib/bits/stdlib-float.h: New file.
17835 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17836 -mno-sse -mno-mmx.
17837 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17838 <xmmintrin.h>.
17839
17840 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17841
17842 * conform/conformtest.pl (@headers): Add fenv.h.
17843 * conform/data/fenv.h-data: New file.
17844 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17845 include of <math/fenv.h>.
17846
17847 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17848 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17849 && !UNIX98]. Enables tests for XOPEN2K8.
17850 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17851 POSIX2008]: Likewise.
17852
17853 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17854 (struct rusage): Do not expect type or its members.
17855
17856 [BZ #3439]
17857 * math/math.h (FP_NAN): Define macro to integer constant usable in
17858 #if and use that to give value to enum constant.
17859 (FP_INFINITE): Likewise.
17860 (FP_ZERO): Likewise.
17861 (FP_SUBNORMAL): Likewise.
17862 (FP_NORMAL): Likewise.
17863
17864 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17865
17866 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17867 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17868 arguments.
17869
17870 2012-11-02 Roland McGrath <roland@hack.frob.com>
17871
17872 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17873 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17874 autoconf-time if not.
17875 * configure.in: Remove AC_PREREQ.
17876
17877 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17878
17879 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17880 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17881 of the internal implementation.
17882
17883 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17884
17885 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17886 except include of <misc/sys/syslog.h>.
17887
17888 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17889
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17891 function returns with a NULL context exit with zero.
17892
17893 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17894
17895 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17896
17897 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17900 (run_program_cmd): This.
17901 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17902 (tst_langinfo): New variable. Use it.
17903
17904 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17905
17906 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17907 floating point opcodes.
17908
17909 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17910
17911 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17912 variable.
17913
17914 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17915
17916 * sysdeps/mach/hurd/powerpc: Remove directory.
17917 * sysdeps/mach/powerpc: Likewise.
17918
17919 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17920
17921 * scripts/check-local-headers.sh: Ignore c++ headers.
17922
17923 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17924
17925 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17926 __libc_cleanup_region_start argument.
17927
17928 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17929
17930 [BZ #14784]
17931 [BZ #14785]
17932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17933 x * y using scaling, not as x * y + z.
17934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17936 * math/libm-test.inc (fma_test): Add more tests.
17937 (fma_test_towardzero): Likewise.
17938 (fma_test_downward): Likewise.
17939 (fma_test_upward): Likewise.
17940
17941 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17942
17943 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17944
17945 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17946
17947 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17948 New variable.
17949
17950 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17951
17952 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17953
17954 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17955
17956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17957 Fix sort order.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17959 Likewise.
17960
17961 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17962
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17964 Fix the order of the list for glibc 2.17.
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17966 Likewise.
17967
17968 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17969
17970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17971
17972 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17973
17974 [BZ #14610]
17975 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17976 for low part of x being zero before using __atanl (y).
17977 * math/libm-test.inc (atan2_test): Add another test.
17978
17979 * manual/install.texi (Configuring and compiling): Document
17980 general use of test-wrapper and test-wrapper-env.
17981 * INSTALL: Regenerated.
17982
17983 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17984 (__fma): Do not extract and scale down low bits on after-rounding
17985 systems when result rounded to normal precision would have normal
17986 exponent.
17987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17988 (__fmal): Do not extract and scale down low bits on after-rounding
17989 systems when result rounded to normal precision would have normal
17990 exponent.
17991 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17992 (__fmal): Do not extract and scale down low bits on after-rounding
17993 systems when result rounded to normal precision would have normal
17994 exponent.
17995 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17996 macro.
17997 (fma_test): Add more tests.
17998 (fma_test_towardzero): Likewise.
17999 (fma_test_downward): Likewise.
18000 (fma_test_upward): Likewise.
18001
18002 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 * sysdeps/i386/tininess.h: Renamed to ...
18005 * sysdeps/x86/tininess.h: This.
18006 * sysdeps/x86_64/tininess.h: Removed.
18007
18008 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18009
18010 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18011 input. Use $(build-program-cmd).
18012 ($(objpfx)tst-array1-static.out): Likewise.
18013 ($(objpfx)tst-array2.out): Likewise.
18014 ($(objpfx)tst-array3.out): Likewise.
18015 ($(objpfx)tst-array4.out): Likewise.
18016 ($(objpfx)tst-array5.out): Likewise.
18017 ($(objpfx)tst-array5-static.out): Likewise.
18018
18019 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18020
18021 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18022 if defined.
18023
18024 * nss/nsswitch.h (nss_interface_function): Provide new
18025 macro for use with NSS functions.
18026 * grp/initgroups.c: Use new macro.
18027 * nss/getXXbyYY.c: Likewise.
18028 * nss/getXXbyYY_r.c: Likewise.
18029 * nss/getXXent.c: Likewise.
18030 * nss/getXXent_r.c: Likewise.
18031 * sysdeps/posix/getaddrinfo.c: Likewise.
18032
18033 2012-10-30 Andreas Jaeger <aj@suse.de>
18034
18035 * po/ru.po: Update Russion translation from translation project.
18036
18037 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18038
18039 [BZ #14152]
18040 [BZ #14783]
18041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18042 result and shift together with sticky bit instead of replicating
18043 round-to-nearest rounding.
18044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18046 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18047 missing underflow exceptions.
18048 (fma_test_towardzero): Add more tests.
18049 (fma_test_downward): Likewise.
18050 (fma_test_upward): Likewise.
18051
18052 [BZ #14047]
18053 * sysdeps/generic/tininess.h: New file.
18054 * sysdeps/i386/tininess.h: Likewise.
18055 * sysdeps/sh/tininess.h: Likewise.
18056 * sysdeps/x86_64/tininess.h: Likewise.
18057 * stdlib/tst-strtod-underflow.c: Likewise.
18058 * stdlib/tst-tininess.c: Likewise.
18059 * stdlib/strtod_l.c: Include <tininess.h>.
18060 (round_and_return): Do not set errno for exact underflow cases.
18061 Force an underflow exception when setting errno for underflow.
18062 Determine underflow based on rounding to normal precision if
18063 TININESS_AFTER_ROUNDING.
18064 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18065 ERANGE for exact underflow cases.
18066 * stdlib/Makefile (tests): Add tst-tininess and
18067 tst-strtod-underflow.
18068 ($(objpfx)tst-tininess): Use $(link-libm).
18069 ($(objpfx)tst-strtod-underflow): Likewise.
18070
18071 2012-10-30 Andreas Jaeger <aj@suse.de>
18072
18073 [BZ#14767]
18074 * elf/Makefile (tests): Remove conditional for have-initfini-array
18075 since this is now always required and the variable does not exist
18076 anymore.
18077 (tests-static): Likewise.
18078 (modules-names): Likewise.
18079
18080 * po/eo.po: Add Esperanto translation from translation project.
18081
18082 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18083 merged with constructor/destructor.
18084 (init_array): Likewise.
18085 * elf/tst-array2dep.c (fini_array): Likewise.
18086 (init_array): Likewise.
18087
18088 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18089
18090 * manual/message.texi: Delete @cartouche tags.
18091
18092 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18093
18094 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18095 EOPNOTSUPP.
18096 * sysdeps/mach/hurd/fsync.c: Likewise.
18097
18098 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18099 [_POSIX_REALTIME_SIGNALS]: Change condition to
18100 [_POSIX_REALTIME_SIGNALS > 0].
18101
18102 2012-10-27 Andreas Jaeger <aj@suse.de>
18103
18104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18105 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18107 [__WORDSIZE != 64]: Likewise.
18108
18109 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18110
18111 * iconvdata/tst-table.sh: Remove ${SHELL}.
18112 * iconvdata/tst-tables.sh: Likewise.
18113
18114 2012-10-25 David S. Miller <davem@davemloft.net>
18115
18116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18117 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18118 of strtoull.
18119
18120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18121 ifunc-impl-list.c
18122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18123 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18124 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18125 file.
18126
18127 2012-10-25 Roland McGrath <roland@hack.frob.com>
18128
18129 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18130 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18131 __getdirentries.
18132
18133 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18134 Jim Blandy <jimb@codesourcery.com>
18135
18136 * scripts/cross-test-ssh.sh: New file.
18137 * manual/install.texi (Configuring and compiling): Document use of
18138 cross-test-ssh.sh.
18139 * INSTALL: Regenerated.
18140
18141 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18142
18143 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18144 EOPNOTSUPP.
18145
18146 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18147
18148 * Makeconfig (run-program-prefix): Fix comment.
18149
18150 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18151 Jim Blandy <jimb@codesourcery.com>
18152
18153 * Makeconfig (test-wrapper): New variable,
18154 (test-wrapper-env): Likewise.
18155 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18156 (run-built-tests): Define to yes.
18157 (run-program-prefix): Use $(test-wrapper).
18158 (built-program-cmd): Likewise.
18159 * Rules (make-test-out): Use $(test-wrapper-env) and
18160 $(host-built-program-cmd).
18161 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18162 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18163 tst-pathopt.sh.
18164 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18165 $(test-wrapper-env) to tst-rtld-load-self.sh.
18166 ($(objpfx)order2.out): Use $(test-wrapper).
18167 ($(objpfx)tst-initorder.out): Likewise.
18168 ($(objpfx)tst-initorder2.out): Likewise.
18169 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18170 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18171 (test_wrapper_env): New variable. Use it to run ld.so.
18172 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18173 Use it to run ld.so.
18174 (test_wrapper_env): Likewise.
18175 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18176 $(test-wrapper) to run-iconv-test.sh.
18177 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18178 (ICONV): Use $test_wrapper.
18179 * posix/Makefile ($(objpfx)globtest.out): Pass
18180 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18181 globtest.sh, not $(run-program-prefix).
18182 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18183 (test_wrapper): Likewise.
18184 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18185 set together with run_via_rtld_prefix.
18186 (run_program_prefix): Define in terms of test_wrapper and
18187 run_via_rtld_prefix.
18188
18189 2012-10-24 Roland McGrath <roland@hack.frob.com>
18190
18191 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18192 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18193 Targets removed.
18194
18195 [BZ #14743]
18196 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18197 Declare __clock_getres, __clock_gettime, __clock_settime,
18198 __clock_nanosleep, and __clock_getcpuclockid.
18199 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18200 Remove librt_hidden_def (clock_gettime).
18201 * sysdeps/unix/clock_gettime.c: Likewise.
18202 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18204 * rt/clock_getres.c: Define __clock_getres as an alias.
18205 * sysdeps/posix/clock_getres.c: Likewise.
18206 * rt/clock_settime.c: Define __clock_settime as an alias.
18207 * sysdeps/unix/clock_settime.c: Likewise.
18208 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18209 * sysdeps/unix/clock_nanosleep.c: Likewise.
18210 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18211 * rt/clock-compat.c: New file.
18212 * rt/Makefile (librt-routines): Add clock-compat and move
18213 $(clock-routines) to ...
18214 (routines): ... here, new variable.
18215 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18216 Don't add get_clockfreq here.
18217 * rt/Versions (libc: GLIBC_2.17): New version set.
18218 Add clock_* symbols here.
18219 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18221 (GLIBC_2.17): Add clock_* symbols.
18222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18226 Likewise.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18228 Likewise.
18229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18233 * NEWS: Mention the move.
18234
18235 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18236 Use __open, __read, __close rather than their public counterparts.
18237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18238 (__get_clockfreq_via_cpuinfo): Likewise.
18239 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18240 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18241
18242 * config.h.in (HAVE_IFUNC): New #undef.
18243 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18244 was successful.
18245 * configure: Regenerated.
18246
18247 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18248
18249 * configure.in: Move READELF check to start of file.
18250 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18251 libc_cv_asm_gnu_indirect_function in the process.
18252 * configure: Regenerated.
18253
18254 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18255
18256 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18257 send the output to /dev/null.
18258 (libc_cv_cc_with_libunwind): Likewise.
18259 (libc_cv_as_noexecstack): Likewise.
18260 * configure: Regenerate.
18261
18262 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18263
18264 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18265
18266 * posix/globtest.sh (TMPDIR): Do not set.
18267 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18268 (testout): Likewise.
18269
18270 2012-10-24 Andreas Jaeger <aj@suse.de>
18271
18272 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18273 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18274 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18275 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18276 posix_fadvise64, posix_fallocate64.
18277
18278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18279 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18280 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18281 Likewise.
18282 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18283 Likewise.
18284 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18285
18286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18287 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18288 <bits/fcntl-linux.h>.
18289 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18290
18291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18292 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18293 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18294 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18295 [__WORDSIZE != 64]: Likewise.
18296
18297 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18298
18299 * Makeconfig (run-built-tests): New variable.
18300 * Rules [$(cross-compiling) = yes]: Change condition to
18301 [$(run-built-tests) = no].
18302 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18303 to [$(run-built-tests) = yes].
18304 * elf/Makefile [$(cross-compiling) = no]: Likewise
18305 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18306 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18307 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18308 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18309 * io/Makefile [$(cross-compiling) = no]: Likewise.
18310 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18311 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18312 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18313 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18314 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18315 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18316 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18317 * string/Makefile [$(cross-compiling) = no]: Likewise.
18318
18319 * posix/Makefile ($(objpfx)globtest.out): Pass
18320 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18321 $(rtld-installed-name).
18322 * posix/globtest.sh (elf_objpfx): Remove variable.
18323 (rtld_installed_name): Likewise.
18324 (library_path): Likewise.
18325 (run_program_prefix): New variable. Use for running globtest
18326 binary.
18327
18328 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18329 Joseph Myers <joseph@codesourcery.com>
18330
18331 * Makeconfig (host-built-program-cmd): New variable.
18332 * elf/Makefile (tst-stackguard1-ARGS): Use
18333 $(host-built-program-cmd).
18334 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18335 (tst-spawn-ARGS): Likewise.
18336 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18337
18338 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18339 Jim Blandy <jimb@codesourcery.com>
18340
18341 * Makeconfig (run-via-rtld-prefix): New variable.
18342 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18343 (built-program-cmd): Likewise.
18344
18345 2012-10-22 Andreas Jaeger <aj@suse.de>
18346
18347 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18348 __O_RSYNC if it exists, otherwise to O_SYNC.
18349
18350 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18351 Joseph Myers <joseph@codesourcery.com>
18352
18353 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18354 /dev/null.
18355 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18356 from /dev/null
18357 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18358 /dev/null.
18359
18360 2012-10-22 Andreas Jaeger <aj@suse.de>
18361
18362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18363 Define always.
18364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18365
18366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18367 bits/fcntl-linux.h.
18368
18369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18370 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18371
18372 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18373 to __O_LARGEFILE.
18374 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18375 to __O_LARGEFILE.
18376
18377 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18378 Joseph Myers <joseph@codesourcery.com>
18379
18380 * config.make.in (NM): New variable.
18381
18382 2012-10-21 Andreas Jaeger <aj@suse.de>
18383
18384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18385 definitions and declarations that are provided by
18386 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18387
18388 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18389
18390 [BZ #14683]
18391 * elf/Makefile (tests-static): Add tst-leaks1-static.
18392 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18393 ($(objpfx)tst-leaks1-static): New rule.
18394 ($(objpfx)tst-leaks1-static-mem): Likewise.
18395 (tst-leaks1-static-ENV): New macro.
18396 * elf/dl-open.c (dl_open_worker): Check the main application
18397 only if SHARED is defined.
18398 * elf/tst-leaks1-static.c: New file.
18399
18400 2012-10-20 Andreas Jaeger <aj@suse.de>
18401
18402 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18403 generic values for Linux.
18404 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18405 and declarations that are provided by <bits/fcntl-linux.h> and
18406 include <bits/fcntl-linux.h>.
18407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18408 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18409
18410 2012-10-20 Roland McGrath <roland@hack.frob.com>
18411
18412 * io/fcntl.h: Move include of <bits/types.h> to the top and
18413 include it unconditionally.
18414
18415 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18416
18417 * wcsmbs/Makefile (tests-ifunc): New variable.
18418 (tests): Add $(tests-ifunc).
18419 * wcsmbs/test-wcschr-ifunc.c: New file.
18420 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18421 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18422 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18423 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18424 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18425
18426 * string/Makefile (tests-ifunc): New variable.
18427 (tests): Add $(tests-ifunc).
18428 * string/test-memccpy.c (TEST_NAME): New macro.
18429 * string/test-memchr.c (TEST_NAME): Likewise.
18430 * string/test-memcmp.c (TEST_NAME): Likewise.
18431 * string/test-memcpy.c (TEST_NAME): Likewise.
18432 * string/test-memmem.c (TEST_NAME): Likewise.
18433 * string/test-memmove.c (TEST_NAME): Likewise.
18434 * string/test-memset.c (TEST_NAME): Likewise.
18435 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18436 * string/test-stpcpy.c (TEST_NAME): Likewise.
18437 * string/test-stpncpy.c (TEST_NAME): Likewise.
18438 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18439 * string/test-strcasestr.c (TEST_NAME): Likewise.
18440 * string/test-strcat.c (TEST_NAME): Likewise.
18441 * string/test-strchr.c (TEST_NAME): Likewise.
18442 * string/test-strcmp.c(TEST_NAME): Likewise.
18443 * string/test-strcpy.c (TEST_NAME): Likewise.
18444 * string/test-strcspn.c (TEST_NAME): Likewise.
18445 * string/test-strlen.c (TEST_NAME): Likewise.
18446 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18447 * string/test-strncmp.c (TEST_NAME): Likewise.
18448 * string/test-strncpy.c (TEST_NAME): Likewise.
18449 * string/test-strnlen.c (TEST_NAME): Likewise.
18450 * string/test-strpbrk.c (TEST_NAME): Likewise.
18451 * string/test-strrchr.c (TEST_NAME): Likewise.
18452 * string/test-strspn.c (TEST_NAME): Likewise.
18453 * string/test-strstr.c (TEST_NAME): Likewise.
18454 * string/test-bcopy-ifunc.c: New file.
18455 * string/test-bzero-ifunc.c: Likewise.
18456 * string/test-memccpy-ifunc.c: Likewise.
18457 * string/test-memchr-ifunc.c: Likewise.
18458 * string/test-memcmp-ifunc.c: Likewise.
18459 * string/test-memcpy-ifunc.c: Likewise.
18460 * string/test-memmem-ifunc.c: Likewise.
18461 * string/test-memmove-ifunc.c: Likewise.
18462 * string/test-mempcpy-ifunc.c: Likewise.
18463 * string/test-memset-ifunc.c: Likewise.
18464 * string/test-rawmemchr-ifunc.c: Likewise.
18465 * string/test-stpcpy-ifunc.c: Likewise.
18466 * string/test-stpncpy-ifunc.c: Likewise.
18467 * string/test-strcasecmp-ifunc.c: Likewise.
18468 * string/test-strcasestr-ifunc.c: Likewise.
18469 * string/test-strcat-ifunc.c: Likewise.
18470 * string/test-strchr-ifunc.c: Likewise.
18471 * string/test-strchrnul-ifunc.c: Likewise.
18472 * string/test-strcmp-ifunc.c: Likewise.
18473 * string/test-strcpy-ifunc.c: Likewise.
18474 * string/test-strcspn-ifunc.c: Likewise.
18475 * string/test-strlen-ifunc.c: Likewise.
18476 * string/test-strncasecmp-ifunc.c: Likewise.
18477 * string/test-strncat-ifunc.c: Likewise.
18478 * string/test-strncmp-ifunc.c: Likewise.
18479 * string/test-strncpy-ifunc.c: Likewise.
18480 * string/test-strnlen-ifunc.c: Likewise.
18481 * string/test-strpbrk-ifunc.c: Likewise.
18482 * string/test-strrchr-ifunc.c: Likewise.
18483 * string/test-strspn-ifunc.c: Likewise.
18484 * string/test-strstr-ifunc.c: Likewise.
18485
18486 * debug/Makefile (tests-ifunc): New variable.
18487 (tests): Add $(tests-ifunc).
18488 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18489 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18490 * debug/test-stpcpy_chk-ifunc.c: New file.
18491 * debug/test-strcpy_chk-ifunc.c: Likewise.
18492
18493 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18494
18495 [BZ #13601]
18496 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18497 header is not read in.
18498
18499 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18500
18501 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18502 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18503 directly. Pass built executable to script as
18504 $(built-program-cmd).
18505 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18506 $testprogram without using LD_LIBRARY_PATH and $ldso.
18507
18508 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18509 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18510 $(rtld-installed-name).
18511 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18512 (rtld_installed_name): Likewise.
18513 (library_path): Likewise.
18514 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18515 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18516 $(run-program-prefix) to tst-tables.sh.
18517 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18518 it to run tst-table-from and tst-table-to.
18519 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18520 Pass it to tst-table.sh.
18521 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18522 $(run-program-prefix) to tst-gettext.sh.
18523 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18524 tst-translit.sh.
18525 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18526 tst-gettext2.sh.
18527 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18528 to run tst-gettext.
18529 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18530 to run tst-gettext2.
18531 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18532 to run tst-translit.
18533 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18534 $(run-program-prefix) to tst-mtrace.sh.
18535 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18536 to run tst-mtrace.
18537 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18538 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18539 $(rtld-installed-name).
18540 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18541 (rtld_installed_name): Likewise.
18542 (run_program_prefix): New variable. Use it to run wordexp-test.
18543
18544 * Makeconfig (ARCH): Remove all definitions.
18545 (machine): Likewise.
18546 [ARCH]: Remove conditional code.
18547 [!objdir]: Give error.
18548 [!objdir] (objpfx): Remove.
18549 [!objdir] (common-objpfx): Likewise.
18550 [!objdir] (common-objdir): Likewise.
18551 * configure.in (config_makefile): Remove. Hardcode Makefile in
18552 AC_CONFIG_FILES call.
18553 * configure: Regenerated.
18554
18555 [BZ #13888]
18556 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18557 or TMPDIR.
18558 (testout): Likewise.
18559
18560 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18561 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18562 $(rtld-installed-name).
18563 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18564 (rtld_installed_name): Likwise.
18565 (runit): Remove function.
18566 (run_getconf): New variable, Use it for running getconf binary.
18567
18568 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18569
18570 [BZ #14716]
18571 * string/test-memmem.c (check_result): New function.
18572 (do_one_test): Use it.
18573 (check1): New function.
18574 (test_main): Use it.
18575
18576 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18577
18578 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18579
18580 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18581
18582 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18583 (_G_LSEEK64): Likewise.
18584 (_G_MMAP64): Likewise.
18585 (_G_FSTAT64): Likewise.
18586 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18587 (_G_LSEEK64): Likewise.
18588 (_G_MMAP64): Likewise.
18589 (_G_FSTAT64): Likewise.
18590 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18591 unconditional. Call __mmap64 directly.
18592 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18593 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18594 __lseek64 directly.
18595 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18596 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18597 __mmap64 directly.
18598 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18599 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18600 __lseek64 directly.
18601 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18602 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18603 __lseek64 directly.
18604 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18605 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18606 __lseek64 directly.
18607 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18608 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18609 __fxstat64 directly.
18610 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18611 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18612 unconditional.
18613 (freopen64) [!_G_OPEN64]: Remove conditional code.
18614 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18615 unconditional.
18616 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18617 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18618 unconditional.
18619 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18620 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18621 unconditional.
18622 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18623 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18624 unconditional.
18625 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18626 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18627 unconditional.
18628 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18629 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18630 unconditional.
18631 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18632 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18633 unconditional.
18634 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18635
18636 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18637
18638 [BZ #12140]
18639 * manual/memory.texi (Malloc Tunable Parameters): Add note
18640 about free list pointers overwriting some perturb bytes.
18641 Wording suggested by Roland McGrath.
18642
18643 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18644
18645 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18646 (lgamma_test): Likewise.
18647 (tgamma_test): Likewise.
18648
18649 2012-10-16 Florian Weimer <fweimer@redhat.com>
18650
18651 [BZ #14700]
18652 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18653 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18654
18655 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18656
18657 * NEWS: Mention BZ #14716.
18658 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18659 when removing AVAILABLE1_USES_J macro.
18660
18661 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18664 (__bswap_64): __uint64_t for unsigned 64-bit int.
18665
18666 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18667
18668 * include/string.h (memmem): Declare libc hidden alias.
18669 * string/memmem.c (memmem): Define libc hidden alias.
18670 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18671 __read, __close instead of open, read, close.
18672
18673 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18674
18675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18676 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18677 global and hidden.
18678 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18679 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18680 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18681 Likewise.
18682 (__rawmemchr_sse2): Likewise.
18683 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18684 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18685 (__strchr_sse2): Likewise.
18686 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18687 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18688 (__strcasecmp_sse2): Likewise.
18689 (__strncasecmp_sse2): Likewise.
18690 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18691 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18692 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18693 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18694 (__strrchr_sse2): Likewise.
18695 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18696 ifunc-impl-list.c.
18697 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18698 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18699 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18700 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18701 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18702 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18703 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18704 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18705 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18706 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18707 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18708 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18709 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18710 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18711 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18712 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18713 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18714 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18715 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18716 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18717 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18718 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18719 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18720 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18721 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18722 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18723 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18724 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18725 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18726 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18727
18728 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18729 global and hidden.
18730 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18731 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18732 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18733 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18734 Likewise.
18735 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18736 Likewise.
18737 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18738 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18739 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18740 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18741 ifunc-impl-list.c.
18742 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18743 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18744 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18745 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18746 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18747 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18748 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18749 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18750 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18751 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18752 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18753 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18754 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18755 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18756 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18757 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18758 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18759 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18760 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18761 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18763 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18764 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18765 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18767 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18768 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18769 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18770 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18771 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18772 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18773 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18774 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18775 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18776 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18777 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18778 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18779 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18780 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18781 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18782 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18783
18784 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18785 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18786 * include/ifunc-impl-list.h: New file.
18787 * misc/ifunc-impl-list.c: Likewise.
18788 * misc/Makefile (routines): Add ifunc-impl-list.
18789 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18790 * string/test-string.h: Include <ifunc-impl-list.h>.
18791 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18792 impl_array): New variables.
18793 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18794 are defined.
18795 (test_init): Call __libc_ifunc_impl_list to initialize
18796 func_list if TEST_IFUNC and TEST_NAME are defined.
18797
18798 * string/Makefile (strop-tests): Add bcopy and bzero.
18799 * string/test-bcopy.c: New file.
18800 * string/test-bzero.c: Likewise.
18801 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18802 defined.
18803 * string/test-memset.c: Support bzero test if TEST_BZERO is
18804 defined.
18805 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18806 __libc_memmove.
18807 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18808 __libc_memset.
18809 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18810 of memset.
18811
18812 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18813
18814 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18815 * configure: Regenerated.
18816
18817 * Makeconfig (+link-static-before-libc): Don't include
18818 $(link-static-libc).
18819
18820 * libio/libio.h (_IO_pos_t): Remove.
18821
18822 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18823
18824 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18825 McGrath.
18826
18827 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18828
18829 * crypt/crypt-entry.c: Include fips-private.h.
18830 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18831 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18832 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18833 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18834
18835 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18836
18837 * crypt/crypt-private.h: Include stdbool.h.
18838 (_ufc_setup_salt_r): Return bool.
18839 * crypt/crypt-entry.c: Include errno.h.
18840 (__crypt_r): Return NULL with EINVAL for bad salt.
18841 * crypt/crypt_util.c (bad_for_salt): New.
18842 (_ufc_setup_salt_r): Check that salt is long enough and within
18843 the specified alphabet.
18844 * crypt/badsalttest.c: New file.
18845 * crypt/Makefile (tests): Add it.
18846 ($(objpfx)badsalttest): New.
18847
18848 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18849
18850 * NEWS: Add entry for BZ #14602.
18851
18852 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18853
18854 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18855 type-generic.
18856 * math/libm-test.inc: Update comment listing what functions and
18857 macros are tested.
18858 (isgreater_test): New function.
18859 (isgreaterequal_test): Likewise.
18860 (isless_test): Likewise.
18861 (islessequal_test): Likewise.
18862 (islessgreater_test): Likewise.
18863 (isunordered_test): Likewise.
18864 (main): Call the new functions.
18865
18866 2012-10-09 Roland McGrath <roland@hack.frob.com>
18867
18868 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18869 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18870 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18871 * sysdeps/i386/configure: Regenerated.
18872 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18873 * sysdeps/mach/configure: Regenerated.
18874 * sysdeps/mach/hurd/configure: Regenerated.
18875 * sysdeps/powerpc/configure: Regenerated.
18876 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18877 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18878 * sysdeps/s390/s390-32/configure: Regenerated.
18879 * sysdeps/s390/s390-64/configure: Regenerated.
18880 * sysdeps/sh/configure: Regenerated.
18881 * sysdeps/sparc/configure: Regenerated.
18882 * sysdeps/unix/sysv/linux/configure: Regenerated.
18883 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18884 * sysdeps/x86_64/configure: Regenerated.
18885
18886 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18887 defined. Don't check if MAP is NULL.
18888
18889 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18890
18891 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18892 (_G_stat64): Likewise.
18893 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18894 (_G_stat64): Likewise.
18895 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18896 instead of struct _G_stat64.
18897 * libio/fileops.c (mmap_remap_check): Likewise.
18898 (decide_maybe_mmap): Likewise.
18899 (_IO_new_file_seekoff): Likewise.
18900 (_IO_file_stat): Likewise.
18901 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18902 _G_off64_t.
18903 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18904 instead of struct _G_stat64.
18905 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18906
18907 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18908
18909 [BZ #14602]
18910 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18911 Replace with ...
18912 (CHECK_EOL): New macro.
18913 (two_way_short_needle): Check beginning of haystack for EOL. Use
18914 CHECK_EOL.
18915 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18916 Replace with CHECK_EOL.
18917 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18918 Replace with CHECK_EOL.
18919
18920 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18921
18922 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18923 type-generic.
18924 * math/libm-test.inc: Update comment listing what functions and
18925 macros are tested.
18926 (finite_test): New function.
18927 (isinf_test): Likewise.
18928 (isnan_test): Likewise.
18929 (fpclassify_test): Test subnormal input.
18930 (isfinite_test): Likewise.
18931 (isnormal_test): Likewise.
18932 (main): Call the new functions.
18933
18934 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18935
18936 [BZ #14660]
18937 * Makerules (%.dynsym): Force C locale when running
18938 $(OBJDUMP) --dynamic-syms.
18939
18940 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18941
18942 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18943 <stdint.h>.
18944
18945 2012-10-06 David S. Miller <davem@davemloft.net>
18946
18947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18948 upper 32-bits of the length value in %o2 since we use branch-on-register
18949 tests which consider the entire 64-bit register.
18950
18951 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18952
18953 * string/test-strstr.c (check2): Add a test for page boundary.
18954
18955 2012-10-05 David S. Miller <davem@davemloft.net>
18956
18957 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18958 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18959 file.
18960 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18961 sysdep_routines.
18962 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18963 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18964 and bzero when HWCAP_SPARC_CRYPTO is present.
18965
18966 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18967
18968 [BZ #14602]
18969 * string/test-strstr.c (check2): New function.
18970 (test_main): Call check2.
18971
18972 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18973 and bug-strchr1.
18974 * string/bug-strcasestr1.c (do_test): Moved to ...
18975 * string/test-strcasestr.c (check1): Here. New function.
18976 (do_one_test): Break out result checking code into ...
18977 (check_result): This. New function.
18978 (do_one_test): Call check_result.
18979 (test_main): Call check1.
18980 * string/bug-strchr1.c (do_test): Moved to ...
18981 * string/test-strchr.c (check1): Here. New function.
18982 (do_one_test): Break out result checking code into ...
18983 (check_result): This. New function.
18984 (do_one_test): Call check_result.
18985 (test_main): Call check1.
18986 * string/bug-strstr1.c (main): Moved to ...
18987 * string/test-strstr.c (check1): Here. New function.
18988 (do_one_test): Break out result checking code into ...
18989 (check_result): This. New function.
18990 (do_one_test): Call check_result.
18991 (test_main): Call check1.
18992 * string/bug-strcasestr1.c: Removed.
18993 * string/bug-strchr1.c: Likewise.
18994 * string/bug-strstr1.c: Likewise.
18995
18996 * elf/Makefile (dl-routines): Add hwcaps.
18997 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18998 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18999 (_dl_important_hwcaps): Moved to ...
19000 * elf/dl-hwcaps.c: Here. New file.
19001 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19002
19003 [BZ #14557]
19004 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19005 if IS_IN_rtld isn't defined.
19006
19007 * elf/dl-support.c (_dl_sysinfo_map): New.
19008 Include "get-dynamic-info.h" and "setup-vdso.h".
19009 (_dl_non_dynamic_init): Call setup_vdso.
19010 * elf/dynamic-link.h: Don't include <assert.h>.
19011 (elf_get_dynamic_info): Moved to ...
19012 * elf/get-dynamic-info.h: Here. New file.
19013 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19014 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19015 * elf/setup-vdso.h: Here. New file.
19016 * elf/rtld.c: Include "setup-vdso.h".
19017 (dl_main): Call setup_vdso.
19018
19019 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19020
19021 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19022 creal in comment listing functions tested. List finite, isinf,
19023 isnan, isless, islessequal, isgreater, isgreaterequal,
19024 islessgreater, isunordered, lgamma_r and pow10 as functions and
19025 macros not tested. Mention which functions not tested are aliases
19026 for other functions. Fix typo. Note that signs of NaNs are not
19027 tested.
19028
19029 * scripts/config.guess: Update from config.git.
19030 * scripts/config.sub: Likewise.
19031
19032 2012-10-04 Roland McGrath <roland@hack.frob.com>
19033
19034 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19035 * misc/madvise.c (madvise): Renamed to __madvise.
19036 Make madvise a weak alias.
19037 * include/sys/mman.h: Declare __madvise.
19038 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19039 * sysdeps/unix/syscalls.list
19040 (madvise): Make __madvise the strong name, and madvise a weak alias.
19041 * sysdeps/unix/sysv/linux/syscalls.list
19042 (madvise, mmap): Remove redundant entries.
19043 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19044 * malloc/malloc.c (mtrim): Likewise.
19045 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19046
19047 2012-10-03 Roland McGrath <roland@hack.frob.com>
19048
19049 * sysdeps/mach/hurd/dl-cache.c: File removed.
19050 * config.h.in (USE_LDCONFIG): New #undef.
19051 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19052 * configure: Regenerated.
19053 * elf/Makefile (dl-routines): Add dl-cache only under
19054 [$(use-ldconfig) = yes].
19055 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19056 cache on [USE_LDCONFIG].
19057 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19058 [USE_LDCONFIG].
19059 * elf/rtld.c (dl_main): Likewise.
19060
19061 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19062
19063 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19064 _SC_LEVEL4_CACHE_LINESIZE.
19065
19066 2012-10-03 Roland McGrath <roland@hack.frob.com>
19067
19068 * sysdeps/unix/bsd/confstr.h: File removed.
19069
19070 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19071
19072 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19073 sys/sdt-config.h.
19074
19075 2012-10-02 Roland McGrath <roland@hack.frob.com>
19076
19077 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19078 Make 'mapoff' field ElfW(Off) rather than off_t.
19079
19080 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19081
19082 * nscd/Makefile: Remove nscd-cflags and all its users.
19083 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19084 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19085
19086 [BZ #10631]
19087 * malloc.c (malloc_printerr): Clarify error message.
19088
19089 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19090
19091 [BZ #14648]
19092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19093 Set bit_FMA_Usable if FMA is supported.
19094 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19095 macro.
19096 (bit_FMA4_Usable): Updated.
19097 (index_FMA_Usable): New macro.
19098 (CPUID_FMA): Likewise
19099 (HAS_FMA): Defined with bit_FMA_Usable.
19100
19101 2012-10-01 Roland McGrath <roland@hack.frob.com>
19102
19103 * bits/types.h (__swblk_t): Type removed.
19104 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19105 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19107 (__SWBLK_T_TYPE): Likewise.
19108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19109 (__SWBLK_T_TYPE): Likewise.
19110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19111 (__SWBLK_T_TYPE): Likewise.
19112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19113 (__SWBLK_T_TYPE): Likewise.
19114
19115 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19116 Honza Horak <hhorak@redhat.com>
19117
19118 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19119 (xdr_mapname): Use YPMAXMAP as maxsize.
19120 (xdr_peername): Use YPMAXPEER as maxsize.
19121 (xdr_keydat): Use YPAXRECORD as maxsize.
19122 (xdr_valdat): Use YPMAXRECORD as maxsize.
19123
19124 2012-10-01 Roland McGrath <roland@hack.frob.com>
19125
19126 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19127
19128 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19129 * csu/init-first.c: ... here.
19130 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19131 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19132 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19133 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19134 * sysdeps/i386/init-first.c: File removed.
19135 * sysdeps/sh/init-first.c: File removed.
19136
19137 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19138
19139 [BZ #14645]
19140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19141 if x * y might underflow to zero and z is zero.
19142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19144 * math/libm-test.inc (min_subnorm_value): New variable.
19145 (fma_test): Add more tests.
19146 (fma_test_towardzero): Likewise.
19147 (fma_test_downward): Likewise
19148 (fma_test_upward): Likewise.
19149 (initialize): Set min_subnorm_value.
19150
19151 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19152
19153 [BZ #14638]
19154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19155 0 + 0.
19156 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19157 mode for addition resulting in exact zero.
19158 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19160 exact 0 + 0.
19161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19163 * math/libm-test.inc (fma_test): Add more tests.
19164 (fma_test_towardzero): New function.
19165 (fma_test_downward): Likewise.
19166 (fma_test_upward): Likewise.
19167 (main): Call the new functions.
19168
19169 2012-09-28 David S. Miller <davem@davemloft.net>
19170
19171 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19172
19173 2012-09-28 Roland McGrath <roland@hack.frob.com>
19174
19175 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19176 instead of SIGALRM.
19177
19178 * sysdeps/gnu/_G_config.h: Moved to ...
19179 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19180 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19181 * sysdeps/generic/_G_config.h: ... here.
19182
19183 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19184
19185 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19186
19187 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19188 Conditionalize target on [libnss_test1.so-version].
19189
19190 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19191
19192 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19193 (elfobjdir): Move out of conditionals.
19194
19195 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19196 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19197 (__nss_lookup_function): Conditionalize label remove_from_tree on
19198 [!DO_STATIC_NSS || SHARED], matching its only use.
19199
19200 2012-09-28 David S. Miller <davem@davemloft.net>
19201
19202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19203 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19204 file.
19205 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19206 sysdep_routines.
19207 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19209 when HWCAP_SPARC_CRYPTO is present.
19210
19211 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19212
19213 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19214
19215 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19216
19217 [BZ #6530]
19218 * stdio-common/vfprintf.c (process_string_arg): Revert
19219 2000-07-22 change.
19220
19221 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19222
19223 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19224 for testcase.
19225 * stdio-common/tst-sprintf.c: Include <locale.h>
19226 (main): Test sprintf's handling of incomplete multibyte
19227 characters.
19228
19229 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19230
19231 * elf/dl-runtime.c (VERSYMIDX): Removed.
19232 * elf/dl-version.c (VERSYMIDX): Likewise.
19233 * elf/do-rel.h (VERSYMIDX): Likewise.
19234 (VALIDX): Likewise.
19235 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19236 * elf/rtld.c (VALIDX): Likewise.
19237 (ADDRIDX): Likewise.
19238 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19239 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19240 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19241 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19242 (VALIDX): Likewise.
19243 (ADDRIDX): Likewise.
19244
19245 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19246
19247 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19248
19249 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19250
19251 [BZ #11438]
19252 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19253 to global scope.
19254 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19255 addresses are in the same scope as 192.0.2/24.
19256 * posix/gai.conf: Document new scope table defaults.
19257
19258 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19259
19260 [BZ #5298]
19261 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19262 for ftell. Compute offsets from write pointers instead.
19263 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19264
19265 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19266
19267 [BZ #14543]
19268 * libio/Makefile (tests): New test case tst-fseek.
19269 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19270 combination works in wide mode.
19271 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19272 state when the external buffer state changes.
19273
19274 2012-09-27 David S. Miller <davem@davemloft.net>
19275
19276 [BZ #14376]
19277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19278 pass reloc->r_addend in as the 'high' argument to
19279 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19280
19281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19282
19283 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19284
19285 * rt/tst-aio2.c: Include <pthread.h>.
19286 * rt/tst-aio3.c: Likewise.
19287
19288 2012-09-27 Steve Ellcey <sellcey@mips.com>
19289
19290 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19291
19292 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19293
19294 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19295 contents on [SHARED].
19296
19297 2012-09-26 Marek Polacek <polacek@redhat.com>
19298
19299 [BZ #14530]
19300 [BZ #13741]
19301 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19302 for C++ and GCC <4.3 as well as for non GCC compilers.
19303
19304 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19305
19306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19307
19308 2012-09-25 Roland McGrath <roland@hack.frob.com>
19309
19310 * Makefile.in (all, install): Declare with .PHONY.
19311 Reported by Michael Hope <michael.hope@linaro.org>.
19312
19313 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19314
19315 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19316 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19317 system header.
19318 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19319 Likewise.
19320 (sydep_routines): Add the new and the internal functions.
19321 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19322 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19324 (GLIBC_2.17): Add the new function.
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19326 (GLIBC_2.17): Likewise.
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19328 (GLIBC_2.17): Likewise.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19330 (GLIBC_2.17): Likewise.
19331 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19332
19333 2012-09-25 Alan Modra <amodra@gmail.com>
19334
19335 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19336 Add release barrier before setting once_control to say
19337 initialisation is done. Add hints on lwarx. Use macro in
19338 place of isync.
19339 (clear_once_control): Add release barrier.
19340
19341 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19342
19343 [BZ #13629]
19344 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19345 specially.
19346 * math/s_clog10.c (__clog10): Likewise.
19347 * math/s_clog10f.c (__clog10f): Likewise.
19348 * math/s_clog10l.c (__clog10l): Likewise.
19349 * math/s_clogf.c (__clogf): Likewise.
19350 * math/s_clogl.c (__clogl): Likewise.
19351 * math/Makefile (libm-calls): Add x2y2m1.
19352 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19353 (__x2y2m1): Likewise.
19354 (__x2y2m1l): Likewise.
19355 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19356 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19359 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19360 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19361 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19362 * sysdeps/i386/fpu/libm-test-ulps: Update.
19363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19364
19365 [BZ #14621]
19366 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19367 int as type of variable DEPTH.
19368 (glob): Use size_t instead of int as type of variables NEWCOUNT
19369 and OLD_PATHC.
19370
19371 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19372
19373 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19374 Add s_sincosf-sse2.
19375 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19376 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19377 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19378 macros for using routine as __sincosf_ia32.
19379 Use macro for function declaration and weak_alias.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381
19382 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19384
19385 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19386 subnormal argument.
19387 * math/s_cexpf.c (__cexpf): Likewise.
19388 * math/s_csinf.c (__csinf): Likewise.
19389 * math/s_csinhf.c (__csinhf): Likewise.
19390 * math/s_ctanf.c (__ctanf): Likewise.
19391 * math/s_ctanhf.c (__ctanhf): Likewise.
19392 * math/s_ccosh.c (__ccoshf): Likewise.
19393 * math/s_cexp.c (__cexpl): Likewise.
19394 * math/s_csin.c (__csin): Likewise.
19395 * math/s_csinh.c (__csinh): Likewise.
19396 * math/s_ctan.c (__ctan): Likewise.
19397 * math/s_ctanh.c (ctanh): Likewise.
19398 * math/s_ccoshl.c (__ccoshl): Likewise.
19399 * math/s_cexpl.c (__cexpl): Likewise.
19400 * math/s_csinl.c (__csinl): Likewise.
19401 * math/s_csinhl.c (__csinhl): Likewise.
19402 * math/s_ctanl.c (__ctanl): Likewise.
19403 * math/s_ctanhl.c (__ctanhl): Likewise.
19404
19405 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19406
19407 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19408 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19409 (_IO_off_t): Define to __off_t, not _G_off_t.
19410 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19411 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19412 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19413 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19414 type of __dummy and __dummy2 fields.
19415 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19416 (_G_ssize_t): Likewise.
19417 (_G_off_t): Likewise.
19418 (_G_pid_t): Likewise.
19419 (_G_uid_t): Likewise.
19420 (_G_wchar_t): Likewise.
19421 (_G_wint_t): Likewise.
19422 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19423 (_G_ssize_t): Likewise.
19424 (_G_off_t): Likewise.
19425 (_G_pid_t): Likewise.
19426 (_G_uid_t): Likewise.
19427 (_G_wchar_t): Likewise.
19428 (_G_wint_t): Likewise.
19429 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19430 (_G_ssize_t): Likewise.
19431 (_G_off_t): Likewise.
19432 (_G_pid_t): Likewise.
19433 (_G_uid_t): Likewise.
19434 (_G_wchar_t): Likewise.
19435 (_G_wint_t): Likewise.
19436
19437 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19438
19439 * malloc/arena.c: Include malloc-sysdep.h.
19440 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19441 is sufficient to shrink the heap or an unmap is needed.
19442 * sysdeps/generic/malloc-sysdep.h: New file. Define
19443 new function check_may_shrink_heap.
19444 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19445 new function check_may_shrink_heap.
19446
19447 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19448
19449 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19450 comments.
19451
19452 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19453
19454 * catgets/test-gencat.sh: Add "set -e".
19455 * elf/tst-pathopt.sh: Likewise.
19456 * grp/tst_fgetgrent.sh: Likewise.
19457 * iconvdata/run-iconv-test.sh: Likewise.
19458 * intl/tst-gettext.sh: Likewise.
19459 * intl/tst-gettext2.sh: Likewise.
19460 * intl/tst-gettext4.sh: Likewise.
19461 * intl/tst-gettext6.sh: Likewise.
19462 * intl/tst-translit.sh: Likewise.
19463 * io/ftwtest-sh: Likewise.
19464 * libio/test-freopen.sh: Likewise.
19465 * malloc/tst-mtrace.sh: Likewise.
19466 * posix/globtest.sh: Likewise.
19467 * posix/tst-getconf.sh: Likewise.
19468 * posix/wordexp-tst.sh: Likewise.
19469 * stdio-common/tst-printf.sh: Likewise.
19470 * stdio-common/tst-unbputc.sh: Likewise.
19471 * stdlib/tst-fmtmsg.sh: Likewise.
19472 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19473 * catgets/Makefile: Do not specify -e option when running
19474 testsuite shell scripts.
19475 * elf/Makefile: Likewise.
19476 * grp/Makefile: Likewise.
19477 * iconvdata/Makefile: Likewise.
19478 * intl/Makefile: Likewise.
19479 * io/Makefile: Likewise.
19480 * libio/Makefile: Likewise.
19481 * malloc/Makefile: Likewise.
19482 * posix/Makefile: Likewise.
19483 * stdio-common/Makefile: Likewise.
19484 * stdlib/Makefile: Likewise.
19485 * sysdeps/x86_64/Makefile: Likewise.
19486
19487 * io/ftwtest-sh: Add copyright header.
19488 * posix/globtest.sh: Likewise.
19489 * posix/tst-getconf.sh: Likewise.
19490 * posix/wordexp-tst.sh: Likewise.
19491 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19492
19493 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19494
19495 [BZ #13679]
19496 * Makeconfig (+link): Defined as $(+link-static) if
19497 $(build-shared) isn't yes.
19498 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19499 isn't yes.
19500 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19501
19502 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19503
19504 [BZ #14562]
19505 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19506 new chunk size with MALLOC_ALIGN_MASK.
19507
19508 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19509
19510 [BZ #5044]
19511 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19512 <rounding-mode.h>.
19513 (__printf_fphex): Determine rounding using get_rounding_mode and
19514 round_away.
19515 * stdio-common/tst-printf-round.c (struct hex_test): New
19516 structure.
19517 (hex_tests): New variable.
19518 (test_hex_in_one_mode): New function.
19519 (do_test): Also run tests for hex float output.
19520
19521 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19522
19523 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19524 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19525 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19526 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19527 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19528 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19529 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19530 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19531
19532 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19533
19534 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19535 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19536 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19537 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19538
19539 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19540
19541 [BZ #14579]
19542 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19543 mode only.
19544 * elf/tst-rtld-load-self.sh: New test.
19545 * elf/Makefile: Run it.
19546
19547 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19548
19549 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19550 (tst-writev-ENV): Remove.
19551 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19552
19553 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19554
19555 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19556
19557 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19558
19559 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19560 unconditional.
19561 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19562 Likewise.
19563 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19564 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19565 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19566 Likewise.
19567
19568 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19569
19570 [BZ #14587]
19571 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19572 * config.make.in (have-cpp-asm-debuginfo): Removed.
19573 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19574 * configure: Regenerated.
19575
19576 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19577
19578 [BZ #5044]
19579 * stdio-common/printf_fp.c: Include <stdbool.h> and
19580 <rounding-mode.h>.
19581 (___printf_fp): Determine rounding using get_rounding_mode and
19582 round_away.
19583 * stdio-common/tst-printf-round.c: New file.
19584 * stdio-common/Makefile (tests): Add tst-printf-round.
19585 (link-libm): New variable.
19586 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19587
19588 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19589
19590 [BZ #14576]
19591 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19592 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19593 Likewise.
19594 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19595 Likewise.
19596
19597 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19598
19599 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19600 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19601 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19602 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19603
19604 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19605
19606 [BZ #14518]
19607 * include/rounding-mode.h: New file.
19608 * sysdeps/generic/get-rounding-mode.h: Likewise.
19609 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19610 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19611 (MAX_VALUE): New macro.
19612 (MIN_VALUE): Likewise.
19613 (overflow_value): New function.
19614 (underflow_value): Likewise.
19615 (round_and_return): Use overflow_value and underflow_value to
19616 determine return values in overflow and underflow cases. Use
19617 round_away to determine rounding depending on rounding mode.
19618 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19619 determine return values in overflow and underflow cases.
19620 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19621 (struct test_results): New structure.
19622 (struct test): Use struct test_results to store expected results
19623 for all rounding modes.
19624 (TEST): Include expected results for all rounding modes.
19625 (test_in_one_mode): New function.
19626 (do_test): Use test_in_one_mode to compute and check results.
19627 Check results for all rounding modes.
19628 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19629 $(link-libm).
19630
19631 2012-12-09 Allan McRae <allan@archlinux.org>
19632
19633 * sysdeps/i386/fpu/libm-test-ulps: Update
19634
19635 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19636
19637 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19638 (_G_int32_t): Likewise.
19639 (_G_uint16_t): Likewise.
19640 (_G_uint32_t): Likewise.
19641 (_G_HAVE_BOOL): Likewise.
19642 (_G_HAVE_ATEXIT): Likewise.
19643 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19644 (_G_HAVE_IO_FILE_OPEN): Likewise.
19645 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19646 (_G_int32_t): Likewise.
19647 (_G_uint16_t): Likewise.
19648 (_G_uint32_t): Likewise.
19649 (_G_HAVE_BOOL): Likewise.
19650 (_G_HAVE_ATEXIT): Likewise.
19651 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19652 (_G_HAVE_IO_FILE_OPEN): Likewise.
19653 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19654 (_G_int32_t): Likewise.
19655 (_G_uint16_t): Likewise.
19656 (_G_uint32_t): Likewise.
19657 (_G_HAVE_BOOL): Likewise.
19658 (_G_HAVE_ATEXIT): Likewise.
19659 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19660 (_G_HAVE_IO_FILE_OPEN): Likewise.
19661
19662 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19663
19664 * csu/libc-tls.c: Update copyright years.
19665
19666 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19667
19668 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19669 [!_G_USING_THUNKS]: Remove conditional code.
19670 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19671 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19672
19673 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19674 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19675 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19676 (_G_VTABLE_LABEL_PREFIX): Likewise.
19677 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19678 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19679 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19680 (_G_VTABLE_LABEL_PREFIX): Likewise.
19681 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19682 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19683 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19684 (_G_VTABLE_LABEL_PREFIX): Likewise.
19685 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19686
19687 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19688
19689 * libio/Makefile: Include ../Makeconfig before tests.
19690 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19691 only if $(build-shared) is yes.
19692
19693 * iconv/gconv_db.c: Update copyright years.
19694
19695 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19696
19697 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19698 unwind info if defined PIC. Fix special cases description.
19699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19700
19701 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19702 DP_HI_MASK entry.
19703 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19704
19705 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19706
19707 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19708
19709 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19710 is NULL.
19711
19712 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19713 (LDLIBS-tst-chk4): This.
19714 (LDFLAGS-tst-chk5): Renamed to ...
19715 (LDLIBS-tst-chk5): This.
19716 (LDFLAGS-tst-chk6): Renamed to ...
19717 (LDLIBS-tst-chk6): This.
19718 (LDFLAGS-tst-lfschk4): Renamed to ...
19719 (LDLIBS-tst-lfschk4): This.
19720 (LDFLAGS-tst-lfschk5): Renamed to ...
19721 (LDLIBS-tst-lfschk5): This.
19722 (LDFLAGS-tst-lfschk6): Renamed to ...
19723 (LDLIBS-tst-lfschk6): This.
19724
19725 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19726 on $(common-objpfx)soversions.mk.
19727
19728 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19729
19730 [BZ #10014]
19731 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19732 example host name.
19733
19734 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19735
19736 * malloc/arena.c (arena_get_retry): New function that gets
19737 another arena for the caller to try its request on.
19738 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19739 current arena cannot fulfill the request.
19740 (__libc_memalign): Likewise.
19741 (__libc_memalign): Likewise.
19742 (__libc_pvalloc): Likewise.
19743 (__libc_calloc): Likewise.
19744
19745 2012-09-05 John Tobey <john.tobey@gmail.com>
19746
19747 [BZ #13542]
19748 * manual/arith.texi (Operations on Complex): Fix description
19749 of carg branch cut.
19750
19751 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19752
19753 [BZ #10014]
19754 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19755 host name.
19756
19757 [BZ #10038]
19758 * manual/memory.texi (Memory): Make order of menu items match
19759 order of sections.
19760
19761 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19762
19763 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19764 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19765 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19766
19767 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19768
19769 * csu/libc-tls.c (static_dtv): Renamed to ...
19770 (_dl_static_dtv): This. Make it global.
19771 (_dl_initial_dtv): Removed.
19772 (__libc_setup_tls): Updated.
19773 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19774 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19775 DL_INITIAL_DTV.
19776
19777 2012-09-06 Petr Machata <pmachata@redhat.com>
19778
19779 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19780 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19781 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19782 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19783
19784 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19785
19786 [BZ #14545]
19787 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19788 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19789 freeing dtv[-1].
19790
19791 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 [BZ #14544]
19794 * Makeconfig (link-static-before-libc): Replace $(+prector)
19795 with $(+prectorT).
19796 (link-static-after-libc): Replace $(+postctor) with
19797 $(+postctorT).
19798 (link-bounded): Replace $(+prector)/$(+postctor) with
19799 $(+prectorT)/$(+postctorT).
19800 (+prectorT): New macro.
19801 (+postctorT): Likewise.
19802
19803 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19804
19805 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19806 (round_str): Handle values above the maximum for IBM long double
19807 as inexact.
19808 * stdlib/tst-strtod-round.c (tests): Regenerated.
19809
19810 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19811
19812 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19813 assembler flag.
19814 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19815 zarch_nohighgprs around the zarch optimized routines.
19816 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19817 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19819 for zarch.
19820
19821 2012-09-05 David S. Miller <davem@davemloft.net>
19822
19823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19824
19825 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19826 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19827 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19828 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19829 entries.
19830
19831 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19832
19833 * malloc/arena.c: Fold copyright years.
19834 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19835
19836 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19837
19838 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19839
19840 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19841
19842 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19843
19844 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19845
19846 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19847 change internal state upon failure.
19848
19849 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19850
19851 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19852 * malloc/memusage.c (mmap): Likewise.
19853 (mmap64, mremap): Likewise. Adjust name in comment.
19854
19855 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19856
19857 * libio/fileops.c: Fix typos in comments.
19858 * libio/oldfileops.c: Likewise.
19859 * libio/wfileops.c: Likewise.
19860
19861 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19862
19863 [BZ #1349]
19864 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19865 (tst-malloc-usable-ENV): Set environment for test case.
19866 * malloc/hooks.c (malloc_check_get_size): New function to get
19867 requested size.
19868 * malloc/malloc.c (musable): Use malloc_check_get_size.
19869 * malloc/tst-malloc-usable.c: New test case.
19870
19871 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19872
19873 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19874
19875 2012-09-05 Allan McRae <allan@archlinux.org>
19876
19877 [BZ #13966]
19878 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19879 determine header location.
19880 * configure: Regenerated.
19881
19882 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19883
19884 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19885 float format.
19886 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19887 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19888 format.
19889 (test): Regenerate.
19890
19891 2012-09-04 David S. Miller <davem@davemloft.net>
19892
19893 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19894 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19895 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19896
19897 2012-09-04 Florian Weimer <fweimer@redhat.com>
19898
19899 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19900 failures.
19901
19902 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19903
19904 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19905
19906 [BZ #9914]
19907 * libio/iogetdelim.c: Include <limits.h>.
19908 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19909 + len + 1 would overflow.
19910
19911 2012-09-03 Andreas Jaeger <aj@suse.de>
19912
19913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19914 * sysdeps/i386/fpu/libm-test-ulps: Update.
19915
19916 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19917
19918 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19919 Add s_sinf-sse2, s_conf-sse2.
19920
19921 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19922 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19923 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19924 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19925
19926 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19927 for using routine as __sinf_ia32.
19928 Use macro for function declaration and weak_alias.
19929 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19930 for using routine as __cosf_ia32.
19931 Use macro for function declaration and weak_alias.
19932
19933 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19934 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19935
19936 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19937 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19939
19940 * math/libm-test.inc (cos_test): Add more test cases.
19941 (sin_test): Likewise.
19942 (sincos_test): Likewise.
19943
19944 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19945
19946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19947 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19948 hidden.
19949 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19950
19951 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19952
19953 [BZ #14538]
19954 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19955 first element of the GOT.
19956 (elf_machine_load_address): Return the difference between
19957 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19958
19959 2012-09-01 Allan McRae <allan@archlinux.org>
19960
19961 [BZ #13412]
19962 * configure.in (AWK): Require gawk version 3.0 or later.
19963 * configure: Regenerated.
19964
19965 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19966
19967 * sysdeps/unix/sysv/linux/kernel-features.h
19968 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19969 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19970 [__NR_clock_getres]: Make code unconditional.
19971 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19972 (clock_getcpuclockid): Remove code left unreachable by removal of
19973 conditionals.
19974 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19975 code unconditional.
19976 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19977 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19978 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19979 Make code unconditional.
19980 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19981 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19982 * sysdeps/unix/sysv/linux/clock_settime.c
19983 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19984 conditional code.
19985 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19986 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19987
19988 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19989
19990 [BZ #14476]
19991 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19992 scripts/test-installation.pl.
19993
19994 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19995 and $ld_so_version if it is set.
19996
19997 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19998
19999 [BZ #14516]
20000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20001 failure if reading from procfs failed.
20002 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20003
20004 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20005
20006 * sysdeps/unix/sysv/linux/kernel-features.h
20007 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20008 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20009 Remove conditional code.
20010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20011 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20012 Remove conditional code.
20013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20014 * sysdeps/unix/sysv/linux/i386/fxstat.c
20015 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20016 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20017 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20018 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20020 * sysdeps/unix/sysv/linux/i386/lxstat.c
20021 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20023 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20024 Remove conditional code.
20025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20026 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20027 Remove conditional code.
20028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20029 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20030 <kernel-features.h>.
20031 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20032 Remove.
20033 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20034 Remove conditional code.
20035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20036 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20037 Remove conditional.
20038
20039 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20040
20041 [BZ #5400]
20042 * NEWS: Add fixed bug number.
20043
20044 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20045
20046 [BZ #14519]
20047 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20048 underflowing exponent in case of negative sign.
20049 * stdlib/tst-strtod-round-data: Add more tests.
20050 * stdlib/tst-strtod-round.c (tests): Regenerated.
20051
20052 [BZ #3479]
20053 * stdlib/strtod_l.c (NDIG): Remove.
20054 (HEXNDIG): Likewise.
20055 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20056 smallest representable value.
20057 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20058 lie within an exact representation of 1/2 ulp of the result.
20059 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20060 unconditionally.
20061 (TENS_P9_IDX): Define unconditionally.
20062 (TENS_P9_SIZE): Likewise.
20063 (TENS_P10_IDX): Likewise.
20064 (TENS_P10_SIZE): Likewise.
20065 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20066 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20067 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20068 entries for 10^2^13 and 10^2^14.
20069 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20070 (TENS_P13_IDX): Define.
20071 (TENS_P13_SIZE): Likewise.
20072 (TENS_P14_IDX): Likewise.
20073 (TENS_P14_SIZE): Likewise.
20074 (_fpioconst_pow10): Change array size to
20075 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20076 unconditional.
20077 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20078 1024]: Add entries for 10^2^13 and 10^2^14.
20079 [LAST_POW10 > _LAST_POW10]: Remove #error.
20080 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20081 (_fpioconst_pow10): Change array size to
20082 FPIOCONST_POW10_ARRAY_SIZE.
20083 * stdlib/gen-fpioconst.c: New file.
20084 * stdlib/gen-tst-strtod-round.c: Likewise.
20085 * stdlib/tst-strtod-round-data: Likewise.
20086 * stdlib/tst-strtod-round.c: Likewise.
20087 * stdlib/Makefile (tests): Add tst-strtod-round.
20088
20089 [BZ #14459]
20090 * stdlib/strtod_l.c: Include <stdint.h>.
20091 (NDEBUG): Do not define.
20092 (round_and_return): Change EXPONENT parameter to type intmax_t.
20093 Rearrange calculations to avoid internal overflow possibilities.
20094 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20095 Rearrange calculations to avoid internal overflow possibilities.
20096 Assert that number fits inside MPNSIZE limbs.
20097 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20098 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20099 calculations and add assertions to avoid internal overflow
20100 possibilities. Add casts to avoid signed/unsigned operations.
20101 * stdlib/tst-strtod-overflow.c: New file.
20102 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20103
20104 2012-08-25 Marek Polacek <polacek@redhat.com>
20105
20106 * time/time.h: Fix some typos in comments.
20107
20108 2012-08-23 Roland McGrath <roland@hack.frob.com>
20109
20110 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20111 * posix/tst-rfc3484-2.c: Likewise.
20112 * posix/tst-rfc3484-3.c: Likewise.
20113
20114 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20115
20116 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20117 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20118
20119 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20120
20121 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20122 #include of fxstatat64.c.
20123
20124 2012-08-22 Roland McGrath <roland@hack.frob.com>
20125
20126 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20127 * shadow/getspent_r.c: Likewise.
20128 * shadow/getspnam.c: Likewise.
20129 * shadow/getspnam_r.c: Likewise.
20130 * gshadow/getsgent.c: Likewise.
20131 * gshadow/getsgent_r.c: Likewise.
20132 * gshadow/getsgnam.c: Likewise.
20133 * gshadow/getsgnam_r.c: Likewise.
20134 * inet/getnetbyad.c: Likewise.
20135 * inet/getnetbyad_r.c: Likewise.
20136 * inet/getnetbynm.c: Likewise.
20137 * inet/getnetbynm_r.c: Likewise.
20138 * inet/getnetent.c: Likewise.
20139 * inet/getnetent_r.c: Likewise.
20140 * inet/getproto.c: Likewise.
20141 * inet/getproto_r.c: Likewise.
20142 * inet/getprtent.c: Likewise.
20143 * inet/getprtent_r.c: Likewise.
20144 * inet/getprtname.c: Likewise.
20145 * inet/getprtname_r.c: Likewise.
20146 * inet/getrpcbyname.c: Likewise.
20147 * inet/getrpcbyname_r.c: Likewise.
20148 * inet/getrpcbynumber.c: Likewise.
20149 * inet/getrpcbynumber_r.c: Likewise.
20150 * inet/getrpcent.c: Likewise.
20151 * inet/getrpcent_r.c: Likewise.
20152 * inet/getaliasent.c: Likewise.
20153 * inet/getaliasent_r.c: Likewise.
20154 * inet/getaliasname.c: Likewise.
20155 * inet/getaliasname_r.c: Likewise.
20156 * nscd/getgrgid_r.c: Likewise.
20157 * nscd/getgrnam_r.c: Likewise.
20158 * nscd/gethstbyad_r.c: Likewise.
20159 * nscd/gethstbynm3_r.c: Likewise.
20160 * nscd/getpwnam_r.c: Likewise.
20161 * nscd/getpwuid_r.c: Likewise.
20162 * nscd/getsrvbynm_r.c: Likewise.
20163 * nscd/getsrvbypt_r.c: Likewise.
20164 * nscd/gai.c: Likewise.
20165
20166 * configure.in (build_nscd): New substituted variable, set
20167 by --disable-build-nscd and defaults to $use_nscd.
20168 * configure: Regenerated.
20169 * config.make.in (build-nscd): New substituted variable.
20170 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20171 Change conditional to require [$(build-nscd) = yes] as well.
20172 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20173
20174 [BZ# 13696]
20175 * configure.in (use_nscd): New substituted variable, set by
20176 --disable-nscd. If enabled, define USE_NSCD.
20177 * configure: Regenerated.
20178 * config.h.in: Add USE_NSCD.
20179 * config.make.in (use-nscd): New substituted variable.
20180 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20181 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20182 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20183 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20184 (CFLAGS-getgrnam_r.c): Likewise.
20185 (CFLAGS-initgroups.c): Likewise.
20186 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20187 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20188 Variables removed.
20189 * inet/getnetgrent_r.c
20190 (nscd_setnetgrent): New function, broken out of ...
20191 (setnetgrent): ... here. Call it.
20192 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20193 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20194 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20195 * nscd/Makefile (routines, aux): Move definitions after include of
20196 Makeconfig. Conditionalize on [$(use-nscd) != no].
20197 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20198 Conditionalize on [USE_NSCD].
20199 (is_nscd, nscd_init_cb): Likewise.
20200 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20201 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20202 * nss/nss_db/db-init.c: Likewise.
20203 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20204 [USE_NSCD].
20205 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20206 (make_request): Use it.
20207 (cache_valid_p): New function.
20208 (__check_pf): Use it.
20209 * NEWS: Add item for --disable-nscd.
20210
20211 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20212
20213 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20214 to support sed >= 4.2.1-20-ga9bf076.
20215 * configure: Regenerated.
20216
20217 2012-08-22 Roland McGrath <roland@hack.frob.com>
20218
20219 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20220 Conditionalize whole body on [IREL].
20221
20222 2012-08-22 Jeff Law <law@redhat.com>
20223
20224 [BZ #14505]
20225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20226 if the family is PF_UNSPEC.
20227
20228 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20229
20230 * Makerules (lib-version): Rename from V.
20231 (install-lib-nosubdir): Change V to lib-version.
20232
20233 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20234
20235 [BZ #14252]
20236 * powerpc32/power6/wcschr.c: New file.
20237 * powerpc32/power6/wcscpy.c: New file.
20238 * powerpc32/power6/wcsrchr.c: New file.
20239 * powerpc64/power6/wcschr.c: New file.
20240 * powerpc64/power6/wcscpy.c: New file.
20241 * powerpc64/power6/wcsrchr.c: New file.
20242
20243 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20244
20245 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20246 (two_way_short_needle): Use it.
20247 * string/strstr.c (AVAILABLE1_USES_J): Define.
20248 * string/strcasestr.c: Likewise.
20249
20250 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20251 array references.
20252 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20253
20254 [BZ #11607]
20255 * NEWS: Add an entry.
20256 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20257 define their defaults.
20258 (two_way_short_needle): Detect end-of-string on-the-fly.
20259 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20260 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20261 * string/bug-strcasestr1.c: New test.
20262 * string/Makefile: Run it.
20263
20264 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20265
20266 [BZ #11607]
20267 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20268 the first character.
20269
20270 2012-08-21 Roland McGrath <roland@hack.frob.com>
20271
20272 * csu/elf-init.c (__libc_csu_irel): Function removed.
20273 * csu/libc-start.c (apply_irel): New function.
20274 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20275
20276 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20277
20278 * sysdeps/unix/sysv/linux/kernel-features.h
20279 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20280 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20281 <kernel-features.h>.
20282 [__NR_fadvise64_64]: Make code unconditional.
20283 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20284 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20285 !__NR_fadvise64_64)]: Likewise.
20286 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20287 !__NR_fadvise64_64))]: Likewise.
20288 [__NR_fadvise64]: Make code unconditional.
20289 [!__NR_fadvise64]: Remove conditional code.
20290 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20291 <kernel-features.h>.
20292 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20293 unconditional.
20294 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20295 conditional code.
20296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20297 not include <kernel-features.h>.
20298 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20299 unconditional.
20300 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20301 conditional code.
20302 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20303 include <kernel-features.h>.
20304 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20305 unconditional.
20306 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20307 conditional code.
20308
20309 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20310
20311 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20312 slight instruction rearrangements per scrollpipe analysis.
20313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20314
20315 2012-08-20 Roland McGrath <roland@hack.frob.com>
20316
20317 * manual/syslog.texi (syslog; vsyslog, closelog):
20318 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20319 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20320
20321 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20322 DSOCAPS to match condition on defining it.
20323
20324 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20325
20326 * sysdeps/unix/sysv/linux/kernel-features.h
20327 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20329 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20330 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20332 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20333 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20335 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20336 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20337
20338 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20339 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20340
20341 * sysdeps/unix/sysv/linux/kernel-features.h
20342 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20343 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20344 unconditional.
20345 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20346 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20347 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20348 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20349 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20350 Make code unconditional.
20351 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20352 (__mmap64) [!__NR_mmap2]: Likewise.
20353 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20354 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20355 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20356 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20357 [__NR_mmap2]: Make code unconditional.
20358 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20359 (__mmap64) [!__NR_mmap2]: Likewise.
20360
20361 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20362
20363 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20364
20365 2012-08-18 Andreas Jaeger <aj@suse.de>
20366
20367 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20368
20369 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20370
20371 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20372 * include/unistd.h (__have_sock_cloexec): Likewise.
20373 (__have_pipe2): Likewise.
20374 (__have_dup3): Likewise.
20375
20376 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20377
20378 [BZ #9685]
20379 * include/unistd.h (__have_pipe2): Change define into an extern int.
20380 (__have_dup3): Likewise.
20381 * socket/have_sock_cloexec.c: Include fcntl.h.
20382 (__have_pipe2): New variable.
20383 (__have_dup3): Likewise.
20384
20385 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20386
20387 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20388
20389 2012-08-17 Marek Polacek <polacek@redhat.com>
20390
20391 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20392 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20393
20394 2012-08-17 Roland McGrath <roland@hack.frob.com>
20395
20396 * configure.in: Add AC_SUBST for sysheaders.
20397 * configure: Regenerated.
20398 * config.make.in (sysheaders): New substituted variable.
20399
20400 * sysdeps/unix/mkfifo.c: Moved ...
20401 * sysdeps/posix/mkfifo.c: ... here.
20402 * sysdeps/unix/mkfifoat.c: Moved ...
20403 * sysdeps/posix/mkfifoat.c: ... here.
20404
20405 * sysdeps/unix/utime.c: Moved ...
20406 * sysdeps/posix/utime.c: ... here.
20407
20408 * sysdeps/unix/time.c: Moved ...
20409 * sysdeps/posix/time.c: ... here.
20410 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20411 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20412
20413 * sysdeps/unix/nice.c: Moved ...
20414 * sysdeps/posix/nice.c: ... here.
20415
20416 * sysdeps/unix/alarm.c: Moved ...
20417 * sysdeps/posix/alarm.c: ... here.
20418
20419 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20420
20421 2012-08-17 Jeff Law <law@redhat.com>
20422
20423 * intl/Makefile (codeset_mo): New variable.
20424 ($(codeset_mo)): New target.
20425 (tst-codeset.out): Depend on that. Remove explicit rule.
20426 (tst-gettext3.out, tst-gettext5.out): Likewise.
20427 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20428 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20429 * intl/tst-codeset.sh: Remove.
20430 * intl/tst-gettext3.sh: Likewise.
20431 * intl/tst-gettext5.sh: Likewise.
20432
20433 2012-08-17 Roland McGrath <roland@hack.frob.com>
20434
20435 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20436 * sysdeps/unix/syscalls.list: ... here.
20437
20438 * sysdeps/posix/getaddrinfo.c
20439 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20440 (gaiconf_init, gaiconf_reload): Use them.
20441 [!_STATBUF_ST_NSEC]
20442 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20443 Define using time_t rather than struct timespec.
20444
20445 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20446 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20447 Macros removed.
20448 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20449 [!NO_THREADS].
20450 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20451 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20452 Likewise.
20453
20454 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20455 __libc_cleanup_push argument.
20456
20457 * bits/param.h: New file.
20458 * misc/sys/param.h: New file.
20459 * include/sys/param.h: New file.
20460 * misc/Makefile (headers): Add bits/param.h.
20461 * sysdeps/generic/sys/param.h: File removed.
20462 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20463 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20464 * sysdeps/mach/hurd/bits/param.h: New file.
20465 * sysdeps/mach/hurd/sys/param.h: File removed.
20466
20467 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20468 last change.
20469
20470 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20471 [_IO_MTSAFE_IO].
20472 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20473 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20474 New macros.
20475
20476 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20477 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20478 rather than -D_IO_MTSAFE_IO conditionally.
20479 * stdio-common/Makefile (CPPFLAGS): Likewise.
20480 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20481 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20482 Use $(libio-mtsafe).
20483 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20484 of -D_IO_MTSAFE_IO.
20485 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20486 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20487 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20488 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20489 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20490 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20491 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20492 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20493 (CFLAGS-fread_u_chk.c): Likewise.
20494 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20495 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20496 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20497 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20498 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20499 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20500 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20501 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20502 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20503
20504 * libio/Makefile: Test [$(libc-reentrant) = yes]
20505 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20506
20507 * Makeconfig
20508 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20509 * sysdeps/pthread/configure: File removed.
20510 * sysdeps/pthread/Makeconfig: New file.
20511 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20512 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20513
20514 2012-08-16 Gary Benson <gbenson@redhat.com>
20515
20516 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20517 unmapping the first object in a namespace.
20518
20519 2012-08-16 Roland McGrath <roland@hack.frob.com>
20520
20521 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20522 (__internal_setnetgrent): ... this. Add internal_function to
20523 definition. Add libc_hidden_def.
20524 (setnetgrent): Update caller.
20525 (internal_endnetgrent): Renamed to ...
20526 (__internal_endnetgrent): ... this. Add internal_function to
20527 definition. Add libc_hidden_def.
20528 (endnetgrent): Update caller.
20529 (internal_getnetgrent_r): Renamed to ...
20530 (__internal_getnetgrent_r): ... this. Add internal_function to
20531 definition. Add libc_hidden_def.
20532 (__getnetgrent_r): Update caller.
20533 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20534
20535 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20536
20537 * stdlib/longlong.h: Update from GCC.
20538
20539 2012-08-16 Roland McGrath <roland@hack.frob.com>
20540
20541 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20542 on _QL, which is set by umul_ppmm but never used.
20543 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20544 variables, which are set by GMP macros but never used.
20545 * stdio-common/_itowa.c (_itowa): Likewise.
20546 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20547 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20548
20549 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20550
20551 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20552 struct La_sh_regs is not constant.
20553 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20554 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20555 and struct La_sparc64_regs are not constant.
20556
20557 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20558
20559 * sysdeps/unix/sysv/linux/kernel-features.h
20560 (__ASSUME_POSIX_TIMERS): Remove.
20561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20562 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20563 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20564 Make code unconditional.
20565 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20566 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20567 Make code unconditional.
20568 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20569 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20570 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20572 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20573 Make code unconditional.
20574 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20575 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20576 (__libc_missing_posix_timers): Remove.
20577
20578 2012-08-15 Roland McGrath <roland@hack.frob.com>
20579
20580 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20581 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20582
20583 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20584
20585 * elf/dl-sym.c: Include <stdlib.h>.
20586
20587 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20588 constants, which avoids warnings in 32-bit builds.
20589
20590 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20591 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20592
20593 * misc/lseek.c: File moved to ...
20594 * io/lseek.c: ... here.
20595
20596 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20597
20598 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20599 shifting LEN more than 31 bits at once.
20600
20601 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20602
20603 [BZ #14195]
20604 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20605 segmentation fault for a case of two empty input strings.
20606 * string/test-strncasecmp.c (check1): Renamed to...
20607 (bz12205): ...this.
20608 (bz14195): Add new testcase for two empty input strings and N > 0.
20609 (test_main): Call new testcase, adapt for renamed function.
20610
20611 2012-08-15 Andreas Jaeger <aj@suse.de>
20612
20613 [BZ #14090]
20614 * crypt/md5test2.c: New test, based on test supplied by Serge
20615 Belyshev <belyshev@depni.sinp.msu.ru>.
20616 * crypt/Makefile (xtests): Add md5test-giant..
20617 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20618
20619 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20620
20621 [BZ #14090]
20622 * crypt/md5.c (md5_process_block): Don't assume the buffer
20623 length is less than 2**32.
20624 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20625 length is less than 2**64.
20626
20627 2012-08-15 Roland McGrath <roland@hack.frob.com>
20628
20629 * string/str-two-way.h: Include <sys/param.h>.
20630 (MAX): Macro removed.
20631
20632 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20633 Move #define and #undef of memmove to just before and after
20634 including <string.h>.
20635
20636 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20637 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20638 and after including <string.h>. Move declarations of
20639 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20640 to before #include "string/memmove.c".
20641
20642 * include/dirent.h: Declare __getdirentries.
20643
20644 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20645 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20646
20647 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20648
20649 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20650 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20651 * sysdeps/i386/configure: Regenerated.
20652 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20653 STABS_CURRENT_FILE, and STABS_FUN.
20654 (END): Remove call to STABS_FUN_END.
20655 (STABS_CURRENT_FILE1): Delete.
20656 (STABS_CURRENT_FILE): Likewise.
20657 (STABS_FUN): Likewise.
20658 (STABS_FUN_END): Likewise.
20659 (STABS_FUN2): Likewise.
20660 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20661 * sysdeps/x86_64/configure: Regenerated.
20662
20663 2012-08-14 Roland McGrath <roland@hack.frob.com>
20664
20665 * elf/dl-open.c: Include <atomic.h>.
20666 * elf/dl-lookup.c: Likewise.
20667
20668 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20669
20670 * sysdeps/unix/sysv/linux/kernel-features.h
20671 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20672 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20673 unconditionally.
20674 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20675 unconditionally.
20676 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20677 condition on __ASSUME_CLONE_THREAD_FLAGS.
20678
20679 2012-08-14 Andreas Jaeger <aj@suse.de>
20680
20681 * sysdeps/i386/fpu/libm-test-ulps: Update.
20682
20683 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20684
20685 * include/atomic.h (atomic_exchange_and_add): Split into ...
20686 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20687 New atomic macros.
20688
20689 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20690
20691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20692
20693 2012-08-13 Jeff Law <law@redhat.com>
20694
20695 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20696 null byte in the output string.
20697
20698 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20699
20700 * sysdeps/unix/sysv/linux/kernel-features.h
20701 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20702 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20703 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20704 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20705 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20706 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20707 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20708
20709 2012-08-09 Jeff Law <law@redhat.com>
20710
20711 [BZ #13939]
20712 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20713 When avoid_arena is set, don't retry in the that arena. Pick the
20714 next one, whatever it might be.
20715 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20716 (arena_lock): Pass in new parameter to arena_get2.
20717 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20718 arena_get2.
20719 (__libc_malloc): Unify retrying after main arena failure with
20720 __libc_memalign version.
20721 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20722
20723 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20724
20725 [BZ #14166]
20726 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20727 to __redirect_strstr.
20728 (__strstr_sse42): Use typeof __redirect_strstr.
20729 (__strstr_ia32): Likewise.
20730 (__libc_strstr): New prototype.
20731 (strstr): Renamed to ...
20732 (__libc_strstr): This.
20733 (strstr): New strong alias of __libc_strstr.
20734 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20735 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20736 __redirect_time.
20737 Include <time.h>.
20738 (__libc_time): New prototype.
20739 (time_ifunc): Replace time with __libc_time.
20740 (time): New strong alias and hidden definition of __libc_time.
20741 (__GI_time): Remove strong alias.
20742 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20743 Include <stddef.h>.
20744 (memmove): Redefined to __redirect_memmove.
20745 (__memmove_sse2): Use typeof __redirect_memmove.
20746 (__memmove_ssse3): Likewise.
20747 (__memmove_ssse3_back): Likewise.
20748 (__libc_memmove): New prototype.
20749 (memmove): Renamed to ...
20750 (__libc_memmove): This.
20751 (memmove): New strong alias of __libc_memmove.
20752
20753 2012-08-08 Mark Salter <msalter@redhat.com>
20754
20755 * elf/elf.h
20756 (R_MN10300_TLS_GD): Define.
20757 (R_MN10300_TLS_LD): Likewise.
20758 (R_MN10300_TLS_LDO): Likewise.
20759 (R_MN10300_TLS_GOTIE): Likewise.
20760 (R_MN10300_TLS_IE): Likewise.
20761 (R_MN10300_TLS_LE): Likewise.
20762 (R_MN10300_TLS_DTPMOD): Likewise.
20763 (R_MN10300_TLS_DTPOFF): Likewise.
20764 (R_MN10300_TLS_TPOFF): Likewise.
20765 (R_MN10300_SYM_DIFF): Likewise.
20766 (R_MN10300_ALIGN): Likewise.
20767 (R_MN10300_NUM): Update.
20768
20769 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20770
20771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20772 Remove.
20773
20774 2012-08-08 Roland McGrath <roland@hack.frob.com>
20775
20776 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20777
20778 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20779 sysdeps/unix -> sysdeps/posix move.
20780 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20781
20782 2012-08-07 Allan McRae <allan@archlinux.org>
20783
20784 [BZ #14303]
20785 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20786 (SUNOS_CPP): Likewise.
20787 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20788 not found.
20789 (open_input): Call CPP using execvp.
20790
20791 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20792
20793 * sysdeps/unix/sysv/linux/kernel-features.h
20794 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20795 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20796 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20797 (__ASSUME_WAITID_SYSCALL): Likewise.
20798 * sysdeps/unix/sysv/linux/dl-execstack.c
20799 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20800 code unconditional.
20801 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20802 conditional code.
20803 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20804 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20805 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20806 code.
20807 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20808 unconditional.
20809 [__ASSUME_WAITID_SYSCALL]: Likewise.
20810 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20811
20812 2012-08-07 Roland McGrath <roland@hack.frob.com>
20813
20814 * sysdeps/unix/closedir.c: Renamed to ...
20815 * sysdeps/posix/closedir.c: ... here.
20816 * sysdeps/unix/dirfd.c: Renamed to ...
20817 * sysdeps/posix/dirfd.c: ... here.
20818 * sysdeps/unix/dirstream.h: Renamed to ...
20819 * sysdeps/posix/dirstream.h: ... here.
20820 * sysdeps/unix/fdopendir.c: Renamed to ...
20821 * sysdeps/posix/fdopendir.c: ... here.
20822 * sysdeps/unix/opendir.c: Renamed to ...
20823 * sysdeps/posix/opendir.c: ... here.
20824 * sysdeps/unix/readdir.c: Renamed to ...
20825 * sysdeps/posix/readdir.c: ... here.
20826 * sysdeps/unix/readdir_r.c: Renamed to ...
20827 * sysdeps/posix/readdir_r.c: ... here.
20828 * sysdeps/unix/rewinddir.c: Renamed to ...
20829 * sysdeps/posix/rewinddir.c: ... here.
20830 * sysdeps/unix/seekdir.c: Renamed to ...
20831 * sysdeps/posix/seekdir.c: ... here.
20832 * sysdeps/unix/telldir.c: Renamed to ...
20833 * sysdeps/posix/telldir.c: ... here.
20834 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20835 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20836 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20837 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20838
20839 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20840 * bits/fcntl.h: ... here.
20841
20842 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20843 not 0.
20844 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20845 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20846 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20847 (struct flock): Move l_start, l_len to the beginning.
20848 Use __pid_t for l_pid.
20849 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20850 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20851 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20852 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20853 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20854 [__USE_LARGEFILE64] (struct flock64): New type.
20855 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20856
20857 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20858 * bits/dirent.h: ... here.
20859
20860 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20861 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20862
20863 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20864
20865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20866 Change from 2.6.0 to 2.6.16.
20867 * sysdeps/unix/sysv/linux/configure: Regenerated.
20868 * sysdeps/unix/sysv/linux/kernel-features.h
20869 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20870 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20871 version.
20872 (__ASSUME_UTIMES): Likewise.
20873 (__ASSUME_CLONE_STOPPED): Remove.
20874 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20875 architectures, not kernel version.
20876 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20877 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20878 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20879 (__ASSUME_WAITID_SYSCALL): Likewise.
20880 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20881 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20882 * README: State 2.6.16 as minimum Linux kernel version. Do not
20883 refer to older versions.
20884
20885 2012-08-06 Roland McGrath <roland@hack.frob.com>
20886
20887 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20888 Define alphasort64 as an alias.
20889 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20890 Define versionsort64 as an alias.
20891 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20892 Define scandir64 as an alias.
20893 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20894 Define scandirat64 as an alias.
20895 * dirent/alphasort64.c (alphasort64):
20896 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20897 * dirent/versionsort64.c: Likewise.
20898 * dirent/scandir64.c: Likewise.
20899 * dirent/scandirat64.c: Likewise.
20900 * sysdeps/wordsize-64/alphasort.c: File removed.
20901 * sysdeps/wordsize-64/alphasort64.c: File removed.
20902 * sysdeps/wordsize-64/scandir.c: File removed.
20903 * sysdeps/wordsize-64/scandir64.c: File removed.
20904 * sysdeps/wordsize-64/scandirat.c: File removed.
20905 * sysdeps/wordsize-64/scandirat64.c: File removed.
20906 * sysdeps/wordsize-64/versionsort.c: File removed.
20907 * sysdeps/wordsize-64/versionsort64.c: File removed.
20908 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20909 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20910 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20911 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20912 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20914 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20916
20917 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20919 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20920 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20921 [defined __arch64__ || defined __sparcv9]
20922 (__INO_T_MATCHES_INO64_T): New macro.
20923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20924 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20925 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20926 * sysdeps/unix/sysv/linux/bits/dirent.h
20927 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20928 (_DIRENT_MATCHES_DIRENT64): New macro.
20929
20930 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20931 Define lockf64 as an alias.
20932 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20933 Define fseeko64 as an alias.
20934 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20935 Define ftello64 as an alias.
20936 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20937 Define _IO_fgetpos64 and fgetpos64 as aliases.
20938 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20939 Define _IO_fsetpos64 and fsetpos64 as aliases.
20940 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20941 Conditionalize body on this.
20942 * libio/fseeko64.c: Likewise.
20943 * libio/ftello64.c: Likewise.
20944 * libio/iofgetpos64.c: Likewise.
20945 * libio/iofsetpos64.c: Likewise.
20946 * sysdeps/wordsize-64/lockf.c: File removed.
20947 * sysdeps/wordsize-64/lockf64.c: File removed.
20948 * sysdeps/wordsize-64/fseeko.c: File removed.
20949 * sysdeps/wordsize-64/fseeko64.c: File removed.
20950 * sysdeps/wordsize-64/ftello.c: File removed.
20951 * sysdeps/wordsize-64/ftello64.c: File removed.
20952 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20953 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20954 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20955 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20956 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20958 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20959 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20960 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20961 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20962 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20963 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20964 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20965 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20966
20967 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20969 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20971 [defined __arch64__ || defined __sparcv9]
20972 (__OFF_T_MATCHES_OFF64_T): New macro.
20973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20974 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20976 (__OFF_T_MATCHES_OFF64_T): New macro.
20977
20978 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20979
20980 * stdlib/secure-getenv.c (__secure_getenv): Replace
20981 GLIBC_2_16 with GLIBC_2_17.
20982
20983 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20984
20985 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20987
20988 2012-08-03 David S. Miller <davem@davemloft.net>
20989
20990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20991
20992 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20993
20994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20995 Remove.
20996 (__ASSUME_CORRECT_SI_PID): Likewise.
20997 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20998 (__ASSUME_TMPFS_NAME): Likewise.
20999 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21000 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21001 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21002 (HAVE_AUX_SECURE): Make definition unconditional.
21003 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21004 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21005
21006 2012-08-03 Roland McGrath <roland@hack.frob.com>
21007
21008 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21009 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21010 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21012 __eloop_threshold instead of SYMLOOP_MAX.
21013
21014 * sysdeps/generic/eloop-threshold.h: New file.
21015 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21016 of MAXSYMLINKS.
21017 * elf/chroot_canon.c (chroot_canon): Likewise.
21018
21019 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21020
21021 [BZ #13717]
21022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21023 Change to 2.6.0 everywhere.
21024 * sysdeps/unix/sysv/linux/configure: Regenerated.
21025 * sysdeps/unix/sysv/linux/kernel-features.h
21026 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21027 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21028 kernel versions.
21029 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21030 (__ASSUME_FUTEX_REQUEUE): Remove.
21031 (__ASSUME_STATFS64): Define unconditionally.
21032 (__ASSUME_AT_SECURE): Likewise.
21033 (__ASSUME_CORRECT_SI_PID): Likewise.
21034 (__ASSUME_TGKILL): Define without depending on kernel version for
21035 i386.
21036 (__ASSUME_UTIMES): Likewise.
21037 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21038 kernel version.
21039 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21040 (__ASSUME_TMPFS_NAME): Likewise.
21041 * README: Update reference to Linux kernel versions.
21042
21043 2012-08-02 Marek Polacek <polacek@redhat.com>
21044
21045 [BZ# 14150]
21046 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21047 libc_cv_asm_type_prefix with %.
21048 * configure: Regenerated.
21049 * include/libc-symbols.h: Remove comment about
21050 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21051 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21052 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21053 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21054 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21055 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21056 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21057 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21058 * elf/tst-unique2mod1.c: Likewise.
21059 * elf/tst-unique1mod2.c: Likewise.
21060 * elf/tst-unique1mod1.c: Likewise.
21061 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21062 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21063 Replace ASM_TYPE_DIRECTIVE with .type.
21064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21065 * sysdeps/i386/sysdep.h: Likewise.
21066 * sysdeps/x86_64/sysdep.h: Likewise.
21067 * sysdeps/sh/sysdep.h: Likewise.
21068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21069 Do not define ASM_TYPE_DIRECTIVE.
21070 * sysdeps/powerpc/sysdep.h: Likewise.
21071 * sysdeps/powerpc/powerpc32/sysdep.h:
21072 Replace ASM_TYPE_DIRECTIVE with .type.
21073 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21074 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21075 * sysdeps/i386/fpu/e_powf.S: Likewise.
21076 * sysdeps/i386/fpu/e_expl.S: Likewise.
21077 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21078 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21079 * sysdeps/i386/fpu/e_pow.S: Likewise.
21080 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21081 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21082 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21083 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21084 * sysdeps/i386/fpu/e_log2.S: Likewise.
21085 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21086 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21087 * sysdeps/i386/fpu/e_powl.S: Likewise.
21088 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21089 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21090 * sysdeps/i386/fpu/e_logl.S: Likewise.
21091 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21092 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21093 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21094 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21095 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21096 * sysdeps/i386/fpu/e_log.S: Likewise.
21097 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21098 * sysdeps/i386/fpu/e_logf.S: Likewise.
21099 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21101 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21102 * sysdeps/i386/fpu/e_log10.S: Likewise.
21103 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21104 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21105 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21106 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21107 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21108 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21109 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21110 * sysdeps/i386/i686/strtok.S: Likewise.
21111 * sysdeps/i386/i386-mcount.S: Likewise.
21112 * sysdeps/i386/strtok.S: Likewise.
21113 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21114 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21116 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21117 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21118 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21119 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21120 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21121 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21122 * sysdeps/x86_64/_mcount.S: Likewise.
21123 * sysdeps/x86_64/strtok.S: Likewise.
21124 * sysdeps/sh/_mcount.S: Likewise.
21125
21126 2012-08-01 Roland McGrath <roland@hack.frob.com>
21127
21128 * libio/iofopen.c: Include <fcntl.h>.
21129 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21130 (_IO_fopen64, fopen64): Define as aliases.
21131 * libio/iofopen64.c: Include <fcntl.h>.
21132 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21133 Conditionalize body on this.
21134 * sysdeps/wordsize-64/iofopen.c: File removed.
21135 * sysdeps/wordsize-64/iofopen64.c: File removed.
21136
21137 2012-08-01 Marek Polacek <polacek@redhat.com>
21138
21139 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21140 Use dlfcn directly instead of a variable.
21141 (binfmt-subdir): Do not define.
21142 (dlfcn): Likewise.
21143
21144 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21145
21146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21147 Remove all definitions.
21148 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21149 <kernel-features.h>.
21150 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21151 (miss_F_GETOWN_EX): Remove all definitions.
21152 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21153 macro definition.
21154 [!__ASSUME_FCNTL64]: Remove conditional code.
21155 [__ASSUME_FCNTL64]: Make code unconditional.
21156 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21157 <kernel-features.h>.
21158 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21159 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21160 (lockf64) [__NR_fcntl64]: Make code unconditional.
21161 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21162
21163 * sysdeps/unix/sysv/linux/kernel-features.h
21164 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21165 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21166 Make code unconditional.
21167 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21168 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21170 [__NR_vfork]: Make code unconditional.
21171 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21172 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21174 [__NR_vfork]: Make code unconditional.
21175 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21176 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21177
21178 2012-08-01 Roland McGrath <roland@hack.frob.com>
21179
21180 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21181 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21182
21183 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21184 Define mkstemp64 as an alias.
21185 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21186 Define mkstemps64 as an alias.
21187 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21188 Define mkostemp64 as an alias.
21189 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21190 Define mkostemps64 as an alias.
21191 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21192 Conditionalize body on this.
21193 * misc/mkostemp64.c: Likewise.
21194 * misc/mkostemps64.c: Likewise.
21195 * misc/mkstemps64.c: Likewise.
21196 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21197 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21198 * sysdeps/wordsize-64/mkostemp.c: File removed.
21199 * sysdeps/wordsize-64/mkstemp.c: File removed.
21200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21201 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21203 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21204
21205 [BZ #14138]
21206 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21207 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21208 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21209 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21210
21211 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21212 compat_symbol macros from <shlib-compat.h> rather than the underlying
21213 default_symbol_version and symbol_version macros, so that DEFAULT
21214 lines in shlib-versions are respected.
21215 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21216
21217 2012-08-01 Florian Weimer <fweimer@redhat.com>
21218
21219 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21220 Declare with warn_unused_result.
21221 (setgid, setregid, setegid, setresgid): Likewise.
21222 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21223 Likewise.
21224 * WUR-REPORT: Remove set*id functions.
21225
21226 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21227
21228 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21229
21230 2012-07-31 Roland McGrath <roland@hack.frob.com>
21231
21232 [BZ #10191]
21233 * include/sys/socket.h (__libc_accept, __libc_accept4):
21234 Add attribute_hidden.
21235 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21236
21237 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21238 use of PTR_MANGLE.
21239 * inet/getnetgrent_r.c (setup): Likewise.
21240
21241 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21242
21243 2012-07-31 David S. Miller <davem@davemloft.net>
21244
21245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21246
21247 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21248
21249 [BZ #13629]
21250 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21251 value between 1.0 and 2.0 and smaller part has absolute value less
21252 than 1.0.
21253 * math/s_clog10.c (__clog10): Likewise.
21254 * math/s_clog10f.c (__clog10f): Likewise.
21255 * math/s_clog10l.c (__clog10l): Likewise.
21256 * math/s_clogf.c (__clogf): Likewise.
21257 * math/s_clogl.c (__clogl): Likewise.
21258 * math/libm-test.inc (clog_test): Add more tests.
21259 (clog10_test): Likewise.
21260 * sysdeps/i386/fpu/libm-test-ulps: Update.
21261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21262
21263 2012-07-31 Florian Weimer <fweimer@redhat.com>
21264
21265 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21266 Exit with zero in case no suitable GID is found, and write a
21267 message to standard error.
21268
21269 2012-07-30 Roland McGrath <roland@hack.frob.com>
21270
21271 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21272 rather than to 1.
21273 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21274 (MAXPATHLEN): Removed.
21275 (NOGROUP, NODEV): New macros.
21276 (setbit, clrbit, isset, isclr): New macros.
21277 (howmany, roundup, powerof2): New macros.
21278 (DEV_BSIZE): New macro.
21279
21280 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21281 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21282
21283 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21284 definition on [!__NO_LONG_DOUBLE_MATH].
21285
21286 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21287 PTR_MANGLE and PTR_DEMANGLE.
21288
21289 * socket/accept4.c (accept4): Rename to __libc_accept4.
21290 Define accept4 as a weak alias.
21291
21292 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21293 on [_DIRENT_HAVE_D_TYPE].
21294 * io/ftw.c (ftw_dir): Likewise.
21295
21296 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21297
21298 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21299
21300 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21301 Use the BSD numbers rather than the arbitrary ones we had.
21302 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21303 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21304 (SIGXCPU, SIGXFSZ): New macros.
21305 (_NSIG): Now 32.
21306
21307 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21308 initializer on [_LIBC_REENTRANT].
21309
21310 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21311 definitions inside [_POSIX_MAPPED_FILES].
21312
21313 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21314
21315 * dirent/opendir.c: Include <fcntl.h>.
21316
21317 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21318 (__libc_getspecific): Likewise.
21319 (__libc_key_create): Likewise.
21320
21321 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21322 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21323 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21324 (tmpfile64): Define as alias.
21325 * sysdeps/wordsize-64/tmpfile.c: File removed.
21326 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21328 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21329
21330 * stdio-common/vfscanf.c: Include <stdbool.h>.
21331 * nss/makedb.c: Likewise.
21332 * stdio-common/_i18n_number.h: Likewise.
21333 * argp/argp-help.c: Likewise.
21334 * posix/wordexp.c: Likewise.
21335 * sysdeps/posix/spawni.c: Likewise.
21336 * nss/nss_files/files-initgroups.c: Likewise.
21337 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21338 * nss/nss_files/files-initgroups.c: Likewise.
21339 * nss/nss_db/db-netgrp.c: Likewise.
21340 * nss/nss_db/db-initgroups.c: Likewise.
21341 * io/fchmodat.c: Include <sys/stat.h>.
21342
21343 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21344 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21345
21346 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21347 [HAVE_MMAP].
21348
21349 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21350 Add multiple inclusion protection.
21351
21352 2012-07-27 David S. Miller <davem@davemloft.net>
21353
21354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21355
21356 2012-07-27 Gary Benson <gbenson@redhat.com>
21357
21358 [BZ #14298]
21359 * elf/rtld.c: Include <stap-probe.h>.
21360 (dl_main): Added static probes "init_start" and "init_complete".
21361 * elf/dl-load.c: Include <stap-probe.h>.
21362 (lose): Take new parameter "nsid".
21363 Added static probe "map_failed".
21364 (_dl_map_object_from_fd): Pass namespace id to lose.
21365 Added static probe "map_start".
21366 (open_verify): Pass namespace id to lose.
21367 * elf/dl-open.c: Include <stap-probe.h>.
21368 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21369 and "reloc_complete".
21370 * elf/dl-close.c: Include <stap-probe.h>.
21371 (_dl_close_worker): Added static probes "unmap_start" and
21372 "unmap_complete".
21373 * elf/rtld-debugger-interface.txt: New file documenting the above.
21374
21375 2012-07-26 Roland McGrath <roland@hack.frob.com>
21376
21377 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21378 rather than a string variable.
21379 * sunrpc/rpc_main.c (h_output): Likewise.
21380 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21381
21382 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21383
21384 * inet/check_native.c: New file.
21385
21386 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21387
21388 [BZ #13629]
21389 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21390 if larger part has absolute value 1.0.
21391 * math/s_clog10.c (__clog10): Likewise.
21392 * math/s_clog10f.c (__clog10f): Likewise.
21393 * math/s_clog10l.c (__clog10l): Likewise.
21394 * math/s_clogf.c (__clogf): Likewise.
21395 * math/s_clogl.c (__clogl): Likewise.
21396 * math/libm-test.inc (clog_test): Add more tests.
21397 (clog10_test): Likewise.
21398 * sysdeps/i386/fpu/libm-test-ulps: Update.
21399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21400
21401 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21402 (pltexit): Likewise.
21403 (La_regs): Likewise.
21404 (La_retval): Likewise.
21405 (int_retval): Likewise.
21406 Update #error for removed macros to refer only to definitions in
21407 tst-audit.h.
21408 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21409 macro.
21410 (pltexit): Likewise.
21411 (La_regs): Likewise.
21412 (La_retval): Likewise.
21413 (int_retval): Likewise.
21414 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21415 macro.
21416 (pltexit): Likewise.
21417 (La_regs): Likewise.
21418 (La_retval): Likewise.
21419 (int_retval): Likewise.
21420 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21421 macro.
21422 (pltexit): Likewise.
21423 (La_regs): Likewise.
21424 (La_retval): Likewise.
21425 (int_retval): Likewise.
21426 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21427 macro.
21428 (pltexit): Likewise.
21429 (La_regs): Likewise.
21430 (La_retval): Likewise.
21431 (int_retval): Likewise.
21432 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21433 macro.
21434 (pltexit): Likewise.
21435 (La_regs): Likewise.
21436 (La_retval): Likewise.
21437 (int_retval): Likewise.
21438 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21439 macro.
21440 (pltexit): Likewise.
21441 (La_regs): Likewise.
21442 (La_retval): Likewise.
21443 (int_retval): Likewise.
21444 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21445 macro definitions in tst-audit.h.
21446 * sysdeps/i386/tst-audit.h: New file.
21447 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21448 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21449 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21450 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21451 * sysdeps/sh/tst-audit.h: Likewise.
21452 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21453 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21454 * sysdeps/x86_64/tst-audit.h: Likewise.
21455
21456 2012-07-26 Andreas Jaeger <aj@suse.de>
21457
21458 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21459 ptrace.
21460
21461 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21462 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21463 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21464 PTRACE_O_MASK.
21465 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21466 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21467 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21468
21469 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21470 value.
21471
21472 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21473 _sigsys.
21474 (si_call_addr, si_syscall, si_arch): Define new macro.
21475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21476 _sigsys.
21477 (si_call_addr, si_syscall, si_arch): Define new marcro.
21478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21479 _sigsys.
21480 (si_call_addr, si_syscall, si_arch): Define new macro.
21481 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21482 _sigsys.
21483 (si_call_addr, si_syscall, si_arch): Define new macro.
21484
21485 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21486
21487 [BZ #13717]
21488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21489 Change to 2.4.21 where previously 2.4.1.
21490 * sysdeps/unix/sysv/linux/configure: Regenerated.
21491 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21492 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21493 Linux kernel version.
21494 (__ASSUME_STD_AUXV): Remove.
21495 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21496 kernel version.
21497 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21498 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21499 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21500 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21501 (__ASSUME_NETLINK_SUPPORT): Likewise.
21502 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21503 (__no_netlink_support): Remove conditional definition.
21504 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21505 Remove.
21506 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21507 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21508 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21509 (if_nameindex_ioctl): Remove.
21510 (if_nameindex_netlink): Do not handle __no_netlink_support.
21511 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21512 code.
21513 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21514 Remove conditional code.
21515 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21516 code.
21517 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21518 unconditional.
21519 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21520 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21521 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21522 Remove.
21523 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21524 [!__ASSUME_STD_AUXV]: Remove conditional code.
21525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21526 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21527 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21529 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21530 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21531 code.
21532 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21534 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21535 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21536 conditional code.
21537 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21539 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21540 code.
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21542 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21543 conditional code.
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21545 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21546 code unconditional.
21547 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21548 conditional code.
21549 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21550 unconditional.
21551 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21552 conditional code.
21553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21554 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21555 unconditional.
21556 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21557 conditional code.
21558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21559 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21560 code unconditional.
21561 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21562 conditional code.
21563 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21564 unconditional.
21565 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21566 conditional code.
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21568 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21569 code unconditional.
21570 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21571 conditional code.
21572 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21573 unconditional.
21574 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21575 conditional code.
21576
21577 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21578
21579 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21580 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21581 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21582 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21583 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21584 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21585 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21586 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21587 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21588 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21589 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21590 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21591 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21592 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21593 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21594 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21595 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21597 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21599 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21600 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21601 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21602
21603 2012-07-25 Florian Weimer <fweimer@redhat.com>
21604
21605 * Versions.def: Add GLIBC_2.17.
21606 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21607 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21608 Introduce __libc_secure_getenv.
21609 * stdlib/Versions (2.17): Add secure_getenv
21610 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21611 * stdlib/secure-getenv.c: Rename __secure_getenv to
21612 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21613 symbol __secure_getenv for GLIBC_2.0.
21614 * stdlib/tst-secure-getenv.c: New.
21615 * stdlib/Makefile (tests): Add testcase.
21616 * manual/startup.texi (Environment Access): Document
21617 secure_getenv.
21618 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21619 __libc_secure_getenv.
21620 * inet/ruserpass.c (ruserpass): Likewise.
21621 * malloc/mtrace.c (mtrace): Likewise.
21622 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21623 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21624 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21625 * sysdeps/posix/tempname.c: Likewise. Evaluate
21626 HAVE_SECURE_GETENV.
21627 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21628 __secure_getenv to __libc_secure_getenv.
21629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21631 Likewise.
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21633 Likewise.
21634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21636 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21641
21642 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21643
21644 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21645 (struct La_i86_retval): Likewise.
21646 (struct La_x86_64_regs): Likewise.
21647 (struct La_x86_64_retval): Likewise.
21648 (struct La_x32_regs): Likewise.
21649 (struct La_x32_retval): Likewise.
21650 (struct La_ppc32_regs): Likewise.
21651 (struct La_ppc32_retval): Likewise.
21652 (struct La_ppc64_regs): Likewise.
21653 (struct La_ppc64_retval): Likewise.
21654 (struct La_sh_regs): Likewise.
21655 (struct La_sh_retval): Likewise.
21656 (struct La_s390_32_regs): Likewise.
21657 (struct La_s390_32_retval): Likewise.
21658 (struct La_s390_64_regs): Likewise.
21659 (struct La_s390_64_retval): Likewise.
21660 (struct La_sparc32_regs): Likewise.
21661 (struct La_sparc32_retval): Likewise.
21662 (struct La_sparc64_regs): Likewise.
21663 (struct La_sparc64_retval): Likewise.
21664 (struct audit_ifaces): Remove architecture-specific pltenter and
21665 pltexit members.
21666 * sysdeps/i386/ldsodefs.h: New file.
21667 * sysdeps/powerpc/ldsodefs.h: Likewise.
21668 * sysdeps/s390/ldsodefs.h: Likewise.
21669 * sysdeps/sh/ldsodefs.h: Likewise.
21670 * sysdeps/sparc/ldsodefs.h: Likewise.
21671 * sysdeps/x86_64/ldsodefs.h: Likewise.
21672
21673 2012-07-25 Marek Polacek <polacek@redhat.com>
21674
21675 [BZ #6808]
21676 * math/libm-test.inc (yn_test): Add another test.
21677 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21678 to ERANGE when the result is +-Inf.
21679 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21680 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21681 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21682 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21683
21684 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21685
21686 * conform/data/time.h-data (NULL): Use macro-constant. Require
21687 equal to 0.
21688 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21689 clock_t.
21690 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21691
21692 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21693
21694 * configure.in <sysdeps resolving>: Correct printing
21695 Implies_before.
21696 * configure: Regenerate.
21697
21698 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21699
21700 * math/w_ilogb.c: Include <limits.h>.
21701 * math/w_ilogbl.c: Likewise.
21702
21703 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21704
21705 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21706 va_copy. Document allowing for unavailable va_copy only as
21707 pre-C99 compatibility.
21708 * manual/string.texi (Copying and Concatenation): Use va_copy
21709 instead of __va_copy in concat example.
21710
21711 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21712
21713 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21714 (__sendto): Use create_address_port. Initialize APORT and deallocate
21715 it if not null.
21716
21717 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21718 with O_NOLINK passed to __file_name_lookup.
21719
21720 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21721 with O_NOLINK passed to __file_name_lookup.
21722
21723 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21724 negative N or less than NGIDS.
21725
21726 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21727 type to string_t. Set ERANGE as errno and return it if NAME is not big
21728 enough. Use memcpy instead of strncpy.
21729
21730 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21731
21732 * elf/Makefile (check-data): Remove.
21733 (localplt.data): New vpath directive.
21734 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21735 instead of $(check-data).
21736 * scripts/data/localplt-generic.data: Move to ...
21737 * sysdeps/generic/localplt.data: ... here.
21738 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21739 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21740 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21742 ... here.
21743 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21745 ... here.
21746 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21748 ... here.
21749 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21751 ... here.
21752 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21754 ... here.
21755 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21757 ... here.
21758
21759 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21760
21761 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21762 PPC32 and PPC64 files.
21763 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21764 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21765
21766 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21767
21768 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21769 __makecontext_ret to ...
21770 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21771 ... here and call exit if uc_link is NULL. New file.
21772 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21773 __makecontext_ret.S.
21774 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21775 __makecontext_ret to ...
21776 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21777 ... here and call exit if uc_link is NULL. New file.
21778 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21779 __makecontext_ret.S.
21780
21781 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21782
21783 * elf/elf.h (R_390_IRELATIVE): New definition.
21784 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21785 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21786 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21787 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21788 (elf_machine_lazy_rel): Likewise.
21789 * sysdeps/s390/dl-irel.h: New file.
21790 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21791 * sysdeps/s390/s390-64/memset.S: New asm code.
21792 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21793 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21794 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21795 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21796 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21797 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21798 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21799 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21800 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21801 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21802 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21803 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21804 * sysdeps/s390/s390-32/memset.S: New asm code.
21805 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21806
21807 2012-07-17 Marek Polacek <polacek@redhat.com>
21808
21809 [BZ #14349]
21810 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21811 * sysdeps/s390/s390-64/configure.in: Likewise.
21812 * sysdeps/sparc/configure.in: Likewise.
21813 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21814 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21815 * sysdeps/i386/configure.in: Likewise.
21816 * sysdeps/x86_64/configure.in: Likewise.
21817 * sysdeps/sh/configure.in: Likewise.
21818 * sysdeps/s390/s390-32/configure: Regenerated.
21819 * sysdeps/s390/s390-64/configure: Likewise.
21820 * sysdeps/x86_64/configure: Likewise.
21821 * sysdeps/sh/configure: Likewise.
21822 * sysdeps/powerpc/powerpc64/configure: Likewise.
21823 * sysdeps/powerpc/powerpc32/configure: Likewise.
21824 * sysdeps/sparc/configure: Likwise.
21825 * sysdeps/i386/configure: Likewise.
21826
21827 * elf/dl-open.c: Comment fixes.
21828
21829 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21830
21831 * Makefile [CXX] (check-data): Remove.
21832 [CXX] (c++-types.data): New vpath directive.
21833 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21834 vpath. Do not allow for C++ type data being missing.
21835 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21836 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21837 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21838 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21839 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21840 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21841 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21843 ... here.
21844 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21846 ... here.
21847 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21849 ... here.
21850 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21852 ... here.
21853 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21855 ... here.
21856 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21858 ... here.
21859 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21861 ... here.
21862 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21864
21865 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21866 definitions to architecture-specific files.
21867 (TLS_IE): Likewise.
21868 (TLS_LD): Likewise.
21869 (TLS_GD): Likewise.
21870 * sysdeps/i386/tls-macros.h: New file.
21871 * sysdeps/powerpc/tls-macros.h: Likewise.
21872 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21873 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21874 * sysdeps/sh/tls-macros.h: Likewise.
21875 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21876 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21877 * sysdeps/x86_64/tls-macros.h: Likewise.
21878
21879 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21880
21881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21882 zero value for regular exit case.
21883
21884 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21885 (__start_context): Preserve zero value for regular exit case.
21886
21887 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21888 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21889
21890 * manual/setjmp.texi (setcontext): Clarify normal process
21891 termination when uc_link is the null pointer.
21892 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21893 exit call.
21894
21895 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21896
21897 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21898 preprocessor. Test for each exception mask separately.
21899
21900 2012-07-16 Andreas Jaeger <aj@suse.de>
21901
21902 * po/ru.po: Update from translation team.
21903
21904 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21905
21906 * conform/data/string.h-data (NULL): Use macro-constant. Require
21907 equal to 0.
21908 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21909 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21910 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21911 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21913
21914 2012-07-13 Andreas Jaeger <aj@suse.de>
21915
21916 * po/fr.po: Update from translation team.
21917
21918 2012-07-12 Marek Polacek <polacek@redhat.com>
21919
21920 [BZ #14173]
21921 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21923 loop condition.
21924
21925 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21926
21927 [BZ #13717]
21928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21929 Change to 2.4.1 where previously 2.4.0.
21930 * sysdeps/unix/sysv/linux/configure: Regenerated.
21931 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21932 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21933 version.
21934 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21935 (__ASSUME_AT_CLKTCK): Remove.
21936 (__ASSUME_AT_PAGESIZE): Likewise.
21937 (__ASSUME_AT_XID): Likewise.
21938 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21939 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21940 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21941 unconditionally.
21942 (HAVE_AUX_PAGESIZE): Likewise.
21943 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21944 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21945 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21946
21947 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21948
21949 [BZ #14307]
21950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21951 the temporary buffer used to invoke __gethostbyname2_r,
21952 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21953 host_data / struct gaih_addrtuple.
21954 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21955 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21956 header file nss/nsswitch.h.
21957 * nss/nsswitch.h (global scope): Add definition of implementation
21958 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21959 resolv/nss_dns/dns-host.c).
21960
21961 2012-07-11 Andreas Jaeger <aj@suse.de>
21962
21963 * po/fr.po: Update from translation team.
21964
21965 * po/sv.po: Update from translation team
21966 * po/fr.po: Another update from translation team.
21967
21968 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21969
21970 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21971 for subnormals or multiply small sinh result by itself.
21972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21974
21975 2012-07-11 David S. Miller <davem@davemloft.net>
21976
21977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21978
21979 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21980
21981 [BZ #14347]
21982 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21983 (INTERNAL_MARK): Shift it here.
21984
21985 2012-07-10 Marek Polacek <polacek@redhat.com>
21986
21987 [BZ #14151]
21988 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21989 libc_cv_asm_global_directive with .globl.
21990 * configure: Regenerated.
21991 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21992 with .globl.
21993 * sysdeps/i386/configure: Regenerated.
21994 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21995 with .globl.
21996 * sysdeps/x86_64/configure: Regenerated.
21997 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21998 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21999 * elf/tst-unique2mod2.c: Likewise.
22000 * elf/tst-unique2mod1.c: Likewise.
22001 * elf/tst-unique1mod2.c: Likewise.
22002 * elf/tst-unique1mod1.c: Likewise.
22003 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22004 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22005 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22006 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22007 * sysdeps/mach/sysdep.h: Likewise.
22008 * sysdeps/i386/sysdep.h: Likewise.
22009 * sysdeps/i386/i386-mcount.S: Likewise.
22010 * sysdeps/x86_64/_mcount.S: Likewise.
22011 * sysdeps/x86_64/sysdep.h: Likewise.
22012 * sysdeps/sh/_mcount.S: Likewise.
22013 * sysdeps/sh/sysdep.h: Likewise.
22014 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22015 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22016 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22017 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22018 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22019 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22020 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22021 * locale/localeinfo.h: Likewise.
22022 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22023 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22024
22025 2012-07-09 Roland McGrath <roland@hack.frob.com>
22026
22027 [BZ #14336]
22028 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22029 system".
22030 * manual/message.texi (The Uniforum approach): Likewise.
22031 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22032 (glibc iconv Implementation): Likewise.
22033
22034 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22035
22036 [BZ #14337]
22037 * math/s_clog.c (__clog): Avoid scaling a value down where that
22038 could result in underflow.
22039 * math/s_clog10.c (__clog10): Likewise.
22040 * math/s_clog10f.c (__clog10f): Likewise.
22041 * math/s_clog10l.c (__clog10l): Likewise.
22042 * math/s_clogf.c (__clogf): Likewise.
22043 * math/s_clogl.c (__clogl): Likewise.
22044 * math/libm-test.inc (clog_test): Add more tests.
22045 (clog10_test): Likewise.
22046 * sysdeps/i386/fpu/libm-test-ulps: Update.
22047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22048
22049 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22050
22051 [BZ #14283]
22052 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22053 by 7 not 8 to examine high bit of fractional part.
22054
22055 [BZ #14042]
22056 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22057 for call to __mcount_internal.
22058 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22059 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22060 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22061
22062 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22063
22064 [BZ #14154]
22065 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22066 approximation for values within 0x1p-13f of an odd multiple of
22067 pi/4.
22068 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22069 exception. Add more tests.
22070 * sysdeps/i386/fpu/libm-test-ulps: Update.
22071
22072 [BZ #6778]
22073 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22074 inputs and return -1 for them. Do not check for +Inf in case not
22075 reachable for +Inf.
22076 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22077 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22078 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22079 and return -1 for them. Do not check for +Inf in case not
22080 reachable for +Inf.
22081 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22082 define.
22083 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22084 and return -1 for them. Do not check for +Inf in case not
22085 reachable for +Inf.
22086 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22087 spurious underflow.
22088 * sysdeps/i386/fpu/libm-test-ulps: Update.
22089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22090
22091 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22092
22093 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22094
22095 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22096
22097 [BZ #14157]
22098 [BZ #14331]
22099 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22100 could result in spurious underflow. Scale down values above
22101 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22102 * math/s_csqrtf.c (__csqrtf): Likewise.
22103 * math/s_csqrtl.c (__csqrtl): Likewise.
22104 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22105 spurious underflow.
22106 * sysdeps/i386/fpu/libm-test-ulps: Update.
22107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22108
22109 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22110
22111 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22112 xopen-msg.sed.
22113 * catgets/xopen-msg.awk: New file.
22114 * catgets/xopen-msg.sed: Removed.
22115
22116 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22117 po2text.sed.
22118 * intl/po2test.awk: New file.
22119 * intl/po2test.sed: Removed.
22120
22121 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22122
22123 [BZ #14328]
22124 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22125 or multiply small sinh result by itself.
22126 * math/s_ctanf.c (__ctanf): Likewise.
22127 * math/s_ctanh.c (__ctanh): Likewise.
22128 * math/s_ctanhf.c (__ctanhf): Likewise.
22129 * math/s_ctanhl.c (__ctanhl): Likewise.
22130 * math/s_ctanl.c (__ctanl): Likewise.
22131 * math/libm-test.inc (ctan_test_tonearest): New function.
22132 (ctan_test_towardzero): Likewise.
22133 (ctan_test_downward): Likewise.
22134 (ctan_test_upward): Likewise.
22135 (ctanh_test_tonearest): Likewise.
22136 (ctanh_test_towardzero): Likewise.
22137 (ctanh_test_downward): Likewise.
22138 (ctanh_test_upward): Likewise.
22139 (main): Call these new functions.
22140 * sysdeps/i386/fpu/libm-test-ulps: Update.
22141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22142
22143 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22144
22145 * .gitignore: Delete /ports entry.
22146
22147 2012-07-03 Andreas Jaeger <aj@suse.de>
22148
22149 * po/bg.po: Update from translation team.
22150 * po/cs.po: Likewise.
22151 * po/de.po: Likewise.
22152 * po/hr.po: Likewise.
22153 * po/nl.pl: Likewise.
22154 * po/pl.po: Likewise.
22155 * po/vi.po: Likewise.
22156
22157 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22158
22159 * Makeconfig [!+link] (+link-before-libc): New variable.
22160 [!+link] (+link-after-libc): Likewise.
22161 [!+link] (+link-tests): Likewise.
22162 [!+link] (+link): Define in terms of $(+link-before-libc) and
22163 $(+link-after-libc).
22164 [!+link-static] (+link-static-before-libc): New variable.
22165 [!+link-static] (+link-static-after-libc): Likewise.
22166 [!+link-static] (+link-static-tests): Likewise.
22167 [!+link-static] (+link-static): Define in terms of
22168 $(+link-static-before-libc) and $(+link-static-after-libc).
22169 [build-shared] (link-libc-before-gnulib): New variable.
22170 [build-shared] (link-libc-tests): Likewise.
22171 [build-shared] (link-libc): Define in terms of
22172 $(link-libc-before-gnulib).
22173 [!build-shared] (link-libc-tests): New variable.
22174 (link-libc-static-tests): New variable.
22175 [!gnulib] (gnulib-arch): New variable.
22176 [!gnulib] (gnulib-tests): Likewise.
22177 [!gnulib] (static-gnulib-arch): Likewise.
22178 [!gnulib] (static-gnulib-tests): Likewise.
22179 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22180 Define with "=" instead of ":=".
22181 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22182 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22183 * Rules (binaries-all-notests): New variable.
22184 (binaries-all-tests): Likewise.
22185 (binaries-static-notests): Likewise.
22186 (binaries-static-tests): Likewise.
22187 (binaries-all): Define using $(binaries-all-notests) and
22188 $(binaries-all-tests).
22189 (binaries-static): Define using $(binaries-static-notests) and
22190 $(binaries-static-tests).
22191 (binaries-shared-tests): New variable.
22192 (binaries-shared-notests): Likewise.
22193 (binaries-shared): Remove variable.
22194 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22195 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22196 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22197 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22198 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22199 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22200 * elf/Makefile (sln-modules): New variable.
22201 (extra-objs): Add $(sln-modules:=.o).
22202 (ldconfig-modules): Add static-stubs.
22203 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22204 * elf/static-stubs.c: New file.
22205
22206 [BZ #14283]
22207 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22208 by 7 not 8 to examine high bit of fractional part. Use volatile
22209 variables when splitting into final array of floats if
22210 __FLT_EVAL_METHOD__ != 0.
22211 * math/libm-test.inc (cos_test): Add another test.
22212 (sin_test): Likewise.
22213 * sysdeps/i386/fpu/libm-test-ulps: Update.
22214
22215 [BZ #14273]
22216 * math/libm-test.inc (cosh_test): Add more tests.
22217
22218 * version.h (RELEASE): Set to "development".
22219 (VERSION): Set to "2.16.90".
22220
22221 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22222
22223 * NEWS: Update copyright. Remove last-updated date.
22224 Mention math library bug fixes and timezone data changes.
22225 * README: Mention GNU/Hurd, x32, and HPPA support status.
22226
22227 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22228
22229 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22230
22231 2012-06-27 Andreas Jaeger <aj@suse.de>
22232
22233 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22234
22235 2012-06-25 Andreas Jaeger <aj@suse.de>
22236
22237 * sysdeps/s390/fpu/libm-test-ulps: Update.
22238
22239 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22240 Thomas Schwinge <thomas@codesourcery.com>
22241
22242 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22243 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22245 fanotify_mark.
22246
22247 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22248
22249 * sysdeps/mach/start.c: Remove file.
22250 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22251 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22252 * sysdeps/sh/init-first.c: Likewise.
22253
22254 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22255 registers for frame unwinding purposes, add CFI directives.
22256 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22257 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22258 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22259 Likewise.
22260
22261 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22262 __fortify_fail returning.
22263 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22264
22265 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22266 sysdeps/sh/____longjmp_chk.S.
22267 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22268 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22269 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22270 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22271
22272 * sysdeps/sh/abort-instr.h: New file.
22273 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22274 process in case exit returns.
22275
22276 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22277 initialize the GOT register before use.
22278
22279 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22280 calculation of ARGC > 4.
22281
22282 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22283 meaningful names to some local labels.
22284
22285 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22286 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22287
22288 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22289 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22290 (__arch_compare_and_exchange_val_16_acq): Likewise.
22291 (__arch_compare_and_exchange_val_32_acq): Likewise.
22292 (atomic_exchange_and_add): Fix gUSA sequence.
22293 (atomic_add): Likewise.
22294 (atomic_add_negative): Likewise.
22295 (atomic_add_zero): Likewise.
22296 (atomic_bit_test_set): Likewise.
22297
22298 2012-06-22 Andreas Schwab <schwab@redhat.com>
22299
22300 [BZ #13579]
22301 * include/link.h (struct link_map): Add l_free_initfini.
22302 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22303 l_initfini.
22304 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22305 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22306 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22307 set.
22308
22309 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22310
22311 * configure.in: Use AC_LANG_SOURCE.
22312 * configure: Regenerate.
22313
22314 2012-06-22 Roland McGrath <roland@hack.frob.com>
22315
22316 * configure.in (libc_cv_localstatedir): New substituted variable.
22317 * configure: Regenerated.
22318 * config.make.in (localstatedir): New variable, substituted from
22319 libc_cv_localstatedir.
22320 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22321 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22322 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22323 * sysdeps/gnu/configure: Regenerated.
22324
22325 2012-06-21 Jeff Law <law@redhat.com>
22326
22327 [BZ #14277]
22328 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22329 free. Simplify list management for _LIBC case.
22330
22331 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22332
22333 [BZ #14273]
22334 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22335 Clear sign bit of 64-bit integer value before comparing against
22336 overflow value.
22337
22338 * sysdeps/mach/configure: Regenerated.
22339
22340 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 [BZ #14278]
22343 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22344
22345 2012-06-21 Jeff Law <law@redhat.com>
22346
22347 [BZ #13882]
22348 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22349 uint16_t for elements in the "seen" array to avoid char overflows.
22350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22351 * elf/dl-open.c (dl_open_worker): Likewise.
22352
22353 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22354
22355 * scripts/list-sources.sh: Scan PORTS for translations.
22356 * po/libc.pot: Regenerated.
22357
22358 2012-06-21 Andreas Jaeger <aj@suse.de>
22359
22360 [BZ #12194]
22361 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22362 warning.
22363 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22364 * bits/byteswap-16.h (__bswap_16): Likewise.
22365 * bits/byteswap.h (__bswap_constant_16): Likewise.
22366
22367 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22368
22369 [BZ #14117]
22370 * sysdeps/i386/fpu_control.h: Removed.
22371 * sysdeps/x86_64/fpu_control.h: Moved to ...
22372 * sysdeps/x86/fpu_control.h: Here.
22373
22374 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22375 (_FPU_SETCW): Likewise.
22376
22377 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22378
22379 [BZ #14117]
22380 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22381 * sysdeps/x86/fpu/bits/mathinline.h: This.
22382 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22383
22384 [BZ #14050]
22385 [BZ #14117]
22386 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22387 functions if __x86_64__ is defined.
22388
22389 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22390
22391 * string/endian.h: Add !__ASSEMBLER__ condition for including
22392 conversion interfaces.
22393
22394 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22395
22396 [BZ #14241]
22397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22398 of ABS(x) in calculating zero to negative powers other than odd
22399 integers.
22400 * math/libm-test.inc (pow_test): Add more tests.
22401
22402 2012-06-15 Andreas Jaeger <aj@suse.de>
22403
22404 * manual/contrib.texi (Contributors): Update entry of Liubov
22405 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22406 Machado Filho.
22407
22408 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22409
22410 * string/string.h: Add __wur to GNU version of strerror_r.
22411
22412 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22413
22414 [BZ #14229]
22415 * string/Makefile (tests): Add tst-strtok_r.
22416 * string/tst-strtok_r.c: New file.
22417 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22418 RAX_LP/RDX_LP on SAVE_PTR.
22419
22420 2012-06-14 Roland McGrath <roland@hack.frob.com>
22421
22422 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22423
22424 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22425
22426 * libm_test.inc (csqrt_test): Allow more spurious underflow
22427 exceptions.
22428 (j0_test): Likewise.
22429 (j1_test): Likewise.
22430 (y0_test): Likewise.
22431 (y1_test): Likewise.
22432
22433 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22434
22435 * po/Makefile (libc.pot): Use UTF-8 charset.
22436
22437 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22438
22439 [BZ #14210]
22440 Suppress sign-conversion warning from FD_SET.
22441 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22442 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22443 not unsigned long int.
22444 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22445
22446 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22447
22448 [BZ #14050]
22449 [BZ #14117]
22450 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22451 __extern_always_inline instead of __extern_inline.
22452 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22453 (__signbit): Likewise.
22454 (__signbitl): Support C++ namespace.
22455 (lrintf): New inline function.
22456 (lrint): Likewise.
22457 (llrintf): Likewise.
22458 (llrint): Likewise.
22459 (fmaxf): Likewise.
22460 (fmax): Likewise.
22461 (fminf): Likewise.
22462 (fmin): Likewise.
22463 (rint): Likewise.
22464 (rintf): Likewise.
22465 (ceil): Likewise.
22466 (ceilf): Likewise.
22467 (floor): Likewise.
22468 (floorf): Likewise.
22469 (nearbyint): Likewise.
22470 (nearbyintf): Likewise.
22471
22472 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22473
22474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22475 non-default versions.
22476
22477 2012-06-11 Roland McGrath <roland@hack.frob.com>
22478
22479 [BZ #14218]
22480 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22481
22482 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22483
22484 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22485 (FE_UPWARD, FE_DOWNWARD): Don't define.
22486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22487 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22488
22489 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22490 reading it.
22491 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22492 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22493
22494 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22495
22496 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22498 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22499 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22500
22501 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 [BZ #14117]
22504 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22505 * sysdeps/i386/fpu/Implies: New file.
22506 * sysdeps/x86_64/fpu/Implies: Likewise.
22507 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22508 * sysdeps/x86/fpu/bits/fenv.h: This.
22509
22510 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22511 __SSE_MATH__.
22512
22513 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22514
22515 [BZ #14134]
22516 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22517 character 0xffff that matches the last element of the
22518 conversion table.
22519
22520 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22521
22522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22523 fmodl commit.
22524
22525 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22526
22527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22528 values higher than 25.6283.
22529
22530 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22531
22532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22533 subnormal exponent extraction and add some __builtin_expect.
22534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22535 Fix for subnormal mantissa calculation.
22536
22537 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22538
22539 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22540 cpu2 is -1 and errno is not ENOSYS.
22541
22542 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 [BZ #14117]
22545 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22546 * sysdeps/x86/bits/string.h: This.
22547 * sysdeps/x86_64/bits/string.h: Removed.
22548
22549 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22550 if not compiling for x86-64, but compiling for >= i486.
22551
22552 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22553 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22554
22555 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22556 New macro from Linux kernel 3.4.0.
22557 (FP_XSTATE_MAGIC2): Likewise.
22558 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22559 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22560 (struct _fpx_sw_bytes): New struct.
22561 (struct _xsave_hdr): Likewise.
22562 (struct _ymmh_state): Likewise.
22563 (struct _xstate): Likewise.
22564
22565 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22566 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22568 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22569 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22570 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22571
22572 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22573 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22574 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22575 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22576 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22577 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22578
22579 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22580
22581 [BZ #13743]
22582 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22583 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22584 (sysdep_headers): Include sys/platform/ppc.h.
22585 * sysdeps/powerpc/test-gettimebase.c: Test for
22586 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22587 * manual/Makefile (appendices): Include platform.texi.
22588 * manual/contrib.texi (Contributors): Update @node pointers.
22589 * manual/maint.texi (Maintenance): Likewise.
22590 (Platform): New node.
22591 * manual/platform.texi: New file. Document the new features.
22592
22593 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22594 Jakub Jelinek <jakub@redhat.com>
22595
22596 [BZ #14188]
22597 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22598 where __builtin_expect is unavailable.
22599
22600 2012-06-03 David S. Miller <davem@davemloft.net>
22601
22602 * stdlib/longlong.h: Updated from GCC.
22603
22604 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22605
22606 [BZ #14042]
22607 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22608 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22609 __mcount_internal.
22610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22611 (GLIBC_2.16): Likewise.
22612
22613 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22614
22615 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22616
22617 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22618
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22620 (default-abi): New variable.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22622 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22623 variable.
22624 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22625 Likewise.
22626 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22627 Likewise.
22628 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22629 Likewise.
22630
22631 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22632 definition. Document in comment.
22633
22634 2012-06-01 David S. Miller <davem@davemloft.net>
22635
22636 * stdlib/longlong.h: Updated from GCC.
22637
22638 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22639
22640 [BZ #14117]
22641 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22642 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22643 sys/debugreg.h sys/io.h here.
22644 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22645 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22646 sys/io.h.
22647 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22648 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22649 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22650 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22651 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22652 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22653
22654 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22655 Define only if __x86_64__ is defined.
22656
22657 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22658
22659 [BZ #14048]
22660 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22661 Use int64_t for variable i.
22662 * math/libm-test.inc (fmod_test): Add more tests.
22663
22664 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22665 z computation is not scheduled after fetestexcept.
22666 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22667 Use math_force_eval instead of asm to ensure calculation scheduled
22668 before exception test.
22669 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22670 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22671
22672 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22673
22674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22675 computation is not scheduled after fetestexcept.
22676
22677 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22678
22679 [BZ #14117]
22680 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22681 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22682
22683 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22684
22685 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22686 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22687
22688 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 [BZ #14117]
22691 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22692 <bits/wordsize.h>.
22693 (__WCHAR_MIN): Support __WORDSIZE == 64.
22694 (__WCHAR_MAX): Likewise.
22695
22696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22697 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22698
22699 [BZ #14183]
22700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22701 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22702
22703 [BZ #14117]
22704 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22705 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22706
22707 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22708 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22709
22710 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22711 Defined to 1 if __x86_64__ isn't defined.
22712 (_STAT_VER_LINUX_OLD): New.
22713 (st_atime): Remove duplicate.
22714 (st_mtime): Likewise.
22715 (st_ctime): Likewise.
22716
22717 2012-05-31 David S. Miller <davem@davemloft.net>
22718
22719 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22720 entries.
22721
22722 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22723
22724 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22725 gen-libm-test.pl.
22726
22727 [BZ #14132]
22728 * elf/dl-reloc.c: Include <_itoa.h>.
22729 (_dl_reloc_bad_type): Remove use of INTUSE.
22730 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22731 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22732 * stdio-common/psiginfo.c (psiginfo): Likewise.
22733 * stdio-common/psignal.c (psignal): Likewise.
22734 * string/strsignal.c (strsignal): Likewise.
22735 * include/signal.h (_sys_siglist): Declare hidden proto.
22736 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22737 INTVARDEF with libc_hidden_data_def.
22738 * stdio-common/itoa-udigits.c: Likewise.
22739 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22740 (_itoa_lower_digits_internal): Remove declaration.
22741 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22742 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22743 (_sys_sigabbrev_internal): Remove aliases.
22744 (_sys_siglist): Define hidden alias.
22745
22746 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22747
22748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22749 bits/sysctl.h.
22750
22751 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22752
22753 [BZ #14117]
22754 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22755 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22756
22757 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22758 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22759 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22760 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22762 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22763
22764 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22765 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22766 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22767
22768 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22769 with __addr.
22770 (insw): Likewise.
22771 (insl): Likewise.
22772 (outsb): Likewise.
22773 (outsw): Likewise.
22774 (outsl): Likewise.
22775
22776 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22777 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22778 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22779
22780 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22781 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22783 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22784 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22785 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22786
22787 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22788 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22789
22790 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22791 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22792
22793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22794 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22796
22797 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22798 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22799 to ...
22800 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22801
22802 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22803 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22804 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22805
22806 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22807 for x86-64.
22808 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22809
22810 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22811
22812 * math/math.h (M_El): Use two more decimal places.
22813 (M_LOG2El): Likewise.
22814 (M_LOG10El): Likewise.
22815 (M_LN2l): Likewise.
22816 (M_LN10l): Likewise.
22817 (M_PIl): Likewise.
22818 (M_PI_2l): Likewise.
22819 (M_PI_4l): Likewise.
22820 (M_1_PIl): Likewise.
22821 (M_2_PIl): Likewise.
22822 (M_2_SQRTPIl): Likewise.
22823 (M_SQRT2l): Likewise.
22824 (M_SQRT1_2l): Likewise.
22825
22826 2012-05-31 David S. Miller <davem@davemloft.net>
22827
22828 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22829 values between float registers.
22830 * sysdeps/sparc/sparc64/memset.S: Likewise.
22831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22832
22833 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22834
22835 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22836 -D_FORTIFY_SOURCE=1.
22837 (CPPFLAGS-tst-longjmp_chk.c): Define.
22838 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22839 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22840 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22841 CFLAGS-tst-wchar-h.c.
22842
22843 2012-05-31 Marek Polacek <polacek@redhat.com>
22844
22845 [BZ #14132]
22846 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22847 __endmntent_internal): Remove declaration.
22848 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22849 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22850 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22851
22852 2012-05-30 David S. Miller <davem@davemloft.net>
22853
22854 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22855 (___Q_simulate_exceptions): Use real FP ops rather than writing
22856 into the %fsr.
22857 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22858 Likewise.
22859
22860 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22861
22862 [BZ #14117]
22863 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22864 * sysdeps/x86/bits/xtitypes.h: This.
22865
22866 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22867 * sysdeps/x86/bits/wordsize.h: This.
22868
22869 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22870 * sysdeps/x86/bits/huge_vall.h: This.
22871
22872 * sysdeps/i386/bits/select.h: Removed.
22873 * sysdeps/x86_64/bits/select.h: Renamed to ...
22874 * sysdeps/x86/bits/select.h: This.
22875
22876 * sysdeps/i386/bits/setjmp.h: Removed.
22877 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22878 * sysdeps/x86/bits/setjmp.h: This.
22879
22880 * sysdeps/i386/bits/mathdef.h: Removed.
22881 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22882 * sysdeps/x86/bits/mathdef.h: This.
22883
22884 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22885
22886 [BZ #14132]
22887 * include/sys/socket.h (__connect_internal)
22888 (__libc_sa_len_internal): Remove declaration.
22889 (__connect, __libc_sa_len): Declare hidden_proto.
22890 (SA_LEN): Remove use of INTUSE.
22891 * socket/connect.c: Add libc_hidden_def.
22892 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22893 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22894 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22895 alias.
22896 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22898 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22899 of adding _internal alias.
22900
22901 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22902
22903 [BZ #14117]
22904 * sysdeps/i386/bits/link.h: Removed.
22905 * sysdeps/i386/bits/linkmap.h: Likewise.
22906 * sysdeps/x86_64/bits/link.h: Renamed to ...
22907 * sysdeps/x86/bits/link.h: This.
22908 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22909 * sysdeps/x86/bits/linkmap.h: This.
22910
22911 * sysdeps/i386/bits/endian.h: Removed.
22912 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22913 * sysdeps/x86/bits/endian.h: This.
22914
22915 * sysdeps/i386/bits/byteswap.h: Removed.
22916 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22917 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22918 * sysdeps/x86/bits/byteswap.h: This.
22919 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22920 * sysdeps/x86/bits/byteswap-16.h: This.
22921 * sysdeps/i386/Implies: Add x86.
22922 * sysdeps/x86_64/Implies: Likewise.
22923
22924 2012-05-30 David S. Miller <davem@davemloft.net>
22925
22926 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22927 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22928 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22929 (FP_TRAPPING_EXCEPTIONS): Define.
22930 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22931 (FP_TRAPPING_EXCEPTIONS): Define.
22932 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22933 subnormals only when inexact has been signalled or underflow
22934 exceptions are enabled.
22935 (_FP_PACK_CANONICAL): Likewise.
22936
22937 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22938
22939 [BZ #14183]
22940 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22941 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22942
22943 2012-05-30 Richard Henderson <rth@twiddle.net>
22944
22945 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22946 with #ifndef NOT_IN_libc.
22947
22948 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22949 marked to avoid plt entry.
22950
22951 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22952
22953 [BZ #14112]
22954 * Makeconfig (default-abi): New macro.
22955 (abi-includes): Likewise.
22956 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22957 $(abi-$(default-abi)-lib-soname) for soname if defined.
22958 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22959 abi-variants.
22960 * Makefile (installed-stubs): Likewise.
22961 * include/stubs-biarch.h: Removed.
22962 * scripts/lib-names.awk: Only handle one library at a time.
22963 * scripts/soversions.awk: Remove WORDSIZE support.
22964 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22965 entries.
22966 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22967 Removed.
22968 (syscall-list-default-condition): Likewise.
22969 (syscall-list-default-condition): Likewise.
22970 (syscall-list-includes): Likewise.
22971 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22972 syscall-list-* with abi-*. Handle undefined abi-variants.
22973 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22974 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22975 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22976 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22977 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22978 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22979 Removed.
22980 (syscall-list-32-options): Likewise.
22981 (syscall-list-32-condition): Likewise.
22982 (syscall-list-64-options): Likewise.
22983 (syscall-list-64-condition): Likewise.
22984 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22985 macro.
22986 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22987 Renamed to ...
22988 (abi-*): This.
22989 (abi-64-ld-soname): New macro.
22990 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22991 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22992 Renamed to ...
22993 (abi-*): This.
22994 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22995 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22996
22997 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22998
22999 * sysdeps/unix/sysv/linux/kernel-features.h
23000 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23001 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23002 include <kernel-features.h>.
23003 [!__NR_ftruncate64]: Remove conditional code.
23004 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23005 [__NR_ftruncate64]: Make code unconditional.
23006 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23007 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23008 include <kernel-features.h>.
23009 [!__NR_ftruncate64]: Remove conditional code.
23010 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23011 [__NR_ftruncate64]: Make code unconditional.
23012 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23014 include <kernel-features.h>.
23015 [!__NR_ftruncate64]: Remove conditional code.
23016 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23017 [__NR_ftruncate64]: Make code unconditional.
23018 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23020 include <kernel-features.h>.
23021 [!__NR_ftruncate64]: Remove conditional code.
23022 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23023 [__NR_ftruncate64]: Make code unconditional.
23024 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23025
23026 * configure.in (libc_cv_fpie): Weaken to a compile test using
23027 LIBC_TRY_CC_OPTION.
23028 * configure: Regenerated.
23029
23030 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23031
23032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23036 Refreshed.
23037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23043 Refreshed.
23044
23045 2012-05-27 David S. Miller <davem@davemloft.net>
23046
23047 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23048 (___Q_zero): New.
23049 (__Q_simulate_exceptions): Return void. Change to simulate
23050 exceptions by writing into the %fsr.
23051 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23052 (__Qp_handle_exceptions): Likewise.
23053 (numbers): Delete.
23054 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23055 __Qp_handle_exceptions.
23056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23057 __Qp_handle_exceptions.
23058 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23059 as unused and give dummy FP_RND_NEAREST initializer.
23060 (FP_INHIBIT_RESULTS): Define.
23061 (___Q_simulate_exceptions): Update declaration.
23062 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23063 formatting.
23064 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23065 as unused and give dummy FP_RND_NEAREST initializer.
23066 (__Qp_handle_exceptions): Update declaration.
23067 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23068 formatting.
23069
23070 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23071
23072 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23073 the temporary FPU control word.
23074 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23075 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23076 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23077 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23078 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23079 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23080 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23081 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23082 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23083 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23084 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23085
23086 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23087
23088 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23089 fields.
23090
23091 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23092
23093 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23094 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23095 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23096 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23097 Likewise.
23098 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23099 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23100 Likewise.
23101
23102 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23103
23104 * po/h.po: Update from translation team.
23105
23106 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23107
23108 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23109
23110 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23111 handling of denormals.
23112 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23113 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23114 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23115 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23119 Likewise.
23120
23121 2012-05-26 Marek Polacek <polacek@redhat.com>
23122
23123 [BZ #14152]
23124 * math/libm-test.inc (fma_test): Don't always expect underflow
23125 exception.
23126
23127 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23128
23129 [BZ #12416]
23130 * elf/tst-execstack.c: Include stackinfo.h.
23131 (do_test): Adjust test case to ensure that pthread_getattr_np
23132 behaviour remains the same after marking stack executable.
23133
23134 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23135
23136 * sysdeps/unix/sysv/linux/kernel-features.h
23137 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23138 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23139 kernel-features.h.
23140 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23141 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23142 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23143 kernel-features.h.
23144 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23145 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23146
23147 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23148
23149 * configure.in: Define the default includes to being none.
23150 * configure: Regenerated.
23151
23152 2012-05-25 Roland McGrath <roland@hack.frob.com>
23153
23154 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23155 * sysdeps/x86_64/setjmp.S: Likewise.
23156 * sysdeps/i386/bsd-setjmp.S: Likewise.
23157 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23158 * sysdeps/i386/setjmp.S: Likewise.
23159 * sysdeps/i386/__longjmp.S: Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23161 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23162
23163 * include/stap-probe.h: New file.
23164 * configure.in: Handle --enable-systemtap.
23165 * configure: Regenerated.
23166 * config.h.in (USE_STAP_PROBE): New #undef.
23167 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23168 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23169 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23170
23171 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23172
23173 [BZ #13717]
23174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23175 to 2.4.0 where earlier.
23176 * sysdeps/unix/sysv/linux/configure: Regenerated.
23177 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23178 <kernel-features.h>.
23179 [__ASSUME_32BITUIDS]: Make code unconditional.
23180 [!__ASSUME_32BITUIDS]: Remove conditional code.
23181 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23182 <kernel-features.h>.
23183 [__ASSUME_32BITUIDS]: Make code unconditional.
23184 [!__ASSUME_32BITUIDS]: Remove conditional code.
23185 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23186 [__ASSUME_32BITUIDS]: Make code unconditional.
23187 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23188 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23189 <kernel-features.h>.
23190 [__ASSUME_32BITUIDS]: Make code unconditional.
23191 [!__ASSUME_32BITUIDS]: Remove conditional code.
23192 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23193 <kernel-features.h>.
23194 [__ASSUME_32BITUIDS]: Make code unconditional.
23195 [!__ASSUME_32BITUIDS]: Remove conditional code.
23196 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23197 <kernel-features.h>.
23198 [__ASSUME_32BITUIDS]: Make code unconditional.
23199 [!__ASSUME_32BITUIDS]: Remove conditional code.
23200 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23201 <kernel-features.h>.
23202 [__ASSUME_32BITUIDS]: Make code unconditional.
23203 [!__ASSUME_32BITUIDS]: Remove conditional code.
23204 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23205 <kernel-features.h>.
23206 [__ASSUME_32BITUIDS]: Make code unconditional.
23207 [!__ASSUME_32BITUIDS]: Remove conditional code.
23208 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23209 <kernel-features.h>.
23210 [__ASSUME_32BITUIDS]: Make code unconditional.
23211 [!__ASSUME_32BITUIDS]: Remove conditional code.
23212 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23213 <kernel-features.h>.
23214 [__ASSUME_32BITUIDS]: Make code unconditional.
23215 [!__ASSUME_32BITUIDS]: Remove conditional code.
23216 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23217 <kernel-features.h>.
23218 [__ASSUME_32BITUIDS]: Make code unconditional.
23219 [!__ASSUME_32BITUIDS]: Remove conditional code.
23220 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23221 <kernel-features.h>.
23222 [__ASSUME_32BITUIDS]: Make code unconditional.
23223 [!__ASSUME_32BITUIDS]: Remove conditional code.
23224 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23225 <kernel-features.h>.
23226 [__ASSUME_32BITUIDS]: Make code unconditional.
23227 [!__ASSUME_32BITUIDS]: Remove conditional code.
23228 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23229 <kernel-features.h>.
23230 [__NR_setresgid] (__setresgid): Do not declare.
23231 [__ASSUME_32BITUIDS]: Make code unconditional.
23232 [!__ASSUME_32BITUIDS]: Remove conditional code.
23233 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23234 <kernel-features.h>.
23235 [__NR_setresuid] (__setresuid): Do not declare.
23236 [__ASSUME_32BITUIDS]: Make code unconditional.
23237 [!__ASSUME_32BITUIDS]: Remove conditional code.
23238 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23239 <kernel-features.h>.
23240 [__ASSUME_32BITUIDS]: Make code unconditional.
23241 [!__ASSUME_32BITUIDS]: Remove conditional code.
23242 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23243 <kernel-features.h>.
23244 [__ASSUME_32BITUIDS]: Make code unconditional.
23245 [!__ASSUME_32BITUIDS]: Remove conditional code.
23246 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23247 <kernel-features.h>.
23248 [__ASSUME_32BITUIDS]: Make code unconditional.
23249 [!__ASSUME_32BITUIDS]: Remove conditional code.
23250 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23251 <kernel-features.h>.
23252 [__ASSUME_32BITUIDS]: Make code unconditional.
23253 [!__ASSUME_32BITUIDS]: Remove conditional code.
23254 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23255 <kernel-features.h>.
23256 [__ASSUME_32BITUIDS]: Make code unconditional.
23257 [!__ASSUME_32BITUIDS]: Remove conditional code.
23258 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23259 <kernel-features.h>.
23260 [__ASSUME_32BITUIDS]: Make code unconditional.
23261 [!__ASSUME_32BITUIDS]: Remove conditional code.
23262 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23263 <kernel-features.h>.
23264 [__ASSUME_32BITUIDS]: Make code unconditional.
23265 [!__ASSUME_32BITUIDS]: Remove conditional code.
23266 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23267 <kernel-features.h>.
23268 [__ASSUME_32BITUIDS]: Make code unconditional.
23269 [!__ASSUME_32BITUIDS]: Remove conditional code.
23270 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23271 <kernel-features.h>.
23272 [__ASSUME_32BITUIDS]: Make code unconditional.
23273 [!__ASSUME_32BITUIDS]: Remove conditional code.
23274 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23275 <kernel-features.h>.
23276 [__ASSUME_32BITUIDS]: Make code unconditional.
23277 [!__ASSUME_32BITUIDS]: Remove conditional code.
23278 * sysdeps/unix/sysv/linux/kernel-features.h
23279 (__ASSUME_SETRESUID_SYSCALL): Remove.
23280 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23281 (__ASSUME_32BITUIDS): Likewise.
23282 (__ASSUME_LDT_WORKS): Likewise.
23283 (__ASSUME_O_DIRECTORY): Likewise.
23284 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23285 architecture but not kernel version.
23286 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23287 (__ASSUME_MMAP2_SYSCALL): Likewise.
23288 (__ASSUME_STAT64_SYSCALL): Likewise.
23289 (__ASSUME_IPC64): Likewise.
23290 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23291 <kernel-features.h>.
23292 [__ASSUME_32BITUIDS]: Make code unconditional.
23293 [!__ASSUME_32BITUIDS]: Remove conditional code.
23294 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23295 <kernel-features.h>.
23296 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23297 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23298 132096]: Remove conditional code.
23299 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23301 <kernel-features.h>.
23302 [__ASSUME_32BITUIDS]: Make code unconditional.
23303 [!__ASSUME_32BITUIDS]: Remove conditional code.
23304 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23305 <kernel-features.h>.
23306 [__ASSUME_32BITUIDS]: Make code unconditional.
23307 [!__ASSUME_32BITUIDS]: Remove conditional code.
23308 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23309 <kernel-features.h>.
23310 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23311 unconditional.
23312 (__setresgid): Do not declare.
23313 [__ASSUME_32BITUIDS]: Make code unconditional.
23314 [!__ASSUME_32BITUIDS]: Remove conditional code.
23315 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23316 <kernel-features.h>.
23317 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23318 unconditional.
23319 (__setresuid): Do not declare.
23320 [__ASSUME_32BITUIDS]: Make code unconditional.
23321 [!__ASSUME_32BITUIDS]: Remove conditional code.
23322 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23323 <kernel-features.h>.
23324 [__ASSUME_32BITUIDS]: Make code unconditional.
23325 [!__ASSUME_32BITUIDS]: Remove conditional code.
23326 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23327 <kernel-features.h>.
23328 [__ASSUME_32BITUIDS]: Make code unconditional.
23329 [!__ASSUME_32BITUIDS]: Remove conditional code.
23330
23331 2012-05-25 Richard Henderson <rth@twiddle.net>
23332
23333 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23334 dl_hwcap to ifunc resolver.
23335 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23336 elf_ifunc_invoke.
23337 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23338 dl_hwcap to ifunc resolver.
23339 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23340
23341 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23342
23343 [BZ #14153]
23344 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23345 for |x| <= 2**-26, not 2**-57.
23346 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23347 exception.
23348
23349 2012-05-24 Jeff Law <law@redhat.com>
23350
23351 * stdio-common/Makefile (tests): Add bug25.
23352 * stdio-common/bug25.c: New test.
23353
23354 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23355
23356 [BZ #13576]
23357 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23358 multiple of MALLOC_ALIGNMENT in size.
23359 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23360
23361 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23362
23363 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23364 Require >= 256.
23365 (FILENAME_MAX): Use macro-int-constant.
23366 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23367 (_IOFBF): Use macro-int-constant.
23368 (_IOLBF): Likewise.
23369 (_IONBF): Likewise.
23370 (SEEK_CUR): Likewise.
23371 (SEEK_END): Likewise.
23372 (SEEK_SET): Likewise.
23373 (TMP_MAX): Likewise.
23374 (EOF): Use macro-int-constant. Require < 0.
23375 (NULL): Use macro-constant. Require == 0.
23376 (stdin): Require type to be FILE *.
23377 (stdout): Likewise.
23378 (stderr): Likewise.
23379 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23380 macro-int-constant.
23381 (EXIT_SUCCESS): Likewise.
23382 (NULL): Use macro-constant. Require == 0.
23383 (RAND_MAX): Use macro-int-constant.
23384 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23385 [C99-based standards] (strtof): Require function.
23386 [C99-based standards] (strtold): Likewise.
23387 [C99-based standards] (strtoll): Likewise.
23388 [C99-based standards] (strtoull): Likewise.
23389 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23390 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23391 [ISO || ISO99 || ISO11] (math.h): Likewise.
23392 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23393 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23395
23396 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23397
23398 [BZ #14132]
23399 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23400 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23401 * intl/dgettext.c (DCGETTEXT): Likewise.
23402 * intl/gettext.c (DCGETTEXT): Likewise.
23403 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23404 * posix/regex_internal.h (gettext): Likewise.
23405 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23406 Remove declaration.
23407 * include/argz.h (__argz_count_internal)
23408 (__argz_stringify_internal): Remove declaration.
23409 (__argz_count, __argz_stringify): Declare hidden proto.
23410 * intl/dcgettext.c: Remove use of INTDEF.
23411 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23412 * string/argz-stringify.c: Likewise.
23413 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23414 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23415 Declare hidden proto.
23416 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23417 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23418 Declare hidden proto.
23419 * include/stdio.h (__asprintf_internal): Don't declare.
23420 (__asprintf): Don't define as macro. Declare hidden proto.
23421 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23422 (__fsetlocking): Declare hidden proto.
23423 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23424 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23425 hidden proto.
23426 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23427 (_IO_setlinebuf): Remove use of INTUSE.
23428 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23429 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23430 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23431 Remove declaration.
23432 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23433 (_IO_do_flush): Remove use of INTUSE.
23434 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23435 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23436 (_IO_adjust_column, _IO_least_wmarker)
23437 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23438 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23439 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23440 (_IO_default_doallocate, _IO_wdefault_doallocate)
23441 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23442 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23443 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23444 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23445 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23446 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23447 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23448 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23449 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23450 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23451 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23452 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23453 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23454 proto.
23455 (_IO_flush_all_internal, _IO_adjust_column_internal)
23456 (_IO_default_uflow_internal, _IO_default_finish_internal)
23457 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23458 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23459 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23460 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23461 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23462 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23463 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23464 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23465 (_IO_file_close_internal, _IO_file_close_it_internal)
23466 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23467 (_IO_file_init_internal, _IO_file_attach_internal)
23468 (_IO_file_fopen_internal, _IO_file_read_internal)
23469 (_IO_file_sync_internal, _IO_file_seek_internal)
23470 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23471 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23472 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23473 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23474 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23475 (_IO_list_all_internal, _IO_link_in_internal)
23476 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23477 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23478 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23479 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23480 (_IO_do_write_internal, _IO_padn_internal)
23481 (_IO_getline_info_internal, _IO_getline_internal)
23482 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23483 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23484 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23485 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23486 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23487 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23488 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23489 with libc_hidden_ver, remove use of INTUSE.
23490 * libio/genops.c: Likewise.
23491 * libio/freopen.c: Likewise.
23492 * libio/freopen64.c: Likewise.
23493 * libio/iofclose.c: Likewise.
23494 * libio/iofdopen.c: Likewise.
23495 * libio/iofflush.c: Likewise.
23496 * libio/iofflush_u.c: Likewise.
23497 * libio/iofgets.c: Likewise.
23498 * libio/iofgets_u.c: Likewise.
23499 * libio/iofopen.c: Likewise.
23500 * libio/iofopncook.c: Likewise.
23501 * libio/iofread.c: Likewise.
23502 * libio/iofread_u.c: Likewise.
23503 * libio/ioftell.c: Likewise.
23504 * libio/iofwrite.c: Likewise.
23505 * libio/iogetline.c: Likewise.
23506 * libio/iogets.c: Likewise.
23507 * libio/iogetwline.c: Likewise.
23508 * libio/iopadn.c: Likewise.
23509 * libio/iopopen.c: Likewise.
23510 * libio/ioseekoff.c: Likewise.
23511 * libio/ioseekpos.c: Likewise.
23512 * libio/iosetbuffer.c: Likewise.
23513 * libio/iosetvbuf.c: Likewise.
23514 * libio/ioungetc.c: Likewise.
23515 * libio/ioungetwc.c: Likewise.
23516 * libio/iovdprintf.c: Likewise.
23517 * libio/iovsprintf.c: Likewise.
23518 * libio/iovsscanf.c: Likewise.
23519 * libio/memstream.c: Likewise.
23520 * libio/obprintf.c: Likewise.
23521 * libio/oldfileops.c: Likewise.
23522 * libio/oldiofclose.c: Likewise.
23523 * libio/oldiofdopen.c: Likewise.
23524 * libio/oldiofopen.c: Likewise.
23525 * libio/oldiopopen.c: Likewise.
23526 * libio/oldstdfiles.c: Likewise.
23527 * libio/putc.c: Likewise.
23528 * libio/setbuf.c: Likewise.
23529 * libio/setlinebuf.c: Likewise.
23530 * libio/stdfiles.c: Likewise.
23531 * libio/strops.c: Likewise.
23532 * libio/vasprintf.c: Likewise.
23533 * libio/vscanf.c: Likewise.
23534 * libio/vsnprintf.c: Likewise.
23535 * libio/vswprintf.c: Likewise.
23536 * libio/wfiledoalloc.c: Likewise.
23537 * libio/wfileops.c: Likewise.
23538 * libio/wgenops.c: Likewise.
23539 * libio/wmemstream.c: Likewise.
23540 * libio/wstrops.c: Likewise.
23541 * libio/__fpurge.c: Likewise.
23542 * libio/__fsetlocking.c: Likewise.
23543 * assert/assert.c: Likewise.
23544 * debug/fgets_chk.c: Likewise.
23545 * debug/fgets_u_chk.c: Likewise.
23546 * debug/fread_chk.c: Likewise.
23547 * debug/fread_u_chk.c: Likewise.
23548 * debug/gets_chk.c: Likewise.
23549 * debug/obprintf_chk.c: Likewise.
23550 * debug/vasprintf_chk.c: Likewise.
23551 * debug/vdprintf_chk.c: Likewise.
23552 * debug/vsnprintf_chk.c: Likewise.
23553 * debug/vsprintf_chk.c: Likewise.
23554 * malloc/mtrace.c: Likewise.
23555 * misc/error.c: Likewise.
23556 * misc/syslog.c: Likewise.
23557 * stdio-common/asprintf.c: Likewise.
23558 * stdio-common/fxprintf.c: Likewise.
23559 * stdio-common/getw.c: Likewise.
23560 * stdio-common/isoc99_fscanf.c: Likewise.
23561 * stdio-common/isoc99_scanf.c: Likewise.
23562 * stdio-common/isoc99_vfscanf.c: Likewise.
23563 * stdio-common/isoc99_vscanf.c: Likewise.
23564 * stdio-common/isoc99_vsscanf.c: Likewise.
23565 * stdio-common/printf-prs.c: Likewise.
23566 * stdio-common/printf_fp.c: Likewise.
23567 * stdio-common/printf_fphex.c: Likewise.
23568 * stdio-common/printf_size.c: Likewise.
23569 * stdio-common/putw.c: Likewise.
23570 * stdio-common/scanf.c: Likewise.
23571 * stdio-common/sprintf.c: Likewise.
23572 * stdio-common/tmpfile.c: Likewise.
23573 * stdio-common/vfprintf.c: Likewise.
23574 * stdio-common/vfscanf.c: Likewise.
23575 * stdlib/strfmon_l.c: Likewise.
23576 * sunrpc/openchild.c: Likewise.
23577 * sunrpc/xdr_stdio.c: Likewise.
23578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23579 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23580
23581 2012-05-24 Roland McGrath <roland@hack.frob.com>
23582
23583 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23584
23585 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23586 in the third column, to generate for the shared library an IFUNC
23587 that uses _dl_vdso_vsym.
23588 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23589 * Makeconfig (object-suffixes-noshared): New variable.
23590
23591 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23592 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23593 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23594 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23595
23596 [BZ #14132]
23597 * include/sys/time.h (__gettimeofday): Remove macro.
23598 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23599 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23600 Remove INTDEF.
23601 (__gettimeofday): Add libc_hidden_def.
23602 (gettimeofday): Add libc_hidden_weak.
23603 * sysdeps/mach/gettimeofday.c: Likewise.
23604 * sysdeps/posix/gettimeofday.c: Likewise.
23605 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23606 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23608 (__gettimeofday_internal): Remove strong_alias.
23609 (__gettimeofday): Add libc_hidden_def.
23610 (gettimeofday): Add libc_hidden_weak.
23611 * sysdeps/unix/syscalls.list (gettimeofday):
23612 Remove __gettimeofday_internal alias.
23613
23614 2012-05-24 Daniel Jacobowitz <drow@false.org>
23615 H.J. Lu <hongjiu.lu@intel.com>
23616
23617 [BZ #12495]
23618 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23619 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23620 (largebin_index_32_big): New.
23621 (largebin_index): Use it for 16-byte alignment.
23622 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23623 correction with front_misalign.
23624
23625 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23626
23627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23629 Likewise.
23630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23631 Likewise.
23632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23633 Likewise.
23634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23635 Likewise.
23636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23637 Likewise.
23638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23639 Likewise.
23640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23641 Likewise.
23642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23643 Likewise.
23644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23645 Likewise.
23646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23647 Likewise.
23648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23649 Likewise.
23650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23651 Likewise.
23652
23653 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23654 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23655
23656 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23657
23658 [BZ #10846]
23659 [BZ #14036]
23660 * math/libm-test.inc (exp_test): Add test from bug 14036.
23661 (pow_test): Add test from bug 10846.
23662
23663 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23664 and other flags.
23665 (special_function): Do not include flags in test name.
23666 (parse_args): Likewise.
23667 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23669 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23670 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23672
23673 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23674 exceptions.
23675 * math/libm-test.inc ("Philosophy"): Update comment about
23676 exception testing.
23677 (UNDERFLOW_EXCEPTION): New macro.
23678 (UNDERFLOW_EXCEPTION_OK): Likewise.
23679 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23680 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23681 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23682 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23683 (INVALID_EXCEPTION_OK): Update value.
23684 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23685 (OVERFLOW_EXCEPTION_OK): Likewise.
23686 (IGNORE_ZERO_INF_SIGN): Likewise.
23687 (test_exceptions): Handle underflow exceptions.
23688 (acos_test): Update for underflow exception expectations.
23689 (cexp_test): Likewise.
23690 (clog_test): Likewise.
23691 (clog10_test): Likewise.
23692 (csqrt_test): Likewise.
23693 (ctan_test): Likewise.
23694 (ctanh_test): Likewise.
23695 (exp_test): Likewise.
23696 (exp10_test): Likewise.
23697 (exp2_test): Likewise.
23698 (expm1_test): Likewise.
23699 (fma_test): Likewise.
23700 (j0_test): Likewise.
23701 (jn_test): Likewise.
23702 (nexttoward_test): Likewise.
23703 (pow_test): Likewise.
23704 (scalbn_test): Likewise.
23705 (scalbln_test): Likewise.
23706 (tan_test): Likewise.
23707 (y1_test): Likewise.
23708 * sysdeps/i386/fpu/libm-test-ulps: Update.
23709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23710
23711 2012-05-23 David S. Miller <davem@davemloft.net>
23712
23713 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23714 (__libc_sigaction): Remove unused local variables.
23715
23716 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23719
23720 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23721
23722 mktime: avoid signed integer overflow
23723 * time/mktime.c (__mktime_internal): Do not mishandle the case
23724 where diff == INT_MIN.
23725
23726 mktime: simplify computation of average
23727 * time/mktime.c (ranged_convert): Use new time_t_avg function
23728 instead of rolling our own (probably-slower) code.
23729
23730 mktime: do not assume signed right shift propagates sign bit
23731 * time/mktime.c (isdst_differ): New static function.
23732 (__mktime_internal): No need to normalize tm_isdst now.
23733 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23734 tm_isdst values.
23735
23736 mktime: merge another wrapv change from gnulib
23737 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23738 from some compilers.
23739
23740 mktime: remove incorrect attempt at unusual arithmetics
23741 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23742 The code didn't really work on such machines anyway.
23743 (TYPE_MINIMUM): Assume two's complement.
23744 (twos_complement_arithmetic): Verify that long_int and time_t
23745 are two's complement (or unsigned, in the latter case).
23746
23747 mktime: check signed shifts on long_int and time_t, too
23748 * time/mktime.c (SHR): Check that shifts work as desired
23749 on the types long_int and time_t too, as SHR is used on
23750 such types.
23751
23752 mktime: do not assume 'long' is wide enough
23753 * time/mktime.c (verify): Move decl up.
23754 (long_int): New type.
23755 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23756 to remove assumption in the code that 'long' is wide enough to
23757 store year values. This assumption is not true on x32 and on
23758 some non-glibc platforms.
23759
23760 mktime: merge wrapv change from gnulib
23761 * time/mktime.c (WRAPV): New macro.
23762 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23763 (guess_time_tm, __mktime_internal): Do not assume that signed
23764 integer overflow wraps around; modern compilers generate code
23765 where this assumption is no longer valid.
23766
23767 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23768
23769 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23770 Replace "jmp L(pseudo_end)" with "ret".
23771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23772 Likewise.
23773
23774 2012-05-23 Andreas Jaeger <aj@suse.de>
23775
23776 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23777 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23778
23779 2012-05-23 Andreas Jaeger <aj@suse.de>
23780 Maximilian Attems <max@stro.at>
23781
23782 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23783 New macros.
23784
23785 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23786
23787 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23788 code so that pseudo_end is just ret and the stack pointer is
23789 correct also for static library in error case.
23790
23791 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23792
23793 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23794 move to syscalls.list.
23795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23799
23800 * manual/install.texi (Running make install): Do not mention Linux
23801 kernel version for which pt_chown is not needed.
23802 (Linux): Do not mention problems with nscd with 2.0 kernels.
23803 * INSTALL: Regenerated.
23804
23805 2012-05-23 Andreas Jaeger <aj@suse.de>
23806
23807 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23808 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23809 macro.
23810 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23812 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23814 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23817 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23819 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23820 * sysdeps/unix/sysv/linux/bits/in.h
23821 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23822
23823 2012-05-22 Roland McGrath <roland@hack.frob.com>
23824
23825 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23826 (PREPARE_VERSION): Just use assert instead, it will be elided
23827 under [NDEBUG] anyway.
23828
23829 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23830
23831 * sysdeps/unix/sysv/linux/Makefile: Include
23832 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23833 (sysdep_routines): Remove sysctl.
23834 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23835 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23836 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23838 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23839
23840 2012-05-22 Andreas Jaeger <aj@suse.de>
23841
23842 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23843 that pseudo_end is just ret and the stack pointer is correct also
23844 for static library in error case.
23845
23846 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23847
23848 [BZ #14122]
23849 * nss/nsswitch.c (defconfig_entries): New variable.
23850 (__nss_database_lookup): Don't leak defconfig entries.
23851 (nss_parse_service_list): Don't leak on error paths.
23852 (free_database_entries): New function.
23853 (free_defconfig): New function.
23854 (free_mem): Move common code to free_database_entries.
23855
23856 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23857
23858 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23859 Add arch_prctl.
23860 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23861
23862 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23863 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23865 New macro.
23866 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23867 (INTERNAL_SYSCALL_TYPES): Likewise.
23868 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23869 (LOAD_REGS_TYPES_[1-6]): Likewise.
23870 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23871 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23872
23873 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23874
23875 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23876 copysignl for GLIBC_2_0.
23877 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23878 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23880 logbl for GLIBC_2_0.
23881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23882 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23883
23884 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23885
23886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23887 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23888
23889 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23890 Use "neg %eax".
23891
23892 * time/mktime.c: Update copyright years.
23893
23894 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23895
23896 mktime: merge comment-quoting-style change from gnulib
23897 * time/mktime.c: Quote 'like this' in comments.
23898 The GNU coding standards suggest that we no longer quote `like this',
23899 as "`" and "'" are typically rendered asymmetrically nowadays.
23900 The typical gnulib style is to quote 'like this' when quoting
23901 code, and "like this" when quoting English.
23902
23903 * time/mktime.c (compile-command): Add "-I.".
23904
23905 mktime: merge mktime-internal.h change from gnulib
23906 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23907
23908 mktime: merge time_r change from gnulib
23909 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23910
23911 mktime: merge DEBUG change from gnulib
23912 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23913 case system <time.h> has a #define.
23914
23915 mktime: merge <sys/types.h> change from gnulib
23916 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23917 since <time.t> is now guaranteed to define time_t.
23918
23919 mktime: merge HAVE_CONFIG_H change from gnulib
23920 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23921
23922 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23925 Use "neg %eax".
23926
23927 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23928 __rlim_t cast.
23929 (struct rusage): Use anonymous union to pad each field to
23930 __syscall_slong_t.
23931
23932 2012-05-21 David S. Miller <davem@davemloft.net>
23933
23934 * Makefules (o-iterator): Remove .s cases.
23935 (compile-command.s): Delete.
23936 (COMPILE.s): Delete.
23937 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23938
23939 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23940
23941 * configure.in (libc_cv_predef_stack_protector): Only consider
23942 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23943 * configure: Regenerated.
23944
23945 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23946
23947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23948 New macro. Use R*LP on int and pointer.
23949 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23950 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23951 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23952 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23953
23954 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23955 [__WORDSIZE_TIME64_COMPAT32] instead of
23956 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23957 (struct utmp): Likewise.
23958 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23959 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23960 Renamed to ...
23961 (__WORDSIZE_TIME64_COMPAT32): This.
23962 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23963 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23964 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23965 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23966 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23967 (__WORDSIZE_TIME64_COMPAT32): New macro.
23968
23969 2012-05-21 Andreas Jaeger <aj@suse.de>
23970
23971 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23972 only if [SHARED]. Add prototype for __wcschr_ia32.
23973
23974 2012-05-21 Roland McGrath <roland@hack.frob.com>
23975
23976 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23977 of %rbp unmolested in the jmp_buf while mangling the low bits.
23978 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23979 unmolested high bits of %rbp while demangling the low bits.
23980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23981
23982 2012-05-21 Andreas Jaeger <aj@suse.de>
23983
23984 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23985 * sunrpc/svc_simple.c: Use it for registerrpc.
23986 * sunrpc/xcrypt.c: Use it for passwd2des.
23987
23988 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23989
23990 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23991
23992 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23993 Don't define if [__SYSCALL_WORDSIZE != 32].
23994 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23995 New macro.
23996
23997 2012-05-21 Bruno Haible <bruno@clisp.org>
23998 Andreas Jaeger <aj@suse.de>
23999
24000 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24001 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24002 inptr and inend for must_buffer_ch.
24003 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24004 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24005 * stdio-common/Makefile (tests): Remove bug15.
24006 (bug15-ENV): Remove macro.
24007 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24008 anymore.
24009
24010 2012-05-19 Andreas Jaeger <aj@suse.de>
24011 Roland McGrath <roland@hack.frob.com>
24012
24013 * manual/contrib.texi: Completely rewritten. It contains now an
24014 alphabetical list of contributors and their contributions.
24015
24016 2012-05-21 Richard Henderson <rth@twiddle.net>
24017
24018 * misc/getauxval.c (__getauxval): Use unsigned long int.
24019 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24020 (getauxval): Use unsigned long int.
24021
24022 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24023
24024 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24025
24026 2012-05-21 Roland McGrath <roland@hack.frob.com>
24027
24028 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24029 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24030 __alignof__ (long double).
24031
24032 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24033
24034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24035
24036 2012-05-20 Richard Henderson <rth@twiddle.net>
24037
24038 * misc/getauxval.c: New file.
24039 * misc/sys/auxv.h: New file.
24040 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24041 (routines): Add getauxval.
24042 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24044 * elf/dl-sysdep.c (_dl_auxv): Remove.
24045 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24046 * elf/dl-support.c (_dl_auxv): New variable.
24047 (_dl_aux_init): Initialize it.
24048 * manual/startup.texi (Auxiliary Vector): New node.
24049 * sysdeps/generic/bits/hwcap.h: New file.
24050 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24051 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24052 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24053 * sysdeps/sparc/sysdep.h: ... here. Include it.
24054 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24055 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24057 Update.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24066
24067 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24068
24069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24070
24071 2012-05-19 David S. Miller <davem@davemloft.net>
24072
24073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24074
24075 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24076
24077 [BZ #14123]
24078 * math/s_ccosh.c: Include <float.h>
24079 (__ccosh): Avoid internal overflow calculating sinh and cosh
24080 values before multiplying by sin and cos values.
24081 * math/s_ccoshf.c: Likewise.
24082 * math/s_ccoshl.c: Likewise.
24083 * math/s_csin.c: Likewise.
24084 * math/s_csinf.c: Likewise.
24085 * math/s_csinl.c: Likewise.
24086 * math/s_csinh.c: Likewise.
24087 * math/s_csinhf.c: Likewise.
24088 * math/s_csinhl.c: Likewise.
24089 * math/libm-test.inc (ccos_test): Add more tests.
24090 (ccosh_test): Likewise.
24091 (csin_test): Likewise.
24092 (csinh_test): Likewise.
24093 * sysdeps/i386/fpu/libm-test-ulps: Update.
24094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24095
24096 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24097
24098 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24099 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24100
24101 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24102
24103 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24104
24105 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24106 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24107 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24108 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24109 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24110 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24111 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24112 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24113 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24114 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24115 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24116 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24117 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24118 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24119 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24120 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24121 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24122 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24123 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24124 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24125 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24126 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24127 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24128 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24129 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24130 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24131 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24132 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24133 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24134 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24135 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24136
24137 2012-05-18 Andreas Jaeger <aj@suse.de>
24138
24139 * csu/.gitignore: Delete.
24140
24141 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24142
24143 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24144 (timex): Use __syscall_slong_t.
24145
24146 2012-05-18 Andreas Jaeger <aj@suse.de>
24147 Carlos O'Donell <carlos_odonell@mentor.com>
24148
24149 * manual/install.texi (Configuring and compiling): Update
24150 description about files modified in the source directory.
24151 * INSTALL: Regenerated.
24152
24153 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24154
24155 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24156 value. Use "or" to set return value to -1.
24157 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24158 negate return value.
24159
24160 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24161
24162 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24163 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24164 failure if the compiler has Graphite support disabled.
24165 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24166 Likewise.
24167 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24168 CFLAGS-memmove.c): Likewise.
24169 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24170 Likewise.
24171
24172 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24173
24174 * sysdeps/x86_64/x32/_itoa.h: New file.
24175
24176 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24177 getdents system call only if kernel and user dirents have the
24178 same d_ino and d_off.
24179
24180 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24181 LLONG_MAX != LONG_MAX.
24182 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24183 (_fitoa_word): Likewise.
24184
24185 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24186 years.
24187 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24188 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24189 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24190
24191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24192 include <bits/wordsize.h>. Check __x86_64__ instead of
24193 __WORDSIZE.
24194 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24195 if __x86_64__ is defined. Use anonymous union on fpstate.
24196
24197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24198 anonymous union.
24199
24200 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24201
24202 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24203 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24204 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24205 Refer to _rtld_local_ro instead of _rtld_global_ro.
24206 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24207 Likewise.
24208 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24209 Likewise.
24210 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24211 Likewise.
24212 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24213 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24214 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24215
24216 * sysdeps/powerpc/powerpc32/dl-machine.c
24217 (__elf_machine_runtime_setup) [PROF]: Don't reference
24218 _dl_prof_resolve.
24219
24220 2012-05-18 Andreas Jaeger <aj@suse.de>
24221
24222 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24223 function only available for GCCs before 3.4 since GCC 3.4
24224 introduced a builtin.
24225 (lrint): Likewise.
24226 (llrintf): Likewise.
24227 (llrint): Likewise.
24228 (fmaxf): Likewise.
24229 (fmax): Likewise.
24230 (fminf): Likewise.
24231 (fmin): Likewise.
24232 (rint): Likewise.
24233 (rintf): Likewise.
24234 (nearbyint): Likewise.
24235 (nearbyintf): Likewise.
24236 (ceil): Likewise.
24237 (ceilf): Likewise.
24238 (floor): Likewise.
24239 (floorf): Likewise.
24240
24241 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24244 on both fields and cast pointer to __syscall_ulong_t.
24245
24246 * bits/types.h (__fsword_t): New type.
24247 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24248 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24250 (__FSWORD_T_TYPE): Likewise.
24251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24252 (__FSWORD_T_TYPE): Likewise.
24253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24254 (__FSWORD_T_TYPE): Likewise.
24255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24256 (__FSWORD_T_TYPE): Likewise.
24257 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24258 __SWORD_TYPE with __fsword_t.
24259 (statfs64): Likewise.
24260
24261 2012-05-17 David S. Miller <davem@davemloft.net>
24262
24263 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24264
24265 2012-05-17 Andreas Jaeger <aj@suse.de>
24266
24267 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24268 warning.
24269
24270 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24271
24272 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24273
24274 2012-05-17 Andreas Jaeger <aj@suse.de>
24275
24276 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24277 when it is used.
24278
24279 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24280
24281 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24282
24283 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24284
24285 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24286 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24287
24288 2012-05-17 Andreas Jaeger <aj@suse.de>
24289 Carlos O'Donell <carlos_odonell@mentor.com>
24290
24291 [BZ #14059]
24292 * sysdeps/x86_64/multiarch/init-arch.h
24293 (bit_YMM_Usable): Rename to...
24294 (bit_AVX_Usable): ... this.
24295 (bit_FMA4_Usable): New macro.
24296 (bit_XMM_state): New macro.
24297 (bit_YMM_state): New macro.
24298 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24299 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24300 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24301 (CPUID_OSXSAVE): New macro.
24302 (CPUID_AVX): New macro.
24303 (CPUID_FMA4): New macro.
24304 (index_YMM_Usable): Rename to...
24305 (index_AVX_Usable): ... this.
24306 (HAS_AVX): Use HAS_ARCH_FEATURE.
24307 (HAS_FMA4): Likewise.
24308 (HAS_YMM_USABLE): Remove.
24309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24310 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24311 are present.
24312 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24313 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24314 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24315 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24316 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24317
24318 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24319
24320 * math/libm-test.c: Support platforms without multiple rounding modes.
24321 * math/bug-nextafter.c: Support platforms without FP exceptions.
24322 * math/bug-nexttoward.c: Likewise.
24323 * math/test-fenv.c: Likewise.
24324 * math/test-misc.c: Likewise.
24325 * stdlib/bug-getcontext.c: Likewise.
24326
24327 2012-05-17 Andreas Jaeger <aj@suse.de>
24328
24329 * manual/examples/search.c (critter_cmp): Change signature to
24330 avoid warnings.
24331 * manual/string.texi (Collation Functions): Likewise.
24332
24333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24334
24335 * bits/types.h: Fold copyright years.
24336 * bits/typesizes.h: Likewise.
24337 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24341 * time/time.h: Likewise.
24342
24343 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24344
24345 [BZ #208]
24346 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24347 in instead of returning them. Return void.
24348 (__libc_mallinfo): Accumulate over all arenas.
24349 (__malloc_stats): Adjust for change in int_mallinfo interface.
24350
24351 2012-05-16 Roland McGrath <roland@hack.frob.com>
24352
24353 [BZ #10375]
24354 * configure.in (NM): Add AC_CHECK_TOOL for it.
24355 (libc_extra_cflags): New substituted variable.
24356 Check for -fstack-protector being used implicitly.
24357 * configure: Regenerated.
24358 * config.make.in (config-extra-cflags): New variable,
24359 gets @libc_extra_cflags@.
24360 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24361
24362 [BZ #10375]
24363 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24364 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24365 * configure: Regenerated.
24366 * config.make.in (CPPUNDEFS): New substituted variable.
24367 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24368 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24369 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24370
24371 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24372
24373 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24374 (mq_attr): Use __syscall_slong_t.
24375
24376 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24377
24378 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24379 Check __x86_64__ instead of __WORDSIZE.
24380 (_STAT_VER_LINUX): Likewise.
24381 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24382 __syscall_ulong_t and __syscall_slong_t.
24383 (stat64): Likewise.
24384
24385 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24388
24389 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24390
24391 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24392
24393 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24394
24395 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24396 __syscall_ulong_t.
24397
24398 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24399 include <bits/wordsize.h>. Check __x86_64__ instead of
24400 __WORDSIZE.
24401 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24402 defined.
24403 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24404
24405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24406 include <bits/wordsize.h>. Check __x86_64__ instead of
24407 __WORDSIZE.
24408 (user_regs_struct): Use "__extension__ unsigned long long"
24409 instead of "unsigned long" if __x86_64__ is defined.
24410 (user): Likewise. Pad after pointer field if __ILP32__ is
24411 defined.
24412
24413 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24414
24415 * configure.in (makeinfo): Require version 4.5 or later. Allow
24416 versions 5 to 9.
24417 * configure: Regenerated.
24418 * manual/install.texi (texinfo): Increase version requirement to
24419 4.5 or later.
24420 * INSTALL: Regenerated.
24421
24422 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24423
24424 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24427
24428 * sysdeps/x86_64/x32/ffs.c: New file.
24429
24430 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24431 __syscall_ulong_t.
24432 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24433 defined. Use __syscall_ulong_t.
24434 (shminfo): Use __syscall_ulong_t.
24435 (shm_info): Likewise.
24436
24437 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24438 __syscall_ulong_t.
24439
24440 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24441 <bits/wordsize.h>.
24442 (msgqnum_t): Use __syscall_ulong_t.
24443 (msglen_t): Likewise.
24444 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24445 __syscall_ulong_t.
24446
24447 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24448 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24449
24450 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24451
24452 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24453 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24454
24455 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24456 __syscall_slong_t.
24457
24458 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24459 include <bits/wordsize.h>. Check __x86_64__ instead of
24460 __WORDSIZE.
24461
24462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24463 "unsigned long long int" if __x86_64__ is defined.
24464 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24465
24466 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24467 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24468 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24469
24470 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24471 <stdint.h>.
24472 (GET_PC): Cast to uintptr_t first.
24473 (GET_FRAME): Likewise.
24474 (GET_STACK): Likewise.
24475
24476 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24478 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24479 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24480 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24481 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24482 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24483 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24484 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24485 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24486 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24487 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24488 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24489 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24490 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24491 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24495 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24497 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24498 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24499 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24500 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24501 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24502 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24503 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24504 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24505
24506 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24507
24508 * Makerules (+depfiles): Also collect depfiles from .oS in
24509 $(extra-objs).
24510 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24511 .oS, $(libnldbl-routines)).
24512
24513 * Makerules (native-compile-mkdep-flags): Define.
24514 * sunrpc/Makefile (extra-objs): Add $(addprefix
24515 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24516 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24517 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24518 calling $(make-target-directory).
24519
24520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24521
24522 * bits/types.h (__snseconds_t): Removed.
24523 * time/time.h (struct timespec): Replace __snseconds_t with
24524 __syscall_slong_t.
24525 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24526 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24527 Likewise.
24528 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24529 (__SNSECONDS_T_TYPE): Likewise.
24530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24531 (__SNSECONDS_T_TYPE): Likewise.
24532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24533 (__SNSECONDS_T_TYPE): Likewise.
24534
24535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24536
24537 * sysdeps/mach/hurd/bits/typesizes.h
24538 (__SYSCALL_SLONG_TYPE): New macro.
24539 (__SYSCALL_ULONG_TYPE): Likewise.
24540
24541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24542
24543 * bits/types.h (__syscall_slong_t): New type.
24544 (__syscall_ulong_t): Likewise.
24545
24546 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24547 (__SYSCALL_ULONG_TYPE): Likewise.
24548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24549 (__SYSCALL_SLONG_TYPE): Likewise.
24550 (__SYSCALL_ULONG_TYPE): Likewise.
24551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24552 (__SYSCALL_SLONG_TYPE): Likewise.
24553 (__SYSCALL_ULONG_TYPE): Likewise.
24554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24555 (__SYSCALL_SLONG_TYPE): Likewise.
24556 (__SYSCALL_ULONG_TYPE): Likewise.
24557
24558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24559
24560 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24561 Add sigaltstack-offsets.sym.
24562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24563 <sigaltstack-offsets.h>.
24564 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24565 longjmp_msg pointer.
24566 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24567 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24568 signal stack.
24569 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24570
24571 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24572
24573 * elf/stackguard-macros.h: Remove file.
24574 * sysdeps/generic/stackguard-macros.h: New file.
24575 * sysdeps/i386/stackguard-macros.h: Likewise.
24576 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24577 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24578 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24579 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24580 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24581 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24582 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24583 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24584 <elf/stackguard-macros.h>.
24585
24586 [BZ #14109]
24587 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24588 __aligned__ in attribute.
24589 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24590 (gregset_t): Likewise.
24591
24592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24593
24594 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24595 * sysdeps/x86_64/64/Implies-after: Here. New file.
24596 * sysdeps/x86_64/x32/Implies-after: New file.
24597
24598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24599
24600 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24601 and access return value for _dl_profile_fixup. Use R10_LP to
24602 load frame size.
24603
24604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24605
24606 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24607
24608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24609
24610 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24611 * sysdeps/x86_64/x32/sysdep.h: New file.
24612
24613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24614
24615 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24616 * sysdeps/x86_64/setjmp.S: Likewise.
24617
24618 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24619
24620 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24621 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24622 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24623 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24624 remove unused global constant.
24625
24626 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24627
24628 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24629 include of <not-cancel.h>.
24630
24631 2012-05-15 Roland McGrath <roland@hack.frob.com>
24632
24633 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24634
24635 2012-05-15 Jeff Law <law@redhat.com>
24636 Andreas Jaeger <aj@suse.de>
24637
24638 [BZ #13594]
24639 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24640 out from...
24641 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24642 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24643 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24644 code changing __hst_map_handle.map.
24645
24646 2012-05-15 Roland McGrath <roland@hack.frob.com>
24647
24648 * configure.in (sysnames): Look for Implies-before and Implies-after
24649 files.
24650 * configure: Regenerated.
24651
24652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24653
24654 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24655 8-byte data alignment with LP_SIZE alignment.
24656
24657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24658
24659 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24660 into R10_LP.
24661
24662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24663
24664 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24665
24666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24667
24668 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24669 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24671 Likewise.
24672 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24673
24674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24675
24676 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24677 (stackinfo_sub_sp): Likewise.
24678
24679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24680
24681 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24682 RAX_LP.
24683
24684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24685
24686 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24687 into R*_LP.
24688
24689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24690
24691 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24692 sizes into R*_LP.
24693
24694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24695
24696 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24697
24698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24699
24700 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24701 into R11_LP and load __x86_64_shared_cache_size_half into
24702 R8_LP.
24703
24704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24705
24706 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24707 R8_LP.
24708
24709 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24710
24711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24712 logb for POWER7.
24713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24714 logbf for POWER7.
24715 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24716 logbl for POWER7.
24717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24718 powerpc32/power7/fpu/s_logb.c via #include.
24719 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24720 powerpc32/power7/fpu/s_logbf.c via #include.
24721 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24722 powerpc32/power7/fpu/s_logbl.c via #include.
24723
24724 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24725
24726 * README.libm: Remove file.
24727
24728 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24729
24730 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24731 count for x32. Use R*_LP and omit operand-size suffix.
24732
24733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24734
24735 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24736 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24737 * sysdeps/x86_64/x32/shlib-versions: New file.
24738
24739 2012-05-14 Roland McGrath <roland@hack.frob.com>
24740
24741 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24742 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24743 Use _dl_fatal_printf instead.
24744
24745 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24746
24747 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24748 set if not set by the user. Do not allow for being unset.
24749 * sysdeps/unix/sysv/linux/configure: Regenerated.
24750
24751 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24752
24753 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24754 the `q' suffix from lea and replace .quad with ASM_ADDR.
24755
24756 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24757
24758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24759 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24760 instead of $17.
24761 (PTR_DEMANGLE): Likewise.
24762
24763 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24764
24765 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24766 (LP_OP): Likewise.
24767 (ASM_ADDR): Likewise.
24768 (RAX_LP): Likewise.
24769 (RBP_LP): Likewise.
24770 (RBX_LP): Likewise.
24771 (RCX_LP): Likewise.
24772 (RDI_LP): Likewise.
24773 (RSI_LP): Likewise.
24774 (RSP_LP): Likewise.
24775 (R8_LP): Likewise.
24776 (R9_LP): Likewise.
24777 (R10_LP): Likewise.
24778 (R10_LP): Likewise.
24779 (R11_LP): Likewise.
24780 (R12_LP): Likewise.
24781 (R13_LP): Likewise.
24782 (R14_LP): Likewise.
24783 (R15_LP): Likewise.
24784
24785 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24786
24787 * sysdeps/x86_64/x32/dl-machine.h: New file.
24788
24789 2012-05-14 Andreas Jaeger <aj@suse.de>
24790
24791 * manual/Makefile (subdir): Remove export of subdir.
24792 (all): Remove target.
24793 (.PHONY): Remove all from list.
24794 (mkinstalldirs): Remove.
24795 (.PHONY): Remove installdirs from list.
24796 ($(inst_infodir)/libc.info): Use make-target-directory.
24797 (installdirs): Remove.
24798 (subdir_%): Remove.
24799 (glibc-targets): Remove.
24800 (lib): Remove.
24801 (stubs): Remove.
24802 ($(objpfx)stubs ../po/manual.pot): Remove.
24803 ($(objpfx)stamp%): Remove.
24804 (make-target-directory): Remove.
24805 (subdir_install): Remove.
24806 (routines): Remove.
24807 (aux): Remove.
24808 (sources): Remove.
24809 (objects): Remove.
24810 (headers): Remove.
24811
24812 [BZ #13750]
24813 * manual/.gitignore: Remove, it's not needed anymore.
24814 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24815 all files in it.
24816 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24817 directory.
24818 (texis): Renamed to $(objpfx)texis.
24819 (texis-path): New, contains path to generated files.
24820 (chapters.%): Use texis-path for complete path, add extra argument
24821 libc-texinfo.sh.
24822 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24823 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24824 (summary,texi, stamp-summary): Use complete path of
24825 files. Generate files in build dir.
24826 (dir-add.texi): Build in build dir.
24827 (libm-err.texi,stamp-libm-err): Likewise.
24828 (version.texi, stamp-version): Likewise.
24829 (.%c.texi): Likewise.
24830 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24831 (mostlyclean): Remove target.
24832 (realclean): Remove target.
24833 (generated): Add new variable with contents from mostlyclean and
24834 realclean, remove entries duplicated in common-mostlyclean, add
24835 stamp-libm-err and stamp-version.
24836 (generated-dirs): Add libc directory.
24837 ($(inst_infodir)/libc.info): Install files from build dir.
24838
24839 * manual/install.texi (Configuring and compiling): Adjust since
24840 the info files are not part of the tar ball anymore.
24841
24842 2012-05-14 Andreas Jaeger <aj@suse.de>
24843
24844 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24845 variable.
24846
24847 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24848
24849 [BZ #13717]
24850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24851 to 2.2.0 where earlier.
24852 * sysdeps/unix/sysv/linux/configure: Regenerated.
24853 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24854 Remove conditional code.
24855 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24856 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24857 Remove conditional code.
24858 [!__NR_lchown]: Likewise.
24859 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24860 [__NR_lchown]: Likewise.
24861 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24862 comment referencing __ASSUME_LCHOWN_SYSCALL.
24863 * sysdeps/unix/sysv/linux/i386/sigaction.c
24864 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24865 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24866 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24867 Remove conditional code.
24868 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24869 (__protocol_available): Remove #if 0 code.
24870 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24871 conditional code.
24872 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24873 * sysdeps/unix/sysv/linux/kernel-features.h
24874 (__ASSUME_GETCWD_SYSCALL): Don't define.
24875 (__ASSUME_REALTIME_SIGNALS): Likewise.
24876 (__ASSUME_PREAD_SYSCALL): Likewise.
24877 (__ASSUME_PWRITE_SYSCALL): Likewise.
24878 (__ASSUME_POLL_SYSCALL): Likewise.
24879 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24880 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24881 non-SPARC.
24882 (__ASSUME_SIOCGIFNAME): Don't define.
24883 (__ASSUME_MSG_NOSIGNAL): Likewise.
24884 (__ASSUME_SENDFILE): Define unconditionally.
24885 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24886 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24887 conditional code.
24888 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24889 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24890 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24891 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24892 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24893 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24894 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24896 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24897 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24899 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24902 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24905 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24908 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24911 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24912 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24917 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24918 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24919 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24920 Remove conditional code.
24921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24922 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24923 Remove conditional code.
24924 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24925 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24926 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24927 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24928 Remove conditional code.
24929 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24930 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24931 Remove conditional code.
24932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24933 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24934 Remove conditional code.
24935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24936 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24937 Remove conditional code.
24938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24939 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24940 Remove conditional code.
24941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24942 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24943 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24944 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24945 * sysdeps/unix/sysv/linux/sigaction.c
24946 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24947 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24948 * sysdeps/unix/sysv/linux/sigpending.c
24949 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24950 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24951 * sysdeps/unix/sysv/linux/sigprocmask.c
24952 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24953 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24954 * sysdeps/unix/sysv/linux/sigsuspend.c
24955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24957 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24958 (__libc_missing_rt_sigs): Remove.
24959 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24960 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24961 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24962 Remove conditional code.
24963 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24964 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24965 return 1.
24966 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24967 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24968 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24969 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24970
24971 2012-05-14 Andreas Jaeger <aj@suse.de>
24972
24973 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24974 it's not used in glibc.
24975 (__coshm1): Likewise.
24976 (__acosh1p): Likewise.
24977 (__sgn): Likewise.
24978
24979 * manual/string.texi (Copying and Concatenation): Add missing
24980 variable in concat example.
24981 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24982
24983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24984
24985 [BZ #14103]
24986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24987 __builtin_clzl with __builtin_clzll.
24988
24989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24990
24991 [BZ #14104]
24992 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24993 libc_freeres_ptr.
24994
24995 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24996
24997 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24998 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24999 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25000 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25001
25002 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25003
25004 * NEWS: Update ia64 info.
25005
25006 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25007
25008 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25009 used as bcopy.
25010
25011 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25012
25013 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25014 * sysdeps/unix/syscalls.list (dup3): Likewise.
25015 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25016 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25017
25018 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25019
25020 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25021 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25022
25023 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25024
25025 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25026 thread pointer.
25027 (TLS_IE): Use mov/add instead of movq/addq to load thread
25028 pointer.
25029 (TLS_GD_PREFIX): New.
25030 (TLS_GD): Use it.
25031
25032 2012-05-11 David S. Miller <davem@davemloft.net>
25033
25034 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25035 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25036 (_FPU_SETCW): Likewise.
25037
25038 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25039
25040 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25041 is 32-byte aligned.
25042
25043 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25044
25045 [BZ #11837]
25046 * iconvdata/gb18030.c: Update tables.
25047 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25048 characters specially.
25049 (BODY for TO_LOOP): Add encoding of missing ranges.
25050
25051 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25052
25053 [BZ #13673]
25054 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25055 * sysdeps/mach/hurd/dup3.c: Likewise.
25056 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25057 * sysdeps/powerpc/memmove.c:: Likewise.
25058
25059 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25060
25061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25062 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25063
25064 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25065
25066 * elf/elf.h (R_X86_64_RELATIVE64): New.
25067 (R_X86_64_NUM): Updated.
25068 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25069 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25070 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25071 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25072 tst-quad1pie tst-quad2pie
25073 (modules-names): Add tst-quadmod1 tst-quadmod2.
25074 ($(objpfx)tst-quad1): New dependency.
25075 ($(objpfx)tst-quad2): Likewise.
25076 ($(objpfx)tst-quad1pie): Likewise.
25077 ($(objpfx)tst-quad2pie): Likewise.
25078 * sysdeps/x86_64/tst-quad1.c: New file.
25079 * sysdeps/x86_64/tst-quad1pie.c: New file.
25080 * sysdeps/x86_64/tst-quad2.c: Likewise.
25081 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25082 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25083 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25084 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25085 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25086
25087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25088
25089 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25090 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25091 * streams/stropts.h (t_scalar_t): Define type.
25092
25093 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25094 (_PATH_PRESERVE): Set to "/var/lib".
25095 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25096
25097 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25098 instead of int.
25099
25100 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25101 if __dir_mkfile succeeded.
25102
25103 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25104 checking for _hurd_dtablesize. Unlock it right after having
25105 finished _hurd_dtable allocation.
25106
25107 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25108
25109 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25110 * sysdeps/mach/hurd/configure: Regenerated.
25111 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25112 special-casing to...
25113 * sysdeps/gnu/configure.in: ... this new file.
25114 * sysdeps/unix/sysv/linux/configure: Regenerated.
25115 * sysdeps/gnu/configure: New generated file.
25116
25117 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25118 for Linux: use nsec instead of usec, as well as:
25119 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25120 members of type struct timespec.
25121 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25122 New macros.
25123 (struct stat64): Likewise.
25124 (_STATBUF_ST_NSEC): New macro.
25125 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25126
25127 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25128 __strtoul_internal rather than strtoul.
25129
25130 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25131
25132 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25133 and reject them.
25134
25135 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25136
25137 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25138 which preserves existing values.
25139 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25140
25141 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25142
25143 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25144 TIMEOUT values. Return EINVAL for NFDS values either negative or
25145 greater than FD_SETSIZE.
25146
25147 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25148
25149 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25150 allocated, call __vm_protect to finish enabling the existing space, and
25151 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25152 allocate the remainder.
25153
25154 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25155
25156 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25157 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25158
25159 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25160
25161 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25162 sysdeps/mach/hurd/readlink.c.
25163
25164 * posix/tst-sysconf.c (posix_options): Only use
25165 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25166 _POSIX_SYNCHRONIZED_IO when they are defined
25167 * sysdeps/mach/hurd/bits/posix_opt.h:
25168 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25169 (_XOPEN_REALTIME): Undefine macro.
25170 (_XOPEN_REALTIME_THREADS): Undefine macro.
25171 (_XOPEN_SHM): Undefine macro.
25172 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25173 macro to -1.
25174 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25175 macro to -1.
25176 (_POSIX_ASYNC_IO): Undefine macro.
25177 (_POSIX_PRIORITIZED_IO): Undefine macro.
25178 (_POSIX_SPIN_LOCKS): Define macro to -1.
25179
25180 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25181 SA_NODEFER, SA_RESETHAND.
25182 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25183 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25184 F_DUPFD_CLOEXEC.
25185
25186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25187
25188 * elf/Makefile (pldd-modules): Define unconditionally.
25189
25190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25191
25192 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25193
25194 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25195
25196 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25197 Return ENOENT when name is empty.
25198 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25199
25200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25201
25202 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25203
25204 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25205
25206 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25207
25208 Fix mlock in all cases except non-readable pages.
25209 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25210 instead of VM_PROT_ALL as parameter to __vm_wire function.
25211
25212 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25213 (__mkdir): When path is `/', just fail with EEXIST.
25214 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25215
25216 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25217
25218 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25219 <sys/uio.h> (for writev).
25220 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25221 and <sys/param.h> (for MIN).
25222
25223 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25224
25225 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25226 REQUESTED_TIME. Properly set the remaining time and return EINTR
25227 if interrupted.
25228
25229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25230
25231 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25232 Depend on against $(link-rpcuserlibs).
25233
25234 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25235
25236 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25237 (__libc_stack_end): Do not use attribute_relro.
25238 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25239 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25240 to libthread-provided value.
25241 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25242 attribute_relro.
25243
25244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25245
25246 [BZ #3748]
25247 * bits/libc-lock.h (__libc_once_get): New macro.
25248 * sysdeps/mach/bits/libc-lock.h: Likewise.
25249 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25250 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25251 instead of using implementation details.
25252
25253 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25254 * libio/freopen.c: Likewise.
25255 * libio/freopen64.c: Likewise.
25256 * misc/syslog.c: Likewise.
25257 * nscd/connections.c: Likewise.
25258 * nscd/netgroupcache.c: Likewise.
25259 * sysdeps/posix/getcwd.c: Likewise.
25260
25261 2012-05-10 Roland McGrath <roland@hack.frob.com>
25262
25263 * math/w_ilogbf.c: Add #include <limits.h>.
25264
25265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25266
25267 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25268 path instead of returning without unlocking.
25269
25270 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25271 immediate-write ioctls.
25272 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25273
25274 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25275
25276 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25277 __builtin_frame_address instead of making assumptions about the
25278 location of the return address relative to DATA. Force early load of
25279 the return address.
25280 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25281 __builtin_frame_address.
25282
25283 dup3 for GNU Hurd.
25284 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25285 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25286 implement dup3 and do some further code clean-ups.
25287 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25288 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25289
25290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25291
25292 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25293
25294 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25295 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25296 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25297 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25298 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25299 d->port.lock.
25300
25301 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25302 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25303 when handler == SIG_ERR, not when handler != SIG_ERR.
25304
25305 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25306
25307 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25308 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25309 definitions.
25310
25311 accept4 for GNU Hurd.
25312 * include/sys/socket.h (__libc_accept4): New prototype.
25313 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25314 to implement __libc_accept4.
25315 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25316 __libc_accept4.
25317 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25318
25319 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25320 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25321 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25322 signal-defines.sym.
25323
25324 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25325
25326 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25327
25328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25329
25330 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25331 assertion on O_CLOEXEC flag.
25332 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25333 * hurd/intern-fd.c: Likewise.
25334 * hurd/port2fd.c: Likewise.
25335
25336 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25337
25338 [BZ #3906]
25339 * bits/in.h (IPV6_PKTINFO): Define new macro.
25340 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25341
25342 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25343
25344 [BZ #13954]
25345 [BZ #13955]
25346 [BZ #13956]
25347 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25349 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25350 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25352 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25353 * math/libm-test.inc (logb_test) : Additional logb tests.
25354
25355 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25356 Andreas Jaeger <aj@suse.de>
25357
25358 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25359 * configure: Regenerated.
25360 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25361 * config.make.in (link-obsolete-rpc): New substituted variable.
25362 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25363 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25364 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25365 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25366 so that libc.a contains the symbols.
25367 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25368 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25369 * sunrpc/auth_none.c: Likewise.
25370 * sunrpc/auth_unix.c: Likewise.
25371 * sunrpc/authdes_prot.c: Likewise.
25372 * sunrpc/authuxprot.c: Likewise.
25373 * sunrpc/clnt_gen.c: Likewise.
25374 * sunrpc/clnt_perr.c: Likewise.
25375 * sunrpc/clnt_raw.c: Likewise.
25376 * sunrpc/clnt_simp.c: Likewise.
25377 * sunrpc/clnt_tcp.c: Likewise.
25378 * sunrpc/clnt_udp.c: Likewise.
25379 * sunrpc/clnt_unix.c: Likewise.
25380 * sunrpc/des_crypt.c: Likewise.
25381 * sunrpc/des_soft.c: Likewise.
25382 * sunrpc/get_myaddr.c: Likewise.
25383 * sunrpc/key_call.c: Likewise.
25384 * sunrpc/key_prot.c: Likewise.
25385 * sunrpc/netname.c: Likewise.
25386 * sunrpc/pm_getmaps.c: Likewise.
25387 * sunrpc/pm_getport.c: Likewise.
25388 * sunrpc/pmap_clnt.c: Likewise.
25389 * sunrpc/pmap_prot.c: Likewise.
25390 * sunrpc/pmap_prot2.c: Likewise.
25391 * sunrpc/pmap_rmt.c: Likewise.
25392 * sunrpc/publickey.c: Likewise.
25393 * sunrpc/rpc_cmsg.c: Likewise.
25394 * sunrpc/rpc_common.c: Likewise.
25395 * sunrpc/rpc_dtable.c: Likewise.
25396 * sunrpc/rpc_prot.c: Likewise.
25397 * sunrpc/rpc_thread.c: Likewise.
25398 * sunrpc/rtime.c: Likewise.
25399 * sunrpc/svc.c: Likewise.
25400 * sunrpc/svc_auth.c: Likewise.
25401 * sunrpc/svc_raw.c: Likewise.
25402 * sunrpc/svc_run.c: Likewise.
25403 * sunrpc/svc_tcp.c: Likewise.
25404 * sunrpc/svc_udp.c: Likewise.
25405 * sunrpc/svc_unix.c: Likewise.
25406 * sunrpc/svcauth_des.c: Likewise.
25407 * sunrpc/xcrypt.c: Likewise.
25408 * sunrpc/xdr.c: Likewise.
25409 * sunrpc/xdr_array.c: Likewise.
25410 * sunrpc/xdr_float.c: Likewise.
25411 * sunrpc/xdr_intXX_t.c: Likewise.
25412 * sunrpc/xdr_mem.c: Likewise.
25413 * sunrpc/xdr_rec.c: Likewise.
25414 * sunrpc/xdr_ref.c: Likewise.
25415 * sunrpc/xdr_sizeof.c: Likewise.
25416 * sunrpc/xdr_stdio.c: Likewise.
25417
25418 2012-05-10 Roland McGrath <roland@hack.frob.com>
25419
25420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25421 change. Update copyright years.
25422
25423 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25424
25425 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25426
25427 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25428 Joseph Myers <joseph@codesourcery.com>
25429 Paul Pluzhnikov <ppluzhnikov@google.com>
25430
25431 [BZ #14012]
25432 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25433 requiring rpcgen.
25434 [cross-compiling] (extra-libs): Likewise.
25435 [cross-compiling] (extra-libs-others): Likewise.
25436 [cross-compiling] (librpcsvc-routines): Likewise.
25437 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25438 [cross-compiling] (omit-deps): Likewise.
25439 (sunrpc-CPPFLAGS): New variable.
25440 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25441 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25442 (cross-rpcgen-objs): New variable.
25443 (extra-objs): Append $(cross-rpcgen-objs).
25444 ($(cross-rpcgen-objs)): New rule.
25445 ($(objpfx)cross-rpcgen): Likewise.
25446 (rpcgen-cmd): Define to use $(built-program-file). Expand
25447 comment.
25448 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25449 ($(objpfx)x%.stmp): Likewise.
25450 * sunrpc/proto.h [IS_IN_build] (_): Define.
25451 [IS_IN_build] (_libc_intl_domainname): Likewise.
25452
25453 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25454
25455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25456 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25457 and R_X86_64_TPOFF64.
25458
25459 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25460
25461 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25462 sysdeps/unix/sysv/syscalls.list.
25463 (stime): Likewise.
25464 (utime): Likewise.
25465 * sysdeps/unix/sysv/syscalls.list: Remove file.
25466
25467 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25468
25469 [BZ #3440]
25470 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25471 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25472 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25473 (__LC_IDENTIFICATION): Make these macros useful in #if
25474 expressions, as required by C99.
25475
25476 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25477
25478 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25479 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25480 after this.
25481
25482 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25483
25484 * stdlib/longlong.h: Updated from GCC.
25485
25486 2012-05-09 Andreas Jaeger <aj@suse.de>
25487
25488 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25489 default is first entry.
25490 (run_mode): Set type.
25491 (main): Remove informal message about syslog.
25492 (options): Fix typo.
25493
25494 [BZ #14053]
25495 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25496 to asm.
25497 (lrint): Likewise.
25498 (llrintf): Likewise.
25499 (llrint): Likewise.
25500 (rint): Likewise.
25501 (rintf): Likewise.
25502 (nearbyint): Likewise.
25503 (nearbyintf): Likewise.
25504
25505 2012-05-09 Andreas Jaeger <aj@suse.de>
25506 Pedro Alves <palves@redhat.com>
25507
25508 * nscd/nscd.c (run_mode): Use enum.
25509 (main): Cleanup coding style issue.
25510
25511 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25512 Andreas Jaeger <aj@suse.de>
25513
25514 * nscd/nscd.c (go_background): Replaced with...
25515 (run_mode): ... this.
25516 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25517 (options): Add -F --foreground.
25518 (main): Implement it.
25519 (parse_opt): Parse it.
25520
25521 2012-05-09 Andreas Jaeger <aj@suse.de>
25522
25523 [BZ #14083]
25524 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25525 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25526 -Wconversion warning.
25527 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25528 Likewise.
25529
25530 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25531
25532 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25533 == 0.
25534 (LC_ALL): Use macro-int-constant.
25535 (LC_COLLATE): Likewise.
25536 (LC_CTYPE): Likewise.
25537 (LC_MESSAGES): Likewise.
25538 (LC_MONETARY): Likewise.
25539 (LC_NUMERIC): Likewise.
25540 (LC_TIME): Likewise.
25541 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25542 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25544 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25545 Specify type.
25546 [C99-based standards] (float_t): Expect type.
25547 [C99-based standards] (double_t): Expect type.
25548 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25549 type.
25550 [C99-based standards] (HUGE_VALL): Likewise.
25551 [C99-based standards] (INFINITY): Likewise.
25552 [C99-based standards] (NAN): Likewise.
25553 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25554 [C99-based standards] (FP_NAN): Likewise.
25555 [C99-based standards] (FP_NORMAL): Likewise.
25556 [C99-based standards] (FP_SUBNORMAL): Likewise.
25557 [C99-based standards] (FP_ZERO): Likewise.
25558 [C99-based standards] (FP_FAST_FMA): Use
25559 optional-macro-int-constant. Specify type. Require == 1.
25560 [C99-based standards] (FP_FAST_FMAF): Likewise.
25561 [C99-based standards] (FP_FAST_FMAL): Likewise.
25562 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25563 [C99-based standards] (FP_ILOGBNAN): Likewise.
25564 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25565 Specify type.
25566 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25567 [C99-based standards] (math_errhandling): Specify type.
25568 [ISO99 || ISO11] (signgam): Do not allow.
25569 [non-C99-based standards] (copysignf): Do not allow.
25570 [non-C99-based standards] (exp2f): Likewise.
25571 [non-C99-based standards] (log2f): Likewise.
25572 [non-C99-based standards] (modff): Allow.
25573 [non-C99-based standards] (erff): Do not allow.
25574 [non-C99-based standards] (erfcf): Likewise.
25575 [non-C99-based standards] (gammaf): Likewise.
25576 [non-C99-based standards] (hypotf): Likewise.
25577 [non-C99-based standards] (j0f): Likewise.
25578 [non-C99-based standards] (j1f): Likewise.
25579 [non-C99-based standards] (jnf): Likewise.
25580 [non-C99-based standards] (lgammaf): Likewise.
25581 [non-C99-based standards] (tgammaf): Likewise.
25582 [non-C99-based standards] (y0f): Likewise.
25583 [non-C99-based standards] (y1f): Likewise.
25584 [non-C99-based standards] (ynf): Likewise.
25585 [non-C99-based standards] (isnanf): Likewise.
25586 [non-C99-based standards] (acoshf): Likewise.
25587 [non-C99-based standards] (asinhf): Likewise.
25588 [non-C99-based standards] (atanhf): Likewise.
25589 [non-C99-based standards] (cbrtf): Likewise.
25590 [non-C99-based standards] (expm1f): Likewise.
25591 [non-C99-based standards] (ilogbf): Likewise.
25592 [non-C99-based standards] (log1pf): Likewise.
25593 [non-C99-based standards] (logbf): Likewise.
25594 [non-C99-based standards] (nextafterf): Likewise.
25595 [non-C99-based standards] (remainderf): Likewise.
25596 [non-C99-based standards] (rintf): Likewise.
25597 [non-C99-based standards] (scalbf): Likewise.
25598 [non-C99-based standards] (copysignl): Likewise.
25599 [non-C99-based standards] (exp2l): Likewise.
25600 [non-C99-based standards] (log2l): Likewise.
25601 [non-C99-based standards] (modfl): Allow.
25602 [non-C99-based standards] (erfl): Do not allow.
25603 [non-C99-based standards] (erfcl): Likewise.
25604 [non-C99-based standards] (gammal): Likewise.
25605 [non-C99-based standards] (hypotl): Likewise.
25606 [non-C99-based standards] (j0l): Likewise.
25607 [non-C99-based standards] (j1l): Likewise.
25608 [non-C99-based standards] (jnl): Likewise.
25609 [non-C99-based standards] (lgammal): Likewise.
25610 [non-C99-based standards] (tgammal): Likewise.
25611 [non-C99-based standards] (y0l): Likewise.
25612 [non-C99-based standards] (y1l): Likewise.
25613 [non-C99-based standards] (ynl): Likewise.
25614 [non-C99-based standards] (isnanl): Likewise.
25615 [non-C99-based standards] (acoshl): Likewise.
25616 [non-C99-based standards] (asinhl): Likewise.
25617 [non-C99-based standards] (atanhl): Likewise.
25618 [non-C99-based standards] (cbrtl): Likewise.
25619 [non-C99-based standards] (expm1l): Likewise.
25620 [non-C99-based standards] (ilogbl): Likewise.
25621 [non-C99-based standards] (log1pl): Likewise.
25622 [non-C99-based standards] (logbl): Likewise.
25623 [non-C99-based standards] (nextafterl): Likewise.
25624 [non-C99-based standards] (remainderl): Likewise.
25625 [non-C99-based standards] (rintl): Likewise.
25626 [non-C99-based standards] (scalbl): Likewise.
25627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25628 [non-C99-based standards] (FP_*): Do not allow.
25629 [C99-based standards] (FP_*): Change to
25630 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25631 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25632 allow.
25633 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25634 (SIG_ERR): Likewise.
25635 [X/Open-based standards] (SIG_HOLD): Likewise.
25636 (SIG_IGN): Likewise.
25637 (SIGABRT): Use macro-int-constant. Specify type. Require
25638 positive value.
25639 (SIGFPE): Likewise.
25640 (SIGILL): Likewise.
25641 (SIGINT): Likewise.
25642 (SIGSEGV): Likewise.
25643 (SIGTER): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25648 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25657 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25658 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25659 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25660 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25661 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25662 [X/Open-based standards] (SIGTRAP): Likewise.
25663 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25664 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25666 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25667 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25668 allow.
25669
25670 2012-05-08 Ian Wienand <ianw@vmware.com>
25671
25672 [BZ #14080]
25673 * time/tzset.c (__tzset_parse_tz): Update default rules for
25674 daylight time changes in the Energy Policy Act of 2005.
25675
25676 2012-05-09 Andreas Jaeger <aj@suse.de>
25677
25678 [BZ #13983]
25679 * elf/ldconfig.c (parse_conf): Change string to make clear that
25680 ldconfig only issued a warning if ld.so.conf does not exist.
25681
25682 2012-05-08 David S. Miller <davem@davemloft.net>
25683
25684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25685 movxtod instead of popping the value on the stack.
25686
25687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25688
25689 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25690
25691 * config.h.in: Add HAVE_ARM_PCS_VFP.
25692
25693 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25694
25695 [BZ #13979]
25696 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25697 checking but the checks are disabled for any reason.
25698
25699 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25702 and ELF64_R_TYPE with ELFW(R_TYPE).
25703
25704 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25705
25706 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25707 (ulimit): Likewise.
25708
25709 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25710 (settimeofday): Likewise.
25711
25712 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25713
25714 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25715 a struct th_u2 inside the union, and move tu_block/tu_code into
25716 a new th_u3 union of tu_block/tu_code inside of that. Move
25717 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25718 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25719 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25720 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25721 (th_stuff): Change to th_u1.tu_stuff.
25722 (th_data): Define.
25723 (th_msg): Change to th_u1.th_u2.tu_data.
25724
25725 2012-05-07 David S. Miller <davem@davemloft.net>
25726
25727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25728
25729 [BZ #14074]
25730 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25731 (SETUP_PIC_REG): Use it.
25732 (SETUP_PIC_REG_LEAF): Use it.
25733
25734 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25735
25736 [BZ #13885]
25737 [BZ #13923]
25738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25739 USE_AS_EXPM1L.
25740 (EXPL_FINITE): Likewise.
25741 (FLDLOG): Likewise.
25742 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25743 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25744 e_expl.S.
25745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25746 USE_AS_EXPM1L.
25747 (EXPL_FINITE): Likewise.
25748 (FLDLOG): Likewise.
25749 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25750 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25751 e_expl.S.
25752 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25753 test of -max_value argument for long double.
25754 * sysdeps/i386/fpu/libm-test-ulps: Update.
25755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25756
25757 2012-05-06 David S. Miller <davem@davemloft.net>
25758
25759 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25760 quad soft-float symbols whose references which are compiler
25761 generated.
25762 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25763
25764 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25765
25766 [BZ #13884]
25767 [BZ #13914]
25768 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25769 USE_AS_EXP10L.
25770 (EXPL_FINITE): Likewise.
25771 (FLDLOG): Likewise.
25772 (c0): Likewise.
25773 (c1): Likewise.
25774 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25775 Adjust comments for base varying.
25776 (__expl_finite): Change alias to EXPL_FINITE.
25777 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25778 e_expl.S.
25779 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25780 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25781 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25782 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25783 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25784 USE_AS_EXP10L.
25785 (EXPL_FINITE): Likewise.
25786 (FLDLOG): Likewise.
25787 (c0): Likewise.
25788 (c1): Likewise.
25789 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25790 Adjust comments for base varying.
25791 (__expl_finite): Change alias to EXPL_FINITE.
25792 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25793 tests for bugs.
25794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25795
25796 [BZ #14064]
25797 * math/libm-test.inc (check_float_internal): Correct ulp
25798 calculation for subnormal expected results.
25799
25800 2012-05-06 Andreas Jaeger <aj@suse.de>
25801
25802 * Makeconfig (+math-flags): New, set to -frounding-math.
25803 (+cflags): Add +math-flags so that all of glibc gets compiled with
25804 it.
25805
25806 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25807
25808 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25809
25810 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25811 Disable one test.
25812
25813 [BZ #13787]
25814 [BZ #13922]
25815 [BZ #14036]
25816 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25817 (__ieee754_expl): Allow for and saturate large arguments.
25818 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25819 (u_threshold): Likewise.
25820 (__exp): Call __ieee754_exp before checking for overflow and
25821 underflow.
25822 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25823 (u_threshold): Likewise.
25824 (__expf): Call __ieee754_expf before checking for overflow and
25825 underflow.
25826 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25827 (u_threshold): Likewise.
25828 (__expl): Call __ieee754_expl before checking for overflow and
25829 underflow.
25830 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25831 (__ieee754_expl): Allow for and saturate large arguments.
25832 * math/libm-test.inc (exp_test): Add another test. Do not allow
25833 missing overflow exception on overflow.
25834 (expm1_test): Do not allow missing overflow exception on overflow.
25835
25836 * sysdeps/i386/fpu/e_expl.c: Move to ...
25837 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25838 rather than using inline asm.
25839 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25840 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25841 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25842
25843 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25844 (nice): Likewise.
25845 (poll): Likewise.
25846 (signal): Likewise.
25847 (time): Likewise.
25848 (times): Likewise.
25849
25850 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25851
25852 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25853 sysdeps/unix/common/syscalls.list.
25854 (fchmod): Likewise.
25855 (fchown): Likewise.
25856 (ftruncate): Likewise.
25857 (getrusage): Likewise.
25858 (gettimeofday): Likewise.
25859 (setpgid): Likewise.
25860 (setregid): Likewise.
25861 (setreuid): Likewise.
25862 (sigaction): Likewise.
25863 (truncate): Likewise.
25864 (vhangup): Likewise.
25865 * sysdeps/unix/common/syscalls.list: Remove file.
25866 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25867 * sysdeps/unix/sysv/linux/Implies: Likewise.
25868
25869 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25870
25871 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25873 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25874 Moved to ...
25875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25876 Here.
25877 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25878 to ...
25879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25880 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25881 to ...
25882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25883 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25884 to ...
25885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25886 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25887 to ...
25888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25889 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25890 to ...
25891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25892 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25893 to ...
25894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25895 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25896 to ...
25897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25898 Here.
25899 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25900 to ...
25901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25902 Here.
25903 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25904 to ...
25905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25906 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25907 Moved to ...
25908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25909 Here.
25910 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25911 to ...
25912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25913
25914 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25915
25916 * sysdeps/unix/common/bits/dirent.h: Remove file.
25917 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25918
25919 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25920 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25921 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25922 * sysdeps/unix/bsd/isatty.c: Likewise.
25923 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25924 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25925 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25926
25927 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25928
25929 [BZ #13563]
25930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25931 long double comparison inaccuracies.
25932 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25934
25935 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25936
25937 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25939
25940 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25941
25942 [BZ #14049]
25943 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25944 nonzero digits before rounding a hex value.
25945 * stdlib/tst-strtod.c (tests): Add another test.
25946
25947 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25948
25949 * sysdeps/s390/fpu/libm-test-ulps: Update.
25950
25951 2012-05-03 Andreas Jaeger <aj@suse.de>
25952
25953 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25954 does not get optimized out.
25955 (malloc_opt_barrier): New.
25956
25957 2012-05-03 Andreas Jaeger <aj@suse.de>
25958 Roland McGrath <roland@hack.frob.com>
25959
25960 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25961 intermediate file deletion.
25962 (generated): Add .symlist files.
25963
25964 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25965
25966 [BZ #13775]
25967 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25968 Redirect under this condition.
25969 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25970 [__USE_GNU] (__dprintf_chk): Not under this condition.
25971 [__USE_GNU] (__vdprintf_chk): Likewise.
25972 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25973 under this condition.
25974 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25975 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25976 [__USE_XOPEN2K8] (vdprintf): Likewise.
25977 [__USE_GNU] (__dprintf_chk): Not under this condition.
25978 [__USE_GNU] (__vdprintf_chk): Likewise.
25979 [__USE_GNU] (dprintf): Likewise.
25980 [__USE_GNU] (vdprintf): Likewise.
25981
25982 2012-05-03 Roland McGrath <roland@hack.frob.com>
25983
25984 * elf/Makefile (common-generated): Set this instead of generated for
25985 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25986 $(all-built-dso)-derived lists.
25987
25988 2012-05-03 Andreas Jaeger <aj@suse.de>
25989
25990 * sysdeps/i386/fpu/libm-test-ulps: Update.
25991
25992 * FAQ: Removed.
25993 * FAQ.in: Likewise.
25994 * scripts/gen-FAQ.pl: Likewise.
25995 * manual/install.texi (Installation): Point to online location of
25996 FAQ.
25997 * Makefile (files-for-dist): Remove FAQ.
25998 (FAQ): Remove.
25999
26000 2012-05-02 Allan McRae <allan@archlinux.org>
26001
26002 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26003 (LDFLAGS-reldepmod5.so): Likewise.
26004 (LDFLAGS-reldep6mod1.so): Likewise.
26005 (LDFLAGS-reldep6mod4.so): Likewise.
26006 (LDFLAGS-reldep8mod3.so): Likewise.
26007 (LDFLAGS-unload4mod1.so): Likewise.
26008 (LDFLAGS-unload4mod2.so): Likewise.
26009 (LDFLAGS-tst-initorder): Likewise.
26010 (LDFLAGS-tst-initordera2.so): Likewise.
26011 (LDFLAGS-tst-initordera3.so): Likewise.
26012 (LDFLAGS-tst-initordera4.so): Likewise.
26013 (LDFLAGS-tst-initorderb2.so): Likewise.
26014 (LDFLAGS-noload): Likewise.
26015 (LDFLAGS-next): Likewise.
26016 (LDFLAGS-order2mod1.so): Likewise.
26017 (LDFLAGS-order2mod2.so): Likewise.
26018 (LDFLAGS-tst-initorder2): Likewise.
26019 (LDFLAGS-tst-initorder2a.so): Likewise.
26020 (LDFLAGS-tst-initorder2b.so): Likewise.
26021 (LDFLAGS-tst-initorder2c.so): Likewise.
26022 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26023
26024 2012-05-02 David S. Miller <davem@davemloft.net>
26025
26026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26027
26028 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26029
26030 [BZ #14055]
26031 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26032
26033 2012-05-02 Andreas Jaeger <aj@suse.de>
26034
26035 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26036 since we manipulate rounding mode.
26037 (CPPFLAGS-test-idouble.c): Likewise.
26038 (CPPFLAGS-test-ifloat.c): Likewise.
26039 (CFLAGS-test-ldouble.c): Likewise.
26040 (CFLAGS-test-double.c): Likewise.
26041 (CFLAGS-test-float.c): Likewise.
26042 (CFLAGS-test-misc.c): Likewise.
26043 (CFLAGS-test-test-fenv.c): Likewise.
26044
26045 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26046
26047 [BZ #2550]
26048 [BZ #2570]
26049 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26050 comparisons to determine direction to adjust input.
26051
26052 2012-05-01 Roland McGrath <roland@hack.frob.com>
26053
26054 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26055 output to the target.
26056
26057 * scripts/localplt.awk: New file.
26058 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26059 (check-localplt-CFLAGS): Variable removed.
26060 ($(all-built-dso:=.jmprel)): New static pattern rule.
26061 (generated): Add those targets.
26062 (localplt-built-dso): New variable.
26063 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26064
26065 * elf/check-localplt.c: File removed.
26066
26067 * scripts/check-execstack.awk: New file.
26068 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26069 (check-execstack-CFLAGS): Variable removed.
26070 ($(objpfx)check-execstack.h): Target removed.
26071 ($(objpfx)execstack-default): New target.
26072 (generated): Add that instead of check-execstack.h.
26073 ($(all-built-dso:=.phdr)): New static pattern rule.
26074 (generated): Add those targets.
26075 * elf/check-execstack.c: File removed.
26076
26077 * scripts/check-textrel.awk: New file.
26078 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26079 (check-textrel-CFLAGS): Variable removed.
26080 (all-built-dso): Use := to define.o
26081 ($(all-built-dso:=.dyn)): New static pattern rule.
26082 (generated): Add those targets.
26083 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26084 * config.make.in (READELF): New substituted variable.
26085 * elf/check-textrel.c: File removed.
26086
26087 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26088
26089 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26090 allow.
26091 * conform/data/ctype.h-data [C99-based standards] (isblank):
26092 Expect function.
26093 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26094 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26096 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26097 Specify type. Require positive value.
26098 (EILSEQ): Likewise.
26099 (ERANGE): Likewise.
26100 [ISO || POSIX] (EILSEQ): Do not expect.
26101 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26102 Specify type. Require positive value.
26103 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26104 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26105 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26106 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26107 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26108 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26109 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26110 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26111 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26112 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26113 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26114 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26115 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26116 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26117 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26118 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26119 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26120 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26121 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26122 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26123 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26124 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26125 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26126 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26127 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26128 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26129 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26130 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26131 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26132 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26133 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26134 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26135 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26136 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26137 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26138 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26139 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26140 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26141 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26142 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26143 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26144 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26145 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26146 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26147 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26148 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26149 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26150 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26151 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26152 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26153 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26154 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26155 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26156 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26157 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26158 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26159 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26160 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26161 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26162 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26163 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26164 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26165 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26166 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26167 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26168 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26169 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26170 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26171 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26172 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26173 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26174 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26175 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26176 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26177 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26178 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26179 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26180 Require >= 2.
26181 (FLT_ROUNDS): Expect as macro, not constant.
26182 (FLT_MANT_DIG): Use macro-int-constant.
26183 (DBL_MANT_DIG): Likewise.
26184 (LDBL_MANT_DIG): Likewise.
26185 (FLT_DIG): Likewise.
26186 (DBL_DIG): Likewise.
26187 (LDBL_DIG): Likewise.
26188 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26189 (DBL_MIN_EXP): Likewise.
26190 (LDBL_MIN_EXP): Likewise.
26191 (FLT_MAX_EXP): Use macro-int-constant.
26192 (DBL_MAX_EXP): Likewise.
26193 (LDBL_MAX_EXP): Likewise.
26194 (FLT_MAX_10_EXP): Likewise.
26195 (DBL_MAX_10_EXP): Likewise.
26196 (LDBL_MAX_10_EXP): Likewise.
26197 (FLT_MAX): Use macro-constant.
26198 (DBL_MAX): Likewise.
26199 (LDBL_MAX): Likewise.
26200 (FLT_EPSILON): Use macro-constant. Give upper bound.
26201 (DBL_EPSILON): Likewise.
26202 (LDBL_EPSILON): Likewise.
26203 (FLT_MIN): Likewise.
26204 (DBL_MIN): Likewise.
26205 (LDBL_MIN): Likewise.
26206 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26207 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26208 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26209 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26210 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26211 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26212 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26213 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26214 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26215 [ISO11] (FLT_TRUE_MIN): Likewise.
26216 [ISO11] (LDBL_TRUE_MIN): Likewise.
26217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26218 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26219 (SCHAR_MIN): Use macro-int-constant. Specify type.
26220 (SCHAR_MAX): Likewise.
26221 (UCHAR_MAX): Likewise.
26222 (CHAR_MIN): Likewise.
26223 (CHAR_MAX): Likewise.
26224 (MB_LEN_MAX): Use macro-int-constant.
26225 (SHRT_MIN): Use macro-int-constant. Specify type.
26226 (SHRT_MAX): Likewise.
26227 (USHRT_MAX): Likewise.
26228 (INT_MAX): Likewise.
26229 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26230 bound negative.
26231 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26232 bound with "U".
26233 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26234 bound with "L".
26235 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26236 bound negative. Suffix upper bound with "L".
26237 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26238 bound with "UL".
26239 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26240 Specify type.
26241 [C99-based standards] (LLONG_MAX): Likewise.
26242 [C99-based standards] (ULLONG_MAX): Likewise.
26243 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26244 == 0.
26245 [ISO11] (max_align_t): Require type.
26246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26247
26248 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26249 from $CFLAGS, without defining away __attribute__ calls.
26250 (checknamespace): Use $CFLAGS_namespace.
26251
26252 * conform/conformtest.pl (@keywords): Only include C99 keywords
26253 for standards based on C99 or C11.
26254
26255 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26256 Disable tests.
26257 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26258 UNIX98]: Likewise.
26259
26260 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26261 usability of symbols in #if.
26262
26263 * conform/conformtest.pl: If macro or constant types start
26264 "promoted:", expect the symbol to be of the following type
26265 promoted by the integer promotions.
26266
26267 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26268 in one place. Also handle "macro-constant".
26269
26270 * conform/conformtest.pl: Only accept expected macro values with
26271 "==". Parse all "macro" lines in one place.
26272 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26273
26274 * conform/conformtest.pl: Handle braced types on "constant" lines
26275 instead of handling "typed-constant".
26276 * conform/data/signal.h-data: Use "constant" instead of
26277 "typed-constant".
26278
26279 * conform/conformtest.pl: Handle "optional-" at start of lines in
26280 one place rather than duplicating several cases. Handle each
26281 format of "macro" line with initial "optional-".
26282
26283 * conform/conformtest.pl: Only accept expected constant or
26284 optional-constant values with "==". Parse all "constant" lines in
26285 one place. Parse all "optional-constant" lines in one place.
26286 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26287 * conform/data/fmtmsg.h-data: Likewise.
26288 * conform/data/netinet/in.h-data: Likewise.
26289 * conform/data/tar.h-data: Likewise.
26290 * conform/data/limits.h-data: Use "==" form on "constant" and
26291 "optional-constant" lines.
26292
26293 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26294 Use -std=c99 for XOPEN2K.
26295 (@knownproblems): Remove.
26296 (newtoken): Don't check %isknown.
26297
26298 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26299 Do not expect macro.
26300 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26312 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26313 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26320 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26330 [XPG3] (acosh): Likewise.
26331 [XPG3] (asinh): Likewise.
26332 [XPG3] (atanh): Likewise.
26333 [XPG3] (cbrt): Likewise.
26334 [XPG3] (expm1): Likewise.
26335 [XPG3] (ilogb): Likewise.
26336 [XPG3] (log1p): Likewise.
26337 [XPG3] (logb): Likewise.
26338 [XPG3] (nextafter): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26341 [XPG3] (remainder): Likewise.
26342 [XPG3] (rint): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26350 [UNIX98 || XOPEN2K] (scalb): Expect.
26351 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26352 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26371 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26372 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26373 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26374 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26375 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26376 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26377 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26378 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26379 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26380 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26382 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26383 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26384 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26385 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26386 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26387 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26388 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26389 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26391 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26392 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26393 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26394 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26395 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26396 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26397 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26398 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26399 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26400 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26401 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26402 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26403 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26404 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26405 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26406 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26407 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26408 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26409 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26410 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26411 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26412 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26414 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26415 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26416 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26417 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26418 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26419 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26420 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26421 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26422 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26423 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26424 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26425 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26426 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26427 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26428 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26429 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26430 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26431 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26432 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26433 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26434 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26435 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26436 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26437 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26438 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26439 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26440 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26441 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26442 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26443 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26444 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26445 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26446 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26447 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26448 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26449 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26450 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26451 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26452 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26453 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26454 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26455 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26456 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26457 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26458 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26459 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26460 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26461 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26462 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26463 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26464 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26465 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26466 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26467 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26468 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26469 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26470 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26471 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26472 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26473 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26474 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26475 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26476 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26477 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26478 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26479 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26480 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26481 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26482 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26483 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26484 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26485 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26486 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26487 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26488
26489 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26490 _XOPEN_SOURCE_EXTENDED for XPG4.
26491
26492 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26493
26494 * Makeconfig (localtime): Remove variable.
26495 (inst_localtime-file): Likewise.
26496
26497 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26498
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26500 Update.
26501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26502 Update.
26503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26504 Update.
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26506 Update.
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26508 Update.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26510 Update.
26511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26512 Update.
26513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26514 Update.
26515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26516 Update.
26517
26518 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26519
26520 [BZ #2550]
26521 [BZ #2570]
26522 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26523 comparisons to determine direction to adjust input.
26524 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26525 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26526 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26527 Likewise.
26528 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26529 Likewise.
26530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26531 Likewise.
26532 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26533 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26534 Likewise.
26535 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26536 Likewise.
26537 * math/libm-test.inc (nexttoward_test): Add more tests.
26538
26539 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26540
26541 [BZ #14040]
26542 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26543 in version GLIBC_2.1, not GLIBC_2.0.
26544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26545 Likewise.
26546
26547 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26548
26549 [BZ #13942]
26550 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26551 (1 - x) * (1 + x).
26552 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26553 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26554 * math/libm-test.inc (acos_test): Add more tests.
26555 (asin_test): Likewise.
26556 * sysdeps/i386/fpu/libm-test-ulps: Update.
26557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26558
26559 [BZ #14034]
26560 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26561 of square root.
26562 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26563 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26564 * math/libm-test.inc (acos_test_tonearest): New function.
26565 (acos_test_towardzero): Likewise.
26566 (acos_test_downward): Likewise.
26567 (acos_test_upward): Likewise.
26568 (asin_test_tonearest): Likewise.
26569 (asin_test_towardzero): Likewise.
26570 (asin_test_downward): Likewise.
26571 (asin_test_upward): Likewise.
26572 (main): Call the new functions.
26573 * sysdeps/i386/fpu/libm-test-ulps: Update.
26574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26575
26576 [BZ #13884]
26577 [BZ #13924]
26578 * math/e_exp10.c: Include <float.h>.
26579 (__ieee754_exp10): Handle underflow here rather than multiplying
26580 large negative argument by M_LN10.
26581 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26582 of __ieee754_expf.
26583 * math/e_exp10l.c: Include <float.h>.
26584 (__ieee754_exp10l): Handle underflow here rather than multiplying
26585 large negative argument by M_LN10l.
26586 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26587 spurious overflow exception on underflow.
26588
26589 2012-04-29 Marek Polacek <polacek@redhat.com>
26590
26591 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26592 (__fortify_function): New macro.
26593 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26594 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26595 __extern_always_inline.
26596 * libio/bits/stdio2.h: Likewise.
26597 * libio/bits/stdio.h: Likewise.
26598 * string/string.h: Likewise.
26599 * string/bits/string3.h: Likewise.
26600 * include/stdio.h: Likewise.
26601 * stdlib/bits/stdlib.h: Likewise.
26602 * stdlib/stdlib.h: Likewise.
26603 * rt/bits/mqueue2.h: Likewise.
26604 * rt/mqueue.h: Likewise.
26605 * posix/bits/unistd.h: Likewise.
26606 * posix/unistd.h: Likewise.
26607 * io/bits/poll2.h: Likewise.
26608 * io/bits/fcntl2.h: Likewise.
26609 * io/fcntl.h: Likewise.
26610 * io/sys/poll.h: Likewise.
26611 * misc/bits/syslog.h: Likewise.
26612 * misc/bits/syslog-ldbl.h: Likewise.
26613 * misc/sys/syslog.h: Likewise.
26614 * socket/bits/socket2.h: Likewise.
26615 * socket/sys/socket.h: Likewise.
26616 * debug/tst-chk1.c: Likewise.
26617 * wcsmbs/bits/wchar2.h: Likewise.
26618 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26619 * wcsmbs/wchar.h: Likewise.
26620
26621 2012-04-29 Andreas Jaeger <aj@suse.de>
26622
26623 * Makerules (tests): Remove enable-check-abi protection.
26624 (check-abi-warn): Remove.
26625 (check-abi-%): Remove check-abi-warn usage.
26626
26627 * configure.in: Remove check-abi configure option.
26628 * configure: Regenerated.
26629 * config.make.in (enable-check-abi): Remove.
26630
26631 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26632
26633 [BZ #14033]
26634 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26635 double functions to double *_finite functions.
26636
26637 [BZ #13941]
26638 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26639 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26640 LDBL_MIN_EXP.
26641 * stdio-common/Makefile (tests): Add tst-sprintf3.
26642 * stdio-common/tst-sprintf3.c: New file.
26643
26644 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26645 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26646
26647 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26648
26649 * conform/conformtest.pl: Remove duplicate typed-constant
26650 handling.
26651
26652 2012-04-28 David S. Miller <davem@davemloft.net>
26653
26654 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26655 (check-abi-%): Remove AWK script prerequisite and explicit
26656 abilist directory.
26657 (check-abi): Rewrite to just diff the symlist with the abilist.
26658 (config-tls, config-abi-config): Delete, no longer used.
26659 (update-abi-%): Remove AWK script and explicit abilist directory.
26660 (update-abi): Rewrite to simply compare and conditionally copy the
26661 symlist and the sysdep abilist file. Remove update-abi-config
26662 checks.
26663 * abilist/ld.abilist: Remove.
26664 * abilist/libBrokenLocale.abilist: Remove.
26665 * abilist/libanl.abilist: Remove.
26666 * abilist/libcrypt.abilist: Remove.
26667 * abilist/libdl.abilist: Remove.
26668 * abilist/librt.abilist: Remove.
26669 * abilist/libthread_db.abilist: Remove.
26670 * abilist/libutil.abilist: Remove.
26671 * scripts/extract-abilist.awk: Remove.
26672 * scripts/merge-abilist.awk: Remove.
26673 * sysdeps/generic/libcidn.abilist: New file.
26674 * sysdeps/generic/libnss_compat.abilist: New file.
26675 * sysdeps/generic/libnss_db.abilist: New file.
26676 * sysdeps/generic/libnss_dns.abilist: New file.
26677 * sysdeps/generic/libnss_files.abilist: New file.
26678 * sysdeps/generic/libnss_hesiod.abilist: New file.
26679 * sysdeps/generic/libnss_nis.abilist: New file.
26680 * sysdeps/generic/libnss_nisplus.abilist: New file.
26681 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26682 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26683 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26684 file.
26685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26686 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26687 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26688 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26689 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26690 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26691 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26692 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26693 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26694 file.
26695 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26696 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26697 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26698 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26699 file.
26700 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26701 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26702 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26703 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26704 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26705 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26706 file.
26707 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26708 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26709 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26710 file.
26711 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26713 New file.
26714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26715 New file.
26716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26717 New file.
26718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26719 New file.
26720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26721 New file.
26722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26723 New file.
26724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26725 New file.
26726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26727 New file.
26728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26729 New file.
26730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26731 New file.
26732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26733 New file.
26734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26735 New file.
26736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26737 New file.
26738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26739 file.
26740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26741 New file.
26742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26743 New file.
26744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26745 file.
26746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26747 New file.
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26749 New file.
26750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26751 file.
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26753 New file.
26754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26755 New file.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26757 New file.
26758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26759 New file.
26760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26761 New file.
26762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26763 New file.
26764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26766 file.
26767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26768 New file.
26769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26770 file.
26771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26772 file.
26773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26774 file.
26775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26776 file.
26777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26778 file.
26779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26780 New file.
26781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26782 file.
26783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26784 file.
26785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26786 New file.
26787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26788 file.
26789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26791 file.
26792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26793 New file.
26794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26795 file.
26796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26797 file.
26798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26799 file.
26800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26801 file.
26802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26803 file.
26804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26805 New file.
26806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26807 file.
26808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26809 file.
26810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26811 New file.
26812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26813 file.
26814 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26815 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26816 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26817 file.
26818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26819 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26820 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26821 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26822 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26823 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26824 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26825 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26826 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26827 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26830 file.
26831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26832 New file.
26833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26834 file.
26835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26836 file.
26837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26838 file.
26839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26840 file.
26841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26842 file.
26843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26844 New file.
26845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26846 New file.
26847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26848 file.
26849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26850 New file.
26851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26852 file.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26855 file.
26856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26857 New file.
26858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26859 file.
26860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26861 file.
26862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26863 file.
26864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26865 file.
26866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26867 file.
26868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26869 New file.
26870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26871 New file.
26872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26873 file.
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26875 New file.
26876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26877 file.
26878
26879 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26880
26881 * conform/conformtest.pl: Fix typo in handling typed-constant from
26882 allow-header.
26883
26884 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26885
26886 * README: Cut down references to pre-2.6 Linux kernels and
26887 Linuxthreads. Update lists of configurations in libc and ports
26888 and sort alphabetically. Say "or newer" with Linux kernel version
26889 requirements.
26890
26891 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26892
26893 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26894
26895 [BZ #887]
26896 * math/libm-test.inc (logb_test_downward): New test to expose
26897 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26898 rounding mode.
26899
26900 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26901
26902 [BZ #14027]
26903 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26904 to be done.
26905 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26906 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26907
26908 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26909
26910 * sysdeps/unix/i386/brk.S: Remove file.
26911 * sysdeps/unix/i386/dl-brk.S: Likewise.
26912 * sysdeps/unix/i386/pipe.S: Likewise.
26913 * sysdeps/unix/i386/sigreturn.S: Likewise.
26914 * sysdeps/unix/i386/syscall.S: Likewise.
26915 * sysdeps/unix/i386/vfork.S: Likewise.
26916 * sysdeps/unix/i386/wait.S: Likewise.
26917
26918 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26919 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26920
26921 * configure.in (arm*-none*): Do not allow without
26922 --enable-hacker-mode.
26923 (netbsd*): Remove case setting base_os.
26924 (386bsd*): Likewise.
26925 (freebsd*): Likewise.
26926 (bsdi*): Likewise.
26927 (osf*): Likewise.
26928 (sunos*): Likewise.
26929 (ultrix*): Likewise.
26930 (newsos*): Likewise.
26931 (dynix*): Likewise.
26932 (*bsd*): Likewise.
26933 (sysv*): Likewise.
26934 (isc*): Likewise.
26935 (esix*): Likewise.
26936 (sco*): Likewise.
26937 (minix*): Likewise.
26938 (irix4*): Likewise.
26939 (irix6*): Likewise.
26940 (solaris[2-9]*): Likewise.
26941 (none): Likewise.
26942 * configure: Regenerated.
26943
26944 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26945
26946 [BZ #11521]
26947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26948 overflow or cancellation in calculating denominator.
26949 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26950 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26951 down expression to avoid unexpected rounding in newer GCCs.
26952 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26953
26954 2012-04-26 David S. Miller <davem@davemloft.net>
26955
26956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26957 long-double compat symbols.
26958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26971
26972 2012-04-25 David S. Miller <davem@davemloft.net>
26973
26974 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26975 HWCAP_* values only after the memory barriers have been defined.
26976 (atomic_full_barrier): Define.
26977 (atomic_read_barrier): Define.
26978 (atomic_write_barrier): Define.
26979
26980 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26981
26982 * shlib-versions: Add libgcc_s version information.
26983 * sysdeps/generic/libgcc_s.h: Remove.
26984 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26985 libgcc_s.h.
26986 * sysdeps/gnu/unwind-resume.c: Likewise.
26987 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26988
26989 2012-04-25 David S. Miller <davem@davemloft.net>
26990
26991 * sysdeps/unix/sparc/brk.S: Delete.
26992 * sysdeps/unix/sparc/dl-brk.S: Delete.
26993 * sysdeps/unix/sparc/pipe.S: Delete.
26994 * sysdeps/unix/sparc/sysdep.S: Delete.
26995 * sysdeps/unix/sparc/sysdep.h: Delete.
26996 * sysdeps/unix/sparc/vfork.S: Delete.
26997 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26998 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26999 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27000 ret_ERRVAL, r0, r1, MOVE): Define.
27001 (JUMPTARGET): Remove.
27002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27003 sysdeps/unix/sparc/sysdep.h
27004 (ENTRY, END): Remove.
27005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27006
27007 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27008
27009 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27010 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27011 -DIS_IN_build.
27012
27013 * timezone/README: Update upstream location and email address for
27014 tzcode and tzdata.
27015 * timezone/zdump.c: Update from tzcode 2012b.
27016 * timezone/zic.c: Likewise.
27017
27018 * configure.in (libc_cv_as_needed): Remove test.
27019 * configure: Regenerated.
27020 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27021 conditional definition.
27022 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27023 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27024 * config.make.in (have-as-needed): Remove variable.
27025
27026 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27027 Paul Pluzhnikov <ppluzhnikov@google.com>
27028
27029 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27030 strings correctly.
27031
27032 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27033
27034 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27035 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27036 * sysdeps/sh/strlen.S: Likewise.
27037
27038 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27039
27040 * sysdeps/unix/fork.S: Remove file.
27041 * sysdeps/unix/i386/fork.S: Likewise.
27042 * sysdeps/unix/sparc/fork.S: Likewise.
27043
27044 * sysdeps/unix/system.c: Remove file.
27045 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27046
27047 * sysdeps/unix/getegid.S: Remove file.
27048 * sysdeps/unix/geteuid.S: Likewise.
27049
27050 2012-04-24 Roland McGrath <roland@hack.frob.com>
27051
27052 * scripts/check-localplt.awk: New file.
27053 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27054 of diff.
27055 * scripts/data/localplt-generic.data: Add a comment.
27056
27057 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27058 NODE when __dir_mkfile failed.
27059 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27060 Reported by Ludovic Courtès <ludo@gnu.org>.
27061
27062 2012-04-24 Andreas Jaeger <aj@suse.de>
27063
27064 * Makerules (common-clean): Also remove gen-as-const-headers
27065 files.
27066
27067 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27068
27069 * Makerules (native-compile): Do not change working directory for
27070 build. Use $(OUTPUT_OPTION) in command.
27071 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27072
27073 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27074
27075 [BZ #13886]
27076 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27077 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27078 * math/libm-test.inc (floor_test): Add more tests.
27079 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27080
27081 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27082
27083 * sysdeps/unix/getdents.c: Remove file.
27084 * sysdeps/unix/sysv/getdents.c: Likewise.
27085 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27086
27087 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27088 sysdeps/unix/mman/syscalls.list.
27089 (mmap): Likewise.
27090 (mprotect): Likewise.
27091 (msync): Likewise.
27092 (munmap): Likewise.
27093 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27094 * sysdeps/unix/mman/syscalls.list: Remove.
27095 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27096
27097 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27098 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27099 * configure: Regenerated.
27100 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27101 $(libgcc_s_suffix).
27102 * config.make.in (libgcc_s_suffix): Remove variable.
27103
27104 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27105
27106 * sysdeps/unix/sysv/gethostname.c: Move to ...
27107 * sysdeps/posix/gethostname.c: ... here.
27108
27109 * sysdeps/unix/execve.S: Remove file.
27110
27111 * sysdeps/unix/_exit.S: Remove file.
27112
27113 2012-04-23 Andreas Jaeger <aj@suse.de>
27114
27115 [BZ #13739]
27116 * manual/Makefile: Remove make dist support, there's no
27117 need for a stand-alone documentation tar ball.
27118 (TEXI2DVI): Define always, it's not in Makeconfig.
27119 (dist): Removed.
27120 (tar-it): Removed.
27121 (edition): Removed.
27122 (glibc-doc-$(edition).tar): Removed
27123 (%.Z): Removed.
27124 (%.gz): Removed.
27125 (%.uu): Removed.
27126 (ETAGS): Remove, it's in Makeconfig.
27127 (move-if-change): Remove, it's in Makeconfig.
27128
27129 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27130
27131 [BZ #13970]
27132 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27133 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27134 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27135 (strtod_l, strtof_l, strtold_l): Remove __wur.
27136 It is not necessarily an error to ignore strtol's return value.
27137 One can reliably look at the stored endptr to decide whether
27138 the number had valid syntax.
27139
27140 2012-04-21 Andreas Jaeger <aj@suse.de>
27141
27142 [BZ #13739]
27143 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27144
27145 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27146
27147 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27148 * sysdeps/unix/sysv/Versions: Remove file.
27149
27150 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27151
27152 [BZ #13927]
27153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27154
27155 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27156
27157 [BZ #7064]
27158 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27159 version from __vm86.
27160
27161 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27162
27163 * sysdeps/unix/common/lxstat.c: Remove file.
27164 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27165
27166 * sysdeps/unix/sysv/Makefile: Remove file.
27167
27168 * sysdeps/unix/sysv/direct.h: Remove file.
27169
27170 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27171 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27172 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27173 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27174 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27175 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27176 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27177
27178 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27179
27180 * sysdeps/unix/xmknod.c: Remove file.
27181 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27182
27183 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27184
27185 * sysdeps/unix/sysv/i386/time.S: Remove file.
27186
27187 * sysdeps/unix/fxstat.c: Remove file.
27188 * sysdeps/unix/xstat.c: Likewise.
27189 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27190
27191 * sysdeps/unix/sysv/sigaction.c: Remove file.
27192
27193 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27194 (sysdep_headers): Remove variable.
27195 [termio.h not in sysdep_headers] (generated): Likewise.
27196 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27197 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27198 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27199 * sysdeps/unix/sysv/tcflow.c: Likewise.
27200 * sysdeps/unix/sysv/tcflush.c: Likewise.
27201 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27202 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27203 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27204 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27205 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27206
27207 * sysdeps/unix/siglist.c: Remove file.
27208
27209 * sysdeps/unix/getppid.S: Remove file.
27210
27211 * sysdeps/unix/mkdir.c: Remove file.
27212 * sysdeps/unix/rmdir.c: Likewise.
27213
27214 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27215
27216 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27217 ERR_MAX value.
27218 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27219 errlist-compat value.
27220
27221 2012-04-18 David S. Miller <davem@davemloft.net>
27222
27223 * sysdeps/generic/memcopy.h (reg_char): Delete.
27224 * debug/strcat_chk.c: Use char, not reg_char.
27225 * debug/strcpy_chk.c: Likewise.
27226 * debug/strncat_chk.c: Likewise.
27227 * debug/strncpy_chk.c: Likewise.
27228 * string/memchr.c: Likewise.
27229 * string/memrchr.c: Likewise.
27230 * string/rawmemchr.c: Likewise.
27231 * string/strcat.c: Likewise.
27232 * string/strchr.c: Likewise.
27233 * string/strchrnul.c: Likewise.
27234 * string/strcmp.c: Likewise.
27235 * string/strcpy.c: Likewise.
27236 * string/strncat.c: Likewise.
27237 * string/strncmp.c: Likewise.
27238 * string/strncpy.c: Likewise.
27239
27240 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27241
27242 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27243 __builtin_memcopy is called when src and dest ranges are known to not
27244 overlap.
27245
27246 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27247
27248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27249 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27250 fwd_align_merge macro call.
27251 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27252 bwd_align_merge macro call.
27253 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27254
27255 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27256
27257 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27258 bwd_align_merge macros.
27259 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27260 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27261 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27262
27263 2012-04-18 David S. Miller <davem@davemloft.net>
27264
27265 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27266
27267 2012-04-18 Andreas Jaeger <aj@suse.de>
27268
27269 [BZ# 6794]
27270 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27271 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27272 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27273
27274 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27275 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27276 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27277
27278 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27279 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27280 Adjust for changed ldbl-128 files.
27281
27282 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27283 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27284 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27285
27286 2012-04-17 David S. Miller <davem@davemloft.net>
27287
27288 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27289
27290 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27291
27292 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27293 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27294 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27295 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27296 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27297 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27298
27299 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27300
27301 [BZ #6794]
27302 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27303 * math/libm-test.inc: Add ilogb errno and exception tests.
27304 * math/w_ilogb.c: New file: ilogb wrapper.
27305 * math/w_ilogbf.c: New file: ilogbf wrapper.
27306 * math/w_ilogbl.c: New file: ilogbl wrapper.
27307 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27308 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27309 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27310 exception being thrown with 0.0 as argument.
27311 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27312 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27313 exception being thrown with 0.0 as argument.
27314 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27315 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27316 exception being thrown with 0.0 as argument.
27317 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27318 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27319 exception being thrown with 0.0 as argument.
27320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27321 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27322 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27323 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27324 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27325 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27326 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27327 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27328 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27329
27330 2012-04-17 Petr Baudis <pasky@ucw.cz>
27331
27332 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27333 with altivec.
27334
27335 2012-04-16 Marek Polacek <polacek@redhat.com>
27336
27337 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27338
27339 2012-04-16 Marek Polacek <polacek@redhat.com>
27340
27341 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27342 operands of fdivp instruction.
27343
27344 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27347 * elf/tst-auditmod3b.c: Likewise.
27348 * elf/tst-auditmod4b.c: Likewise.
27349 * elf/tst-auditmod5b.c: Likewise.
27350 * elf/tst-auditmod6b.c: Likewise.
27351 * elf/tst-auditmod6c.c: Likewise.
27352 * elf/tst-auditmod7b.c: Likewise.
27353 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27354 * sysdeps/x86_64/preconfigure.in: Likewise.
27355 * sysdeps/x86_64/preconfigure: Regenerated.
27356
27357 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27358
27359 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27360 __ILP32__.
27361
27362 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27363
27364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27365 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27366
27367 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27368
27369 [BZ #13973]
27370 * locale/iso-639.def: Fix gl language name. Spotted by
27371 Yaron Shahrabani.
27372
27373 2012-04-12 Roland McGrath <roland@hack.frob.com>
27374
27375 [BZ #2074]
27376 * libio/libio.h (__io_write_fn): Update comment.
27377
27378 2012-04-12 Petr Baudis <pasky@ucw.cz>
27379
27380 [BZ #2074]
27381 * stdio.texi (Hook Functions): The user provided writer function
27382 is not allowed to return -1.
27383
27384 2012-04-11 David S. Miller <davem@davemloft.net>
27385
27386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27387
27388 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27389
27390 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27391 Add a leading slash to rtkaio.
27392
27393 2012-04-11 Jim Meyering <meyering@redhat.com>
27394
27395 [BZ #11959]
27396 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27397 It is not necessarily an error to ignore fwrite's return
27398 value. One can reliably use ferror to test for errors after
27399 the fact.
27400
27401 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 * bits/types.h (__snseconds_t): New type.
27404 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27405
27406 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27408 (__SNSECONDS_T_TYPE): Likewise.
27409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27410 (__SNSECONDS_T_TYPE): Likewise.
27411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27412 (__SNSECONDS_T_TYPE): Likewise.
27413
27414 2012-04-10 Andreas Jaeger <aj@suse.de>
27415
27416 [BZ #2636]
27417 * manual/time.texi (Processor Time): Return type of times is
27418 elapsed real time since an arbitrary point in the past.
27419 (CPU Time): Move CLK_TCK from here...
27420 (Processor Time): ...to here. Correct description.
27421 * manual/conf.texi (Constants for Sysconf): Correct description of
27422 _SC_CLK_TCK.
27423
27424 2012-04-10 David S. Miller <davem@davemloft.net>
27425
27426 [BZ #13967]
27427 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27428 where the is a gap between DT_REL(A) and DT_JMPREL.
27429
27430 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27431
27432 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27433 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27434 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27435
27436 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27437
27438 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27439 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27440 (dl_main): Handle --inhibit-cache.
27441 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27442 _dl_inhibit_cache.
27443 * elf/dl-load.c (_dl_map_object): Use it.
27444 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27445
27446 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27447
27448 [BZ #13872]
27449 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27450 (__ieee754_powl): Saturate large exponents rather than testing for
27451 overflow of y*log2(x).
27452 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27453 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27454 exceptions.
27455
27456 [BZ #11521]
27457 * math/s_ctan.c: Include <float.h>.
27458 (__ctan): Avoid internal overflow or cancellation in calculating
27459 denominator.
27460 * math/s_ctanf.c: Likewise.
27461 * math/s_ctanl.c: Likewise.
27462 * math/s_ctanh.c: Likewise.
27463 * math/s_ctanhf.c: Likewise.
27464 * math/s_ctanhl.c: Likewise.
27465 * math/libm-test.inc (ctan_test): Add more tests.
27466 (ctanh_test): Likewise.
27467 * sysdeps/i386/fpu/libm-test-ulps: Update.
27468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469
27470 2012-04-09 Andreas Jaeger <aj@suse.de>
27471
27472 [BZ #6894]
27473 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27474 is an optional BSD extension.
27475
27476 [BZ #10254]
27477 * manual/stdio.texi (Opening Streams): Document additional fopen
27478 parameters.
27479
27480 2012-04-09 Roland McGrath <roland@hack.frob.com>
27481
27482 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27483 %eax without telling the compiler.
27484
27485 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27486
27487 [BZ # 13963]
27488 * manual/install.texi: Use sourceware.org.
27489
27490 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27491
27492 [BZ #13873]
27493 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27494 (__ieee754_pow): Generate overflow and underflow using huge*huge
27495 and tiny*tiny rather than just returning constant infinity or zero
27496 for large exponents.
27497 * math/libm-test.inc (pow_test): Require overflow exceptions for
27498 applicable cases of large exponents.
27499
27500 [BZ #706]
27501 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27502 (__ieee754_pow): Use iterative multiplication algorithm only for
27503 integer exponents with absolute value below 1024. Check for odd
27504 integer exponents when using algorithm for real exponents.
27505 * math/libm-test.inc (pow_test): Add more tests.
27506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27507
27508 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27509
27510 [BZ #13705]
27511 * math/libm-test.inc (exp_test): Do not allow overflow exception
27512 on underflow test.
27513
27514 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27515
27516 [BZ #13705]
27517 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27518 instead of __kernel_standard_f.
27519
27520 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27521
27522 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27523 * sysdeps/x86_64/memset_chk.S: Likewise.
27524
27525 2012-04-08 Andreas Jaeger <aj@suse.de>
27526
27527 [BZ #10153]
27528 * manual/startup.texi (Environment Access): Describe return value
27529 for putenv and setenv.
27530
27531 [BZ #6895]
27532 * manual/filesys.texi (Directory Entries): Add description for
27533 DT_LNK.
27534
27535 [BZ #6890]
27536 * manual/filesys.texi (Directory Entries): Clarify that it's file
27537 system not operating system in the description of DT_UNKNOWN.
27538
27539 [BZ #6578]
27540 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27541
27542 2012-04-08 Stephen Compall <s11@member.fsf.org>
27543
27544 [BZ #6649]
27545 * manual/llio.texi (Opening and Closing Files): Add cross
27546 reference to explain mode argument.
27547
27548 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27549
27550 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27551 * sysdeps/x86_64/memset_chk.S: Likewise.
27552
27553 2012-04-07 David S. Miller <davem@davemloft.net>
27554
27555 * elf/elf.h (R_SPARC_WDISP10): Define.
27556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27557 R_SPARC_SIZE32.
27558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27559 R_SPARC_SIZE64 and R_SPARC_H34.
27560
27561 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27562
27563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27564 conditions and remove no longer applicable assertion.
27565
27566 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27567
27568 * bits/byteswap.h: Include <features.h>.
27569 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27570 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27571
27572 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27573
27574 * bits/byteswap.h (__bswap_16): Removed.
27575 Include <bits/byteswap-16.h> to get __bswap_16.
27576 * sysdeps/i386/bits/byteswap.h: Likewise.
27577 * sysdeps/s390/bits/byteswap.h: Likewise.
27578 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27579 * bits/byteswap-16.h: New file.
27580 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27581 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27582 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27583 * string/Makefile (headers): Add bits/byteswap-16.h.
27584
27585 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27586
27587 [BZ #13895]
27588 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27589 extra indirection.
27590 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27591 * nss/tst-nss-static.c: New.
27592
27593 2012-04-06 Robert Millan <rmh@gnu.org>
27594
27595 [BZ #6486]
27596 * manual/llio.texi (File Position Primitive): lseek
27597 refers to WHENCE when it really means OFFSET.
27598
27599 2012-04-06 Andreas Jaeger <aj@suse.de>
27600
27601 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27602 strncmp declarations.
27603
27604 * abilist/libc.abilist: Add __poll and __ppoll.
27605
27606 2012-04-05 David S. Miller <davem@davemloft.net>
27607
27608 * scripts/check-local-headers.sh: Accept a host triplet in the
27609 path matched by the exclude regexp.
27610
27611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27612 definition.
27613 * sysdeps/powerpc/powerpc32/dl-machine.h
27614 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27615 * sysdeps/s390/s390-32/dl-machine.h
27616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27617 * sysdeps/sparc/sparc32/dl-machine.h
27618 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27619 * sysdeps/sparc/sparc64/dl-machine.h
27620 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27621
27622 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27623 lazy binding.
27624 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27625 undefined symbol errors.
27626
27627 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27628 DT_NEEDED entries.
27629
27630 2012-04-05 Michael Matz <matz@suse.de>
27631
27632 [BZ #13592]
27633 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27634
27635 2012-04-05 Andreas Jaeger <aj@suse.de>
27636
27637 [BZ #13908]
27638 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27639 comment.
27640
27641 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27642
27643 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27644 which ROUND is no valid rounding mode.
27645
27646 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27647
27648 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27649 read again.
27650 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27651
27652 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27653
27654 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27655 an exception using FPU order intentionally.
27656
27657 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27658
27659 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27660 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27661 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27662 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27663
27664 2012-04-05 Simon Josefsson <simon@josefsson.org>
27665
27666 [BZ #12340]
27667 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27668 EINVAL when BUFLEN is too smal.
27669
27670 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27671
27672 [BZ #13553]
27673 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27674 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27675
27676 2012-04-03 Andreas Jaeger <aj@suse.de>
27677
27678 [BZ #13938]
27679 * manual/setjmp.texi (System V contexts): Fix sentence.
27680
27681 [BZ #13926]
27682 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27683 New macro for this case.
27684 [!__GNUC__] (__bswap_64): New inline function for this case.
27685 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27686 * bits/byteswap.h: Likewise.
27687 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27688 ull, guard with __GLIBC_HAVE_LONG_LONG.
27689
27690 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27691 __GLIBC_HAVE_LONG_LONG.
27692
27693 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27694 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27695
27696 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27697
27698 [BZ #13691]
27699 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27700 inptr and inend, rather than using last_ch.
27701
27702 2012-04-02 David S. Miller <davem@davemloft.net>
27703
27704 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27705 * stdio-common/printf-parse.h (read_int): Change return type to
27706 'int', return -1 on INT_MAX overflow.
27707 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27708 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27709 overflows INT_MAX. Check for overflow of in-format-string precision
27710 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27711 SIZE_MAX not INT_MAX for integer overflow test.
27712 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27713 skip the construct in the format string but do not record anything.
27714 * stdio-common/bug22.c: Adjust to test both width/prevision
27715 INT_MAX overflow as well as total length INT_MAX overflow. Check
27716 explicitly for proper errno values.
27717
27718 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27719
27720 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27721 CHAR_MAX.
27722 * string/test-strcmp.c [! WIDE]: Likewise.
27723 * time/tst-mktime2.c: Likewise for INT_MAX.
27724 * string/test-string.h: #include <sys/param.h> for MIN.
27725
27726 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27727 * sysdeps/i386/init-first.c (init): Likewise.
27728 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27729 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27730 * sysdeps/sh/init-first.c (init): Likewise.
27731
27732 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27733
27734 * po/ru.po: Update from translation team.
27735 * po/vi.po: Likewise.
27736
27737 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27738
27739 * resolv/nss_dns/dns-host.c: Merge copyright years.
27740
27741 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27742
27743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27744 Optimize memcpy with prefetch if
27745 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27746 src, dst pointers have unequal 16 byte alignments.
27747
27748 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27749
27750 [BZ #13928]
27751 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27752 from a CNAME entry and return the minimum ttl for the query.
27753 (gaih_getanswer_slice): Likewise.
27754
27755 2012-03-30 Jeff Law <law@redhat.com>
27756
27757 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27758 due to long keys.
27759 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27760 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27761
27762 * resolv/nss_dns/dns-host.c: Update copyright year.
27763
27764 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27765
27766 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27767 requests to save a system call. Fix check that all bytes are sent.
27768
27769 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27770 comments for sendmmsg.
27771
27772 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27773
27774 [BZ #13691]
27775 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27776 with only 1 character between 0x0041 and 0x01b0.
27777 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27778 * wcsmbs/tst-mbsnrtowcs.c: New file.
27779
27780 2012-03-29 David S. Miller <davem@davemloft.net>
27781
27782 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27783 small copies by hand.
27784
27785 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27786
27787 [BZ #13761]
27788 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27789 _nss_compat_initgroups_dyn): Fall back to malloc/free
27790 for large group memberships.
27791
27792 2012-03-28 David S. Miller <davem@davemloft.net>
27793
27794 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27795 that branches into memcpy.
27796 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27797 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27799 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27801 bits.
27802 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27803 implementation too.
27804 * sysdeps/sparc/mempcpy.S: New file.
27805
27806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27807 the IFUNC routine in the libc case.
27808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27809
27810 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27811 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27812 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27813 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27814 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27815 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27816 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27817 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27818
27819 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27820 loop to 256 bytes instead of 64 bytes and fix test signedness.
27821
27822 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27823 * sysdeps/sparc/sparc32/Makefile: rather than here...
27824 * sysdeps/sparc/sparc64/Makefile: and here.
27825
27826 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27827
27828 * malloc/mallocbug.c: Avoid warnings about unused variables.
27829
27830 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27831
27832 [BZ #13760]
27833 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27834 in the right place. Discard and retry query if response is
27835 larger than input buffer size.
27836
27837 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27838
27839 [BZ #369]
27840 [BZ #2678]
27841 [BZ #3866]
27842 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27843 x for large integer exponent.
27844 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27845 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27846 sign of result as needed afterwards.
27847 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27848 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27849 result for underflowing pow the same as for overflow.
27850 (__kernel_standard_l): Handle powl overflow and underflow here
27851 rather than calling __kernel_standard.
27852 * math/libm-test.inc (pow_test): Add more tests.
27853
27854 [BZ #3868]
27855 [BZ #13879]
27856 [BZ #13910]
27857 [BZ #13911]
27858 [BZ #13912]
27859 [BZ #13913]
27860 [BZ #13915]
27861 [BZ #13916]
27862 [BZ #13917]
27863 [BZ #13918]
27864 [BZ #13919]
27865 [BZ #13920]
27866 [BZ #13921]
27867 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27868 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27869 (__kernel_standard_l): New function.
27870 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27871 __kernel_standard.
27872 * math/w_acosl.c (__acosl): Likewise.
27873 * math/w_asinl.c (__asinl): Likewise.
27874 * math/w_atan2l.c (__atan2l): Likewise.
27875 * math/w_atanhl.c (__atanhl): Likewise.
27876 * math/w_coshl.c (__coshl): Likewise.
27877 * math/w_exp10l.c (__exp10l): Likewise.
27878 * math/w_exp2l.c (__exp2l): Likewise.
27879 * math/w_fmodl.c (__fmodl): Likewise.
27880 * math/w_hypotl.c (__hypotl): Likewise.
27881 * math/w_j0l.c (__j0l, __y0l): Likewise.
27882 * math/w_j1l.c (__j1l, __y1l): Likewise.
27883 * math/w_jnl.c (__jnl, __ynl): Likewise.
27884 * math/w_lgammal.c (__lgammal): Likewise.
27885 * math/w_log10l.c (__log10l): Likewise.
27886 * math/w_log2l.c (__log2l): Likewise.
27887 * math/w_logl.c (__logl): Likewise.
27888 * math/w_powl.c (__powl): Likewise.
27889 * math/w_remainderl.c (__remainderl): Likewise.
27890 * math/w_scalbl.c (sysv_scalbl): Likewise.
27891 * math/w_sinhl.c (__sinhl): Likewise.
27892 * math/w_sqrtl.c (__sqrtl): Likewise.
27893 * math/w_tgammal.c (__tgammal): Likewise.
27894 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27895 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27896 * math/libm-test.inc (acos_test): Add more tests.
27897 (acosh_test): Likewise.
27898 (asin_test): Likewise.
27899 (atanh_test): Likewise.
27900 (exp_test): Likewise.
27901 (exp10_test): Likewise.
27902 (exp2_test): Likewise.
27903 (expm1_test): Likewise.
27904 (lgamma_test): Likewise.
27905 (log_test): Likewise.
27906 (log10_test): Likewise.
27907 (log1p_test): Likewise.
27908 (log2_test): Likewise.
27909 (pow_test): Do not allow some spurious overflow exceptions.
27910 (sqrt_test): Add more tests.
27911 (tgamma_test): Likewise.
27912 (y0_test): Likewise.
27913 (y1_test): Likewise.
27914 (yn_test): Likewise.
27915
27916 2012-03-27 Anton Blanchard <anton@samba.org>
27917
27918 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27919 MAP_HUGETLB.
27920 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27921 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27923
27924 2012-03-27 David S. Miller <davem@davemloft.net>
27925
27926 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27927
27928 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27929 have-as-vis3 check.
27930
27931 2012-03-27 Andreas Jaeger <aj@suse.de>
27932
27933 * sysdeps/x86_64/elf/configure.in: Moved to ...
27934 * sysdeps/x86_64/configure.in: ... here.
27935 * sysdeps/x86_64/elf/start.S: Moved to ...
27936 * sysdeps/x86_64/start.S: ... here.
27937 * sysdeps/x86_64/elf/configure: Delete.
27938
27939 * sysdeps/x86_64/configure.in: Merge contents from
27940 sysdeps/i386/configure.in (without i686 check).
27941
27942 * sysdeps/i386/elf/Versions: Merge into ...
27943 * sysdeps/i386/Versions: ... this.
27944 * sysdeps/i386/elf/Versions: Delete file.
27945 * sysdeps/i386/elf/start.S: Moved to ...
27946 * sysdeps/i386/start.S: ...here.
27947 * sysdeps/i386/elf/configure.in: Merge into...
27948 * sysdeps/i386/configure.in: ...here.
27949 * sysdeps/i386/elf/configure.in: Delete file.
27950 * sysdeps/i386/elf/configure: Delete file.
27951
27952 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27953 * debug/backtracesyms.c: ... here.
27954 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27955 * debug/backtracesymsfd.c: ... here.
27956 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27957 * sysdeps/generic/ifunc-sel.h: ... here.
27958
27959 * sysdeps/unix/i386/start.c: Delete file.
27960 * sysdeps/unix/sparc/start.c: Delete file.
27961 * sysdeps/unix/start.c: Delete file.
27962
27963 * sysdeps/sh/elf/configure.in: Moved to ...
27964 * sysdeps/sh/configure.in: ... here.
27965 * sysdeps/sh/elf/start.S: Moved to ...
27966 * sysdeps/sh/start.S: ... here.
27967 * sysdeps/sh/elf/configure: Delete file.
27968
27969 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27970 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27971 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27972 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27973 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27974 * sysdeps/powerpc/powerpc64/start.S: here.
27975 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27976 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27977 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27978 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27979 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27980
27981 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27982 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27983 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27984 * sysdeps/powerpc/powerpc32/start.S: ... here.
27985 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27986 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27987 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27988
27989 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27990 * sysdeps/powerpc/ifunc-sel.h: ... here.
27991 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27992 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27993
27994 * sysdeps/sparc/elf/configure.in: Moved to ...
27995 * sysdeps/sparc/configure.in: ... here.
27996 * sysdeps/sparc/elf/configure: Delete file.
27997 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27998 * sysdeps/sparc/sparc32/start.S: ... here.
27999 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28000 * sysdeps/sparc/sparc64/start.S: ... here.
28001 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28002 * sysdeps/sparc/sparc32/Makefile: ... this.
28003 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28004 * sysdeps/sparc/sparc64/Makefile: ... this.
28005
28006 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28007 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28008 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28009 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28010 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28011 * sysdeps/s390/s390-32/setjmp.S: ... here.
28012 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28013 * sysdeps/s390/s390-32/configure.in: ... here.
28014 * sysdeps/s390/s390-32/elf/configure: Delete file.
28015 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28016 * sysdeps/s390/s390-32/start.S: ... here.
28017
28018 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28019 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28020 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28021 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28022 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28023 * sysdeps/s390/s390-64/setjmp.S: ... here.
28024 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28025 * sysdeps/s390/s390-64/configure.in: ... here
28026 * sysdeps/s390/s390-64/elf/configure: Delete file.
28027 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28028 * sysdeps/s390/s390-64/start.S: ... here.
28029 * sysdeps/s390/s390-64/elf/configure: Delete.
28030
28031 * configure.in: Remove support for elf directories in sysdeps.
28032
28033 * configure: Regenerated.
28034 * sysdeps/i386/configure: Regenerated.
28035 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28036 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28037 * sysdeps/s390/s390-32/configure: Regenerated.
28038 * sysdeps/s390/s390-64/configure: Regenerated.
28039 * sysdeps/sh/configure: Regenerated.
28040 * sysdeps/sparc/configure: Regenerated.
28041 * sysdeps/x86_64/configure: Regenerated.
28042
28043 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28044
28045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28046
28047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28048 denormal result into account.
28049
28050 2012-03-25 Roland McGrath <roland@hack.frob.com>
28051
28052 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28053 Reported by Allan McRae <allan@archlinux.org>.
28054
28055 2012-03-23 Jeff Law <law@redhat.com>
28056
28057 * nss/getnssent.c (__nss_getent): Fix typo.
28058
28059 2012-03-23 David S. Miller <davem@davemloft.net>
28060
28061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28062
28063 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28066 to pad to uint64_t for each field.
28067 (dl_tls_index): Replace unsigned long with uint64_t.
28068
28069 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28070 Paul Pluzhnikov <ppluzhnikov@google.com>
28071
28072 [BZ #6528]
28073 * grp/Makefile (otherlibs): Don't set it.
28074 * inet/Makefile (otherlibs): Likewise.
28075 * login/Makefile (otherlibs): Likewise.
28076 * nscd/Makefile (otherlibs): Likewise.
28077 * posix/Makefile (otherlibs): Likewise.
28078 * pwd/Makefile (otherlibs): Likewise.
28079 * rt/Makefile (otherlibs): Likewise.
28080 * sunrpc/Makefile (otherlibs): Likewise.
28081 * nss/Makefile (otherlibs): Likewise.
28082 Add libnss_files to routines and static-only-routines.
28083 ($(objpfx)getent): Remove rule.
28084 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28085 static-only-routines.
28086
28087 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28088
28089 [BZ #13892]
28090 * math/s_cexp.c: Include <float.h>.
28091 (__cexp): Handle exp result overflowing not necessarily
28092 overflowing both real and imaginary parts of result.
28093 * math/s_cexpf.c: Likewise.
28094 * math/s_cexpl.c: Likewise.
28095 * math/libm-test.inc (cexp_test): Add more tests.
28096 * sysdeps/i386/fpu/libm-test-ulps: Update.
28097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28098
28099 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28100
28101 * include/link.h (ELFW): New macro.
28102 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28103 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28104
28105 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28106
28107 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28108 with uint64_t.
28109
28110 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28111
28112 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28113 declaration.
28114 (struct La_x32_retval): Likewise.
28115
28116 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28117
28118 * sysdeps/x86_64/preconfigure.in: New file.
28119 * sysdeps/x86_64/preconfigure: New generated file.
28120
28121 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28122
28123 [BZ #13824]
28124 * math/e_exp2l.c: Include <float.h>.
28125 (__ieee754_exp2l): Handle overflow and underflow cases
28126 separately. Only pass fractional part of argument to
28127 __ieee754_expl.
28128 * math/libm-test.inc (exp2_test): Add more tests.
28129
28130 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28131 negating x to take absolute value.
28132 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28133 Likewise.
28134 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28136 Likewise.
28137 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28138 computing low part if x was negated.
28139 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28140
28141 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28142
28143 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28144 la_x32_gnu_pltexit.
28145 (pltexit): Cast int_retval to ptrdiff_t.
28146 * elf/tst-auditmod3b.c: Likewise.
28147 * elf/tst-auditmod4b.c: Likewise.
28148 * elf/tst-auditmod5b.c: Likewise.
28149 * elf/tst-auditmod6b.c: Likewise.
28150 * elf/tst-auditmod6c.c: Likewise.
28151 * elf/tst-auditmod7b.c: Likewise.
28152
28153 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28154 and x32_gnu_pltexit.
28155
28156 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28157 __ELF_NATIVE_CLASS.
28158 (La_x32_regs): New macro.
28159 (La_x32_retval): Likewise.
28160 (la_x32_gnu_pltenter): New function prototype.
28161 (la_x32_gnu_pltexit): Likewise.
28162
28163 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28164
28165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28166 exponent.
28167
28168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28169
28170 * configure.in (libc_cv_cc_nofma): Check for option to disable
28171 generation of FMA instructions.
28172 * configure: Regenerate.
28173 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28174 * sysdeps/ieee754/dbl-64/Makefile: New file.
28175 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28176 Remove brandred-fma4.
28177 (CFLAGS-brandred-fma4.c): Remove.
28178 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28180 define.
28181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28182 define.
28183
28184 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28187 LLONG_MAX != LONG_MAX.
28188 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28189 (_fitoa_word): Likewise.
28190 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28191 LLONG_MAX != LONG_MAX.
28192 * stdio-common/_itowa.h: Include <_itoa.h>.
28193 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28194 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28195 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28196 only if not defined.
28197 (_ITOA_WORD_TYPE): Likewise.
28198 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28199 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28200
28201 2012-03-21 David S. Miller <davem@davemloft.net>
28202
28203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28204
28205 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28208 of x86_64 when setting libc_cv_slibdir, libdir and
28209 libc_cv_localedir.
28210 * sysdeps/unix/sysv/linux/configure: Regenerated.
28211
28212 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28213
28214 * manual/lang.texi (Old Varargs): Remove section.
28215 (How Variadic): Update menu.
28216 (va_start): Do not mention varargs.h.
28217
28218 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28219 Joseph Myers <joseph@codesourcery.com>
28220
28221 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28222 link test.
28223 * configure: Regenerated.
28224
28225 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28226
28227 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28228 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28229 conformtest.pl
28230
28231 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28232
28233 * NOTES: Remove.
28234 * Makefile (files-for-dist): Remove NOTES.
28235 (NOTES): Remove rule.
28236 * README: Don't refer to NOTES.
28237 * manual/creature.texi: Don't include macros.texi.
28238 * manual/intro.texi (creature.texi): Remove comment referring to
28239 NOTES.
28240
28241 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28242 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28243 * configure: Regenerated.
28244 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28245 LIBC_TRY_CC_OPTION.
28246 (libc_cv_as_i686): Likewise.
28247 (libc_cv_cc_avx): Likewise.
28248 (libc_cv_cc_sse2avx): Likewise.
28249 (libc_cv_cc_fma4): Likewise.
28250 (libc_cv_cc_novzeroupper): Likewise.
28251 * sysdeps/i386/configure: Regenerated.
28252
28253 [BZ #13883]
28254 * sysdeps/i386/fpu/s_cexp.S: Remove.
28255 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28256 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28257 * math/libm-test.inc (cexp_test): Add more tests.
28258 * sysdeps/i386/fpu/libm-test-ulps: Update.
28259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28260
28261 2012-03-21 Allan McRae <allan@archlinux.org>
28262
28263 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28264
28265 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28266
28267 [BZ #13871]
28268 * math/w_exp2.c: Do not include <float.h>.
28269 (o_threshold, u_threshold): Remove.
28270 (__exp2): Calculate result before checking finiteness and calling
28271 __kernel_standard.
28272 * math/w_exp2f.c: Likewise.
28273 * math/w_exp2l.c: Likewise.
28274 * math/libm-test.inc (exp2_test): Require overflow exception for
28275 1e6 input.
28276
28277 [BZ #3866]
28278 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28279 range of signed 64-bit integers before using fistpll. Remove
28280 checks for whether integers fit in mantissa bits.
28281 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28282 the range of signed 32-bit integers before using fistpl. Remove
28283 checks for whether integers fit in mantissa bits.
28284 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28285 (__ieee754_powl): Test for y outside the range of signed 64-bit
28286 integers before using fistpll. Reduce 64-bit values to 63-bit
28287 ones as needed.
28288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28289 divide-by-zero is raised for zero to large negative powers.
28290 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28291 (__ieee754_powl): Test for y outside the range of signed 64-bit
28292 integers before using fistpll. Reduce 64-bit values to 63-bit
28293 ones as needed.
28294 * math/libm-test.inc (pow_test): Add more tests.
28295
28296 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28297
28298 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28299 <stdio-common/_itoa.h>.
28300 * debug/segfault.c: Likewise.
28301 * elf/dl-cache.c: Likewise.
28302 * elf/dl-minimal.c: Likewise.
28303 * elf/dl-misc.c: Likewise.
28304 * elf/dl-sysdep.c: Likewise.
28305 * elf/dl-version.c: Likewise.
28306 * elf/rtld.c: Likewise.
28307 * hurd/hurdsock.c: Likewise.
28308 * hurd/lookup-retry.c: Likewise.
28309 * malloc/malloc.c: Likewise.
28310 * malloc/mtrace.c: Likewise.
28311 * nscd/nscd_getgr_r.c: Likewise.
28312 * nscd/nscd_getpw_r.c: Likewise.
28313 * nscd/nscd_getserv_r.c: Likewise.
28314 * posix/getopt_init.c: Likewise.
28315 * posix/wordexp.c: Likewise.
28316 * stdio-common/_itoa.c: Likewise.
28317 * stdio-common/printf_fphex.c: Likewise.
28318 * stdio-common/vfprintf.c: Likewise.
28319 * string/_strerror.c: Likewise.
28320 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28321 * sysdeps/i386/i686/hp-timing.h: Likewise.
28322 * sysdeps/mach/_strerror.c: Likewise.
28323 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28324 * sysdeps/mach/hurd/sethostid.c: Likewise.
28325 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28326 * sysdeps/mach/xpg-strerror.c: Likewise.
28327 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28328 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28329 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28330 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28331 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28332 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28333 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28334 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28335 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28336 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28337 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28338 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28339 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28340 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28341 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28342 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28344 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28345 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28346 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28347 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28348
28349 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28350
28351 * stdio-common/_itoa.h: Moved to ...
28352 * sysdeps/generic/_itoa.h: Here.
28353
28354 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28355
28356 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28357 instead of "_itoa.h" and "_itowa.h".
28358 * stdio-common/vfprintf.: Likewise.
28359
28360 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28361
28362 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28363 <bits/wordsize.h>.
28364 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28365 (__signbit): Likwise.
28366 (llrintf): Likwise.
28367 (llrint): Likwise.
28368
28369 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28370
28371 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28372 __WORDSIZE != 64.
28373
28374 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28375
28376 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28377 OVERFLOW_EXCEPTION_OK.
28378 * math/libm-test.inc ("Philosophy"): Update comment about
28379 exception testing.
28380 (OVERFLOW_EXCEPTION): Define.
28381 (OVERFLOW_EXCEPTION_OK): Likewise.
28382 (INVALID_EXCEPTION_OK): Renumber.
28383 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28384 (IGNORE_ZERO_INF_SIGN): Likewise.
28385 (test_exceptions): Handle FE_OVERFLOW.
28386 (exp10_test): Expect overflow exceptions.
28387 (exp2_test): Likewise.
28388 (expm1_test): Likewise.
28389 (nextafter_test): Likewise.
28390 (pow_test): Likewise.
28391 (scalbn_test): Likewise.
28392 (scalbln_test): Likewise.
28393
28394 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/x86_64/bits/atomic.h
28397 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28398 64bit integer.
28399 (atomic_exchange_acq): Likewise.
28400 (__arch_exchange_and_add_body): Likewise.
28401 (__arch_add_body): Likewise.
28402 (atomic_add_negative): Likewise.
28403 (atomic_add_zero): Likewise.
28404
28405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28408 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28409
28410 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28411
28412 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28413 Check __x86_64__ instead of __WORDSIZE.
28414
28415 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28416
28417 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28418
28419 2012-03-19 David S. Miller <davem@davemloft.net>
28420
28421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28422
28423 * sysdeps/sparc/fpu/fenv_private.h: New file.
28424 * sysdeps/sparc/fpu/math_private.h: Use it.
28425 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28426 Remove.
28427 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28428 (libc_feholdexcept_setroundl): Remove.
28429 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28430 Remove.
28431 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28432 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28433
28434 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28437 int64_t instead of long int.
28438 (INSERT_WORDS64): Likwise.
28439
28440 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28441
28442 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28443 _Unwind_GetCFA return to _Unwind_Ptr first.
28444
28445 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28446
28447 [BZ #13629]
28448 * math/s_clog.c: Include <float.h>.
28449 (__clog): Scale large or subnormal inputs.
28450 * math/s_clogf.c: Likewise.
28451 * math/s_clogl.c: Likewise.
28452 * math/s_clog10.c: Include <float.h>.
28453 (M_LOG10_2): Define.
28454 (__clog10): Scale large or subnormal inputs.
28455 * math/s_clog10f.c: Likewise.
28456 * math/s_clog10l.c: Likewise.
28457 * math/libm-test.inc (clog_test): Add more tests.
28458 (clog10_test): Likewise.
28459 * sysdeps/i386/fpu/libm-test-ulps: Update.
28460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28461
28462 [BZ #11451]
28463 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28464 x and y.
28465 * math/libm-test.inc (atan2_test): Add another test.
28466
28467 * Makerules (common-objdir-compile): Remove.
28468 * sysdeps/unix/Makefile (config-generated): Do not add
28469 $(unix-generated) to variable.
28470 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28471 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28472 Remove rule.
28473 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28474 Likewise.
28475 [generic bits/local_lim.h] (before-compile): Do not append to
28476 variable.
28477 [generic bits/local_lim.h] (common-generated): Likewise.
28478 [generic sys/param.h] (before-compile): Do not append to variable.
28479 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28480 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28481 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28482 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28483 include.
28484 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28485 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28486 [generic sys/param.h] ($(addprefix
28487 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28488 [generic sys/param.h] (common-generated): Do not append to
28489 variable.
28490 [generic sys/param.h] (sysdep_headers): Likewise.
28491 [generic bits/errno.h] (before-compile): Do not append to
28492 variable.
28493 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28494 rule.
28495 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28496 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28497 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28498 [generic bits/errno.h] (common-generated): Do not append to
28499 variable.
28500 [generic bits/ioctls.h] (before-compile): Do not append to
28501 variable.
28502 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28503 rule.
28504 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28505 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28506 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28507 rule.
28508 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28509 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28510 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28511 [generic bits/ioctls.h] (common-generated): Do not append to
28512 variable.
28513 [generic sys/syscall.h] (syscall.h): Remove variable.
28514 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28515 rule.
28516 [generic sys/syscall.h] (before-compile): Do not append to
28517 variable.
28518 [generic sys/syscall.h] (common-generated): Likewise.
28519 * sysdeps/unix/errnos-tmpl.c: Remove file.
28520 * sysdeps/unix/errnos.awk: Likewise.
28521 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28522 * sysdeps/unix/ioctls.awk: Likewise.
28523 * sysdeps/unix/mk-local_lim.c: Likewise.
28524 * sysdeps/unix/snarf-ioctls: Likewise.
28525
28526 2012-03-19 Richard Henderson <rth@twiddle.net>
28527
28528 * sysdeps/i386/fpu/fenv_private.h: New file.
28529 * sysdeps/i386/fpu/math_private.h: Use it.
28530 (math_opt_barrier, math_force_eval): Remove.
28531 (libc_feholdexcept_setround_53bit): Remove.
28532 (libc_feupdateenv_53bit): Remove.
28533 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28534 (math_opt_barrier, math_force_eval): Remove.
28535 (libc_feholdexcept): Remove.
28536 (libc_feholdexcept_setround): Remove.
28537 (libc_fetestexcept, libc_fesetenv): Remove.
28538 (libc_feupdateenv_test): Remove.
28539 (libc_feupdateenv, libc_feholdsetround): Remove.
28540 (libc_feresetround): Remove.
28541
28542 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28543 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28544
28545 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28546 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28547 (libc_feupdateenv_testl): New.
28548 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28549 (libc_feupdateenv_testf): New.
28550 (libc_feupdateenv): Use libc_feupdateenv_test.
28551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28552 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28553
28554 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28555 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28556 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28557 (libc_feresetround_noex): New.
28558 (libc_feresetround_noexf): New.
28559 (libc_feresetround_noexl): New.
28560 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28561 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28562 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28563 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28564 SET_RESTORE_ROUND.
28565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28567 (__cos): Likewise.
28568 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28569 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28570 SET_RESTORE_ROUND_NOEX.
28571 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28572 SET_RESTORE_ROUND_NOEXF.
28573 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28574 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28575 (libc_feholdsetroundf): New.
28576 (libc_feresetround, libc_feresetroundf): New.
28577
28578 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28579 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28580 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28581
28582 * sysdeps/generic/math_private.h: Include <fenv.h>.
28583 (default_libc_feholdexcept): New.
28584 (default_libc_feholdexcept_setround): New.
28585 (default_libc_fesetenv, default_libc_feupdateenv): New.
28586 (libc_feholdexcept): Only define if undefined.
28587 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28588 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28589 (libc_feholdexcept_setroundl): Likewise.
28590 (libc_feholdexcept_setround_53bit): Likewise.
28591 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28592 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28593 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28594 (libc_feupdateenv_53bit): Likewise.
28595 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28596 (libc_feholdexcept): Convert from macro to inline function.
28597 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28598 (libc_fesetenv, libc_feupdateenv): Likewise.
28599
28600 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28601 not previously defined.
28602 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28603 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28604 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28605 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28606 * sysdeps/ieee754/flt-32/math_private.h: New file.
28607 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28608 math_private.h below SET_FLOAT_WORD.
28609 (__isnan, __isinf_ns, __finite): Remove.
28610 (__isnanf, __isinf_nsf, __finitef): Remove.
28611
28612 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28613
28614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28615
28616 2012-03-17 David S. Miller <davem@davemloft.net>
28617
28618 [BZ #6471]
28619 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28620 for 2.16.
28621
28622 2012-03-16 David S. Miller <davem@davemloft.net>
28623
28624 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28625 warnings.
28626
28627 [BZ #6471]
28628 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28629 properly.
28630 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28631 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28632 sysdep_routines when subdir is sysvipc.
28633 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28634 __getshmlba helper.
28635
28636 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28637
28638 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28641 [__LP64__].
28642
28643 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28644
28645 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28646 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28647 (__lround): Renamed to ...
28648 (__llround): This. Replace long int with long long int.
28649 Define lround functions as aliases of llround functions.
28650 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28651
28652 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28653
28654 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28655 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28656 adresses to uintptr_t. Replace "long int" and "unsigned long
28657 int" with "greg_t" on va_arg.
28658
28659 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28662 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28663
28664 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28665 Move e_machine check before EI_CLASS check. Handle x32
28666 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28667 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28668 SKIP_EM_IA_64 and include
28669 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28670
28671 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28672 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28673 (add_system_dir): New macro.
28674
28675 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28676 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28677
28678 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28679
28680 [BZ #2551]
28681 [BZ #2552]
28682 [BZ #2553]
28683 [BZ #2554]
28684 [BZ #2562]
28685 [BZ #2563]
28686 [BZ #2565]
28687 [BZ #2566]
28688 [BZ #2576]
28689 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28690 (y0): Likewise.
28691 * math/w_j0f.c (j0f): Likewise.
28692 (y0f): Likewise.
28693 * math/w_j0l.c (__j0l): Likewise.
28694 (__y0l): Likewise.
28695 * math/w_j1.c (j1): Likewise.
28696 (y1): Likewise.
28697 * math/w_j1f.c (j1f): Likewise.
28698 (y1f): Likewise.
28699 * math/w_j1l.c (__j1l): Likewise.
28700 (__y1l): Likewise.
28701 * math/w_jn.c (jn): Likewise.
28702 (yn): Likewise.
28703 * math/w_jnf.c (jnf): Likewise.
28704 (ynf): Likewise.
28705 * math/w_jnl.c (__jnl): Likewise.
28706 (__ynl): Likewise.
28707 * math/libm-test.inc (j0_test): Add more tests.
28708 (j1_test): Likewise.
28709 (jn_test): Likewise. Add trailing semicolon to existing test.
28710 (y0_test): Likewise.
28711 (y1_test): Likewise.
28712 * sysdeps/i386/fpu/libm-test-ulps: Update.
28713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28714
28715 [BZ #13851]
28716 [BZ #13854]
28717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28718 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28719 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28720 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28721 (__tanl): Set errno for infinite argument.
28722 * sysdeps/i386/fpu/mptan.c: Remove.
28723 * sysdeps/i386/fpu/s_tan.S: Likewise.
28724 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28725 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28726 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28727 * math/libm-test.inc (tan_test): Add more tests and enable more
28728 tests for double and long double.
28729 * sysdeps/i386/fpu/libm-test-ulps: Update.
28730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731
28732 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28733
28734 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28735 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28736
28737 2012-03-16 Roland McGrath <roland@hack.frob.com>
28738
28739 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28740 * configure.in: Use it for both main tree and add-ons.
28741 * configure: Regenerated.
28742
28743 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28744
28745 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28746
28747 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28748
28749 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28750 in comment.
28751
28752 [BZ #13851]
28753 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28754 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28758 infinite argument.
28759 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28761 != 0 for prec == 2.
28762 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28763 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28764 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28765 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28766 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28767 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28768 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28769 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28770 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28771 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28772 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28773 * math/libm-test.inc (cos_test): Add more tests and enable more
28774 tests for long double.
28775 (sin_test): Likewise.
28776 (sincos_test): Likewise.
28777 * sysdeps/i386/fpu/libm-test-ulps: Update.
28778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28779
28780 2012-03-16 David S. Miller <davem@davemloft.net>
28781
28782 * sysdeps/sparc/fpu/math_private.h: New file.
28783
28784 2012-03-15 David S. Miller <davem@davemloft.net>
28785
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28787 file.
28788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28790 file.
28791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28796 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28797 sysdep routines.
28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28799
28800 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28801 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28802
28803 * sysdeps/sparc/sparc-ifunc.h: New file.
28804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28805 sparc-ifunc.h
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28808 Likewise.
28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28810 Likewise.
28811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28815 Likewise.
28816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28821 Likewise.
28822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28823 Likewise.
28824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28848
28849 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28850
28851 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28852 scaling.
28853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28854
28855 2012-03-15 Andreas Jaeger <aj@suse.de>
28856
28857 [BZ #13852]
28858 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28859 ieee754/flt-32 implementation for sin, cos and sincos.
28860 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28861 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28862 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28863 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28864 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28865 ieee754/flt-32 implementation for tan.
28866
28867 * math/libm-test.inc (cos_test): Enable some large input tests for
28868 float as well
28869 (sin_test): Likewise.
28870 (sincos_test): Likewise.
28871 (tan_test): Add tests for large input.
28872
28873 * sysdeps/i386/fpu/libm-test-ulps: Update.
28874
28875 2012-03-15 Andreas Jaeger <aj@suse.de>
28876
28877 [BZ #13658]
28878 * math/libm-test.inc (cos_test): Add more test cases.
28879 (sin_test): Likewise.
28880 (sincos_test): Likewise.
28881
28882 2012-03-15 Andreas Jaeger <aj@suse.de>
28883
28884 [BZ #13837]
28885 * math/libm-test.inc (cos_test): Add a test case for large input
28886 value.
28887 (sin_test): Likewise.
28888 (sincos_test): Likewise.
28889
28890 2012-03-15 Andreas Jaeger <aj@suse.de>,
28891 Joseph Myers <joseph@codesourcery.com>
28892
28893 [BZ #13658]
28894 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28895 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28896 * sysdeps/i386/fpu/branred.c: Likewise.
28897 * sysdeps/i386/fpu/dosincos.c: Likewise.
28898 * sysdeps/i386/fpu/mpa.c: Likewise.
28899 * sysdeps/i386/fpu/s_cos.S: Likewise.
28900 * sysdeps/i386/fpu/s_sin.S: Likewise.
28901 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28902 * sysdeps/i386/fpu/sincos32.c: Likewise.
28903
28904 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28905 Define.
28906 (libc_feupdateenv_53bit): Define.
28907 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28908 Define.
28909 (libc_feupdateenv_53bit): Define.
28910
28911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28912 53 bit (without extend i386 double precision).
28913
28914 * math/libm-test.inc (sincos_test): Add tests for large input.
28915 (sin): Likewise.
28916 (cos): Likewise.
28917
28918 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28919
28920 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28921
28922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28923
28924 2012-03-15 David S. Miller <davem@davemloft.net>
28925
28926 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28927 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28928 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28929 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28942 file.
28943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28945 file.
28946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28948 file.
28949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28951 file.
28952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28953 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28954 fmin/fmax sysdep routines.
28955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28956
28957 2012-03-14 David S. Miller <davem@davemloft.net>
28958
28959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28988 routines.
28989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28990 file.
28991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28993 file.
28994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28996 file.
28997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28999 file.
29000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29002 file.
29003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29005 file.
29006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29007 file.
29008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29009 file.
29010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29011 file.
29012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29013 New file.
29014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29015 file.
29016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29017 file.
29018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29020 file.
29021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29023 file.
29024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29026 file.
29027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29029 VIS3 routines.
29030
29031 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29032 New file.
29033
29034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29035
29036 * sysdeps/sparc/configure.in: New file.
29037 * sysdeps/sparc/configure: Generate.
29038 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29039 * configure: Regenerate.
29040 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29041 * config.make.in (have-as-vis3): New.
29042 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29043 available use -Av9d instead of -Av9a.
29044 * sysdeps/sparc/sparc64/Makefile: Likewise.
29045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29047 New file.
29048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29049 file.
29050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29051 New file.
29052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29053 file.
29054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29059
29060 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29061 fzeros/fnegs to load 0x80000000 into a float register instead of
29062 using the stack.
29063 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29064
29065 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29066
29067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29068 bits/syscall.h.
29069 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29070 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29071 ($(inst_includedir)/bits/syscall.h): Remove rule.
29072 ($(objpfx)bits/syscall.d): Include instead of
29073 $(objpfx)syscall-list.d.
29074 (generated): Change syscall-list.h and syscall-list.d to
29075 bits/syscall.h and bits/syscall.d.
29076
29077 2012-03-14 Roland McGrath <roland@hack.frob.com>
29078
29079 [BZ #13846]
29080 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29081
29082 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29083
29084 [BZ #13841]
29085 * math/s_csqrt.c: Include <float.h>.
29086 (__csqrt): Scale large or subnormal inputs.
29087 * math/s_csqrtf.c: Likewise.
29088 * math/s_csqrtl.c: Likewise.
29089 * math/libm-test.inc (csqrt_test): Add more tests.
29090 * sysdeps/i386/fpu/libm-test-ulps: Update.
29091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29092
29093 [BZ #13840]
29094 * math/libm-test.inc (hypot_test): Add more tests.
29095
29096 2012-03-13 David S. Miller <davem@davemloft.net>
29097
29098 [BZ #13840]
29099 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29100 double-precision for the calculation instead of scaling.
29101
29102 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29103
29104 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29105 manipulate bits before adding and subtracting TWO52[sx].
29106 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29107 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29108 Likewise.
29109 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29110
29111 2012-03-13 David S. Miller <davem@davemloft.net>
29112
29113 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29114 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29116 rtld-global-offsets.h
29117 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29118
29119 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29120 large parameters.
29121
29122 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29123
29124 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29125 'err' in the ifdef scope in which it is actually used.
29126
29127 * nss/nss_db/db-init.c: Include string.h
29128
29129 2012-03-12 David S. Miller <davem@davemloft.net>
29130
29131 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29132 masking out of the most significant byte of random value used.
29133 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29134 Fix coding style in previous change.
29135
29136 * sysdeps/unix/sysv/linux/kernel-features.h
29137 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29138 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29139 expression.
29140 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29141 later.
29142
29143 2012-03-11 David S. Miller <davem@davemloft.net>
29144
29145 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29146 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29147 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29148 for 'resultvar' otherwise things get truncated on 64-bit.
29149
29150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29151 Fix masking out of the most significant byte of random value used.
29152
29153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29154
29155 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29156
29157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29158
29159 2012-03-09 David S. Miller <davem@davemloft.net>
29160
29161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29162 variables with appropriate CPP guards.
29163 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29164 frame pointer, not the stack pointer. Correct layout comments. Fix test
29165 on resulting framesize and the management of the outregs buffer for pltexit.
29166 Preserve floating point return values across _dl_call_pltexit call.
29167 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29168 framesize and the management of the outregs buffer for pltexit.
29169 Preserve floating point return values across _dl_call_pltexit
29170 call.
29171 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29172 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29173 (print_exit): Fix format string for return register value.
29174
29175 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29176
29177 * sunrpc/Makefile (others): Add rpcgen.
29178 ($(objpfx)rpcgen): Remove special build rule and dependency on
29179 libc.
29180 * sunrpc/rpcgen.c: New file.
29181
29182 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29183
29184 [BZ #13673]
29185 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29186 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29187 * sysdeps/i386/crti.S: Likewise.
29188 * sysdeps/i386/crtn.S: Likewise.
29189 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29190 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29191 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29192 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29193 * sysdeps/sh/crti.S: Likewise.
29194 * sysdeps/sh/crtn.S: Likewise.
29195 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29196
29197 [BZ #13673]
29198 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29199 with URL.
29200 * locale/programs/locfile-kw.gperf: Likewise.
29201 * locale/programs/charmap-kw.h: Regenerated.
29202 * locale/programs/locfile-kw.h: Likewise.
29203
29204 [BZ #13673]
29205 * intl/plural.y: Replace FSF snail mail address with URL.
29206 * intl/plural.c: Regenerated.
29207
29208 2012-03-09 Richard Henderson <rth@twiddle.net>
29209
29210 * include/math_private.h: Remove file.
29211 * math/math_private.h: Move file ...
29212 * sysdeps/generic/math_private.h: ... here.
29213
29214 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29215 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29216 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29217
29218 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29219 and <math_private.h>.
29220 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29221 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29222 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29223 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29224 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29231 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29232 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29258 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29288 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29291 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29294 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29307 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29308 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29309 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29310 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29311 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29313 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29314 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29315 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29317 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29318 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29319 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29320 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29321 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29322 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29323 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29324 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29325 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29326 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29327 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29328 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29330 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29331 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29332 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29333 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29334 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29336 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29337 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29338 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29339 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29340 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29341 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29343 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29344 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29345 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29346 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29347 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29348 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29349 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29350 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29351 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29353 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29354 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29355 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29357 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29358 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29359 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29362 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29363 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29364 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29365 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29366 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29367 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29368 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29369 * sysdeps/ieee754/k_standard.c: Likewise.
29370 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29374 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29382 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29383 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29384 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29387 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29389 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29397 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29485 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29489 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29492 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29510 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29511 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29512 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29513 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29514 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29516 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29518 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29519 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29520 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29521 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29523 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29524 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29525 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29529 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29530 * sysdeps/ieee754/s_lib_version.c: Likewise.
29531 * sysdeps/ieee754/s_matherr.c: Likewise.
29532 * sysdeps/ieee754/s_signgam.c: Likewise.
29533 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29534 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29535 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29536 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29537 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29538 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29539 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29540 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29541 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29542 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29543 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29544 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29545 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29546 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29547 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29548 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29549 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29550 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29551 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29554
29555 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29556
29557 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29558 * sunrpc/rpc_main.c: Likewise.
29559 * sunrpc/rpc_svcout.c: Likewise.
29560
29561 2012-03-09 David S. Miller <davem@davemloft.net>
29562
29563 * include/math_private.h: New file.
29564
29565 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29566
29567 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29568 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29569 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29570 from <bits/socket_type.h>.
29571 (enum __socket_type): Don't define here.
29572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29574 bits/socket_type.h.
29575
29576 [BZ #13566]
29577 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29578 checking __USE_GNU.
29579
29580 * Makerules ($(inst_includedir)/%.h): New rule.
29581 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29582 (install-others): Remove variable setting.
29583 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29584
29585 2012-03-08 Richard Henderson <rth@twiddle.net>
29586
29587 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29588 from macro to inline function; merge with the
29589 !__LIBC_INTERNAL_MATH_INLINES version.
29590 (__ieee754_sqrtf): Likewise.
29591
29592 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29593 to inline function.
29594 (__rintf, __floor, __floorf): Likewise.
29595
29596 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29597 macro to inline function.
29598 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29599
29600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29601 not <math/math_private.h>.
29602
29603 2012-03-08 David S. Miller <davem@davemloft.net>
29604
29605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29606 copyright year.
29607 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29608
29609 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29610
29611 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29612 normalization.
29613 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29614 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29615
29616 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29617
29618 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29619 be defined individually, they must be defined as a block. Define
29620 S for printing a string instead of hidint the different by using a
29621 macro for adding the 'l'.
29622 * stdio-common/tst-fphex-wide.c: Adjust.
29623
29624 2012-03-07 Marek Polacek <polacek@redhat.com>
29625
29626 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29627
29628 2012-03-08 Marek Polacek <polacek@redhat.com>
29629
29630 [BZ #13806]
29631 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29632 * stdio-common/tst-fphex.c: Define a few macros to make the
29633 test reusable. Use them.
29634 * stdio-common/tst-fphex-wide.c: New file.
29635
29636 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29637
29638 [BZ #6911]
29639 * manual/macros.texi (gnusystems): New macro.
29640 (nongnusystems): Likewise.
29641 (gnulinuxhurdsystems): Likewise.
29642 (gnuhurdsystems): Likewise..
29643 (gnulinuxsystems): Likewise.
29644 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29645 variants of the GNU system, not "GNU system".
29646 * manual/conf.texi: Likewise.
29647 * manual/errno.texi: Likewise. Update example of errno macro
29648 expansion.
29649 * manual/filesys.texi: Likewise.
29650 (getumask): Document as specific to GNU/Hurd.
29651 * manual/install.texi: Likewise. Reword some references to
29652 GNU/Linux.
29653 * manual/intro.texi: Likewise.
29654 * manual/io.texi: Likewise.
29655 (File Name Portability): Detail which constraints are inapplicable
29656 to all GNU systems and which are only inapplicable to GNU/Hurd.
29657 * manual/job.texi: Likewise.
29658 * manual/llio.texi: Likewise.
29659 (O_NOCTTY): Document as present on GNU/Linux.
29660 * manual/maint.texi: Likewise.
29661 * manual/memory.texi: Likewise.
29662 * manual/pattern.texi: Likewise.
29663 * manual/pipe.texi: Likewise.
29664 * manual/process.texi: Likewise.
29665 * manual/resource.texi: Likewise.
29666 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29667 child on GNU/Hurd.
29668 * manual/setjmp.texi: Likewise.
29669 * manual/signal.texi: Likewise.
29670 * manual/startup.texi: Likewise.
29671 * manual/stdio.texi: Likewise.
29672 * manual/terminal.texi: Likewise.
29673 (ONLCR): Document as POSIX.
29674 (OXTABS): Document availability on GNU/Linux as XTABS.
29675 (ONOEOT): Document availability separately from other bits.
29676 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29677 * manual/time.texi: Likewise.
29678 * manual/users.texi: Likewise.
29679 * INSTALL: Regenerated.
29680 * sysdeps/gnu/errlist.c: Regenerated.
29681
29682 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29683 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29684 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29685 puts.
29686 * configure: Regenerated.
29687
29688 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29689
29690 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29691 default includes instead of AC_HEADER_CHECK.
29692 * sysdeps/i386/configure: Regenerated.
29693
29694 [BZ #10716]
29695 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29696 * math/s_cacoshf.c (__cacoshf): Likewise.
29697 * math/s_cacoshl.c (__cacoshl): Likewise.
29698 * math/s_casinh.c (__casinh): Set signs of result from argument.
29699 * math/s_casinhf.c (__casinhf): Likewise.
29700 * math/s_casinhl.c (__casinhl): Likewise.
29701 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29702 (casinh_test): Add more tests.
29703 * sysdeps/i386/fpu/libm-test-ulps: Update.
29704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29705
29706 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29707
29708 * po/zh_TW.po: Update from translation team.
29709
29710 * login/Makefile (distribute): Remove variable.
29711 * catgets/Makefile: Likewise.
29712 * mach/Makefile: Likewise.
29713 * malloc/Makefile: Likewise.
29714 * misc/Makefile: Likewise.
29715 * iconv/Makefile: Likewise.
29716 * nscd/Makefile: Likewise.
29717 * hurd/Makefile: Likewise.
29718 * manual/Makefile: Likewise.
29719 * locale/Makefile: Likewise.
29720 * intl/Makefile: Likewise.
29721 * conform/Makefile: Likewise.
29722 * nss/Makefile: Likewise.
29723 * time/Makefile: Likewise.
29724 * soft-fp/Makefile: Likewise.
29725 * dirent/Makefile: Likewise.
29726 * gmon/Makefile: Likewise.
29727 * po/Makefile: Likewise.
29728 * rt/Makefile: Likewise.
29729 * socket/Makefile: Likewise.
29730 * math/Makefile: Likewise.
29731 * signal/Makefile: Likewise.
29732 * debug/Makefile: Likewise.
29733 * elf/Makefile: Likewise.
29734 * timezone/Makefile: Likewise.
29735 * stdlib/Makefile: Likewise.
29736 * iconvdata/Makefile: Likewise.
29737 * sunrpc/Makefile: Likewise.
29738 * io/Makefile: Likewise.
29739 * argp/Makefile: Likewise.
29740 * inet/Makefile: Likewise.
29741 * hesiod/Makefile: Likewise.
29742 * grp/Makefile: Likewise.
29743 * csu/Makefile: Likewise.
29744 * wctype/Makefile: Likewise.
29745 * crypt/Makefile: Likewise.
29746 * libio/Makefile: Likewise.
29747 * string/Makefile: Likewise.
29748 * nis/Makefile: Likewise.
29749 * resolv/Makefile: Likewise.
29750 * stdio-common/Makefile: Likewise.
29751 * wcsmbs/Makefile: Likewise.
29752 * dlfcn/Makefile: Likewise.
29753 * posix/Makefile: Likewise.
29754
29755 [BZ #6959]
29756 * timezone/Makefile: Don't install timezone files, just the programs
29757 and scripts.
29758
29759 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29760
29761 * nss/databases.def: Add missing gshadow entry.
29762
29763 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29764
29765 2012-03-06 Marek Polacek <polacek@redhat.com>
29766
29767 [BZ #13726]
29768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29770 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29771 * stdio-common/tst-long-dbl-fphex.c: New file.
29772
29773 2012-03-06 David S. Miller <davem@davemloft.net>
29774
29775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29776 (set_obp_int): New function.
29777 (get_obp_int): New function.
29778 (__get_clockfreq_via_dev_openprom): Likewise.
29779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29780 Avoid unused variable warnings on 'val' and use builtin_expect.
29781 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29782 __builtin_expect.
29783 (INLINE_CLONE_SYSCALL): Likewise.
29784
29785 2012-03-05 David S. Miller <davem@davemloft.net>
29786
29787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29788
29789 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29790
29791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29792
29793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29794 only for |x| >= 40.
29795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29796
29797 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29798
29799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29800 Replace gettimeofday with __vdso_gettimeofday.
29801
29802 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29803 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29804 __vdso_clock_gettime and __vdso_getcpu.
29805
29806 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29807 time with __vdso_time.
29808
29809 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29810
29811 * manual/lang.texi (size_t): Note types to which size_t may be
29812 equivalent with the GNU C Library, but do not describe when
29813 differences between them are significant.
29814
29815 2012-03-05 Andreas Jaeger <aj@suse.de>
29816
29817 * sysdeps/i386/fpu/libm-test-ulps: Update.
29818
29819 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29820
29821 [BZ #3976]
29822 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29823 (__ieee754_pow): Save and restore rounding mode and use
29824 round-to-nearest for main computations.
29825 * math/libm-test.inc (pow_test_tonearest): New function.
29826 (pow_test_towardzero): Likewise.
29827 (pow_test_downward): Likewise.
29828 (pow_test_upward): Likewise.
29829 (main): Call the new functions.
29830 * sysdeps/i386/fpu/libm-test-ulps: Update.
29831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29832
29833 [BZ #3976]
29834 * math/libm-test.inc (cosh_test_tonearest): New function.
29835 (cosh_test_towardzero): Likewise.
29836 (cosh_test_downward): Likewise.
29837 (cosh_test_upward): Likewise.
29838 (sinh_test_tonearest): Likewise.
29839 (sinh_test_towardzero): Likewise.
29840 (sinh_test_downward): Likewise.
29841 (sinh_test_upward): Likewise.
29842 (main): Call the new functions.
29843 * sysdeps/i386/fpu/libm-test-ulps: Update.
29844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29845
29846 2012-03-05 Tom de Vries <tom@codesourcery.com>
29847
29848 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29849 default stack guard is set in last bytes.
29850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29851
29852 2012-03-05 Kees Cook <keescook@chromium.org>
29853
29854 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29855
29856 [BZ #13656]
29857 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29858 possibly allocate from heap instead of stack.
29859 * stdio-common/bug-vfprintf-nargs.c: New file.
29860 * stdio-common/Makefile (tests): Add nargs overflow test.
29861
29862 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29863
29864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29865
29866 2012-03-03 Marek Polacek <polacek@redhat.com>
29867
29868 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29869 * math/math_private.h: Likewise.
29870 * stdlib/tst-strtod.c: Likewise.
29871 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29872 * sysdeps/x86_64/bits/atomic.h: Likewise.
29873
29874 2012-03-02 David S. Miller <davem@davemloft.net>
29875
29876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29881 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29882 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29883 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29884
29885 2012-03-02 Roland McGrath <roland@hack.frob.com>
29886
29887 [BZ #13792]
29888 * manual/examples/README: New file, says the example source files
29889 can be used under GPL>=2.
29890 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29891 line containing just "*/".
29892 * manual/examples/add.c: Add copyright header (GPL>=2).
29893 * manual/examples/argp-ex1.c: Likewise.
29894 * manual/examples/argp-ex2.c: Likewise.
29895 * manual/examples/argp-ex3.c: Likewise.
29896 * manual/examples/argp-ex4.c: Likewise.
29897 * manual/examples/atexit.c: Likewise.
29898 * manual/examples/db.c: Likewise.
29899 * manual/examples/dir.c: Likewise.
29900 * manual/examples/dir2.c: Likewise.
29901 * manual/examples/execinfo.c: Likewise.
29902 * manual/examples/filecli.c: Likewise.
29903 * manual/examples/filesrv.c: Likewise.
29904 * manual/examples/fmtmsgexpl.c: Likewise.
29905 * manual/examples/genpass.c: Likewise.
29906 * manual/examples/inetcli.c: Likewise.
29907 * manual/examples/inetsrv.c: Likewise.
29908 * manual/examples/isockad.c: Likewise.
29909 * manual/examples/longopt.c: Likewise.
29910 * manual/examples/memopen.c: Likewise.
29911 * manual/examples/memstrm.c: Likewise.
29912 * manual/examples/mkfsock.c: Likewise.
29913 * manual/examples/mkisock.c: Likewise.
29914 * manual/examples/mygetpass.c: Likewise.
29915 * manual/examples/pipe.c: Likewise.
29916 * manual/examples/popen.c: Likewise.
29917 * manual/examples/rprintf.c: Likewise.
29918 * manual/examples/search.c: Likewise.
29919 * manual/examples/select.c: Likewise.
29920 * manual/examples/setjmp.c: Likewise.
29921 * manual/examples/sigh1.c: Likewise.
29922 * manual/examples/sigusr.c: Likewise.
29923 * manual/examples/stpcpy.c: Likewise.
29924 * manual/examples/strdupa.c: Likewise.
29925 * manual/examples/strftim.c: Likewise.
29926 * manual/examples/strncat.c: Likewise.
29927 * manual/examples/subopt.c: Likewise.
29928 * manual/examples/swapcontext.c: Likewise.
29929 * manual/examples/termios.c: Likewise.
29930 * manual/examples/testopt.c: Likewise.
29931 * manual/examples/testpass.c: Likewise.
29932 * manual/examples/timeval_subtract.c: Likewise.
29933
29934 [BZ #13792]
29935 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29936 function to ...
29937 * manual/timeval_subtract.c.texi: ... here, new file.
29938
29939 2012-03-02 David S. Miller <davem@davemloft.net>
29940
29941 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29942
29943 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29944
29945 [BZ #3976]
29946 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29947 (__sin): Save and restore rounding mode and use round-to-nearest
29948 for all computations.
29949 (__cos): Save and restore rounding mode and use round-to-nearest
29950 for all computations.
29951 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29952 <fenv.h>.
29953 (tan): Save and restore rounding mode and use round-to-nearest for
29954 all computations.
29955 * math/libm-test.inc (cos_test_tonearest): New function.
29956 (cos_test_towardzero): Likewise.
29957 (cos_test_downward): Likewise.
29958 (cos_test_upward): Likewise.
29959 (sin_test_tonearest): Likewise.
29960 (sin_test_towardzero): Likewise.
29961 (sin_test_downward): Likewise.
29962 (sin_test_upward): Likewise.
29963 (tan_test_tonearest): Likewise.
29964 (tan_test_towardzero): Likewise.
29965 (tan_test_downward): Likewise.
29966 (tan_test_upward): Likewise.
29967 (main): Call the new functions.
29968 * sysdeps/i386/fpu/libm-test-ulps: Update.
29969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29970
29971 [BZ #10135]
29972 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29973 small n, then large n, before computing and testing k+n.
29974 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29976 Likewise.
29977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29978 Likewise.
29979 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29980 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29981 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29982 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29986 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29987 * math/libm-test.inc (scalbn_test): Add more tests.
29988 (scalbln_test): Likewise.
29989
29990 * manual/filesys.texi (mode_t): Describe constraints on size and
29991 signedness, not exact equivalence to a particular type.
29992 (ino_t): Likewise.
29993 (ino64_t): Likewise.
29994 (dev_t): Likewise.
29995 (nlink_t): Likewise.
29996 (blkcnt_t): Likewise.
29997 (blkcnt64_t): Likewise.
29998 * manual/llio.texi (off_t): Likewise.
29999
30000 [BZ #3976]
30001 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30002 (__ieee754_exp): Save and restore rounding mode and use
30003 round-to-nearest for all computations.
30004 * math/libm-test.inc (exp_test_tonearest): New function.
30005 (exp_test_towardzero): Likewise.
30006 (exp_test_downward): Likewise.
30007 (exp_test_upward): Likewise.
30008 (main): Call the new functions.
30009 * sysdeps/i386/fpu/libm-test-ulps: Update.
30010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30011
30012 2012-03-01 Chris Demetriou <cgd@google.com>
30013
30014 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30015 have predictable order.
30016
30017 2012-03-01 David S. Miller <davem@davemloft.net>
30018
30019 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30020
30021 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30022 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30023 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30024 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30025
30026 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30027 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30028 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30030 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30031 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30032 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30033 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30034 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30035
30036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30037
30038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30039 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30040 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30041
30042 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30043 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30045 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30046 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30049 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30050 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30051 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30052 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30058 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30059 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30060 * sysdeps/sparc/elf/configure: Regenerated.
30061
30062 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30063
30064 * configure.in (AS, LD): Require binutils 2.20 or later.
30065 * configure: Regenerated.
30066 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30067 as required minimum version.
30068 * INSTALL: Regenerated.
30069
30070 [BZ #2541]
30071 [BZ #4108]
30072 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30073 before squaring exponent.
30074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30075 bottom long double and 27 bits of top long double before squaring
30076 exponent.
30077 * math/libm-test.inc (erfc_test): Add more tests.
30078 * sysdeps/i386/fpu/libm-test-ulps: Update.
30079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30081
30082 2012-03-01 Kai Tietz <ktietz@redhat.com>
30083
30084 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30085 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30086 containing bit-fields.
30087 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30088 * soft-fp/single.h (_FP_UNION_S): Likewise.
30089 * soft-fp/double.h (_FP_UNION_D): Likewise.
30090
30091 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30092
30093 [BZ #13786]
30094 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30095 not include ../strcmp.S.
30096 [USE_AS_STRNCASECMP_L]: Likewise.
30097 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30098 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30099 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30100 (__strncasecmp_l_ia32): Define as alias to
30101 __strncasecmp_l_nonascii.
30102
30103 [BZ #5794]
30104 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30105 * sysdeps/i386/fpu/libm-test-ulps: Update.
30106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30107
30108 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30110
30111 2012-02-29 Jeff Law <law@redhat.com>
30112
30113 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30114 out of bounds read.
30115
30116 2012-02-29 Marek Polacek <polacek@redhat.com>
30117
30118 [BZ #13706]
30119 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30120 * elf/Makefile: Add rules to run tst-unused-dep.out.
30121
30122 2012-02-28 David S. Miller <davem@davemloft.net>
30123
30124 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30125 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30128 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30129 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30130
30131 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30132
30133 * math/libm-test.inc (llround_test): Move one test from
30134 lround_test. Use TEST_f_L in moved test.
30135 (lround_test): Move misplaced test to llround_test. Add testcase
30136 from bug 2561.
30137
30138 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30139
30140 * sysdeps/x86_64/fpu/e_expf.S: New file.
30141 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30142
30143 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30144
30145 [BZ #13637]
30146 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30147 of remain_len that may cause incomplete multi-byte character and
30148 false match.
30149 * posix/bug-regex33.c: New file.
30150 * posix/Makefile (tests): Add bug-regex33.
30151
30152 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30153
30154 * manual/macros.texi: New file.
30155 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30156 * manual/libc.texinfo: Include macros.texi.
30157 * manual/creatute.texi: Likewise.
30158 * manual/install.texi: Likewise.
30159 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30160 @glibcadj{} in references to the GNU C Library.
30161 * manual/charset.texi: Likewise.
30162 * manual/conf.texi: Likewise.
30163 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30164 when not using those macros.
30165 * manual/creature.texi: Likewise.
30166 * manual/crypt.texi: Likewise.
30167 * manual/errno.texi: Likewise.
30168 * manual/filesys.texi: Likewise.
30169 * manual/header.texi: Likewise.
30170 * manual/install.texi: Likewise.
30171 * manual/intro.texi: Likewise.
30172 * manual/io.texi: Likewise.
30173 * manual/job.texi: Likewise.
30174 * manual/lang.texi: Likewise.
30175 * manual/libc.texiinfo: Likewise.
30176 * manual/llio.texi: Likewise.
30177 * manual/locale.texi: Likewise.
30178 * manual/maint.texi: Likewise.
30179 * manual/math.texi: Likewise.
30180 * manual/memory.texi: Likewise.
30181 * manual/message.texi: Likewise.
30182 * manual/nss.texi: Likewise.
30183 * manual/pattern.texi: Likewise.
30184 * manual/process.texi: Likewise.
30185 * manual/resource.texi: Likewise.
30186 * manual/search.texi: Likewise.
30187 * manual/setjmp.texi: Likewise.
30188 * manual/signal.texi: Likewise.
30189 * manual/socket.texi: Likewise.
30190 * manual/startup.texi: Likewise.
30191 * manual/stdio.texi: Likewise.
30192 * manual/string.texi: Likewise.
30193 * manual/sysinfo.texi: Likewise.
30194 * manual/syslog.texi: Likewise.
30195 * manual/terminal.texi: Likewise.
30196 * manual/time.texi: Likewise.
30197 * manual/users.texi: Likewise.
30198 * INSTALL: Regenerated.
30199 * NOTES: Regenerated.
30200 * sysdeps/gnu/errlist.c: Regenerated.
30201
30202 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30203
30204 * include/dirent.h: Include <dirstream.h> before
30205 <dirent/dirent.h>.
30206
30207 2012-02-28 David S. Miller <davem@davemloft.net>
30208
30209 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30210 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30211 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30212 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30213
30214 2012-02-27 David S. Miller <davem@davemloft.net>
30215
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30218 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30219 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30220
30221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30222 frame pointer instead of stack pointer relative arg slot.
30223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30224 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30225 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30226
30227 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30228
30229 [BZ #3992]
30230 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30231
30232 2012-02-27 David S. Miller <davem@davemloft.net>
30233
30234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30238 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30239 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30240 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30241 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30242
30243 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30244
30245 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30246 later. Allow versions 5-9.
30247 * configure: Regenerated.
30248 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30249 required minimum version and 4.6 as recommended version. Do not
30250 mention bugs in GCC 2.7 and 2.8.
30251 * INSTALL: Regenerated.
30252
30253 2012-02-27 David S. Miller <davem@davemloft.net>
30254
30255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30259 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30260 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30261 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30262 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30263
30264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30265 manipulate bits before adding and subtracting TWO112[sx].
30266 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30267
30268 2012-02-27 Roland McGrath <roland@hack.frob.com>
30269
30270 [BZ #13775]
30271 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30272 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30273 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30274 being in POSIX, because they are in 1003.1-2008.
30275
30276 * rt/tst-aio.c: Include <fcntl.h>.
30277 * rt/tst-aio7.c: Likewise.
30278 * rt/tst-aio64.c: Likewise.
30279
30280 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30281
30282 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30283
30284 * manual/install.texi (--with-headers): Describe headers as
30285 interface headers, not private headers.
30286 (Specific advice for GNU/Linux systems): Describe use of headers
30287 from "make headers_install", not private headers from older
30288 kernels.
30289 * INSTALL: Regenerated.
30290 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30291 Change to 2.6.19.
30292 * sysdeps/unix/sysv/linux/configure: Regenerated.
30293
30294 * manual/llio.texi (fclean): Remove documentation.
30295
30296 * manual/Makefile (libc-texi-generated): New variable. Include
30297 version.texi.
30298 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30299 $(libc-texi-generated), not duplicated list of files.
30300 (version.texi, stamp-version): New rules.
30301 (realclean): Remove $(libc-texi-generated), not individual files
30302 from that list. Do not remove dir-add.texinfo.
30303 * manual/libc.texinfo: Comment out uses of edition numbers and
30304 references to printed manual. Remove last-updated dates.
30305 (EDITION): Comment out.
30306 (ISBN): Likewise.
30307 (VERSION, UPDATED): Remove.
30308 (version.texi): Include.
30309
30310 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30311
30312 * sysdeps/posix/spawni.c: Include <signal.h>.
30313 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30314 * sysdeps/pthread/aio_fsync.c: Likewise.
30315
30316 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30317
30318 * conform/Makefile (tests): Run only when not cross-compiling and
30319 when fast-check is not defined.
30320
30321 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30322 * conform/data/limits.h-data: Fixes for POSIX2008.
30323 * conform/run-conformtest.sh: Run all tests.
30324 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30325 headers.
30326 * include/bits/dlfcn.h: Likewise.
30327 * include/langinfo.h: Likewise.
30328 * include/monetary.h: Likewise.
30329 * include/sys/poll.h: Likewise.
30330
30331 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30332 for __USE_GNU.
30333 * posix/spawn.h: Define __need_sigset_t.
30334 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30335 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30336 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30337 to get sigevent_t only.
30338 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30339 only for __USE_GNU.
30340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30341 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30342 process_vm_writev only for __USE_GNU.
30343 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30344
30345 * conform/Makefile: For now ignore errors from run-conformtest.
30346 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30347 POSIX to avoid namespace pollution. Don't prepend headers.
30348 * conform/data/aio.h-data: Fixes for POSIX testing.
30349 * conform/data/fcntl.h-data: Likewise.
30350 * conform/data/glob.h-data: Likewise.
30351 * conform/data/grp.h-data: Likewise.
30352 * conform/data/pthread.h-data: Likewise.
30353 * conform/data/pwd.h-data: Likewise.
30354 * conform/data/signal.h-data: Likewise.
30355 * conform/data/spawn.h-data: Likewise.
30356 * conform/data/stdio.h-data: Likewise.
30357 * conform/data/stdlib.h-data: Likewise.
30358 * conform/data/stropts.h-data: Likewise.
30359 * conform/data/sys/mman.h-data: Likewise.
30360 * conform/data/sys/stat.h-data: Likewise.
30361 * conform/data/sys/types.h-data: Likewise.
30362 * conform/data/sys/wait.h-data: Likewise.
30363 * conform/data/time.h-data: Likewise.
30364 * conform/data/unistd.h-data: Likewise.
30365 * conform/data/utime.h-data: Likewise.
30366
30367 * io/sys/stat.h: fchmod was always in POSIX.
30368 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30369 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30370 * rt/aio.h: Define __need_timespec before including <time.h>.
30371 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30372 struct. Add forward declaration of pthread_attr_t and use it in
30373 sigevent.
30374 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30376 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30377 always remove CLK_TCK definition.
30378
30379 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30380
30381 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30382
30383 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30384
30385 * conform/run-conformtest.sh: New file.
30386 * conform/Makefile: Run run-conformtest for tests.
30387 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30388 support.
30389
30390 * conform/data/uchar.h-data: New file.
30391 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30392 * conform/data/arpa/inet.h-data: Likewise.
30393 * conform/data/assert.h-data: Likewise.
30394 * conform/data/complex.h-data: Likewise.
30395 * conform/data/cpio.h-data: Likewise.
30396 * conform/data/ctype.h-data: Likewise.
30397 * conform/data/dirent.h-data: Likewise.
30398 * conform/data/dlfcn.h-data: Likewise.
30399 * conform/data/errno.h-data: Likewise.
30400 * conform/data/fcntl.h-data: Likewise.
30401 * conform/data/float.h-data: Likewise.
30402 * conform/data/fmtmsg.h-data: Likewise.
30403 * conform/data/fnmatch.h-data: Likewise.
30404 * conform/data/ftw.h-data: Likewise.
30405 * conform/data/glob.h-data: Likewise.
30406 * conform/data/grp.h-data: Likewise.
30407 * conform/data/iconv.h-data: Likewise.
30408 * conform/data/inttypes.h-data: Likewise.
30409 * conform/data/langinfo.h-data: Likewise.
30410 * conform/data/libgen.h-data: Likewise.
30411 * conform/data/limits.h-data: Likewise.
30412 * conform/data/locale.h-data: Likewise.
30413 * conform/data/math.h-data: Likewise.
30414 * conform/data/monetary.h-data: Likewise.
30415 * conform/data/mqueue.h-data: Likewise.
30416 * conform/data/ndbm.h-data: Likewise.
30417 * conform/data/net/if.h-data: Likewise.
30418 * conform/data/netdb.h-data: Likewise.
30419 * conform/data/netinet/in.h-data: Likewise.
30420 * conform/data/nl_types.h-data: Likewise.
30421 * conform/data/poll.h-data: Likewise.
30422 * conform/data/pthread.h-data: Likewise.
30423 * conform/data/pwd.h-data: Likewise.
30424 * conform/data/regex.h-data: Likewise.
30425 * conform/data/sched.h-data: Likewise.
30426 * conform/data/search.h-data: Likewise.
30427 * conform/data/semaphore.h-data: Likewise.
30428 * conform/data/setjmp.h-data: Likewise.
30429 * conform/data/signal.h-data: Likewise.
30430 * conform/data/spawn.h-data: Likewise.
30431 * conform/data/stdarg.h-data: Likewise.
30432 * conform/data/stdio.h-data: Likewise.
30433 * conform/data/stdlib.h-data: Likewise.
30434 * conform/data/string.h-data: Likewise.
30435 * conform/data/strings.h-data: Likewise.
30436 * conform/data/stropts.h-data: Likewise.
30437 * conform/data/sys/ipc.h-data: Likewise.
30438 * conform/data/sys/mman.h-data: Likewise.
30439 * conform/data/sys/msg.h-data: Likewise.
30440 * conform/data/sys/resource.h-data: Likewise.
30441 * conform/data/sys/select.h-data: Likewise.
30442 * conform/data/sys/sem.h-data: Likewise.
30443 * conform/data/sys/shm.h-data: Likewise.
30444 * conform/data/sys/socket.h-data: Likewise.
30445 * conform/data/sys/stat.h-data: Likewise.
30446 * conform/data/sys/statvfs.h-data: Likewise.
30447 * conform/data/sys/time.h-data: Likewise.
30448 * conform/data/sys/timeb.h-data: Likewise.
30449 * conform/data/sys/times.h-data: Likewise.
30450 * conform/data/sys/types.h-data: Likewise.
30451 * conform/data/sys/uio.h-data: Likewise.
30452 * conform/data/sys/un.h-data: Likewise.
30453 * conform/data/sys/utsname.h-data: Likewise.
30454 * conform/data/sys/wait.h-data: Likewise.
30455 * conform/data/syslog.h-data: Likewise.
30456 * conform/data/tar.h-data: Likewise.
30457 * conform/data/termios.h-data: Likewise.
30458 * conform/data/utime.h-data: Likewise.
30459 * conform/data/utmpx.h-data: Likewise.
30460 * conform/data/varargs.h-data: Likewise.
30461 * conform/data/wchar.h-data: Likewise.
30462 * conform/data/wctype.h-data: Likewise.
30463 * conform/data/wordexp.h-data: Likewise.
30464
30465 * include/stropts.h: New file.
30466 * include/uchar.h: New file.
30467 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30468 * include/assert.h: Likewise.
30469 * include/ctype.h: Likewise.
30470 * include/dirent.h: Likewise.
30471 * include/dlfcn.h: Likewise.
30472 * include/fcntl.h: Likewise.
30473 * include/fnmatch.h: Likewise.
30474 * include/glob.h: Likewise.
30475 * include/grp.h: Likewise.
30476 * include/libio.h: Likewise.
30477 * include/locale.h: Likewise.
30478 * include/math.h: Likewise.
30479 * include/net/if.h: Likewise.
30480 * include/netdb.h: Likewise.
30481 * include/netinet/in.h: Likewise.
30482 * include/pthread.h: Likewise.
30483 * include/pwd.h: Likewise.
30484 * include/regex.h: Likewise.
30485 * include/sched.h: Likewise.
30486 * include/search.h: Likewise.
30487 * include/setjmp.h: Likewise.
30488 * include/signal.h: Likewise.
30489 * include/stdio.h: Likewise.
30490 * include/stdlib.h: Likewise.
30491 * include/string.h: Likewise.
30492 * include/sys/cdefs.h: Likewise.
30493 * include/sys/mman.h: Likewise.
30494 * include/sys/msg.h: Likewise.
30495 * include/sys/resource.h: Likewise.
30496 * include/sys/select.h: Likewise.
30497 * include/sys/socket.h: Likewise.
30498 * include/sys/stat.h: Likewise.
30499 * include/sys/statvfs.h: Likewise.
30500 * include/sys/time.h: Likewise.
30501 * include/sys/times.h: Likewise.
30502 * include/sys/uio.h: Likewise.
30503 * include/sys/utsname.h: Likewise.
30504 * include/sys/wait.h: Likewise.
30505 * include/termios.h: Likewise.
30506 * include/time.h: Likewise.
30507 * include/ulimit.h: Likewise.
30508 * include/unistd.h: Likewise.
30509 * include/utime.h: Likewise.
30510 * include/wchar.h: Likewise.
30511 * include/wctype.h: Likewise.
30512 * include/wordexp.h: Likewise.
30513
30514 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30515
30516 * time/time.h: TIME_UTC must be a macro.
30517 Make timespec_get available for ISO C11 only as well.
30518
30519 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30520
30521 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30522 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30523
30524 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30525
30526 * configure.in: Use -o not -a in test for unsupported multi-arch.
30527
30528 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30529
30530 * manual/texinfo.tex: Update to version 2012-01-19.16.
30531
30532 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30533
30534 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30535
30536 2012-02-24 Roland McGrath <roland@hack.frob.com>
30537
30538 [BZ #13738]
30539 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30540 * manual/fdl-1.3.texi: New file.
30541 * manual/fdl-1.1.texi: File removed.
30542
30543 [BZ #13738]
30544 * manual/libc.texinfo (FDL_VERSION): New @set.
30545 Use it for mention of FDL in cover text.
30546 (Documentation License): Use it in @include file name.
30547
30548 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30549 Roland McGrath <roland@hack.frob.com>
30550
30551 [BZ #5461]
30552 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30553 not LONG_LONG_MAX and LONG_LONG_MIN.
30554 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30555 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30556 name.
30557 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30558
30559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30560
30561 [BZ #2547]
30562 [BZ #11365]
30563 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30564 manipulate bits before adding and subtracting TWO23[sx].
30565 * math/libm-test.inc (nearbyint_test): Add more tests.
30566
30567 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30568
30569 [BZ #2548]
30570 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30571 bits before adding and subtracting TWO23[sx].
30572 * math/libm-test.inc (rint_test): Add more tests.
30573 (rint_test_tonearest): Likewise.
30574 (rint_test_towardzero): Likewise.
30575 (rint_test_downward): Likewise.
30576 (rint_test_upward: Likewise.
30577
30578 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30579
30580 [BZ #10110]
30581 * include/stdc-predef.h: New file. Extracted from features.h.
30582 * include/features.h: Include stdc-predef.h.
30583 * Makefile (headers): Add stdc-predef.h.
30584 * CONFORMANCE (Compiler limitations): Update.
30585
30586 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30587
30588 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30589
30590 2012-02-21 David S. Miller <davem@davemloft.net>
30591
30592 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30593 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30594
30595 2012-02-20 David S. Miller <davem@davemloft.net>
30596
30597 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30598 using a normal save/restore sequence, rather than allocating a
30599 dummy stack frame just to store a frame pointer and restore.
30600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30601
30602 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30603
30604 * manual/install.texi: Fix stray word in line-wrapped comment.
30605
30606 2012-02-20 David S. Miller <davem@davemloft.net>
30607
30608 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30609 both binutils and gcc support GOTDATA.
30610
30611 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30612 "rd %pc" in the PIC register setup sequences.
30613
30614 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30615 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30616 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30617 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30620 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30623 (SYSCALL_ERROR_HANDLER): Likewise.
30624 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30625 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30627 (SYSCALL_ERROR_HANDLER): Likewise.
30628
30629 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30630 (HAVE_GCC_GOTDATA): New.
30631 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30632 relocation support in both binutils and gcc.
30633 * sysdeps/sparc/elf/configure: Regenerate.
30634
30635 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30636 * sysdeps/sparc/sparc32/elf/configure: Delete.
30637 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30638 * sysdeps/sparc/sparc64/elf/configure: Delete.
30639 * sysdeps/sparc/elf/configure.in: New file.
30640 * sysdeps/sparc/elf/configure: Generate.
30641
30642 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30643 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30644 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30645 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30646 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30647
30648 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30649
30650 * manual/install.texi: Do not mention specific glibc version
30651 numbers.
30652 * manual/libc.texinfo (VERSION, UPDATED): Update.
30653 (@copying): Use @copyright{} and range of years.
30654
30655 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30656
30657 [BZ #13695]
30658 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30659 [crti.S not in sysdirs] (generated): Do not append.
30660 [crti.S not in sysdirs] (omit-deps): Likewise.
30661 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30662 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30663 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30664 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30665 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30666 Likewise.
30667 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30668 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30669 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30670 * csu/defs.awk: Remove file.
30671 * sysdeps/generic/initfini.c: Likewise.
30672 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30673 variable.
30674 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30675 Likewise.
30676
30677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30678
30679 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30680 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30681 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30682 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30684 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30685 <bits/epoll.h>.
30686 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30687 (__EPOLL_PACKED): Define to empty if not defined by
30688 <bits/epoll.h>.
30689 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30691 bits/epoll.h.
30692
30693 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30694
30695 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30696 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30697 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30699 <bits/timerfd.h>.
30700 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30702 bits/timerfd.h.
30703
30704 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30705
30706 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30707 in C locale.
30708 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30709 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30712
30713 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30714
30715 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30716 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30717
30718 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30719
30720 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30721 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30722 defined.
30723 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30724 Likewise.
30725 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30726 entry for 2.16.
30727
30728 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30729
30730 * math/w_acos.c: Use non-signaling floating-point comparisons.
30731 * math/w_acosf.c: Likewise.
30732 * math/w_acosh.c: Likewise.
30733 * math/w_acoshf.c: Likewise.
30734 * math/w_acoshl.c: Likewise.
30735 * math/w_acosl.c: Likewise.
30736 * math/w_asin.c: Likewise.
30737 * math/w_asinf.c: Likewise.
30738 * math/w_asinl.c: Likewise.
30739 * math/w_atanh.c: Likewise.
30740 * math/w_atanhf.c: Likewise.
30741 * math/w_atanhl.c: Likewise.
30742 * math/w_exp2.c: Likewise.
30743 * math/w_exp2f.c: Likewise.
30744 * math/w_exp2l.c: Likewise.
30745 * math/w_j0.c: Likewise.
30746 * math/w_j0f.c: Likewise.
30747 * math/w_j0l.c: Likewise.
30748 * math/w_j1.c: Likewise.
30749 * math/w_j1f.c: Likewise.
30750 * math/w_j1l.c: Likewise.
30751 * math/w_jn.c: Likewise.
30752 * math/w_jnf.c: Likewise.
30753 * math/w_log.c: Likewise.
30754 * math/w_log10.c: Likewise.
30755 * math/w_log10f.c: Likewise.
30756 * math/w_log10l.c: Likewise.
30757 * math/w_log2.c: Likewise.
30758 * math/w_log2f.c: Likewise.
30759 * math/w_log2l.c: Likewise.
30760 * math/w_logf.c: Likewise.
30761 * math/w_logl.c: Likewise.
30762 * math/w_sqrt.c: Likewise.
30763 * math/w_sqrtf.c: Likewise.
30764 * math/w_sqrtl.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30768 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30769 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30770
30771 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30772
30773 [BZ #9739]
30774 * manual/string.texi (strnlen): Use correct parameter name in
30775 equivalent expression.
30776
30777 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30778
30779 [BZ #11174]
30780 * manual/users.texi (seteuid): Consistently use neweuid for
30781 argument name.
30782
30783 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30784
30785 [BZ #13704]
30786 * manual/nss.texi (Services in the NSS configuration): Correct
30787 list of services in example configuration file.
30788
30789 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30790
30791 [BZ #11322]
30792 * manual/arith.texi: Remove statements about negative zero
30793 behaving identically to zero.
30794
30795 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30796
30797 [BZ #5993]
30798 * manual/install.texi: Do not document upgrading from libc5.
30799
30800 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30801
30802 [BZ #4596]
30803 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30804
30805 2012-02-18 David S. Miller <davem@davemloft.net>
30806
30807 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30808 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30809 %o7 across the call.
30810 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30811 instead.
30812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30813 SETUP_PIC_REG_LEAF.
30814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30815 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30816 * sysdeps/sparc/crtn.S: Likewise.
30817
30818 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30819
30820 * aout/Makefile: Remove.
30821
30822 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30823
30824 [BZ #13058]
30825 * manual/examples/argp-ex1.c (main): Format definition in GNU
30826 style.
30827 * manual/examples/argp-ex2.c (main): Likewise.
30828 * manual/examples/argp-ex3.c (main): Likewise.
30829 * manual/examples/argp-ex4.c (main): Likewise.
30830 * manual/examples/longopt.c (main): Use new-style prototype
30831 definition.
30832 * manual/examples/strncat.c (main): Specify return type and use
30833 (void) for arguments.
30834 * manual/examples/subopt.c (main): Use char **argv argument.
30835
30836 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30837
30838 [BZ #5077]
30839 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30840 rounding modes.
30841
30842 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30843
30844 [BZ #6907]
30845 * manual/string.texi (strchr): Change when strchrnul is
30846 recommended.
30847
30848 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30849
30850 [BZ #174]
30851 * manual/locale.texi (setlocale): Document LOCPATH.
30852
30853 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30854
30855 [BZ #10210]
30856 * manual/process.texi (execle): Move @dots{} before last argument.
30857
30858 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30859
30860 [BZ #12047]
30861 * manual/charset.texi (Generic Charset Conversion): Fix typo
30862 (LC_TYPE -> LC_CTYPE).
30863
30864 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30865
30866 [BZ #5805]
30867 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30868 (scalbnf): Likewise.
30869 (scalbnl): Likewise.
30870 (scalbln): Likewise.
30871 (scalblnf): Likewise.
30872 (scalblnl): Likewise.
30873 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30874 (vwarnx): Likewise.
30875 (verr): Likewise.
30876 (verrx): Likewise.
30877 * manual/filesys.texi (telldir): Use braces around return type.
30878 * manual/llio.texi (mmap): Add space after comma.
30879 (mmap64): Likewise.
30880 * manual/math.texi (jn): Use @var{} on parameter names.
30881 (jnf): Likewise.
30882 (jnl): Likewise.
30883 (yn): Likewise.
30884 (ynf): Likewise.
30885 (ynl): Likewise.
30886 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30887 line.
30888 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30889 "...".
30890 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30891 (sched_get_priority_max): Likewise.
30892 * manual/signal.texi (sigvec): Add space after comma.
30893 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30894 names.
30895 (if_indextoname): Likewise.
30896 (if_freenameindex): Likewise.
30897 (sendto): Use ',' instead of '.' in prototype.
30898 * manual/startup.texi (syscall): Use @dots{} instead of literal
30899 "...".
30900 * manual/stdio.texi (__fpending): Separate initial words of
30901 paragraph from @deftypefun line.
30902 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30903 "...".
30904 (vsyslog): Use @var{} on parameter names.
30905 * manual/terminal.texi (stty): Use @var{} on parameter names.
30906 * manual/users.texi (getutmp): Use @var{} on parameter names.
30907 (getutmpx): Likewise.
30908
30909 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30910
30911 [BZ #6884]
30912 * manual/stdio.texi (fopen): Fix typos in description of
30913 ",ccs=STRING".
30914
30915 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30916
30917 [BZ #4026]
30918 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30919 get clock_id definition.
30920
30921 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30922
30923 [BZ #4822]
30924 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30925 (madvise): Cast every argument to void on its own.
30926
30927 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30928
30929 [BZ #9902]
30930 * manual/startup.texi (Exit Status): Fix typo.
30931
30932 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30933
30934 [BZ #10140]
30935 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30936 * manual/examples/argp-ex2.c: Likewise.
30937 * manual/examples/argp-ex3.c: Likewise.
30938
30939 2012-02-16 Richard Henderson <rth@redhat.com>
30940
30941 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30942 * sysdeps/s390/s390-32/initfini.c: Remove.
30943 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30944 * sysdeps/s390/s390-64/initfini.c: Remove.
30945
30946 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30947
30948 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30949 compiler output for sysdeps/generic/initfini.c.
30950 * sysdeps/sh/elf/initfini.c: Remove file.
30951
30952 2012-02-16 David S. Miller <davem@davemloft.net>
30953
30954 [BZ #11494]
30955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30956
30957 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30958 * sysdeps/sparc/crti.S: New file.
30959 * sysdeps/sparc/crtn.S: New file.
30960 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30961 * sysdeps/sparc/sparc64/Makefile: Likewise.
30962
30963 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30964
30965 [BZ #3335]
30966 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30967
30968 2012-02-15 Roland McGrath <roland@hack.frob.com>
30969
30970 [BZ #4822]
30971 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30972
30973 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30974 (write, read, close): Likewise.
30975 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30976
30977 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30978
30979 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30980 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30981 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30982 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30983 <bits/signalfd.h>.
30984 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30986 bits/signalfd.h.
30987
30988 2012-02-14 Marek Polacek <polacek@redhat.com>
30989
30990 * sysdeps/x86_64/crti.S: New file.
30991 * sysdeps/x86_64/crtn.S: New file.
30992 * sysdeps/x86_64/elf/initfini.c: Remove file.
30993
30994 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30995
30996 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30997 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30998 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30999 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31000 <bits/inotify.h>.
31001 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31003 bits/inotify.h.
31004
31005 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31006
31007 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31008 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31009 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31010 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31011 <bits/eventfd.h>.
31012 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31014 bits/eventfd.h.
31015
31016 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31017
31018 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31019 __feraiseexcept instead of feraiseexcept.
31020
31021 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31022 nanosleep invocations.
31023 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31024 strings, and add error checking for a nanosleep invocations.
31025
31026 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31027
31028 Replace FSF snail mail address with URLs, as per GNU coding standards.
31029 Most of the snail mail addresses were wrong anyway, and omitting
31030 them makes the source code easier to maintain. Almost all of the
31031 changes are to license notices and to locale LC_IDENTIFICATION
31032 addresses, except for this one:
31033 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31034 not its snail mail address.
31035
31036 2012-02-09 Richard Henderson <rth@twiddle.net>
31037
31038 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31039 of kernel-features.h.
31040
31041 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31042
31043 2012-02-08 Marek Polacek <polacek@redhat.com>
31044
31045 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31046 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31047 * sysdeps/gnu/_G_config.h: Likewise.
31048 * sysdeps/generic/_G_config.h: Likewise.
31049
31050 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31051
31052 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31053 tests.
31054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31055
31056 * sysdeps/powerpc/powerpc32/crti.S: New file.
31057 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31058 * sysdeps/powerpc/powerpc64/crti.S: New file.
31059 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31060
31061 * Makeconfig (have-initfini): Don't set.
31062 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31063 * configure.in (nopic_initfini): Don't substitute.
31064 * config.h.in (HAVE_INITFINI): Don't #undef.
31065 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31066 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31067
31068 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31069
31070 Support crti.S and crtn.S provided directly by architectures.
31071 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31072 [crti.S in sysdirs] (omit-deps): Likewise.
31073 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31074 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31075 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31076 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31077 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31078 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31079 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31080 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31081 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31082 compiler output for sysdeps/generic/initfini.c.
31083 * sysdeps/i386/elf/Makefile: Remove file.
31084 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31085
31086 2012-02-07 Marek Polacek <polacek@redhat.com>
31087
31088 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31089 * sysdeps/gnu/_G_config.h: Likewise.
31090 * sysdeps/mach/hurd/_G_config.h: Likewise.
31091
31092 2012-02-07 Marek Polacek <polacek@redhat.com>
31093
31094 * math/Makefile (tests): Add tst-CMPLX2.
31095 * math/tst-CMPLX2.c: New file.
31096
31097 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31098
31099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31100
31101 * math/libm-test.inc (jn_test): Add missing L suffix.
31102
31103 2012-02-06 Marek Polacek <polacek@redhat.com>
31104
31105 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31106 * sysdeps/i386/fpu/e_powf.S: Likewise.
31107 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31108 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31109 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31110 * sysdeps/i386/fpu/e_pow.S: Likewise.
31111 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31113 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31114 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31115 * sysdeps/i386/fpu/e_log2.S: Likewise.
31116 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31117 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31118 * sysdeps/i386/fpu/e_powl.S: Likewise.
31119 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31120 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31121 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31122 * sysdeps/i386/fpu/e_logl.S: Likewise.
31123 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31124 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31125 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31126 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31127 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31128 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31129 * sysdeps/i386/fpu/e_log.S: Likewise.
31130 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31131 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31132 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31133 * sysdeps/i386/fpu/e_logf.S: Likewise.
31134 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31136 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31137 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31139 * sysdeps/i386/fpu/e_log10.S: Likewise.
31140 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31142 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31143 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31145 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31146 * sysdeps/i386/asm-syntax.h: Likewise.
31147 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31148 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31149 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31150 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31151 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31152 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31153 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31154 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31156 * sysdeps/powerpc/sysdep.h: Likewise.
31157 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31158 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31159
31160 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31161
31162 [BZ #411]
31163 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31164
31165 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31166
31167 * sysdeps/i386/sysdep.h: Include <features.h>.
31168 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31169 version.
31170
31171 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31172
31173 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31174 Define.
31175 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31176 LOAD_PIC_REG_STR.
31177
31178 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31179
31180 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31181 (SETUP_PIC_REG): Use GET_PC_THUNK.
31182 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31183 macro.
31184
31185 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31186
31187 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31188 for non-PIC compilation.
31189 (SETUP_PIC_REG): Add .p2align directive.
31190 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31191 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31193 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31195 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31199 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31201 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31202 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31203 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31204 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31205 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31206 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31207 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31208 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31209 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31210 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31212 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31213 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31216 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31218 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31219 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31220 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31222 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31225 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31226 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31227 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31228 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31229 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31230 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31231
31232 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31233
31234 * math/tst-CMPLX.c: Include <stdio.h>.
31235
31236 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31237
31238 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31239 float.
31240 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31241 * sysdeps/sparc/bits/mathdef.h: Likewise.
31242
31243 2012-01-31 Marek Polacek <polacek@redhat.com>
31244
31245 * libio/libio.h: Don't define _PARAMS.
31246 * locale/programs/config.h: Don't define PARAMS.
31247 * stdlib/strtol_l.c: Likewise.
31248 (__strtol_l): Remove PARAMS from the prototype.
31249
31250 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31251
31252 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31253 names. Just use the correct names. Remove unnecessary wrapper
31254 functions.
31255 * malloc/arena.c: Likewise.
31256 * malloc/hooks.c: Likewise.
31257
31258 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31259 ARENA_TEST says not to. Simplify test for creation of a new arena.
31260 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31261
31262 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31263
31264 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31265 into tail calls.
31266 (update_get_addr): New function.
31267 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31268 GET_ADDR_MODULE parameter.
31269
31270 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31271
31272 * crypt/cert.c: Remove __STDC__ conditionals.
31273 * crypt/crypt-entry.c: Likewise.
31274 * crypt/crypt_util.c: Likewise.
31275 * libio/filedoalloc.c: Likewise.
31276 * libio/fileops.c: Likewise.
31277 * libio/genops.c: Likewise.
31278 * libio/iofclose.c: Likewise.
31279 * libio/iofdopen.c: Likewise.
31280 * libio/iofopen.c: Likewise.
31281 * libio/iofopen64.c: Likewise.
31282 * libio/iogetdelim.c: Likewise.
31283 * libio/iopopen.c: Likewise.
31284 * libio/obprintf.c: Likewise.
31285 * libio/oldfileops.c: Likewise.
31286 * libio/oldiofclose.c: Likewise.
31287 * libio/oldiofdopen.c: Likewise.
31288 * libio/oldiofopen.c: Likewise.
31289 * libio/oldiopopen.c: Likewise.
31290 * libio/wfiledoalloc.c: Likewise.
31291 * libio/wgenops.c: Likewise.
31292 * locale/programs/xmalloc.c: Likewise.
31293 * misc/syslog.c: Likewise.
31294 * stdio-common/xbug.c: Likewise.
31295 * string/memchr.c: Likewise.
31296 * string/memcmp.c: Likewise.
31297 * string/memrchr.c: Likewise.
31298 * string/rawmemchr.c: Likewise.
31299 * sysdeps/posix/getcwd.c: Likewise.
31300 * time/strftime_l.c: Likewise.
31301
31302 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31303
31304 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31305 * config.make.in (config-cflags-sse2avx): Define.
31306 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31307 Fix typo.
31308
31309 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31310
31311 * scripts/config.guess: Update from upstream config git repository.
31312 * scripts/config.sub: Likewise.
31313
31314 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31315
31316 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31317 (EM_NUM): Update.
31318 (R_TILEPRO_*, R_TILEGX_*): New macros.
31319
31320 * scripts/firstversions.awk: Fix bug in version range handling.
31321
31322 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31323
31324 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31325
31326 * include/sys/epoll.h: New file.
31327 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31328 libc_hidden_def.
31329
31330 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31331
31332 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31333 Avoid unnecessary __WORDSIZE == 64 test.
31334 (fmaxf): Use VEX format if possible.
31335 (fmax): Likewise.
31336 (fminf): Likewise.
31337 (fmin): Likewise.
31338
31339 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31340 * math/math_private.h: Remove libc_fegetround* and
31341 libc_fesetround*.
31342 * sysdeps/i386/configure.in: Check for -msse2avx.
31343 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31344 also if SSE2AVX is defined.
31345 Remove libc_fegetround* and libc_fesetround*.
31346 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31347 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31348 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31349 of HAS_YMM_USABLE.
31350 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31351 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31354 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31355
31356 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31357
31358 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31359
31360 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31361 size is not set.
31362 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31363
31364 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31365
31366 [BZ #13618]
31367 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31368 relocation.
31369 * Makeconfig (libm): Define.
31370 * elf/Makefile: Add rules to build and run tst-relsort1.
31371 * elf/tst-relsort1.c: New file.
31372 * elf/tst-relsort1mod1.c: New file.
31373 * elf/tst-relsort1mod2.c: New file.
31374
31375 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31376
31377 * math/s_ldexp.c: Remove __STDC__ conditionals.
31378 * math/s_ldexpf.c: Likewise.
31379 * math/s_ldexpl.c: Likewise.
31380 * math/s_nextafter.c: Likewise.
31381 * math/s_nexttowardf.c: Likewise.
31382 * math/s_significand.c: Likewise.
31383 * math/s_significandf.c: Likewise.
31384 * math/s_significandl.c: Likewise.
31385 * math/w_jnl.c: Likewise.
31386 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31387 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31388 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31389 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31390 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31392 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31395 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31398 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31399 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31400 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31407 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31408 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31409 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31410 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31411 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31412 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31413 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31414 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31416 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31417 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31418 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31419 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31420 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31422 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31426 * sysdeps/ieee754/k_standard.c: Likewise.
31427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31428 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31429 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31430 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31431 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31432 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31433 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31434 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31435 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31438 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31446 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31450 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31451 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31452 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31458 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31459 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31460 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31462 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31464 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31467 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31475 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31483 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31485 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31486 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31487 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31488 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31489 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31491 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31492 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31493 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31494 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31495 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31496 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31497 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31498 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31499 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31502 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31503 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31504 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31505 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31506 * sysdeps/ieee754/s_matherr.c: Likewise.
31507 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31508 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31511
31512 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31513
31514 * crypt/md5.h: Remove __STDC__ conditionals.
31515 * libio/libioP.h: Likewise.
31516 * locale/programs/config.h: Likewise.
31517 * sysdeps/generic/sysdep.h: Likewise.
31518 * sysdeps/i386/asm-syntax.h: Likewise.
31519 * sysdeps/s390/asm-syntax.h: Likewise.
31520 * sysdeps/unix/sysdep.h: Likewise.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31523
31524 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31525
31526 * libio/libio.h: Remove __STDC__ conditionals.
31527 * malloc/obstack.h: Likewise.
31528 * math/complex.h: Likewise.
31529 * math/math.h: Likewise.
31530 * sysdeps/generic/_G_config.h: Likewise.
31531 * sysdeps/gnu/_G_config.h: Likewise.
31532 * sysdeps/mach/hurd/_G_config.h: Likewise.
31533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31534 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31535 * sysdeps/sparc/bits/mathdef.h: Likewise.
31536
31537 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31538
31539 [BZ #13583]
31540 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31541 Clean up HAS_* macros.
31542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31543 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31544 possible.
31545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31546 HAS_AVX.
31547 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31548 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31549 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31551 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31552
31553 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31554
31555 * elf/tst-unique3.cc (gets): Remove declaration.
31556 * elf/tst-unique3lib.cc (gets): Likewise.
31557 * elf/tst-unique3lib2.cc (gets): Likewise.
31558 * elf/tst-unique4.cc (gets): Likewise.
31559
31560 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31561
31562 * include/stdio.h: Add C++ protection. Add gets declarations and
31563 definitions.
31564 * debug/tst-chk1.c: Don't declare gets here.
31565 * stdio-common/tst-gets.c: Likewise.
31566
31567 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31568
31569 * posix/glob: Remove directory.
31570
31571 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31572
31573 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31574
31575 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31576
31577 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31578 of the non-standard EPFNOSUPPORT.
31579
31580 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31581
31582 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31583 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31584 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31585
31586 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31587
31588 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31589
31590 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31591
31592 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31593 transient errors.
31594 * nscd/grpcache.c (cache_addgr): Likewise.
31595 * nscd/hstcache.c (cache_addhst): Likewise.
31596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31597 * nscd/pwdcache.c (cache_addpw): Likewise.
31598 * nscd/servicescache.c (cache_addserv): Likewise.
31599
31600 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31601
31602 * malloc/malloc.c: Various cleanups.
31603 * malloc/hooks.c: Likewise.
31604
31605 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31606 * stdlib/bug-fmtmsg1.c: New file.
31607
31608 * stdlib/fmtmsg.c (init): Add missing unlock.
31609 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31610
31611 2012-01-12 Marek Polacek <polacek@redhat.com>
31612
31613 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31614 and _GNU_SOURCE.
31615
31616 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31617
31618 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31619 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31620 macro to ensure uniqueness of label name.
31621 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31622 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31623
31624 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31625
31626 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31627
31628 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31630 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31632
31633 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31634
31635 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31636
31637 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31638 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31639 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31640
31641 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31642
31643 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31644 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31647
31648 * math/bits/math-finite.h: Add ldexp support.
31649
31650 2012-01-10 Marek Polacek <polacek@redhat.com>
31651
31652 * locale/programs/localedef.h (show_archive_content): Add noreturn
31653 attribute.
31654
31655 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31656
31657 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31658
31659 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31660
31661 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31662
31663 * io/Makefile (headers): Add bits/poll2.h.
31664
31665 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31666
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31668 typo #include statement.
31669
31670 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31671
31672 * include/sys/cdefs.h: Define __attribute_alloc_size.
31673 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31674 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31675 * elf/pldd.c: Likewise.
31676 * iconv/iconv_charmap.c: Likewise.
31677 * iconv/iconvconfig.c: Likewise.
31678 * iconv/strtab.c: Likewise.
31679 * locale/programs/locale.c: Likewise.
31680 * locale/programs/localedef.h: Likewise.
31681 * locale/programs/simple-hash.c: Likewise.
31682 * nscd/nscd.h: Likewise.
31683 * nss/makedb.c: Likewise.
31684 * sysdeps/generic/ldconfig.h: Likewise.
31685 * locale/programs/localedef.c: Remove xmalloc prototype.
31686 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31687
31688 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31689
31690 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31691 appropriate.
31692
31693 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31694
31695 * math/Makefile (tests): Add tst-CMPLX.
31696 * math/tst-CMPLX.c: New file.
31697
31698 * math/complex.h (CMPLXL): Fix typo.
31699
31700 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31701 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31702 GLIBC_2.16.
31703 * debug/tst-chk1.c: Add poll and ppoll tests.
31704 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31705 * include/sys/poll.h: Add hidden proto for ppoll.
31706 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31707 * sysdeps/mach/hurd/ppoll.c: Likewise.
31708 * io/ppoll.c: Likewise.
31709 * debug/poll_chk.c: New file.
31710 * debug/ppoll_chk.c: New file.
31711 * include/bits/poll2.h: New file.
31712 * io/bits/poll2.h: New file.
31713
31714 [BZ #1350]
31715 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31716
31717 * configure.in: static is always set to yes. Remove.
31718 * config.make.in: Don't set build-static.
31719 * Makeconfig: Remove use of build-static.
31720 * dlfcn/Makefile: Likewise.
31721 * elf/Makefile: Likewise.
31722 * math/Makefile: Likewise.
31723 * misc/Makefile: Likewise.
31724 * nptl/Makefile: Likewise.
31725 * sysdeps/mach/hurd/Makefile: Likewise.
31726
31727 * configure.in: PWD_P is not used anymore.
31728 * config.make.in: Remove PWD_P entry.
31729
31730 * configure.in: Remove last remnants of RANLIB.
31731 No need to check for signed size_t anymore.
31732 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31733 and IA-64.
31734 Remove __builtin_expect test because we require at least gcc 3.4.
31735 * aclocal.m4: Likewise.
31736
31737 * wcsmbs/mbrtoc16.c: Implement using towc function.
31738 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31739 * wcsmbs/wcsmbsload.c: Likewise.
31740 * iconv/gconv_simple.c: Likewise.
31741 * iconv/gconv_int.h: Likewise.
31742 * iconv/gconv_builtin.h: Likewise.
31743 * iconv/iconv_prog.c: Remove CHAR16 handling.
31744
31745 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31746
31747 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31748
31749 * configure.in: Remove --with-elf and --enable-bounded options.
31750 Dont set base_machine for ia64. More non-ELF conditions removed.
31751 Remove testing and setting of leading underscore information.
31752 * config.make.in (build-bounded): Set to no.
31753 * config.h.in: Remove NO_UNDERSCORES entry.
31754 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31755 them.
31756 * csu/start.c: Remove !NO_UNDERSCORE code.
31757 * locale/localeinfo.h: Likewise.
31758 * sysdeps/generic/machine-gmon.h: Likewise.
31759 * sysdeps/generic/sysdep.h: Likewise.
31760 * sysdeps/i386/sysdep.h: Likewise.
31761 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31762 * sysdeps/mach/sysdep.h: Likewise.
31763 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31765 * sysdeps/sh/sysdep.h: Likewise.
31766 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31767 * sysdeps/unix/i386/sysdep.S: Likewise.
31768 * sysdeps/unix/sparc/start.c: Likewise.
31769 * sysdeps/unix/sparc/sysdep.S: Likewise.
31770 * sysdeps/unix/sparc/sysdep.h: Likewise.
31771 * sysdeps/unix/start.c: Likewise.
31772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31773 * sysdeps/x86_64/sysdep.h: Likewise.
31774
31775 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31776
31777 [BZ #13553]
31778 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31779 for non-gcc.
31780 * argp/argp-fmtstream.h: Use const instead __const.
31781 * argp/argp.h: Likewise.
31782 * assert/assert.h: Likewise.
31783 * bits/fenv.h: Likewise.
31784 * bits/sched.h: Likewise.
31785 * bits/sigset.h: Likewise.
31786 * bits/sigthread.h: Likewise.
31787 * catgets/nl_types.h: Likewise.
31788 * conform/data/pthread.h-data: Likewise.
31789 * crypt/crypt-private.h: Likewise.
31790 * crypt/crypt.h: Likewise.
31791 * crypt/crypt_util.c: Likewise.
31792 * ctype/ctype.h: Likewise.
31793 * debug/execinfo.h: Likewise.
31794 * debug/mbsnrtowcs_chk.c: Likewise.
31795 * debug/mbsrtowcs_chk.c: Likewise.
31796 * debug/wcsnrtombs_chk.c: Likewise.
31797 * debug/wcsrtombs_chk.c: Likewise.
31798 * debug/wcstombs_chk.c: Likewise.
31799 * dirent/dirent.h: Likewise.
31800 * dlfcn/dlfcn.h: Likewise.
31801 * elf/neededtest4.c: Likewise.
31802 * grp/grp.h: Likewise.
31803 * gshadow/gshadow.h: Likewise.
31804 * iconv/gconv.h: Likewise.
31805 * iconv/gconv_int.h: Likewise.
31806 * iconv/gconv_simple.c: Likewise.
31807 * iconv/iconv.h: Likewise.
31808 * iconv/loop.c: Likewise.
31809 * iconv/skeleton.c: Likewise.
31810 * include/aio.h: Likewise.
31811 * include/aliases.h: Likewise.
31812 * include/argz.h: Likewise.
31813 * include/arpa/inet.h: Likewise.
31814 * include/assert.h: Likewise.
31815 * include/dirent.h: Likewise.
31816 * include/dlfcn.h: Likewise.
31817 * include/execinfo.h: Likewise.
31818 * include/fcntl.h: Likewise.
31819 * include/fenv.h: Likewise.
31820 * include/glob.h: Likewise.
31821 * include/grp.h: Likewise.
31822 * include/libintl.h: Likewise.
31823 * include/mntent.h: Likewise.
31824 * include/netdb.h: Likewise.
31825 * include/pwd.h: Likewise.
31826 * include/rpc/netdb.h: Likewise.
31827 * include/sched.h: Likewise.
31828 * include/search.h: Likewise.
31829 * include/shadow.h: Likewise.
31830 * include/signal.h: Likewise.
31831 * include/stdio.h: Likewise.
31832 * include/stdlib.h: Likewise.
31833 * include/string.h: Likewise.
31834 * include/sys/socket.h: Likewise.
31835 * include/sys/stat.h: Likewise.
31836 * include/sys/statfs.h: Likewise.
31837 * include/sys/statvfs.h: Likewise.
31838 * include/sys/syslog.h: Likewise.
31839 * include/sys/time.h: Likewise.
31840 * include/sys/uio.h: Likewise.
31841 * include/time.h: Likewise.
31842 * include/unistd.h: Likewise.
31843 * include/utmp.h: Likewise.
31844 * include/wchar.h: Likewise.
31845 * include/wctype.h: Likewise.
31846 * inet/aliases.h: Likewise.
31847 * inet/arpa/inet.h: Likewise.
31848 * inet/netinet/ether.h: Likewise.
31849 * inet/netinet/in.h: Likewise.
31850 * intl/libintl.h: Likewise.
31851 * io/bits/fcntl2.h: Likewise.
31852 * io/fcntl.h: Likewise.
31853 * io/ftw.h: Likewise.
31854 * io/sys/poll.h: Likewise.
31855 * io/sys/stat.h: Likewise.
31856 * io/sys/statfs.h: Likewise.
31857 * io/sys/statvfs.h: Likewise.
31858 * io/utime.h: Likewise.
31859 * libio/bits/stdio.h: Likewise.
31860 * libio/bits/stdio2.h: Likewise.
31861 * libio/libio.h: Likewise.
31862 * libio/libioP.h: Likewise.
31863 * libio/stdio.h: Likewise.
31864 * locale/lc-ctype.c: Likewise.
31865 * locale/locale.h: Likewise.
31866 * login/utmp.h: Likewise.
31867 * malloc/arena.c: Likewise.
31868 * malloc/malloc.c: Likewise.
31869 * malloc/malloc.h: Likewise.
31870 * malloc/mcheck.c: Likewise.
31871 * malloc/mtrace.c: Likewise.
31872 * math/bits/mathcalls.h: Likewise.
31873 * math/fenv.h: Likewise.
31874 * math/math_private.h: Likewise.
31875 * misc/bits/error.h: Likewise.
31876 * misc/bits/syslog.h: Likewise.
31877 * misc/err.h: Likewise.
31878 * misc/error.h: Likewise.
31879 * misc/fstab.h: Likewise.
31880 * misc/mntent.h: Likewise.
31881 * misc/regexp.h: Likewise.
31882 * misc/search.h: Likewise.
31883 * misc/sgtty.h: Likewise.
31884 * misc/sys/mman.h: Likewise.
31885 * misc/sys/syslog.h: Likewise.
31886 * misc/sys/uio.h: Likewise.
31887 * misc/sys/xattr.h: Likewise.
31888 * misc/ttyent.h: Likewise.
31889 * nis/rpcsvc/ypclnt.h: Likewise.
31890 * nss/nss.h: Likewise.
31891 * posix/bits/unistd.h: Likewise.
31892 * posix/fnmatch.h: Likewise.
31893 * posix/glob.h: Likewise.
31894 * posix/sched.h: Likewise.
31895 * posix/spawn.h: Likewise.
31896 * posix/sys/wait.h: Likewise.
31897 * posix/unistd.h: Likewise.
31898 * posix/wordexp.h: Likewise.
31899 * pwd/pwd.h: Likewise.
31900 * resolv/netdb.h: Likewise.
31901 * resource/sys/resource.h: Likewise.
31902 * rt/aio.h: Likewise.
31903 * rt/bits/mqueue2.h: Likewise.
31904 * rt/mqueue.h: Likewise.
31905 * shadow/shadow.h: Likewise.
31906 * signal/signal.h: Likewise.
31907 * socket/send.c: Likewise.
31908 * socket/sendto.c: Likewise.
31909 * socket/sys/socket.h: Likewise.
31910 * stdio-common/printf.h: Likewise.
31911 * stdlib/bits/stdlib.h: Likewise.
31912 * stdlib/fmtmsg.h: Likewise.
31913 * stdlib/monetary.h: Likewise.
31914 * stdlib/stdlib.h: Likewise.
31915 * stdlib/ucontext.h: Likewise.
31916 * streams/stropts.h: Likewise.
31917 * string/argz.h: Likewise.
31918 * string/bits/string2.h: Likewise.
31919 * string/string.h: Likewise.
31920 * string/strings.h: Likewise.
31921 * sunrpc/rpc/auth.h: Likewise.
31922 * sunrpc/rpc/auth_des.h: Likewise.
31923 * sunrpc/rpc/clnt.h: Likewise.
31924 * sunrpc/rpc/netdb.h: Likewise.
31925 * sunrpc/rpc/pmap_clnt.h: Likewise.
31926 * sunrpc/rpc/xdr.h: Likewise.
31927 * sysdeps/generic/inttypes.h: Likewise.
31928 * sysdeps/generic/net/if.h: Likewise.
31929 * sysdeps/generic/sys/swap.h: Likewise.
31930 * sysdeps/gnu/net/if.h: Likewise.
31931 * sysdeps/gnu/utmpx.h: Likewise.
31932 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31933 * sysdeps/i386/i486/bits/string.h: Likewise.
31934 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31935 * sysdeps/s390/bits/string.h: Likewise.
31936 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31937 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31938 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31939 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31940 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31941 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31942 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31943 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31944 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31945 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31946 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31947 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31948 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31949 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31950 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31951 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31952 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31954 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31958 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31959 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31960 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31961 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31962 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31964 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31965 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31966 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31967 * sysvipc/sys/ipc.h: Likewise.
31968 * sysvipc/sys/msg.h: Likewise.
31969 * sysvipc/sys/sem.h: Likewise.
31970 * sysvipc/sys/shm.h: Likewise.
31971 * termios/termios.h: Likewise.
31972 * time/sys/time.h: Likewise.
31973 * time/time.h: Likewise.
31974 * wcsmbs/bits/wchar2.h: Likewise.
31975 * wcsmbs/uchar.h: Likewise.
31976 * wcsmbs/wchar.h: Likewise.
31977 * wctype/wctype.h: Likewise.
31978
31979 [BZ #13551]
31980 * Makeconfig: Remove all but ELF support including AIX support.
31981 * Makerules: Likewise.
31982 * config.h.in: Likewise.
31983 * config.make.in: Likewise.
31984 * configure: Likewise.
31985 * configure.in: Likewise.
31986 * csu/Makefile: Likewise.
31987 * csu/version.c: Likewise.
31988 * debug/Makefile: Likewise.
31989 * dlfcn/Makefile: Likewise.
31990 * elf/Makefile: Likewise.
31991 * extra-lib.mk: Likewise.
31992 * iconv/Makefile: Likewise.
31993 * include/libc-symbols.h: Likewise.
31994 * include/shlib-compat.h: Likewise.
31995 * resolv/Makefile: Likewise.
31996 * resolv/res_libc.c: Likewise.
31997 * rt/Makefile: Likewise.
31998 * sysdeps/i386/asm-syntax.h: Likewise.
31999 * sysdeps/i386/sysdep.h: Likewise.
32000 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32001 * sysdeps/mach/sysdep.h: Likewise.
32002 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32003 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32004 * sysdeps/s390/asm-syntax.h: Likewise.
32005 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32007 * sysdeps/sh/sysdep.h: Likewise.
32008 * sysdeps/unix/sparc/sysdep.h: Likewise.
32009 * sysdeps/wordsize-32/divdi3.c: Likewise.
32010 * sysdeps/x86_64/sysdep.h: Likewise.
32011
32012 * argp/Versions: Remove _argp_unlock_xxx.
32013
32014 [BZ #13559]
32015 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32016 * abilist/libBrokenLocale.abilist: Likewise.
32017 * abilist/libanl.abilist: Likewise.
32018 * abilist/libc.abilist: Likewise.
32019 * abilist/libcrypt.abilist: Likewise.
32020 * abilist/libdl.abilist: Likewise.
32021 * abilist/libm.abilist: Likewise.
32022 * abilist/libnsl.abilist: Likewise.
32023 * abilist/libpthread.abilist: Likewise.
32024 * abilist/libresolv.abilist: Likewise.
32025 * abilist/librt.abilist: Likewise.
32026 * abilist/libthread_db.abilist: Likewise.
32027 * abilist/libutil.abilist: Likewise.
32028 * abilist/libnss_db.abilist: New file.
32029
32030 * scripts/abilist.awk: Add support for indirect functions.
32031
32032 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32033
32034 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32035
32036 * shlib-versions: Remove entries for ports architectures.
32037
32038 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32039 files in ports.
32040 * elf/stackguard-macros.h: Remove support for IA-64.
32041 * elf/tst-auditmod1.c: Likewise.
32042 * sysdeps/generic/ldsodefs.h: Likewise.
32043
32044 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32045 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32046 configure files.
32047
32048 [BZ #13552]
32049 * configure.in: Remove --enable-omitfp support.
32050 * FAQ.in: Adjust.
32051 * config.make.in: Likewise.
32052 * Makeconfig: Likewise.
32053 * manual/install.texi: Likewise.
32054
32055 In case anyone cares, the IA-64 architecture could move to ports.
32056 * sysdeps/ia64/*: Removed.
32057 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32058 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32059
32060 [BZ #13555]
32061 * configure.in: Remove entries for unsupported architectures.
32062
32063 [BZ #13533]
32064 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32065 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32066 routines.
32067 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32068 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32069 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32070 fall back to using wcrtomb.
32071 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32072 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32073 renaming.
32074 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32075 * wcsmbs/tst-c16c32-1.c: New file.
32076
32077 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32078 local variable.
32079
32080 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32081
32082 * elf/tst-unique3.cc: Add explicit declaration of gets.
32083 * elf/tst-unique3lib.cc: Likewise.
32084 * elf/tst-unique3lib2.cc: Likewise.
32085 * elf/tst-unique4.cc: Likewise.
32086
32087 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32088
32089 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32090
32091 [BZ #13566]
32092 * assert/assert.h (static_assert): Don't define for C++.
32093 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32094 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32095
32096 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32097
32098 * iconv/loop.c (single loop): Fix assertion in storing of
32099 remaining bytes.
32100
32101 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32102
32103 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32104
32105 * posix/getconf.c: Update copyright year.
32106 * nss/getent.c: Likewise.
32107 * nss/makedb.c: Likewise.
32108 * iconv/iconvconfig.c: Likewise.
32109 * iconv/iconv_prog.c: Likewise.
32110 * elf/ldconfig.c: Likewise.
32111 * elf/pldd.c: Likewise.
32112 * elf/sotruss.ksh: Likewise.
32113 * catgets/gencat.c: Likewise.
32114 * csu/version.c: Likewise.
32115 * elf/ldd.bash.in: Likewise.
32116 * elf/sprof.c (print_version): Likewise.
32117 * locale/programs/locale.c: Likewise.
32118 * locale/programs/localedef.c: Likewise.
32119 * login/programs/pt_chown.c: Likewise.
32120 * nscd/nscd.c (print_version): Likewise.
32121 * debug/xtrace.sh: Likewise.
32122 * malloc/memusage.sh: Likewise.
32123 * malloc/mtrace.pl: Likewise.
32124 * debug/catchsegv.sh: Likewise.
32125
32126 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32127
32128 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32129 pure attribute.
32130
32131 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32132
32133 [BZ #13533]
32134 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32135 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32136 transformations.
32137 * iconv/gconv_int.h: Likewise.
32138 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32139 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32140 from libc for GLIBC_2.16.
32141 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32142 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32143 * wcsmbs/uchar.h: Really define mbstate_t.
32144 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32145 * wcsmbs/c16rtomb.c: New file.
32146 * wcsmbs/mbrtoc16.c: New file.
32147 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32148 for C/POSIX locale.
32149 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32150 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32151
32152 * wcsmbs/wchar.h: Add missing __restrict.
32153
32154 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32155
32156 [BZ #13532]
32157 * time/Makefile (routines): Add timespec_get.
32158 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32159 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32160 timespec for ISO C11.
32161 * time/timespec_get.c: New file.
32162 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32163 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32164
32165 [BZ #13531]
32166 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32167 * stdlib/stdlib.h: Declare aligned_alloc.
32168 * Versions.def: Add GLIBC_2.16 for libc.
32169 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32170
32171 [BZ 13527]
32172 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32173 ISO C11.
32174
32175 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32176 code.
32177
32178 [BZ #13528]
32179 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32180
32181 [BZ #13529]
32182 * assert/assert.h (static_assert): Define.
32183
32184 * version.h: Update for 2.16 development version.
32185
32186 [BZ #13526]
32187 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32188 _ISOC11_SOURCE.
32189
32190 * version.h (RELEASE): Bump for 2.15 release.
32191 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32192
32193 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32194 Patch by Marek Polacek <mpolacek@redhat.com>.
32195
32196 * bits/byteswap.h: Protect long long constants with __extension__.
32197 * sysdeps/i386/bits/byteswap.h: Likewise.
32198 * sysdeps/ia64/bits/byteswap.h: Likewise.
32199 * sysdeps/s390/bits/byteswap.h: Likewise.
32200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32201
32202 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32203
32204 [BZ #13540]
32205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32206 destination buffer.
32207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32208
32209 2011-12-23 Marek Polacek <polacek@redhat.com>
32210
32211 * elf/dl-addr.c (determine_info): Add inline keyword.
32212 * elf/tst-auditmod4b.c (check_avx): Likewise.
32213 * elf/tst-auditmod6b.c (check_avx): Likewise.
32214 * elf/tst-auditmod6c.c (check_avx): Likewise.
32215 * elf/tst-auditmod7b.c (check_avx): Likewise.
32216
32217 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32218
32219 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32220 !__SSE_MATH__.
32221
32222 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32223
32224 [BZ #13540]
32225 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32226 processing for last bytes.
32227
32228 2011-08-06 Bruno Haible <bruno@clisp.org>
32229
32230 [BZ #13061]
32231 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32232 U+0385, not to U+1FEE.
32233
32234 [BZ #13062]
32235 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32236 entry for U+00A5 U+0301.
32237
32238 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32239
32240 [BZ #13166]
32241 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32242 buffer for the output is too small.
32243
32244 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32245 optimization.
32246
32247 [BZ #13185]
32248 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32249 SSE flags if possible.
32250
32251 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32252
32253 [BZ #13540]
32254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32255 processing for last bytes.
32256
32257 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32258
32259 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32260 (syscall-list-default-options, syscall-list-default-condition)
32261 (syscall-list-includes): Define.
32262 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32263 list of ABIs and options and #if conditions for each ABI. Do not
32264 handle common syscalls between ABIs specially.
32265 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32266 Remove.
32267 (syscall-list-variants, syscall-list-32bit-options)
32268 (syscall-list-32bit-condition, syscall-list-64bit-options)
32269 (syscall-list-64bit-condition): Define.
32270 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32271 (syscall-list-variants, syscall-list-32bit-options)
32272 (syscall-list-32bit-condition, syscall-list-64bit-options)
32273 (syscall-list-64bit-condition): Define.
32274 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32275 Remove.
32276 (syscall-list-variants, syscall-list-32bit-options)
32277 (syscall-list-32bit-condition, syscall-list-64bit-options)
32278 (syscall-list-64bit-condition): Define.
32279 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32280 Remove.
32281 (syscall-list-variants, syscall-list-32bit-options)
32282 (syscall-list-32bit-condition, syscall-list-64bit-options)
32283 (syscall-list-64bit-condition): Define.
32284
32285 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32286
32287 * locale/iso-639.def: Add brx entry.
32288
32289 [BZ #13328]
32290 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32291 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32292
32293 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32294 __feraiseexcept_renamed.
32295
32296 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32297
32298 [BZ #13538]
32299 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32300 EPOLLET with unsigned values.
32301 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32303
32304 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32305 to large cancellation.
32306 * math/s_cacoshf.c: Likewise.
32307 * math/s_cacoshl.c: Likewise.
32308
32309 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32310
32311 [BZ #13305]
32312 [BZ #12786]
32313 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32314 * math/s_cacoshf.c: Likewise.
32315 * math/s_cacoshl.c: Likewise.
32316
32317 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32318
32319 [BZ #13439]
32320 * iconv/gconv.h: Define __GCONV_SWAP.
32321 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32322 * iconvdata/utf-16.c: Likewise.
32323 * iconvdata/utf-32.c: Likewise.
32324
32325 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32326
32327 [BZ #13524]
32328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32329 numerator after shifting it by one limb.
32330
32331 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32332
32333 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32334 under [__USE_EXTERN_INLINES].
32335
32336 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32337
32338 [BZ #13446]
32339 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32340
32341 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32342
32343 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32344 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32345 optimized code.
32346 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32347 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32348 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32349 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32350 for strncasecmp/strncasecmp_l compilation.
32351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32352 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32353
32354 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32355
32356 [BZ #13484]
32357 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32358 of __asm__.
32359
32360 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32361
32362 [BZ #13506]
32363 * time/tzfile.c (__tzfile_read): Check values from file header.
32364
32365 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32366
32367 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32368 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32369 * powerpc/powerpc32/dl-start.S: Likewise.
32370 * powerpc/powerpc32/elf/start.S: Likewise.
32371 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32372 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32373 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32374 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32375 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32376 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32377 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32378 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32379 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32380 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32381 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32382 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32383 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32384 * powerpc/powerpc32/memset.S: Likewise.
32385 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32386 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32387 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32388 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32389 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32390 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32391 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32392 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32393 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32394 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32395 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32396 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32397 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32398
32399 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32400
32401 * math/libm-test.inc: Added more nearbyint tests.
32402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32403 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32406
32407 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32408
32409 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32410 FD_CLOEXEC.
32411
32412 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32413
32414 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32415 Add wcscpy-ssse3 wcscpy-c.
32416 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32417 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32418 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32419 * sysdeps/x86_64/wcschr.S: New file.
32420 * sysdeps/x86_64/wcsrchr.S: New file.
32421 * string/test-strcmp.c: Remove checking of wcscmp function for
32422 wrong alignments.
32423 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32424 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32425 wcsrchr-sse2 wcsrchr-c.
32426 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32427 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32428 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32429 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32430 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32431 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32432 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32433 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32434 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32435 * wcsmbc/wcschr.c (WCSCHR): New macro.
32436
32437 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32438
32439 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32440 * wcsmbs/test-wcsrchr.c: New file.
32441 * string/test-strrchr.c: Add wcsrchr support.
32442 (WIDE): New macro.
32443 * wcsmbs/test-wcscpy.c: New file.
32444 * string/test-strcpy.c: Add wcscpy support.
32445 (WIDE): New macro.
32446
32447 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32448
32449 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32450 the inner loop.
32451
32452 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32453
32454 [BZ #13472]
32455 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32456
32457 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32458
32459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32460 Minor optimizations.
32461
32462 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32463 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32464 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32465
32466 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32467
32468 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32469 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32470 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32471 for gcc to avoid warnings.
32472 * inet/Makefile (tests): Add tst-checks.
32473 * inet/tst-checks.c: New file.
32474
32475 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32476 warning.
32477
32478 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32479 __wmemcmp_sse2.
32480
32481 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32482 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32483
32484 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32485
32486 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32487
32488 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32489 problem.
32490
32491 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32492
32493 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32494
32495 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32496 conditional on GCC version.
32497 (__arch_compare_and_exchange_val_8_acq)
32498 (__arch_compare_and_exchange_val_16_acq)
32499 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32500 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32501 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32502
32503 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32504
32505 * sysdeps/sh/backtrace.c: New file.
32506
32507 2011-12-02 Andreas Schwab <schwab@redhat.com>
32508
32509 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32510 parenthesis.
32511
32512 2011-12-01 Andreas Schwab <schwab@redhat.com>
32513
32514 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32515 falling back to utime.
32516
32517 2011-11-30 Andreas Schwab <schwab@redhat.com>
32518
32519 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32520 expectations for float.
32521
32522 2011-11-29 Andreas Schwab <schwab@redhat.com>
32523
32524 * locale/weight.h (findidx): Add parameter len.
32525 * locale/weightwc.h (findidx): Likewise.
32526 * posix/fnmatch_loop.c (FCT): Adjust caller.
32527 * posix/regcomp.c (build_equiv_class): Likewise.
32528 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32529 * posix/regexec.c (check_node_accept_bytes): Likewise.
32530 * string/strcoll_l.c (STRCOLL): Likewise.
32531 * string/strxfrm_l.c (STRXFRM): Likewise.
32532
32533 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32534
32535 * Makefile.in: Remove CVSOPT handling.
32536 * configure.in: Remove use of AC_REVISION.
32537 * iconvdata/Makefile (distribute): No need to filter out CVS.
32538 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32539 handling.
32540
32541 2011-11-16 Andreas Schwab <schwab@redhat.com>
32542
32543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32544 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32545 [USE_AS_STRNCASECMP_L]: Likewise.
32546 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32547 NO_TLS_DIRECT_SEG_REFS.
32548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32549 Fix argument offsets for non-PIC.
32550 [USE_AS_STRNCASECMP_L]: Likewise.
32551 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32552 NO_TLS_DIRECT_SEG_REFS.
32553
32554 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32555
32556 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32557 O_CLOEXEC.
32558 * locale/loadlocale.c (_nl_load_locale): Likewise.
32559
32560 2011-11-15 Andreas Schwab <schwab@redhat.com>
32561
32562 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32563 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32564 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32565 (SYSCALL_GETTIME): Set errno on error.
32566
32567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32568 count references to noai6ai_cached.
32569
32570 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32571
32572 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32573
32574 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32575 FD_CLOEXEC for /proc/self/maps.
32576
32577 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32578 FD_CLOEXEC for /proc/meminfo.
32579
32580 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32581 gai.conf.
32582
32583 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32584 FD_CLOEXEC for given file.
32585
32586 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32587
32588 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32589 FD_CLOEXEC for /etc/hosts.
32590 (_gethtent): Likewise.
32591
32592 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32593
32594 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32595 cancellation and set FD_CLOEXEC for /etc/netgroup.
32596
32597 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32598 reading /etc/publickey.
32599
32600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32601 allow cancellation when reading /etc/group.
32602
32603 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32604 cancellation.
32605 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32606
32607 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32608 when using data file.
32609
32610 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32611
32612 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32613 (write_nis_obj): Use "c" and "e" in fopen.
32614
32615 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32616
32617 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32618
32619 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32620
32621 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32622
32623 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32624 locale.alias.
32625
32626 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32627
32628 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32629
32630 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32631
32632 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32633 file parsing and set FD_CLOEXEC.
32634
32635 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32636
32637 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32638
32639 2011-11-14 Andreas Schwab <schwab@redhat.com>
32640
32641 * malloc/arena.c (arena_get2): Don't call reused_arena when
32642 _int_new_arena failed.
32643
32644 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32645
32646 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32647 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32648 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32649 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32652 to compile strcasecmp and strncasecmp.
32653 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32654 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32655
32656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32657
32658 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32659
32660 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32661 locale-defines.sym to gen-as-const-headers.
32662 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32663 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32665 to compile strcasecmp and strncasecmp.
32666 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32667 strcasecmp_l and strncasecmp_l.
32668 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32669 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32670 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32672 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32673 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32674 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32675 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32676 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32677 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32678 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32679
32680 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32681
32682 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32683 result of SYSDEP_GETTIME_CPU to retval.
32684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32685 parameter list to macro. Remove trailing semicolon. Adjust users.
32686
32687 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32688 variable.
32689
32690 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32691 mantissa words.
32692 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32693
32694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32695 from unused variable.
32696
32697 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32698 DWARF definitions.
32699 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32700 for assembling.
32701
32702 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32703 over namespaces.
32704
32705 * sunrpc/rpc_prot.c (rejected): Fix case value.
32706
32707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32708 unsigned long long int to avoid warnings in shift.
32709
32710 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32711 of use of trans.
32712 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32713 variable tmp.
32714
32715 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32716 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32717 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32718
32719 * nis/nis_table.c (nis_list): Use variable of correct type for
32720 result of __follow_path call.
32721
32722 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32723
32724 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32725 of math functions ceil, trunc, floor, round, and sqrt, when
32726 avaliable on the platform.
32727 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32728 name clash.
32729 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32730 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32731 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32732
32733 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32734
32735 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32736 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32737
32738 2011-11-11 Roland McGrath <roland@hack.frob.com>
32739
32740 * include/unistd.h: Fix __readlink return type.
32741 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32742
32743 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32744
32745 * stdlib/ucontext.h: Undo last change for makecontext.
32746
32747 2011-11-11 Andreas Schwab <schwab@redhat.com>
32748
32749 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32750
32751 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32752 * setjmp/setjmp.h: Mark functions as non-leaf.
32753 * setjmp/bits/setjmp2.h: Likewise.
32754 * stdlib/ucontext.h: Likewise.
32755
32756 2011-11-10 Andreas Schwab <schwab@redhat.com>
32757
32758 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32759 (reused_arena): Don't check arena limit.
32760 (arena_get2): Atomically check arena limit.
32761
32762 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32763
32764 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32765 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32766
32767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32768 instructions.
32769
32770 2011-11-07 Andreas Schwab <schwab@redhat.com>
32771
32772 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32773 handler when locking.
32774
32775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32776 Fix size of allocated buffer.
32777
32778 2011-11-04 Andreas Schwab <schwab@redhat.com>
32779
32780 [BZ #10103]
32781 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32782 declarations for long double functions.
32783 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32784
32785 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32786
32787 2011-11-03 Andreas Schwab <schwab@redhat.com>
32788
32789 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32790 installed.
32791
32792 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32793 is disabled.
32794
32795 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32796
32797 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32798
32799 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32800
32801 * include/alloca.h (stackinfo_alloca_round): Define.
32802 (extend_alloca): Use it.
32803 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32804 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32805 here.
32806
32807 * scripts/check-local-headers.sh: Ignore libaudit.h.
32808
32809 * nscd/Makefile (extra-objs): Make recursively expanded.
32810
32811 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32812
32813 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32814 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32815
32816 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32817 * posix/tst-rfc3484-2.c: Likewise.
32818 * posix/tst-rfc3484-3.c: Likewise.
32819
32820 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32821 process_vm_writev.
32822 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32823 process_vm_writev.
32824 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32825 process_vm_writev from libc using GLIBC_2.15 version.
32826
32827 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32828
32829 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32830
32831 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32832 stack usage.
32833
32834 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32835
32836 [BZ #13367]
32837 * nss/getent.c (initgroups_keys): Show error message in case no group
32838 names are given.
32839
32840 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32841 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32842 __bump_nl_timestamp.
32843 * nscd/connections (nscd_init): When host database is served open
32844 netlink socket and request notification about configuration changes.
32845 (main_loop_poll): Track netlink file descriptor and bump timestamp
32846 in case data becomes available.
32847 (main_loop_epoll): Likewise.
32848 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32849 (database_pers_head): Add extra_data fileds.
32850 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32851 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32852 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32853 Adjust caller.
32854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32855 in6ai data, call __free_in6ai.
32856 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32857 Add -DHAVE_NETLINK.
32858 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32859 interface information. Reuse previous data if netlink timestamp
32860 is not changed.
32861 (__bump_nl_timestamp): New function.
32862 (__free_in6ai): New function.
32863
32864 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32865
32866 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32867 close_not_cancel_no_status here.
32868 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32869
32870 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32871
32872 [BZ #13276]
32873 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32874 return value.
32875
32876 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32877 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32878 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32879
32880 2011-07-03 Andreas Jaeger <aj@suse.de>
32881
32882 [BZ #10709]
32883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32884 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32885 * math/libm-test.inc (sin_test): Add test case.
32886
32887 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32888
32889 [BZ #13337]
32890 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32891 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32892
32893 * elf/chroot_canon.c (chroot_canon): Cleanups.
32894
32895 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32896
32897 [BZ #13335]
32898 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32899 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32900
32901 * string/test-strchr.c: Make usable for strchrnul testing.
32902 * string/test-strchrnul.c: New file.
32903 * string/Makefile (strop-tests): Add strchrnul.
32904
32905 * po/it.po: Update from translation team.
32906 * po/es.po: Likewise.
32907
32908 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32909
32910 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32911 the three constants needed as parameters. Drop the others.
32912 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32913 __m128i_strloadu_tolower.
32914 Create and initialize variable zero and use it in all the places
32915 where _mm_setzero_si128 was used.
32916
32917 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32918 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32919 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32921 anymore.
32922 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32923 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32924 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32925 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32926 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32927 __mpranred, __mptan.
32928 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32929 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32930 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32931 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32932 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32933 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32935 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32936 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32937
32938 2011-10-28 Andreas Schwab <schwab@redhat.com>
32939
32940 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32941 redefine if SHARED.
32942 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32943
32944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32945 wide char related routines to wcsmbs subdir.
32946
32947 2011-10-27 Andreas Schwab <schwab@redhat.com>
32948
32949 [BZ #13344]
32950 * misc/sys/cdefs.h (__THROWNL): Define.
32951 * posix/unistd.h: Use __THREADNL instead of __THREAD
32952 for memory synchronization functions.
32953
32954 2011-10-26 Roland McGrath <roland@hack.frob.com>
32955
32956 [BZ #13349]
32957 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32958 doesn't exist.
32959 * manual/stdio.texi (Obstack Streams): Node removed.
32960
32961 2011-10-26 Andreas Schwab <schwab@redhat.com>
32962
32963 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32964 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32965 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32966
32967 * math/math_private.h (math_force_eval): Allow non-addressable
32968 arguments.
32969 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32970
32971 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32972
32973 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32974 file is not needed.
32975
32976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32977 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32984 Add AVX variants.
32985 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32986 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32987 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32988 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32989 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32990 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32991 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32992 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32993 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32994 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32995 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32996 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32997 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32998 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32999 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33000 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33001 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33002 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33003 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33004
33005 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33006 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33007
33008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33009 place. Use VEX encoding when compiling for AVX.
33010
33011 2011-10-25 Andreas Schwab <schwab@redhat.com>
33012
33013 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33014 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33015
33016 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33017
33018 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33019
33020 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33021 useless if() expression.
33022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33031 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33033 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33038 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33039 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33040 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33041
33042 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33043
33044 2011-10-25 Andreas Schwab <schwab@redhat.com>
33045
33046 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33047 condition.
33048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33049
33050 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33051
33052 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33053 .text section. Avoid duplicate constants.
33054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33064 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33071 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33078 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33079 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33080 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33081 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33083 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33084 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33085 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33087 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33090 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33093 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33099
33100 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33101
33102 * sysdeps/x86_64/dla.h: Move to ...
33103 * sysdeps/x86_64/fpu/dla.h: ...here.
33104 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33105 situations. Use __builtin_fma only for gcc 4.6 and up.
33106
33107 * config.make.in: Add have-mfma4 entry.
33108 * configure.in: Substitute libc_cv_cc_fma4.
33109 * math/Makefile (dbl-only-routines): Add sincostab.
33110 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33111 Use __sincostab not sincos.
33112 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33113 name is a macro.
33114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33118 using __copysign.
33119 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33120 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33121 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33122 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33123 and __inv.
33124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33125 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33126 __copysign.
33127 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33128 define aliases when function name is a macro.
33129 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33130 sysdeps/ieee754/dbl-64/sincos.tbl.
33131 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33132 fma4-enabled routines.
33133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33134 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33135 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33136 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33138 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33141 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33142 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33143 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33144 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33145 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33146 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33147 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33148 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33149 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33150 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33151 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33153 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33154 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33156 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33158 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33160 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33161 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33162 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33163
33164 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33165 rename.
33166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33174
33175 2011-10-24 Andreas Schwab <schwab@redhat.com>
33176
33177 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33178
33179 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33180
33181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33182
33183 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33184 prediction.
33185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33186
33187 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33188 Remove unused variable magic_bits.
33189 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33190
33191 * string/strnlen.c: Define and use STRNLEN macro.
33192 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33193 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33195 * wcsmbs/wcslen.c: Define and use WCSLEN.
33196 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33197 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33198 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33199 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33200 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33201 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33202 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33203
33204 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33205
33206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33207 strnlen-sse2-no-bsf.
33208 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33210 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33211 Add strnlen support.
33212 (USE_AS_STRNLEN): New macro.
33213 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33215 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33216 * sysdeps/x86_64/wcslen.S: New file.
33217
33218 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33219
33220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33221 XMM-moves are used for copying on small sizes.
33222
33223 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33224
33225 * wcsmbs/Makefile (strop-tests): Add wcschr.
33226 * wcsmbs/test-wcschr.c: New file.
33227 * string/test-strchr.c: Update.
33228 Add wcschr support.
33229 (WIDE): New macro.
33230
33231 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33232
33233 * wcsmbs/Makefile (strop-tests): Add wcslen.
33234 * wcsmbs/test-wcslen.c: New file.
33235 * string/test-strlen.c: Update.
33236 Add wcslen support.
33237 (WIDE): New macro.
33238
33239 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33240
33241 * po/it.po: Update from translation team.
33242
33243 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33244
33245 * sysdeps/x86_64/wcscmp.S: Update.
33246 Fix wrong comparison semantics.
33247 wcscmp shall use signed comparison not unsigned.
33248 Don't use substraction to avoid overflow bug.
33249 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33250 * wcsmbc/wcscmp.c: Likewise.
33251 * string/test-strcmp.c: Likewise.
33252 Add new tests to check cases with negative values.
33253
33254 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33255
33256 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33257 * sysdeps/x86_64/dla.h: ...here. New file.
33258 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33267
33268 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33269
33270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33271 __ynl_finite aliases.
33272
33273 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33274
33275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33276
33277 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33278 define DLA_FMA.
33279 [DLA_FMA] (EMULV): Use DLA_FMA.
33280 [DLA_FMA] (MUL12): Use EMULV.
33281 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33282 that are not needed.
33283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33290
33291 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33292
33293 * math/s_nan.c: Undef __nan.
33294 * math/s_nanf.c: Undef __nanf.
33295 * math/s_nanl.c: Undef __nanl.
33296 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33297 "math_private.h".
33298
33299 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33300
33301 * math/s_catan.c: Add branch predictions.
33302 * math/s_catanf.c: Likewise.
33303 * math/s_catanh.c: Likewise.
33304 * math/s_catanhf.c: Likewise.
33305 * math/s_catanhl.c: Likewise.
33306 * math/s_catanl.c: Likewise.
33307 * math/s_cexp.c: Likewise.
33308 * math/s_cexpf.c: Likewise.
33309 * math/s_cexpl.c: Likewise.
33310 * math/s_clog.c: Likewise.
33311 * math/s_clog10.c: Likewise.
33312 * math/s_clog10f.c: Likewise.
33313 * math/s_clog10l.c: Likewise.
33314 * math/s_clogf.c: Likewise.
33315 * math/s_clogl.c: Likewise.
33316 * math/s_csqrt.c: Likewise.
33317 * math/s_csqrtf.c: Likewise.
33318 * math/s_csqrtl.c: Likewise.
33319 * math/s_ctanf.c: Likewise.
33320 * math/s_ctanh.c: Likewise.
33321 * math/s_ctanhf.c: Likewise.
33322 * math/s_ctanhl.c: Likewise.
33323 * math/s_ctanl.c: Likewise.
33324
33325 * math/math_private.h: Define __nan, __nanf, __nanl.
33326 * math/s_cacosh.c: Include <math_private.h>.
33327 * math/s_cacoshl.c: Likewise.
33328 * math/s_casinh.c: Likewise.
33329 * math/s_casinhf.c: Likewise.
33330 * math/s_casinhl.c: Likewise.
33331 * math/s_ccos.c: Rely entire on ccosh.
33332 * math/s_ccosf.c: Rely entire on ccoshf.
33333 * math/s_ccosl.c: Rely entirely on ccoshl.
33334 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33335 Remove tests for FE_INVALID.
33336 * math/s_ccoshf.c: Likewise.
33337 * math/s_ccoshl.c: Likewise.
33338 * math/s_csin.c: Likewise.
33339 * math/s_csinf.c: Likewise.
33340 * math/s_csinh.c Likewise.
33341 * math/s_csinhf.c: Likewise.
33342 * math/s_csinhl.c: Likewise.
33343 * math/s_csinl.c: Likewise.
33344 * math/s_ctan.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33346 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33348
33349 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33350
33351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33352 compilation problems.
33353
33354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33355 __builtin_expect.
33356
33357 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33358
33359 * sysdeps/i386/configure.in: Test for -mfma4 option.
33360 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33361 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33362 COMMON_CPUID_INDEX_80000001.
33363 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33364 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33365 use it if FMA3 is not supported.
33366 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33367
33368 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33369 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33370
33371 2011-10-20 Andreas Schwab <schwab@redhat.com>
33372
33373 [BZ #12892]
33374 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33375 it would create a cycle with a link time dependency.
33376
33377 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33378
33379 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33380 instruction.
33381 * string/Makefile (strop-tests): Add rawmemchr.
33382 * string/test-rawmemchr.c: New file.
33383
33384 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33386 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33387 when compiling str{,n}casecmp and when AVX is available. Hook up
33388 new optimized code in initializers.
33389
33390 2011-10-19 Andreas Schwab <schwab@redhat.com>
33391
33392 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33393 __feraiseexcept instead of feraiseexcept.
33394
33395 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33396
33397 * math/math_private.h: Define defaults for libc_fetestexcept and
33398 libc_feupdateenv.
33399 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33400 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33401 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33402 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33403 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33404 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33405 libc_fetestexcept and libc_feupdateenv.
33406
33407 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33408 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33409 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33410 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33411 libc_feholdexcept_setround.
33412
33413 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33414 Add s_nearbyint-c and s_nearbyintf-c.
33415 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33416 nearbyintf inlines.
33417 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33418 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33420 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33421
33422 * math/math_private.h: Define defaults for libc_fegetround,
33423 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33424 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33425 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33427 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33428 standard functions.
33429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33430 Remove comments and hacks for old compiler versions.
33431 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33432 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33433 libc_feholdexceptl.
33434
33435 2011-10-18 Andreas Schwab <schwab@redhat.com>
33436
33437 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33438 (__feraiseexcept_renamed): Add __NTH.
33439 (feraiseexcept): Add __NTH. Rename local variables to fix
33440 namespace violations.
33441
33442 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33443
33444 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33445
33446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33447
33448 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33449 recently added interfaces.
33450 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33451
33452 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33453 about macro parameter expansion.
33454
33455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33456 __NO_MATH_INLINES is defined. Cleanups.
33457
33458 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33459 and __floorf is target has SSE4.1.
33460 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33461 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33462 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33464
33465 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33466 name.
33467 (floorf): Likewise.
33468
33469 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33470
33471 2011-10-17 Andreas Schwab <schwab@redhat.com>
33472
33473 * misc/sys/cdefs.h: Fix last change.
33474
33475 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33476 database lookup.
33477
33478 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33479
33480 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33481
33482 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33484 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33487 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33488 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33489 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33491 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33492 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33493 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33494 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33495 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33496 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33497 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33498 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33499 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33500 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33501 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33502 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33503 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33504
33505 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33506 ceil, ceilf, floor, floorf.
33507
33508 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33509 Perform IRELATIVE relocations last.
33510
33511 * elf/do-rel.h: Add another parameter nrelative, replacing the
33512 local variable with the same name. Change name of the function
33513 to end in Rel or Rela (uppercase).
33514 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33515 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33516 elf_dynamic_do_##reloc function.
33517
33518 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33519
33520 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33521 is sufficient, at least on modern CPUs.
33522
33523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33524
33525 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33527
33528 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33529 __expl_finite.
33530 * math/bits/math-finite.h: Add entries for exp.
33531 * math/e_expl.c: Add __*_finite alias.
33532 * sysdeps/i386/fpu/e_exp.S: Likewise.
33533 * sysdeps/i386/fpu/e_expf.S: Likewise.
33534 * sysdeps/i386/fpu/e_expl.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33536 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33540 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33541 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33542
33543 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33544 is sufficient, at least on modern CPUs.
33545
33546 * ctype/ctype-info.c (__ctype_init): Define.
33547 * include/ctype.h (__ctype_init): Declare.
33548 (__ctype_b_loc): The variable is always initialized.
33549 (__ctype_toupper_loc): Likewise.
33550 (__ctype_tolower_loc): Likewise.
33551 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33552 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33553
33554 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33555
33556 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33557
33558 * configure.in: Also look in $cxxmachine/include for C++ system
33559 headers.
33560
33561 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33562
33563 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33564 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33565 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33566 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33567 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33568 (USE_AS_WMEMCMP): New macro.
33569 Fixing indents.
33570 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33571 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33572 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33573 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33575 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33576 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33577 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33578 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33579 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33581 (USE_AS_WMEMCMP): New macro.
33582 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33583 * sysdeps/string/test-memcmp.c: Update.
33584 Fix simple_wmemcmp.
33585 Add new tests.
33586 * wcsmbs/wmemcmp.c: Update.
33587 (WMEMCMP): New macro.
33588 Fix overflow bug.
33589
33590 2011-10-12 Andreas Jaeger <aj@suse.de>
33591
33592 [BZ #13268]
33593 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33594
33595 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33596
33597 * libio/iofwide.c (do_length): Avoid warning.
33598
33599 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33600
33601 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33602
33603 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33604
33605 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33606 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33607 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33608 * sysdeps/i386/i686/fpu/e_log.S: New file.
33609 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33610 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33611
33612 * ctype/ctype.h: Add support for inlined isXXX functions when
33613 compiling C++ code.
33614
33615 2011-10-14 Andreas Schwab <schwab@redhat.com>
33616
33617 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33618
33619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33620
33621 2011-10-13 Roland McGrath <roland@hack.frob.com>
33622
33623 [BZ #13291]
33624 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33625
33626 2011-10-13 Andreas Schwab <schwab@redhat.com>
33627
33628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33629 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33630 feraiseexcept.
33631
33632 * sysdeps/x86_64/memrchr.S: Check for zero size.
33633
33634 * string/stratcliff.c: Add memrchr tests.
33635
33636 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33637
33638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33639 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33640 rawmemchr-sse2 rawmemchr-sse2-bsf.
33641 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33642 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33643 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33644 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33645 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33646 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33647 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33648 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33649 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33650 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33651 * string/memrchr.c (MEMRCHR): New macro.
33652
33653 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33654
33655 Add integration with gcc's -ffinite-math-only and optimize wrapper
33656 functions in libm.
33657 * Versions.def: Define GLIBC_2.15 version for libm.
33658 * math/Makefile (headers): Add bits/math-finite.h.
33659 * math/bits/math-finite.h: New file.
33660 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33661 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33662 * math/e_acoshl.c: Add __*_finite alias.
33663 * math/e_acosl.c: Likewise.
33664 * math/e_asinl.c: Likewise.
33665 * math/e_atan2l.c: Likewise.
33666 * math/e_atanhl.c: Likewise.
33667 * math/e_coshl.c: Likewise.
33668 * math/e_exp10.c: Likewise.
33669 * math/e_exp10f.c: Likewise.
33670 * math/e_exp10l.c: Likewise.
33671 * math/e_exp2l.c: Likewise.
33672 * math/e_fmodl.c: Likewise.
33673 * math/e_gammal_r.c: Likewise.
33674 * math/e_hypotl.c: Likewise.
33675 * math/e_j0l.c: Likewise.
33676 * math/e_j1l.c: Likewise.
33677 * math/e_jnl.c: Likewise.
33678 * math/e_lgammal_r.c: Likewise.
33679 * math/e_log10l.c: Likewise.
33680 * math/e_log2l.c: Likewise.
33681 * math/e_logl.c: Likewise.
33682 * math/e_powl.c: Likewise.
33683 * math/e_sinhl.c: Likewise.
33684 * math/e_sqrtl.c: Likewise.
33685 * math/e_scalb.c: Completely rewritten and optimized.
33686 * math/e_scalbf.c: Likewise.
33687 * math/e_scalbl.c: Likewise.
33688 * math/w_acos.c: Likewise.
33689 * math/w_acosf.c: Likewise.
33690 * math/w_acosl.c: Likewise.
33691 * math/w_acosh.c: Likewise.
33692 * math/w_acoshf.c: Likewise.
33693 * math/w_acoshl.c: Likewise.
33694 * math/w_asin.c: Likewise.
33695 * math/w_asinf.c: Likewise.
33696 * math/w_asinl.c: Likewise.
33697 * math/w_atan2.c: Likewise.
33698 * math/w_atan2f.c: Likewise.
33699 * math/w_atan2l.c: Likewise.
33700 * math/w_atanh.c: Likewise.
33701 * math/w_atanhf.c: Likewise.
33702 * math/w_atanhl.c: Likewise.
33703 * math/w_exp10.c: Likewise.
33704 * math/w_exp10f.c: Likewise.
33705 * math/w_exp10l.c: Likewise.
33706 * math/w_fmod.c: Likewise.
33707 * math/w_fmodf.c: Likewise.
33708 * math/w_fmodl.c: Likewise.
33709 * math/w_j0.c: Likewise.
33710 * math/w_j0f.c: Likewise.
33711 * math/w_j0l.c: Likewise.
33712 * math/w_j1.c: Likewise.
33713 * math/w_j1f.c: Likewise.
33714 * math/w_j1l.c: Likewise.
33715 * math/w_jn.c: Likewise.
33716 * math/w_jnf.c: Likewise.
33717 * math/w_log.c: Likewise.
33718 * math/w_logf.c: Likewise.
33719 * math/w_logl.c: Likewise.
33720 * math/w_log10.c: Likewise.
33721 * math/w_log10f.c: Likewise.
33722 * math/w_log10l.c: Likewise.
33723 * math/w_log2.c: Likewise.
33724 * math/w_log2f.c: Likewise.
33725 * math/w_log2l.c: Likewise.
33726 * math/w_pow.c: Likewise.
33727 * math/w_powf.c: Likewise.
33728 * math/w_powl.c: Likewise.
33729 * math/w_remainder.c: Likewise.
33730 * math/w_remainderf.c: Likewise.
33731 * math/w_remainderl.c: Likewise.
33732 * math/w_scalb.c: Likewise.
33733 * math/w_scalbf.c: Likewise.
33734 * math/w_scalbl.c: Likewise.
33735 * math/w_sqrt.c: Likewise.
33736 * math/w_sqrtf.c: Likewise.
33737 * math/w_sqrtl.c: Likewise.
33738 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33739 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33740 used.
33741 * math/math_private.h: Declare __kernel_standard_f.
33742 * math/w_cosh.c: Remove cruft and optimize a bit.
33743 * math/w_coshf.c: Likewise.
33744 * math/w_coshl.c: Likewise.
33745 * math/w_exp2.c: Likewise.
33746 * math/w_exp2f.c: Likewise.
33747 * math/w_exp2l.c: Likewise.
33748 * math/w_hypot.c: Likewise.
33749 * math/w_hypotf.c: Likewise.
33750 * math/w_hypotl.c: Likewise.
33751 * math/w_lgamma.c: Likewise.
33752 * math/w_lgamma_r.c: Likewise.
33753 * math/w_lgammaf.c: Likewise.
33754 * math/w_lgammaf_r.c: Likewise.
33755 * math/w_lgammal.c: Likewise.
33756 * math/w_lgammal_r.c: Likewise.
33757 * math/w_sinh.c: Likewise.
33758 * math/w_sinhf.c: Likewise.
33759 * math/w_sinhl.c: Likewise.
33760 * math/w_tgamma.c: Likewise.
33761 * math/w_tgammaf.c: Likewise.
33762 * math/w_tgammal.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33765 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33766 Minor optimizations. Pretty printing. Remove cruft.
33767 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33769 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33770 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33771 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33772 * sysdeps/i386/fpu/e_asin.S: Likewise.
33773 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33774 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33775 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33776 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33777 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33778 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33779 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33780 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33781 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33782 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33783 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33784 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33785 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33786 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33787 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33788 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33789 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33790 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33791 * sysdeps/i386/fpu/e_log.S: Likewise.
33792 * sysdeps/i386/fpu/e_log10.S: Likewise.
33793 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33794 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33795 * sysdeps/i386/fpu/e_log2.S: Likewise.
33796 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33797 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33798 * sysdeps/i386/fpu/e_logf.S: Likewise.
33799 * sysdeps/i386/fpu/e_logl.S: Likewise.
33800 * sysdeps/i386/fpu/e_pow.S: Likewise.
33801 * sysdeps/i386/fpu/e_powf.S: Likewise.
33802 * sysdeps/i386/fpu/e_powl.S: Likewise.
33803 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33804 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33805 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33806 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33807 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33808 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33809 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33810 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33811 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33833 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33834 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33835 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33836 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33837 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33838 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33839 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33840 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33841 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33842 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33843 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33844 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33845 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33846 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33847 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33848 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33849 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33850 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33851 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33852 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33853 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33900 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33903 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33904 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33905 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33906 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33907 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33908 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33909 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33910 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33911 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33912 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33913 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33914 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33915 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33916 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33918 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33920 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33921 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33922 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33923 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33924 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33925 (__isnanf): Likewise.
33926 (__isinf_ns): Likewise.
33927 (__isinf_nsf): Likewise.
33928 (__finite): Likewise.
33929 (__finitef): Likewise.
33930 (__ieee754_sqrt): Define as macro.
33931 (__ieee754_sqrtf): Define as macro.
33932 (__ieee754_sqrtl): Define as macro.
33933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33934 inlined copy.
33935 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33936 __FINITE_MATH_ONLY__ consistent.
33937 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33938
33939 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33940
33941 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33942 of rawmemchr.
33943
33944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33945
33946 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33947
33948 * po/ja.po: Update from translation team.
33949
33950 2011-10-08 Roland McGrath <roland@hack.frob.com>
33951
33952 * locale/programs/locarchive.c (prepare_address_space): New function.
33953 (create_archive, enlarge_archive, open_archive): Use it.
33954
33955 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33956 inside [SHARED], where it is used.
33957
33958 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33959
33960 * nss/getent.c (netgroup_keys): Remove unused variable.
33961 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33962
33963 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33964
33965 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33968 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33969 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33970 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33971 * math/Makefile (libm-calls): Add s_isinf_ns.
33972 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33973 * math/multc3.c: Likewise.
33974 * math/s_casin.c: Likewise.
33975 * math/s_casinf.c: Likewise.
33976 * math/s_casinl.c: Likewise.
33977 * math/s_ccos.c: Likewise.
33978 * math/s_ccosf.c: Likewise.
33979 * math/s_ccosl.c: Likewise.
33980 * math/s_ctan.c: Likewise.
33981 * math/s_ctanf.c: Likewise.
33982 * math/s_ctanh.c: Likewise.
33983 * math/s_ctanhf.c: Likewise.
33984 * math/s_ctanhl.c: Likewise.
33985 * math/s_ctanl.c: Likewise.
33986 * math/w_fmod.c: Likewise.
33987 * math/w_fmodf.c: Likewise.
33988 * math/w_fmodl.c: Likewise.
33989 * math/w_remainder.c: Likewise.
33990 * math/w_remainderf.c: Likewise.
33991 * math/w_remainderl.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33993 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33996 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33997 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33998 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33999 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34000
34001 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34002 of the number.
34003 * stdio-common/printf_fphex.c: Likewise.
34004 * stdio-common/printf_size.c: Likewise.
34005
34006 * math/e_exp10.c: Include math_private.h using <...> not "...".
34007 * math/e_exp10f.c: Likewise.
34008 * math/e_exp10l.c: Likewise.
34009 * math/e_exp2l.c: Likewise.
34010 * math/e_j0l.c: Likewise.
34011 * math/e_j1l.c: Likewise.
34012 * math/e_jnl.c: Likewise.
34013 * math/e_lgammal_r.c: Likewise.
34014 * math/e_rem_pio2l.c: Likewise.
34015 * math/e_scalb.c: Likewise.
34016 * math/e_scalbf.c: Likewise.
34017 * math/e_scalbl.c: Likewise.
34018 * math/k_cosl.c: Likewise.
34019 * math/k_sinl.c: Likewise.
34020 * math/k_tanl.c: Likewise.
34021 * math/s_cacoshf.c: Likewise.
34022 * math/s_catan.c: Likewise.
34023 * math/s_catanf.c: Likewise.
34024 * math/s_catanh.c: Likewise.
34025 * math/s_catanhf.c: Likewise.
34026 * math/s_catanhl.c: Likewise.
34027 * math/s_catanl.c: Likewise.
34028 * math/s_ccosh.c: Likewise.
34029 * math/s_ccoshf.c: Likewise.
34030 * math/s_ccoshl.c: Likewise.
34031 * math/s_cexp.c: Likewise.
34032 * math/s_cexpf.c: Likewise.
34033 * math/s_cexpl.c: Likewise.
34034 * math/s_clog.c: Likewise.
34035 * math/s_clog10.c: Likewise.
34036 * math/s_clog10f.c: Likewise.
34037 * math/s_clog10l.c: Likewise.
34038 * math/s_clogf.c: Likewise.
34039 * math/s_clogl.c: Likewise.
34040 * math/s_csin.c: Likewise.
34041 * math/s_csinf.c: Likewise.
34042 * math/s_csinh.c: Likewise.
34043 * math/s_csinhf.c: Likewise.
34044 * math/s_csinhl.c: Likewise.
34045 * math/s_csinl.c: Likewise.
34046 * math/s_csqrt.c: Likewise.
34047 * math/s_csqrtf.c: Likewise.
34048 * math/s_csqrtl.c: Likewise.
34049 * math/s_ctan.c: Likewise.
34050 * math/s_ctanf.c: Likewise.
34051 * math/s_ctanh.c: Likewise.
34052 * math/s_ctanhf.c: Likewise.
34053 * math/s_ctanhl.c: Likewise.
34054 * math/s_ctanl.c: Likewise.
34055 * math/s_ldexp.c: Likewise.
34056 * math/s_ldexpf.c: Likewise.
34057 * math/s_ldexpl.c: Likewise.
34058 * math/s_significand.c: Likewise.
34059 * math/s_significandf.c: Likewise.
34060 * math/s_significandl.c: Likewise.
34061 * math/w_acos.c: Likewise.
34062 * math/w_acosf.c: Likewise.
34063 * math/w_acosh.c: Likewise.
34064 * math/w_acoshf.c: Likewise.
34065 * math/w_acoshl.c: Likewise.
34066 * math/w_acosl.c: Likewise.
34067 * math/w_asin.c: Likewise.
34068 * math/w_asinf.c: Likewise.
34069 * math/w_asinl.c: Likewise.
34070 * math/w_atan2.c: Likewise.
34071 * math/w_atan2f.c: Likewise.
34072 * math/w_atan2l.c: Likewise.
34073 * math/w_atanh.c: Likewise.
34074 * math/w_atanhf.c: Likewise.
34075 * math/w_atanhl.c: Likewise.
34076 * math/w_cosh.c: Likewise.
34077 * math/w_coshf.c: Likewise.
34078 * math/w_coshl.c: Likewise.
34079 * math/w_dremf.c: Likewise.
34080 * math/w_exp10.c: Likewise.
34081 * math/w_exp10f.c: Likewise.
34082 * math/w_exp10l.c: Likewise.
34083 * math/w_exp2.c: Likewise.
34084 * math/w_exp2f.c: Likewise.
34085 * math/w_fmod.c: Likewise.
34086 * math/w_fmodf.c: Likewise.
34087 * math/w_fmodl.c: Likewise.
34088 * math/w_hypot.c: Likewise.
34089 * math/w_hypotf.c: Likewise.
34090 * math/w_hypotl.c: Likewise.
34091 * math/w_j0.c: Likewise.
34092 * math/w_j0f.c: Likewise.
34093 * math/w_j0l.c: Likewise.
34094 * math/w_j1.c: Likewise.
34095 * math/w_j1f.c: Likewise.
34096 * math/w_j1l.c: Likewise.
34097 * math/w_jn.c: Likewise.
34098 * math/w_jnf.c: Likewise.
34099 * math/w_jnl.c: Likewise.
34100 * math/w_lgamma.c: Likewise.
34101 * math/w_lgamma_r.c: Likewise.
34102 * math/w_lgammaf.c: Likewise.
34103 * math/w_lgammaf_r.c: Likewise.
34104 * math/w_lgammal.c: Likewise.
34105 * math/w_lgammal_r.c: Likewise.
34106 * math/w_log.c: Likewise.
34107 * math/w_log10.c: Likewise.
34108 * math/w_log10f.c: Likewise.
34109 * math/w_log10l.c: Likewise.
34110 * math/w_log2.c: Likewise.
34111 * math/w_log2f.c: Likewise.
34112 * math/w_log2l.c: Likewise.
34113 * math/w_logf.c: Likewise.
34114 * math/w_logl.c: Likewise.
34115 * math/w_pow.c: Likewise.
34116 * math/w_powf.c: Likewise.
34117 * math/w_powl.c: Likewise.
34118 * math/w_remainder.c: Likewise.
34119 * math/w_remainderf.c: Likewise.
34120 * math/w_remainderl.c: Likewise.
34121 * math/w_scalb.c: Likewise.
34122 * math/w_scalbf.c: Likewise.
34123 * math/w_scalbl.c: Likewise.
34124 * math/w_sinh.c: Likewise.
34125 * math/w_sinhf.c: Likewise.
34126 * math/w_sinhl.c: Likewise.
34127 * math/w_sqrt.c: Likewise.
34128 * math/w_sqrtf.c: Likewise.
34129 * math/w_sqrtl.c: Likewise.
34130 * math/w_tgamma.c: Likewise.
34131 * math/w_tgammaf.c: Likewise.
34132 * math/w_tgammal.c: Likewise.
34133
34134 * po/ja.po: Update from translation team.
34135
34136 2011-09-29 Andreas Jaeger <aj@suse.de>
34137
34138 [BZ #13179]
34139 * sunrpc/netname.c (netname2host): Fix logic.
34140
34141 [BZ #6779]
34142 [BZ #6783]
34143 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34144 correctly.
34145 * math/w_remainder.c (__remainder): Likewise.
34146 * math/w_remainderf.c (__remainderf): Likewise.
34147 * math/libm-test.inc (remainder_test): Add test cases.
34148
34149 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34150
34151 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34152 sdiv_qrnnd.
34153
34154 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34155
34156 * string/test-memcmp.c: Avoid unncessary #defines.
34157 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34158
34159 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34160
34161 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34162 Use new sse2 version for core i3 - i7 as it's faster
34163 than sse42 version.
34164 (bit_Prefer_PMINUB_for_stringop): New.
34165 * sysdeps/x86_64/rawmemchr.S: Update.
34166 Replace with faster SSE2 version.
34167 * sysdeps/x86_64/memrchr.S: New file.
34168 * sysdeps/x86_64/memchr.S: Update.
34169 Replace with faster SSE2 version.
34170
34171 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34172
34173 * elf/dl-load.c (lose): Add cast to avoid warning.
34174
34175 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34176
34177 * po/ca.po: Update from translation team.
34178
34179 * inet/getnetgrent_r.c: Hook up nscd.
34180 * nscd/Makefile (routines): Add nscd_netgroup.
34181 (nscd-modules): Add netgroupcache.
34182 (CFLAGS-netgroupcache.c): Define.
34183 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34184 (cache_search): Add const to second parameter.
34185 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34186 INNETGR.
34187 (dbs): Add netgrdb entry.
34188 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34189 (verify_persistent_db): Handle netgrdb.
34190 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34191 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34192 GETFDNETGR.
34193 (netgroup_response_header): Define.
34194 (innetgroup_response_header): Define.
34195 (datahead): Add netgroup_response_header and innetgroup_response_header
34196 elements.
34197 * nscd/nscd.conf: Add entries for netgroup cache.
34198 * nscd/nscd.h (dbtype): Add netgrdb.
34199 (_PATH_NSCD_NETGROUP_DB): Define.
34200 (netgroup_iov_disabled): Declare.
34201 (xmalloc, xcalloc, xrealloc): Move declarations here.
34202 (cache_search): Adjust prototype.
34203 Add netgroup-related prototypes.
34204 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34205 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34206 (__nscd_innetgr): Declare.
34207 * nscd/selinux.c (perms): Use access_vector_t as element type and
34208 add netgroup-related initializers.
34209 * nscd/netgroupcache.c: New file.
34210 * nscd/nscd_netgroup.c: New file.
34211 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34212 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34213 For four parameters use innetgr.
34214 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34215 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34216 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34217 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34218
34219 * nscd/connections.c (register_traced_file): Don't register file
34220 for disabled databases.
34221
34222 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34223
34224 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34225
34226 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34227 from tree and freeing node.
34228
34229 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34230
34231 * nss/nsswitch.c (__nss_database_lookup): Handle
34232 nss_parse_service_list out of memory case.
34233
34234 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34235
34236 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34237 out of memory case.
34238
34239 2011-10-04 Andreas Schwab <schwab@redhat.com>
34240
34241 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34242 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34243 pass it down.
34244 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34245 elf_machine_rela, elf_machine_lazy_rel.
34246 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34247 (ELF_DYNAMIC_DO_REL): Likewise.
34248 (ELF_DYNAMIC_DO_RELA): Likewise.
34249 (ELF_DYNAMIC_RELOCATE): Likewise.
34250 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34251 to ELF_DYNAMIC_DO_REL.
34252 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34253 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34254 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34255 elf_machine_rela.
34256 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34257 skip_ifunc, don't call ifunc function if non-zero.
34258 (elf_machine_rela): Likewise.
34259 (elf_machine_lazy_rel): Likewise.
34260 (elf_machine_lazy_rela): Likewise.
34261 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34262 (elf_machine_lazy_rel): Likewise.
34263 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34264 Likewise.
34265 (elf_machine_lazy_rel): Likewise.
34266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34267 Likewise.
34268 (elf_machine_lazy_rel): Likewise.
34269 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34270 (elf_machine_lazy_rel): Likewise.
34271 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34272 (elf_machine_lazy_rel): Likewise.
34273 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34274 (elf_machine_lazy_rel): Likewise.
34275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34276 (elf_machine_lazy_rel): Likewise.
34277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34278 (elf_machine_lazy_rel): Likewise.
34279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34280 (elf_machine_lazy_rel): Likewise.
34281
34282 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34283
34284 * nss/nss_files/files-init.c (_nss_files_init): Use static
34285 initialization for all the *_traced_file variables.
34286
34287 2011-09-28 Andreas Schwab <schwab@redhat.com>
34288
34289 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34290
34291 2011-09-27 Roland McGrath <roland@hack.frob.com>
34292
34293 [BZ #13226]
34294 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34295
34296 2011-09-27 Andreas Schwab <schwab@redhat.com>
34297
34298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34299 Reread the line before reparsing it.
34300
34301 2011-09-26 Andreas Schwab <schwab@redhat.com>
34302
34303 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34304
34305 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34306 Maxim Kuvyrkov <maxim@codesourcery.com>
34307 Joseph Myers <joseph@codesourcery.com>
34308
34309 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34310 if needed for __stack_chk_guard.
34311
34312 2011-09-19 Roland McGrath <roland@hack.frob.com>
34313
34314 * sysdeps/posix/spawni.c (script_execute): Always define it.
34315 It will be optimized away if unused.
34316 (maybe_script_execute): New function.
34317 (__spawni): Call it.
34318
34319 * Makerules: Don't include tls.make.
34320 (config-tls): Always set to thread.
34321 * tls.make.c: File removed.
34322
34323 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34324
34325 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34326 * config.make.in (CPPFLAGS-config): New substituted variable.
34327
34328 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34329
34330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34331
34332 [BZ #13192]
34333 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34334 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34335
34336 2011-09-15 Roland McGrath <roland@hack.frob.com>
34337
34338 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34339 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34341 (CALL_FAIL): Likewise.
34342 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34343 (CALL_FAIL): Macro removed.
34344 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34345
34346 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34347
34348 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34349 for __FINITE_MATH_ONLY__ == 1.
34350
34351 2011-09-15 Andreas Schwab <schwab@redhat.com>
34352
34353 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34354 __ieee754_sqrt instead of sqrt.
34355 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34356 __ieee754_sqrtf instead of sqrtf.
34357 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34358 __floorf instead of floorf.
34359 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34360 __floorf, __truncf instead of floorf, truncf.
34361
34362 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34363
34364 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34365
34366 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34367 __extern_always_inline.
34368 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34369 32-bit.
34370
34371 2011-09-14 Andreas Schwab <schwab@redhat.com>
34372
34373 * elf/rtld.c (dl_main): Also relocate in dependency order when
34374 doing symbol dependency testing.
34375
34376 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34377
34378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34379 Always define `refsym'.
34380
34381 2011-09-13 Andreas Schwab <schwab@redhat.com>
34382
34383 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34384 (__FD_ELT): Renamed from __FDELT.
34385 * misc/bits/select2.h (__FD_ELT): Likewise.
34386 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34387 __FD_MASK instead of __FDELT, __FDMASK.
34388 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34389 Likewise.
34390 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34391 Likewise.
34392
34393 * elf/Makefile (gen-ldd): Fix pattern.
34394
34395 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34396 (init_tls): Likewise.
34397
34398 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34399
34400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34401
34402 2011-09-12 Andreas Schwab <schwab@redhat.com>
34403
34404 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34405 `struct cmsghdr *' instead of `void *'.
34406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34407 Likewise.
34408
34409 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34410
34411 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34412 if non-absolute.
34413 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34414 ldd_rewrite_script.
34415
34416 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34417
34418 * configure.in: Remove --with-tls option.
34419 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34420 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34421 out in case it is missing.
34422 * sysdeps/ia64/elf/configure.in: Likewise.
34423 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34424 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34425 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34426 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34427 * sysdeps/sh/elf/configure.in: Likewise.
34428 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34429 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34430 * sysdeps/x86_64/elf/configure.in: Likewise.
34431 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34432 * sysdeps/mach/hurd/tls.h: Likewise.
34433
34434 [BZ #13067]
34435 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34436
34437 [BZ #13090]
34438 * configure.in: Fix use of AC_INIT.
34439
34440 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34441
34442 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34443
34444 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34445 __set_errno.
34446 * malloc/hooks.c: Likewise.
34447
34448 [BZ #11929]
34449 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34450 variables statically.
34451 (narenas): Initialize.
34452 (list_lock): Initialize.
34453 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34454 initializtion of main_arena and list_lock. Small cleanups.
34455 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34456 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34457 Add initializers to main_arena and mp_.
34458 (malloc_state): Remove pagesize member. Change all users to use
34459 GLRO(dl_pagesize).
34460
34461 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34462 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34463 is always initialized.
34464
34465 * malloc/malloc.c: Removed unused configurations and dead code.
34466 * malloc/arena.c: Likewise.
34467 * malloc/hooks.c: Likewise.
34468 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34469
34470 * include/tls.h: Removed. USE___THREAD must always be defined.
34471 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34472 * elf/dl-libc.c: Likewise.
34473 * elf/dl-tsd.c: Likewise.
34474 * include/errno.h: Likewise.
34475 * include/netdb.h: Likewise.
34476 * include/resolv.h: Likewise.
34477 * inet/herrno-loc.c: Likewise.
34478 * inet/herrno.c: Likewise.
34479 * malloc/arena.c: Likewise.
34480 * malloc/hooks.c: Likewise.
34481 * malloc/malloc.c: Likewise.
34482 * resolv/res-state.c: Likewise.
34483 * resolv/res_libc.c: Likewise.
34484 * sysdeps/i386/dl-machine.h: Likewise.
34485 * sysdeps/ia64/dl-machine.h: Likewise.
34486 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34488 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34489 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34490 * sysdeps/sh/dl-machine.h: Likewise.
34491 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34493 * sysdeps/unix/i386/sysdep.S: Likewise.
34494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34495 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34500 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34505 * sysdeps/x86_64/dl-machine.h: Likewise.
34506 * tls.make.c: Likewise.
34507
34508 * configure.in: Remove --with-__thread option. Make tests for
34509 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34510 tls_model attribute fail if no support is available. Remove
34511 USE_IN_LIBIO.
34512 * Makeconfig: Adjust for dropped configure option. All features are
34513 now mandatory.
34514 * Makerules: Likewise.
34515 * Versions.def: Likewise.
34516 * argp/argp-fmtstream.c: Likewise.
34517 * argp/argp-fmtstream.h: Likewise.
34518 * argp/argp-help.c: Likewise.
34519 * assert/assert.c: Likewise.
34520 * config.h.in: Likewise.
34521 * config.make.in: Likewise.
34522 * configure: Likewise.
34523 * configure.in: Likewise.
34524 * csu/Versions: Likewise.
34525 * csu/init.c: Likewise.
34526 * elf/tst-audit2.c: Likewise.
34527 * elf/tst-tls10.c: Likewise.
34528 * elf/tst-tls10.h: Likewise.
34529 * elf/tst-tls11.c: Likewise.
34530 * elf/tst-tls12.c: Likewise.
34531 * elf/tst-tls14.c: Likewise.
34532 * elf/tst-tlsmod11.c: Likewise.
34533 * elf/tst-tlsmod12.c: Likewise.
34534 * elf/tst-tlsmod13.c: Likewise.
34535 * elf/tst-tlsmod13a.c: Likewise.
34536 * elf/tst-tlsmod14a.c: Likewise.
34537 * elf/tst-tlsmod15b.c: Likewise.
34538 * elf/tst-tlsmod16a.c: Likewise.
34539 * elf/tst-tlsmod16b.c: Likewise.
34540 * elf/tst-tlsmod7.c: Likewise.
34541 * elf/tst-tlsmod8.c: Likewise.
34542 * elf/tst-tlsmod9.c: Likewise.
34543 * gmon/gmon.c: Likewise.
34544 * grp/fgetgrent_r.c: Likewise.
34545 * grp/putgrent.c: Likewise.
34546 * hurd/fopenport.c: Likewise.
34547 * include/libc-symbols.h: Likewise.
34548 * include/tls.h: Likewise.
34549 * intl/gettextP.h: Likewise.
34550 * intl/loadinfo.h: Likewise.
34551 * locale/global-locale.c: Likewise.
34552 * locale/localeinfo.h: Likewise.
34553 * mach/devstream.c: Likewise.
34554 * malloc/arena.c: Likewise.
34555 * malloc/set-freeres.c: Likewise.
34556 * misc/err.c: Likewise.
34557 * misc/getttyent.c: Likewise.
34558 * misc/mntent_r.c: Likewise.
34559 * posix/getopt.c: Likewise.
34560 * posix/wordexp.c: Likewise.
34561 * pwd/fgetpwent_r.c: Likewise.
34562 * resolv/Versions: Likewise.
34563 * resolv/res_hconf.c: Likewise.
34564 * shadow/fgetspent_r.c: Likewise.
34565 * shadow/putspent.c: Likewise.
34566 * stdio-common/printf_fphex.c: Likewise.
34567 * stdio-common/tmpfile.c: Likewise.
34568 * stdlib/abort.c: Likewise.
34569 * stdlib/fmtmsg.c: Likewise.
34570 * sunrpc/auth_unix.c: Likewise.
34571 * sunrpc/clnt_perr.c: Likewise.
34572 * sunrpc/clnt_tcp.c: Likewise.
34573 * sunrpc/clnt_udp.c: Likewise.
34574 * sunrpc/clnt_unix.c: Likewise.
34575 * sunrpc/openchild.c: Likewise.
34576 * sunrpc/svc_simple.c: Likewise.
34577 * sunrpc/svc_tcp.c: Likewise.
34578 * sunrpc/svc_udp.c: Likewise.
34579 * sunrpc/svc_unix.c: Likewise.
34580 * sunrpc/xdr.c: Likewise.
34581 * sunrpc/xdr_array.c: Likewise.
34582 * sunrpc/xdr_rec.c: Likewise.
34583 * sunrpc/xdr_ref.c: Likewise.
34584 * sunrpc/xdr_stdio.c: Likewise.
34585
34586 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34587
34588 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34589
34590 2011-07-03 Andreas Jaeger <aj@suse.de>
34591
34592 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34593 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34594 regenerate with gen-libm-tests.pl.
34595
34596 2010-05-12 Petr Baudis <pasky@suse.cz>
34597
34598 [BZ #11589]
34599 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34600 around j0() zero points by switching to j1().
34601 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34605
34606 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34607
34608 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34609 instead of 0.
34610 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34611 instead of 0.
34612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34613 Patch in part by Pavel Roskin <proski@gnu.org>.
34614
34615 [BZ #13138]
34616 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34617 realloc.
34618 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34619 Free memory block if necessary.
34620
34621 [BZ #12847]
34622 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34623 be NULL. Don't lock in this case.
34624
34625 2011-09-09 Roland McGrath <roland@hack.frob.com>
34626
34627 * elf/elf.h (ELFOSABI_GNU): New macro.
34628 (ELFOSABI_LINUX): Define to that.
34629
34630 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34631
34632 * string/strncat.c (strncat): Undef the symbol in case it has been
34633 defined in bits/string.h.
34634
34635 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34636
34637 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34638
34639 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34640 link map.
34641
34642 2011-08-17 Andreas Jaeger <aj@suse.de>
34643
34644 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34645
34646 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34647 Ian Lance Taylor <iant@google.com>
34648
34649 * math/libm-test.inc (lround_test): New testcase.
34650 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34651
34652 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34653
34654 * Makefile: Remove support for automatic cvs check-ins.
34655 * Makerules: Likewise.
34656 * config.make.in: Likewise.
34657 * configure.in: Likewise.
34658 * intl/Makefile: Likewise.
34659 * locale/Makefile: Likewise.
34660 * po/Makefile: Likewise.
34661 * posix/Makefile: Likewise.
34662 * sysdeps/gnu/Makefile: Likewise.
34663 * sysdeps/mach/hurd/Makefile: Likewise.
34664 * sysdeps/sparc/sparc32/Makefile: Likewise.
34665
34666 [BZ #13118]
34667 * posix/Makefile (bug-regex32-ENV): Define.
34668 Patch by John Stanley <jpsinthemix@verizon.net>.
34669
34670 * misc/Makefile (headers): Add bits/select2.h.
34671 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34672 * misc/bits/select2.h: New file.
34673 * include/bits/select2.h: New file.
34674 * debug/Makefile (routines): Add fdelt_chk.
34675 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34676 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34677 FD_ISSET.
34678 * debug/fdelt_chk.c: New file.
34679
34680 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34681 * wcsmbs/test-wmemcmp.c: Likewise.
34682 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34683 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34684
34685 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34686
34687 * string/Makefile (strop-tests): Add memcmp.
34688 * string/test-wmemcmp.c: New file.
34689 * string/test-memcmp.c: Add wmemcmp support.
34690
34691 2011-09-08 Roland McGrath <roland@hack.frob.com>
34692
34693 [BZ #13153]
34694 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34695 2011-07-19 change.
34696
34697 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34698 garbage value in a __mach_port_mod_refs call in the cases of the
34699 task-self and thread-self ports.
34700
34701 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34702
34703 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34704
34705 2011-09-08 Andreas Schwab <schwab@redhat.com>
34706
34707 * elf/dl-load.c (lose): Check for non-null L.
34708
34709 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34710
34711 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34712
34713 * elf/dl-libc.c (dlerror_run): Pass back error code from
34714 dl_catch_error.
34715
34716 [BZ #13123]
34717 * elf/dl-load.c (lose): Free l_origin if it is valid.
34718
34719 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34720 names.
34721 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34722 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34723 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34724 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34725 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34726 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34727
34728 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34729
34730 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34731 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34732 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34734 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34735 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34736 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34737 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34738 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34739 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34740
34741 2011-08-15 Alan Modra <amodra@gmail.com>
34742
34743 [BZ #13092]
34744 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34745 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34746 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34747 ppc_mcount to static-only-routines.
34748 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34749 __mcount_internal.
34750 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34751 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34752
34753 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34754
34755 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34756 for finite and infinity parameters.
34757
34758 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34759
34760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34761 and add nop instructions for throughput optimization.
34762 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34763
34764 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34765
34766 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34767 aligned copy for power7 with vector-scalar instructions.
34768 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34769
34770 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34771
34772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34773 AVX check.
34774
34775 2011-09-07 Andreas Schwab <schwab@redhat.com>
34776
34777 [BZ #13144]
34778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34779 last change.
34780
34781 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34782
34783 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34784 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34785 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34786 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34787 clock_gettime.
34788
34789 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34790
34791 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34792 Forgot to demangle the pointer.
34793
34794 * sysdeps/i386/sysdep.h: Define atom_text_section.
34795 * sysdeps/x86_64/sysdep.h: Likewise.
34796 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34797 section with atom_text_section.
34798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34799 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34803
34804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34806 already be defined. Change to take two parameters and don't assign
34807 result to variable. Adjust all users.
34808 Define INTERNAL_GETTIME if not already defined.
34809 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34810 call.
34811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34812 HAVE_CLOCK_GETTIME_VSYSCALL.
34813 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34814
34815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34816 gettimeofday vsyscall, just use time.
34817
34818 2011-09-06 Andreas Schwab <schwab@redhat.com>
34819
34820 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34821 <errno.h>.
34822
34823 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34824
34825 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34826 syscall on x86-64.
34827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34828 syscall.
34829 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34831 syscall if possible.
34832
34833 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34834
34835 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34836 e_ident. Don't pass to find_mapsXX.
34837 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34838
34839 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34840
34841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34842 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34843 * sysdeps/x86_64/multiarch/strchr.S: Update.
34844 Check bit_slow_BSF bit.
34845 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34846 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34847 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34848
34849 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34850
34851 [BZ #13134]
34852 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34853 before glibc 2.15.
34854 (tryshell): Define.
34855 (__spawni): Change last parameter to be flag. Test
34856 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34857 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34858 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34859 * posix/spawni.c: Likewise.
34860 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34861 * posix/spawnp.c: Likewise. Change normal version to use
34862 SPAWN_XFLAGS_USE_PATH.
34863 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34864 SPAWN_XFLAGS_TRY_SHELL.
34865
34866 [BZ #13150]
34867 * posix/glob.h: Remove gcc 1.x support.
34868
34869 [BZ #13068]
34870 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34871
34872 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34873
34874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34875 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34876 strrchr-sse2-bsf
34877 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34878 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34879 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34882 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34883
34884 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34885
34886 * sysdeps/x86_64/wcscmp.S: New file.
34887
34888 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34889 wcscmp-c wcscmp-sse2
34890 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34891 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34892 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34893 * wcsmbs/wcscmp.c: Allow renaming.
34894
34895 2011-09-05 David S. Miller <davem@davemloft.net>
34896
34897 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34898 stack slot, rather than the struct return pointer slot.
34899 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34900 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34902 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34903
34904 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34905
34906 * po/ja.po: Update from translation team.
34907
34908 [BZ #13144]
34909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34910 kernel in 64-bit binaries.
34911
34912 2011-09-01 David S. Miller <davem@davemloft.net>
34913
34914 * elf/elf.h (HWCAP_SPARC_*): Move to..
34915 * sysdeps/sparc/sysdep.h: this new file and add new values.
34916 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34917 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34918 _DL_HWCAP_COUNT to 24.
34919 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34920 entries.
34921 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34922 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34923 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34925 instead of magic constants.
34926 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34927
34928 2011-08-31 David S. Miller <davem@davemloft.net>
34929
34930 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34932 Reimplement to do errno handling inline.
34933 (SYSCALL_ERROR_HANDLER): New macro.
34934 (__SYSCALL_STRING): Do not do errno handling in asm.
34935 (__CLONE_SYSCALL_STRING): Delete.
34936 (__INTERNAL_SYSCALL_STRING): Delete.
34937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34938 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34939 (PSEUDO): Reimplement to do errno handling inline.
34940 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34941 (SYSCALL_ERROR_HANDLER): New macro.
34942 (__SYSCALL_STRING): Do not do errno handling in asm.
34943 (__CLONE_SYSCALL_STRING): Delete.
34944 (__INTERNAL_SYSCALL_STRING): Delete.
34945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34946 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34947 i386.
34948 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34949 (inline_syscall*): Add 'err' argument.
34950 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34951 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34952 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34953 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34954
34955 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34956 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34957
34958 2011-08-30 Andreas Schwab <schwab@redhat.com>
34959
34960 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34961
34962 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34963
34964 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34965 directive.
34966
34967 2011-08-24 David S. Miller <davem@davemloft.net>
34968
34969 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34970
34971 2011-08-24 Andreas Schwab <schwab@redhat.com>
34972
34973 * elf/Makefile: Add rules to build and run unload8 test.
34974 * elf/unload8.c: New file.
34975 * elf/unload8mod1.c: New file.
34976 * elf/unload8mod1x.c: New file.
34977 * elf/unload8mod2.c: New file.
34978 * elf/unload8mod3.c: New file.
34979
34980 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34981 it wasn't used.
34982
34983 2011-08-23 David S. Miller <davem@davemloft.net>
34984
34985 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34986 subtract stack bias.
34987 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34988 %sp not %fp in calculations.
34989 (_JMPBUF_UNWINDS_ADJ): Likewise.
34990
34991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34992 (aio_suspend): Call it to force an exception region around the
34993 AIO_MISC_WAIT() invocation.
34994
34995 2011-08-23 Andreas Schwab <schwab@redhat.com>
34996
34997 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34998 backslash.
34999
35000 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35001
35002 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35003 protection macro.
35004 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35005 and <dl-machine.h>.
35006 (Elf64_FuncDesc): Remove.
35007
35008 2011-08-22 David S. Miller <davem@davemloft.net>
35009
35010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35011 sigaltstack check, add missing cfi directives.
35012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35013 missing cfi directives, and sigaltstack handling.
35014
35015 2011-08-16 Andreas Schwab <schwab@redhat.com>
35016
35017 [BZ #11724]
35018 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35019 object is seen twice.
35020 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35021
35022 * elf/Makefile (distribute): Add tst-initorder2.c.
35023 (tests): Add tst-initorder2.
35024 (modules-names): Add tst-initorder2a tst-initorder2b
35025 tst-initorder2c tst-initorder2d. Add rules to build them.
35026 ($(objpfx)tst-initorder2.out): New rule.
35027 * elf/tst-initorder2.c: New file.
35028 * elf/tst-initorder2.exp: New file.
35029
35030 2011-08-22 Andreas Schwab <schwab@redhat.com>
35031
35032 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35033
35034 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35035 dependencies back to end of function.
35036
35037 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35038 $(elfobjdir)/ld.so.
35039
35040 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35041
35042 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35043 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35045 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35046 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35047 of __vdso_gettimeofday.
35048 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35049 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35050 attribute_hidden.
35051 (_libc_vdso_platform_setup): Remove initialization of
35052 __vdso_gettimeofday and __vdso_time.
35053
35054 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35055
35056 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35057 and fgetc_unlocked.
35058 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35059 getc_unlocked.
35060
35061 * elf/dl-open.c (add_to_global): Report additions to the global scope
35062 for LD_DEBUG=scopes.
35063 (dl_open_worker): Also print scope of newly loaded dependencies.
35064 (_dl_show_scope): Indicate if there is no scope.
35065
35066 [BZ #13114]
35067 * stdio-common/Makefile (tests): Add bug24.
35068 * stdio-common/bug24.c: New file.
35069
35070 2011-08-19 Andreas Jaeger <aj@suse.de>
35071
35072 [BZ #13114]
35073 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35074 non-existant file when using close-on-exec mode.
35075
35076 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35077
35078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35079 the very first instruction.
35080
35081 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35082 the CFI state in the end.
35083 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35084 inclusion of dl-trampoline.h.
35085 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35086
35087 2011-08-19 Andreas Schwab <schwab@redhat.com>
35088
35089 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35090 expectations for long double.
35091
35092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35093 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35094
35095 2011-08-14 David S. Miller <davem@davemloft.net>
35096
35097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35098 artificual limit depends upon the system page size.
35099
35100 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35101
35102 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35103 * resolv/Makefile: Define CFLAGS-libresolv.
35104
35105 2011-08-17 Andreas Schwab <schwab@redhat.com>
35106
35107 * nss/makedb.c (compute_tables): Make variables used in nested
35108 function static.
35109
35110 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35111
35112 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35113 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35114 if buffer was too small.
35115
35116 * elf/pldd.c (main): Attach to all threads in the process.
35117 Rewrite /proc handling to use *at functions.
35118
35119 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35120
35121 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35122 specifies first scope to show.
35123 (dl_open_worker): Update callers. Move printing scope of new
35124 object to before the relocation.
35125 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35126 * sysdeps/generic/ldsodefs.h: Update declaration.
35127
35128 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35129 string for the scope number.
35130
35131 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35132
35133 * nscd/servicescache.c (cache_addserv): Make sure written is always
35134 initialized.
35135
35136 2011-08-14 Roland McGrath <roland@hack.frob.com>
35137
35138 * sysdeps/i386/i486/bits/atomic.h
35139 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35140 statement expression, so as to suppress "set but not used" warning.
35141 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35142
35143 * string/strncat.c (STRNCAT): Use prototype definition.
35144
35145 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35146 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35147 -Iprograms here.
35148 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35149 (localedef-modules): Add localedef.
35150 (locale-modules): Add locale.
35151
35152 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35153 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35154 to avoid a warning.
35155
35156 2011-08-14 David S. Miller <davem@davemloft.net>
35157
35158 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35159 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35160
35161 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35162
35163 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35164 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35165 * elf/rtld.c (dl_main): Set l_name of vDSO.
35166 Call _dl_show_scope when DL_DEBUG_SCOPES.
35167 (process_dl_debug): Recognize scopes flag and also set it for all.
35168 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35169 Declare _dl_show_scope.
35170
35171 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35172 (do_dlopen): Pass caller_dlopen to dl_open.
35173 (__libc_dlopen_mode): Initialize caller_dlopen.
35174
35175 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35176 of libc. Make tolower call locale-independent. Optimize a bit by
35177 using isdigit instead of isalnum.
35178 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35179
35180 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35181
35182 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35183 was a dependency or dynamically loaded.
35184
35185 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35186
35187 * intl/l10nflist.c: Allow architecture-specific pop function.
35188 * sysdeps/x86_64/l10nflist.c: New file.
35189
35190 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35191 classification.
35192
35193 2011-08-10 Andreas Schwab <schwab@redhat.com>
35194
35195 * include/dirent.h: Add libc_hidden_proto for scandirat and
35196 scandirat64. Don't declare __scandirat64.
35197 * dirent/scandirat.c: Add libc_hidden_def.
35198 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35199 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35200
35201 2011-08-10 David S. Miller <davem@davemloft.net>
35202
35203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35204 enum.
35205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35208
35209 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35210
35211 * Versions.def [libc]: Add GLIBC_2.15.
35212 * dirent/Makefile (routines): Add scandirat and scandirat64.
35213 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35214 GLIBC_2.15.
35215 * dirent/dirent.h: Declare scandirat and scandirat64.
35216 * dirent/scandirat.c: New file.
35217 * dirent/scandirat64.c: New file.
35218 * sysdeps/wordsize-64/scandirat.c: New file.
35219 * sysdeps/wordsize-64/scandirat64.c: New file.
35220 * dirent/opendir.c: Define opendirat.
35221 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35222 using scandirat.
35223 * dirent/scandir64.c: Adjust for scandir.c change.
35224 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35225 __scandirat64, and __scandir_cancel_handler.
35226 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35227 additional parameter and use openat instead of open (outside of ld.so).
35228 Add new __opendir as wrapper around __opendirat.
35229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35230 here without requiring old scandirat implementation.
35231
35232 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35233
35234 * dirent/scandir.c (cancel_handler): Renamed to
35235 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35236 defined. Adjust users.
35237 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35238 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35239
35240 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35241
35242 * string/test-string.h (IMPL): Use __STRING to expand name and then
35243 stringify it.
35244
35245 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35246 of cleanups.
35247
35248 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35249
35250 * string/Makefile: Update.
35251 (strop-tests): Append strncat.
35252 * string/test-wcscmp.c: New file.
35253 New comprehensive test for wcscmp.
35254 * string/test-strcmp.c: Update.
35255 (WIDE): New define.
35256
35257 2011-07-22 Andreas Schwab <schwab@redhat.com>
35258
35259 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35260 line.
35261
35262 2011-07-26 Andreas Schwab <schwab@redhat.com>
35263
35264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35265 encoding to ACE if AI_IDN.
35266
35267 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35268
35269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35270 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35271
35272 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35273
35274 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35275 Fix overflow bug in strncat.
35276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35277
35278 * string/test-strncat.c: Update.
35279 Add new tests for checking overflow bugs.
35280
35281 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35282
35283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35284 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35285 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35286 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35288 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35289 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35290 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35291 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35292
35293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35294 (USE_AS_STRCAT): Define.
35295 Add strcat and strncat support.
35296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35297
35298 2011-07-25 Andreas Schwab <schwab@redhat.com>
35299
35300 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35301 __n bigger than INT_MAX+1.
35302 (__strncmp_g): Likewise.
35303
35304 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35305
35306 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35307 * libio/stido.h: Likewise.
35308
35309 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35310 (AF_NFC): Define.
35311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35312 (AF_NFC): Define.
35313
35314 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35315 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35319
35320 [BZ #13021]
35321 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35322 installed.
35323
35324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35325 typo.
35326 (_dl_x86_64_save_sse): Likewise.
35327
35328 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35329
35330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35331 OSXSAVE.
35332 (_dl_x86_64_save_sse): Likewise.
35333
35334 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35335
35336 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35337
35338 2011-07-21 Andreas Schwab <schwab@redhat.com>
35339
35340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35341 change.
35342 (_dl_x86_64_save_sse): Use correct AVX check.
35343
35344 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35345
35346 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35347 bug in strncpy/strncat.
35348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35349
35350 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35351
35352 * string/tester.c (test_strcat): Add tests for different alignments
35353 of source and destination.
35354 (test_strncat): Likewise.
35355
35356 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35357
35358 [BZ #12852]
35359 * posix/glob.c (glob): Check passed in values before using them in
35360 expressions to avoid some overflows.
35361 (glob_in_dir): Likewise.
35362
35363 [BZ #13007]
35364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35365 check for AVX enablement so that we don't crash with old kernels and
35366 new hardware.
35367 * elf/tst-audit4.c: Add same checks here.
35368 * elf/tst-audit6.c: Likewise.
35369
35370 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35371
35372 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35373
35374 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35375
35376 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35377
35378 * po/cs.po: Update from translation team.
35379 * po/bg.po: Likewise.
35380
35381 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35382
35383 * misc/sys/cdefs.h: Add support for const attribute.
35384 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35385 to gnu_dev_{major,minor,makedev} functions.
35386
35387 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35388
35389 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35390
35391 2011-07-20 Andreas Schwab <schwab@redhat.com>
35392
35393 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35394 strlen results.
35395
35396 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35397
35398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35399 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35400 register in order to avoid conflicts with the soft frame pointer
35401 being held in r11 when necessary.
35402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35403 (INTERNAL_VSYSCALL_NCS): Likewise.
35404
35405 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35406
35407 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35408 * elf/dl-fini.c (_dl_fini): Adjust caller.
35409 * elf/dl-close.c (_dl_close_worker): Likewise.
35410 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35411
35412 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35413
35414 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35415 "aux_cache->nlibs < 0".
35416
35417 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35418 in the reload-count case.
35419
35420 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35421
35422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35423 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35424 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35425 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35426 * sysdeps/x86_64/multiarch/strcat.S: New file.
35427 * sysdeps/x86_64/multiarch/strncat.S: New file.
35428 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35429 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35430 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35431 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35433 (USE_AS_STRCAT): Define.
35434 Add strcat and strncat support.
35435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35436 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35437 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35438 * string/strncat.c: Update.
35439 (USE_AS_STRNCAT): Define.
35440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35441 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35442 and i7.
35443 * sysdeps/x86_64/multiarch/init-arch.h
35444 (bit_Prefer_PMINUB_for_stringop): New.
35445 (index_Prefer_PMINUB_for_stringop): Likewise.
35446 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35447 bit_Prefer_PMINUB_for_stringop.
35448
35449 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35450
35451 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35452 buffer64.
35453 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35454 of casting of buffer.
35455 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35456 buffer32 and buffer64.
35457 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35458 writes instead of casting of buffer.
35459 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35460 buffer32.
35461 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35462 casting of buffer.
35463
35464 2011-07-19 Andreas Schwab <schwab@redhat.com>
35465
35466 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35467
35468 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35469
35470 * nscd/nscd.c (termination_handler): Don't do anything for a database
35471 if it has not yet been initialized.
35472
35473 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35474
35475 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35476
35477 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35478
35479 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35480
35481 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35482
35483 * po/nl.po: Update from translation team.
35484 * po/sv.po: Likewise.
35485
35486 2011-07-16 Roland McGrath <roland@hack.frob.com>
35487
35488 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35489 now disallowed by GCC.
35490
35491 * configure.in (use-default-link): Default to yes if a test -shared
35492 link meets our qualifications.
35493 * configure: Regenerated.
35494
35495 * config.make.in (output-format): New variable.
35496 * configure.in: Check for ld --print-output-format support.
35497 * configure: Regenerated.
35498 * Makerules ($(common-objpfx)format.lds)
35499 [$(output-format) != unknown]: Just use $(output-format),
35500 instead of the linker-script munging.
35501
35502 2011-07-14 Roland McGrath <roland@hack.frob.com>
35503
35504 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35505 of $(common-objpfx)shlib.lds.
35506 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35507
35508 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35509 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35510
35511 * configure.in (-z relro check): Adjust test code to add a large
35512 writable data section after it.
35513 * configure: Regenerated.
35514
35515 2011-07-11 Roland McGrath <roland@hack.frob.com>
35516
35517 * configure.in (-z relro check): Fix test code to make the variable
35518 truly const.
35519 * configure: Regenerated.
35520
35521 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35522
35523 * nscd/nscd.h (struct traced_file): Define.
35524 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35525 elements. Add traced_files.
35526 (inotify_fd): Declare.
35527 (register_traced_file): Declare.
35528 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35529 (inotify_fd): Export.
35530 (resolv_conf_descr): Remove.
35531 (nscd_init): Move inotify descriptor creation to main.
35532 Don't register files for notification here.
35533 (register_traced_file): New function.
35534 (invalidate_cache): Don't use reset_res to determine whether to call
35535 res_init, go through the list of registered files.
35536 (main_loop_poll): The inotify descriptors are now stored in the
35537 structures for the traced files.
35538 (main_loop_epoll): Likewise
35539 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35540 to __nss_disable_nscd.
35541 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35542 for a database anymore. Check the records for all the registered
35543 files instead.
35544 * nss/Makefile (libnss_files-routines): Add files-init.
35545 (libnss_db-routines): Add db-init.
35546 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35547 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35548 * nss/nss_db/db-init.c: New file.
35549 * nss/nss_files/files-init.c: New file.
35550 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35551 __nss_lookup_function.
35552 (__nss_lookup_function): Call nss_load_library.
35553 (nss_load_all_libraries): New function.
35554 (__nss_disable_nscd): Take parameter with callback function for files
35555 to register. Set is_nscd. Load all the DSOs for the NSS modules
35556 used for the cached services.
35557 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35559 options for features to all the files in nscd.
35560
35561 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35562
35563 2011-07-10 Roland McGrath <roland@hack.frob.com>
35564
35565 * csu/elf-init.c (__libc_csu_init): Comment typo.
35566
35567 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35568
35569 * po/pl.po: Update from translation team.
35570 * po/ja.po: Likewise.
35571 * po/ru.po: Likewise.
35572 * po/ko.po: Likewise.
35573 * po/fr.po: Likewise.
35574
35575 2011-07-09 Roland McGrath <roland@hack.frob.com>
35576
35577 * configure.in (.ctors/.dtors header and trailer check):
35578 Use an empirical test on a built program.
35579 * configure: Regenerated.
35580
35581 * configure.in (-z relro check): Use an empirical test on a built DSO.
35582 Detect, but do not require, on ia64.
35583 * configure: Regenerated.
35584
35585 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35586 Update tests that use readelf to use $READELF instead.
35587 * configure: Regenerated.
35588
35589 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35590
35591 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35592 if the result is not used.
35593
35594 2011-07-05 Andreas Jaeger <aj@suse.de>
35595
35596 [BZ#9696]
35597 * stdlib/tst-strtod.c: Add testcase.
35598
35599 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35600
35601 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35602 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35603 The latter has a higher limit. Take additional parameter to pass to
35604 the new function.
35605 (__pathconf): Pass file to __statfs_link_max.
35606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35607 __statfs_link_max.
35608 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35609 __statfs_link_max.
35610
35611 [BZ #12868]
35612 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35613 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35614 Handle Lustre.
35615 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35616 (__statfs_filesize_max): Likewise.
35617 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35618
35619 2011-07-05 Andreas Jaeger <aj@suse.de>
35620
35621 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35622
35623 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35624
35625 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35626 `status' variable.
35627 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35628 Likewise.
35629
35630 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35631
35632 * Makefile (strop-tests): Add strncat.
35633 * string/test-strncat.c: New file.
35634
35635 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35636
35637 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35638
35639 2011-06-21 Andreas Jaeger <aj@suse.de>
35640
35641 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35642 Copy rule from iconvdata/Makefile.
35643
35644 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35645
35646 [BZ #12922]
35647 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35648 but no long options are defined, just return 'W'.
35649
35650 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35651
35652 [BZ #9696]
35653 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35654
35655 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35656
35657 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35658 netgroups to read.
35659 (innetgr): Likewise.
35660
35661 2011-07-05 Roland McGrath <roland@hack.frob.com>
35662
35663 * config.make.in (install_root): Default to $(DESTDIR).
35664
35665 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35666
35667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35668
35669 2011-07-02 Roland McGrath <roland@hack.frob.com>
35670
35671 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35672
35673 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35674 containing directory rather than embedding absolute directory names.
35675
35676 * scripts/check-local-headers.sh: Rewritten using awk.
35677 Match by word, not by line. Print error messages for matches.
35678 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35679
35680 * Makerules [shlib-lds-flags empty]:
35681 ($(common-objpfx)libc_pic.opts): New target.
35682 ($(common-objpfx)libc_pic.os.clean): New target.
35683 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35684
35685 * config.make.in (OBJCOPY): New variable.
35686 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35687 * configure: Regenerated.
35688
35689 * config.make.in (use-default-link): New variable.
35690 * configure.in (use_default_link): Grok --with-default-link to set it.
35691 * configure: Regenerated.
35692 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35693 (shlib-lds, shlib-lds-flags): Define to empty.
35694
35695 * Makerules (shlib-lds): New variable.
35696 (shlib-lds-flags): New variable.
35697 (build-shlib, build-moduile, build-module-asneeded): Use it.
35698 ($(common-objpfx)libc.so): Use $(shlib-lds).
35699 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35700 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35701
35702 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35703 DT_FLAGS/DT_FLAGS_1 with zero flags.
35704
35705 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35706 linker script munging.
35707
35708 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35709
35710 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35711 as 128-bit value.
35712 * crypt/sha512.c (sha512_process_block): Perform total addition using
35713 128-bit if possible.
35714 (__sha512_finish_ctx): Likewise.
35715 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35716 as 64-bit value.
35717 * crypt/sha256.c (SWAP64): Define.
35718 (sha256_process_block): Perform total addition using 64-bit if
35719 possible.
35720 (__sha256_finish_ctx): Likewise.
35721
35722 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35723
35724 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35726 * nscd/hstcache.c (cache_addhst): Likewise.
35727 * nscd/grpcache.c (cache_addgr): Likewise.
35728 * nscd/aicache.c (addhstaiX): Likewise
35729 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35730
35731 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35732
35733 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35734 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35735 * nscd/hstcache.c (cache_addhst): Likewise.
35736 * nscd/grpcache.c (cache_addgr): Likewise.
35737 * nscd/aicache.c (addhstaiX): Likewise
35738
35739 2011-07-01 Andreas Schwab <schwab@redhat.com>
35740
35741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35742 domain only when needed.
35743
35744 2011-06-30 Andreas Schwab <schwab@redhat.com>
35745
35746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35747 is always restored.
35748
35749 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35750
35751 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35752 are re-adding the entry.
35753 * nscd/servicescache.c (cache_addserv): Likewise.
35754
35755 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35756
35757 * sysdeps/generic/dl-irel.h: fix protection against multiple
35758 inclusions.
35759 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35760
35761 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35762
35763 [BZ #12935]
35764 * malloc/memusage.sh: Fix quoting in message.
35765 * debug/xtrace.sh: Likewise.
35766
35767 * configure.in: Remove support for --experimental-malloc option, make
35768 it the default.
35769 * config.make.in: Likewise.
35770 * malloc/Makefile: Likewise.
35771
35772 2011-06-27 Andreas Schwab <schwab@redhat.com>
35773
35774 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35775 two-byte characters.
35776
35777 2011-06-27 Roland McGrath <roland@hack.frob.com>
35778
35779 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35780 AC_CACHE_CHECK invocation.
35781 * configure: Regenerated.
35782
35783 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35784
35785 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35786
35787 [BZ #12350]
35788 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35789 bit from old_res_options.
35790
35791 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35792
35793 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35794 value type for setfct.
35795
35796 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35797
35798 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35799 __gettimeofday instead of gettimeofday.
35800
35801 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35802
35803 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35804
35805 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35806
35807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35808
35809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35810 info.
35811
35812 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35815 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35816 strcpy-sse2-unaligned strncpy-sse2-unaligned
35817 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35818 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35819 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35820 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35821 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35823 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35824 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35825 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35826 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35827 (STRCPY): Support SSE2 and SSSE3 versions.
35828
35829 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35830
35831 [BZ #12874]
35832 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35833 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35834 kernels which artificially limit size of requests.
35835
35836 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35837
35838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35839 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35840 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35841 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35842 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35843 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35844 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35845 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35846 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35848 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35849 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35850 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35851 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35852 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35854 Enable unaligned load optimization for Intel Core i3, i5 and i7
35855 processors.
35856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35857 Define.
35858 (index_Fast_Unaligned_Load): Define.
35859 (HAS_FAST_UNALIGNED_LOAD): Define.
35860
35861 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35862
35863 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35864
35865 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35866
35867 [BZ #12907]
35868 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35869 until it is clear that the information is realy needed.
35870 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35871
35872 2011-06-22 Andreas Schwab <schwab@redhat.com>
35873
35874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35875
35876 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35877
35878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35879 /sys/devices/system/cpu/online if it is usable.
35880
35881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35882 reading the information from the /proc filesystem to once a second.
35883
35884 2011-06-21 Andreas Jaeger <aj@suse.de>
35885
35886 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35887 NULL after inclusion of kernel headers.
35888
35889 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35890
35891 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35892 calls to internal_setent.
35893
35894 [BZ #12885]
35895 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35896 addresses using gethostbyname4_r ignore IPv4 addresses.
35897
35898 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35899 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35900
35901 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35902
35903 2011-06-20 David S. Miller <davem@davemloft.net>
35904
35905 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35906 inclusions.
35907 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35908
35909 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35910 (elf_irel): Use it.
35911 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35912 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35913 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35914 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35915 * sysdeps/x86_64/dl-irel.h: Likewise.
35916
35917 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35918 * elf/dl-sym.c: Likewise.
35919
35920 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35921
35922 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35923 need to dereference resplen2.
35924
35925 2011-06-14 Andreas Schwab <schwab@redhat.com>
35926
35927 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35928
35929 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35930
35931 * Makeconfig: Define vardbdir and inst_vardbdir.
35932 * nss/Makefile: Add rules to install db-Makefile.
35933
35934 * nss/nss_db/db-XXX.c: Cleanup.
35935
35936 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35937 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35938 GLIBC_PRIVATE.
35939 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35940 * nss/makedb.c: Implement -g option to specify that value strings
35941 are generated and should not be added to table iterated over for
35942 get*ent calls.
35943 * nss/nss_db/db-initgroups.c: New file.
35944
35945 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35946 interface.
35947
35948 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35949 (internal_getgrouplist): Adjust to name change.
35950 Update use_initgroups_entry if this is not the first call.
35951 * nss/databases.def: Add initgroups entry.
35952
35953 * nss/makedb.c (compute_tables): Check result of multiple hash table
35954 sizes to minimize maximum chain length.
35955
35956 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35957
35958 * Versions.def: Add entry for libnss_db.
35959 * shlib-versions: Likewise.
35960 * nss/Makefile: Add rules to build libnss_db.
35961 * nss/Versions: Add libnss_db information. Organize libnss_files
35962 entries better.
35963 * nss/db-Makefile: Add gshadow support. Change rules for the new
35964 makedb progra. Some minor improvements to generate smaller files.
35965 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35966 here from...
35967 * nss/makedb.c: ...here.
35968 Improve database format to be smaller and require less memory at
35969 runtime.
35970 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35971 db anymore.
35972 * nss/nss_db/db-netgrp.c: Likewise.
35973 * nss/nss_db/db-open.c: Likewise.
35974 * nss/nss_files/flies-XXX.x: Adjust comments.
35975 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35976 * nss/nss_files/files-grp.c: Likewise.
35977 * nss/nss_files/files-hosts.c: Likewise.
35978 * nss/nss_files/files-network.c: Likewise.
35979 * nss/nss_files/files-proto.c: Likewise.
35980 * nss/nss_files/files-pwd.c: Likewise.
35981 * nss/nss_files/files-rpc.c: Likewise.
35982 * nss/nss_files/files-service.c: Likewise.
35983 * nss/nss_files/files-sgrp.c: Likewise.
35984 * nss/nss_files/files-spwd.c: Likewise.
35985 * nss/nss_db/db-alias.c: Removed.
35986 * nss/nss_db/dummy-db.h: Removed.
35987
35988 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35989
35990 * nss/makedb.c: Rewritten to not use database library.
35991 * nss/Makefile: Update to build new makedb program.
35992
35993 2011-06-14 Andreas Jaeger <aj@suse.de>
35994
35995 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35996 memset declaration.
35997
35998 2011-06-10 Andreas Schwab <schwab@redhat.com>
35999
36000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36001 tmpbuf.
36002
36003 2011-06-10 Roland McGrath <roland@hack.frob.com>
36004
36005 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36006 * elf/Makefile ($(objpfx)ld.so): Likewise.
36007
36008 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36009 Don't list ld.so twice in dependencies.
36010
36011 * posix/bug-regex31.c: Include <stdlib.h>.
36012
36013 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36014
36015 * nis/nss_compat/compat-spwd.c
36016 (getspent_next_nss_netgr): Remove unused variable.
36017 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36018
36019 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36020 nonmembers" output to use the right array.
36021
36022 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36023
36024 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36025
36026 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36027 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36028 * catgets/gencat.c (read_input_file): Likewise.
36029 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36030
36031 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36032 variable definition inside #if's controlling its use.
36033
36034 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36035
36036 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36037
36038 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36039
36040 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36041 unreachable code.
36042
36043 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36044
36045 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36046 * configure: Regenerated.
36047
36048 * Makerules: Revert last change.
36049 * elf/Makefile: Likewise.
36050
36051 2011-06-09 Roland McGrath <roland@hack.frob.com>
36052
36053 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36054 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36055 (reloc-link): Likewise.
36056
36057 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36058
36059 * elf/Makefile: Add rules to build pldd.
36060 * elf/pldd.c: New file.
36061 * elf/pldd-xx.c: New file.
36062
36063 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36064
36065 * version.h: Update for 2.15 development version.
36066
36067 2011-06-07 David S. Miller <davem@davemloft.net>
36068
36069 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36070 ifuncs.
36071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36072 elf_machine_lazy_rel): Likewise.
36073 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36075 elf_machine_lazy_rel): Likewise.
36076 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36077 dl_hwcap via passed in argument.
36078 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36079 Likewise.
36080
36081 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36082
36083 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36084
36085 2011-06-06 Roland McGrath <roland@hack.frob.com>
36086
36087 [BZ #12849]
36088 * manual/fdl-1.1.texi: New file, verbatim from:
36089 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36090 * manual/lgpl-2.1.texi: New file, verbatim from:
36091 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36092 * manual/Makefile (licenses): New variable, list those new file names.
36093 (texis): Use it.
36094 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36095
36096 * manual/fdl.texi: File removed.
36097 * manual/lesser.texi: File removed.
36098 * manual/libc.texinfo (Copying, Documentation License):
36099 Use new @include file names, put @appendix directive before @include.
36100
36101 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36102
36103 [BZ #12841]
36104 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36105 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36106 (mq_open): Add __NTH.
36107
36108 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36109
36110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36111 Assume Intel Core i3/i5/i7 processor if AVX is available.
36112
36113 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36114
36115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36116 typo.
36117
36118 2011-05-31 Andreas Schwab <schwab@redhat.com>
36119
36120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36121 memory. Use alloca_account. Fix memory leak when retrying.
36122
36123 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36124
36125 * version.h (RELEASE): Bump for 2.14 release.
36126 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36127
36128 * config.make.in (RANLIB): Remove entry.
36129
36130 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36131
36132 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36133 (libc.pot): Work around missing support for .ksh extension in xgettext.
36134
36135 [BZ #12684]
36136 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36137 if both request failed.
36138 (send_dg): In case of server errors clear resplen or *resplen2.
36139
36140 [BZ #12454]
36141 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36142 when there are multiple maps.
36143 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36144 (_dl_fini): Remove test here.
36145
36146 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36147
36148 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36149
36150 [BZ #12350]
36151 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36152 bit from old_res_options.
36153 (gaih_inet): Likewise.
36154
36155 [BZ #11099]
36156 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36157 as signed.
36158
36159 * resolv/res_init.c (res_setoptions): Make the code more compact.
36160
36161 [BZ #11558]
36162 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36163 set RES_USEVC.
36164
36165 [BZ #11634]
36166 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36167
36168 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36169
36170 [BZ #11781]
36171 * malloc/malloc.h: Declare malloc hook variables as volatile.
36172
36173 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36174 in last patch.
36175
36176 [BZ #11799]
36177 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36178 raise in the comment.
36179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36181 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36182
36183 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36184
36185 [BZ #12811]
36186 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36187 grow the buffers more if it already has to be sufficient.
36188 (build_wcs_upper_buffer): Likewise.
36189 * posix/regexec.c (check_matching): Likewise.
36190 (clean_state_log_if_needed): Likewise.
36191 (extend_buffers): Don't enlarge buffers beyond size of the input
36192 buffer.
36193 Patches mostly by Emil Wojak <emil@wojak.eu>.
36194 * posix/bug-regex32.c: New file.
36195 * posix/Makefile (tests): Add bug-regex32.
36196
36197 * locale/findlocale.c (_nl_find_locale): Return right away if
36198 _nl_explode_name failed.
36199 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36200
36201 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36202
36203 * debug/xtrace.sh: Unify messages.
36204 * malloc/memusage.sh: Likewise.
36205
36206 [BZ #12813]
36207 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36208 time symbol from vDSO. Substitute with vsyscall if not available.
36209 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36210 __vdso_time.
36211
36212 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36213 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36214 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36215 Add sendmmsg and internal_sendmmsg.
36216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36218 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36219
36220 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36221 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36222 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36223
36224 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36225
36226 [BZ #12813]
36227 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36228 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36229 available.
36230 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36231 __vdso_getcpu.
36232
36233 [BZ #12814]
36234 * iconvdata/Makefile (tests): Add bug-iconv9.
36235 * iconvdata/bug-iconv9.c: New file.
36236
36237 2011-05-27 Andreas Schwab <schwab@redhat.com>
36238
36239 [BZ #12814]
36240 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36241
36242 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36243
36244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36245 (struct user_regs_struct): Change intcs field back to cs.
36246
36247 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36248
36249 * po/ja.po: Update from translation team.
36250
36251 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36252
36253 [BZ #12795]
36254 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36256
36257 2011-05-20 Andreas Schwab <schwab@redhat.com>
36258
36259 * stdlib/longlong.h: Update from GCC.
36260
36261 2011-05-23 Andreas Schwab <schwab@redhat.com>
36262
36263 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36264 parameter name.
36265 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36266 Add parameter name.
36267 (__sysconf): Pass it down.
36268
36269 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36270
36271 [BZ #12671]
36272 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36273 some situations.
36274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36275 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36276 add in in __libc_use_alloca calls. Adjust callers.
36277 (glob): Use malloc in some situations.
36278
36279 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36280 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36281 pltexit.
36282
36283 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36284
36285 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36286 and CLOCK_BOOTTIME_ALARM.
36287
36288 [BZ #12782]
36289 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36290 is returned.
36291
36292 * string/_strerror.c (__strerror_r): Print negative errors as signed
36293 numbers.
36294
36295 [BZ #12777]
36296 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36297 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36298 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36299
36300 * configure.in: Fix typo in redirection and correct removal of test
36301 files in two cases.
36302
36303 [BZ #12788]
36304 * locale/setlocale.c (new_composite_name): Fix test to check for
36305 identical name of all categories.
36306
36307 [BZ #12792]
36308 * libio/filedoalloc.c (local_isatty): New function.
36309 (_IO_file_doallocate): Use local_isatty.
36310 * stdio-common/perror.c (perror): In case a new stream is used
36311 forward the stream error.
36312 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36313 error flag.
36314
36315 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36316
36317 [BZ #11869]
36318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36319 alloca.
36320 * include/alloca.h (extend_alloca_account): Define.
36321
36322 [BZ #11857]
36323 * posix/regex.h: Fix comments with documentation of user-accessible
36324 fields after compilation and describe correct free'ing of pattern
36325 after re_compile_pattern.
36326 Patch by Reuben Thomas <rrt@sc3d.org>.
36327
36328 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36329
36330 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36331 and -mno-altivec to prevent the compiler from using Altivec and/or
36332 VSX instructions when the corresponding registers are not available.
36333
36334 2011-05-19 Andreas Schwab <schwab@redhat.com>
36335
36336 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36337
36338 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36339
36340 * libio/freopen.c (freopen): Use __dup2, not dup2.
36341 * libio/freopen64.c (freopen64): Likewise.
36342
36343 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36344
36345 [BZ #12775]
36346 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36347 * math/Makefile (tests): Add test-powl.
36348 (CFLAGS-test-powl.c): Define.
36349 * math/test-powl.c: New file.
36350
36351 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36352
36353 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36354
36355 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36356
36357 [BZ #11837]
36358 * iconvdata/gb18030.c: Update to GB18020-2005.
36359
36360 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36361
36362 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36363 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36364 Patch by Aharon Robbins <arnold@skeeve.com>.
36365
36366 [BZ #11892]
36367 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36368 on the stack.
36369
36370 [BZ #11895]
36371 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36372 through underflows.
36373
36374 [BZ #12766]
36375 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36376 point to strings before performing equality test for error_one_per_line
36377 mode.
36378
36379 [BZ #11697]
36380 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36381
36382 [BZ #11820]
36383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36384 (struct user_fpregs_struct): Avoid __uint*_t types.
36385
36386 [BZ #6420]
36387 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36388 symbol info. Use it instead of calling _dl_addr locally.
36389 (lock_and_info): New function.
36390 (tr_freehook): Call lock_and_info and pass symbol info as additional
36391 parameter to tr_where.
36392 (tr_mallochook): Likewise.
36393 (tr_reallochook): Likewise.
36394 (tr_memalignhook): Likewise.
36395
36396 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36397 used and couldn't be at all thread-safe.
36398
36399 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36400
36401 * libio/freopen.c (freopen): Don't close old file descriptor
36402 before the new one is opened. Instead dup the new file descriptor
36403 to the old one after the new stream is created.
36404 * libio/freopen64.c (freopen64): Likewise.
36405 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36406 * libio/fileops.c (_IO_new_file_close_it): Handle new
36407 _IO_FLAGS2_NOCLOSE flag.
36408 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36409 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36410 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36411 _IO_FLAGS2_NOCLOSE flag.
36412 * include/unistd.h: Add hidden_proto for dup3.
36413 Define __have_dup3.
36414 * io/dup3.c: Define hidden symbol.
36415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36416
36417 [BZ #7101]
36418 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36419 when an incomplete long option is used.
36420 * posix/tst-getopt_long1.c: New file.
36421 * posix/Makefile (tests): Add tst-getopt_long1.
36422
36423 [BZ #10138]
36424 * scripts/config.guess: Update from autoconf-2.68.
36425 * scripts/config.sub: Likewise.
36426
36427 [BZ #10157]
36428 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36429 tests into ...
36430 (has_cpuclock): ...this. New function.
36431 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36432 macro here based on has_cpuclock code.
36433
36434 [BZ #10149]
36435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36436 First byte (not low byte) is now always NUL.
36437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36438
36439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36440 Use non-cancelable interfaces.
36441
36442 [BZ #9809]
36443 * locale/iso-639.def: Add entry for Sorani.
36444
36445 [BZ #11901]
36446 * include/stdlib.h: Move include protection to the right place.
36447 Define abort_msg_s. Declare __abort_msg with it.
36448 * stdlib/abort.c (__abort_msg): Adjust type.
36449 * assert/assert.c (__assert_fail_base): New function. Majority
36450 of code from __assert_fail. Allocate memory for __abort_msg with
36451 mmap.
36452 (__assert_fail): Now call __assert_fail_base.
36453 * assert/assert-perr.c: Remove bulk of implementation. Use
36454 __assert_fail_base.
36455 * include/assert.hL Declare __assert_fail_base.
36456 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36457 mmap.
36458 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36459
36460 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36461
36462 [BZ #11952]
36463 [BZ #12453]
36464 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36465 until all modules are registered in the DTV.
36466 * elf/Makefile: Add rules to build and run tst-tls19.
36467 * elf/tst-tls19.c: New file.
36468 * elf/tst-tls19mod1.c: New file.
36469 * elf/tst-tls19mod2.c: New file.
36470 * elf/tst-tls19mod3.c: New file.
36471 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36472
36473 [BZ #12083]
36474 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36475 correctly.
36476
36477 [BZ #12601]
36478 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36479 two-byte sequence errors.
36480 * iconvdata/Makefile (tests): Add bug-iconv8.
36481 * iconvdata/bug-iconv8.c: New file.
36482
36483 [BZ #12626]
36484 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36485 buf2 definition.
36486
36487 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36488
36489 [BZ #12432]
36490 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36491 (dummy_getcfa): New function.
36492 (init): Get _Unwind_GetCFA address, use dummy if not found.
36493 (backtrace_helper): In recursion check, also check whether CFA changes.
36494 (__backtrace): Completely initialize arg.
36495
36496 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36497 storing incomplete byte sequence in state object. Avoid testing for
36498 guaranteed too small input if we know there is enough data available.
36499
36500 2011-05-11 Andreas Schwab <schwab@redhat.com>
36501
36502 * Makeconfig (+link-pie): Indent.
36503 * Rules (binaries-pie): Define if $(have-fpie) and
36504 $(build-shared).
36505 (binaries-shared): Also filter out $(binaries-pie).
36506 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36507 * nscd/Makefile (others-pie): Add nscd.
36508 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36509 ($(objpfx)nscd): Remove command override.
36510 * login/Makefile (others-pie): Add pt_chown.
36511 ($(objpfx)pt_chown): Remove command override.
36512 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36513 remove command overrides.
36514
36515 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36516
36517 * libio/tst_putwc.c: Fix error messages.
36518
36519 [BZ #12724]
36520 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36521 currently writing and seek to current position when not.
36522 * libio/Makefile (tests): Add bug-fclose1.
36523 * libio/bug-fclose1.c: New file.
36524
36525 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36526
36527 [BZ #12511]
36528 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36529 don't set DF_1_NODELETE here.
36530 (do_lookup_x): When entering new entry test for copy relocation
36531 and if necessary set DF_1_NODELETE flag.
36532 * elf/tst-unique4.cc: New file.
36533 * elf/tst-unique4.h: New file.
36534 * elf/tst-unique4lib.cc: New file.
36535 * elf/Makefile: Add rules to build and run tst-unique4.
36536 Patch by Piotr Bury <pbury@goahead.com>.
36537
36538 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36539
36540 [BZ #12052]
36541 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36542
36543 [BZ #12625]
36544 * misc/mntent_r.c (addmntent): Flush the stream after the output
36545
36546 [BZ #12393]
36547 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36548 (is_trusted_path_normalize): Skip initial colon. Append slash
36549 to empty buffer. Duplicate is_trusted_path code but allow
36550 constructed patch to be prefix.
36551 (is_dst): Allow $ORIGIN followed by /.
36552 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36553 Correct testing of result of is_trusted_path_normalize
36554 (decompose_rpath): Fix warning.
36555
36556 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36557
36558 [BZ #11257]
36559 * grp/initgroups.c (internal_getgrouplist): When we found the service
36560 list through the initgroups entry in nsswitch.conf do not always
36561 continue on a successful lookup. Don't always use the
36562 __nss_group_database value if it is set.
36563 * nss/nsswitch.conf (initgroups): Change action for successful db
36564 lookup to continue for compatibility.
36565
36566 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36567
36568 [BZ #11532]
36569 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36570 and CP774 modules.
36571 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36572 and CP774 modules.
36573 * iconvdata/tst-tables.sh: Likewise.
36574 * iconvdata/cp770.c: New file.
36575 * iconvdata/cp771.c: New file.
36576 * iconvdata/cp772.c: New file.
36577 * iconvdata/cp773.c: New file.
36578 * iconvdata/cp774.c: New file.
36579 * iconvdata/testdata/CP770: New file.
36580 * iconvdata/testdata/CP770..UTF8: New file.
36581 * iconvdata/testdata/CP771: New file.
36582 * iconvdata/testdata/CP771..UTF8: New file.
36583 * iconvdata/testdata/CP772: New file.
36584 * iconvdata/testdata/CP772..UTF8: New file.
36585 * iconvdata/testdata/CP773: New file.
36586 * iconvdata/testdata/CP773..UTF8: New file.
36587 * iconvdata/testdata/CP774: New file.
36588 * iconvdata/testdata/CP774..UTF8: New file.
36589
36590 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36591 END CHARMAP line.
36592 * iconvdata/gen-8bit-gap.sh: Likewise.
36593 * iconvdata/gen-8bit.sh: Likewise.
36594
36595 * locale/iso-639.def: Add ary entry.
36596
36597 [BZ #11258]
36598 * locale/C-translit.h.in: Add U20A1 transliteration.
36599
36600 [BZ #12178]
36601 * locale/iso-639.def: Add wae entry.
36602 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36603
36604 [BZ #12545]
36605 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36606 for n.
36607
36608 [BZ #12711]
36609 * locale/C-translit.h.in: Add entry for U20B9.
36610 Patch by pravin.d.s@gmail.com.
36611
36612 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36613
36614 [BZ #12713]
36615 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36616 ENAMETOOLONG use generic getcwd.
36617 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36618 in rtld. Use *stat64.
36619 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36620 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36621 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36622 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36623 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36624 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36625 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36626 __fstatat64 macros.
36627 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36628 * dirent/rewinddir.c: Add libc_hidden_def.
36629 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36630 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36631
36632 * include/dirent.h (__alloc_dir): Add flags parameter.
36633 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36634 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36635 __alloc_dir.
36636 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36637 from fdopendir if O_CLOEXEC is already set.
36638
36639 2011-03-15 Alan Modra <amodra@gmail.com>
36640
36641 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36642 l_tls_firstbyte_offset non-zero. Save padding offset in
36643 l_tls_firstbyte_offset for later use.
36644 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36645 freeing static tls block.
36646
36647 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36648
36649 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36650 where #ifdef was intended. The intent is to prevent ARG_MAX from
36651 being defined by the kernel headers.
36652
36653 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36654
36655 [BZ #12734]
36656 * resolv/resolv.h: Define RES_NOTLDQUERY.
36657 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36658 no-tld-query and set RES_NOTLDQUERY.
36659 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36660 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36661 modern BIND to search name as TLD unless forbidden.
36662
36663 2011-05-07 Petr Baudis <pasky@suse.cz>
36664 Ulrich Drepper <drepper@gmail.com>
36665
36666 [BZ #12393]
36667 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36668 (is_trusted_path): ...to here.
36669 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36670 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36671 using is_trusted_path_normalize() in setuid scripts.
36672
36673 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36674
36675 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36676 __BEGIN/__END_DECLS.
36677
36678 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36679
36680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36681 NSS_STATUS_NOTFOUND if no record was found.
36682
36683 2011-05-05 Andreas Schwab <schwab@redhat.com>
36684
36685 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36686 (headers-not-in-tirpc): Remove rpc/netdb.h
36687 * resolv/netdb.h: Revert last change.
36688
36689 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36690
36691 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36692 circular dependency between libgcc.a and libc.a.
36693
36694 2011-05-05 Andreas Schwab <schwab@redhat.com>
36695
36696 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36697 * nis/Makefile: Don't install rpcsvc/*.
36698 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36699 instead of <rpc/types.h>.
36700 (MAXHOSTNAMELEN): Define.
36701
36702 2011-05-03 Andreas Schwab <schwab@redhat.com>
36703
36704 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36705
36706 2011-04-28 Maciej Babinski <mbabinski@google.com>
36707
36708 [BZ #12714]
36709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36710 gethostbyname4_r when IPv6 results are possible.
36711
36712 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36713
36714 [BZ #12723]
36715 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36716 _PC_PIPE_BUF handling.
36717
36718 2011-04-30 Bruno Haible <bruno@clisp.org>
36719
36720 [BZ #12717]
36721 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36722 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36723 to 'int'.
36724 * inet/getnameinfo.c (getnameinfo): Likewise.
36725
36726 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36727
36728 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36729 to groups setting in database lookup.
36730 * nss/nsswitch.conf: Add initgroups entry.
36731
36732 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36733
36734 [BZ #12685]
36735 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36736 mode string.
36737 Patch by Eric Blake <eblake@redhat.com>.
36738
36739 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36740
36741 * sunrpc/Makefile (need-export-routines): Add svc_run.
36742 (routines): Remove svc_run.
36743 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36744 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36745 * sunrpc/svc_run.c (svc_run): Likewise.
36746 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36747
36748 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36749
36750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36751 problem in reallocation in last patch.
36752
36753 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36754
36755 * sunrpc/Makefile: Move inclusion of Rules.
36756
36757 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36758
36759 * nss/nss_files/files-initgroups.c: New file.
36760 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36761 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36762 _nss_files_initgroups_dyn.
36763
36764 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36765
36766 * elf/elf.h (R_ARM_IRELATIVE): Define.
36767
36768 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36769
36770 * po/ru.po: Update from translation team.
36771
36772 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36773
36774 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36775 dependencies.
36776
36777 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36778
36779 [BZ #12653]
36780 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36781 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36782 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36785
36786 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36787
36788 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36789 differing bytes.
36790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36793
36794 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36795
36796 [BZ #12420]
36797 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36798 storing it.
36799 * stdlib/bug-getcontext.c: New file.
36800 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36801
36802 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36803
36804 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36805 instructions into .machine "z9-109".
36806 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36807 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36808
36809 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36810
36811 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36812 between environment variables and auxiliary vector.
36813
36814 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36815
36816 * Makefile: Add rules to build linkobj/libc.so.
36817 * include/libc-symbols.h: Define libc_hidden_nolink.
36818 * include/rpc/auth.h: Mark functions which are to be hidden.
36819 * include/rpc/auth_des.h: Likewise.
36820 * include/rpc/auth_unix.h: Likewise.
36821 * include/rpc/clnt.h: Likewise.
36822 * include/rpc/des_crypt.h: Likewise.
36823 * include/rpc/key_prot.h: Likewise.
36824 * include/rpc/pmap_clnt.h: Likewise.
36825 * include/rpc/pmap_prot.h: Likewise.
36826 * include/rpc/pmap_rmt.h: Likewise.
36827 * include/rpc/rpc_msg.h: Likewise.
36828 * include/rpc/svc.h: Likewise.
36829 * include/rpc/svc_auth.h: Likewise.
36830 * include/rpc/xdr.h: Likewise.
36831 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36832 * nss/Makefile: Likewise.
36833 * sunrpc/Makefile: Don't install headers. Build library with normal
36834 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36835 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36836 for the compat linking library. Remove use of INTDEF/INTUSE.
36837 * sunrpc/auth_none.c: Likewise.
36838 * sunrpc/auth_unix.c: Likewise.
36839 * sunrpc/authdes_prot.c: Likewise.
36840 * sunrpc/authuxprot.c: Likewise.
36841 * sunrpc/clnt_gen.c: Likewise.
36842 * sunrpc/clnt_perr.c: Likewise.
36843 * sunrpc/clnt_raw.c: Likewise.
36844 * sunrpc/clnt_simp.c: Likewise.
36845 * sunrpc/clnt_tcp.c: Likewise.
36846 * sunrpc/clnt_udp.c: Likewise.
36847 * sunrpc/clnt_unix.c: Likewise.
36848 * sunrpc/des_crypt.c: Likewise.
36849 * sunrpc/des_soft.c: Likewise.
36850 * sunrpc/get_myaddr.c: Likewise.
36851 * sunrpc/key_call.c: Likewise.
36852 * sunrpc/key_prot.c: Likewise.
36853 * sunrpc/netname.c: Likewise.
36854 * sunrpc/pm_getmaps.c: Likewise.
36855 * sunrpc/pm_getport.c: Likewise.
36856 * sunrpc/pmap_clnt.c: Likewise.
36857 * sunrpc/pmap_prot.c: Likewise.
36858 * sunrpc/pmap_prot2.c: Likewise.
36859 * sunrpc/pmap_rmt.c: Likewise.
36860 * sunrpc/publickey.c: Likewise.
36861 * sunrpc/rpc_cmsg.c: Likewise.
36862 * sunrpc/rpc_common.c: Likewise.
36863 * sunrpc/rpc_dtable.c: Likewise.
36864 * sunrpc/rpc_prot.c: Likewise.
36865 * sunrpc/rpc_thread.c: Likewise.
36866 * sunrpc/rtime.c: Likewise.
36867 * sunrpc/svc.c: Likewise.
36868 * sunrpc/svc_auth.c: Likewise.
36869 * sunrpc/svc_authux.c: Likewise.
36870 * sunrpc/svc_raw.c: Likewise.
36871 * sunrpc/svc_run.c: Likewise.
36872 * sunrpc/svc_simple.c: Likewise.
36873 * sunrpc/svc_tcp.c: Likewise.
36874 * sunrpc/svc_udp.c: Likewise.
36875 * sunrpc/svc_unix.c: Likewise.
36876 * sunrpc/svcauth_des.c: Likewise.
36877 * sunrpc/xcrypt.c: Likewise.
36878 * sunrpc/xdr.c: Likewise.
36879 * sunrpc/xdr_array.c: Likewise.
36880 * sunrpc/xdr_float.c: Likewise.
36881 * sunrpc/xdr_intXX_t.c: Likewise.
36882 * sunrpc/xdr_mem.c: Likewise.
36883 * sunrpc/xdr_rec.c: Likewise.
36884 * sunrpc/xdr_ref.c: Likewise.
36885 * sunrpc/xdr_sizeof.c: Likewise.
36886 * sunrpc/xdr_stdio.c: Likewise.
36887
36888 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36889
36890 [BZ #12650]
36891 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36892 * sysdeps/ia64/dl-tls.h: Likewise.
36893 * sysdeps/powerpc/dl-tls.h: Likewise.
36894 * sysdeps/s390/dl-tls.h: Likewise.
36895 * sysdeps/sh/dl-tls.h: Likewise.
36896 * sysdeps/sparc/dl-tls.h: Likewise.
36897 * sysdeps/x86_64/dl-tls.h: Likewise.
36898 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36899
36900 2011-03-14 Andreas Schwab <schwab@redhat.com>
36901
36902 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36903 rpath element also skip the following colon.
36904 (expand_dynamic_string_token): Add is_path parameter and pass
36905 down to DL_DST_REQUIRED and _dl_dst_substitute.
36906 (decompose_rpath): Call expand_dynamic_string_token with
36907 non-zero is_path. Ignore empty rpaths.
36908 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36909 with zero is_path.
36910
36911 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36912
36913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36914 Make cancelable.
36915
36916 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36917
36918 [BZ #12655]
36919 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36920 Patch by Filipe David Manana <fdmanana@apache.org>.
36921
36922 2011-04-07 Andreas Schwab <schwab@redhat.com>
36923
36924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36925 Maintain aligned stack.
36926 (CHECK_RSP): Remove unused macro.
36927
36928 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36929
36930 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36932
36933 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36934
36935 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36936
36937 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36938
36939 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36940
36941 [BZ #12518]
36942 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36943 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36944 * sysdeps/x86_64/memmove.c: New file.
36945 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36946 (memcpy): Renamed to ...
36947 (__new_memcpy): This.
36948 (memcpy): Provide GLIBC_2_14 memcpy.
36949 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36950 (memcpy): Provide GLIBC_2_2_5 memcpy.
36951
36952 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36953
36954 [BZ #12631]
36955 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36956
36957 2011-03-30 Andreas Schwab <schwab@redhat.com>
36958
36959 * misc/syncfs.c: New file.
36960 * misc/Makefile (routines): Add syncfs.
36961 * posix/unistd.h: Declare syncfs.
36962 * sysdeps/unix/syscalls.list: Add syncfs.
36963
36964 2011-04-01 Andreas Schwab <schwab@redhat.com>
36965
36966 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36967 open_by_handle_at.
36968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36969 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36971 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36973 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36975
36976 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36977
36978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36980 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36985
36986 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36987 sync_file_range.c with -fexceptions.
36988 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36989 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36990 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36991 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36992 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36993 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36995 sync_file_range as cancellation point
36996 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36997 now a wrapper around __call_sync_file_range with cancellation handling.
36998 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36999 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37000 function name to __call_sync_file_range.
37001 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37002 Add call_sync_file_range.
37003
37004 2011-04-01 Andreas Schwab <schwab@redhat.com>
37005
37006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37007 bits/timex.h.
37008
37009 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37010
37011 * iconv/iconv.h: Fix typo in comment.
37012 * io/fcntl.h: Likewise.
37013 * libio/stdio.h: Likewise.
37014 * posix/spawn.h: Likewise.
37015 * posix/unistd.h: Likewise.
37016 * stdlib/stdlib.h: Likewise.
37017 * time/time.h: Likewise.
37018 * wcsmbs/wchar.h: Likewise.
37019
37020 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37021 open_by_handle): Add.
37022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37023 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37024 Augment a few comments.
37025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37030 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37031 open_by_handle.
37032
37033 * io/fcntl.h (AT_EMPTY_PATH): Define.
37034
37035 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37036
37037 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37038 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37039 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37040 to...
37041 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37042 * Versions.def: Add GLIBC_2.14.
37043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37044 Export.
37045
37046 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37047
37048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37049 round counter.
37050 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37051
37052 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37053
37054 [BZ #12597]
37055 * string/test-strncmp.c (do_page_test): New function.
37056 (check2): Likewise.
37057 (test_main): Call check2.
37058 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37059
37060 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37061
37062 [BZ #12587]
37063 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37064 Handle cache information in CPU leaf 4.
37065 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37066
37067 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37068
37069 [BZ #12583]
37070 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37071 character representation.
37072 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37073
37074 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37075
37076 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37077 END(__isnan) to END(__isnanf) to match function entry point/label
37078 EALIGN(__isnanf,...).
37079
37080 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37081
37082 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37083
37084 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37085
37086 [BZ #12510]
37087 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37088 copy from the symbol referenced in the relocation to initialize the
37089 used variable.
37090 Patch by Piotr Bury <pbury@goahead.com>.
37091 * elf/Makefile: Add rules to build and tst-unique3.
37092 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37093 * elf/tst-unique3.cc: New file.
37094 * elf/tst-unique3.h: New file.
37095 * elf/tst-unique3lib.cc: New file.
37096 * elf/tst-unique3lib2.cc: New file.
37097
37098 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37099
37100 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37101
37102 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37103 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37104 to _start.
37105
37106 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37107
37108 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37109 to-be-loaded object along a path to loader is ld.so.
37110
37111 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37112 Ulrich Drepper <drepper@gmail.com>
37113
37114 * sysdeps/x86_64/memset.S: After aligning destination, code
37115 branches to different locations depending on the value of
37116 misalignment, when multiarch is enabled. Fix this.
37117
37118 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37119
37120 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37121 Set _x86_64_preferred_memory_instruction for AMD processsors.
37122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37123 Set bit_Prefer_SSE_for_memop for AMD processors.
37124
37125 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37126
37127 * libio/fmemopen.c (fmemopen): Optimize a bit.
37128
37129 2011-03-03 Andreas Schwab <schwab@redhat.com>
37130
37131 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37132
37133 2011-03-03 Roland McGrath <roland@redhat.com>
37134
37135 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37136
37137 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37138
37139 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37140 __bzero_ultra1 instead of __memset_ultra1.
37141
37142 2011-02-23 Andreas Schwab <schwab@redhat.com>
37143 Ulrich Drepper <drepper@gmail.com>
37144
37145 [BZ #12509]
37146 * include/link.h (struct link_map): Add l_orig_initfini.
37147 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37148 returning unsuccessfully.
37149 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37150 close of a file loaded at startup, restore the original l_initfini
37151 list.
37152 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37153 list, store the pointer.
37154 * elf/Makefile ($(objpfx)noload-mem): New rule.
37155 (noload-ENV): Define.
37156 (tests): Add $(objpfx)noload-mem.
37157 * elf/noload.c: Include <memcheck.h>.
37158 (main): Call mtrace. Close all opened handles.
37159
37160 2011-02-17 Andreas Schwab <schwab@redhat.com>
37161
37162 [BZ #12454]
37163 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37164 dependencies are missing.
37165
37166 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37167
37168 Fix __if_freereq crash: Unlike the generic version which uses free,
37169 Hurd needs munmap.
37170 * sysdeps/mach/hurd/ifreq.h: New file.
37171
37172 2011-01-27 Petr Baudis <pasky@suse.cz>
37173 Ulrich Drepper <drepper@gmail.com>
37174
37175 [BZ 12445]#
37176 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37177 to extend_alloca().
37178 * stdio-common/bug23.c: New file.
37179 * stdio-common/Makefile (tests): Add bug23.
37180
37181 2010-09-28 Andreas Schwab <schwab@redhat.com>
37182 Ulrich Drepper <drepper@gmail.com>
37183
37184 [BZ #12489]
37185 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37186 before performing relro protection. At old place add assertion
37187 to make sure nothing changed.
37188
37189 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37190 Glauber de Oliveira Costa <glommer@gmail.com>
37191
37192 * elf/elf.h: Add new ARM TLS relocs.
37193
37194 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37195
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37197 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37198 cast from r3.
37199 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37200 'tests' variable.
37201 * sysdeps/wordsize-64/tst-writev.c: New file.
37202
37203 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37204
37205 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37206 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37207 insns in _dl_start to prevent a TOC reference before relocs are
37208 resolved.
37209
37210 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37211
37212 [BZ #12469]
37213 * Makeconfig: Remove RANLIB definition.
37214 * Makerules: Don't use RANLIB.
37215 * aclocal.m4: Remove ranlib test.
37216 * configure.in: No need to check for ranlib.
37217 * elf/rtld-Rules: Don't use RANLIB.
37218
37219 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37220
37221 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37222 protection macro.
37223 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37224 inclusion protection macro.
37225
37226 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37227 SIGRTMIN and SIGRTMAX and print information in that case only when
37228 SIGRTMIN is defined.
37229
37230 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37231
37232 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37233 arginfo fn returning -1.
37234
37235 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37236 and thousands string is zero terminated.
37237
37238 2011-02-03 Andreas Schwab <schwab@redhat.com>
37239
37240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37241 sysdeps/unix/sysv/linux/bits/socket.h.
37242
37243 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37244
37245 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37246 (__CPU_COUNT): Remove old macros.
37247 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37248 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37249 (__CPU_ALLOC, __CPU_FREE): Add macros.
37250 (__sched_cpualloc, __sched_cpufree): Add declarations.
37251
37252 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37253
37254 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37255 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37256 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37257 (readdhstai): Return value of addhstaiX call.
37258 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37259 (addgrbyX): Return value returned by cache_addgr.
37260 (readdgrbyname): Return value returned by addgrbyX.
37261 (readdgrbygid): Likewise.
37262 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37263 (addpwbyX): Return value returned by cache_addpw.
37264 (readdpwbyname): Return value returned by addhstbyX.
37265 (readdpwbyuid): Likewise.
37266 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37267 (addservbyX): Return value returned by cache_addserv.
37268 (readdservbyname): Return value returned by addservbyX:
37269 (readdservbyport): Likewise.
37270 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37271 (addhstbyX): Return value returned by cache_addhst.
37272 (readdhstbyname): Return value returned by addhstbyX.
37273 (readdhstbyaddr): Likewise.
37274 (readdhstbynamev6): Likewise.
37275 (readdhstbyaddrv6): Likewise.
37276 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37277 (readdinitgroups): Return value returned by addinitgroupsX.
37278 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37279 (prune_cache): Keep track of timeout value of re-added entries.
37280 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37281 * nscd/nscd.h: Adjust prototypes of readd* functions.
37282
37283 2011-02-04 Roland McGrath <roland@redhat.com>
37284
37285 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37286 (nis_stats): Likewise.
37287 * nis/nis_modify.c (nis_modify): Likewise.
37288 * nis/nis_remove.c (nis_remove): Likewise.
37289 * nis/nis_add.c (nis_add): Likewise.
37290
37291 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37292
37293 * posix/fnmatch_loop.c: Add some consts.
37294
37295 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37296
37297 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37298
37299 [BZ #12460]
37300 * config.make.in (config-cflags-novzeroupper): Define.
37301 * configure.in: Substitute libc_cv_cc_novzeroupper.
37302 * elf/Makefile (AVX-CFLAGS): Define.
37303 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37304 (CFLAGS-tst-auditmod4a.c): Likewise.
37305 (CFLAGS-tst-auditmod4b.c): Likewise.
37306 (CFLAGS-tst-auditmod6b.c): Likewise.
37307 (CFLAGS-tst-auditmod6c.c): Likewise.
37308 (CFLAGS-tst-auditmod7b.c): Likewise.
37309 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37310
37311 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37312
37313 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37314 function to the callback.
37315 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37316
37317 2011-02-02 Andreas Schwab <schwab@redhat.com>
37318
37319 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37320 of errno.
37321
37322 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37323
37324 [BZ #11724]
37325 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37326 of constructors.
37327 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37328 of destructors.
37329 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37330
37331 [BZ #11724]
37332 * elf/Makefile: Add rules to build and run new test.
37333 * elf/tst-initorder.c: New file.
37334 * elf/tst-initorder.exp: New file.
37335 * elf/tst-initordera1.c: New file.
37336 * elf/tst-initordera2.c: New file.
37337 * elf/tst-initordera3.c: New file.
37338 * elf/tst-initordera4.c: New file.
37339 * elf/tst-initorderb1.c: New file.
37340 * elf/tst-initorderb2.c: New file.
37341 * elf/tst-order-a1.c: New file.
37342 * elf/tst-order-a2.c: New file.
37343 * elf/tst-order-a3.c: New file.
37344 * elf/tst-order-a4.c: New file.
37345 * elf/tst-order-b1.c: New file.
37346 * elf/tst-order-b2.c: New file.
37347 * elf/tst-order-main.c: New file.
37348 New test case by George Gensure <werkt0@gmail.com>.
37349
37350 2010-10-01 Andreas Schwab <schwab@redhat.com>
37351
37352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37353 decoding ACE if AI_CANONIDN.
37354
37355 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37356
37357 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37358
37359 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37360
37361 * version.h (RELEASE): Bump for 2.13 release.
37362 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37363
37364 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37365
37366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37367 MADV_NOHUGEPAGE.
37368 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37374
37375 * posix/getconf.c: Update copyright year.
37376 * catgets/gencat.c: Likewise.
37377 * csu/version.c: Likewise.
37378 * debug/catchsegv.sh: Likewise.
37379 * debug/xtrace.sh: Likewise.
37380 * elf/ldconfig.c: Likewise.
37381 * elf/ldd.bash.in: Likewise.
37382 * elf/sprof.c (print_version): Likewise.
37383 * iconv/iconv_prog.c: Likewise.
37384 * iconv/iconvconfig.c: Likewise.
37385 * locale/programs/locale.c: Likewise.
37386 * locale/programs/localedef.c: Likewise.
37387 * malloc/memusage.sh: Likewise.
37388 * malloc/mtrace.pl: Likewise.
37389 * nscd/nscd.c (print_version): Likewise.
37390 * nss/getent.c: Likewise.
37391
37392 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37393 PF_CAIF, and PF_ALG.
37394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37395
37396 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37397
37398 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37399 (modules-names): Use them.
37400 (ifunc-test-modules, ifunc-pie-tests): Define.
37401 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37402 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37403 (test-extras): Likewise.
37404 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37405 $(compile-command.c).
37406 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37407 (all-built-dso): Define.
37408 (check-textrel.out, check-execstack.out): Depend on it.
37409
37410 * configure.in: Don't override --enable-multi-arch.
37411
37412 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37413
37414 [BZ #6812]
37415 * nscd/hstcache.c (tryagain): Define.
37416 (cache_addhst): Return tryagain not notfound for temporary errors.
37417 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37418 failed.
37419
37420 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37421
37422 [BZ #10563]
37423 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37424 to make the syscall.
37425 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37426
37427 [BZ #12378]
37428 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37429 and fall back to matching as normal character if the string ends before
37430 the matching ']' is found. This is what POSIX requires.
37431 * posix/testfnm.c: Adjust test result.
37432 * posix/globtest.sh: Adjust test result. Add new test.
37433 * posix/tst-fnmatch.input: Likewise.
37434 * posix/tst-fnmatch2.c: Add new test.
37435
37436 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37437
37438 * elf/Makefile (check-execstack): Revert last change. Depend on
37439 check-execstack.h.
37440 (check-execstack.h): New target.
37441 (generated): Add check-execstack.h.
37442 * elf/check-execstack.c: Include "check-execstack.h".
37443 (main): Revert last change.
37444 (handle_file): Return zero if GNU_STACK is absent and
37445 DEFAULT_STACK_PERMS doesn't include PF_X.
37446
37447 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37448
37449 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37450 in child fails because the descriptor is already closed.
37451 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37452 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37454
37455 [BZ #12397]
37456 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37457 syscall.
37458
37459 [BZ #10484]
37460 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37461 temporary buffer used to handle multi lookups locally.
37462 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37463
37464 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37465
37466 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37467 loader is ld.so.
37468
37469 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37470
37471 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37472 alignment for SSE2.
37473
37474 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37475
37476 [BZ #12394]
37477 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37478 characters. When rounding increased number of integer digits recompute
37479 number of groups.
37480 * stdio-common/tst-grouping.c: New file.
37481 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37482
37483 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37484
37485 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37486 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37487
37488 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37489 void.
37490 * bits/select.h: Likewise.
37491
37492 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37493
37494 * po/ja.po: Update from translation team.
37495
37496 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37497
37498 [BZ #11155]
37499 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37500 implementation just like for lxstat, fxstatat, et al.
37501
37502 2010-12-27 Jim Meyering <meyering@redhat.com>
37503
37504 [BZ #12348]
37505 * posix/regexec.c (build_trtable): Return failure indication upon
37506 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37507
37508 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37509
37510 [BZ #12201]
37511 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37512 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37513 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37515
37516 [BZ #12207]
37517 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37518
37519 [BZ #12204]
37520 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37521 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37522
37523 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37524
37525 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37526 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37527 script has SORT_BY_INIT_PRIORITY.
37528 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37529 NO_CTORS_DTORS_SECTIONS is defined.
37530 * elf/soinit.c: Likewise.
37531 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37532 NO_CTORS_DTORS_SECTIONS is defined.
37533 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37534 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37535 * sysdeps/sh/init-first.c: Likewise.
37536 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37537
37538 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37539
37540 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37541 always use the slow path.
37542
37543 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37544
37545 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37546 similar rule which adds the sysdep directories to the header search in
37547 order to pick up the correct platform stackinfo.h.
37548 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37549 perform test if it is, otherwise return successfully without testing.
37550 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37551 DEFAULT_STACK_PERMS define in stackinfo.h.
37552 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37553 defined in stackinfo.h.
37554 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37555 DEFAULT_STACK_PERMS defined in stackinfo.h.
37556 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37557 * sysdeps/ia64/stackinfo.h: Likewise.
37558 * sysdeps/s390/stackinfo.h: Likewise.
37559 * sysdeps/sh/stackinfo.h: Likewise.
37560 * sysdeps/sparc/stackinfo.h: Likewise.
37561 * sysdeps/x86_64/stackinfo.h: Likewise.
37562 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37563 PF_X for powerpc64. Retain PF_X for powerpc32.
37564
37565 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37566
37567 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37568 accurately.
37569 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37570 GETDENTS_64BIT_ALIGNED.
37571
37572 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37573
37574 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37575
37576 2010-12-10 Andreas Schwab <schwab@redhat.com>
37577
37578 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37579 _GNU_SOURCE.
37580
37581 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37582 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37583 Remove __restrict.
37584 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37585 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37586
37587 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37588
37589 [BZ #11655]
37590 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37591 are initialized.
37592
37593 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37594
37595 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37596
37597 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37598
37599 * po/it.po: Update from translation team.
37600
37601 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37602
37603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37604 unused codes.
37605
37606 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37607
37608 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37609
37610 2010-11-24 Andreas Schwab <schwab@redhat.com>
37611
37612 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37613 specially.
37614 (gaih_getanswer_slice): Likewise.
37615
37616 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37617
37618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37619
37620 2010-05-31 Petr Baudis <pasky@suse.cz>
37621
37622 [BZ #11149]
37623 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37624 silently even in the chroot mode.
37625
37626 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37627
37628 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37629 last patch a bit. Pretty printing
37630
37631 2010-05-31 Petr Baudis <pasky@suse.cz>
37632
37633 [BZ #10085]
37634 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37635 initialization of skip_initgroups_dyn.
37636
37637 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37638
37639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37640 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37641
37642 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37643
37644 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37645
37646 2010-11-11 Andreas Schwab <schwab@redhat.com>
37647
37648 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37649 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37650 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37651 ($(objpfx)tst-fnmatch-mem): New rule.
37652 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37653 * posix/tst-fnmatch.c (main): Call mtrace.
37654
37655 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37656
37657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37658 Support Intel processor model 6 and model 0x2c.
37659
37660 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37661
37662 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37663 signed comparison.
37664
37665 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37666
37667 [BZ #12205]
37668 * string/test-strncasecmp.c (check_result): New function.
37669 (do_one_test): Use it.
37670 (check1): New function.
37671 (test_main): Use it.
37672 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37673 Support strcasecmp and strncasecmp.
37674
37675 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37676
37677 [BZ #12194]
37678 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37680
37681 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37682
37683 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37684 IFUNC support.
37685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37686 memset-x86-64.
37687 * sysdeps/x86_64/multiarch/bzero.S: New file.
37688 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37689 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37690 * sysdeps/x86_64/multiarch/memset.S: New file.
37691 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37693 Set bit_Prefer_SSE_for_memop for Intel processors.
37694 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37695 Define.
37696 (index_Prefer_SSE_for_memop): Define.
37697 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37698
37699 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37700
37701 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37702 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37703
37704 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37705
37706 [BZ #12191]
37707 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37708 (__x86_64_raw_data_cache_size_half): Likewise.
37709 (__x86_64_raw_shared_cache_size): Likewise.
37710 (__x86_64_raw_shared_cache_size_half): Likewise.
37711
37712 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37713 (__x86_64_raw_data_cache_size_half): Likewise.
37714 (__x86_64_raw_shared_cache_size): Likewise.
37715 (__x86_64_raw_shared_cache_size_half): Likewise.
37716 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37717 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37718 and __x86_64_raw_shared_cache_size_half. Round
37719 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37720 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37721 to multiple of 256 bytes.
37722
37723 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37724
37725 [BZ #12167]
37726 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37727 of inacessible symlinks. Verify result of symlink before returning it.
37728 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37729 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37730
37731 2010-10-28 Erich Ritz <erichritz@gmail.com>
37732
37733 * math/math.h (isinf): Fix typo in comment.
37734
37735 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37736
37737 * po/da.po: Update from translation team.
37738
37739 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37740
37741 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37742 is added to the list.
37743
37744 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37745 Ulrich Drepper <drepper@gmail.com>
37746
37747 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37748 the global list here. Move code to...
37749 (_dl_add_to_namespace_list): ...here. New function.
37750 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37751 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37752 * elf/dl-load.c (lose): Don't remove the element from the list.
37753 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37754 (_dl_map_object): Likewise.
37755
37756 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37757
37758 [BZ #12159]
37759 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37760 into all bytes of SSE register.
37761 Patch by Richard Li <richardpku@gmail.com>.
37762
37763 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37764
37765 [BZ #12140]
37766 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37767 perturbing.
37768
37769 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37770
37771 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37772 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37773 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37774 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37776 submachine.
37777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37778
37779 2010-10-22 Andreas Schwab <schwab@redhat.com>
37780
37781 * include/dlfcn.h (__RTLD_SECURE): Define.
37782 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37783 mode & __RTLD_SECURE instead.
37784 (open_path): Rename preloaded parameter to secure.
37785 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37786 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37787 * elf/dl-deps.c (openaux): Likewise.
37788 * elf/rtld.c (struct map_args): Remove is_preloaded.
37789 (map_doit): Don't use it.
37790 (dl_main): Likewise.
37791 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37792 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37793
37794 2010-09-09 Andreas Schwab <schwab@redhat.com>
37795
37796 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37797 (sysd-rules-targets): Remove duplicates.
37798 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37799 rtld-%.$o dependency.
37800
37801 2010-10-18 Andreas Schwab <schwab@redhat.com>
37802
37803 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37804 _dl_map_object do it.
37805
37806 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37807
37808 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37809 fast fma builtins, define the macros in the C99 standard.
37810 (FP_FAST_FMAF): Likewise.
37811 (FP_FAST_FMAL): Likewise.
37812 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37813
37814 * bits/mathdef.h: Update copyright year.
37815 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37816
37817 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37818
37819 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37820 builtins, define the macros in the C99 standard.
37821 (FP_FAST_FMAF): Likewise.
37822 (FP_FAST_FMAL): Likewise.
37823 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37824 multiply/add.
37825 (FP_FAST_FMAF): Likewise.
37826
37827 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37828
37829 [BZ #3268]
37830 * math/libm-test.inc (fma_test): Some new testcases.
37831 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37832 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37833 y and infinite z. Do multiplication by C already in long double.
37834 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37836 y and infinite z. Do bitwise or of inexact bit into u.d.
37837 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37838 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37839 * sysdeps/i386/fpu/s_fma.S: Removed.
37840 * sysdeps/i386/fpu/s_fmal.S: Removed.
37841
37842 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37843
37844 [BZ #3268]
37845 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37847 computation is not scheduled after fetestexcept. Fix value
37848 of minimum denormal long double.
37849
37850 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37851
37852 [BZ #3268]
37853 * math/libm-test.inc (fma_test): Add some more tests.
37854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37855 correctly.
37856
37857 2010-10-15 Andreas Schwab <schwab@redhat.com>
37858
37859 * scripts/data/localplt-s390-linux-gnu.data: New file.
37860 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37861
37862 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37863
37864 [BZ #3268]
37865 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37866 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37867 instead of dbl-64.
37868 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37869 inlines.
37870 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37872 if one of x and y is very large and the other is subnormal.
37873 * sysdeps/s390/fpu/s_fmaf.c: New file.
37874 * sysdeps/s390/fpu/s_fma.c: New file.
37875 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37876 * sysdeps/powerpc/fpu/s_fma.S: New file.
37877 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37878 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37879 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37880
37881 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37882
37883 [BZ #3268]
37884 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37885 fma tests.
37886 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37887 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37888 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37889 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37890 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37891 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37893
37894 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37895
37896 [BZ #12078]
37897 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37898 * posix/bug-regex31.input: Add test case.
37899
37900 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37901
37902 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37903 * posix/bug-regex31.input: New file.
37904
37905 [BZ #12078]
37906 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37907 (parse_sub_exp): Fix last change, use postorder.
37908
37909 * posix/bug-regex31.c: New file.
37910 * posix/Makefile: Add rules to build and run bug-regex31.
37911
37912 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37913
37914 [BZ #12078]
37915 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37916
37917 [BZ #12108]
37918 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37919 to have entries in sys_siglist.
37920
37921 [BZ #12093]
37922 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37923 be NULL.
37924
37925 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37926
37927 [BZ #3268]
37928 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37929 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37930 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37931 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37932 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37933 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37934 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37935 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37936 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37937 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37938 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37939 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37940 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37941 * math/ftestexcept.c (fetestexcept): Likewise.
37942 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37943 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37944 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37945 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37946 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37947 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37948 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37949
37950 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37951
37952 [BZ #12107]
37953 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37954 newline.
37955
37956 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37957
37958 * string/bug-strstr1.c: New file.
37959 * string/Makefile: Add rules to build and run bug-strstr1.
37960
37961 2010-10-05 Eric Blake <eblake@redhat.com>
37962
37963 [BZ #12092]
37964 * string/str-two-way.h (two_way_long_needle): Always clear memory
37965 when skipping input due to the shift table.
37966
37967 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37968
37969 [BZ #12005]
37970 * malloc/mcheck.c: Handle large requests.
37971
37972 [BZ #12077]
37973 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37974 for strncmp and strncasecmp.
37975 * string/stratcliff.c: Add tests for strcmp and strncmp.
37976 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37977
37978 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37979
37980 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37981 __set_fpscr.
37982
37983 2010-09-30 Andreas Jaeger <aj@suse.de>
37984
37985 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37986 (CGROUP_SUPER_MAGIC): Define.
37987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37988 Handle btrfs and cgroup file systems.
37989 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37990 Likewise.
37991
37992 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37993
37994 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37995 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37996
37997 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37998
37999 [BZ #12067]
38000 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38001 trying to locate the ELF header.
38002
38003 2010-09-27 Andreas Schwab <schwab@redhat.com>
38004
38005 [BZ #11611]
38006 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38007 Mask out sign-bit copies when constructing f_fsid.
38008
38009 2010-09-24 Petr Baudis <pasky@suse.cz>
38010
38011 * debug/stack_chk_fail_local.c: Add missing licence exception.
38012 * debug/warning-nop.c: Likewise.
38013
38014 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38015
38016 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38017 implementing getdents64 using getdents syscall, set d_type if
38018 __ASSUME_GETDENTS32_D_TYPE.
38019
38020 2010-09-16 Andreas Schwab <schwab@redhat.com>
38021
38022 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38023 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38024
38025 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38026
38027 [BZ #12037]
38028 * posix/unistd.h: Undo change of feature selection for ftruncate from
38029 2010-01-11.
38030
38031 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38032
38033 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38034 detection.
38035
38036 2010-09-20 Andreas Schwab <schwab@redhat.com>
38037
38038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38039 fanotify_mark.
38040 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38041
38042 2010-09-14 Andreas Schwab <schwab@redhat.com>
38043
38044 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38045 variables after CHECK_SP call.
38046 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38047
38048 2010-09-13 Andreas Schwab <schwab@redhat.com>
38049 Ulrich Drepper <drepper@redhat.com>
38050
38051 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38052 re-relocationg ld.so.
38053 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38054 _dl_init_paths call.
38055 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38056 here anymore.
38057
38058 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38059
38060 * resolv/res_init.c (__res_vinit): Count the default server we added.
38061
38062 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38063 Ulrich Drepper <drepper@redhat.com>
38064
38065 [BZ #11968]
38066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38067 (____longjmp_chk): Use %ebx for saving value across system call.
38068 Add unwind info.
38069
38070 2010-09-06 Andreas Schwab <schwab@redhat.com>
38071
38072 * manual/Makefile: Don't mix pattern rules with normal rules.
38073
38074 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38075
38076 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38077 operation.
38078 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38079 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38080 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38081 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38083 Likewise.
38084
38085 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38086
38087 [BZ #11979]
38088 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38089 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38090
38091 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38092
38093 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38094 * sysdeps/x86_64/addmul_1.S: Likewise.
38095 * sysdeps/x86_64/lshift.S: Likewise.
38096 * sysdeps/x86_64/mul_1.S: Likewise.
38097 * sysdeps/x86_64/rshift.S: Likewise.
38098 * sysdeps/x86_64/sub_n.S: Likewise.
38099 * sysdeps/x86_64/submul_1.S: Likewise.
38100
38101 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38102
38103 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38104 Define __sched_param instead of SCHED_* and sched_param when
38105 <bits/sched.h> is included with __need_schedparam defined.
38106 * bits/sched.h [__need_schedparam]
38107 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38108 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38109 (__defined_schedparam): Define to 1.
38110 (__sched_param): New structure, identical to sched_param.
38111 (__need_schedparam): Undefine.
38112
38113 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38114
38115 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38116 (epoll_create1): Declare.
38117
38118 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38119
38120 2010-08-31 Andreas Schwab <schwab@redhat.com>
38121
38122 [BZ #7066]
38123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38124 shifting retval into place.
38125
38126 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38127
38128 * nis/rpcsvc/nis.h: Update copyright notice.
38129 * nis/rpcsvc/nis.x: Likewise.
38130 * nis/rpcsvc/nis_callback.h: Likewise.
38131 * nis/rpcsvc/nis_callback.x: Likewise.
38132 * nis/rpcsvc/nis_object.x: Likewise.
38133 * nis/rpcsvc/nis_tags.h: Likewise.
38134 * nis/rpcsvc/yp.h: Likewise.
38135 * nis/rpcsvc/yp.x: Likewise.
38136 * nis/rpcsvc/ypupd.h: Likewise.
38137 * nis/yp_xdr.c: Likewise.
38138 * nis/ypupdate_xdr.c: Likewise.
38139
38140 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38141 mainly the body of pmap_getport. Add parameters to specify timeouts.
38142 (pmap_getport): Use __libc_rpc_getport.
38143 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38144 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38145 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38146
38147 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38148
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38150 fanotify_mark.
38151
38152 2010-08-27 Roland McGrath <roland@redhat.com>
38153
38154 * sysdeps/i386/i686/multiarch/Makefile
38155 (CFLAGS-varshift.c): New variable.
38156
38157 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38158
38159 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38160 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38161
38162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38163
38164 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38165
38166 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38167
38168 * sysdeps/x86_64/strlen.S: Unroll the loop.
38169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38170 strlen-sse2 strlen-sse2-bsf.
38171 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38172 __strlen_no_bsf if bit_Slow_BSF is set.
38173 (__strlen_sse42): Removed.
38174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38175 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38176
38177 2010-08-25 Roland McGrath <roland@redhat.com>
38178
38179 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38180 * sysdeps/x86_64/multiarch/varshift.c: New file.
38181 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38182 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38183 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38184 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38185
38186 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38187
38188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38189 strlen-sse2 strlen-sse2-bsf.
38190 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38191 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38192 (__strlen_sse2): Removed.
38193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38196 bit_Slow_BSF for Atom.
38197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38198 (index_Slow_BSF): Define.
38199 (HAS_SLOW_BSF): Define.
38200
38201 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38202
38203 [BZ #10851]
38204 * resolv/res_init.c (__res_vinit): When no server address at all
38205 is given default to loopback.
38206
38207 2010-08-24 Roland McGrath <roland@redhat.com>
38208
38209 * configure.in: Remove config-name.h generation.
38210 * configure: Regenerated.
38211 * config-name.in: File removed.
38212 * scripts/config-uname.sh: New file.
38213 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38214 ($(objdir)config-name.h): New target.
38215
38216 * sunrpc/rpc_parse.h: Avoid nested comment.
38217
38218 2010-08-24 Richard Henderson <rth@redhat.com>
38219 Ulrich Drepper <drepper@redhat.com>
38220 H.J. Lu <hongjiu.lu@intel.com>
38221
38222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38224 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38225 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38226 _mm_alignr_epi8 with _mm_loadu_si128.
38227 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38228 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38229 (__m128i_shift_right): Removed.
38230 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38231 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38232 * sysdeps/x86_64/multiarch/varshift.h: New file.
38233 * sysdeps/x86_64/multiarch/varshift.S: New file.
38234
38235 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38236
38237 * configure.in: Move assembler checks to before sysdep dir checking.
38238
38239 2010-08-20 Petr Baudis <pasky@suse.cz>
38240
38241 * LICENSES: Sync the sunrpc license.
38242
38243 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38244
38245 * sunrpc/auth_des.c: Update copyright notice once again.
38246 * sunrpc/auth_none.c: Likewise.
38247 * sunrpc/auth_unix.c: Likewise.
38248 * sunrpc/authdes_prot.c: Likewise.
38249 * sunrpc/authuxprot.c: Likewise.
38250 * sunrpc/bindrsvprt.c: Likewise.
38251 * sunrpc/clnt_gen.c: Likewise.
38252 * sunrpc/clnt_perr.c: Likewise.
38253 * sunrpc/clnt_raw.c: Likewise.
38254 * sunrpc/clnt_simp.c: Likewise.
38255 * sunrpc/clnt_tcp.c: Likewise.
38256 * sunrpc/clnt_udp.c: Likewise.
38257 * sunrpc/clnt_unix.c: Likewise.
38258 * sunrpc/des_crypt.c: Likewise.
38259 * sunrpc/des_soft.c: Likewise.
38260 * sunrpc/get_myaddr.c: Likewise.
38261 * sunrpc/getrpcport.c: Likewise.
38262 * sunrpc/key_call.c: Likewise.
38263 * sunrpc/key_prot.c: Likewise.
38264 * sunrpc/openchild.c: Likewise.
38265 * sunrpc/pm_getmaps.c: Likewise.
38266 * sunrpc/pm_getport.c: Likewise.
38267 * sunrpc/pmap_clnt.c: Likewise.
38268 * sunrpc/pmap_prot.c: Likewise.
38269 * sunrpc/pmap_prot2.c: Likewise.
38270 * sunrpc/pmap_rmt.c: Likewise.
38271 * sunrpc/rpc/auth.h: Likewise.
38272 * sunrpc/rpc/auth_unix.h: Likewise.
38273 * sunrpc/rpc/clnt.h: Likewise.
38274 * sunrpc/rpc/des_crypt.h: Likewise.
38275 * sunrpc/rpc/key_prot.h: Likewise.
38276 * sunrpc/rpc/netdb.h: Likewise.
38277 * sunrpc/rpc/pmap_clnt.h: Likewise.
38278 * sunrpc/rpc/pmap_prot.h: Likewise.
38279 * sunrpc/rpc/pmap_rmt.h: Likewise.
38280 * sunrpc/rpc/rpc.h: Likewise.
38281 * sunrpc/rpc/rpc_des.h: Likewise.
38282 * sunrpc/rpc/rpc_msg.h: Likewise.
38283 * sunrpc/rpc/svc.h: Likewise.
38284 * sunrpc/rpc/svc_auth.h: Likewise.
38285 * sunrpc/rpc/types.h: Likewise.
38286 * sunrpc/rpc/xdr.h: Likewise.
38287 * sunrpc/rpc_clntout.c: Likewise.
38288 * sunrpc/rpc_cmsg.c: Likewise.
38289 * sunrpc/rpc_common.c: Likewise.
38290 * sunrpc/rpc_cout.c: Likewise.
38291 * sunrpc/rpc_dtable.c: Likewise.
38292 * sunrpc/rpc_hout.c: Likewise.
38293 * sunrpc/rpc_main.c: Likewise.
38294 * sunrpc/rpc_parse.c: Likewise.
38295 * sunrpc/rpc_parse.h: Likewise.
38296 * sunrpc/rpc_prot.c: Likewise.
38297 * sunrpc/rpc_sample.c: Likewise.
38298 * sunrpc/rpc_scan.c: Likewise.
38299 * sunrpc/rpc_scan.h: Likewise.
38300 * sunrpc/rpc_svcout.c: Likewise.
38301 * sunrpc/rpc_tblout.c: Likewise.
38302 * sunrpc/rpc_util.c: Likewise.
38303 * sunrpc/rpc_util.h: Likewise.
38304 * sunrpc/rpcinfo.c: Likewise.
38305 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38306 * sunrpc/rpcsvc/key_prot.x: Likewise.
38307 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38308 * sunrpc/rpcsvc/mount.x: Likewise.
38309 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38310 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38311 * sunrpc/rpcsvc/rex.x: Likewise.
38312 * sunrpc/rpcsvc/rstat.x: Likewise.
38313 * sunrpc/rpcsvc/rusers.x: Likewise.
38314 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38315 * sunrpc/rpcsvc/spray.x: Likewise.
38316 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38317 * sunrpc/rtime.c: Likewise.
38318 * sunrpc/svc.c: Likewise.
38319 * sunrpc/svc_auth.c: Likewise.
38320 * sunrpc/svc_authux.c: Likewise.
38321 * sunrpc/svc_raw.c: Likewise.
38322 * sunrpc/svc_run.c: Likewise.
38323 * sunrpc/svc_simple.c: Likewise.
38324 * sunrpc/svc_tcp.c: Likewise.
38325 * sunrpc/svc_udp.c: Likewise.
38326 * sunrpc/svc_unix.c: Likewise.
38327 * sunrpc/svcauth_des.c: Likewise.
38328 * sunrpc/xcrypt.c: Likewise.
38329 * sunrpc/xdr.c: Likewise.
38330 * sunrpc/xdr_array.c: Likewise.
38331 * sunrpc/xdr_float.c: Likewise.
38332 * sunrpc/xdr_mem.c: Likewise.
38333 * sunrpc/xdr_rec.c: Likewise.
38334 * sunrpc/xdr_ref.c: Likewise.
38335 * sunrpc/xdr_sizeof.c: Likewise.
38336 * sunrpc/xdr_stdio.c: Likewise.
38337
38338 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38339 handling.
38340
38341 2010-08-19 Andreas Schwab <schwab@redhat.com>
38342
38343 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38344
38345 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38346
38347 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38349 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38350 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38351 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38352 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38353 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38354 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38356 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38357 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38358 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38359 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38360 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38361
38362 2010-07-26 Anton Blanchard <anton@samba.org>
38363
38364 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38365 * malloc/arena.c (heap_trim): Likewise.
38366
38367 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38368
38369 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38370 here. Not...
38371 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38372 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38373
38374 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38375
38376 * sysdeps/i386/elf/Makefile: New file.
38377
38378 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38379
38380 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38381 from fanotify_init.
38382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38384
38385 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38386
38387 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38388 of strncasecmp_l.
38389 * sysdeps/multiarch/strcmp.S: Likewise.
38390
38391 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38392
38393 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38394 strncase_l-nonascii.
38395 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38396 Add strncase_l-ssse3.
38397 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38398 * sysdeps/x86_64/strcmp.S: Likewise.
38399 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38400 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38401 * sysdeps/x86_64/strncase.S: New file.
38402 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38403 * sysdeps/x86_64/strncase_l.S: New file.
38404 * string/Makefile (strop-tests): Add strncasecmp.
38405 * string/test-strncasecmp.c: New file.
38406
38407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38408 warning.
38409
38410 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38411 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38412
38413 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38414
38415 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38416
38417 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38418
38419 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38420 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38422
38423 2010-05-01 Alan Modra <amodra@gmail.com>
38424
38425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38426 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38427 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38428 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38429 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38430 tidying. Don't tail-call __sigjmp_save for static lib.
38431 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38432 save location.
38433 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38434 (CALL_MCOUNT): Add eh info, and nop after bl.
38435 (TAIL_CALL_SYSCALL_ERROR): New macro.
38436 (PSEUDO_RET): Use it.
38437 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38438 Correct save location of integer regs and cr.
38439 (_dl_profile_resolve): Correct cr save location. Delete nops
38440 after bl when SHARED. Reduce cfi size a little by better
38441 placement of cfi directives.
38442 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38443 make a stack frame. Instead use parm save area as a temp.
38444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38445 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38447 Don't make a stack frame for parent, use parm save area.
38448 Increase child stack frame to 112 bytes. Don't save unused reg,
38449 and adjust reg usage. Set up cfi on error recovery and
38450 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38452 (__makecontext): Add dummy nop after jump to exit.
38453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38454 Use correct parm save area and cr save, reduce stack frame.
38455 Correct cfi for possible PSEUDO_RET frame setup.
38456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38457 Branch to local label emitted by PSEUDO_RET rather than
38458 __syscall_error.
38459
38460 2010-08-12 Andreas Schwab <schwab@redhat.com>
38461
38462 [BZ #11904]
38463 * locale/programs/locale.c (print_assignment): New function.
38464 (show_locale_vars): Use it.
38465
38466 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38467
38468 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38469 field.
38470 (struct statfs64): Likewise.
38471 (_STATFS_F_FLAGS): Define.
38472 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38474 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38475 (ST_VALID): Define locally.
38476 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38477 __statvfs_getflags, use the provided value.
38478 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38479 __ASSUME_STATFS_F_FLAGS.
38480
38481 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38482
38483 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38484 Add sys/fanotify.h.
38485 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38486 fanotify_mask for GLIBC_2.13.
38487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38488 fanotify_init and fanotify_mark.
38489 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38490 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38491
38492 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38493 Add prlimit.
38494 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38495 prlimit64 for GLIBC_2.13.
38496 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38497 prlimit64.
38498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38499 syscall.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38502 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38505 add prlimit alias.
38506 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38507
38508 [BZ #11903]
38509 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38510 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38511
38512 * nss/Makefile: Add rules to build and run tst-nss-test1.
38513 * shlib-versions: Add entry for libnss_test1.
38514 * nss/nss_test1.c: New file.
38515 * nss/tst-nss-test1.c: New file.
38516
38517 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38518 (__nss_configure_lookup): Set appropriate entry in
38519 __nss_configure_lookup to true.
38520 * nss/nsswitch.h: Define enum with indeces of databases in
38521 databases and __nss_database_custom arrays. Declare
38522 __nss_database_custom.
38523 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38524 to avoid using nscd when custom rules are installed.
38525 * nss/getXXbyYY_r.c: Likewise.
38526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38527
38528 * nss/nss_files/files-parse.c: Whitespace fixes.
38529
38530 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38531
38532 [BZ #11883]
38533 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38534 * posix/fnmatch_loop.c: Likewise.
38535
38536 2010-07-17 Andi Kleen <ak@linux.intel.com>
38537
38538 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38539 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38540 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38541 * Versions.def [GLIBC_2.13]: Add.
38542
38543 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38544
38545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38546 Also fail if tpwd after pwuid call is NULL.
38547
38548 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38549
38550 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38551 when converting to ms.
38552
38553 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38554
38555 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38556 EOPNOTSUPP errors with ENOTTY.
38557 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38558 EOPNOTSUPP errors with ENOTTY.
38559
38560 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38561
38562 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38563 Add strcasecmp_l-ssse3.
38564 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38565 strcasecmp.
38566 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38567 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38568 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38569
38570 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38571
38572 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38573
38574 * string/Makefile (strop-tests): Add strcasecmp.
38575 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38576 strcasecmp_l-nonascii.
38577 (gen-as-const-headers): Add locale-defines.sym.
38578 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38579 * sysdeps/x86_64/strcasecmp.S: New file.
38580 * sysdeps/x86_64/strcasecmp_l.S: New file.
38581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38582 * sysdeps/x86_64/locale-defines.sym: New file.
38583 * string/test-strcasecmp.c: New file.
38584
38585 * string/test-strcasestr.c: Test both ends of the range of characters.
38586 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38587
38588 2010-07-29 Roland McGrath <roland@redhat.com>
38589
38590 [BZ #11856]
38591 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38592
38593 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38594
38595 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38596 for ld.so.
38597
38598 2010-07-27 Andreas Schwab <schwab@redhat.com>
38599
38600 * manual/memory.texi (Malloc Tunable Parameters): Document
38601 M_PERTURB.
38602
38603 2010-07-26 Roland McGrath <roland@redhat.com>
38604
38605 [BZ #11840]
38606 * configure.in (-fgnu89-inline check): Set and substitute
38607 gnu89_inline, not libc_cv_gnu89_inline.
38608 * configure: Regenerated.
38609 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38610
38611 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38612
38613 * string/test-strnlen.c: New file.
38614 * string/Makefile (strop-tests): Add strnlen.
38615 * string/tester.c (test_strnlen): Add a few more test cases.
38616 * string/tst-strlen.c: Better error reporting.
38617
38618 * sysdeps/x86_64/strnlen.S: New file.
38619
38620 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38621
38622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38623 lower-latency instructions.
38624
38625 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38626
38627 * string/test-strcasestr.c: New file.
38628 * string/test-strstr.c: New file.
38629 * string/Makefile (strop-tests): Add strstr and strcasestr.
38630 * string/str-two-way.h: Don't undefine MAX.
38631 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38632
38633 2010-07-21 Andreas Schwab <schwab@redhat.com>
38634
38635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38636 strcasestr-nonascii.
38637 (CFLAGS-strcasestr-nonascii.c): Define.
38638 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38640 Remove unused attribute.
38641
38642 2010-07-20 Roland McGrath <roland@redhat.com>
38643
38644 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38645 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38646 ld.so.cache was broken. With it, there is no way to disable dsocaps
38647 like LD_HWCAP_MASK can disable hwcaps.
38648
38649 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38650
38651 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38652
38653 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38654
38655 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38656 call in strcasestr.
38657 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38658 __strcasestr_sse42_nonascii.
38659 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38660 strcasestr-nonascii.c.
38661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38662
38663 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38664
38665 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38669
38670 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38671
38672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38673 fcntl.
38674
38675 2010-07-06 Andreas Schwab <schwab@redhat.com>
38676
38677 [BZ #11577]
38678 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38679 dl_signal_cerror.
38680
38681 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38682
38683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38684 _PC_PIPE_BUF using F_GETPIPE_SZ.
38685
38686 2010-07-05 Roland McGrath <roland@redhat.com>
38687
38688 * manual/arith.texi (Rounding Functions): Fix rint description
38689 implicit in round description.
38690
38691 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38692
38693 * elf/Makefile: Fix linking for a few tests to make recent linker
38694 happy.
38695
38696 2010-06-30 Andreas Schwab <schwab@redhat.com>
38697
38698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38699 $(common-objpfx)libc_nonshared.a.
38700
38701 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38702
38703 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38704 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38705 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38706 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38707 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38708 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38709 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38710 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38725 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38726 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38727 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38728 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38729 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38730 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38731 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38732 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38733 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38734 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38735 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38736 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38751
38752 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38753
38754 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38755 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38756 * string/memmove.c (memmove): Renamed to ...
38757 (MEMMOVE): ...this. Default to memmove.
38758 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38759 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38760 (END_CHK): Define.
38761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38762 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38763 mempcpy-ssse3-back memmove-ssse3-back.
38764 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38767 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38768 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38769 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38770 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38771 * sysdeps/x86_64/multiarch/memmove.c: New file.
38772 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38773 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38774 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38775 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38776 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38778 Define.
38779 (index_Fast_Copy_Backward): Define.
38780 (HAS_ARCH_FEATURE): Define.
38781 (HAS_FAST_REP_STRING): Define.
38782 (HAS_FAST_COPY_BACKWARD): Define.
38783
38784 2010-06-21 Andreas Schwab <schwab@redhat.com>
38785
38786 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38787 Restore proper fallback handling.
38788
38789 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38790
38791 [BZ #11701]
38792 * posix/group_member.c (__group_member): Correct checking loop.
38793
38794 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38795 OOM in getpwuid_r correctly. Return error number when the caller
38796 should return, otherwise -1.
38797 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38798 call returning > 0 value.
38799 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38800
38801 2010-06-07 Andreas Schwab <schwab@redhat.com>
38802
38803 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38804 libc_nonshared.a from targets in modules-names.
38805
38806 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38807
38808 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38809 requires it.
38810
38811 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38812
38813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38817
38818 2010-06-02 Andreas Schwab <schwab@redhat.com>
38819
38820 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38821
38822 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38823
38824 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38825 and F_GETPIPE_SZ.
38826 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38830 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38831 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38832
38833 2010-06-14 Roland McGrath <roland@redhat.com>
38834
38835 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38836
38837 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38838
38839 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38840 __REDIRECT followed by __THROW.
38841 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38842 * posix/getopt.h (getopt): Likewise.
38843
38844 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38845
38846 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38847 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38848 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38849 in AT_FLAGS.
38850 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38851 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38852
38853 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38854
38855 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38856
38857 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38858
38859 [BZ #11640]
38860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38861 Properly check family and model.
38862
38863 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38864
38865 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38866
38867 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38868
38869 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38870
38871 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38872
38873 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38874 symbol reference.
38875
38876 2010-05-19 Andreas Schwab <schwab@redhat.com>
38877
38878 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38879 symbol reference.
38880
38881 2010-05-21 Andreas Schwab <schwab@redhat.com>
38882
38883 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38884 and internal_recvmmsg.
38885 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38886 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38887 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38888 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38889
38890 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38891 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38892 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38893
38894 2010-05-20 Andreas Schwab <schwab@redhat.com>
38895
38896 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38897
38898 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38899
38900 POWER7 optimizations.
38901 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38902 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38903
38904 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38905
38906 * version.h: Update for 2.13 development version.
38907
38908 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38909
38910 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38911 exceptions. Return 0.
38912
38913 2010-05-07 Roland McGrath <roland@redhat.com>
38914
38915 * elf/ldconfig.c (main): Add a const.
38916
38917 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38918
38919 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38920 (args_options): Add no-idn option.
38921 (ahosts_keys_int): Add idn_flags to ai_flags.
38922 (parse_option): Handle 'i' option to clear idn_flags.
38923
38924 * malloc/malloc.c (_int_free): Possible race in the most recently
38925 added check. Only act on the data if no current modification
38926 happened.
38927
38928 See ChangeLog.17 for earlier changes.