da92463565ce94781259d007b8d240861dc330fd
[platform/upstream/glibc.git] / ChangeLog
1 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
2
3         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4
5 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6
7         * math/libm-test.inc (cos_test): Use accurate hex constants.
8         (sincost_test): Likewise.
9
10 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11
12         * math/libm-test.inc (catan_test): Add more tests.
13         (catanh_test): Likewise.
14
15         * math/s_catanf.c (__catanf): Use suffixed floating-point
16         constants.
17         * math/s_catanhf.c (__catanhf): Likewise.
18         * math/s_catanhl.c (__catanhl): Likewise.
19         * math/s_catanl.c (__catanl): Likewise.
20
21         [BZ #15394]
22         * math/s_catan.c (__catan): Calculate imaginary part of result
23         with log1p not log unless computing log of number close to 0.
24         * math/s_catanf.c (__catanf): Likewise.
25         * math/s_catanl.c (__catanl): Likewise.
26         * math/s_catanh.c (__catanh): Calculate real part of result with
27         log1p not log unless computing log of number close to 0.
28         * math/s_catanhf.c (__catanhf): Likewise.
29         * math/s_catanhl.c (__catanhl): Likewise.
30         * math/libm-test.inc (catan_test): Add more tests.
31         (catanh_test): Likewise.
32         * sysdeps/i386/fpu/libm-test-ulps: Update.
33         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34
35 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36
37         * benchtests/Makefile: Mention files in which fast and slow
38         paths of math functions are implemented.
39
40 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41
42         * sysdeps/posix/timespec_get.c: New file.
43
44 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45
46         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47         POWER.
48         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49         for POWER.
50         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51         powerpc/power5/fpu folders.
52         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53         * benchtests/Makefile: Add modf testcase.
54         * benchtests/bench-modf.c: New file: Benchmark test for mo
55
56 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57
58         [BZ #14888]
59         * time/Makefile (tests): Add tst-strptime-whitespace.
60         * time/strptime_l.c (get_number): Use ISSPACE.
61         (__strptime_internal): Likewise.
62         * time/tst-strptime-whitespace.c: New test case.
63
64 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65
66         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67         member.
68         (_nss_files_init): Set it here.
69
70 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
71
72         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
73         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
74         unsigned.
75
76 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
77
78         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
79
80 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81
82         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
83         size just once.
84
85 2013-04-21  David S. Miller  <davem@davemloft.net>
86
87         * po/ru.po: Update Russion translation from translation project.
88
89 2013-04-17  Adam Conrad  <adconrad@0c3.net>
90
91         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
92         and setfsgid.
93
94 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
95
96         * configure.in: Remove i386 configure warning. Remove i386 case.
97         * configure: Regenerate.
98         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
99         Add example to error message.
100         * sysdeps/i386/configure: Regenerate.
101
102 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
103
104         * benchtests/Makefile (bench): Add cos, tan, slowcos and
105         slowtan.
106         * benchtests/cos-inputs: New file.
107         * benchtests/slowcos-inputs: New file.
108         * benchtests/slowcos.c: New file.
109         * benchtests/slowtan-inputs: New file.
110         * benchtests/slowtan.c: New file.
111         * benchtests/tan-inputs: New file.
112
113 2013-04-16  Roland McGrath  <roland@hack.frob.com>
114
115         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
116         considered kosher.
117
118 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
119
120         * benchtests/Makefile: Include cppflags-iterator.mk to add
121         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
122
123         * Makefile.in (bench-clean): New target.
124         * benchtests/Makefile (bench-clean): Likewise.
125
126 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
127
128         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
129
130 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
131
132         * stdio-common/tstdiomisc.c: Fix coding-style violation.
133
134 2013-04-15  Andreas Schwab  <schwab@suse.de>
135
136         * nscd/grpcache.c (cache_addgr): Properly check for short write.
137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
138         * nscd/pwdcache.c (cache_addpw): Likewise.
139         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
140         more than recsize.
141
142 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
143
144         * benchtests/Makefile (bench): Write all output to
145         bench-out.tmp together.
146
147 2013-04-15  Andreas Schwab  <schwab@suse.de>
148
149         * nscd/nscd.c (main): Don't fork again after closing files.
150
151 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
152
153         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
154
155         * benchtests/Rules (bench-deps): Collect dependencies into a
156         single variable.  Add Makefile to dependencies.
157         ($(objpfx)bench-%.c): Depend on bench-deps.
158
159 2013-04-12  Roland McGrath  <roland@hack.frob.com>
160             Xavier Roche  <roche+kml2@exalead.com>
161
162         [BZ #15361]
163         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
164         just that it's a file descriptor.
165         * manual/llio.texi (Synchronizing AIO Operations): Update description
166         for EBADF error from aio_fsync.
167
168 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
169
170         * Rules (bench): Move target definition...
171         * benchtests/Makefile: ... here.
172
173 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
174
175         * math/libm-test.inc (cos_test): Fix PI/2 test.
176         (sincos_test): Likewise.
177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
178         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
179
180 2013-04-11  Andreas Schwab  <schwab@suse.de>
181
182         [BZ #13988]
183         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
184         accept exponent character only when digits were seen.
185         * stdio-common/Makefile (tests): Add bug26.
186         * stdio-common/bug26.c: New file.
187
188         [BZ #14293]
189         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
190         non-freeable.
191
192 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
193
194         * Makeconfig (rtld-prefix): Define built linker prefix.
195         * Rules (run-bench): Use it.
196         * math/Makefile (run-regen-ulps): Likewise.
197
198         * Rules (bench): Remove eval.
199
200 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
201             Roland McGrath  <roland@hack.frob.com>
202             Ondrej Bilka  <neleai@seznam.cz>
203
204         [BZ #15346]
205         * time/getdate.c: Include ctype.h and alloca.h.
206         (__getdate_r): Trim leading and trailing spaces of input.
207         * time/tst-getdate.c (tests): Add tests with leading and
208         trailing spaces.
209
210 2013-04-08  Roland McGrath  <roland@hack.frob.com>
211
212         [BZ #14280]
213         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
214         when computing value.
215
216 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
217
218         * math/README.libm-test (How can I generate "libm-test-ulps"?):
219         Use testrun.sh to run libm tests.
220
221         [BZ #15309]
222         * elf/dl-open.c (dl_open_worker): memset all of seen array.
223
224 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
225
226         [BZ #15264]
227         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
228
229 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
230
231         * Makefile.in (regen-ulps): New target.
232         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
233         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
234         [ifneq (no,$(PERL)] (regen-ulps): New target.
235         [ifeq (no,$(PERL)] (regen-ulps): New target.
236         * math/libm-test.inc (ulps_file_name): Define.
237         (output_dir): New variable.
238         (options): Add "output-dir" option.
239         (parse_opt): Handle 'o' case.
240         (main): If output_dir is non-NULL use it as a prefix
241         otherwise use "".
242         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
243
244 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
245
246         [BZ #10060, #10062]
247         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
248         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
249         fail configure if __sync_val_compare_and_swap is not inlined.
250         * sysdeps/i386/configure: Regenerate.
251         * configure.in: Build for i686 when configured for i386.
252         * configure: Regenerate.
253         * README: Remove i386 reference.
254
255 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
256
257         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
258         * sysdeps/s390/s390-64/sysdep.h: Likewise.
259
260 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
261
262         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
263         (lmsnanval): New variables.
264         (F): Add conversion tests.
265         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
266         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
267
268         * stdio-common/tstdiomisc.c (F): Properly collect individual
269         tests' results.
270
271         [BZ #14686, #15336]
272         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
273         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
274         Instead, use input NaN values or generate a qNaN by arithmetic
275         operation.  Also fix bugs to comply with the standard.
276         * math/libm-test.inc (remainder_test): Add more tests.
277
278         [BZ #15335, #15342]
279         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
281         input NaN values or generate a qNaN by arithmetic operation.
282
283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
284         unreachable code.
285
286         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
287         definitions.
288
289 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
290
291         [BZ #14478]
292         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
293         underflowed result.
294         * math/s_cexpf.c (__cexpf): Likewise.
295         * math/s_cexpl.c (__cexpl): Likewise.
296         * math/libm-test.inc (cexp_test): Add more tests.
297
298 2013-04-03  Andreas Schwab  <schwab@suse.de>
299
300         [BZ #15330]
301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
302         order arrays from heap if bigger than alloca cutoff.
303
304 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
305
306         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
307         (SNAN_TESTS_double): Refer to GCC PR56831.
308         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
309         GCC PR56828.
310
311 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
312
313         * Rules (bench): Move bench.out after the run is complete.
314
315         * Rules (bench): Echo currently running benchmark.
316
317         * benchtests/Makefile (bench): Add atan and slowatan.
318         * benchtests/atan-inputs: New file.
319         * benchtests/slowatan-inputs: New file.
320         * benchtests/slowatan.c: New file.
321
322         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
324         its value.
325
326         [BZ #15305]
327         * sysdeps/unix/sysv/linux/kernel-features.h
328         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
329         __ASSUME_XFS_RESTRICTED_CHOWN.
330         * sysdeps/unix/sysv/linux/pathconf.c
331         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
332         Save and restore errno.
333
334 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
335
336         [BZ #15327]
337         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
338         arguments using __kernel_casinh.
339         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
340         arguments using __kernel_casinhf.
341         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
342         arguments using __kernel_casinhl.
343         * math/libm-test.inc (cacosh_test): Add more tests.
344         * sysdeps/i386/fpu/libm-test-ulps: Update.
345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346
347 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
348
349         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
351
352         * bench/Makefile (bench): Add sin and slowsin.
353         * benchtests/sin-inputs: New file.
354         * benchtests/slowsin-inputs: New file.
355         * benchtests/slowsin.c: New file.
356
357         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
358         (bench): Add slowexp and slowpow.
359         (exp-ITER): Increase iterations.
360         (pow-ITER): Likewise.
361         * benchtests/exp-inputs: Change input.
362         * benchtests/pow-inputs: Likewise.
363         * benchtests/slowexp-inputs: New file.
364         * benchtests/slowexp.c: New file.
365         * benchtests/slowpow-inputs: New file.
366         * benchtests/slowpow.c: New file.
367
368 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
369
370         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
371         instructions.
372         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
373         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
374         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
375         * benchtests/Makefile: Add rint benchtest.
376         * benchtests/rint-inputs: Input for rint benchtest.
377
378 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
379
380         * Versions.def (libm): Add GLIBC_2.18.
381         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
382         hidden libm prototypes.
383         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
384         * math/Makefile (libm-calls): Add s_issignaling.
385         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
386         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
387         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
388         declaration.
389         * math/math.h [__USE_GNU] (issignaling): New macro.
390         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
391         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
392         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
393         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
394         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
395         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
396         * manual/arith.texi (issignaling): New section.
397         * manual/libm-err-tab.pl (@all_functions): Update comment.
398         * math/gen-libm-test.pl (parse_args): Apply special handling for
399         issignaling.
400         * math/libm-test.inc (print_float, issignaling_test): New
401         functions.
402         (check_float_internal): Add issignaling checks.
403         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
404         default definition.
405         * sysdeps/powerpc/math-tests.h: New file.
406         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
407         tests.
408         * math/test-snan.c (TEST_FUNC): Likewise.
409
410 2013-03-30  David S. Miller  <davem@davemloft.net>
411
412         * po/de.po: Update from translation team.
413
414 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
415
416         [BZ #10357]
417         * math/k_casinh.c (__kernel_casinh): Handle arguments with
418         imaginary part less than 1.0 and real part less than 0.5
419         specially.
420         * math/k_casinhf.c (__kernel_casinhf): Likewise.
421         * math/k_casinhl.c (__kernel_casinhl): Likewise.
422         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
423         (cacos_test): Add more tests.
424         (casin_test): Likewise.
425         (casinh_test): Likewise.
426         * sysdeps/i386/fpu/libm-test-ulps: Update.
427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
428
429 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
430
431         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
432         ONE with its value.
433
434         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
435         (__pow_mp): Replace ONE and MONE with their values.
436         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
438         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
439         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
440         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
441         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
442
443         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
444
445         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
446         (__pow_mp): Replace ZERO and MZERO with their values.
447         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
449         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
451         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
452         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
453         (__sqr): Likewise.
454
455         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
456
457         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
458
459 2013-03-28  Roland McGrath  <roland@hack.frob.com>
460
461         * include/stdlib.h [!SHARED] (__call_tls_dtors):
462         Declare with __attribute__ ((weak)).
463         * stdlib/exit.c (__libc_atexit) [!SHARED]:
464         Call __call_tls_dtors only if it's not NULL.
465
466 2013-03-28  Roland McGrath  <roland@hack.frob.com>
467
468         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
469         didn't do it already, then set _dl_phdr and _dl_phnum based on the
470         magic __ehdr_start linker symbol if it's defined.
471         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
472         them up here if it was already done.
473
474         * elf/dl-support.c (_dl_phdr): Make pointer to const.
475         (_dl_aux_init): Use const in cast when setting it.
476         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
477         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
478         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
479
480         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
481         Declare them here.
482         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
483         * csu/libc-tls.c: Nor here.
484         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
485
486         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
487         (__libc_message): Never call vsyslog.
488
489 2013-03-28  Alan Modra  <amodra@gmail.com>
490
491         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
492         Define as empty.
493         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
494         Likewise.
495
496 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
497
498         [BZ #15214]
499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
500         underflow.
501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
502
503 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
504
505         [BZ #15304]
506         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
507         Don't add gid passed as argument.
508
509         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
510
511 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
512
513         [BZ #15307]
514         * math/k_casinh.c (__kernel_casinh): Handle arguments with
515         imaginary part between 1.0 and 1.5 and real part less than 0.5
516         specially.
517         * math/k_casinhf.c (__kernel_casinhf): Likewise.
518         * math/k_casinhl.c (__kernel_casinhl): Likewise.
519         * math/libm-test.inc (cacos_test): Add more tests.
520         (casin_test): Likewise.
521         (casinh_test): Likewise.
522         * sysdeps/i386/fpu/libm-test-ulps: Update.
523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
524
525 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
526
527         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
528         constants.
529         (norm): Likewise.
530         (denorm): Likewise.
531         (__dbl_mp): Likewise.
532         (add_magnitudes): Likewise.
533         (sub_magnitudes): Likewise.
534         (__add): Likewise.
535         (__sub): Likewise.
536         (__mul): Likewise.
537         (__sqr): Likewise.
538         (__inv): Likewise.
539         (__dvd): Likewise.
540
541         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
542         commented code.
543         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
544         (__dubcos): Likewise.
545         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
546         (__ieee754_acos): Likewise.
547         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
548         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
549         (__exp1): Likewise.
550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
552         (log1): Likewise.
553         (my_log2): Likewise.
554         (checkint): Likewise.
555         * sysdeps/ieee754/dbl-64/e_remainder.c
556         (__ieee754_remainder): Likewise.
557         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
558         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
559         (bsloww): Likewise.
560         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
561
562         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
564         MANTISSA_STORE_T to store computations on mantissa.  Use
565         macros for rounding and division.
566         (denorm): Likewise.
567         (__dbl_mp): Likewise.
568         (add_magnitudes): Likewise.
569         (sub_magnitudes): Likewise.
570         (__mul): Likewise.
571         (__sqr): Likewise.
572         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
573         powers of two in terms of TWOPOW macro.
574         (mp_no): Make type of mantissa as MANTISSA_T.
575         [!RADIXI]: Define RADIXI.
576         [!TWO52]: Define TWO52.
577         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
578
579 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
580
581         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
582         llroundl symbol when building for PPC32.
583
584 2013-03-24  Mark H Weaver  <mhw@netris.org>
585
586         * manual/arith.texi (Normalization Functions): Fix prototypes for
587         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
588
589 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
590
591         [BZ #13889]
592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
593         high value to check if expl overflow.
594         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
595         to check for underflow and overflow.
596         * math/libm-test.inc: Add exp test.
597
598 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
599
600         [BZ #11120]
601         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
602         with NOT_IN_libc.
603
604 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
605
606         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
607         symbol.
608
609 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
610
611         * math/gen-libm-test.pl (parse_args, special_functions): Properly
612         wrap blocks consisting of several statements.
613
614         * sysdeps/generic/math-tests.h: New file.
615         * sysdeps/i386/fpu/math-tests.h: Likewise.
616         * math/test-snan.c: Include it.
617         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
618
619 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
620
621         [BZ #15285]
622         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
623         (__ieee754_j0l): Do not improve calculations using cos of twice
624         input for inputs above LDBL_MAX / 2.0L.
625         (__ieee754_y0l): Likewise.
626         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
627         (__ieee754_j1l): Do not improve calculations using cos of twice
628         input for inputs above LDBL_MAX / 2.0L.
629         (__ieee754_y1l): Likewise.
630         * math/libm-test.inc (j0_test): Add another test.
631         (j1_test): Likewise.
632         (y0_test): Likewise.
633         (y1_test): Likewise.
634         * sysdeps/i386/fpu/libm-test-ulps: Update.
635
636 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
637
638         * Rules ($(objpfx)bench-%.c): Include code from a C source
639         file.
640
641 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
642
643         [BZ #15287]
644         * math/k_casinh.c (__kernel_casinh): Handle arguments with
645         imaginary part 1.0 and real part less than 0.5 specially.
646         * math/k_casinhf.c (__kernel_casinhf): Likewise.
647         * math/k_casinhl.c (__kernel_casinhl): Likewise.
648         * math/libm-test.inc (cacos_test): Add more tests.
649         (casin_test): Likewise.
650         (casinh_test): Likewise.
651         * sysdeps/i386/fpu/libm-test-ulps: Update.
652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
653
654 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
655
656         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
657         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
658
659 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
660
661         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
662         * config.make.in (config-cflags-sse4): Remove variable.
663         (config-cflags-avx): Likewise.
664         (config-cflags-sse2avx): Likewise.
665         (config-cflags-novzeroupper): Likewise.
666         (config-asflags-i686): Likewise.
667         (have-mfma4): Likewise.
668         (have-as-vis3): Likewise.
669         (MIG): Likewise.
670         * configure.in (MIG): Do not AC_SUBST.
671         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
672         (libc_cv_cc_sse4): Do not AC_SUBST.
673         (libc_cv_cc_avx): Likewise.
674         (libc_cv_cc_sse2avx): Likewise.
675         (libc_cv_cc_novzeroupper): Likewise.
676         (libc_cv_cc_fma4): Likewise.
677         (libc_cv_as_i686): Likewise.
678         (libc_cv_sparc_as_vis3): Likewise.
679         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
680         LIBC_CONFIG_VAR.
681         (config-asflags-i686): Likewise.
682         (config-cflags-avx): Likewise.
683         (config-cflags-sse2avx): Likewise.
684         (have-mfma4): Likewise.
685         (config-cflags-novzeroupper): Likewise.
686         * sysdeps/mach/configure.in (MIG): Likewise.
687         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
688         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
689         LIBC_CONFIG_VAR.
690         (config-cflags-avx): Likewise.
691         (config-cflags-sse2avx): Likewise.
692         (have-mfma4): Likewise.
693         (config-cflags-novzeroupper): Likewise.
694         * configure: Regenerated.
695         * sysdeps/i386/configure: Likewise.
696         * sysdeps/mach/configure: Likewise.
697         * sysdeps/sparc/configure: Likewise.
698         * sysdeps/x86_64/configure: Likewise.
699
700 2013-03-20  Roland McGrath  <roland@hack.frob.com>
701
702         [BZ #14812]
703         * locale/programs/localedef.c (options): Put N_ translation marker
704         on argument names, not just descriptions.
705
706 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
707
708         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
709
710 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
711
712         [BZ #14176]
713         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
714
715 2013-03-19  Roland McGrath  <roland@hack.frob.com>
716
717         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
718         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
719         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
720         [!BEFORE_ABORT] (before_abort): New function.
721         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
722         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
723         (writev_for_fatal): New function.
724         (WRITEV_FOR_FATAL): New macro; call that.
725         (backtrace_and_maps): New function.
726         (BEFORE_ABORT): New macro; call that.
727         (struct str_list): Type removed.
728         (__libc_message, __libc_fatal): Functions removed.
729         Include <sysdeps/posix/libc_fatal.c> instead.
730
731 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
732
733         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
734         constants.
735         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
736         double constants.
737
738 2013-03-19  Andreas Schwab  <schwab@suse.de>
739
740         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
741         * sysdeps/gnu/configure: Regenerate.
742
743         * configure.in: Substitute libc_cv_rtlddir.
744         * configure: Regenerate.
745         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
746         * Makeconfig (rtlddir, inst_rtlddir): New variables.
747         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
748         * elf/Makefile (install-others, CFLAGS-interp.c)
749         (ldso_install, common-ldd-rewrite): Likewise.
750         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
751         $(inst_slibdir)/$(rtld-installed-name).
752         * scripts/rellns-sh: Add -p option.
753         * Makerules (make-shlib-link): Use rellns-sh to get relative name
754         for source.
755
756 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
757
758         * manual/nptl.texi: Renamed to ...
759         * manual/threads.texi: ... this.
760         * manual/Makefile (chapters): Update.
761
762 2013-03-18  Roland McGrath  <roland@hack.frob.com>
763
764         [BZ #14812]
765         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
766         on argument names, not just descriptions.
767         * malloc/memusagestat.c (options): Likewise.
768         * nss/getent.c (options): Likewise.
769
770 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
771
772         [BZ #14812]
773         * iconv/iconv_prog.c (options): Put N_ translation marker
774         on argument names, not just descriptions.
775         * iconv/iconvconfig.c (options): Likewise.
776
777 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
778
779         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
780         implementation which is faster on all x86_64 architectures.
781         Tested on AMD, Intel Nehalem, SNB, IVB.
782         * sysdeps/x86_64/strnlen.S: Likewise.
783
784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
785         Remove all multiarch strlen and strnlen versions.
786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
787         Remove strlen and strnlen related parts.
788
789         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
790         Inline strlen part.
791         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
792
793         * sysdeps/x86_64/multiarch/strlen.S: Remove.
794         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
795         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
796         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
797         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
798         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
799
800 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
801
802         * manual/memory.texi (Malloc Tunable Parameters):
803         Sort parameters alphabetically. Add comments for missing entries.
804
805 2013-03-17  David S. Miller  <davem@davemloft.net>
806
807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
808
809 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
810
811         [BZ #15283]
812         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
813         for arguments at most half maximum finite value.
814         * math/libm-test.inc (j0_test): Add more tests.
815         (j1_test): Likewise.
816         (y0_test): Likewise.
817         (y1_test): Likewise.
818         * sysdeps/i386/fpu/libm-test-ulps: Update.
819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
820
821         [BZ #14155]
822         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
823         1 / x and functions P and Q for arguments above 0x1p256L.
824         (__ieee754_y0l): Likewise.
825         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
826         (__ieee754_y1l): Likewise.
827         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
828         (j1_test): Likewise.
829         (y0_test): Likewise.
830         (y1_test): Likewise.
831
832 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
833
834         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
835         variable.
836
837 2013-03-15  Roland McGrath  <roland@hack.frob.com>
838
839         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
840         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
841         zero since it's initialized to EXEC_PAGESIZE.
842
843         * sysdeps/unix/sysv/linux/ldsodefs.h
844         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
845         * sysdeps/generic/ldsodefs.h: ... here.
846
847 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
848
849         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
850
851         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
852         math/test-snan.c.
853         * math/test-snan.c: Renamed from
854         sysdeps/powerpc/fpu/test-powerpc-snan.c.
855         * math/Makefile (tests): Add test-snan.
856         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
857         test-powerpc-snan.
858
859         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
860         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
861         functions.
862         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
863         __builtin_nan family of functions.
864         * math/libm-test.inc (initialize): Initialize qnan_value with
865         __builtin_nan family of functions.
866         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
867         Remove variables.
868         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
869         Remove functions.
870         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
871         storage class.  Initialize qNaN_var and sNaN_var with
872         __builtin_nan and __builtin_nans families of functions,
873         respectively.
874
875         * math/libm-test.inc (acosh_test): Also test with qNaN input.
876         (sqrt_test): Remove duplicate test with qNaN input.
877         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
878         (round_test, signbit_test, significand_test): Note missing +/-Inf
879         as well as qNaN tests.
880
881         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
882         qNaN_var.  Fix a few strings, too.
883         * math/libm-test.inc (nan_value): Rename to qnan_value.
884         * math/gen-libm-test.pl (%beautify): Adjust to that.
885         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
886         * math/test-misc.c (main): Likewise.
887         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
888         to __qnan_bytes, and __qnan_union, respectively.
889         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
890         Likewise.
891         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
892         and lqnanval, respectively.
893         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
894         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
895         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
896         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
897
898         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
899         * math/test-misc.c (main) [__x86_64__]: Enable test for long
900         doubles.
901
902         * math/test-misc.c (main): Fix copy'n'pastos.
903         * misc/tst-efgcvt.c (special): Likewise.
904
905         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
906         Remove declarations.
907
908 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
909
910         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
911         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
912         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
913         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
914
915 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
916
917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
918         macro to return vdso values correctly in IFUNC implementations.
919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
920         Optimization by using IFUNC.
921
922 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
923             Richard Henderson  <rth@redhat.com>
924             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
925
926         * Makefile.in (bench): New target.
927         * NEWS: Mention the benchmark framework.
928         * Rules (bench): Likewise.
929         (binaries-bench): Generate binaries for functions to
930         benchmark.
931         * benchtests/Makefile: New makefile for benchmark tests.
932         * benchtests/bench-skeleton.c: New skeleton file for benchmark
933         programs.
934         * benchtests/exp-inputs: New input file for EXP function.
935         * benchtests/pow-inputs: New input file for POW function.
936         * scripts/bench.pl: New script to generate source files for
937         benchmark programs.
938
939 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
940
941         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
942         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
943         computations on mantissa.  Use macros for rounding and
944         division.
945         (denorm): Likewise.
946         (__dbl_mp): Likewise.
947         (add_magnitudes): Likewise.
948         (sub_magnitudes): Likewise.
949         (__mul): Likewise.
950         (__sqr): Likewise.
951         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
952         powers of two in terms of TWOPOW macro.
953         (mp_no): Make type of mantissa as MANTISSA_T.
954         [!RADIXI]: Define RADIXI.
955         [!TWO52]: Define TWO52.
956         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
957
958         * manual/nptl.texi (cindex): Modify threads to pthreads.
959
960 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
961
962         * sysdeps/x86_64/preconfigure: Regenerated.
963
964 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
965
966         [BZ #14155]
967         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
968         0x1p28 and above.
969         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
970         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
971         0x1p28 and above.
972         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
973         * math/libm-test.inc (j0_test): Do not allow one spurious
974         underflow exception.
975         (y1_test): Likewise.
976
977 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
978
979         * manual/Makefile (chapters): Add nptl.
980         * manual/debug.texi (Debugging Support): Add link to Threads
981         chapter.
982         * manual/nptl.texi: New file.
983
984         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
985
986 2013-03-14  Petr Baudis  <pasky@ucw.cz>
987
988         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
989         for non-NULL pointer before the memory validity test. Pointed
990         out by Holger Brunck <holger.brunck@keymile.com>.
991
992 2013-03-13  Andreas Schwab  <schwab@suse.de>
993
994         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
995         instead of .os.
996
997 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
998
999         * timezone/zic.c: Update from tzcode 2013b.
1000
1001 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1002
1003         * manual/install.texi (Configuring and compiling):
1004         Mention i686 and i586.
1005         * INSTALL: Regenerate.
1006
1007 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1008
1009         * sysdeps/init_array/elf-init.c: New file.
1010         * csu/elf-init.c
1011         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1012         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1013
1014         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1015         __gmon_start__ as global, but as static with a .preinit_array pointer.
1016         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1017         * sysdeps/init_array/crti.S: New file, empty except for comments.
1018         * sysdeps/init_array/crtn.S: Likewise.
1019
1020 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1021
1022         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1023         definining bcopy.
1024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1025         Remove Prefer_SSE_for_memop.
1026         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1027         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1028         HAS_PREFER_SSE_FOR_MEMOP.
1029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1030         memset-x86-64.
1031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1032         Remove bzero, memset ifunc support.
1033         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1034         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1035         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1036         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1037
1038 2013-03-11  Andreas Schwab  <schwab@suse.de>
1039
1040         [BZ #15234]
1041         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1042         by SHLIB_COMPAT.
1043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1044         (GLIBC_2.16): Remove pthread_atfork.
1045
1046 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1047
1048         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1049         (ptestcases.h): Likewise.
1050
1051 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1052
1053         * Makeconfig ($(common-objpfx)config.status): Depend on
1054         sysdeps/*/preconfigure{,.in} too.
1055
1056 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1057
1058         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1059         (__free_hook): Use void * instead of __malloc_ptr_t.
1060         (__malloc_hook): Likewise.
1061         (__realloc_hook): Likewise.
1062         (__memalign_hook): Likewise.
1063         (__after_morecore_hook): Likewise.
1064         * malloc/arena.c (save_malloc_hook): Likewise.
1065         (save_free_hook): Likewise.
1066         * malloc/hooks.c (malloc_hook_ini): Likewise.
1067         (realloc_hook_ini): Likewise.
1068         (memalign_hook_ini): Likewise.
1069         * malloc/malloc.c (malloc_hook_ini): Likewise.
1070         (realloc_hook_ini): Likewise.
1071         (memalign_hook_ini): Likewise.
1072         (__free_hook): Likewise.
1073         (__malloc_hook): Likewise.
1074         (__realloc_hook): Likewise.
1075         (__memalign_hook): Likewise.
1076         (__libc_malloc): Likewise.
1077         (__libc_free): Likewise.
1078         (__libc_realloc): Likewise.
1079         (__libc_memalign): Likewise.
1080         (__libc_valloc): Likewise.
1081         (__libc_pvalloc): Likewise.
1082         (__libc_calloc): Likewise.
1083         (__posix_memalign): Likewise.
1084         * malloc/morecore.c (__sbrk): Likewise.
1085         (__default_morecore): Likewise.
1086
1087         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1088
1089         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1090         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1091         __malloc_ptrdiff_t.
1092
1093         * malloc/malloc.h (__malloc_size_t): Remove macro.
1094         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1095         __malloc_size_t.
1096         (old_memalign_hook): Likewise.
1097         (old_realloc_hook): Likewise.
1098         (struct hdr): Likewise.
1099         (flood): Likewise.
1100         (mallochook): Likewise.
1101         (memalignhook): Likewise.
1102         (reallochook): Likewise.
1103         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1104         (tr_old_realloc_hook): Likewise.
1105         (tr_old_memalign_hook): Likewise.
1106         (tr_mallochook): Likewise.
1107         (tr_reallochook): Likewise.
1108         (tr_memalignhook): Likewise.
1109
1110 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1111
1112         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1113         default_ldbl_pack and using as default implementation.
1114         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1115         implementation.
1116         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1117         redundant definition.
1118         (ldbl_insert_mantissa): Likewise.
1119         (ldbl_canonicalize): Likewise.
1120         (ldbl_nearbyint): Likewise.
1121         (ldbl_pack): Rename to ldbl_pack_ppc.
1122         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1123         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1124         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1125
1126 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1127
1128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1129         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1130         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1131         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1133         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1134         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1135         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1136
1137 2013-03-07  Andreas Jaeger  <aj@suse.de>
1138
1139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1140         bits/mman-linux.h.
1141
1142 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1143
1144         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1145         Include mpa.h and declare __MPEXP.
1146         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1147         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1148         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1149         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1150         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1151         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1152         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1153
1154         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1155         (__slowpow): Use long double EXPL and LOGL functions to
1156         compute POW.
1157         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1158         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1159         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1160         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1161         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1162         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1163
1164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1165         intermediate variable to calculate exponent.
1166         (__sqr): Likewise.
1167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1168         Likewise.
1169         (__sqr): Likewise.
1170
1171         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1172         [!NO__SQR]: Define __sqr.
1173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1174         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1175         sysdeps/ieee754/dbl-64/mpa.c.
1176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1177
1178         [BZ #12723]
1179         * posix/Makefile (tests): Add tst-pathconf.
1180         * posix/tst-pathconf.c: New test case.
1181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1182         _PC_PIPE_BUF.
1183         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1184
1185 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1186
1187         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1188
1189 2013-03-06  Andreas Jaeger  <aj@suse.de>
1190
1191         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1192         definition via __MAP_ANONYMOUS.
1193
1194         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1195         it's not part of Linux headers.
1196
1197         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1198         (MAP_HUGE_MASK): Define.
1199
1200         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1201         Define.
1202         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1203         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1204         Define.
1205         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1206         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1207         Define.
1208         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1209         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1210         Define.
1211         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1212
1213         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1214         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1215         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1216         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1217         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1218         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1219
1220         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1221         Handle f2fs.
1222
1223         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1224         Handle f2fs and efivarfs.
1225
1226         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1227         f2fs.
1228
1229         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1230         (EFIVARFS_MAGIC): Add.
1231         (F2FS_LINK_MAX): Add.
1232
1233 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1234
1235         * stdio-common/vfprintf.c: Replace __builtin_expect with
1236         __glibc_unlikely.
1237
1238 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1239
1240         [BZ #13550]
1241         * sysdeps/generic/bp-sym.h: Remove file.
1242         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1243         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1244         <bp-sym.h> and <bp-asm.h>.
1245         (__longjmp): Don't use BP_SYM.
1246         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1247         and <bp-asm.h>.
1248         (memcpy): Don't use BP_SYM.
1249         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1250         <bp-sym.h> and <bp-asm.h>.
1251         (memcpy): Don't use BP_SYM.
1252         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1253         <bp-asm.h>.
1254         (memcpy): Don't use BP_SYM.
1255         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1256         <bp-asm.h>.
1257         (memset): Don't use BP_SYM.
1258         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1259         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1260         (__bzero): Don't use BP_SYM.
1261         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1262         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1263         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1264         <bp-sym.h> and <bp-asm.h>.
1265         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1266         pointers.
1267         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1268         <bp-sym.h> and <bp-asm.h>.
1269         (memcpy): Don't use BP_SYM.
1270         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1271         <bp-sym.h> and <bp-asm.h>.
1272         (memset): Don't use BP_SYM.
1273         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1274         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1275         (__bzero): Don't use BP_SYM.
1276         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1277         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1278         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1279         <bp-sym.h> and <bp-asm.h>.
1280         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1281         pointers.
1282         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1283         <bp-sym.h> and <bp-asm.h>.
1284         (memcpy): Don't use BP_SYM.
1285         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1286         <bp-sym.h> and <bp-asm.h>.
1287         (memset): Don't use BP_SYM.
1288         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1289         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1290         (__bzero): Don't use BP_SYM.
1291         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1292         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1293         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1294         <bp-sym.h> and <bp-asm.h>.
1295         (__memchr): Don't use BP_SYM.
1296         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1297         <bp-sym.h> and <bp-asm.h>.
1298         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1299         pointers.
1300         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1301         <bp-sym.h> and <bp-asm.h>.
1302         (memcpy): Don't use BP_SYM.
1303         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1304         <bp-sym.h> and <bp-asm.h>.
1305         (__mempcpy): Don't use BP_SYM.
1306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1307         <bp-sym.h> and <bp-asm.h>.
1308         (__memrchr): Don't use BP_SYM.
1309         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1310         <bp-sym.h> and <bp-asm.h>.
1311         (memset): Don't use BP_SYM.
1312         (__bzero): Likewise.
1313         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1314         <bp-sym.h> and <bp-asm.h>.
1315         (__rawmemchr): Don't use BP_SYM.
1316         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1317         <bp-sym.h> and <bp-asm.h>.
1318         (__STRCMP): Don't use BP_SYM.
1319         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1320         <bp-sym.h> and <bp-asm.h>.
1321         (strchr): Don't use BP_SYM.
1322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1323         <bp-sym.h> and <bp-asm.h>.
1324         (__strchrnul): Don't use BP_SYM.
1325         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1326         <bp-sym.h> and <bp-asm.h>.
1327         (strlen): Don't use BP_SYM.
1328         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1329         <bp-sym.h> and <bp-asm.h>.
1330         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1331         pointers.
1332         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1333         <bp-sym.h> and <bp-asm.h>.
1334         (__strnlen): Don't use BP_SYM.
1335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1336         <bp-sym.h> and <bp-asm.h>.
1337         (__GI__setjmp): Don't use BP_SYM.
1338         (_setjmp): Likewise.
1339         (__sigsetjmp): Likewise.
1340         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1341         (L(start_addresses)): Don't use BP_SYM.
1342         (_start): Likewise.
1343         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1344         <bp-asm.h>.
1345         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1346         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1347         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1348         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1349         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1350         <bp-asm.h>.
1351         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1352         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1353         about bounded pointers.
1354         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1355         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1356         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1357         <bp-asm.h>.
1358         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1359         about bounded pointers.  Remove GKM FIXME comments.
1360         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1361         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1362         <bp-asm.h>.
1363         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1364         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1365         Remove GKM FIXME comments.
1366         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1367         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1368         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1369         <bp-asm.h>.
1370         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1371         about bounded pointers.  Remove GKM FIXME comment.
1372         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1373         and <bp-asm.h>.
1374         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1375         pointers.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1377         <bp-sym.h> and <bp-asm.h>.
1378         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1380         <bp-sym.h> and <bp-asm.h>.
1381         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1382         comment.
1383
1384 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1385
1386         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1387         call free(NULL).
1388
1389 2013-03-05  David S. Miller  <davem@davemloft.net>
1390
1391         * po/es.po: Update from translation team.
1392
1393 2013-03-05  Andreas Jaeger  <aj@suse.de>
1394
1395         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1396         <bits/mman-linux.h>.
1397         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1398         is fine.
1399         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1400         <bits/mman-linux.h> to end of file.
1401         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1402         is fine.
1403         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1404         <bits/mman-linux.h> to end of file.
1405         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1406         is fine.
1407         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1408         <bits/mman-linux.h> to end of file.
1409
1410         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1411         (MCL_CURRENT, MCL_FUTURE): Define here.
1412
1413 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1414
1415         [BZ #15232]
1416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1417         attribute_hidden.
1418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1419
1420 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1421
1422         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1423         fourth parameter needed for rt_sigprocmask syscall.
1424         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1425         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1426         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1427         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1428         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1429         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1430
1431 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1432
1433         [BZ #13550]
1434         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1435         comment about bounded pointers.
1436         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1437         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1438
1439 2013-03-04  Andreas Jaeger  <aj@suse.de>
1440
1441         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1442         common definitions.
1443
1444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1445         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1446         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1447         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1449         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1450
1451 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1452
1453         [BZ #15055]
1454         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1455         __ieee754_sqrl instead of __sqrl.
1456
1457 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1458
1459         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1460         * sysdeps/powerpc/fpu_control.h: ... here.
1461         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1462         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1463         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1464         * sysdeps/powerpc/bits/mathinline.h: ... here.
1465
1466 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1467
1468         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1469         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1470         to just [NEED_DL_SYSINFO_DSO].
1471         * elf/dl-support.c: Likewise.
1472         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1473         * elf/rtld.c (dl_main): Likewise.
1474         * elf/setup-vdso.h (setup_vdso): Likewise.
1475         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1476         * sysdeps/unix/sysv/linux/dl-sysdep.c
1477         (_dl_discover_osversion): Likewise.
1478
1479 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1480
1481         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1482         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1483
1484 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1485
1486         * NEWS: Mention libm performance improvements and non-x86 PI
1487         futex support.
1488
1489         * csu/libc-start.c (__pthread_initialize_minimal): Change
1490         function arguments.
1491         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1492
1493 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1494
1495         [BZ #13550]
1496         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1497         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1498         <bp-sym.h> and <bp-asm.h>.
1499         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1500         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1501         and <bp-asm.h>.
1502         (memcpy): Don't use BP_SYM.
1503         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1504         <bp-asm.h>.
1505         (__mpn_add_n): Don't use BP_SYM.
1506         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1507         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1508         and <bp-asm.h>.
1509         (__mpn_addmul_1): Don't use BP_SYM.
1510         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1511         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1512         <bp-sym.h>.
1513         (_setjmp): Don't use BP_SYM.
1514         (__novmx_setjmp): Likewise.
1515         (__GI__setjmp): Likewise.
1516         (__vmx_setjmp): Likewise.
1517         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1518         <bp-sym.h>.
1519         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1520         (__bzero): Don't use BP_SYM.
1521         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1522         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1523         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1524         <bp-sym.h> and <bp-asm.h>.
1525         (memcpy): Don't use BP_SYM.
1526         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1527         <bp-sym.h> and <bp-asm.h>.
1528         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1529         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1530         <bp-sym.h> and <bp-asm.h>.
1531         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1532         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1533         <bp-asm.h>.
1534         (__mpn_lshift): Don't use BP_SYM.
1535         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1536         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1537         <bp-asm.h>.
1538         (memset): Don't use BP_SYM.
1539         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1540         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1541         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1542         <bp-asm.h>.
1543         (__mpn_mul_1): Don't use BP_SYM.
1544         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1545         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1546         <bp-sym.h> and <bp-asm.h>.
1547         (memcmp): Don't use BP_SYM.
1548         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1549         <bp-sym.h> and <bp-asm.h>.
1550         (memcpy): Don't use BP_SYM.
1551         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1552         <bp-sym.h> and <bp-asm.h>.
1553         (memset): Don't use BP_SYM.
1554         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1555         <bp-sym.h> and <bp-asm.h>.
1556         (strncmp): Don't use BP_SYM.
1557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1558         <bp-sym.h> and <bp-asm.h>.
1559         (memcpy): Don't use BP_SYM.
1560         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1561         <bp-sym.h> and <bp-asm.h>.
1562         (memset): Don't use BP_SYM.
1563         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1564         <bp-sym.h> and <bp-asm.h>.
1565         (__memchr): Don't use BP_SYM.
1566         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1567         <bp-sym.h> and <bp-asm.h>.
1568         (memcmp): Don't use BP_SYM.
1569         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1570         <bp-sym.h> and <bp-asm.h>.
1571         (memcpy): Don't use BP_SYM.
1572         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1573         <bp-sym.h> and <bp-asm.h>.
1574         (__mempcpy): Don't use BP_SYM.
1575         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1576         <bp-sym.h> and <bp-asm.h>.
1577         (__memrchr): Don't use BP_SYM.
1578         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1579         <bp-sym.h> and <bp-asm.h>.
1580         (memset): Don't use BP_SYM.
1581         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1582         <bp-sym.h> and <bp-asm.h>.
1583         (__rawmemchr): Don't use BP_SYM.
1584         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1585         <bp-sym.h> and <bp-asm.h>.
1586         (__STRCMP): Don't use BP_SYM.
1587         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1588         <bp-sym.h> and <bp-asm.h>.
1589         (strchr): Don't use BP_SYM.
1590         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1591         <bp-sym.h> and <bp-asm.h>.
1592         (__strchrnul): Don't use BP_SYM.
1593         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1594         <bp-sym.h> and <bp-asm.h>.
1595         (strlen): Don't use BP_SYM.
1596         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1597         <bp-sym.h> and <bp-asm.h>.
1598         (strncmp): Don't use BP_SYM.
1599         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1600         <bp-sym.h> and <bp-asm.h>.
1601         (__strnlen): Don't use BP_SYM.
1602         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1603         <bp-asm.h>.
1604         (__mpn_rshift): Don't use BP_SYM.
1605         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1606         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1607         <bp-sym.h> and <bp-asm.h>.
1608         (__sigsetjmp): Don't use BP_SYM.
1609         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1610         (L(start_addresses)): Don't use BP_SYM.
1611         (_start): Likewise.
1612         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1613         <bp-asm.h>.
1614         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1615         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1616         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1617         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1618         <bp-asm.h>.
1619         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1620         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1621         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1622         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1623         <bp-asm.h>.
1624         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1625         comments.
1626         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1627         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1628         <bp-asm.h>.
1629         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1630         FIXME comments.
1631         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1632         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1633         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1634         <bp-asm.h>.
1635         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1636         comment.
1637         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1638         and <bp-asm.h>.
1639         (strncmp): Don't use BP_SYM,
1640         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1641         <bp-asm.h>.
1642         (__mpn_sub_n): Don't use BP_SYM.
1643         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1644         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1645         and <bp-asm.h>.
1646         (__mpn_submul_1): Don't use BP_SYM.
1647         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1649         <bp-sym.h> and <bp-asm.h>.
1650         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1652         <bp-sym.h> and <bp-asm.h>.
1653         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1654         comment.
1655
1656 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1657
1658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1659         Use ZK to minimize writes to Z.
1660         (sub_magnitudes): Simplify code a bit.
1661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1662         Use ZK to minimize writes to Z.
1663         (sub_magnitudes): Simplify code a bit.
1664
1665 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1666
1667         * csu/gmon-start.c: Add special exception to license text.
1668
1669 2013-02-27  Richard Henderson  <rth@redhat.com>
1670
1671         * scripts/config.guess: Update from config.git.
1672         * scripts/config.sub: Likewise.
1673
1674 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1675
1676         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1677
1678         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1679
1680         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1681
1682         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1683
1684         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1685
1686 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1687
1688         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1689         [$(build-shared = yes].
1690
1691 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1692
1693         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1694         (__mul): Reduce iterations for calculating mantissa.
1695
1696         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1697         MPTWO.
1698         (__mpranred): Likewise.
1699
1700         [BZ #15160]
1701         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1702         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1703
1704 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1705
1706         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1707         Define __attribute__.
1708
1709 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1710
1711         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1712         unused.
1713         * posix/regex_internal.h (__attribute): Remove.
1714         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1715         (re_string_context_at): Likewise.
1716         (bitset_not): Use __attribute__ and mark function as possibly
1717         unused.
1718         (bitset_merge): Likewise.
1719         (bitset_mask): Likewise.
1720         (re_string_char_size_at): Likewise.
1721         (re_string_wchar_at): Likewise.
1722         (re_string_elem_size_at): Likewise.
1723
1724 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1725
1726         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1727         code.
1728         (cc32): Likewise.
1729
1730         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1731         (__acr): Likewise.
1732         (__cpy): Likewise.
1733         (norm): Likewise.
1734         (denorm): Likewise.
1735         (__dbl_mp): Likewise.
1736         (add_magnitudes): Likewise.
1737         (sub_magnitudes): Likewise.
1738         (__mul): Likewise.
1739         (__inv): Likewise.
1740
1741         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1742         style.
1743
1744         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1745         style.
1746
1747         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1748         code.
1749
1750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1751         up changes with default code.
1752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1753         Likewise.
1754
1755 2013-02-24  Allan McRae  <allan@archlinux.org>
1756
1757         * manual/socket.texi (The Internet Namespace): Order menu items
1758         to match that in the file.
1759
1760         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1761         node listing of the info page menu.
1762
1763 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1764
1765         [BZ #13550]
1766         * sysdeps/i386/bp-asm.h: Remove file.
1767         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1768         (PARMS): Do not use macros from bp-asm.h.
1769         (S1): Likewise.
1770         (S2): Likewise.
1771         (SIZE): Likewise.
1772         (__mpn_add_n): Do not use BP_SYM
1773         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1774         "bp-asm.h".
1775         (PARMS): Do not use macros from bp-asm.h.
1776         (S1): Likewise.
1777         (SIZE): Likewise.
1778         (__mpn_addmul_1): Do not use BP_SYM
1779         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1780         "bp-asm.h".
1781         (PARMS): Do not use macros from bp-asm.h.
1782         (SIGMSK): Likewise.
1783         (_setjmp): Likewise.  Do not use BP_SYM.
1784         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1785         "bp-asm.h".
1786         (PARMS): Do not use macros from bp-asm.h.
1787         (SIGMSK): Likewise.
1788         (setjmp): Likewise.  Do not use BP_SYM.
1789         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1790         "bp-asm.h".
1791         (PARMS): Do not use macros from bp-asm.h.
1792         (__frexp): Do not use BP_SYM.
1793         (frexp): Likewise.
1794         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1795         "bp-asm.h".
1796         (PARMS): Do not use macros from bp-asm.h.
1797         (__frexpf): Do not use BP_SYM.
1798         (frexpf): Likewise.
1799         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1800         "bp-asm.h".
1801         (PARMS): Do not use macros from bp-asm.h.
1802         (__frexpl): Do not use BP_SYM.
1803         (frexpl): Likewise.
1804         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1805         "bp-asm.h".
1806         (PARMS): Do not use macros from bp-asm.h.
1807         (__remquo): Do not use BP_SYM.
1808         (remquo): Likewise.
1809         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1810         "bp-asm.h".
1811         (PARMS): Do not use macros from bp-asm.h.
1812         (__remquof): Do not use BP_SYM.
1813         (remquof): Likewise.
1814         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1815         "bp-asm.h".
1816         (PARMS): Do not use macros from bp-asm.h.
1817         (__remquol): Do not use BP_SYM.
1818         (remquol): Likewise.
1819         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1820         "bp-asm.h".
1821         (PARMS): Do not use macros from bp-asm.h.
1822         (DEST): Likewise.
1823         (SRC): Likewise.
1824         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1825         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1826         "bp-asm.h".
1827         (PARMS): Do not use macros from bp-asm.h.
1828         (strlen): Do not use BP_SYM.
1829         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1830         "bp-asm.h".
1831         (PARMS): Do not use macros from bp-asm.h.
1832         (S1): Likewise.
1833         (S2): Likewise.
1834         (SIZE): Likewise.
1835         (__mpn_add_n): Do not use BP_SYM.
1836         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1837         "bp-asm.h".
1838         (PARMS): Do not use macros from bp-asm.h.
1839         (S1): Likewise.
1840         (SIZE): Likewise.
1841         (__mpn_addmul_1): Do not use BP_SYM.
1842         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1843         weak_alias.
1844         (bzero): Likewise.
1845         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1846         "bp-asm.h".
1847         (PARMS): Do not use macros from bp-asm.h.
1848         (S): Likewise.
1849         (SIZE): Likewise.
1850         (__mpn_lshift): Do not use BP_SYM.
1851         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1852         "bp-asm.h".
1853         (PARMS): Do not use macros from bp-asm.h.
1854         (DEST): Likewise.
1855         (SRC): Likewise.
1856         (LEN): Likewise.
1857         (memcpy): Likewise.  Do not use BP_SYM.
1858         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1859         libc_hidden_def and weak_alias.
1860         (mempcpy): Do not use BP_SYM in weak_alias.
1861         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1862         "bp-asm.h".
1863         (PARMS): Do not use macros from bp-asm.h.
1864         (DEST): Likewise.
1865         (LEN): Likewise.
1866         [!BZERO_P] (CHR): Likewise.
1867         (memset): Likewise.  Do not use BP_SYM.
1868         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1869         "bp-asm.h".
1870         (PARMS): Do not use macros from bp-asm.h.
1871         (S1): Likewise.
1872         (SIZE): Likewise.
1873         (__mpn_mul_1): Do not use BP_SYM.
1874         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1875         "bp-asm.h".
1876         (PARMS): Do not use macros from bp-asm.h.
1877         (S): Likewise.
1878         (SIZE): Likewise.
1879         (__mpn_rshift): Do not use BP_SYM.
1880         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1881         "bp-asm.h".
1882         (PARMS): Do not use macros from bp-asm.h.
1883         (STR): Likewise.
1884         (CHR): Likewise.
1885         (strchr): Likewise.  Do not use BP_SYM.
1886         (index): Do not use BP_SYM in weak_alias.
1887         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1888         "bp-asm.h".
1889         (PARMS): Do not use macros from bp-asm.h.
1890         (DEST): Likewise.
1891         (SRC): Likewise.
1892         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1893         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1894         "bp-asm.h".
1895         (PARMS): Do not use macros from bp-asm.h.
1896         (strlen): Do not use BP_SYM.
1897         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1898         "bp-asm.h".
1899         (PARMS): Do not use macros from bp-asm.h.
1900         (S1): Likewise.
1901         (S2): Likewise.
1902         (SIZE): Likewise.
1903         (__mpn_sub_n): Do not use BP_SYM.
1904         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1905         "bp-asm.h".
1906         (PARMS): Do not use macros from bp-asm.h.
1907         (S1): Likewise.
1908         (SIZE): Likewise.
1909         (__mpn_submul_1): Do not use BP_SYM.
1910         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1911         "bp-asm.h".
1912         (PARMS): Do not use macros from bp-asm.h.
1913         (S1): Likewise.
1914         (S2): Likewise.
1915         (SIZE): Likewise.
1916         (__mpn_add_n): Do not use BP_SYM.
1917         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1918         weak_alias.
1919         (bzero): Likewise.
1920         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1921         "bp-asm.h".
1922         (PARMS): Do not use macros from bp-asm.h.
1923         (BLK2): Likewise.
1924         (LEN): Likewise.
1925         (memcmp): Do not use BP_SYM.
1926         (bcmp): Do not use BP_SYM in weak_alias.
1927         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1928         "bp-asm.h".
1929         (PARMS): Do not use macros from bp-asm.h.
1930         (DEST): Likewise.
1931         (SRC): Likewise.
1932         (LEN): Likewise.
1933         (memcpy): Likewise.  Do not use BP_SYM.
1934         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1935         "bp-asm.h".
1936         (PARMS): Do not use macros from bp-asm.h.
1937         (DEST): Likewise.
1938         (SRC): Likewise.
1939         (LEN): Likewise.
1940         (memmove): Likewise.  Do not use BP_SYM.
1941         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1942         "bp-asm.h".
1943         (PARMS): Do not use macros from bp-asm.h.
1944         (DEST): Likewise.
1945         (SRC): Likewise.
1946         (LEN): Likewise.
1947         (__mempcpy): Likewise.  Do not use BP_SYM.
1948         (mempcpy): Do not use BP_SYM in weak_alias.
1949         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1950         "bp-asm.h".
1951         (PARMS): Do not use macros from bp-asm.h.
1952         (DEST): Likewise.
1953         (LEN): Likewise.
1954         [!BZERO_P] (CHR): Likewise.
1955         (memset): Likewise.  Do not use BP_SYM.
1956         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1957         "bp-asm.h".
1958         (PARMS): Do not use macros from bp-asm.h.
1959         (STR2): Likewise.
1960         (strcmp): Do not use BP_SYM.
1961         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1962         "bp-asm.h".
1963         (PARMS): Do not use macros from bp-asm.h.
1964         (STR): Likewise.
1965         (DELIM): Likewise.
1966         [USE_AS_STRTOK_R] (SAVE): Likewise.
1967         (FUNCTION): Likewise.  Do not use BP_SYM.
1968         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1969         aliases.
1970         (strtok_r): Likewise.
1971         (__GI___strtok_r): Likewise.
1972         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1973         (PARMS): Do not use macros from bp-asm.h.
1974         (S): Likewise.
1975         (SIZE): Likewise.
1976         (__mpn_lshift): Do not use BP_SYM.
1977         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1978         (PARMS): Do not use macros from bp-asm.h.
1979         (STR): Likewise.
1980         (CHR): Likewise.
1981         (__memchr): Do not use BP_SYM.
1982         (memchr): Do not use BP_SYM in weak_alias.
1983         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1984         (PARMS): Do not use macros from bp-asm.h.
1985         (BLK2): Likewise.
1986         (LEN): Likewise.
1987         (memcmp): Do not use BP_SYM.
1988         (bcmp): Do not use BP_SYM in weak_alias.
1989         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1990         (PARMS): Do not use macros from bp-asm.h.
1991         (S1): Likewise.
1992         (SIZE): Likewise.
1993         (__mpn_mul_1): Do not use BP_SYM.
1994         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1995         "bp-asm.h".
1996         (PARMS): Do not use macros from bp-asm.h.
1997         (STR): Likewise.
1998         (CHR): Likewise.
1999         (__rawmemchr): Do not use BP_SYM.
2000         (rawmemchr): Do not use BP_SYM in weak_alias.
2001         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2002         (PARMS): Do not use macros from bp-asm.h.
2003         (S): Likewise.
2004         (SIZE): Likewise.
2005         (__mpn_rshift): Do not use BP_SYM.
2006         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2007         (PARMS): Do not use macros from bp-asm.h.
2008         (SIGMSK): Likewise.
2009         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2010         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2011         (_start): Do not use BP_SYM.
2012         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2013         (PARMS): Do not use macros from bp-asm.h.
2014         (DEST): Likewise.
2015         (SRC): Likewise.
2016         (__stpcpy): Likewise.  Do not use BP_SYM.
2017         (stpcpy): Do not use BP_SYM in weak_alias.
2018         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2019         "bp-asm.h".
2020         (PARMS): Do not use macros from bp-asm.h.
2021         (DEST): Likewise.
2022         (SRC): Likewise.
2023         (LEN): Likewise.
2024         (__stpncpy): Likewise.  Do not use BP_SYM.
2025         (stpncpy): Do not use BP_SYM in weak_alias.
2026         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2027         (PARMS): Do not use macros from bp-asm.h.
2028         (STR): Likewise.
2029         (CHR): Likewise.
2030         (strchr): Likewise.  Do not use BP_SYM.
2031         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2032         "bp-asm.h".
2033         (PARMS): Do not use macros from bp-asm.h.
2034         (STR): Likewise.
2035         (CHR): Likewise.
2036         (__strchrnul): Likewise.  Do not use BP_SYM.
2037         (strchrnul): Do not use BP_SYM in weak_alias.
2038         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2039         "bp-asm.h".
2040         (PARMS): Do not use macros from bp-asm.h.
2041         (STOP): Likewise.
2042         (strcspn): Do not use BP_SYM.
2043         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2044         "bp-asm.h".
2045         (PARMS): Do not use macros from bp-asm.h.
2046         (STR): Likewise.
2047         (STOP): Likewise.
2048         (strpbrk): Likewise.  Do not use BP_SYM.
2049         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2050         "bp-asm.h".
2051         (PARMS): Do not use macros from bp-asm.h.
2052         (STR): Likewise.
2053         (CHR): Likewise.
2054         (strrchr): Likewise.  Do not use BP_SYM.
2055         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2056         (PARMS): Do not use macros from bp-asm.h.
2057         (SKIP): Likewise.
2058         (strspn): Do not use BP_SYM.
2059         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2060         (PARMS): Do not use macros from bp-asm.h.
2061         (STR): Likewise.
2062         (DELIM): Likewise.
2063         (SAVE): Likewise.
2064         (FUNCTION): Likewise.  Do not use BP_SYM.
2065         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2066         aliases.
2067         (strtok_r): Likewise.
2068         (__GI___strtok_r): Likewise.
2069         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2070         (PARMS): Do not use macros from bp-asm.h.
2071         (S1): Likewise.
2072         (S2): Likewise.
2073         (SIZE): Likewise.
2074         (__mpn_sub_n): Do not use BP_SYM.
2075         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2076         "bp-asm.h".
2077         (PARMS): Do not use macros from bp-asm.h.
2078         (S1): Likewise.
2079         (SIZE): Likewise.
2080         (__mpn_submul_1): Do not use BP_SYM.
2081         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2082         <bp-sym.h>.
2083         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2084         and <bp-asm.h>.
2085         (PARMS): Do not use macros from bp-asm.h.
2086         (FLAGS): Likewise.
2087         (PTID): Likewise.
2088         (TLS): Likewise.
2089         (CTID): Likewise.
2090         (__clone): Do not use BP_SYM.
2091         (clone): Do not use BP_SYM in weak_alias.
2092         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2093         and <bp-asm.h>.
2094         (PARMS): Do not use macros from bp-asm.h.
2095         (LEN): Likewise.
2096         (__mmap64): Do not use BP_SYM.
2097         (mmap64): Do not use BP_SYM in weak_alias.
2098         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2099         <bp-sym.h> and <bp-asm.h>.
2100         (PARMS): Do not use macros from bp-asm.h.
2101         (__posix_fadvise64_l64): Do not use BP_SYM.
2102         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2103         (PARMS): Do not use macros from bp-asm.h.
2104         (NSOPS): Likewise.
2105         (semtimedop): Do not use BP_SYM.
2106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2107         and <bp-asm.h>.
2108
2109 2013-02-21  Allan McRae  <allan@archlinux.org>
2110
2111         * manual/message.texi (Charset conversion in gettext):
2112         Move @end statement to beginning of line.
2113
2114 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2115
2116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2117         static.
2118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2119         Likewise.
2120
2121         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2122         (denorm): Likewise.
2123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2125
2126 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2127
2128         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2129         tail-call to the resolved function if pltexit isn't needed.
2130
2131 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2132
2133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2134         or Y being zero as being unlikely.
2135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2136         Likewise.
2137
2138 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2139
2140         * manual/nss.texi (System Databases and Name Service Switch):
2141         Remove frobnicate @pxref.
2142
2143 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2144
2145         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2146         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2147
2148 2013-02-20  Petr Machata  <pmachata@redhat.com>
2149
2150         * elf/elf.h (R_ARM_TARGET1): New macro.
2151         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2152         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2153         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2154         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2155         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2156         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2157         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2158         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2159         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2160         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2161         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2162         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2163         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2164         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2165         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2166         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2167         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2168         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2169         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2170         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2171         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2172         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2173         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2174         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2175         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2176         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2177         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2178         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2179         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2180         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2181         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2182         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2183         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2184         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2185         (R_ARM_THM_GOT_BREL12): Likewise.
2186         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2187         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2188         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2189         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2190         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2191         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2192         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2193         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2194         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2195
2196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2197
2198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2199         __attribute_used__ to __attribute__ ((unused)).
2200
2201 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2202
2203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2204         powerpc mpa.c.
2205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2206         comment formatting.
2207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2208
2209 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2210
2211         [BZ #13550]
2212         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2213         Remove macro.
2214         (ENTER): Remove both macro definitions.
2215         (LEAVE): Likewise.
2216         (CHECK_BOUNDS_LOW): Likewise.
2217         (CHECK_BOUNDS_HIGH): Likewise.
2218         (CHECK_BOUNDS_BOTH): Likewise.
2219         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2220         (RETURN_BOUNDED_POINTER): Likewise.
2221         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2222         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2223         (POP_ERRNO_LOCATION_RETURN): Likewise.
2224         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2225         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2226         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2227         macros.
2228         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2229         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2230         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2231         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2232         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2233         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2234         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2235         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2236         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2237         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2238         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2239         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2240         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2241         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2242         removed macros.
2243         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2244         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2245         macros.
2246         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2247         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2248         * sysdeps/i386/i586/memset.S (memset): Likewise.
2249         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2250         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2251         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2252         macros.
2253         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2254         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2255         Change uses of L(2) to L(out).
2256         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2257         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2258         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2259         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2260         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2261         removed macros.
2262         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2263         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2264         macros.
2265         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2266         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2267         (RETURN): Do not use macro LEAVE.
2268         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2269         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2270         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2271         * sysdeps/i386/i686/memset.S (memset): Likewise.
2272         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2273         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2274         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2275         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2276         Likewise.
2277         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2278         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2279         L(1_2) and L(1_3) into L(1).
2280         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2281         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2282         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2283         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2284         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2285         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2286         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2287         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2288         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2289         macros.
2290         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2291         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2292         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2293         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2294         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2295         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2296         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2297         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2298         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2299         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2300         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2301         * sysdeps/i386/strspn.S (strspn): Likewise.
2302         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2303         conditional code.
2304         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2305         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2306         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2307         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2308         L(1_3) into L(1_1).
2309         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2310         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2311         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2312         macros.
2313         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2314
2315 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2316
2317         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2318         macro.
2319
2320 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2321
2322         * math/atest-exp.c (exp_mpn): Remove ROUND.
2323         * math/atest-exp2.c (exp_mpn): Likewise.
2324         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2325
2326         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2327         * stdlib/tst-tls-atexit-lib.c: Likewise.
2328         * stdlib/tst-tls-atexit.c: Likewise.
2329
2330 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2331
2332         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2333         and __attribute_alloc_size__.
2334
2335 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2336
2337         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2338         __attribute_alloc_size__.
2339         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2340         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2341
2342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2343
2344         * include/programs/xmalloc.h: New file.
2345         * catgets/gencat.c: Include it.
2346         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2347         * elf/pldd.c: Likewise.
2348         * iconv/iconv_charmap.c: Likewise.
2349         * iconv/iconvconfig.c: Likewise.
2350         * iconv/strtab.c: Likewise.
2351         * locale/programs/locale.c: Likewise.
2352         * locale/programs/localedef.h: Likewise.
2353         * locale/programs/simple-hash.c: Likewise.
2354         * nscd/nscd.h: Likewise.
2355         * nss/makedb.c: Likewise.
2356         * sysdeps/generic/ldconfig.h: Likewise.
2357
2358 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2359
2360         * Versions.def: Add GLIBC_2.18.
2361         * include/link.h (struct link_map): New member l_tls_dtor_count.
2362         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2363         (__call_tls_dtors): Likewise.
2364         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2365         __cxa_thread_atexit_impl.
2366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2367         Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2369         Likewise.
2370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2371         Likewise.
2372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2373         Likewise.
2374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2381         Likewise.
2382         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2383         (tests): Add test case tst-tls-atexit.
2384         (modules-names): Add shared library for tst-tls-atexit.
2385         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2386         (GLIBC_PRIVATE): Add __call_tls_dtors.
2387         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2388         for libstdc++.
2389         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2390         * stdlib/tst-tls-atexit.c: New test case.
2391         * stdlib/tst-tls-atexit-lib.c: New test case.
2392
2393         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2394
2395         * elf/Versions (ld): Add _dl_find_dso_for_object.
2396         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2397         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2398         (dl_open_worker): Use _dl_find_dso_for_object.
2399         * elf/dl-sym.c (do_sym): Likewise.
2400         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2401
2402 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2403
2404         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2405         Syntactic changes only.
2406         (_dl_runtime_profile): Do a tail-call to the resolved function.
2407
2408 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2409
2410         [BZ #13550]
2411         * sysdeps/x86_64/bp-asm.h: Remove file.
2412         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2413         <bp-sym.h> and <bp-asm.h>.
2414         (__clone): Do not use BP_SYM.
2415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2416         <bp-sym.h> and <bp-asm.h>.
2417         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2418         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2419         "bp-asm.h".
2420         (_setjmp): Do not use BP_SYM.
2421         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2422         "bp-asm.h".
2423         (setjmp): Do not use BP_SYM.
2424         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2425         libc_hidden_def.
2426         (mempcpy): Do not use BP_SYM in weak_alias.
2427         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2428         "bp-asm.h".
2429         (strchr): Do not use BP_SYM.
2430         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2431         "bp-asm.h".
2432         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2433         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2434         (_start): Do not use BP_SYM.
2435         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2436         "bp-asm.h".
2437         (strcat): Do not use BP_SYM.
2438         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2439         "bp-asm.h".
2440         (STRCMP): Do not use BP_SYM.
2441         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2442         "bp-asm.h".
2443         (STRCPY): Do not use BP_SYM.
2444         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2445         "bp-asm.h".
2446         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2447         "bp-asm.h".
2448         (FUNCTION): Do not use BP_SYM.
2449         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2450         weak_alias.
2451         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2452
2453 2013-02-17  Andreas Jaeger  <aj@suse.de>
2454
2455         * time/Versions: Sort entries.
2456         * string/Versions: Likewise.
2457         * resolv/Versions: Likewise.
2458         * posix/Versions: Likewise.
2459         * iconv/Versions: Likewise.
2460         * elf/Versions: Likewise.
2461         * wcsmbs/Versions: Likewise.
2462
2463 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2464
2465         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2466         loop termination condition.
2467
2468         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2469         variable to calculate EZ.
2470         (__sqr): Likewise.
2471
2472         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2473         the lower precision input.
2474
2475 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2476
2477         [BZ #13550]
2478         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2479         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2480         (run-via-rtld-prefix): Do not handle %-bp tests.
2481         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2482         (all-object-suffixes): Remove .ob.
2483         (bppfx): Remove variable.
2484         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2485         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2486         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2487         [$(build-bounded) = yes] (libtype.ob): Likewise.
2488         * Makerules (elide-routines.ob): Remove variable.
2489         (do-tests-clean): Do not handle *-bp.out.
2490         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2491         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2492         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2493         (tests): Do not include $(tests-bp.out).
2494         (xtests): Do not include $(xtests-bp.out).
2495         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2496         [$(build-bounded) = yes] ($(addprefix
2497         $(objpfx),$(binaries-bounded))): Remove rule.
2498         ($(objpfx)%-bp.out): Remove rule.
2499         * config.make.in (build-bounded): Remove variable.
2500         * crypt/Makefile [$(build-bounded) = yes]
2501         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2502         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2503         append to variable.
2504         [$(build-bounded) = yes] (install-lib): Likewise.
2505         [$(build-bounded) = yes] (generated): Likewise.
2506         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2507         Remove rule.
2508         * intl/Makefile [$(build-bounded) = yes]
2509         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2510         * math/Makefile [$(build-bounded) = yes]
2511         ($(tests:%=$(objpfx)%-bp): Likewise.
2512         * misc/Makefile [$(build-bounded) = yes]
2513         ($(objpfx)tst-tsearch-bp): Likewise.
2514         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2515         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2516         Remove dependency.
2517         * string/Makefile (o-objects.ob): Remove variable.
2518         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2519         (CFLAGS-.ob): Remove variable.
2520         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2521         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2522         both definitions of variable.
2523         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2524         (ASFLAGS-.ob): Remove variable.
2525
2526 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2527
2528         [BZ #13550]
2529         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2530         Remove __BOUNDED_POINTERS__ from condition.
2531         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2532         * string/bits/string2.h [!__NO_STRING_INLINES &&
2533         !__BOUNDED_POINTERS__]: Likewise.
2534         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2535         Likewise.
2536         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2537         Remove conditional code.
2538         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2539         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2540         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2541         condition.
2542
2543         [BZ #13550]
2544         * csu/libc-start.c: Do not include <bp-sym.h>.
2545         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2546         * elf/dl-open.c: Do not include <bp-sym.h>.
2547         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2548         * math/fegetenv.c: Do not include <bp-sym.h>.
2549         (fegetenv): Do not use BP_SYM in versioned symbols.
2550         * nptl/sysdeps/pthread/bits/libc-lockP.h
2551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2552         <bp-sym.h>.
2553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2554         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2556         (__pthread_mutex_destroy): Likewise.
2557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2558         (__pthread_mutex_lock): Likewise.
2559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2560         (__pthread_mutex_trylock): Likewise.
2561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2562         (__pthread_mutex_unlock): Likewise.
2563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2564         (__pthread_mutexattr_init): Likewise.
2565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2566         (__pthread_mutexattr_destroy): Likewise.
2567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2568         (__pthread_mutexattr_settype): Likewise.
2569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2570         (__pthread_rwlock_init): Likewise.
2571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2572         (__pthread_rwlock_destroy): Likewise.
2573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2574         (__pthread_rwlock_rdlock): Likewise.
2575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2576         (__pthread_rwlock_tryrdlock): Likewise.
2577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2578         (__pthread_rwlock_wrlock): Likewise.
2579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2580         (__pthread_rwlock_trywrlock): Likewise.
2581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2582         (__pthread_rwlock_unlock): Likewise.
2583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2584         (__pthread_key_create): Likewise.
2585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2586         (__pthread_setspecific): Likewise.
2587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2588         (__pthread_getspecific): Likewise.
2589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2590         Likewise.
2591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2592         (_pthread_cleanup_push_defer): Likewise.
2593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2594         (_pthread_cleanup_pop_restore): Likewise.
2595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2596         (pthread_setcancelstate): Likewise.
2597         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2598         <bp-sym.h>.
2599         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2600         (memchr): Do not use BP_SYM in weak_alias.
2601         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2602         (fegetenv): Do not use BP_SYM in versioned symbols.
2603         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2604         (fesetenv): Do not use BP_SYM in versioned symbols.
2605         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2606         (feupdateenv): Do not use BP_SYM in versioned symbols.
2607         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2608         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2609         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2610         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2611         (open64): Do not use BP_SYM in weak_alias.
2612         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2613         (fegetenv): Do not use BP_SYM in versioned symbols.
2614         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2615         (fesetenv): Do not use BP_SYM in versioned symbols.
2616         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2617         (feupdateenv): Do not use BP_SYM in versioned symbols.
2618         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2619         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2620         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2621         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2622         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2623         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2624         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2625         <bp-sym.h>.
2626         (__libc_start_main): Do not use BP_SYM.
2627
2628 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2629
2630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2631         redundant return line.
2632         (norm): Likewise.
2633         (denorm): Likewise.
2634         (dbl_mp): Likewise.
2635         (sub_magnitudes): Likewise.
2636         (__add): Likewise.
2637         (__sub): Likewise.
2638         (__mul): Likewise.
2639         (__inv): Likewise.
2640         (__dvd): Likewise.
2641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2642         (norm): Likewise.
2643         (denorm): Likewise.
2644         (dbl_mp): Likewise.
2645         (sub_magnitudes): Likewise.
2646         (__add): Likewise.
2647         (__sub): Likewise.
2648         (__mul): Likewise.
2649         (__inv): Likewise.
2650         (__dvd): Likewise.
2651
2652         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2653         instead of __mul.
2654         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2655         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2656         (cc32): Likewise.
2657
2658         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2659         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2661         of __mul for squares.
2662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2663         function
2664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2665         Likewise.
2666         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2667         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2668
2669 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2670
2671         [BZ #13550]
2672         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2673         code.
2674         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2675         prototype or function definition.  Rename ubp_* variables and
2676         parameters.  Remove argv definitions conditional on
2677         [__BOUNDED_POINTERS__].
2678         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2679         * elf/dl-runtime.c (_dl_fixup): Likewise.
2680         * include/set-hooks.h (RUN_HOOK): Likewise.
2681         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2682         definition.
2683         * string/strcpy.c (strcpy): Do not use __unbounded.
2684         * sysdeps/generic/frame.h (struct layout): Likewise.
2685         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2686         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2687         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2688         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2689         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2690         (__backtrace): Likewise.
2691         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2692         use __ptrvalue.
2693         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2694         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2695         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2696         Likewise.
2697         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2698         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2699         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2700         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2701         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2702         Do not use __unbounded.
2703         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2704         Rename __unboundedrlimits parameter to rlimits in prototype.
2705         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2706         Do not use __unbounded.
2707         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2708         not use __ptrvalue.
2709         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2710         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2711         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2712         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2713         __ptrvalue or __unbounded.
2714         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2715         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2716         use __unbounded.
2717         (__new_msgctl): Do not use __ptrvalue.
2718         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2719         __unbounded.
2720         (__libc_msgrcv): Do not use __ptrvalue.
2721         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2722         startup_info): Do not use __unbounded.
2723         (__libc_start_main): Likewise.  Rename ubp_* variables and
2724         parameters.  Remove argv definitions conditional on
2725         [__BOUNDED_POINTERS__].
2726         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2727         __ptrvalue.
2728         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2729         use __unbounded.
2730         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2731         or __ptrvalue.
2732         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2733         use __unbounded.
2734         (__new_shmctl): Do not use __ptrvalue.
2735         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2736         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2739         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2740         (__libc_sigaction): Likewise.
2741         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2742         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2745
2746 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2747
2748         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2749
2750         * string/mempcpy.c: Implement by calling memcpy.
2751
2752 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2753
2754         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2755
2756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2757         evaluation.
2758
2759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2760         values in the mantissa.
2761
2762         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2763         minimize writes to Z.
2764         (sub_magnitudes): Simplify code a bit.
2765
2766 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2767
2768         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2769         from the message.  The linker prefixes all warnings with that already.
2770
2771 2013-02-12  Andreas Schwab  <schwab@suse.de>
2772
2773         [BZ #15078]
2774         * posix/regexec.c (extend_buffers): Add parameter min_len.
2775         (check_matching): Pass minimum needed length.
2776         (clean_state_log_if_needed): Likewise.
2777         (get_subexp): Likewise.
2778         * posix/Makefile (tests): Add bug-regex34.
2779         (bug-regex34-ENV): Define.
2780         * posix/bug-regex34.c: New file.
2781
2782         [BZ #11561]
2783         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2784         elements compare against the byte sequence of it, not its name.
2785         * posix/Makefile (tests): Add bug-regex35.
2786         (bug-regex35-ENV): Define.
2787         * posix/bug-regex35.c: New file.
2788
2789 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2790
2791         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2792         comment.
2793         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2794         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2795         (CHECK_EOL): Add undef.
2796
2797 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2798
2799         * bits/stdlib-bsearch.h: New file.
2800         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2801         * stdlib/stdlib.h: Likewise.
2802
2803 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2804
2805         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2806         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2807         declaration.
2808         * manual/search.texi (Array Search Function): Add missing const in
2809         lfind prototype.
2810         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2811         declaration to use rlim_t.
2812         (Basic Scheduling Functions): Remove erroneous const from
2813         sched_getparam prototype.  Remove erroneous * from
2814         sched_get_priority_max and sched_get_priority_min prototypes.
2815         (Resource Usage): Fix summary @comment on vtimes to refer to
2816         sys/vtimes.h rather than vtimes.h.
2817         Add missing *s in vtimes prototype.
2818         (Limits on Resources): Fix ulimit prototype to return long int.
2819         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2820         prototypes to use long int rather than double.
2821         (BSD Random): Fix initstate and setstate to use char *, not void *.
2822         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2823         prototype to make second argument 'struct aiocb64 *const[]'.
2824         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2825         (Status of AIO Operations): Remove erroneous const in aio_return and
2826         aio_return64 prototypes.
2827         (Synchronizing I/O): Fix sync prototype to return void.
2828         * manual/startup.texi (Suboptions): Remove an erroneous const in
2829         getsubopt prototype.
2830         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2831         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2832         use size_t rather than int.
2833         (Scanning All Users): Likewise for getpwent_r.
2834         (Setting Groups): Add missing const to setgroups prototype.
2835         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2836         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2837         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2838         'const void *' rather than 'const char *'.
2839         (Host Address Functions): Likewise for inet_ntop.
2840         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2841         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2842         ssize_t for return value.
2843         (Sending Data): Likewise for send, sendto, sendmsg.
2844         (Socket Option Functions): Add a missing const in setsockopt prototype.
2845         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2846         use wchar_t for the argument.
2847         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2848         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2849         take no arguments.
2850         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2851         double/float/long double for second argument.
2852         Fix return types of significand, significandf, significandl.
2853         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2854         argument in fchmod prototype.
2855         (File Owner): Use uid_t and gid_t in fchown prototype.
2856         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2857         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2858         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2859         use 'const struct dirent **' as argument types to CMP function pointer
2860         argument.
2861         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2862         (File Times): Fix summary magic @comment for struct utimbuf and utime
2863         to refer to utime.h, not time.h.
2864         * manual/string.texi (Argz Functions): Add missing const in
2865         argz_extract and argz_next prototypes.
2866         (Finding Tokens in a String): Likewise for basename.
2867         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2868         (Copying and Concatenation): Fix typo in wmemmove prototype.
2869         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2870         (Signal Stack): Remove erroneous const in sigstack prototype.
2871         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2872         prototype.
2873         (Simple Calendar Time): Likewise for stime.
2874         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2875         prototype.
2876         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2877         say sys/sysctl.h instead.
2878         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2879         and vsyslog prototypes.
2880
2881 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2882
2883         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2884         Remove.
2885
2886 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2887
2888         * misc/sys/mman.h: Fix typo in mremap comment.
2889
2890 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2891
2892         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2893         the '\0' terminator.
2894
2895 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2896
2897         [BZ #13550]
2898         * debug/segfault.c: Don't include <bp-checks.h>.
2899         * sysdeps/generic/bp-checks.h: Remove file.
2900         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2901         (__GETDENTS): Don't use CHECK_N.
2902         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2903         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2904         (__getgroups): Don't use CHECK_N.
2905         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2906         (setgroups): Don't use CHECK_N.
2907         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2908         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2909         (__libc_msgrcv): Don't use CHECK_N.
2910         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2911         (__libc_msgsnd): Don't use CHECK_N.
2912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2913         <bp-checks.h>.
2914         (__libc_pread): Don't use CHECK_N.
2915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2916         include <bp-checks.h>.
2917         (__libc_pread64): Don't use CHECK_N.
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2919         include <bp-checks.h>.
2920         (__libc_pwrite): Don't use CHECK_N.
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2922         include <bp-checks.h>.
2923         (__libc_pwrite64): Don't use CHECK_N.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2925         <bp-checks.h>.
2926         (__libc_pread): Don't use CHECK_N.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2928         include <bp-checks.h>.
2929         (__libc_pread64): Don't use CHECK_N.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2931         include <bp-checks.h>.
2932         (__libc_pwrite): Don't use CHECK_N.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2934         include <bp-checks.h>.
2935         (__libc_pwrite64): Don't use CHECK_N.
2936         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2937         (do_pread): Don't use CHECK_N.
2938         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2939         (do_pread64): Don't use CHECK_N.
2940         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2941         (do_pwrite): Don't use CHECK_N.
2942         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2943         (do_pwrite64): Don't use CHECK_N.
2944         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2945         (__libc_readv): Don't use CHECK_N.
2946         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2947         (semop): Don't use CHECK_N.
2948         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2949         <bp-checks.h>.
2950         (semtimedop): Don't use CHECK_N.
2951         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2952         (__libc_pread): Don't use CHECK_N.
2953         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2954         <bp-checks.h>.
2955         (__libc_pread64): Don't use CHECK_N.
2956         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2957         <bp-checks.h>.
2958         (__libc_pwrite): Don't use CHECK_N.
2959         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2960         <bp-checks.h>.
2961         (__libc_pwrite64): Don't use CHECK_N.
2962         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2963         <bp-checks.h>.
2964         (__libc_msgrcv): Don't use CHECK_N.
2965         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2966         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2967         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2968         (__libc_writev): Don't use CHECK_N.
2969
2970 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2971
2972         * string/strcpy.c: Removed unused variable.
2973
2974         * Makeconfig (+sysdep-includes): Define with := rather than =.
2975         Use an existing include/ subdir of each sysdeps dir before it.
2976
2977 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2978
2979         * nscd/connection.c (register_traced_file): Comment function.
2980         [HAVE_INOTIFY] (union __inev): Define.
2981         [HAVE_INOTIFY] (inotify_check_files): New function.
2982         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2983         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2984         clear_db_cache.
2985         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2986
2987 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2988
2989         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2990         loaded if not already and that a failure is permanent.
2991
2992 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2993
2994         [BZ #15006]
2995         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2996         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2997
2998 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2999
3000         [BZ #13550]
3001         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3002         (CHECK_1_NULL_OK): Likewise.
3003         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3004         (__fxstat): Do not use CHECK_1.
3005         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3006         <bp-checks.h>.
3007         (___fxstat64): Do not use CHECK_1.
3008         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3009         <bp-checks.h>.
3010         (__fxstatat): Do not use CHECK_1.
3011         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3012         <bp-checks.h>.
3013         (__fxstatat64): Do not use CHECK_1.
3014         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3015         <bp-checks.h>.
3016         (__fxstat): Do not use CHECK_1.
3017         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3018         <bp-checks.h>.
3019         (__fxstatat): Do not use CHECK_1.
3020         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3021         <bp-checks.h>.
3022         (__getresgid): Do not use CHECK_1.
3023         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3024         <bp-checks.h>.
3025         (__getresuid): Do not use CHECK_1.
3026         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3027         <bp-checks.h>.
3028         (__lxstat): Do not use CHECK_1.
3029         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3030         <bp-checks.h>.
3031         (__old_msgctl): Do not use CHECK_1.
3032         (__new_msgctl): Likewise.
3033         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3034         <bp-checks.h>.
3035         (__new_setrlimit): Do not use CHECK_1.
3036         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3037         <bp-checks.h>.
3038         (__old_shmctl): Do not use CHECK_1.
3039         (__new_shmctl): Likewise.
3040         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3041         <bp-checks.h>.
3042         (__xstat): Do not use CHECK_1.
3043         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3044         (__lxstat): Do not use CHECK_1.
3045         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3046         <bp-checks.h>.
3047         (___lxstat64): Do not use CHECK_1.
3048         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3049         (__old_msgctl): Do not use CHECK_1.
3050         (__new_msgctl): Likewise.
3051         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3052         <bp-checks.h>.
3053         (__gettimeofday): Do not use CHECK_1.
3054         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3055         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3056         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3057         <bp-checks.h>.
3058         (__gettimeofday): Do not use CHECK_1.
3059         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3060         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3061         (__new_shmctl): Do not use CHECK_1.
3062         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3063         <bp-checks.h>.
3064         (do_sigtimedwait): Do not use CHECK_1.
3065         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3066         <bp-checks.h>.
3067         (do_sigwaitinfo): Do not use CHECK_1.
3068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3069         <bp-checks.h>.
3070         (msgctl): Do not use CHECK_1.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3072         <bp-checks.h>.
3073         (shmctl): Do not use CHECK_1.
3074         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3075         (ustat): Do not use CHECK_1.
3076         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3077         <bp-checks.h>.
3078         (__fxstat): Do not use CHECK_1.
3079         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3080         <bp-checks.h>.
3081         (__fxstatat): Do not use CHECK_1.
3082         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3083         <bp-checks.h>.
3084         (__lxstat): Do not use CHECK_1.
3085         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3086         <bp-checks.h>.
3087         (__xstat): Do not use CHECK_1.
3088         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3089         (__xstat): Do not use CHECK_1.
3090         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3091         (___xstat64): Do not use CHECK_1.
3092
3093         [BZ #13550]
3094         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3095         definitions.
3096         (CHECK_BOUNDS_HIGH): Likewise.
3097         * string/strcpy.c: Do not include <bp-checks.h>.
3098         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3099
3100 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3101
3102         * nscd/nscd-client.h (__nscd_drop_map_ref):
3103         Add __attribute__ ((unused)).
3104         * nis/nss-nisplus.h (niserr2nss): Likewise.
3105
3106         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3107         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3108
3109         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3110         Remove inline keyword.
3111         * include/rounding-mode.h (round_away): Likewise.
3112         * libio/wfileops.c (adjust_wide_data): Likewise.
3113         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3114         (__m128i_strloadu_tolower): Likewise.
3115         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3116         (__m128i_strloadu_tolower): Likewise.
3117         * time/mktime.c (ydhms_diff): Likewise.
3118         * locale/elem-hash.h (elem_hash): Likewise.
3119         * locale/setlocale.c (setdata): Likewise.
3120         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3121         (re_string_wchar_at): Likewise.
3122         (bitset_not, bitset_merge, bitset_mask): Likewise.
3123         [!(__GNUC__ > 3)] (inline): Remove macro.
3124         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3125         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3126         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3127         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3128         * string/memcmp.c (memcmp_bytes): Likewise.
3129         * locale/programs/locarchive.c (compute_hashval): Likewise.
3130         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3131         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3132         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3133         * nss/getent.c (print_rpc, print_protocols): Likewise.
3134         (print_passwd, print_group, print_aliases): Likewise.
3135         * nis/nss-nisplus.h (niserr2nss): Likewise.
3136         * nscd/connections.c (restart_p): Likewise.
3137         Change return type to bool.
3138
3139 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3140
3141         * Makeconfig (all-Depend-files): Add existing
3142         $(sorted-subdirs:=/Depend) files.
3143         (all-subdirs): Remove nss.
3144         * sysdeps/unix/inet/Subdirs: Add it here instead.
3145         * hesiod/Depend: New file.
3146
3147         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3148         instead of calling alloca.
3149
3150         * io/lseek.c (__lseek): Rename to __libc_lseek.
3151         Define __lseek as an alias.
3152
3153         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3154
3155 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3156
3157         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3158         else clause and remove check for non-standard endianness.
3159
3160 2013-02-04  David S. Miller  <davem@davemloft.net>
3161
3162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3163
3164 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3165
3166         [BZ #13550]
3167         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3168         (__ubp_memchr): Remove prototype.
3169         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3170         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3171         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3172         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3173         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3174         Remove alias.
3175         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3176         (__ubp_memchr): Likewise.
3177         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3178         (__ubp_memchr): Likewise.
3179         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3180         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3181         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3182         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3183         CHECK_STRING.
3184         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3185         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3186         (__getcwd): Do not use CHECK_STRING.
3187         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3188         <bp-checks.h>.
3189         (__real_chown): Do not use CHECK_STRING.
3190         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3191         <bp-checks.h>.
3192         (fchownat): Do not use CHECK_STRING.
3193         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3194         CHECK_STRING.
3195         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3196         <bp-checks.h>.
3197         (__lchown): Do not use CHECK_STRING.
3198         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3199         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3200         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3201         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3203         include <bp-checks.h>.
3204         (truncate64): Do not use CHECK_STRING.
3205         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3206         <bp-checks.h>.
3207         (__real_chown): Do not use CHECK_STRING.
3208         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3209         <bp-checks.h>.
3210         (__lchown): Do not use CHECK_STRING.
3211         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3212         <bp-checks.h>.
3213         (__chown): Do not use CHECK_STRING.
3214         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3215         <bp-checks.h>.
3216         (truncate64): Do not use CHECK_STRING.
3217         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3218         Likewise.
3219         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3220         (__xmknod): Do not use CHECK_STRING.
3221         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3222         <bp-checks.h>.
3223         (__xmknodat): Do not use CHECK_STRING.
3224         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3225         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3226
3227 2013-02-04  Andreas Schwab  <schwab@suse.de>
3228
3229         [BZ #14142]
3230         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3231         * include/netdb.h: Likewise for h_errno.
3232         * elf/tst-stackguard1.c: Include <tls.h>.
3233
3234 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3235
3236         * elf/link.h (struct link_map): Extend the l_addr comment.
3237         * include/link.h (struct link_map): Likewise.
3238
3239 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3240
3241         [BZ #13550]
3242         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3243         (BOUNDED_1): Remove macro.
3244         * debug/backtrace.c: Don't include <bp-checks.h>.
3245         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3246         (__backtrace): Likewise.
3247         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3248         <bp-checks.h>.
3249         (__backtrace): Don't use BOUNDED_1.
3250         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3251         <bp-checks.h>.
3252         (__backtrace): Don't use BOUNDED_1.
3253         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3254         (__backtrace): Don't use BOUNDED_1.
3255         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3256         (shmat): Don't use BOUNDED_N.
3257
3258 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3259
3260         [BZ #13550]
3261         * sysdeps/generic/bp-start.h: Remove file.
3262         * csu/libc-start.c: Don't include <bp-start.h>.
3263         (LIBC_START_MAIN): Set up __environ directly instead of using
3264         INIT_ARGV_and_ENVIRON.
3265         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3266         <bp-start.h>.
3267
3268         [BZ #13550]
3269         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3270         definitions.
3271         (CHECK_FCNTL): Likewise.
3272         (CHECK_N_PAGES): Likewise.
3273
3274         [BZ #13550]
3275         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3276         definitions.
3277         (CHECK_SIGSET_NULL_OK): Likewise.
3278         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3279         <bp-checks.h>.
3280         (sigpending): Don't use CHECK_SIGSET.
3281         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3282         <bp-checks.h>.
3283         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3284         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3285         <bp-checks.h>.
3286         (do_sigsuspend): Don't use CHECK_SIGSET.
3287         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3288         use CHECK_SIGSET.
3289         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3290         (do_sigwait): Don't use CHECK_SIGSET.
3291         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3292         use CHECK_SIGSET.
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3294         include <bp-checks.h>.
3295         (sigpending): Don't use CHECK_SIGSET.
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3297         include <bp-checks.h>.
3298         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3299         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3300         <bp-checks.h>.
3301         (sigpending): Don't use CHECK_SIGSET.
3302         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3303         <bp-checks.h>.
3304         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3305
3306         [BZ #13550]
3307         * sysdeps/generic/bp-semctl.h: Remove file.
3308         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3309         <bp-checks.h> and <bp-semctl.h>.
3310         (__old_semctl): Don't use CHECK_SEMCTL.
3311         (__new_semctl): Likewise.
3312         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3313         and <bp-semctl.h>.
3314         (__old_semctl): Don't use CHECK_SEMCTL.
3315         (__new_semctl): Likewise.
3316         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3317         <bp-checks.h> and <bp-semctl.h>.
3318         (__old_semctl): Don't use CHECK_SEMCTL.
3319         (__new_semctl): Likewise.
3320         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3321         <bp-checks.h> and <bp-semctl.h>.
3322         (semctl): Don't use CHECK_SEMCTL.
3323
3324         [BZ #13550]
3325         * Makerules (elide-bp-thunks): Remove variable.
3326         (elide-routines.oS): Don't use $(elide-bp-thunks).
3327         (elide-routines.os): Likewise.
3328         (elide-routines.o): Likewise.
3329         (elide-routines.op): Likewise.
3330         (elide-routines.og): Likewise.
3331         (objects): Don't use $(bp-thunks).
3332         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3333         include.
3334         (common-generated): Do not add s-proto-bp.d.
3335         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3336         (int): Likewise.
3337         (typ): Likewise.
3338         Do not generate makefile rules for bounded-pointer thunks.
3339         * sysdeps/generic/bp-thunks.h: Remove file.
3340         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3341         * sysdeps/unix/s-proto-bp.S: Likewise.
3342
3343         [BZ #15062]
3344         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3345         parts of result separately when argument is not close to line from
3346         -i to i and one part of argument is small.
3347         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3348         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3349         * math/libm-test.inc (cacos_test): Add more tests.
3350         (casin_test): Likewise.
3351         (casinh_test): Likewise.
3352         * sysdeps/i386/fpu/libm-test-ulps: Update.
3353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354
3355 2013-01-31  David S. Miller  <davem@davemloft.net>
3356
3357         * po/de.po: Update from translation team.
3358
3359 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3360
3361         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3362
3363 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3364
3365         * configure.in (_AC_PROG_CC_C89): New definition.
3366         * configure: Regenerate.
3367
3368         * configure.in (AC_PROG_CPP): New definition.
3369         * configure: Regenerate.
3370
3371 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3372
3373         * debug/tst-backtrace.h: New file.
3374         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3375         (ret): Remove variable.
3376         (x): Likewise.
3377         (FAIL): Remove macro.
3378         (NO_INLINE): Likewise.
3379         (fn1): Use match function instead of strstr.
3380         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3381         (ret): Remove variable.
3382         (x): Likewise.
3383         (FAIL): Remove macro.
3384         (NO_INLINE): Likewise.
3385         (fn): Use match function instead of strstr.
3386         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3387         (ret): Remove variable.
3388         (x): Likewise.
3389         (FAIL): Remove macro.
3390         (NO_INLINE): Likewise.
3391         (handle_signal): Use match function instead of strstr.
3392         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3393         (ret): Remove variable.
3394         (x): Likewise.
3395         (FAIL): Remove macro.
3396         (NO_INLINE): Likewise.
3397         (handle_signal): Use match function instead of strstr.
3398
3399 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3400
3401         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3402
3403 2013-01-23  David S. Miller  <davem@davemloft.net>
3404
3405         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3406         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3407         argument of CAS if possible.
3408         * sysdeps/sparc/sparc64/bits/atomic.h
3409         (__arch_compare_and_exchange_val_32_acq): Likewise.
3410         (__arch_compare_and_exchange_val_64_acq): Likewise.
3411
3412 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3413
3414         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3415         * sysdeps/posix/ulimit.c: ... this.
3416         Include <limits.h>.
3417         * sysdeps/unix/bsd/ulimit.c: Remove file.
3418
3419 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3420
3421         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3422         (LDFLAGS-tst-array5): Likewise.
3423
3424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3425
3426         [BZ #15036]
3427         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3428         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3429         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3430         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3431
3432 2013-01-21  David S. Miller  <davem@davemloft.net>
3433
3434         * sysdeps/sparc/backtrace.c: New file.
3435         * sysdeps/sparc/sparc32/backtrace.h: New file.
3436         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3437         * sysdeps/sparc/sparc64/backtrace.h: New file.
3438         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3439         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3440         -funwind-tables.
3441
3442 2013-01-21  Andreas Schwab  <schwab@suse.de>
3443
3444         [BZ #15020]
3445         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3446         closed its stdout.
3447
3448 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3449
3450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3451         "mpa2.h".
3452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3453
3454 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3455             Mark Mitchell  <mark@codesourcery.com>
3456             Tom de Vries  <tom@codesourcery.com>
3457             Paul Pluzhnikov  <ppluzhnikov@google.com>
3458
3459         * debug/tst-backtrace2.c: New file.
3460         * debug/tst-backtrace3.c: Likewise.
3461         * debug/tst-backtrace4.c: Likewise.
3462         * debug/tst-backtrace5.c: Likewise.
3463         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3464         (CFLAGS-tst-backtrace3.c): Likewise.
3465         (CFLAGS-tst-backtrace4.c): Likewise.
3466         (CFLAGS-tst-backtrace5.c): Likewise.
3467         (LDFLAGS-tst-backtrace2): Likewise.
3468         (LDFLAGS-tst-backtrace3): Likewise.
3469         (LDFLAGS-tst-backtrace4): Likewise.
3470         (LDFLAGS-tst-backtrace5): Likewise.
3471         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3472         tst-backtrace4 and tst-backtrace5.
3473
3474 2013-01-18  Anton Blanchard  <anton@samba.org>
3475             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3476
3477         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3478         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3479         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3480         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3482         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3483         "+r" and remove output regs list as redundant.  Add explicit inline
3484         asm to specify register of return val to work around compiler codegen
3485         bug.  Remove (int) cast on return value.  Add return type parameter to
3486         use in macro so that this macro does not truncate return value for
3487         64-bit values.
3488         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3489         pass to INTERNAL_VSYSCALL_NCS.
3490         (INLINE_VSYSCALL): Add 'long int' as return type to
3491         INTERNAL_VSYSCALL_NCS macro invocation.
3492         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3493         INTERNAL_VSYSCALL_NCS macro invocation.
3494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3495
3496 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3497
3498         [BZ #14496]
3499         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3500         Fix application of SIMD FP exception mask.
3501
3502         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3503         mp_no from a power of two.
3504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3505         __mpexp_twomm1.  Use __pow_mp.
3506
3507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3508         multiplication.
3509
3510 2013-01-17  David S. Miller  <davem@davemloft.net>
3511
3512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3513
3514 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3515
3516         [BZ #15023]
3517         * include/complex.h: Condition contents on [!_COMPLEX_H].
3518         (__kernel_casinhf): New prototype.
3519         (__kernel_casinh): Likewise.
3520         (__kernel_casinhl): Likewise.
3521         * math/Makefile (libm_calls): Add k_casinh.
3522         * math/k_casinh.c: New file.
3523         * math/k_casinhf.c: Likewise.
3524         * math/k_casinhl.c: Likewise.
3525         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3526         finite nonzero arguments.
3527         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3528         finite nonzero arguments.
3529         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3530         finite nonzero arguments.
3531         * math/s_casinh.c: Do not include <float.h>.
3532         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3533         * math/s_casinhf.c: Do not include <float.h>.
3534         (__casinhf): Move code for finite nonzero arguments to
3535         k_casinhf.c.
3536         * math/s_casinhl.c: Do not include <float.h>.
3537         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3538         redefine.
3539         (__casinhl): Move code for finite nonzero arguments to
3540         k_casinhl.c.
3541         * math/libm-test.inc (cacos_test): Add more tests.
3542         * sysdeps/i386/fpu/libm-test-ulps: Update.
3543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3544
3545 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3546
3547         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3548         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3549         [!HAVE_MREMAP]: Remove [defined linux] case.
3550         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3551
3552 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3553
3554         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3555
3556 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3557
3558         * elf/elf.h (R_386_SIZE32): New relocation.
3559         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3560         R_386_SIZE32.
3561         (elf_machine_rela): Likewise.
3562         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3563         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3564
3565 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3566
3567         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3568         (FP_FAST_FMA): Do not define.
3569         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3570         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3571         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3572         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3573         !_SOFT_FLOAT]: Likewise.
3574         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3575         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3576         value.
3577         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3578         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3579         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3580         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3581         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3582         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3583         file.
3584
3585 2013-01-16  Andreas Schwab  <schwab@suse.de>
3586
3587         [BZ #14327]
3588         * include/stdlib.h (__mktemp): Add declaration.
3589         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3590         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3591
3592 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3593
3594         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3595         definitions.
3596         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3597         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3598         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3599         definitions here.
3600         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3601         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3602         definitions.
3603         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3604         and ONE.
3605         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3606         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3607         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3608         definitions.
3609         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3610         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3611         definitions.
3612         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3613
3614         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3615
3616 2013-01-15  David S. Miller  <davem@davemloft.net>
3617
3618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3619         trunc{,f} to libm-sysdep_routes.
3620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3622         file.
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3625         file.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3627         file.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3630         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3631         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3632         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3633         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3634         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3635         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3636
3637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3638         nearbyint{,f} to libm-sysdep_routes.
3639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3641         New file.
3642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3643         file.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3645         New file.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3647         file.
3648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3650         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3651         file.
3652         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3653         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3654         file.
3655         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3656         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3657         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3658
3659         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3660         libc_feholdexcept and libc_fesetenv.
3661
3662 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3663
3664         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3665
3666 2013-01-14  David S. Miller  <davem@davemloft.net>
3667
3668         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3669         (SPARC_ASM_VIS2_IFUNC): Likewise.
3670         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3672         use of 'siam' instruction.
3673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3674         Likewise.
3675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3676         Likewise.
3677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3678         Likewise.
3679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3684         file.
3685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3686         file.
3687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3688         file.
3689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3690         file.
3691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3696         new VIS2 routines.
3697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3700         Likewise.
3701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3706         routines to libm-sysdep_routines.
3707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3708
3709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3710         fdim/fdimf to libm-sysdep_routines.
3711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3712         file.
3713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3715         file.
3716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3719         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3720         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3721         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3722         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3723
3724 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3725
3726         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3727         to optimize copies.
3728
3729         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3732
3733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3734         local variable MPTWO.
3735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3736         Likewise.
3737
3738 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3739
3740         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3741         GLOB_NOESCAPE.
3742
3743 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3744
3745         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3746
3747 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3748
3749         * manual/pattern.texi (glob_t): Document gl_flags.
3750         (glob64_t): Likewise.
3751
3752 2013-01-11  David S. Miller  <davem@davemloft.net>
3753
3754         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3755         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3756         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3757         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3758         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3759         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3760         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3761         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3762         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3763         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3764         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3765         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3766         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3767
3768         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3769         sparc V9 rather than using V8 code.
3770         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3771         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3772
3773         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3774         Move to...
3775         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3776         Here.
3777
3778 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3779
3780         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3781         not in the main loop.
3782         * configure: Regenerated.
3783
3784 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3785
3786         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3787         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3788         to just #else.
3789         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3790         [!__GLIBC_HAVE_LONG_LONG] case.
3791         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3792         condition to just #else.
3793         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3794         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3795         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3796         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3797         unconditional.
3798         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3799         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3800         #elif condition to just #else.
3801         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3802         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3803         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3804         #elif condition to just #else.
3805
3806 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3807
3808         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3809         (EF_MIPS_ARCH_64): Fix value.
3810         (EF_MIPS_ARCH_32R2): New.
3811         (EF_MIPS_ARCH_64R2): New.
3812
3813 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3814
3815         * Makeconfig (+link-pie-before-libc): New.
3816         (+link-pie-after-libc): Likewise.
3817         (+link-pie-tests): Likewise.
3818         (+link-pie): Rewritten.
3819         (link-before-libc): Remove $(config-LDFLAGS).
3820         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3821         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3822         (config-LDFLAGS): Renamed to ...
3823         (rtld-LDFLAGS): This.
3824         (rtld-tests-LDFLAGS): New macro.
3825         (link-libc-rpath-link): Likewise.
3826         (link-libc-tests-rpath-link): Likewise.
3827         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3828         (link-libc): Prepand $(link-libc-rpath-link).
3829         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3830         (test-program-prefix): New macro.
3831         (test-via-rtld-prefix): Likewise.
3832         (test-program-cmd): Likewise.
3833         (host-test-program-cmd): Likewise.
3834         * Makefile ($(common-objpfx)testrun.sh): Replace
3835         $(run-program-prefix) with $(test-program-prefix).
3836         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3837         $(rtld-LDFLAGS).
3838         ($(common-objpfx)shlib.lds): Likewise.
3839         (build-module-helper): Likewise.
3840         ($(common-objpfx)format.lds): Likewise.
3841         * Rules (binaries-pie-tests): New.
3842         (binaries-pie-notests): Likewise.
3843         (binaries-pie): Rewritten.
3844         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3845         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3846         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3847         (make-test-out): Replace $(host-built-program-cmd) with
3848         $(host-test-program-cmd).
3849         * config.make.in (build-hardcoded-path-in-tests): New variable.
3850         * configure.in (--enable-hardcoded-path-in-tests): New configure
3851         option.
3852         (hardcoded_path_in_tests): New AC_SUBST.
3853         * configure: Regenerated.
3854         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3855         $(built-program-cmd) with $(test-program-cmd).
3856         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3857         (test_program_cmd): This.
3858         * elf/Makefile ($(objpfx)order.out): Run test with
3859         $(test-program-prefix).
3860         ($(objpfx)order2.out): Likewise.
3861         ($(objpfx)tst-initorder.out): Likewise.
3862         ($(objpfx)tst-initorder2.out): Likewise.
3863         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3864         $(test-program-cmd).
3865         ($(objpfx)tst-array1-static.out): Likewise.
3866         ($(objpfx)tst-array2.out): Likewise.
3867         ($(objpfx)tst-array3.out): Likewise.
3868         ($(objpfx)tst-array4.out): Likewise.
3869         ($(objpfx)tst-array5.out): Likewise.
3870         ($(objpfx)tst-array5-static.out): Likewise.
3871         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3872         $(test-program-cmd).
3873         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3874         $(run-program-prefix) with $(test-program-prefix).
3875         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3876         (test_program_prefix): This.
3877         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3878         $(run-program-prefix) with $(test-program-prefix).
3879         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3880         (test_program_prefix): This.
3881         * iconvdata/tst-tables.sh: Likewise.
3882         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3883         $(run-program-prefix) with $(test-program-prefix).
3884         ($(objpfx)tst-translit.out): Likewise.
3885         ($(objpfx)tst-gettext2.out): Likewise.
3886         ($(objpfx)tst-gettext4.out): Likewise.
3887         ($(objpfx)tst-gettext6.out): Likewise.
3888         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3889         (test_program_prefix): This.
3890         * intl/tst-gettext2.sh: Likewise.
3891         * intl/tst-gettext4.sh  Likewise.
3892         * intl/tst-gettext6.sh: Likewise.
3893         * intl/tst-translit.sh: Likewise.
3894         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3895         with $(test-program-cmd).
3896         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3897         $(run-program-prefix) with $(test-program-prefix).
3898         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3899         (test_program_prefix): This.
3900         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3901         $(run-program-prefix) with $(test-program-prefix).
3902         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3903         (test_program_prefix): This.
3904         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3905         * posix/Makefile ($(objpfx)globtest.out): Replace
3906         $(run-via-rtld-prefix) and $(test-wrapper) with
3907         $(test-program-prefix) and $(test-via-rtld-prefix).
3908         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3909         $(test-program-prefix).
3910         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3911         $(host-test-program-cmd).
3912         (tst-spawn-ARGS): Likewise.
3913         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3914         $(test-program-prefix).
3915         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3916         (test_via_rtld_prefix): This.
3917         (test_wrapper): Renamed to ...
3918         (test_program_prefix): This.
3919         (run_program_prefix): Replaced by test_program_prefix.
3920         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3921         (test_program_prefix): This.
3922         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3923         with $(host-test-program-cmd).
3924         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3925         $(run-program-prefix) with $(test-program-prefix).
3926         ($(objpfx)tst-printf.out): Likewise.
3927         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3928         $(test-program-cmd).
3929         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3930         (test_program_prefix): This.
3931         * stdio-common/tst-unbputc.sh: Likewise.
3932         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3933         $(run-program-prefix) with $(test-program-prefix).
3934         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3935         (test_program_prefix): This.
3936         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3937         $(built-program-cmd) with $(test-program-cmd).
3938
3939 2013-01-11  Andreas Jaeger  <aj@suse.de>
3940
3941         [BZ #15003]
3942         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3943         value. Sync with Linux 3.7.
3944
3945 2013-01-10  David S. Miller  <davem@davemloft.net>
3946
3947         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3948         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3949         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3950
3951 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3952
3953         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3954         never set.
3955         * configure: Regenerated.
3956
3957 2013-01-10  David S. Miller  <davem@davemloft.net>
3958
3959         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3960         sparc V9 rather than using V8 code.
3961         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3962         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3963
3964 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3965
3966         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3967         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3968         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3969         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3970         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3971         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3972         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3973         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3974         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3975         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3976         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3977         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3978         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3979         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3980         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3981         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3982         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3983         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3984         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3985         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3986         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3987         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3988         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3989         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3990         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3991         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3992         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3993
3994 2013-01-10  David S. Miller  <davem@davemloft.net>
3995
3996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3997
3998 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3999
4000         * posix/Makefile (tests-static): New variable.
4001         (tests): Add $(tests-static).
4002         (tst-exec-static-ARGS): New variable.
4003         (tst-spawn-static-ARGS): Likewise.
4004         * posix/tst-exec-static.c: New file.
4005         * posix/tst-spawn-static.c: Likewise.
4006         * posix/tst-exec.c: Support run directly.
4007         * posix/tst-spawn.c: Likewise.
4008
4009 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4010
4011         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4012         long.
4013         * math/bits/mathcalls.h (llrint): Likewise.
4014         (llround): Likewise.
4015         * stdlib/stdlib.h (struct drand48_data): Likewise.
4016         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4017         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4018         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4019         Likewise.
4020         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4021         Likewise.
4022         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4023         (elf_greg_t): Likewise.
4024         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4025         (__jmp_buf): Likewise.
4026         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4027         definitions.
4028         (llrint): Likewise, for all definitions.
4029         (llrintl): Likewise.
4030
4031         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4032         Remove [__GNUC__] condition.
4033         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4034         condition to just [__USE_ISOC99].
4035         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4036
4037 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4038
4039         [BZ #14200]
4040         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4041         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4042         defined.
4043         (_POSIX_V6_ILP32_OFF32): Likewise.
4044         (_XBS5_ILP32_OFF32): Likewise.
4045         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4046         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4047
4048 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4049
4050         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4051
4052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4053         doubles __mpexp_twomm1.  Adjust usage.
4054         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4055         Remove.
4056
4057 2013-01-10  Andreas Schwab  <schwab@suse.de>
4058
4059         [BZ #14964]
4060         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4061         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4062
4063 2013-01-09  David S. Miller  <davem@davemloft.net>
4064
4065         [BZ #15003]
4066         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4067         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4068         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4069         TCP_FASTOPEN): Define.
4070         (tcp_repair_opt): New structure.
4071         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4072         enum values.
4073         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4074         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4075         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4076         (tcp_cookie_transactions): New structure.
4077
4078 2013-01-09  Anton Blanchard  <anton@samba.org>
4079
4080         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4081         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4082         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4083         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4084
4085 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4086
4087         * include/features.h (__USE_ANSI): Remove.
4088
4089 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4090
4091         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4092
4093         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4094
4095 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4096
4097         * sysdeps/s390/fpu/libm-test-ulps: Update.
4098
4099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4100
4101         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4102         (__acr): Likewise.
4103         (__cpy): Likewise.
4104         (norm): Likewise.
4105         (denorm): Likewise.
4106         (__mp_dbl): Likewise.
4107         (__dbl_mp): Likewise.
4108         (add_magnitudes): Likewise.
4109         (sub_magnitudes): Likewise.
4110         (__add): Likewise.
4111         (__sub): Likewise.
4112         (__mul): Likewise.
4113         (__inv): Likewise.
4114         (__dvd): Likewise.
4115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4116         (__acr): Likewise.
4117         (__cpy): Likewise.
4118         (norm): Likewise.
4119         (denorm): Likewise.
4120         (__mp_dbl): Likewise.
4121         (__dbl_mp): Likewise.
4122         (add_magnitudes): Likewise.
4123         (sub_magnitudes): Likewise.
4124         (__add): Likewise.
4125         (__sub): Likewise.
4126         (__mul): Likewise.
4127         (__inv): Likewise.
4128         (__dvd): Likewise.
4129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4130         (__acr): Likewise.
4131         (__cpy): Likewise.
4132         (norm): Likewise.
4133         (denorm): Likewise.
4134         (__mp_dbl): Likewise.
4135         (__dbl_mp): Likewise.
4136         (add_magnitudes): Likewise.
4137         (sub_magnitudes): Likewise.
4138         (__add): Likewise.
4139         (__sub): Likewise.
4140         (__mul): Likewise.
4141         (__inv): Likewise.
4142         (__dvd): Likewise.
4143
4144 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4145
4146         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4147         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4148         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4149         2 && __USE_EXTERN_INLINES]: Likewise.
4150
4151 2013-01-08  Andreas Jaeger  <aj@suse.de>
4152
4153         [BZ# 14985]
4154         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4155         Remove.
4156         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4157         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4158
4159 2013-01-07  Anton Blanchard  <anton@samba.org>
4160
4161         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4162         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4163         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4164         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4165         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4166         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4167         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4168         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4170         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4171         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4172         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4173         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4174         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4175         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4176         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4177         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4179         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4180         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4181         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4182         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4183         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4184         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4185         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4186         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4187         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4188         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4189         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4190         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4191         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4193         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4194         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4195         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4196         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4197         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4198         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4199         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4200         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4201         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4202         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4203         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4204
4205 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4206
4207         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4208         (__MALLOC_PMT): Likewise.
4209         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4210         [__GNUC__], only on [_LIBC].
4211         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4212         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4213         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4214         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4215         forward declaration.
4216         (realloc_hook_ini): Likewise.
4217         (memalign_hook_ini): Likewise.
4218         (__libc_memalign): Do not use __MALLOC_PMT in variable
4219         declaration.
4220         (__libc_valloc): Likewise.
4221         (__libc_pvalloc): Likewise.
4222         (__libc_calloc): Likewise.
4223         (__posix_memalign): Likewise.
4224
4225         [BZ #14996]
4226         * math/s_casinh.c: Include <float.h>.
4227         (__casinh): Do not do computation with squaring and square root
4228         for large arguments.
4229         * math/s_casinhf.c: Include <float.h>.
4230         (__casinhf): Do not do computation with squaring and square root
4231         for large arguments.
4232         * math/s_casinhl.c: Include <float.h>.
4233         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4234         (__casinhl): Do not do computation with squaring and square root
4235         for large arguments.
4236         * math/libm-test.inc (casin_test): Add more tests.
4237         (casinh_test): Likewise.
4238         * sysdeps/i386/fpu/libm-test-ulps: Update.
4239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4240
4241 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4242
4243         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4244         (__x86_64_raw_data_cache_size): Likewise.
4245         (__x86_64_data_cache_size_half): Likewise.
4246         (__x86_64_raw_data_cache_size_half): Likewise.
4247         (__x86_64_shared_cache_size): Likewise.
4248         (__x86_64_raw_shared_cache_size): Likewise.
4249         (__x86_64_shared_cache_size_half): Likewise.
4250         (__x86_64_raw_shared_cache_size_half): Likewise.
4251         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4252         to ...
4253         (__x86_data_cache_size): This.
4254         (__x86_64_raw_data_cache_size): Renamed to ...
4255         (__x86_raw_data_cache_size): This.
4256         (__x86_64_data_cache_size_half): Renamed to ...
4257         (__x86_data_cache_size_half): This.
4258         (__x86_64_raw_data_cache_size_half): Renamed to ...
4259         (__x86_raw_data_cache_size_half): This.
4260         (__x86_64_shared_cache_size): Renamed to ...
4261         (__x86_shared_cache_size): This.
4262         (__x86_64_raw_shared_cache_size): Renamed to ...
4263         (__x86_raw_shared_cache_size): This.
4264         (__x86_64_shared_cache_size_half): Renamed to ...
4265         (__x86_shared_cache_size_half): This.
4266         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4267         (__x86_raw_shared_cache_size_half): This.
4268         * sysdeps/x86_64/memcpy.S: Updated.
4269         * sysdeps/x86_64/memset.S: Likewise.
4270         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4271         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4272         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4273
4274 2013-01-04  David S. Miller  <davem@davemloft.net>
4275
4276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4277
4278 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4279
4280         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4281         1 to avoid redefinition warning.
4282         (__USE_GNU): Don't define.
4283         (init_signaling_nan): Protoize.
4284
4285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4286
4287 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4288
4289         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4291         (__cpymn): Likewise.
4292         (norm): Remove commented code.
4293         (denorm): Likewise.
4294         (__mp_dbl): Likewise.
4295         (__inv): Likewise.
4296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4297         (__cpymn): Likewise.
4298         (norm): Remove commented code.
4299         (denorm): Likewise.
4300         (__mp_dbl): Likewise.
4301         (__inv): Likewise.
4302
4303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4304         mp_no value for 1.0 and 2.0.
4305         (norm): Use RADIXI instead of radixi.d.
4306         (denorm): Likewise.
4307         (__mul): Use 0.0 instead of zero.d.
4308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4309         mp_no value for 1.0 and 2.0.
4310         (norm): Use RADIXI instead of radixi.d.
4311         (denorm): Likewise.
4312         (__mul): Use 0.0 instead of zero.d.
4313
4314 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4315
4316         [BZ #14994]
4317         * math/s_casinh.c (__casinh): Reduce finite argument to first
4318         quadrant then set signs of results at the end.
4319         * math/s_casinhf.c (__casinhf): Likewise.
4320         * math/s_casinhl.c (__casinhl): Likewise.
4321         * math/libm-test.inc (casin_test): Add more tests.
4322         (casinh_test): Likewise.
4323         * sysdeps/i386/fpu/libm-test-ulps: Update.
4324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4325
4326 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4327
4328         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4329
4330         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4331
4332         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4333         declarations.
4334         (denorm): Likewise.
4335         (__mp_dbl): Likewise.
4336         (__inv): Likewise.
4337
4338         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4339         and adjust the header comment.
4340
4341         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4342         variable name from declaration.
4343
4344 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4345
4346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4347         Initialize COMMON_CPUID_INDEX_7 element.
4348         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4349         (CPUID_RTM): Likewise.
4350         (HAS_RTM): Likewise.
4351         (COMMON_CPUID_INDEX_7): New enum.
4352
4353 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4354
4355         [BZ #14981]
4356         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4357         size is zero, record memory as freed.
4358
4359 2013-01-03  Andreas Jaeger  <aj@suse.de>
4360
4361         * po/ia.po: Add new Interlingua translation.
4362
4363 2012-01-03  Allan McRae  <allan@archlinux.org>
4364
4365         * locale/programs/localedef.c: Fix description of '--posix' flag.
4366
4367 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4368
4369         * NEWS: Update dates in second copyright notice.
4370         * README: Update copyright dates in example.
4371         * manual/libc.texinfo: Update copyright dates.
4372         * scripts/test-installation.pl: Update copyright date in --version
4373         output.
4374
4375         * hurd/ctty-input.c: Fix copyright notice formatting.
4376         * hurd/ctty-output.c: Likewise.
4377         * hurd/dtable.c: Likewise.
4378         * hurd/hurd-raise.c: Likewise.
4379         * hurd/hurdprio.c: Likewise.
4380         * hurd/msgportdemux.c: Likewise.
4381         * misc/sys/file.h: Likewise.
4382         * misc/sys/ioctl.h: Likewise.
4383         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4384         * sysdeps/mach/hurd/chdir.c: Likewise.
4385         * sysdeps/mach/hurd/fchdir.c: Likewise.
4386         * sysdeps/mach/hurd/rename.c: Likewise.
4387         * sysdeps/mach/hurd/rmdir.c: Likewise.
4388         * sysdeps/mach/hurd/seekdir.c: Likewise.
4389         * sysdeps/mach/hurd/setsid.c: Likewise.
4390         * sysdeps/posix/wait3.c: Likewise.
4391
4392         * All files with FSF copyright notices: Update copyright dates
4393         using scripts/update-copyrights.
4394         * intl/plural.c: Regenerated.
4395         * locale/programs/charmap-kw.h: Likewise.
4396         * locale/programs/locfile-kw.h: Likewise.
4397
4398 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4399
4400         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4401         four values.
4402
4403         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4404         calculation loop and add branch prediction.
4405
4406         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4407         check access beyond bounds of m1np.
4408
4409         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4410         MPTWO.
4411         (__inv): Remove local variable MPTWO to use the global
4412         constant.
4413         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4415         variable MPTWO.
4416         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4417         MP3HALFS static const.
4418
4419 2013-01-01  David S. Miller  <davem@davemloft.net>
4420
4421         * po/ca.po: Update from translation team.
4422
4423 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4424
4425         * scripts/update-copyrights: New file.
4426         * Makeconfig: Reformat copyright notice.
4427         * ctype/ctype.h: Likewise.
4428         * debug/swprintf_chk.c: Likewise.
4429         * elf/dl-cache.c: Likewise.
4430         * elf/dl-debug.c: Likewise.
4431         * elf/dl-object.c: Likewise.
4432         * grp/initgroups.c: Likewise.
4433         * hurd/Makefile: Likewise.
4434         * hurd/hurd/signal.h: Likewise.
4435         * hurd/hurdfault.c: Likewise.
4436         * hurd/hurdioctl.c: Likewise.
4437         * hurd/hurdlookup.c: Likewise.
4438         * hurd/intr-msg.c: Likewise.
4439         * iconv/gconv_open.c: Likewise.
4440         * libio/swprintf.c: Likewise.
4441         * locale/lc-ctype.c: Likewise.
4442         * locale/nl_langinfo.c: Likewise.
4443         * mach/Machrules: Likewise.
4444         * mach/Makefile: Likewise.
4445         * malloc/obstack.h: Likewise.
4446         * manual/Makefile: Likewise.
4447         * manual/tsort.awk: Likewise.
4448         * misc/bits/stab.def: Likewise.
4449         * nis/nis_print_group_entry.c: Likewise.
4450         * nis/nis_table.c: Likewise.
4451         * nis/nss_compat/compat-pwd.c: Likewise.
4452         * nis/nss_compat/compat-spwd.c: Likewise.
4453         * po/Makefile: Likewise.
4454         * posix/fnmatch.c: Likewise.
4455         * posix/regex.h: Likewise.
4456         * resolv/Makefile: Likewise.
4457         * resolv/nss_dns/dns-network.c: Likewise.
4458         * resolv/res_hconf.c: Likewise.
4459         * scripts/gen-sorted.awk: Likewise.
4460         * soft-fp/soft-fp.h: Likewise.
4461         * stdio-common/printf.h: Likewise.
4462         * stdlib/monetary.h: Likewise.
4463         * stdlib/random.c: Likewise.
4464         * stdlib/random_r.c: Likewise.
4465         * sysdeps/generic/Makefile: Likewise.
4466         * sysdeps/gnu/Makefile: Likewise.
4467         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4468         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4469         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4470         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4471         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4474         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4475         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4476         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4477         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4478         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4479         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4480         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4481         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4482         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4483         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4484         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4485         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4486         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4487         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4488         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4489         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4490         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4491         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4492         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4493         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4494         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4495         * sysdeps/mach/hurd/errnos.awk: Likewise.
4496         * sysdeps/mach/hurd/fork.c: Likewise.
4497         * sysdeps/mach/hurd/getcwd.c: Likewise.
4498         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4499         * sysdeps/mach/hurd/mmap.c: Likewise.
4500         * sysdeps/mach/hurd/utimes.c: Likewise.
4501         * sysdeps/mach/hurd/xmknod.c: Likewise.
4502         * sysdeps/posix/profil.c: Likewise.
4503         * sysdeps/posix/readdir_r.c: Likewise.
4504         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4505         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4506         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4507         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4509         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4510         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4511         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4513         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4514         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4515         * sysdeps/pthread/lio_listio.c: Likewise.
4516         * sysdeps/sparc/dl-procinfo.h: Likewise.
4517         * sysdeps/unix/i386/sysdep.S: Likewise.
4518         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4519         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4520         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4521         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4523         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4524         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4525         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4526         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4527         * sysdeps/wordsize-32/divdi3.c: Likewise.
4528         * time/sys/time.h: Likewise.
4529         * wcsmbs/Makefile: Likewise.
4530
4531 2013-01-01  David S. Miller  <davem@davemloft.net>
4532
4533         * po/fr.po: Update from translation team.
4534
4535         * catgets/gencat.c: Update copyright year.
4536         * csu/version.c: Likewise.
4537         * debug/catchsegv.sh: Likewise.
4538         * debug/pcprofiledump.c: Likewise.
4539         * debug/xtrace.sh: Likewise.
4540         * elf/ldconfig.c: Likewise.
4541         * elf/ldd.bash.in: Likewise.
4542         * elf/pldd.c: Likewise.
4543         * elf/sotruss.ksh: Likewise.
4544         * elf/sprof.c: Likewise.
4545         * iconv/iconv_prog.c: Likewise.
4546         * iconv/iconvconfig.c: Likewise.
4547         * locale/programs/locale.c: Likewise.
4548         * locale/programs/localedef.c: Likewise.
4549         * login/programs/pt_chown.c: Likewise.
4550         * malloc/memusage.sh: Likewise.
4551         * malloc/memusagestat.c: Likewise.
4552         * malloc/mtrace.pl: Likewise.
4553         * nscd/nscd.c: Likewise.
4554         * nss/getent.c: Likewise.
4555         * nss/makedb.c: Likewise.
4556         * posix/getconf.c: Likewise.
4557
4558 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4559
4560         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4561         numbers.
4562
4563 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4564
4565         * math/bits/mathcalls.h (modf): Use __nonnull.
4566
4567 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4568
4569         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4570         (split): Use macro CN instead of the bare value.
4571         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4572         could be used.
4573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4574         instead of the bare value.
4575         (power1): Likewise.
4576
4577 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4578
4579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4580         __ATAN_TWOM.
4581         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4582
4583         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4584         their values.
4585         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4586         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4587         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4588         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4589
4590 2012-12-28  Andreas Jaeger  <aj@suse.de>
4591
4592         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4593         values are from Linux 3.7.
4594
4595         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4596         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4597
4598 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4599
4600         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4601         TRUE case.
4602
4603         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4604         (norm): Likewise.
4605         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4606         variables with preprocessor constants.
4607         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4608         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4609         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4610
4611 2012-12-27  Bruno Haible  <bruno@clisp.org>
4612
4613         [BZ #14317]
4614         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4615         only if needed.
4616
4617 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4618
4619         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4620         and use variable directly.
4621         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4622
4623         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4624         MPONE.
4625         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4626         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4627         variable MPONE.
4628         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4629         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4630         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4631         include directive.  Remove local variable MPONE.
4632         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4633         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4634         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4635
4636 2012-12-25  David S. Miller  <davem@davemloft.net>
4637
4638         * version.h (RELEASE): Set to "development".
4639         (VERSION): Set to "2.17.90".
4640         * NEWS: Add 2.18 section.
4641
4642 2012-12-21  David S. Miller  <davem@davemloft.net>
4643
4644         * po/hr.po: Update from translation team.
4645
4646 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4647
4648         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4649
4650 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4651
4652         * NEWS:  Mention new memcpy for MIPS.
4653
4654 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4655
4656         * manual/contrib.texi (Contributors): Spelling correction.
4657
4658 2012-12-15  David S. Miller  <davem@davemloft.net>
4659
4660         * po/ru.po: Update from translation team.
4661
4662 2012-12-13  David S. Miller  <davem@davemloft.net>
4663
4664         * NEWS: Mention IFUNC testsuite enhancements.
4665
4666         * po/pl.po: Update from translation team.
4667         * po/bg.po: Likewise.
4668
4669         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4670         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4671
4672 2012-12-11  David S. Miller  <davem@davemloft.net>
4673
4674         * po/sv.po: Update from translation team.
4675
4676         * po/vi.po: Update from translation team.
4677
4678         * po/cs.po: Update from translation team.
4679
4680         * po/de.po: Update from translation team.
4681         * po/eo.po: Likewise.
4682         * po/nl.po: Likewise.
4683
4684 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4685
4686         [BZ #14246]
4687         * manual/argp.texi (Argp Helper Functions): Move node to follow
4688         Argp Parsing State.
4689
4690         [BZ #14872]
4691         * manual/conf.texi (Limits on File System Capacity): Mention if
4692         terminating null is included in the max size.
4693
4694 2012-12-10  Andreas Jaeger  <aj@suse.de>
4695
4696         * po/cs.po: Update from translation team.
4697
4698 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4699
4700         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4701         void pointer and cast to uintptr_t.
4702         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4703         path.
4704         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4705         * sysdeps/s390/s390-64/memset.S: Likewise.
4706
4707 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4708
4709         [BZ #14833]
4710         * menual/message.texi (Message Translation): Fix typos.
4711         (Helper programs for gettext): Likewise.
4712
4713 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4714
4715         [BZ #14898]
4716         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4717         Change to -1.
4718
4719 2012-12-07  David S. Miller  <davem@davemloft.net>
4720
4721         * po/libc.pot: Update.
4722
4723 2012-12-07  Richard Henderson  <rth@redhat.com>
4724
4725         [BZ #10114]
4726         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4727         normal/normal case to before the switch.
4728         (_FP_DIV): Likewise.
4729
4730 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4731             Mike Frysinger  <vapier@gentoo.org>
4732
4733         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4734         check for __NR_fadvise64_64.
4735
4736 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4737
4738         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4739         0, not just to plain "0" as a statement.
4740         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4741         with cw.
4742
4743 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4744
4745         * NEWS: Use sourceware.org in Bugzilla URL.
4746
4747 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4748
4749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4750         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4751
4752         * stdio-common/tst-put-error.c (do_test): Add newline to the
4753         padded test to ensure flush.
4754
4755 2012-12-05  Jeff Law  <law@redhat.com>
4756
4757         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4758
4759 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4760
4761         * README: Don't refer to ports add-on as distributed separately.
4762         Mention AArch64 in list of systems supported in the ports add-on.
4763
4764         * LICENSES: Add more non-FSF copyright and license notices.
4765
4766         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4767         ((unused)).
4768
4769         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4770
4771         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4772         10000 as width of padded output.
4773
4774 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4775
4776         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4777
4778         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4779         variable LX with __attribute__ ((unused)).
4780         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4781         Likewise.
4782         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4784         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4785         with __attribute__ ((unused)).
4786
4787 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4788
4789         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4790
4791 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4792
4793         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4794         (CFLAGS-nldbl-acos.c): New variable.
4795         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4796         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4797         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4798         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4799         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4800         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4801         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4802         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4803         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4804         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4805         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4806         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4807         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4808         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4809         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4810         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4811         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4812         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4813         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4814         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4815         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4816         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4817         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4818         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4819         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4820         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4821         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4822         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4823         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4824         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4825         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4826         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4827         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4828         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4829         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4830         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4831         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4832         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4833         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4834         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4835         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4836         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4837         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4838         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4839         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4840         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4841         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4842         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4843         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4844         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4845         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4846         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4847         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4848         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4849         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4850         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4851         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4852         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4853         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4854         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4855         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4856         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4857         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4858         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4859         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4860         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4861         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4862         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4863         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4864         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4865         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4866         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4867         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4868         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4869         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4870         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4871         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4872         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4873         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4874         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4875         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4876         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4877         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4878         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4879         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4880         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4881         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4882         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4883         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4884         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4885         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4886         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4887         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4888         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4889         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4890         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4891         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4892
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4894         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4895
4896         [BZ #14914]
4897         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4898         whole low double instead of just low 47 bits when splitting values
4899         into two parts.
4900
4901 2012-12-03  Allan McRae  <allan@archlinux.org>
4902
4903         * manual/stdio.texi (Predefined Printf Handlers): Remove
4904         @hsep and @vsep usage.
4905
4906 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4907
4908         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4909         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4910
4911 2012-12-03  Jeff Law  <law@redhat.com>
4912
4913         * time/sys/time.h (settimeofday): Do not mark TV argument
4914         as __nonnull.
4915
4916 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4917
4918         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4919         when currently writing and seek to current position when not.
4920         * libio/Makefile (tests): Remove bug-fclose1.
4921         * libio/bug-fclose1.c: Delete.
4922
4923 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4924
4925         * manual/arith.texi (feenableexcept): Fix typo.
4926         (fedisableexcept): Likewise.
4927
4928 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4929
4930         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4931         second, differently-typed declaration, rather than a cast.
4932
4933 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4934
4935         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4936         * include/rpc/svc.h: ... here.
4937
4938 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4939
4940         [BZ #13013]
4941         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4942         depending n and resplen2 to catch cases where answer
4943         equals answerp2.
4944
4945 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4946
4947         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4948         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4949
4950 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4951
4952         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4953
4954 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4955
4956         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4957
4958 2012-11-28  Jeff Law  <law@redhat.com>
4959
4960         [BZ #13761]
4961         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4962         dataset_temporary.  Track alloca usage into alloca_used.
4963         If dataset is large allocate and release it via malloc/free.
4964
4965 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4966
4967         [BZ #14197]
4968         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4969
4970 2012-11-28  David S. Miller  <davem@davemloft.net>
4971
4972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4973
4974 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4975
4976         [BZ #14803]
4977         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4978         of pi/2 rounded to nearest to 64 bits.
4979         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4980         nearest to 64 bits.
4981         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4982         bits.
4983
4984 2012-11-28  Jeff Law <law@redhat.com>
4985             Martin Osvald <mosvald@redhat.com>
4986
4987         [BZ #14889]
4988         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4989         * sunrpc/svc.c: Include time.h.
4990         (__svc_accept_failed): New function.
4991         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4992         any reason other than EINTR, call __svc_accept_failed.
4993         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4994         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4995
4996 2012-11-28  Andreas Schwab  <schwab@suse.de>
4997
4998         * scripts/abilist.awk: Also handle indirect functions in .opd
4999         section.
5000
5001 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5002
5003         [BZ #13881]
5004         * sysdeps/x86/fpu/powl_helper.c: New file.
5005         * sysdeps/x86/fpu/Makefile: Likewise.
5006         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5007         (p3): New object.
5008         (__ieee754_powl): Use __powl_helper for finite arguments except
5009         integer exponents below 8.
5010         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5011         (p3): New object.
5012         (__ieee754_powl): Use __powl_helper for finite arguments except
5013         integer exponents below 8.
5014         * math/libm-test.inc (pow_test): Add more tests and enable some
5015         previously disabled tests.
5016         * sysdeps/i386/fpu/libm-test-ulps: Update.
5017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5018
5019 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5020             Carlos O'Donell  <carlos_odonell@mentor.com>
5021
5022         * nss/makedb.c (is_prime): Assert that input is odd and greater
5023         than 4.  Note that fact in a comment too.
5024         (next_prime): Add 4 to input.
5025
5026 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5027
5028         [BZ #11741]
5029         * libio/Makefile (tests): Add test case tst-fwrite-error.
5030         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5031         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5032         * libio/tst-fwrite-error.c: New test case.
5033
5034 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5035
5036         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5037         before casting to void *.
5038         * include/libc-internal.h (__pointer_type): New macro.
5039         (__integer_if_pointer_type_sub): Likewise.
5040         (__integer_if_pointer_type): Likewise.
5041         (cast_to_integer): Likewise.
5042         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5043         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5044         before casting to atomic64_t.
5045         (atomic_exchange_acq): Likewise.
5046         (__arch_exchange_and_add_body): Likewise.
5047         (__arch_add_body): Likewise.
5048         (atomic_add_negative): Likewise.
5049         (atomic_add_zero): Likewise.
5050
5051 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5052
5053         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5054         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5055         (add_fdes): Likewise.
5056         (linear_search_fdes): Likewise.
5057         (binary_search_unencoded_fdes): Likewise.
5058
5059 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5060
5061         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5062
5063 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5064
5065         * configure.in: Autodetect C++ header directories.
5066         * configure: Regenerated.
5067
5068 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5069
5070         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5071
5072 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5073
5074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5075
5076 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5077
5078         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5079         LDBL_MANT_DIG == 106]: Disable some tests.
5080         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5081         Likewise.
5082         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5083         Likewise.
5084
5085         [BZ #14871]
5086         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5087         input for small inputs.  Return +/- pi/2 for large inputs.
5088         * math/libm-test.inc (atan_test): Add more tests.
5089
5090         * sysdeps/generic/unwind-dw2-fde-glibc.c
5091         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5092         __attribute__ ((unused)).
5093
5094         [BZ #14645]
5095         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5096         x * y if x and y are nonzero and z is zero.
5097
5098         [BZ #14811]
5099         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5100         nonzero exponents with absolute value below 0x1p-117 to +/-
5101         0x1p-117.
5102
5103         [BZ #14869]
5104         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5105         up arguments below 2**-450, not just those below 2**-500.
5106         * math/libm-test.inc (hypot_test): Add another test.
5107
5108         [BZ #14868]
5109         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5110         Return a+b for ratio over 2**120, not 2**60.
5111         * math/libm-test.inc (hypot_test): Add another test.
5112
5113         * math/libm-test.inc (clog_test): Use
5114         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5115         (clog10_test): Likewise.
5116
5117         [BZ #6778]
5118         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5119
5120 2012-11-22  Andreas Schwab  <schwab@suse.de>
5121
5122         * sysdeps/i386/fpu/libm-test-ulps: Update.
5123
5124 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5125
5126         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5127         printf output with newline.
5128
5129 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5130
5131         [BZ #14865]
5132         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5133         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5134         -z nodlopen, -z initfirst and -z execstack support.
5135         * configure: Regenerated.
5136
5137         * elf/elf.h (DF_1_NODIRECT): New macro.
5138         (DF_1_IGNMULDEF): Likewise.
5139         (DF_1_NOKSYMS): Likewise.
5140         (DF_1_NOHDR): Likewise.
5141         (DF_1_EDITED): Likewise.
5142         (DF_1_NORELOC): Likewise.
5143         (DF_1_SYMINTPOSE): Likewise.
5144         (DF_1_GLOBAUDIT): Likewise.
5145         (DF_1_SINGLETON): Likewise.
5146         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5147         DT_1_SUPPORTED_MASK bits.
5148         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5149
5150 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5151
5152         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5153
5154 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5155
5156         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5157         macro.
5158
5159         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5160         (sendmmsg): Move declarations...
5161         * socket/sys/socket.h: ... here.
5162         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5163         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5164         include it from...
5165         * socket/recvmmsg.c: ... this new file.
5166         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5167         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5168         definition of __sendmmsg hidden.
5169         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5170         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5171         Move ENOSYS stub into and include it from...
5172         * socket/sendmmsg.c: ... this new file.
5173         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5174         (sysdep_routines): Move recvmmsg and sendmmsg...
5175         * socket/Makefile (routines): ... here.
5176         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5177         (GLIBC_PRIVATE): Add __sendmmsg.
5178         * include/sys/socket.h (__sendmmsg): Add declarations.
5179         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5180         sendmmsg.
5181
5182 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5183
5184         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5185         variable I1 with __attribute__ ((unused)).
5186         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5187
5188 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5189
5190         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5191         DUMMY variables with __attribute__ ((unused)).
5192
5193         * bits/byteswap.h: Include <bits/types.h>.
5194         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5195
5196 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5197
5198         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5199         string_t.  Do not manually set errno.
5200         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5201         length with __strnlen.  Make sure to both set errno and return it on
5202         failure.
5203
5204 2012-11-19  David S. Miller  <davem@davemloft.net>
5205
5206         With help from Joseph Myers.
5207         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5208         very large arguments properly.
5209         * math/libm-test.inc (atan_test): New tests.
5210         (atan2_test): New tests.
5211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5213
5214 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5215
5216         [BZ #14856]
5217         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5218         Define to 3.
5219
5220         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5221         [POSIX] (EADDRNOTAVAIL): Likewise.
5222         [POSIX] (EAFNOSUPPORT): Likewise.
5223         [POSIX] (EALREADY): Likewise.
5224         [POSIX] (ECONNABORTED): Likewise.
5225         [POSIX] (ECONNREFUSED): Likewise.
5226         [POSIX] (ECONNRESET): Likewise.
5227         [POSIX] (EDESTADDRREQ): Likewise.
5228         [POSIX] (EDQUOT): Likewise.
5229         [POSIX] (EHOSTUNREACH): Likewise.
5230         [POSIX] (EIDRM): Likewise.
5231         [POSIX] (EISCONN): Likewise.
5232         [POSIX] (ELOOP): Likewise.
5233         [POSIX] (EMULTIHOP): Likewise.
5234         [POSIX] (ENETDOWN): Likewise.
5235         [POSIX] (ENETUNREACH): Likewise.
5236         [POSIX] (ENOBUFS): Likewise.
5237         [POSIX] (ENODATA): Likewise.
5238         [POSIX] (ENOLINK): Likewise.
5239         [POSIX] (ENOMSG): Likewise.
5240         [POSIX] (ENOPROTOOPT): Likewise.
5241         [POSIX] (ENOSR): Likewise.
5242         [POSIX] (ENOSTR): Likewise.
5243         [POSIX] (ENOTCONN): Likewise.
5244         [POSIX] (ENOTSOCK): Likewise.
5245         [POSIX] (EOPNOTSUPP): Likewise.
5246         [POSIX] (EOVERFLOW): Likewise.
5247         [POSIX] (EPROTO): Likewise.
5248         [POSIX] (EPROTONOSUPPORT): Likewise.
5249         [POSIX] (EPROTOTYPE): Likewise.
5250         [POSIX] (ESTALE): Likewise.
5251         [POSIX] (ETIME): Likewise.
5252         [POSIX] (ETXTBSY): Likewise.
5253         [POSIX] (EWOULDBLOCK): Likewise.
5254         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5255         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5256         [POSIX] (SEEK_CUR): Likewise.
5257         [POSIX] (SEEK_END): Likewise.
5258         [POSIX || UNIX98] (mode_t): Do not require.
5259         [POSIX] (off_t): Likewise.
5260         [POSIX] (pid_t): Likewise.
5261         [POSIX] (sys/stat.h): Do not allow header.
5262         [POSIX] (unistd.h): Likewise.
5263         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5264         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5265         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5266         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5267         require.
5268         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5269         sigevent): Specify elements.
5270         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5271         entry.
5272         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5273         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5274
5275         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5276         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5277         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5278         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5279         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5280         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5281         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5282         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5283         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5284         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5285         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5286         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5287         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5288         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5289         Likewise.
5290         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5291         Likewise.
5292         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5293         Likewise.
5294         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5295         Likewise.
5296         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5297         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5298         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5299         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5300         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5301         Specify lower bound on value.
5302         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5303         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5304         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5305         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5306         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5307         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5308         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5309         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5310         value.
5311         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5312         as optional.
5313         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5314         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5315         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5316         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5317         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5318         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5319         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5320         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5321         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5322         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5323         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5324         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5325         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5326         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5327         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5328         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5329         entry.
5330         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5331         optional.
5332         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5333         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5334         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5335         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5336         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5337         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5338         Likewise.
5339         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5340         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5341         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5342         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5343         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5344         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5345         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5346         as optional.
5347         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5348         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5349         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5350         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5351         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5352         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5353         specify as optional.
5354         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5355         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5356         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5357         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5358         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5359         [XPG3] (NL_LANGMAX): Likewise.
5360         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5361         [POSIX || XPG3] (NL_NMAX): Likewise.
5362         [POSIX || XPG3] (NL_SETMAX): Likewise.
5363         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5364         [XPG3] (NZERO): Likewise.
5365         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5366         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5367         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5368         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5369         (REG_ERANGE): Expect.
5370         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5371         optional-constant.
5372         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5373         Use (void) in prototype.
5374         [POSIX] (*_t): Allow.
5375         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5376         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5377         (WRDE_BADVAL): Expect.
5378
5379         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5380         expect.
5381         [XPG3 || XPG4] (O_RSYNC): Likewise.
5382         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5383         Likewise.
5384         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5385         [XPG3 || XPG4] (sigqueue): Likewise.
5386         [XPG3 || XPG4] (sigtimedwait): Likewise.
5387         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5388         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5389         [XPG3 || XPG4] (vsnprintf): Likewise.
5390         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5391         Likewise.
5392         [XPG3 || XPG4] (blksize_t): Likewise.
5393         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5394         Likewise.
5395         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5396         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5397         [XPG3 || XPG4] (struct itimerspec): Likewise.
5398         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5399         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5400         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5401         [XPG3 || XPG4] (clockid_t): Likewise.
5402         [XPG3 || XPG4] (timer_t): Likewise.
5403         [XPG3 || XPG4] (clock_getres): Likewise.
5404         [XPG3 || XPG4] (clock_gettime): Likewise.
5405         [XPG3 || XPG4] (clock_settime): Likewise.
5406         [XPG3 || XPG4] (nanosleep): Likewise.
5407         [XPG3 || XPG4] (timer_create): Likewise.
5408         [XPG3 || XPG4] (timer_delete): Likewise.
5409         [XPG3 || XPG4] (timer_gettime): Likewise.
5410         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5411         [XPG3 || XPG4] (timer_settime): Likewise.
5412         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5413         [XPG3 || XPG4] (getlogin_r): Likewise.
5414         [XPG3 || XPG4] (pread): Likewise.
5415         [XPG3 || XPG4] (pthread_atfork): Likewise.
5416         [XPG3 || XPG4] (pwrite): Likewise.
5417
5418         [BZ #14835]
5419         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5420         <bits/siginfo.h>.
5421
5422 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5423
5424         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5425         finalizing MALLSTREAM.
5426
5427         * sysdeps/mach/hurd/syncfs.c: New file.
5428
5429 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5430
5431         [BZ #14719]
5432         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5433         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5434         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5435         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5436         (_nss_dns_gethostbyname4_r): Likewise.
5437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5438         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5439
5440 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5441
5442         [BZ #13763]
5443         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5444
5445 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5446
5447         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5448         * elf/cache.c (print_entry): Print ",AArch64" for
5449         FLAG_AARCH64_LIB64
5450
5451         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5452         * elf/cache.c (print_entry): Print ",hard-float" for
5453         FLAG_ARM_LIBHF.
5454
5455 2012-11-18  David S. Miller  <davem@davemloft.net>
5456
5457         With help from Joseph Myers.
5458         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5459         cutoff to 2**-13.
5460         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5461         cutoff to 2**-25.
5462         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5463         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5464         small.
5465         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5466         * math/libm-test.inc (y0_test): New tests.
5467         (y1_test): New tests.
5468         * sysdeps/i386/fpu/libm-test-ulps: Update.
5469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5471
5472 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5473
5474         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5475         64-bit targets.
5476         * configure: Regenerated.
5477
5478 2012-11-17  David S. Miller  <davem@davemloft.net>
5479
5480         [BZ #14811]
5481         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5482         nonzero exponents with absolute value below 0x1p-128 to +/-
5483         0x1p-128.
5484
5485 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5486
5487         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5488
5489         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5490
5491         * posix/getconf-speclist.c: New file.
5492         * posix/posix-envs.def: Likewise.
5493         * posix/confstr.c (START_ENV_GROUP): New macro.
5494         (END_ENV_GROUP): Likewise.
5495         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5496         (KNOWN_PRESENT_ENV_STRING): Likewise.
5497         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5498         (UNKNOWN_ENVIRONMENT): Likewise.
5499         (confstr): Include posix-envs.def instead of handling
5500         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5501         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5502         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5503         (END_ENV_GROUP): Likewise.
5504         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5505         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5506         (UNKNOWN_ENVIRONMENT): Likewise.
5507         (__sysconf): Include posix-envs.def instead of handling associated
5508         cases directly here.
5509         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5510         preprocessing getconf-speclist.c rather than running getconf or
5511         generating empty file.
5512
5513 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5514
5515         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5516
5517 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5518
5519         [BZ #14672]
5520         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5521
5522 2012-11-16  David S. Miller  <davem@davemloft.net>
5523
5524         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5525         smaller than LDBL_EPSILON/2.0L, just return xm1.
5526
5527 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5528
5529         * elf/tst-array1.c (init): Set constructor priority to 1000.
5530         (fini): Set destructor priority to 1000.
5531         * elf/tst-array2dep.c: Likewise.
5532
5533 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5534
5535         [BZ #11741]
5536         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5537         (_IO_new_file_xsputn): Also return EOF if none of the input
5538         data was written when overflow failed.
5539         * libio/iopadn.c (_IO_padn): Likewise.
5540         * libio/iowpadn.c (_IO_wpadn): Likewise.
5541         * stdio-common/tst-put-error.c: Add copyright notice.
5542         (do_test): Add case for printing padded string.
5543         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5544         _IO_padn returned error.
5545         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5546         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5547         return EOF.
5548
5549 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5550
5551         * libio/libioP.h: Add comment note that the references to C++
5552         bits are now obsolete.
5553
5554 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5555
5556         * math/libm-test.inc (check_complex): Use asprintf.
5557
5558 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5559
5560         * debug/pcprofiledump.c (print_version): Update copyright year.
5561         * malloc/memusagestat.c (print_version): Likewise.
5562
5563 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5564
5565         [BZ #14831]
5566         * elf/Makefile (tests): Add tst-audit8.
5567         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5568         ($(objpfx)tst-audit8.out): New target.
5569         (tst-audit8-ENV): New variable.
5570         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5571         audit if l_reloc_result is NULL.
5572         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5573         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5574         * elf/tst-audit8.c: New file.
5575
5576 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5577
5578         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5579         * misc/Makefile (CFLAGS-select.c): Define.
5580         * posix/Makefile (CFLAGS-pause.c): Define.
5581
5582 2012-11-13  David S. Miller  <davem@davemloft.net>
5583
5584         * crypt/Makefile: Move test targets after toplevel Rules
5585         inclusion.  Grab any necessary sysdep routines when linking.
5586         * crypt/md5.c (md5_process_block): Remove define, we will always
5587         name it __md5_process_block.
5588         (md5_finish_ctx): Update md5_process_block call.
5589         (md5_stream): Likewise.
5590         (md5_process_bytes): Likewise.
5591         (md5_process_block): Rename to __md5_process_block and move to ...
5592         * crypt/md5-block.c: ... here.
5593         * crypt/sha256.c (sha256_process_block): Move to ...
5594         * crypt/sha256-block.c: ... here.
5595         * crypt/sha512.c (sha512_process_block): Move to ...
5596         * crypt/sha512-block.c: ... here.
5597         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5598         path.
5599         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5600         * sysdeps/sparc/sparc64/multiarch/Makefile
5601         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5602         crypt subdir.
5603         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5604         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5605         multiarch changes.
5606         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5607         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5608         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5609         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5610         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5611         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5612         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5613         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5614         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5615         file.
5616         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5617         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5618         file.
5619         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5620
5621 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5622
5623         * timezone/tzselect.ksh: Update from tzcode git revision
5624         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5625         * timezone/zdump.c: Likewise.
5626         * timezone/zic.c: Likewise.
5627         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5628         in TZVERSION setting, not $(PKGVERSION).
5629         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5630         REPORT_BUGS_TO settings.
5631
5632         [BZ #14838]
5633         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5634         macro.
5635
5636 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5637
5638         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5639         detection to immediately after _FP_ROUND().
5640         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5641         bits are 0.
5642
5643 2012-11-11  David S. Miller  <davem@davemloft.net>
5644
5645         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5646         inttypes.h
5647         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5648         __close rather than their public counterparts.
5649
5650 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5651
5652         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5653         file.
5654         [UNIX98] (sem_timedwait): Do not expect.
5655         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5656         [XPG4 || UNIX98] (sockatmark): Do not expect.
5657         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5658         (clock_getcpuclockid): Do not expect.
5659         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5660         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5661         Do not expect.
5662         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5663         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5664         [UNIX98] (vwscanf): Likewise.
5665         [UNIX98] (vswscanf): Likewise.
5666
5667 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5668
5669         * timezone/version.h: Remove file.
5670         * timezone/README: Do not refer to version.h.
5671         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5672         $(objpfx)version.h.
5673         ($(objpfx)zdump.o): Likewise.
5674         ($(objpfx)version.h): New target.
5675
5676         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5677         2012i.
5678         * timezone/README: Don't mention modification to tzselect.ksh.
5679         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5680         work on unmodified tzselect.ksh.  Substitute version numbers in
5681         tzselect.ksh.
5682
5683         * Makefile (format-me): Remove.
5684         (INSTALL): Adjust indentation.  Use commands directly instead of
5685         using $(format-me).
5686
5687         * aclocal.m4 (ACX_PKGVERSION): New macro.
5688         (ACX_BUGURL): Likewise.
5689         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5690         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5691         (REPORT_BUGS_TO): Likewise.
5692         * configure: Regenerated.
5693         * config.h.in (PKGVERSION): New macro.
5694         (REPORT_BUGS_TO): Likewise.
5695         * config.make.in (PKGVERSION): New variable.
5696         (PKGVERSION_TEXI): Likewise.
5697         (REPORT_BUGS_TO): Likewise.
5698         (REPORT_BUGS_TEXI): Likewise.
5699         * Makefile (format-me): Use -I$(common-objpfx)manual.
5700         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5701         ($(common-objpfx)manual/%): New target.
5702         (manual/%): Remove target.
5703         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5704         (print_version): Use PKGVERSION.
5705         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5706         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5707         and REPORT_BUGS_TO.
5708         ($(objpfx)xtrace): Likewise.
5709         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5710         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5711         (print_version): Use PKGVERSION.
5712         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5713         (do_version): Use PKGVERSION.
5714         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5715         REPORT_BUGS_TO.
5716         (common-ldd-rewrite): Likewise.
5717         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5718         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5719         (print_version): Use PKGVERSION.
5720         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5721         * elf/pldd.c (argp_program_bug_address): Remove variable.
5722         (more_help): New function.
5723         (argp): Use more_help.
5724         (print_version): Use PKGVERSION.
5725         * elf/sln.c (main): Use PKGVERSION.
5726         (usage): Use REPORT_BUGS_TO.
5727         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5728         (top level): Use PKGVERSION.
5729         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5730         (print_version): Use PKGVERSION.
5731         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5732         (print_version): Use PKGVERSION.
5733         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5734         (print_version): Use PKGVERSION.
5735         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5736         (print_version): Use PKGVERSION.
5737         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5738         (print_version): Use PKGVERSION.
5739         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5740         (print_version): Use PKGVERSION.
5741         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5742         and BUGURL.
5743         ($(objpfx)memusage): Likewise.
5744         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5745         (do_version): Use PKGVERSION.
5746         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5747         (print_version): Use PKGVERSION.
5748         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5749         ($PKGVERSION): New variable.
5750         ($REPORT_BUGS_TO): Likewise.
5751         (usage): Use $REPORT_BUGS_TO.
5752         (top level): Use $PKGVERSION.
5753         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5754         ($(objpfx)pkgvers.texi): New rule.
5755         ($(objpfx)stamp-pkgvers): Likewise.
5756         * manual/install.texi: Include pkgvers.texi.
5757         (--with-pkgversion): Document new configure option.
5758         (--with-bugurl): Likewise.
5759         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5760         than necessarily for this particular distribution.  Use
5761         REPORT_BUGS_TO for where to report bugs.
5762         * INSTALL: Regenerated.
5763         * manual/libc.texinfo: Include pkgvers.texi.
5764         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5765         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5766         (print_version): Use PKGVERSION.
5767         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5768         (print_version): Use PKGVERSION.
5769         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5770         (print_version): Use PKGVERSION.
5771         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5772         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5773         macro.
5774         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5775         (print_version): Use PKGVERSION.
5776         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5777         (print_version): Use PKGVERSION.
5778         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5779         and PKGVERSION.
5780
5781         * timezone/checktab.awk: Update from tzcode 2012i.
5782         * timezone/ialloc.c: Likewise.
5783         * timezone/private.h: Likewise.
5784         * timezone/scheck.c: Likewise.
5785         * timezone/tzfile.h: Likewise.
5786         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5787         (TZVERSION): Hardcode tzcode version number.
5788         * timezone/zdump.c: Update from tzcode 2012i.
5789         * timezone/zic.c: Likewise.
5790         * timezone/version.h: New file.
5791         * timezone/README: Describe version.h.  Update upstream location.
5792
5793         [BZ #14824]
5794         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5795         (mktemp): Enable declaration.
5796         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5797         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5798         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5799         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5800         Likewise.
5801         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5802         Likewise.
5803         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5804         Likewise.
5805         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5806         Likewise.
5807         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5808         Likewise.
5809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5810         Likewise.
5811
5812         [BZ #14821]
5813         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5814         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5815         for copies of such integer values.
5816         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5817         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5818
5819 2012-11-09  Andreas Jaeger  <aj@suse.de>
5820
5821         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5822         definitions and declarations that are provided by
5823         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5824
5825 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5826
5827         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5828         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5829         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5830         definition.
5831
5832 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5833
5834         * elf/elf.h: Update comment before AArch64 relocations.
5835
5836 2012-11-07  David S. Miller  <davem@davemloft.net>
5837
5838         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5839         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5840         (__start_context): Declare.
5841         (__makecontext_ret): Delete.
5842         (__makecontext): Hook up __start_context instead of
5843         __makecontext_ret.
5844         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5845         (sysdep_routines): Add __start_context when in stdlib.
5846
5847 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5848
5849         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5850         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5851         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5852         hardcoded "nm".
5853         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5854         (READELF): New variable.  Use it instead of hardcoded "readelf".
5855
5856 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5857
5858         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5859         * sysdeps/x86/Makefile: Here.
5860         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5861         * sysdeps/x86/tst-xmmymm.sh: This.
5862
5863 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5864
5865         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5866         expectations.
5867         [UNIX98] (pthread_barrier_t): Do not expect.
5868         [UNIX98] (pthread_barrierattr_t): Likewise.
5869         [UNIX98] (pthread_spinlock_t): Likewise.
5870         [UNIX98] (pthread_barrier_destroy): Likewise.
5871         [UNIX98] (pthread_barrier_init): Likewise.
5872         [UNIX98] (pthread_barrier_wait): Likewise.
5873         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5874         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5875         [UNIX98] (pthread_barrierattr_init): Likewise.
5876         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5877         [UNIX98] (pthread_getcpuclockid): Likewise.
5878         [UNIX98] (pthread_mutex_timedlock): Likewise.
5879         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5880         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5881         [UNIX98] (pthread_sigmask): Likewise.
5882         [UNIX98] (pthread_spin_destroy): Likewise.
5883         [UNIX98] (pthread_spin_init): Likewise.
5884         [UNIX98] (pthread_spin_lock): Likewise.
5885         [UNIX98] (pthread_spin_trylock): Likewise.
5886         [UNIX98] (pthread_spin_unlock): Likewise.
5887         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5888         Do not expect.
5889         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5890         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5891         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5892         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5893         [XPG3 || XPG4] (pthread_key_t): Likewise.
5894         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5895         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5896         [XPG3 || XPG4] (pthread_once_t): Likewise.
5897         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5898         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5899         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5900         [XPG3 || XPG4] (pthread_t): Likewise.
5901
5902         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5903         not expect.
5904         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5905
5906         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5907         Change function return type to int.
5908
5909         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5910         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5911         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5912         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5913         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5914         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5915         [!POSIX] (posix_madvise): Likewise.
5916         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5917         && !UNIX98].
5918         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5919         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5920         (mode_t): Likewise.
5921         (posix_mem_offset): Likewise.
5922         (posix_typed_mem_get_info): Likewise.
5923         (posix_typed_mem_open): Likewise.
5924
5925         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5926         Change condition to [XOPEN2K8].
5927
5928         * conform/conformtest.pl: Preprocess allow-header data with -x c
5929         instead of from stdin.
5930         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5931         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5932         [C99-based standards] (cerfc): Likewise.
5933         [C99-based standards] (cexp2): Likewise.
5934         [C99-based standards] (cexpm1): Likewise.
5935         [C99-based standards] (clog10): Likewise.
5936         [C99-based standards] (clog1p): Likewise.
5937         [C99-based standards] (clog2): Likewise.
5938         [C99-based standards] (clgamma): Likewise.
5939         [C99-based standards] (ctgamma): Likewise.
5940         [C99-based standards] (cerff): Likewise.
5941         [C99-based standards] (cerfcf): Likewise.
5942         [C99-based standards] (cexp2f): Likewise.
5943         [C99-based standards] (cexpm1f): Likewise.
5944         [C99-based standards] (clog10f): Likewise.
5945         [C99-based standards] (clog1pf): Likewise.
5946         [C99-based standards] (clog2f): Likewise.
5947         [C99-based standards] (clgammaf): Likewise.
5948         [C99-based standards] (ctgammaf): Likewise.
5949         [C99-based standards] (cerfl): Likewise.
5950         [C99-based standards] (cerfcl): Likewise.
5951         [C99-based standards] (cexp2l): Likewise.
5952         [C99-based standards] (cexpm1l): Likewise.
5953         [C99-based standards] (clog10l): Likewise.
5954         [C99-based standards] (clog1pl): Likewise.
5955         [C99-based standards] (clog2l): Likewise.
5956         [C99-based standards] (clgammal): Likewise.
5957         [C99-based standards] (ctgammal): Likewise.
5958         * conform/data/inttypes.h-data [C99-based standards]: Include
5959         stdint.h-data.  Remove all expectations for stdint.h contents.
5960         [C99-based standards] (PRI*): Do not allow.
5961         [C99-based standards] (SCN*): Likewise.
5962         [C99-based standards] (*_t): Likewise.
5963         [C99-based-standards] (PRId8): Expect macro.
5964         [C99-based-standards] (PRIi8): Likewise.
5965         [C99-based-standards] (PRIo8): Likewise.
5966         [C99-based-standards] (PRIu8): Likewise.
5967         [C99-based-standards] (PRIx8): Likewise.
5968         [C99-based-standards] (PRIX8): Likewise.
5969         [C99-based-standards] (SCNd8): Likewise.
5970         [C99-based-standards] (SCNi8): Likewise.
5971         [C99-based-standards] (SCNo8): Likewise.
5972         [C99-based-standards] (SCNu8): Likewise.
5973         [C99-based-standards] (SCNx8): Likewise.
5974         [C99-based-standards] (PRIdLEAST8): Likewise.
5975         [C99-based-standards] (PRIiLEAST8): Likewise.
5976         [C99-based-standards] (PRIoLEAST8): Likewise.
5977         [C99-based-standards] (PRIuLEAST8): Likewise.
5978         [C99-based-standards] (PRIxLEAST8): Likewise.
5979         [C99-based-standards] (PRIXLEAST8): Likewise.
5980         [C99-based-standards] (SCNdLEAST8): Likewise.
5981         [C99-based-standards] (SCNiLEAST8): Likewise.
5982         [C99-based-standards] (SCNoLEAST8): Likewise.
5983         [C99-based-standards] (SCNuLEAST8): Likewise.
5984         [C99-based-standards] (SCNxLEAST8): Likewise.
5985         [C99-based-standards] (PRIdFAST8): Likewise.
5986         [C99-based-standards] (PRIiFAST8): Likewise.
5987         [C99-based-standards] (PRIoFAST8): Likewise.
5988         [C99-based-standards] (PRIuFAST8): Likewise.
5989         [C99-based-standards] (PRIxFAST8): Likewise.
5990         [C99-based-standards] (PRIXFAST8): Likewise.
5991         [C99-based-standards] (SCNdFAST8): Likewise.
5992         [C99-based-standards] (SCNiFAST8): Likewise.
5993         [C99-based-standards] (SCNoFAST8): Likewise.
5994         [C99-based-standards] (SCNuFAST8): Likewise.
5995         [C99-based-standards] (SCNxFAST8): Likewise.
5996         [C99-based-standards] (PRId16): Likewise.
5997         [C99-based-standards] (PRIi16): Likewise.
5998         [C99-based-standards] (PRIo16): Likewise.
5999         [C99-based-standards] (PRIu16): Likewise.
6000         [C99-based-standards] (PRIx16): Likewise.
6001         [C99-based-standards] (PRIX16): Likewise.
6002         [C99-based-standards] (SCNd16): Likewise.
6003         [C99-based-standards] (SCNi16): Likewise.
6004         [C99-based-standards] (SCNo16): Likewise.
6005         [C99-based-standards] (SCNu16): Likewise.
6006         [C99-based-standards] (SCNx16): Likewise.
6007         [C99-based-standards] (PRIdLEAST16): Likewise.
6008         [C99-based-standards] (PRIiLEAST16): Likewise.
6009         [C99-based-standards] (PRIoLEAST16): Likewise.
6010         [C99-based-standards] (PRIuLEAST16): Likewise.
6011         [C99-based-standards] (PRIxLEAST16): Likewise.
6012         [C99-based-standards] (PRIXLEAST16): Likewise.
6013         [C99-based-standards] (SCNdLEAST16): Likewise.
6014         [C99-based-standards] (SCNiLEAST16): Likewise.
6015         [C99-based-standards] (SCNoLEAST16): Likewise.
6016         [C99-based-standards] (SCNuLEAST16): Likewise.
6017         [C99-based-standards] (SCNxLEAST16): Likewise.
6018         [C99-based-standards] (PRIdFAST16): Likewise.
6019         [C99-based-standards] (PRIiFAST16): Likewise.
6020         [C99-based-standards] (PRIoFAST16): Likewise.
6021         [C99-based-standards] (PRIuFAST16): Likewise.
6022         [C99-based-standards] (PRIxFAST16): Likewise.
6023         [C99-based-standards] (PRIXFAST16): Likewise.
6024         [C99-based-standards] (SCNdFAST16): Likewise.
6025         [C99-based-standards] (SCNiFAST16): Likewise.
6026         [C99-based-standards] (SCNoFAST16): Likewise.
6027         [C99-based-standards] (SCNuFAST16): Likewise.
6028         [C99-based-standards] (SCNxFAST16): Likewise.
6029         [C99-based-standards] (PRId32): Likewise.
6030         [C99-based-standards] (PRIi32): Likewise.
6031         [C99-based-standards] (PRIo32): Likewise.
6032         [C99-based-standards] (PRIu32): Likewise.
6033         [C99-based-standards] (PRIx32): Likewise.
6034         [C99-based-standards] (PRIX32): Likewise.
6035         [C99-based-standards] (SCNd32): Likewise.
6036         [C99-based-standards] (SCNi32): Likewise.
6037         [C99-based-standards] (SCNo32): Likewise.
6038         [C99-based-standards] (SCNu32): Likewise.
6039         [C99-based-standards] (SCNx32): Likewise.
6040         [C99-based-standards] (PRIdLEAST32): Likewise.
6041         [C99-based-standards] (PRIiLEAST32): Likewise.
6042         [C99-based-standards] (PRIoLEAST32): Likewise.
6043         [C99-based-standards] (PRIuLEAST32): Likewise.
6044         [C99-based-standards] (PRIxLEAST32): Likewise.
6045         [C99-based-standards] (PRIXLEAST32): Likewise.
6046         [C99-based-standards] (SCNdLEAST32): Likewise.
6047         [C99-based-standards] (SCNiLEAST32): Likewise.
6048         [C99-based-standards] (SCNoLEAST32): Likewise.
6049         [C99-based-standards] (SCNuLEAST32): Likewise.
6050         [C99-based-standards] (SCNxLEAST32): Likewise.
6051         [C99-based-standards] (PRIdFAST32): Likewise.
6052         [C99-based-standards] (PRIiFAST32): Likewise.
6053         [C99-based-standards] (PRIoFAST32): Likewise.
6054         [C99-based-standards] (PRIuFAST32): Likewise.
6055         [C99-based-standards] (PRIxFAST32): Likewise.
6056         [C99-based-standards] (PRIXFAST32): Likewise.
6057         [C99-based-standards] (SCNdFAST32): Likewise.
6058         [C99-based-standards] (SCNiFAST32): Likewise.
6059         [C99-based-standards] (SCNoFAST32): Likewise.
6060         [C99-based-standards] (SCNuFAST32): Likewise.
6061         [C99-based-standards] (SCNxFAST32): Likewise.
6062         [C99-based-standards] (PRId64): Likewise.
6063         [C99-based-standards] (PRIi64): Likewise.
6064         [C99-based-standards] (PRIo64): Likewise.
6065         [C99-based-standards] (PRIu64): Likewise.
6066         [C99-based-standards] (PRIx64): Likewise.
6067         [C99-based-standards] (PRIX64): Likewise.
6068         [C99-based-standards] (SCNd64): Likewise.
6069         [C99-based-standards] (SCNi64): Likewise.
6070         [C99-based-standards] (SCNo64): Likewise.
6071         [C99-based-standards] (SCNu64): Likewise.
6072         [C99-based-standards] (SCNx64): Likewise.
6073         [C99-based-standards] (PRIdLEAST64): Likewise.
6074         [C99-based-standards] (PRIiLEAST64): Likewise.
6075         [C99-based-standards] (PRIoLEAST64): Likewise.
6076         [C99-based-standards] (PRIuLEAST64): Likewise.
6077         [C99-based-standards] (PRIxLEAST64): Likewise.
6078         [C99-based-standards] (PRIXLEAST64): Likewise.
6079         [C99-based-standards] (SCNdLEAST64): Likewise.
6080         [C99-based-standards] (SCNiLEAST64): Likewise.
6081         [C99-based-standards] (SCNoLEAST64): Likewise.
6082         [C99-based-standards] (SCNuLEAST64): Likewise.
6083         [C99-based-standards] (SCNxLEAST64): Likewise.
6084         [C99-based-standards] (PRIdFAST64): Likewise.
6085         [C99-based-standards] (PRIiFAST64): Likewise.
6086         [C99-based-standards] (PRIoFAST64): Likewise.
6087         [C99-based-standards] (PRIuFAST64): Likewise.
6088         [C99-based-standards] (PRIxFAST64): Likewise.
6089         [C99-based-standards] (PRIXFAST64): Likewise.
6090         [C99-based-standards] (SCNdFAST64): Likewise.
6091         [C99-based-standards] (SCNiFAST64): Likewise.
6092         [C99-based-standards] (SCNoFAST64): Likewise.
6093         [C99-based-standards] (SCNuFAST64): Likewise.
6094         [C99-based-standards] (SCNxFAST64): Likewise.
6095         [C99-based-standards] (PRIdMAX): Likewise.
6096         [C99-based-standards] (PRIiMAX): Likewise.
6097         [C99-based-standards] (PRIoMAX): Likewise.
6098         [C99-based-standards] (PRIuMAX): Likewise.
6099         [C99-based-standards] (PRIxMAX): Likewise.
6100         [C99-based-standards] (PRIXMAX): Likewise.
6101         [C99-based-standards] (SCNdMAX): Likewise.
6102         [C99-based-standards] (SCNiMAX): Likewise.
6103         [C99-based-standards] (SCNoMAX): Likewise.
6104         [C99-based-standards] (SCNuMAX): Likewise.
6105         [C99-based-standards] (SCNxMAX): Likewise.
6106         [C99-based-standards] (PRIdPTR): Likewise.
6107         [C99-based-standards] (PRIiPTR): Likewise.
6108         [C99-based-standards] (PRIoPTR): Likewise.
6109         [C99-based-standards] (PRIuPTR): Likewise.
6110         [C99-based-standards] (PRIxPTR): Likewise.
6111         [C99-based-standards] (PRIXPTR): Likewise.
6112         [C99-based-standards] (SCNdPTR): Likewise.
6113         [C99-based-standards] (SCNiPTR): Likewise.
6114         [C99-based-standards] (SCNoPTR): Likewise.
6115         [C99-based-standards] (SCNuPTR): Likewise.
6116         [C99-based-standards] (SCNxPTR): Likewise.
6117         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6118         allow.
6119         * conform/data/stdint.h-data: Update comments to clarify
6120         requirements.
6121         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6122         type.
6123         [C99-based standards] (INT8_MAX): Likewise.
6124         [C99-based standards] (INT16_MIN): Likewise.
6125         [C99-based standards] (INT16_MAX): Likewise.
6126         [C99-based standards] (INT32_MIN): Likewise.
6127         [C99-based standards] (INT32_MAX): Likewise.
6128         [C99-based standards] (INT64_MIN): Likewise.
6129         [C99-based standards] (INT64_MAX): Likewise.
6130         [C99-based standards] (UINT8_MAX): Likewise.
6131         [C99-based standards] (UINT16_MAX): Likewise.
6132         [C99-based standards] (UINT32_MAX): Likewise.
6133         [C99-based standards] (UINT64_MAX): Likewise.
6134         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6135         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6136         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6137         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6138         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6139         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6140         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6141         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6142         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6143         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6144         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6145         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6146         [C99-based standards] (INT_FAST8_MIN): Likewise.
6147         [C99-based standards] (INT_FAST8_MAX): Likewise.
6148         [C99-based standards] (INT_FAST16_MIN): Likewise.
6149         [C99-based standards] (INT_FAST16_MAX): Likewise.
6150         [C99-based standards] (INT_FAST32_MIN): Likewise.
6151         [C99-based standards] (INT_FAST32_MAX): Likewise.
6152         [C99-based standards] (INT_FAST64_MIN): Likewise.
6153         [C99-based standards] (INT_FAST64_MAX): Likewise.
6154         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6155         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6156         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6157         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6158         [C99-based standards] (INTPTR_MIN): Likewise.
6159         [C99-based standards] (INTPTR_MAX): Likewise.
6160         [C99-based standards] (UINTPTR_MAX): Likewise.
6161         [C99-based standards] (INTMAX_MIN): Likewise.
6162         [C99-based standards] (INTMAX_MAX): Likewise.
6163         [C99-based standards] (UINTMAX_MAX): Likewise.
6164         [C99-based standards] (PTRDIFF_MIN): Likewise.
6165         [C99-based standards] (PTRDIFF_MAX): Likewise.
6166         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6167         [C99-based standards] (SIZE_MAX): Likewise.
6168         [C99-based standards] (WCHAR_MAX): Likewise.
6169         [C99-based standards] (WINT_MAX): Likewise.
6170         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6171         constraint on value.
6172         [C99-based standards] (WCHAR_MIN): Likewise.
6173         [C99-based standards] (WINT_MIN): Likewise.
6174         [C99-based standards] (*_t): Allow.
6175         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6176         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6177         Include math.h-data and complex.h-data.  Remove all expectations
6178         of math.h and complex.h contents.
6179         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6180         at end of line.
6181         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6182         (struct tm): Expect tag.
6183         [C99-based-standards] (wcstof): Expect function.
6184         [C99-based-standards] (wcstold): Likewise.
6185         [C99-based-standards] (wcstoll): Likewise.
6186         [C99-based-standards] (wcstoull): Likewise.
6187         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6188         macro-int-constant.  Specify type.
6189         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6190         constraint on value.
6191         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6192         Specify type.
6193         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6194         Specify value.
6195         [ISO C standards]: Do not allow headers.
6196         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6197         wcs[abcdefghijklmnopqrstuvwxyz]*.
6198         [ISO C standards] (*_t): Do not allow.
6199         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6200         Expect function.
6201         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6202         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6203         Specify type.
6204         [ISO C standards]: Do not allow headers.
6205         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6206         is[abcdefghijklmnopqrstuvwxyz]*.
6207         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6208         to[abcdefghijklmnopqrstuvwxyz]*.
6209         [ISO C standards] (*_t): Do not allow.
6210         * conform/data/stdalign.h-data: New file.
6211         * conform/data/stdbool.h-data: Likewise.
6212         * conform/data/stdnoreturn.h-data: Likewise.
6213
6214 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6215
6216         [BZ #14815]
6217         * manual/filesys.texi (Directory Entries): Typo fix.
6218         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6219
6220 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6221
6222         * elf/elf.h (EM_AARCH64): New macro.
6223         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6224         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6225         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6226         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6227         (R_AARCH64_TLSDESC): Likewise.
6228         (NT_ARM_TLS): Likewise.
6229         (NT_ARM_HW_BREAK): Likewise.
6230         (NT_ARM_HW_WATCH): Likewise.
6231
6232 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6233
6234         [BZ #14811]
6235         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6236         (__ieee754_powl): Saturate nonzero exponents with absolute value
6237         below 0x1p-79 to +/- 0x1p-79.
6238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6239         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6240         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6241         nonzero exponents with absolute value below 0x1p-32 to +/-
6242         0x1p-32.
6243         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6244         (__ieee754_powl): Saturate nonzero exponents with absolute value
6245         below 0x1p-79 to +/- 0x1p-79.
6246         * math/libm-test.inc (pow_test): Add more tests.
6247
6248 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6249
6250         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6251         _dl_s390_cap_flags with kernel. Increase string length.
6252         (_dl_s390_platforms): Add z196 and zEC12.
6253
6254 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6255
6256         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6257         Change XOPEN21K to XOPEN2K.
6258
6259 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6260
6261         * string/memmove.c: Use memcpy when possible.
6262
6263 2012-11-06  Andreas Jaeger  <aj@suse.de>
6264
6265         * po/eo.po: Update from translation team.
6266
6267 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6268
6269         [BZ #14793]
6270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6271         exponent and small x and y exponents, scale x or y up.  Increase
6272         by 2 the exponent used in scaling up.
6273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6275         * math/libm-test.inc (fma_test): Add more tests.
6276         (fma_test_towardzero): Likewise.
6277         (fma_test_downward): Likewise.
6278         (fma_test_upward): Likewise.
6279
6280 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6281
6282         [BZ #14805]
6283         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6284         fenv_t *.
6285
6286         [BZ #14801]
6287         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6288         namespace for names of struct fields.
6289         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6290         fenv_t fields.
6291         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6292         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6293
6294 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6295
6296         [BZ #3665]
6297         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6298
6299 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6300
6301         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6302         PTR_DEMANGLE.
6303
6304         [BZ #5246]
6305         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6306         PTR_DEMANGLE.
6307
6308 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6309
6310         [BZ #14797]
6311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6312         definitely overflow as x * y not x * y + z.
6313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6315         * math/libm-test.inc (fma_test): Add more tests.
6316         (fma_test_towardzero): Likewise.
6317         (fma_test_downward): Likewise.
6318         (fma_test_upward): Likewise.
6319
6320 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6321
6322         [BZ #157]
6323
6324         * include/stub-tag.h: Remove file.
6325         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6326         '#include' of it.
6327         * manual/maint.texi (Porting): Don't reference it.
6328         * Makerules ($(objpfx)stubs): Likewise.
6329         * dirent/closedir.c: Don't include <stub-tag.h>.
6330         * dirent/dirfd.c: Likewise.
6331         * dirent/fdopendir.c: Likewise.
6332         * dirent/getdents.c: Likewise.
6333         * dirent/getdents64.c: Likewise.
6334         * dirent/opendir.c: Likewise.
6335         * dirent/readdir.c: Likewise.
6336         * dirent/readdir64.c: Likewise.
6337         * dirent/readdir64_r.c: Likewise.
6338         * dirent/readdir_r.c: Likewise.
6339         * dirent/rewinddir.c: Likewise.
6340         * dirent/seekdir.c: Likewise.
6341         * dirent/telldir.c: Likewise.
6342         * gmon/profil.c: Likewise.
6343         * grp/setgroups.c: Likewise.
6344         * inet/if_index.c: Likewise.
6345         * io/access.c: Likewise.
6346         * io/chdir.c: Likewise.
6347         * io/chmod.c: Likewise.
6348         * io/chown.c: Likewise.
6349         * io/close.c: Likewise.
6350         * io/dup.c: Likewise.
6351         * io/dup2.c: Likewise.
6352         * io/dup3.c: Likewise.
6353         * io/euidaccess.c: Likewise.
6354         * io/faccessat.c: Likewise.
6355         * io/fchdir.c: Likewise.
6356         * io/fchmod.c: Likewise.
6357         * io/fchmodat.c: Likewise.
6358         * io/fchown.c: Likewise.
6359         * io/fchownat.c: Likewise.
6360         * io/fcntl.c: Likewise.
6361         * io/flock.c: Likewise.
6362         * io/fstatfs.c: Likewise.
6363         * io/fstatfs64.c: Likewise.
6364         * io/fstatvfs.c: Likewise.
6365         * io/fstatvfs64.c: Likewise.
6366         * io/futimens.c: Likewise.
6367         * io/fxstat.c: Likewise.
6368         * io/fxstat64.c: Likewise.
6369         * io/fxstatat.c: Likewise.
6370         * io/fxstatat64.c: Likewise.
6371         * io/getcwd.c: Likewise.
6372         * io/isatty.c: Likewise.
6373         * io/lchmod.c: Likewise.
6374         * io/lchown.c: Likewise.
6375         * io/link.c: Likewise.
6376         * io/linkat.c: Likewise.
6377         * io/lseek.c: Likewise.
6378         * io/lseek64.c: Likewise.
6379         * io/lxstat64.c: Likewise.
6380         * io/mkdir.c: Likewise.
6381         * io/mkdirat.c: Likewise.
6382         * io/mkfifo.c: Likewise.
6383         * io/mkfifoat.c: Likewise.
6384         * io/open.c: Likewise.
6385         * io/open64.c: Likewise.
6386         * io/openat.c: Likewise.
6387         * io/openat64.c: Likewise.
6388         * io/pipe.c: Likewise.
6389         * io/pipe2.c: Likewise.
6390         * io/poll.c: Likewise.
6391         * io/posix_fadvise.c: Likewise.
6392         * io/posix_fadvise64.c: Likewise.
6393         * io/posix_fallocate.c: Likewise.
6394         * io/posix_fallocate64.c: Likewise.
6395         * io/read.c: Likewise.
6396         * io/readlink.c: Likewise.
6397         * io/readlinkat.c: Likewise.
6398         * io/rmdir.c: Likewise.
6399         * io/sendfile.c: Likewise.
6400         * io/sendfile64.c: Likewise.
6401         * io/statfs.c: Likewise.
6402         * io/statfs64.c: Likewise.
6403         * io/statvfs.c: Likewise.
6404         * io/statvfs64.c: Likewise.
6405         * io/symlink.c: Likewise.
6406         * io/symlinkat.c: Likewise.
6407         * io/ttyname.c: Likewise.
6408         * io/ttyname_r.c: Likewise.
6409         * io/umask.c: Likewise.
6410         * io/unlink.c: Likewise.
6411         * io/unlinkat.c: Likewise.
6412         * io/utime.c: Likewise.
6413         * io/utimensat.c: Likewise.
6414         * io/write.c: Likewise.
6415         * io/xmknod.c: Likewise.
6416         * io/xmknodat.c: Likewise.
6417         * io/xstat.c: Likewise.
6418         * io/xstat64.c: Likewise.
6419         * login/getpt.c: Likewise.
6420         * login/grantpt.c: Likewise.
6421         * login/unlockpt.c: Likewise.
6422         * math/e_acoshl.c: Likewise.
6423         * math/e_acosl.c: Likewise.
6424         * math/e_asinl.c: Likewise.
6425         * math/e_atan2l.c: Likewise.
6426         * math/e_atanhl.c: Likewise.
6427         * math/e_coshl.c: Likewise.
6428         * math/e_expl.c: Likewise.
6429         * math/e_fmodl.c: Likewise.
6430         * math/e_gammal_r.c: Likewise.
6431         * math/e_hypotl.c: Likewise.
6432         * math/e_j0l.c: Likewise.
6433         * math/e_j1l.c: Likewise.
6434         * math/e_jnl.c: Likewise.
6435         * math/e_lgammal_r.c: Likewise.
6436         * math/e_log10l.c: Likewise.
6437         * math/e_log2l.c: Likewise.
6438         * math/e_logl.c: Likewise.
6439         * math/e_powl.c: Likewise.
6440         * math/e_rem_pio2l.c: Likewise.
6441         * math/e_sinhl.c: Likewise.
6442         * math/e_sqrtl.c: Likewise.
6443         * math/fclrexcpt.c: Likewise.
6444         * math/fedisblxcpt.c: Likewise.
6445         * math/feenablxcpt.c: Likewise.
6446         * math/fegetenv.c: Likewise.
6447         * math/fegetexcept.c: Likewise.
6448         * math/fegetround.c: Likewise.
6449         * math/feholdexcpt.c: Likewise.
6450         * math/fesetenv.c: Likewise.
6451         * math/fesetround.c: Likewise.
6452         * math/feupdateenv.c: Likewise.
6453         * math/fgetexcptflg.c: Likewise.
6454         * math/fraiseexcpt.c: Likewise.
6455         * math/fsetexcptflg.c: Likewise.
6456         * math/ftestexcept.c: Likewise.
6457         * math/k_cosl.c: Likewise.
6458         * math/k_rem_pio2l.c: Likewise.
6459         * math/k_sinl.c: Likewise.
6460         * math/k_tanl.c: Likewise.
6461         * math/s_asinhl.c: Likewise.
6462         * math/s_atanl.c: Likewise.
6463         * math/s_cbrtl.c: Likewise.
6464         * math/s_erfl.c: Likewise.
6465         * math/s_expm1l.c: Likewise.
6466         * math/s_log1pl.c: Likewise.
6467         * math/s_tanhl.c: Likewise.
6468         * misc/acct.c: Likewise.
6469         * misc/brk.c: Likewise.
6470         * misc/chflags.c: Likewise.
6471         * misc/chroot.c: Likewise.
6472         * misc/fchflags.c: Likewise.
6473         * misc/fgetxattr.c: Likewise.
6474         * misc/flistxattr.c: Likewise.
6475         * misc/fremovexattr.c: Likewise.
6476         * misc/fsetxattr.c: Likewise.
6477         * misc/fsync.c: Likewise.
6478         * misc/ftruncate.c: Likewise.
6479         * misc/futimes.c: Likewise.
6480         * misc/futimesat.c: Likewise.
6481         * misc/getdomain.c: Likewise.
6482         * misc/getdtsz.c: Likewise.
6483         * misc/gethostid.c: Likewise.
6484         * misc/gethostname.c: Likewise.
6485         * misc/getloadavg.c: Likewise.
6486         * misc/getpagesize.c: Likewise.
6487         * misc/getsysstats.c: Likewise.
6488         * misc/getxattr.c: Likewise.
6489         * misc/gtty.c: Likewise.
6490         * misc/ioctl.c: Likewise.
6491         * misc/lgetxattr.c: Likewise.
6492         * misc/listxattr.c: Likewise.
6493         * misc/llistxattr.c: Likewise.
6494         * misc/lremovexattr.c: Likewise.
6495         * misc/lsetxattr.c: Likewise.
6496         * misc/lutimes.c: Likewise.
6497         * misc/madvise.c: Likewise.
6498         * misc/mincore.c: Likewise.
6499         * misc/mlock.c: Likewise.
6500         * misc/mlockall.c: Likewise.
6501         * misc/mmap.c: Likewise.
6502         * misc/mprotect.c: Likewise.
6503         * misc/msync.c: Likewise.
6504         * misc/munlock.c: Likewise.
6505         * misc/munlockall.c: Likewise.
6506         * misc/munmap.c: Likewise.
6507         * misc/preadv.c: Likewise.
6508         * misc/preadv64.c: Likewise.
6509         * misc/ptrace.c: Likewise.
6510         * misc/pwritev.c: Likewise.
6511         * misc/pwritev64.c: Likewise.
6512         * misc/readv.c: Likewise.
6513         * misc/reboot.c: Likewise.
6514         * misc/remap_file_pages.c: Likewise.
6515         * misc/removexattr.c: Likewise.
6516         * misc/revoke.c: Likewise.
6517         * misc/select.c: Likewise.
6518         * misc/setdomain.c: Likewise.
6519         * misc/setegid.c: Likewise.
6520         * misc/seteuid.c: Likewise.
6521         * misc/sethostid.c: Likewise.
6522         * misc/sethostname.c: Likewise.
6523         * misc/setregid.c: Likewise.
6524         * misc/setreuid.c: Likewise.
6525         * misc/setxattr.c: Likewise.
6526         * misc/sstk.c: Likewise.
6527         * misc/stty.c: Likewise.
6528         * misc/swapoff.c: Likewise.
6529         * misc/swapon.c: Likewise.
6530         * misc/sync.c: Likewise.
6531         * misc/syncfs.c: Likewise.
6532         * misc/syscall.c: Likewise.
6533         * misc/truncate.c: Likewise.
6534         * misc/ualarm.c: Likewise.
6535         * misc/usleep.c: Likewise.
6536         * misc/ustat.c: Likewise.
6537         * misc/utimes.c: Likewise.
6538         * misc/vhangup.c: Likewise.
6539         * misc/writev.c: Likewise.
6540         * posix/_exit.c: Likewise.
6541         * posix/alarm.c: Likewise.
6542         * posix/execve.c: Likewise.
6543         * posix/fexecve.c: Likewise.
6544         * posix/fork.c: Likewise.
6545         * posix/fpathconf.c: Likewise.
6546         * posix/getaddrinfo.c: Likewise.
6547         * posix/getegid.c: Likewise.
6548         * posix/geteuid.c: Likewise.
6549         * posix/getgid.c: Likewise.
6550         * posix/getgroups.c: Likewise.
6551         * posix/getlogin.c: Likewise.
6552         * posix/getlogin_r.c: Likewise.
6553         * posix/getpgid.c: Likewise.
6554         * posix/getpid.c: Likewise.
6555         * posix/getppid.c: Likewise.
6556         * posix/getresgid.c: Likewise.
6557         * posix/getresuid.c: Likewise.
6558         * posix/getsid.c: Likewise.
6559         * posix/getuid.c: Likewise.
6560         * posix/glob64.c: Likewise.
6561         * posix/nanosleep.c: Likewise.
6562         * posix/pathconf.c: Likewise.
6563         * posix/pause.c: Likewise.
6564         * posix/posix_madvise.c: Likewise.
6565         * posix/pread.c: Likewise.
6566         * posix/pread64.c: Likewise.
6567         * posix/pwrite.c: Likewise.
6568         * posix/pwrite64.c: Likewise.
6569         * posix/sched_getaffinity.c: Likewise.
6570         * posix/sched_getp.c: Likewise.
6571         * posix/sched_gets.c: Likewise.
6572         * posix/sched_primax.c: Likewise.
6573         * posix/sched_primin.c: Likewise.
6574         * posix/sched_rr_gi.c: Likewise.
6575         * posix/sched_setaffinity.c: Likewise.
6576         * posix/sched_setp.c: Likewise.
6577         * posix/sched_sets.c: Likewise.
6578         * posix/sched_yield.c: Likewise.
6579         * posix/setgid.c: Likewise.
6580         * posix/setlogin.c: Likewise.
6581         * posix/setpgid.c: Likewise.
6582         * posix/setresgid.c: Likewise.
6583         * posix/setresuid.c: Likewise.
6584         * posix/setsid.c: Likewise.
6585         * posix/setuid.c: Likewise.
6586         * posix/sleep.c: Likewise.
6587         * posix/spawni.c: Likewise.
6588         * posix/sysconf.c: Likewise.
6589         * posix/times.c: Likewise.
6590         * posix/wait.c: Likewise.
6591         * posix/wait3.c: Likewise.
6592         * posix/wait4.c: Likewise.
6593         * posix/waitpid.c: Likewise.
6594         * resolv/gai_sigqueue.c: Likewise.
6595         * resource/getpriority.c: Likewise.
6596         * resource/getrlimit.c: Likewise.
6597         * resource/getrusage.c: Likewise.
6598         * resource/nice.c: Likewise.
6599         * resource/setpriority.c: Likewise.
6600         * resource/setrlimit.c: Likewise.
6601         * resource/ulimit.c: Likewise.
6602         * rt/aio_cancel.c: Likewise.
6603         * rt/aio_fsync.c: Likewise.
6604         * rt/aio_read.c: Likewise.
6605         * rt/aio_sigqueue.c: Likewise.
6606         * rt/aio_suspend.c: Likewise.
6607         * rt/aio_write.c: Likewise.
6608         * rt/clock_getres.c: Likewise.
6609         * rt/clock_gettime.c: Likewise.
6610         * rt/clock_nanosleep.c: Likewise.
6611         * rt/clock_settime.c: Likewise.
6612         * rt/lio_listio.c: Likewise.
6613         * rt/mq_close.c: Likewise.
6614         * rt/mq_getattr.c: Likewise.
6615         * rt/mq_notify.c: Likewise.
6616         * rt/mq_open.c: Likewise.
6617         * rt/mq_receive.c: Likewise.
6618         * rt/mq_send.c: Likewise.
6619         * rt/mq_setattr.c: Likewise.
6620         * rt/mq_timedreceive.c: Likewise.
6621         * rt/mq_timedsend.c: Likewise.
6622         * rt/mq_unlink.c: Likewise.
6623         * rt/shm_open.c: Likewise.
6624         * rt/shm_unlink.c: Likewise.
6625         * rt/timer_create.c: Likewise.
6626         * rt/timer_delete.c: Likewise.
6627         * rt/timer_getoverr.c: Likewise.
6628         * rt/timer_gettime.c: Likewise.
6629         * rt/timer_settime.c: Likewise.
6630         * setjmp/__longjmp.c: Likewise.
6631         * setjmp/setjmp.c: Likewise.
6632         * signal/kill.c: Likewise.
6633         * signal/killpg.c: Likewise.
6634         * signal/raise.c: Likewise.
6635         * signal/sigaction.c: Likewise.
6636         * signal/sigaltstack.c: Likewise.
6637         * signal/sigblock.c: Likewise.
6638         * signal/sigignore.c: Likewise.
6639         * signal/sigintr.c: Likewise.
6640         * signal/signal.c: Likewise.
6641         * signal/sigpause.c: Likewise.
6642         * signal/sigpending.c: Likewise.
6643         * signal/sigqueue.c: Likewise.
6644         * signal/sigreturn.c: Likewise.
6645         * signal/sigset.c: Likewise.
6646         * signal/sigsetmask.c: Likewise.
6647         * signal/sigstack.c: Likewise.
6648         * signal/sigsuspend.c: Likewise.
6649         * signal/sigtimedwait.c: Likewise.
6650         * signal/sigvec.c: Likewise.
6651         * signal/sigwait.c: Likewise.
6652         * signal/sigwaitinfo.c: Likewise.
6653         * signal/sysv_signal.c: Likewise.
6654         * socket/accept.c: Likewise.
6655         * socket/accept4.c: Likewise.
6656         * socket/bind.c: Likewise.
6657         * socket/connect.c: Likewise.
6658         * socket/getpeername.c: Likewise.
6659         * socket/getsockname.c: Likewise.
6660         * socket/getsockopt.c: Likewise.
6661         * socket/isfdtype.c: Likewise.
6662         * socket/listen.c: Likewise.
6663         * socket/recv.c: Likewise.
6664         * socket/recvfrom.c: Likewise.
6665         * socket/recvmsg.c: Likewise.
6666         * socket/send.c: Likewise.
6667         * socket/sendmsg.c: Likewise.
6668         * socket/sendto.c: Likewise.
6669         * socket/setsockopt.c: Likewise.
6670         * socket/shutdown.c: Likewise.
6671         * socket/sockatmark.c: Likewise.
6672         * socket/socket.c: Likewise.
6673         * socket/socketpair.c: Likewise.
6674         * stdio-common/ctermid.c: Likewise.
6675         * stdio-common/cuserid.c: Likewise.
6676         * stdio-common/remove.c: Likewise.
6677         * stdio-common/rename.c: Likewise.
6678         * stdio-common/renameat.c: Likewise.
6679         * stdio-common/tempname.c: Likewise.
6680         * stdlib/getcontext.c: Likewise.
6681         * stdlib/makecontext.c: Likewise.
6682         * stdlib/setcontext.c: Likewise.
6683         * stdlib/swapcontext.c: Likewise.
6684         * stdlib/system.c: Likewise.
6685         * streams/fattach.c: Likewise.
6686         * streams/fdetach.c: Likewise.
6687         * streams/getmsg.c: Likewise.
6688         * streams/getpmsg.c: Likewise.
6689         * streams/putmsg.c: Likewise.
6690         * streams/putpmsg.c: Likewise.
6691         * sysdeps/unix/bsd/getpt.c: Likewise.
6692         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6693         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6694         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6696         Likewise.
6697         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6698         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6699         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6700         * sysvipc/msgctl.c: Likewise.
6701         * sysvipc/msgget.c: Likewise.
6702         * sysvipc/msgrcv.c: Likewise.
6703         * sysvipc/msgsnd.c: Likewise.
6704         * sysvipc/semctl.c: Likewise.
6705         * sysvipc/semget.c: Likewise.
6706         * sysvipc/semop.c: Likewise.
6707         * sysvipc/semtimedop.c: Likewise.
6708         * sysvipc/shmat.c: Likewise.
6709         * sysvipc/shmctl.c: Likewise.
6710         * sysvipc/shmdt.c: Likewise.
6711         * sysvipc/shmget.c: Likewise.
6712         * termios/tcdrain.c: Likewise.
6713         * termios/tcflow.c: Likewise.
6714         * termios/tcflush.c: Likewise.
6715         * termios/tcgetattr.c: Likewise.
6716         * termios/tcgetpgrp.c: Likewise.
6717         * termios/tcsendbrk.c: Likewise.
6718         * termios/tcsetattr.c: Likewise.
6719         * termios/tcsetpgrp.c: Likewise.
6720         * time/adjtime.c: Likewise.
6721         * time/clock.c: Likewise.
6722         * time/getitimer.c: Likewise.
6723         * time/gettimeofday.c: Likewise.
6724         * time/setitimer.c: Likewise.
6725         * time/settimeofday.c: Likewise.
6726         * time/stime.c: Likewise.
6727         * time/time.c: Likewise.
6728
6729 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6730
6731         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6732         /usr/old/bin.
6733
6734         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6735         instead of spaces.
6736         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6737
6738 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6739
6740         [BZ #14796]
6741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6742         FE_TONEAREST before applying Dekker multiplication and Knuth
6743         addition.  Clear inexact exceptions and check for exact zero
6744         results afterwards.
6745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6746         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6748         * math/libm-test.inc (fma_test): Add more tests.
6749         (fma_test_towardzero): Likewise.
6750         (fma_test_downward): Likewise.
6751         (fma_test_upward): Likewise.
6752         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6753         function.
6754         (libc_fesetround): New macro.
6755         (libc_fesetroundf): Likewise.
6756         (libc_fesetroundl): Likewise.
6757         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6758         function.
6759         (libc_fesetround_387): Likewise.
6760         (libc_fesetroundf): New macro.
6761         (libc_fesetround): Likewise.
6762         (libc_fesetroundl): Likewise.
6763         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6764         function.
6765         (libc_fesetroundf): New macro.
6766         (libc_fesetround): Likewise.
6767         (libc_fesetroundl): Likewise.
6768         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6769         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6770         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6771         libm_hidden_ver.
6772         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6773         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6774         libm_hidden_def.
6775         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6776         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6777         libm_hidden_ver.
6778         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6779         libm_hidden_def.
6780
6781         [BZ #3439]
6782         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6783         integer constant usable in #if and use that to give value to enum
6784         constant.
6785         (FE_DIVBYZERO): Likewise.
6786         (FE_UNDERFLOW): Likewise.
6787         (FE_OVERFLOW): Likewise.
6788         (FE_INVALID): Likewise.
6789         (FE_INVALID_SNAN): Likewise.
6790         (FE_INVALID_ISI): Likewise.
6791         (FE_INVALID_IDI): Likewise.
6792         (FE_INVALID_ZDZ): Likewise.
6793         (FE_INVALID_IMZ): Likewise.
6794         (FE_INVALID_COMPARE): Likewise.
6795         (FE_INVALID_SOFTWARE): Likewise.
6796         (FE_INVALID_SQRT): Likewise.
6797         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6798         (FE_TONEAREST): Likewise.
6799         (FE_TOWARDZERO): Likewise.
6800         (FE_UPWARD): Likewise.
6801         (FE_DOWNWARD): Likewise.
6802         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6803         (FE_DIVBYZERO): Likewise.
6804         (FE_OVERFLOW): Likewise.
6805         (FE_UNDERFLOW): Likewise.
6806         (FE_INEXACT): Likewise.
6807         (FE_TONEAREST): Likewise.
6808         (FE_DOWNWARD): Likewise.
6809         (FE_UPWARD): Likewise.
6810         (FE_TOWARDZERO): Likewise.
6811         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6812         (FE_UNDERFLOW): Likewise.
6813         (FE_OVERFLOW): Likewise.
6814         (FE_DIVBYZERO): Likewise.
6815         (FE_INVALID): Likewise.
6816         (FE_TONEAREST): Likewise.
6817         (FE_TOWARDZERO): Likewise.
6818         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6819         (FE_OVERFLOW): Likewise.
6820         (FE_UNDERFLOW): Likewise.
6821         (FE_DIVBYZERO): Likewise.
6822         (FE_INEXACT): Likewise.
6823         (FE_TONEAREST): Likewise.
6824         (FE_TOWARDZERO): Likewise.
6825         (FE_UPWARD): Likewise.
6826         (FE_DOWNWARD): Likewise.
6827         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6828         (FE_DIVBYZERO): Likewise.
6829         (FE_OVERFLOW): Likewise.
6830         (FE_UNDERFLOW): Likewise.
6831         (FE_INEXACT): Likewise.
6832         (FE_TONEAREST): Likewise.
6833         (FE_DOWNWARD): Likewise.
6834         (FE_UPWARD): Likewise.
6835         (FE_TOWARDZERO): Likewise.
6836
6837 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6838
6839         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6840
6841 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6842
6843         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6844         commands.  Quote $PWD.
6845         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6846         -x" by "export".
6847         (remove_newlines): Remove.
6848
6849 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6850
6851         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6852         * stdlib/stdlib.h (atof): Moved to ...
6853         * include/bits/stdlib-float.h: Here.  New file.
6854         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6855         * stdlib/bits/stdlib-float.h: New file.
6856         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6857         -mno-sse -mno-mmx.
6858         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6859         <xmmintrin.h>.
6860
6861 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6862
6863         * conform/conformtest.pl (@headers): Add fenv.h.
6864         * conform/data/fenv.h-data: New file.
6865         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6866         include of <math/fenv.h>.
6867
6868         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6869         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6870         && !UNIX98].  Enables tests for XOPEN2K8.
6871         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6872         POSIX2008]: Likewise.
6873
6874         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6875         (struct rusage): Do not expect type or its members.
6876
6877         [BZ #3439]
6878         * math/math.h (FP_NAN): Define macro to integer constant usable in
6879         #if and use that to give value to enum constant.
6880         (FP_INFINITE): Likewise.
6881         (FP_ZERO): Likewise.
6882         (FP_SUBNORMAL): Likewise.
6883         (FP_NORMAL): Likewise.
6884
6885 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6886
6887         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6888         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6889         arguments.
6890
6891 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6892
6893         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6894         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6895         autoconf-time if not.
6896         * configure.in: Remove AC_PREREQ.
6897
6898 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6899
6900         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6901         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6902         of the internal implementation.
6903
6904 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6905
6906         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6907         except include of <misc/sys/syslog.h>.
6908
6909 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6910
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6912         function returns with a NULL context exit with zero.
6913
6914 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6915
6916         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6917
6918 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6919
6920         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6921         (run_program_cmd): This.
6922         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6923         (tst_langinfo): New variable.  Use it.
6924
6925 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6926
6927         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6928         floating point opcodes.
6929
6930 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6931
6932         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6933         variable.
6934
6935         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6936
6937         * sysdeps/mach/hurd/powerpc: Remove directory.
6938         * sysdeps/mach/powerpc: Likewise.
6939
6940 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6941
6942         * scripts/check-local-headers.sh: Ignore c++ headers.
6943
6944 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6945
6946         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6947         __libc_cleanup_region_start argument.
6948
6949 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6950
6951         [BZ #14784]
6952         [BZ #14785]
6953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6954         x * y using scaling, not as x * y + z.
6955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6957         * math/libm-test.inc (fma_test): Add more tests.
6958         (fma_test_towardzero): Likewise.
6959         (fma_test_downward): Likewise.
6960         (fma_test_upward): Likewise.
6961
6962 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6963
6964         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6965
6966 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6967
6968         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6969         New variable.
6970
6971 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6972
6973         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6974
6975 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6976
6977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6978         Fix sort order.
6979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6980         Likewise.
6981
6982 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6983
6984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6985         Fix the order of the list for glibc 2.17.
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6987         Likewise.
6988
6989 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6990
6991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6992
6993 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6994
6995         [BZ #14610]
6996         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6997         for low part of x being zero before using __atanl (y).
6998         * math/libm-test.inc (atan2_test): Add another test.
6999
7000         * manual/install.texi (Configuring and compiling): Document
7001         general use of test-wrapper and test-wrapper-env.
7002         * INSTALL: Regenerated.
7003
7004         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7005         (__fma): Do not extract and scale down low bits on after-rounding
7006         systems when result rounded to normal precision would have normal
7007         exponent.
7008         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7009         (__fmal): Do not extract and scale down low bits on after-rounding
7010         systems when result rounded to normal precision would have normal
7011         exponent.
7012         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7013         (__fmal): Do not extract and scale down low bits on after-rounding
7014         systems when result rounded to normal precision would have normal
7015         exponent.
7016         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7017         macro.
7018         (fma_test): Add more tests.
7019         (fma_test_towardzero): Likewise.
7020         (fma_test_downward): Likewise.
7021         (fma_test_upward): Likewise.
7022
7023 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7024
7025         * sysdeps/i386/tininess.h: Renamed to ...
7026         * sysdeps/x86/tininess.h: This.
7027         * sysdeps/x86_64/tininess.h: Removed.
7028
7029 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7030
7031         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7032         input.  Use $(build-program-cmd).
7033         ($(objpfx)tst-array1-static.out): Likewise.
7034         ($(objpfx)tst-array2.out): Likewise.
7035         ($(objpfx)tst-array3.out): Likewise.
7036         ($(objpfx)tst-array4.out): Likewise.
7037         ($(objpfx)tst-array5.out): Likewise.
7038         ($(objpfx)tst-array5-static.out): Likewise.
7039
7040 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7041
7042         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7043         if defined.
7044
7045         * nss/nsswitch.h (nss_interface_function): Provide new
7046         macro for use with NSS functions.
7047         * grp/initgroups.c: Use new macro.
7048         * nss/getXXbyYY.c: Likewise.
7049         * nss/getXXbyYY_r.c: Likewise.
7050         * nss/getXXent.c: Likewise.
7051         * nss/getXXent_r.c: Likewise.
7052         * sysdeps/posix/getaddrinfo.c: Likewise.
7053
7054 2012-10-30  Andreas Jaeger  <aj@suse.de>
7055
7056         * po/ru.po: Update Russion translation from translation project.
7057
7058 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7059
7060         [BZ #14152]
7061         [BZ #14783]
7062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7063         result and shift together with sticky bit instead of replicating
7064         round-to-nearest rounding.
7065         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7066         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7067         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7068         missing underflow exceptions.
7069         (fma_test_towardzero): Add more tests.
7070         (fma_test_downward): Likewise.
7071         (fma_test_upward): Likewise.
7072
7073         [BZ #14047]
7074         * sysdeps/generic/tininess.h: New file.
7075         * sysdeps/i386/tininess.h: Likewise.
7076         * sysdeps/sh/tininess.h: Likewise.
7077         * sysdeps/x86_64/tininess.h: Likewise.
7078         * stdlib/tst-strtod-underflow.c: Likewise.
7079         * stdlib/tst-tininess.c: Likewise.
7080         * stdlib/strtod_l.c: Include <tininess.h>.
7081         (round_and_return): Do not set errno for exact underflow cases.
7082         Force an underflow exception when setting errno for underflow.
7083         Determine underflow based on rounding to normal precision if
7084         TININESS_AFTER_ROUNDING.
7085         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7086         ERANGE for exact underflow cases.
7087         * stdlib/Makefile (tests): Add tst-tininess and
7088         tst-strtod-underflow.
7089         ($(objpfx)tst-tininess): Use $(link-libm).
7090         ($(objpfx)tst-strtod-underflow): Likewise.
7091
7092 2012-10-30  Andreas Jaeger  <aj@suse.de>
7093
7094         [BZ#14767]
7095         * elf/Makefile (tests): Remove conditional for have-initfini-array
7096         since this is now always required and the variable does not exist
7097         anymore.
7098         (tests-static): Likewise.
7099         (modules-names): Likewise.
7100
7101         * po/eo.po: Add Esperanto translation from translation project.
7102
7103         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7104         merged with constructor/destructor.
7105         (init_array): Likewise.
7106         * elf/tst-array2dep.c (fini_array): Likewise.
7107         (init_array): Likewise.
7108
7109 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7110
7111         * manual/message.texi: Delete @cartouche tags.
7112
7113 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7114
7115         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7116         EOPNOTSUPP.
7117         * sysdeps/mach/hurd/fsync.c: Likewise.
7118
7119         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7120         [_POSIX_REALTIME_SIGNALS]: Change condition to
7121         [_POSIX_REALTIME_SIGNALS > 0].
7122
7123 2012-10-27  Andreas Jaeger  <aj@suse.de>
7124
7125         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7126         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7128         [__WORDSIZE != 64]: Likewise.
7129
7130 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7131
7132         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7133         *  iconvdata/tst-tables.sh: Likewise.
7134
7135 2012-10-25  David S. Miller  <davem@davemloft.net>
7136
7137         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7138         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7139         of strtoull.
7140
7141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7142         ifunc-impl-list.c
7143         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7144         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7145         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7146         file.
7147
7148 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7149
7150         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7151         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7152         __getdirentries.
7153
7154 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7155             Jim Blandy  <jimb@codesourcery.com>
7156
7157         * scripts/cross-test-ssh.sh: New file.
7158         * manual/install.texi (Configuring and compiling): Document use of
7159         cross-test-ssh.sh.
7160         * INSTALL: Regenerated.
7161
7162 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7163
7164         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7165         EOPNOTSUPP.
7166
7167 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7168
7169         * Makeconfig (run-program-prefix): Fix comment.
7170
7171 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7172             Jim Blandy  <jimb@codesourcery.com>
7173
7174         * Makeconfig (test-wrapper): New variable,
7175         (test-wrapper-env): Likewise.
7176         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7177         (run-built-tests): Define to yes.
7178         (run-program-prefix): Use $(test-wrapper).
7179         (built-program-cmd): Likewise.
7180         * Rules (make-test-out): Use $(test-wrapper-env) and
7181         $(host-built-program-cmd).
7182         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7183         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7184         tst-pathopt.sh.
7185         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7186         $(test-wrapper-env) to tst-rtld-load-self.sh.
7187         ($(objpfx)order2.out): Use $(test-wrapper).
7188         ($(objpfx)tst-initorder.out): Likewise.
7189         ($(objpfx)tst-initorder2.out): Likewise.
7190         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7191         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7192         (test_wrapper_env): New variable.  Use it to run ld.so.
7193         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7194         Use it to run ld.so.
7195         (test_wrapper_env): Likewise.
7196         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7197         $(test-wrapper) to run-iconv-test.sh.
7198         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7199         (ICONV): Use $test_wrapper.
7200         * posix/Makefile ($(objpfx)globtest.out): Pass
7201         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7202         globtest.sh, not $(run-program-prefix).
7203         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7204         (test_wrapper): Likewise.
7205         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7206         set together with run_via_rtld_prefix.
7207         (run_program_prefix): Define in terms of test_wrapper and
7208         run_via_rtld_prefix.
7209
7210 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7211
7212         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7213         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7214         Targets removed.
7215
7216         [BZ #14743]
7217         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7218         Declare __clock_getres, __clock_gettime, __clock_settime,
7219         __clock_nanosleep, and __clock_getcpuclockid.
7220         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7221         Remove librt_hidden_def (clock_gettime).
7222         * sysdeps/unix/clock_gettime.c: Likewise.
7223         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7225         * rt/clock_getres.c: Define __clock_getres as an alias.
7226         * sysdeps/posix/clock_getres.c: Likewise.
7227         * rt/clock_settime.c: Define __clock_settime as an alias.
7228         * sysdeps/unix/clock_settime.c: Likewise.
7229         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7230         * sysdeps/unix/clock_nanosleep.c: Likewise.
7231         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7232         * rt/clock-compat.c: New file.
7233         * rt/Makefile (librt-routines): Add clock-compat and move
7234         $(clock-routines) to ...
7235         (routines): ... here, new variable.
7236         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7237         Don't add get_clockfreq here.
7238         * rt/Versions (libc: GLIBC_2.17): New version set.
7239         Add clock_* symbols here.
7240         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7241         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7242         (GLIBC_2.17): Add clock_* symbols.
7243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7247         Likewise.
7248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7249         Likewise.
7250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7254         * NEWS: Mention the move.
7255
7256         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7257         Use __open, __read, __close rather than their public counterparts.
7258         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7259         (__get_clockfreq_via_cpuinfo): Likewise.
7260         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7261         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7262
7263         * config.h.in (HAVE_IFUNC): New #undef.
7264         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7265         was successful.
7266         * configure: Regenerated.
7267
7268 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7269
7270         * configure.in: Move READELF check to start of file.
7271         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7272         libc_cv_asm_gnu_indirect_function in the process.
7273         * configure: Regenerated.
7274
7275 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7276
7277         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7278         send the output to /dev/null.
7279         (libc_cv_cc_with_libunwind): Likewise.
7280         (libc_cv_as_noexecstack): Likewise.
7281         * configure: Regenerate.
7282
7283 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7284
7285         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7286
7287         * posix/globtest.sh (TMPDIR): Do not set.
7288         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7289         (testout): Likewise.
7290
7291 2012-10-24  Andreas Jaeger  <aj@suse.de>
7292
7293         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7294         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7295         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7296         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7297         posix_fadvise64, posix_fallocate64.
7298
7299         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7300         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7301         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7302         Likewise.
7303         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7304         Likewise.
7305         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7306
7307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7308         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7309         <bits/fcntl-linux.h>.
7310         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7311
7312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7313         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7314         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7315         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7316         [__WORDSIZE != 64]: Likewise.
7317
7318 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7319
7320         * Makeconfig (run-built-tests): New variable.
7321         * Rules [$(cross-compiling) = yes]: Change condition to
7322         [$(run-built-tests) = no].
7323         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7324         to [$(run-built-tests) = yes].
7325         * elf/Makefile [$(cross-compiling) = no]: Likewise
7326         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7327         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7328         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7329         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7330         * io/Makefile [$(cross-compiling) = no]: Likewise.
7331         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7332         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7333         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7334         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7335         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7336         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7337         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7338         * string/Makefile [$(cross-compiling) = no]: Likewise.
7339
7340         * posix/Makefile ($(objpfx)globtest.out): Pass
7341         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7342         $(rtld-installed-name).
7343         * posix/globtest.sh (elf_objpfx): Remove variable.
7344         (rtld_installed_name): Likewise.
7345         (library_path): Likewise.
7346         (run_program_prefix): New variable.  Use for running globtest
7347         binary.
7348
7349 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7350             Joseph Myers  <joseph@codesourcery.com>
7351
7352         * Makeconfig (host-built-program-cmd): New variable.
7353         * elf/Makefile (tst-stackguard1-ARGS): Use
7354         $(host-built-program-cmd).
7355         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7356         (tst-spawn-ARGS): Likewise.
7357         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7358
7359 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7360             Jim Blandy  <jimb@codesourcery.com>
7361
7362         * Makeconfig (run-via-rtld-prefix): New variable.
7363         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7364         (built-program-cmd): Likewise.
7365
7366 2012-10-22  Andreas Jaeger  <aj@suse.de>
7367
7368         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7369         __O_RSYNC if it exists, otherwise to O_SYNC.
7370
7371 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7372             Joseph Myers  <joseph@codesourcery.com>
7373
7374         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7375         /dev/null.
7376         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7377         from /dev/null
7378         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7379         /dev/null.
7380
7381 2012-10-22  Andreas Jaeger  <aj@suse.de>
7382
7383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7384         Define always.
7385         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7386
7387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7388         bits/fcntl-linux.h.
7389
7390         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7391         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7392
7393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7394         to __O_LARGEFILE.
7395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7396         to __O_LARGEFILE.
7397
7398 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7399             Joseph Myers  <joseph@codesourcery.com>
7400
7401         * config.make.in (NM): New variable.
7402
7403 2012-10-21  Andreas Jaeger  <aj@suse.de>
7404
7405         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7406         definitions and declarations that are provided by
7407         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7408
7409 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7410
7411         [BZ #14683]
7412         * elf/Makefile (tests-static): Add tst-leaks1-static.
7413         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7414         ($(objpfx)tst-leaks1-static): New rule.
7415         ($(objpfx)tst-leaks1-static-mem): Likewise.
7416         (tst-leaks1-static-ENV): New macro.
7417         * elf/dl-open.c (dl_open_worker): Check the main application
7418         only if SHARED is defined.
7419         * elf/tst-leaks1-static.c: New file.
7420
7421 2012-10-20  Andreas Jaeger  <aj@suse.de>
7422
7423         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7424         generic values for Linux.
7425         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7426         and declarations that are provided by <bits/fcntl-linux.h> and
7427         include <bits/fcntl-linux.h>.
7428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7430
7431 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7432
7433         * io/fcntl.h: Move include of <bits/types.h> to the top and
7434         include it unconditionally.
7435
7436 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7437
7438         * wcsmbs/Makefile (tests-ifunc): New variable.
7439         (tests): Add $(tests-ifunc).
7440         * wcsmbs/test-wcschr-ifunc.c: New file.
7441         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7442         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7443         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7444         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7445         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7446
7447         * string/Makefile (tests-ifunc): New variable.
7448         (tests): Add $(tests-ifunc).
7449         * string/test-memccpy.c (TEST_NAME): New macro.
7450         * string/test-memchr.c (TEST_NAME): Likewise.
7451         * string/test-memcmp.c (TEST_NAME): Likewise.
7452         * string/test-memcpy.c (TEST_NAME): Likewise.
7453         * string/test-memmem.c (TEST_NAME): Likewise.
7454         * string/test-memmove.c (TEST_NAME): Likewise.
7455         * string/test-memset.c (TEST_NAME): Likewise.
7456         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7457         * string/test-stpcpy.c (TEST_NAME): Likewise.
7458         * string/test-stpncpy.c (TEST_NAME): Likewise.
7459         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7460         * string/test-strcasestr.c (TEST_NAME): Likewise.
7461         * string/test-strcat.c (TEST_NAME): Likewise.
7462         * string/test-strchr.c (TEST_NAME): Likewise.
7463         * string/test-strcmp.c(TEST_NAME): Likewise.
7464         * string/test-strcpy.c (TEST_NAME): Likewise.
7465         * string/test-strcspn.c (TEST_NAME): Likewise.
7466         * string/test-strlen.c (TEST_NAME): Likewise.
7467         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7468         * string/test-strncmp.c (TEST_NAME): Likewise.
7469         * string/test-strncpy.c (TEST_NAME): Likewise.
7470         * string/test-strnlen.c (TEST_NAME): Likewise.
7471         * string/test-strpbrk.c (TEST_NAME): Likewise.
7472         * string/test-strrchr.c (TEST_NAME): Likewise.
7473         * string/test-strspn.c (TEST_NAME): Likewise.
7474         * string/test-strstr.c (TEST_NAME): Likewise.
7475         * string/test-bcopy-ifunc.c: New file.
7476         * string/test-bzero-ifunc.c: Likewise.
7477         * string/test-memccpy-ifunc.c: Likewise.
7478         * string/test-memchr-ifunc.c: Likewise.
7479         * string/test-memcmp-ifunc.c: Likewise.
7480         * string/test-memcpy-ifunc.c: Likewise.
7481         * string/test-memmem-ifunc.c: Likewise.
7482         * string/test-memmove-ifunc.c: Likewise.
7483         * string/test-mempcpy-ifunc.c: Likewise.
7484         * string/test-memset-ifunc.c: Likewise.
7485         * string/test-rawmemchr-ifunc.c: Likewise.
7486         * string/test-stpcpy-ifunc.c: Likewise.
7487         * string/test-stpncpy-ifunc.c: Likewise.
7488         * string/test-strcasecmp-ifunc.c: Likewise.
7489         * string/test-strcasestr-ifunc.c: Likewise.
7490         * string/test-strcat-ifunc.c: Likewise.
7491         * string/test-strchr-ifunc.c: Likewise.
7492         * string/test-strchrnul-ifunc.c: Likewise.
7493         * string/test-strcmp-ifunc.c: Likewise.
7494         * string/test-strcpy-ifunc.c: Likewise.
7495         * string/test-strcspn-ifunc.c: Likewise.
7496         * string/test-strlen-ifunc.c: Likewise.
7497         * string/test-strncasecmp-ifunc.c: Likewise.
7498         * string/test-strncat-ifunc.c: Likewise.
7499         * string/test-strncmp-ifunc.c: Likewise.
7500         * string/test-strncpy-ifunc.c: Likewise.
7501         * string/test-strnlen-ifunc.c: Likewise.
7502         * string/test-strpbrk-ifunc.c: Likewise.
7503         * string/test-strrchr-ifunc.c: Likewise.
7504         * string/test-strspn-ifunc.c: Likewise.
7505         * string/test-strstr-ifunc.c: Likewise.
7506
7507         * debug/Makefile (tests-ifunc): New variable.
7508         (tests): Add $(tests-ifunc).
7509         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7510         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7511         * debug/test-stpcpy_chk-ifunc.c: New file.
7512         * debug/test-strcpy_chk-ifunc.c: Likewise.
7513
7514 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7515
7516         [BZ #13601]
7517         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7518         header is not read in.
7519
7520 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7521
7522         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7523         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7524         directly.  Pass built executable to script as
7525         $(built-program-cmd).
7526         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7527         $testprogram without using LD_LIBRARY_PATH and $ldso.
7528
7529         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7530         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7531         $(rtld-installed-name).
7532         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7533         (rtld_installed_name): Likewise.
7534         (library_path): Likewise.
7535         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7536         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7537         $(run-program-prefix) to tst-tables.sh.
7538         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7539         it to run tst-table-from and tst-table-to.
7540         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7541         Pass it to tst-table.sh.
7542         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7543         $(run-program-prefix) to tst-gettext.sh.
7544         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7545         tst-translit.sh.
7546         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7547         tst-gettext2.sh.
7548         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7549         to run tst-gettext.
7550         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7551         to run tst-gettext2.
7552         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7553         to run tst-translit.
7554         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7555         $(run-program-prefix) to tst-mtrace.sh.
7556         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7557         to run tst-mtrace.
7558         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7559         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7560         $(rtld-installed-name).
7561         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7562         (rtld_installed_name): Likewise.
7563         (run_program_prefix): New variable.  Use it to run wordexp-test.
7564
7565         * Makeconfig (ARCH): Remove all definitions.
7566         (machine): Likewise.
7567         [ARCH]: Remove conditional code.
7568         [!objdir]: Give error.
7569         [!objdir] (objpfx): Remove.
7570         [!objdir] (common-objpfx): Likewise.
7571         [!objdir] (common-objdir): Likewise.
7572         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7573         AC_CONFIG_FILES call.
7574         * configure: Regenerated.
7575
7576         [BZ #13888]
7577         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7578         or TMPDIR.
7579         (testout): Likewise.
7580
7581         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7582         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7583         $(rtld-installed-name).
7584         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7585         (rtld_installed_name): Likwise.
7586         (runit): Remove function.
7587         (run_getconf): New variable,  Use it for running getconf binary.
7588
7589 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7590
7591         [BZ #14716]
7592         * string/test-memmem.c (check_result): New function.
7593         (do_one_test): Use it.
7594         (check1): New function.
7595         (test_main): Use it.
7596
7597 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7598
7599         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7600
7601 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7602
7603         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7604         (_G_LSEEK64): Likewise.
7605         (_G_MMAP64): Likewise.
7606         (_G_FSTAT64): Likewise.
7607         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7608         (_G_LSEEK64): Likewise.
7609         (_G_MMAP64): Likewise.
7610         (_G_FSTAT64): Likewise.
7611         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7612         unconditional.  Call __mmap64 directly.
7613         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7614         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7615         __lseek64 directly.
7616         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7617         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7618         __mmap64 directly.
7619         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7620         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7621         __lseek64 directly.
7622         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7623         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7624         __lseek64 directly.
7625         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7626         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7627         __lseek64 directly.
7628         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7629         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7630         __fxstat64 directly.
7631         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7632         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7633         unconditional.
7634         (freopen64) [!_G_OPEN64]: Remove conditional code.
7635         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7636         unconditional.
7637         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7638         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7639         unconditional.
7640         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7641         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7642         unconditional.
7643         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7644         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7645         unconditional.
7646         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7647         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7648         unconditional.
7649         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7650         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7651         unconditional.
7652         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7653         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7654         unconditional.
7655         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7656
7657 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7658
7659         [BZ #12140]
7660         * manual/memory.texi (Malloc Tunable Parameters): Add note
7661         about free list pointers overwriting some perturb bytes.
7662         Wording suggested by Roland McGrath.
7663
7664 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7665
7666         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7667         (lgamma_test): Likewise.
7668         (tgamma_test): Likewise.
7669
7670 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7671
7672         [BZ #14700]
7673         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7674         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7675
7676 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7677
7678         * NEWS: Mention BZ #14716.
7679         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7680         when removing AVAILABLE1_USES_J macro.
7681
7682 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7683
7684         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7685         (__bswap_64): __uint64_t for unsigned 64-bit int.
7686
7687 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7688
7689         * include/string.h (memmem): Declare libc hidden alias.
7690         * string/memmem.c (memmem): Define libc hidden alias.
7691         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7692         __read, __close instead of open, read, close.
7693
7694 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7695
7696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7697         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7698         global and hidden.
7699         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7700         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7701         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7702         Likewise.
7703         (__rawmemchr_sse2): Likewise.
7704         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7705         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7706         (__strchr_sse2): Likewise.
7707         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7708         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7709         (__strcasecmp_sse2): Likewise.
7710         (__strncasecmp_sse2): Likewise.
7711         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7712         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7713         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7714         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7715         (__strrchr_sse2): Likewise.
7716         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7717         ifunc-impl-list.c.
7718         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7719         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7720         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7721         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7722         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7723         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7726         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7727         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7728         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7729         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7730         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7731         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7732         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7733         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7734         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7735         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7736         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7737         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7738         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7739         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7740         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7741         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7742         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7743         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7744         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7745         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7746         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7747         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7748
7749         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7750         global and hidden.
7751         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7752         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7753         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7754         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7755         Likewise.
7756         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7757         Likewise.
7758         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7759         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7760         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7761         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7762         ifunc-impl-list.c.
7763         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7764         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7765         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7766         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7767         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7768         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7769         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7770         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7771         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7772         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7773         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7774         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7775         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7776         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7777         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7778         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7779         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7780         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7781         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7782         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7783         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7784         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7785         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7786         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7787         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7788         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7789         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7790         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7791         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7792         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7793         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7794         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7795         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7796         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7797         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7798         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7799         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7800         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7801         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7802         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7803         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7804
7805         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7806         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7807         * include/ifunc-impl-list.h: New file.
7808         * misc/ifunc-impl-list.c: Likewise.
7809         * misc/Makefile (routines): Add ifunc-impl-list.
7810         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7811         * string/test-string.h: Include <ifunc-impl-list.h>.
7812         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7813         impl_array): New variables.
7814         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7815         are defined.
7816         (test_init): Call __libc_ifunc_impl_list to initialize
7817         func_list if TEST_IFUNC and TEST_NAME are defined.
7818
7819         * string/Makefile (strop-tests): Add bcopy and bzero.
7820         * string/test-bcopy.c: New file.
7821         * string/test-bzero.c: Likewise.
7822         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7823         defined.
7824         * string/test-memset.c: Support bzero test if TEST_BZERO is
7825         defined.
7826         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7827         __libc_memmove.
7828         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7829         __libc_memset.
7830         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7831         of memset.
7832
7833 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7834
7835         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7836         * configure: Regenerated.
7837
7838         * Makeconfig (+link-static-before-libc): Don't include
7839         $(link-static-libc).
7840
7841         * libio/libio.h (_IO_pos_t): Remove.
7842
7843 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7844
7845         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7846         McGrath.
7847
7848 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7849
7850         * crypt/crypt-entry.c: Include fips-private.h.
7851         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7852         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7853         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7854         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7855
7856 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7857
7858         * crypt/crypt-private.h: Include stdbool.h.
7859         (_ufc_setup_salt_r): Return bool.
7860         * crypt/crypt-entry.c: Include errno.h.
7861         (__crypt_r): Return NULL with EINVAL for bad salt.
7862         * crypt/crypt_util.c (bad_for_salt): New.
7863         (_ufc_setup_salt_r): Check that salt is long enough and within
7864         the specified alphabet.
7865         * crypt/badsalttest.c: New file.
7866         * crypt/Makefile (tests): Add it.
7867         ($(objpfx)badsalttest): New.
7868
7869 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7870
7871         * NEWS: Add entry for BZ #14602.
7872
7873 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7874
7875         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7876         type-generic.
7877         * math/libm-test.inc: Update comment listing what functions and
7878         macros are tested.
7879         (isgreater_test): New function.
7880         (isgreaterequal_test): Likewise.
7881         (isless_test): Likewise.
7882         (islessequal_test): Likewise.
7883         (islessgreater_test): Likewise.
7884         (isunordered_test): Likewise.
7885         (main): Call the new functions.
7886
7887 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7888
7889         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7890         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7891         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7892         * sysdeps/i386/configure: Regenerated.
7893         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7894         * sysdeps/mach/configure: Regenerated.
7895         * sysdeps/mach/hurd/configure: Regenerated.
7896         * sysdeps/powerpc/configure: Regenerated.
7897         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7898         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7899         * sysdeps/s390/s390-32/configure: Regenerated.
7900         * sysdeps/s390/s390-64/configure: Regenerated.
7901         * sysdeps/sh/configure: Regenerated.
7902         * sysdeps/sparc/configure: Regenerated.
7903         * sysdeps/unix/sysv/linux/configure: Regenerated.
7904         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7905         * sysdeps/x86_64/configure: Regenerated.
7906
7907         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7908         defined.  Don't check if MAP is NULL.
7909
7910 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7911
7912         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7913         (_G_stat64): Likewise.
7914         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7915         (_G_stat64): Likewise.
7916         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7917         instead of struct _G_stat64.
7918         * libio/fileops.c (mmap_remap_check): Likewise.
7919         (decide_maybe_mmap): Likewise.
7920         (_IO_new_file_seekoff): Likewise.
7921         (_IO_file_stat): Likewise.
7922         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7923         _G_off64_t.
7924         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7925         instead of struct _G_stat64.
7926         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7927
7928 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7929
7930         [BZ #14602]
7931         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7932         Replace with ...
7933         (CHECK_EOL): New macro.
7934         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7935         CHECK_EOL.
7936         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7937         Replace with CHECK_EOL.
7938         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7939         Replace with CHECK_EOL.
7940
7941 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7942
7943         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7944         type-generic.
7945         * math/libm-test.inc: Update comment listing what functions and
7946         macros are tested.
7947         (finite_test): New function.
7948         (isinf_test): Likewise.
7949         (isnan_test): Likewise.
7950         (fpclassify_test): Test subnormal input.
7951         (isfinite_test): Likewise.
7952         (isnormal_test): Likewise.
7953         (main): Call the new functions.
7954
7955 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7956
7957         [BZ #14660]
7958         * Makerules (%.dynsym): Force C locale when running
7959         $(OBJDUMP) --dynamic-syms.
7960
7961 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7962
7963         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7964         <stdint.h>.
7965
7966 2012-10-06  David S. Miller  <davem@davemloft.net>
7967
7968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7969         upper 32-bits of the length value in %o2 since we use branch-on-register
7970         tests which consider the entire 64-bit register.
7971
7972 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7973
7974         * string/test-strstr.c (check2): Add a test for page boundary.
7975
7976 2012-10-05  David S. Miller  <davem@davemloft.net>
7977
7978         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7979         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7980         file.
7981         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7982         sysdep_routines.
7983         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7984         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7985         and bzero when HWCAP_SPARC_CRYPTO is present.
7986
7987 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7988
7989         [BZ #14602]
7990         * string/test-strstr.c (check2): New function.
7991         (test_main): Call check2.
7992
7993         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7994         and bug-strchr1.
7995         * string/bug-strcasestr1.c (do_test): Moved to ...
7996         * string/test-strcasestr.c (check1): Here.  New function.
7997         (do_one_test): Break out result checking code into ...
7998         (check_result): This.  New function.
7999         (do_one_test): Call check_result.
8000         (test_main): Call check1.
8001         * string/bug-strchr1.c (do_test): Moved to ...
8002         * string/test-strchr.c (check1): Here.  New function.
8003         (do_one_test): Break out result checking code into ...
8004         (check_result): This.  New function.
8005         (do_one_test): Call check_result.
8006         (test_main): Call check1.
8007         * string/bug-strstr1.c (main): Moved to ...
8008         * string/test-strstr.c (check1): Here.  New function.
8009         (do_one_test): Break out result checking code into ...
8010         (check_result): This.  New function.
8011         (do_one_test): Call check_result.
8012         (test_main): Call check1.
8013         * string/bug-strcasestr1.c: Removed.
8014         * string/bug-strchr1.c: Likewise.
8015         * string/bug-strstr1.c: Likewise.
8016
8017         * elf/Makefile (dl-routines): Add hwcaps.
8018         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8019         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8020         (_dl_important_hwcaps): Moved to ...
8021         * elf/dl-hwcaps.c: Here.  New file.
8022         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8023
8024         [BZ #14557]
8025         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8026         if IS_IN_rtld isn't defined.
8027
8028         * elf/dl-support.c (_dl_sysinfo_map): New.
8029         Include "get-dynamic-info.h" and "setup-vdso.h".
8030         (_dl_non_dynamic_init): Call setup_vdso.
8031         * elf/dynamic-link.h: Don't include <assert.h>.
8032         (elf_get_dynamic_info): Moved to ...
8033         * elf/get-dynamic-info.h: Here.  New file.
8034         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8035         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8036         * elf/setup-vdso.h: Here.  New file.
8037         * elf/rtld.c: Include "setup-vdso.h".
8038         (dl_main): Call setup_vdso.
8039
8040 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8041
8042         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8043         creal in comment listing functions tested.  List finite, isinf,
8044         isnan, isless, islessequal, isgreater, isgreaterequal,
8045         islessgreater, isunordered, lgamma_r and pow10 as functions and
8046         macros not tested.  Mention which functions not tested are aliases
8047         for other functions.  Fix typo.  Note that signs of NaNs are not
8048         tested.
8049
8050         * scripts/config.guess: Update from config.git.
8051         * scripts/config.sub: Likewise.
8052
8053 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8054
8055         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8056         * misc/madvise.c (madvise): Renamed to __madvise.
8057         Make madvise a weak alias.
8058         * include/sys/mman.h: Declare __madvise.
8059         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8060         * sysdeps/unix/syscalls.list
8061         (madvise): Make __madvise the strong name, and madvise a weak alias.
8062         * sysdeps/unix/sysv/linux/syscalls.list
8063         (madvise, mmap): Remove redundant entries.
8064         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8065         * malloc/malloc.c (mtrim): Likewise.
8066         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8067
8068 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8069
8070         * sysdeps/mach/hurd/dl-cache.c: File removed.
8071         * config.h.in (USE_LDCONFIG): New #undef.
8072         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8073         * configure: Regenerated.
8074         * elf/Makefile (dl-routines): Add dl-cache only under
8075         [$(use-ldconfig) = yes].
8076         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8077         cache on [USE_LDCONFIG].
8078         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8079         [USE_LDCONFIG].
8080         * elf/rtld.c (dl_main): Likewise.
8081
8082 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8083
8084         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8085         _SC_LEVEL4_CACHE_LINESIZE.
8086
8087 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8088
8089         * sysdeps/unix/bsd/confstr.h: File removed.
8090
8091 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8092
8093         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8094         sys/sdt-config.h.
8095
8096 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8097
8098         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8099         Make 'mapoff' field ElfW(Off) rather than off_t.
8100
8101 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8102
8103         * nscd/Makefile: Remove nscd-cflags and all its users.
8104         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8105         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8106
8107         [BZ #10631]
8108         * malloc.c (malloc_printerr): Clarify error message.
8109
8110 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8111
8112         [BZ #14648]
8113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8114         Set bit_FMA_Usable if FMA is supported.
8115         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8116         macro.
8117         (bit_FMA4_Usable): Updated.
8118         (index_FMA_Usable): New macro.
8119         (CPUID_FMA): Likewise
8120         (HAS_FMA): Defined with bit_FMA_Usable.
8121
8122 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8123
8124         * bits/types.h (__swblk_t): Type removed.
8125         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8126         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8127         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8128         (__SWBLK_T_TYPE): Likewise.
8129         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8130         (__SWBLK_T_TYPE): Likewise.
8131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8132         (__SWBLK_T_TYPE): Likewise.
8133         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8134         (__SWBLK_T_TYPE): Likewise.
8135
8136 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8137             Honza Horak <hhorak@redhat.com>
8138
8139         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8140         (xdr_mapname): Use YPMAXMAP as maxsize.
8141         (xdr_peername): Use YPMAXPEER as maxsize.
8142         (xdr_keydat): Use YPAXRECORD as maxsize.
8143         (xdr_valdat): Use YPMAXRECORD as maxsize.
8144
8145 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8146
8147         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8148
8149         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8150         * csu/init-first.c: ... here.
8151         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8152         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8153         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8154         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8155         * sysdeps/i386/init-first.c: File removed.
8156         * sysdeps/sh/init-first.c: File removed.
8157
8158 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8159
8160         [BZ #14645]
8161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8162         if x * y might underflow to zero and z is zero.
8163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8164         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8165         * math/libm-test.inc (min_subnorm_value): New variable.
8166         (fma_test): Add more tests.
8167         (fma_test_towardzero): Likewise.
8168         (fma_test_downward): Likewise
8169         (fma_test_upward): Likewise.
8170         (initialize): Set min_subnorm_value.
8171
8172 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8173
8174         [BZ #14638]
8175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8176         0 + 0.
8177         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8178         mode for addition resulting in exact zero.
8179         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8181         exact 0 + 0.
8182         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8183         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8184         * math/libm-test.inc (fma_test): Add more tests.
8185         (fma_test_towardzero): New function.
8186         (fma_test_downward): Likewise.
8187         (fma_test_upward): Likewise.
8188         (main): Call the new functions.
8189
8190 2012-09-28  David S. Miller  <davem@davemloft.net>
8191
8192         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8193
8194 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8195
8196         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8197         instead of SIGALRM.
8198
8199         * sysdeps/gnu/_G_config.h: Moved to ...
8200         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8201         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8202         * sysdeps/generic/_G_config.h: ... here.
8203
8204         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8205
8206         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8207
8208         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8209         Conditionalize target on [libnss_test1.so-version].
8210
8211         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8212
8213         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8214         (elfobjdir): Move out of conditionals.
8215
8216         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8217         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8218         (__nss_lookup_function): Conditionalize label remove_from_tree on
8219         [!DO_STATIC_NSS || SHARED], matching its only use.
8220
8221 2012-09-28  David S. Miller  <davem@davemloft.net>
8222
8223         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8224         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8225         file.
8226         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8227         sysdep_routines.
8228         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8229         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8230         when HWCAP_SPARC_CRYPTO is present.
8231
8232 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8233
8234         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8235
8236 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8237
8238         [BZ #6530]
8239         * stdio-common/vfprintf.c (process_string_arg): Revert
8240         2000-07-22 change.
8241
8242 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8243
8244         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8245         for testcase.
8246         * stdio-common/tst-sprintf.c: Include <locale.h>
8247         (main): Test sprintf's handling of incomplete multibyte
8248         characters.
8249
8250 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8251
8252         * elf/dl-runtime.c (VERSYMIDX): Removed.
8253         * elf/dl-version.c (VERSYMIDX): Likewise.
8254         * elf/do-rel.h (VERSYMIDX): Likewise.
8255         (VALIDX): Likewise.
8256         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8257         * elf/rtld.c (VALIDX): Likewise.
8258         (ADDRIDX): Likewise.
8259         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8260         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8261         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8262         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8263         (VALIDX): Likewise.
8264         (ADDRIDX): Likewise.
8265
8266 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8267
8268         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8269
8270 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8271
8272         [BZ #11438]
8273         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8274         to global scope.
8275         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8276         addresses are in the same scope as 192.0.2/24.
8277         * posix/gai.conf: Document new scope table defaults.
8278
8279 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8280
8281         [BZ #5298]
8282         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8283         for ftell.  Compute offsets from write pointers instead.
8284         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8285
8286 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8287
8288         [BZ #14543]
8289         * libio/Makefile (tests): New test case tst-fseek.
8290         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8291         combination works in wide mode.
8292         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8293         state when the external buffer state changes.
8294
8295 2012-09-27  David S. Miller  <davem@davemloft.net>
8296
8297         [BZ #14376]
8298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8299         pass reloc->r_addend in as the 'high' argument to
8300         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8301
8302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8303
8304 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8305
8306         * rt/tst-aio2.c: Include <pthread.h>.
8307         * rt/tst-aio3.c: Likewise.
8308
8309 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8310
8311         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8312
8313 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8314
8315         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8316         contents on [SHARED].
8317
8318 2012-09-26  Marek Polacek  <polacek@redhat.com>
8319
8320         [BZ #14530]
8321         [BZ #13741]
8322         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8323         for C++ and GCC <4.3 as well as for non GCC compilers.
8324
8325 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8326
8327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8328
8329 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8330
8331         * Makefile.in (all, install): Declare with .PHONY.
8332         Reported by Michael Hope <michael.hope@linaro.org>.
8333
8334 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8335
8336         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8337         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8338         system header.
8339         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8340         Likewise.
8341         (sydep_routines): Add the new and the internal functions.
8342         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8343         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8345         (GLIBC_2.17): Add the new function.
8346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8347         (GLIBC_2.17): Likewise.
8348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8349         (GLIBC_2.17): Likewise.
8350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8351         (GLIBC_2.17): Likewise.
8352         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8353
8354 2012-09-25  Alan Modra  <amodra@gmail.com>
8355
8356         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8357         Add release barrier before setting once_control to say
8358         initialisation is done.  Add hints on lwarx.  Use macro in
8359         place of isync.
8360         (clear_once_control): Add release barrier.
8361
8362 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8363
8364         [BZ #13629]
8365         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8366         specially.
8367         * math/s_clog10.c (__clog10): Likewise.
8368         * math/s_clog10f.c (__clog10f): Likewise.
8369         * math/s_clog10l.c (__clog10l): Likewise.
8370         * math/s_clogf.c (__clogf): Likewise.
8371         * math/s_clogl.c (__clogl): Likewise.
8372         * math/Makefile (libm-calls): Add x2y2m1.
8373         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8374         (__x2y2m1): Likewise.
8375         (__x2y2m1l): Likewise.
8376         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8377         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8378         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8379         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8380         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8381         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8382         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8383         * sysdeps/i386/fpu/libm-test-ulps: Update.
8384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8385
8386         [BZ #14621]
8387         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8388         int as type of variable DEPTH.
8389         (glob): Use size_t instead of int as type of variables NEWCOUNT
8390         and OLD_PATHC.
8391
8392 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8393
8394         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8395         Add s_sincosf-sse2.
8396         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8397         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8398         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8399         macros for using routine as __sincosf_ia32.
8400         Use macro for function declaration and weak_alias.
8401         * sysdeps/i386/fpu/libm-test-ulps: Update.
8402
8403         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8405
8406         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8407         subnormal argument.
8408         * math/s_cexpf.c (__cexpf): Likewise.
8409         * math/s_csinf.c (__csinf): Likewise.
8410         * math/s_csinhf.c (__csinhf): Likewise.
8411         * math/s_ctanf.c (__ctanf): Likewise.
8412         * math/s_ctanhf.c (__ctanhf): Likewise.
8413         * math/s_ccosh.c (__ccoshf): Likewise.
8414         * math/s_cexp.c (__cexpl): Likewise.
8415         * math/s_csin.c (__csin): Likewise.
8416         * math/s_csinh.c (__csinh): Likewise.
8417         * math/s_ctan.c (__ctan): Likewise.
8418         * math/s_ctanh.c (ctanh): Likewise.
8419         * math/s_ccoshl.c (__ccoshl): Likewise.
8420         * math/s_cexpl.c (__cexpl): Likewise.
8421         * math/s_csinl.c (__csinl): Likewise.
8422         * math/s_csinhl.c (__csinhl): Likewise.
8423         * math/s_ctanl.c (__ctanl): Likewise.
8424         * math/s_ctanhl.c (__ctanhl): Likewise.
8425
8426 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8427
8428         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8429         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8430         (_IO_off_t): Define to __off_t, not _G_off_t.
8431         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8432         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8433         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8434         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8435         type of __dummy and __dummy2 fields.
8436         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8437         (_G_ssize_t): Likewise.
8438         (_G_off_t): Likewise.
8439         (_G_pid_t): Likewise.
8440         (_G_uid_t): Likewise.
8441         (_G_wchar_t): Likewise.
8442         (_G_wint_t): Likewise.
8443         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8444         (_G_ssize_t): Likewise.
8445         (_G_off_t): Likewise.
8446         (_G_pid_t): Likewise.
8447         (_G_uid_t): Likewise.
8448         (_G_wchar_t): Likewise.
8449         (_G_wint_t): Likewise.
8450         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8451         (_G_ssize_t): Likewise.
8452         (_G_off_t): Likewise.
8453         (_G_pid_t): Likewise.
8454         (_G_uid_t): Likewise.
8455         (_G_wchar_t): Likewise.
8456         (_G_wint_t): Likewise.
8457
8458 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8459
8460         * malloc/arena.c: Include malloc-sysdep.h.
8461         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8462         is sufficient to shrink the heap or an unmap is needed.
8463         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8464         new function check_may_shrink_heap.
8465         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8466         new function check_may_shrink_heap.
8467
8468 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8469
8470         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8471         comments.
8472
8473 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8474
8475         * catgets/test-gencat.sh: Add "set -e".
8476         * elf/tst-pathopt.sh: Likewise.
8477         * grp/tst_fgetgrent.sh: Likewise.
8478         * iconvdata/run-iconv-test.sh: Likewise.
8479         * intl/tst-gettext.sh: Likewise.
8480         * intl/tst-gettext2.sh: Likewise.
8481         * intl/tst-gettext4.sh: Likewise.
8482         * intl/tst-gettext6.sh: Likewise.
8483         * intl/tst-translit.sh: Likewise.
8484         * io/ftwtest-sh: Likewise.
8485         * libio/test-freopen.sh: Likewise.
8486         * malloc/tst-mtrace.sh: Likewise.
8487         * posix/globtest.sh: Likewise.
8488         * posix/tst-getconf.sh: Likewise.
8489         * posix/wordexp-tst.sh: Likewise.
8490         * stdio-common/tst-printf.sh: Likewise.
8491         * stdio-common/tst-unbputc.sh: Likewise.
8492         * stdlib/tst-fmtmsg.sh: Likewise.
8493         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8494         * catgets/Makefile: Do not specify -e option when running
8495         testsuite shell scripts.
8496         * elf/Makefile: Likewise.
8497         * grp/Makefile: Likewise.
8498         * iconvdata/Makefile: Likewise.
8499         * intl/Makefile: Likewise.
8500         * io/Makefile: Likewise.
8501         * libio/Makefile: Likewise.
8502         * malloc/Makefile: Likewise.
8503         * posix/Makefile: Likewise.
8504         * stdio-common/Makefile: Likewise.
8505         * stdlib/Makefile: Likewise.
8506         * sysdeps/x86_64/Makefile: Likewise.
8507
8508         * io/ftwtest-sh: Add copyright header.
8509         * posix/globtest.sh: Likewise.
8510         * posix/tst-getconf.sh: Likewise.
8511         * posix/wordexp-tst.sh: Likewise.
8512         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8513
8514 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8515
8516         [BZ #13679]
8517         * Makeconfig (+link): Defined as $(+link-static) if
8518         $(build-shared) isn't yes.
8519         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8520         isn't yes.
8521         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8522
8523         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8524
8525         [BZ #14562]
8526         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8527         new chunk size with MALLOC_ALIGN_MASK.
8528
8529 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8530
8531         [BZ #5044]
8532         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8533         <rounding-mode.h>.
8534         (__printf_fphex): Determine rounding using get_rounding_mode and
8535         round_away.
8536         * stdio-common/tst-printf-round.c (struct hex_test): New
8537         structure.
8538         (hex_tests): New variable.
8539         (test_hex_in_one_mode): New function.
8540         (do_test): Also run tests for hex float output.
8541
8542 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8543
8544         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8545         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8546         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8547         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8548         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8549         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8550         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8551         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8552
8553 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8554
8555         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8556         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8557         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8558         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8559
8560 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8561
8562         [BZ #14579]
8563         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8564         mode only.
8565         * elf/tst-rtld-load-self.sh: New test.
8566         * elf/Makefile: Run it.
8567
8568 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8569
8570         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8571         (tst-writev-ENV): Remove.
8572         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8573
8574 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8575
8576         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8577
8578 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8579
8580         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8581         unconditional.
8582         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8583         Likewise.
8584         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8585         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8586         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8587         Likewise.
8588
8589 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8590
8591         [BZ #14587]
8592         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8593         * config.make.in (have-cpp-asm-debuginfo): Removed.
8594         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8595         * configure: Regenerated.
8596
8597 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8598
8599         [BZ #5044]
8600         * stdio-common/printf_fp.c: Include <stdbool.h> and
8601         <rounding-mode.h>.
8602         (___printf_fp): Determine rounding using get_rounding_mode and
8603         round_away.
8604         * stdio-common/tst-printf-round.c: New file.
8605         * stdio-common/Makefile (tests): Add tst-printf-round.
8606         (link-libm): New variable.
8607         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8608
8609 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8610
8611         [BZ #14576]
8612         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8613         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8614         Likewise.
8615         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8616         Likewise.
8617
8618 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8619
8620         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8621         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8622         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8623         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8624
8625 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8626
8627         [BZ #14518]
8628         * include/rounding-mode.h: New file.
8629         * sysdeps/generic/get-rounding-mode.h: Likewise.
8630         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8631         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8632         (MAX_VALUE): New macro.
8633         (MIN_VALUE): Likewise.
8634         (overflow_value): New function.
8635         (underflow_value): Likewise.
8636         (round_and_return): Use overflow_value and underflow_value to
8637         determine return values in overflow and underflow cases.  Use
8638         round_away to determine rounding depending on rounding mode.
8639         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8640         determine return values in overflow and underflow cases.
8641         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8642         (struct test_results): New structure.
8643         (struct test): Use struct test_results to store expected results
8644         for all rounding modes.
8645         (TEST): Include expected results for all rounding modes.
8646         (test_in_one_mode): New function.
8647         (do_test): Use test_in_one_mode to compute and check results.
8648         Check results for all rounding modes.
8649         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8650         $(link-libm).
8651
8652 2012-12-09  Allan McRae  <allan@archlinux.org>
8653
8654         * sysdeps/i386/fpu/libm-test-ulps: Update
8655
8656 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8657
8658         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8659         (_G_int32_t): Likewise.
8660         (_G_uint16_t): Likewise.
8661         (_G_uint32_t): Likewise.
8662         (_G_HAVE_BOOL): Likewise.
8663         (_G_HAVE_ATEXIT): Likewise.
8664         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8665         (_G_HAVE_IO_FILE_OPEN): Likewise.
8666         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8667         (_G_int32_t): Likewise.
8668         (_G_uint16_t): Likewise.
8669         (_G_uint32_t): Likewise.
8670         (_G_HAVE_BOOL): Likewise.
8671         (_G_HAVE_ATEXIT): Likewise.
8672         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8673         (_G_HAVE_IO_FILE_OPEN): Likewise.
8674         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8675         (_G_int32_t): Likewise.
8676         (_G_uint16_t): Likewise.
8677         (_G_uint32_t): Likewise.
8678         (_G_HAVE_BOOL): Likewise.
8679         (_G_HAVE_ATEXIT): Likewise.
8680         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8681         (_G_HAVE_IO_FILE_OPEN): Likewise.
8682
8683 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8684
8685         * csu/libc-tls.c: Update copyright years.
8686
8687 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8688
8689         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8690         [!_G_USING_THUNKS]: Remove conditional code.
8691         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8692         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8693
8694         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8695         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8696         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8697         (_G_VTABLE_LABEL_PREFIX): Likewise.
8698         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8699         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8700         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8701         (_G_VTABLE_LABEL_PREFIX): Likewise.
8702         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8703         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8704         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8705         (_G_VTABLE_LABEL_PREFIX): Likewise.
8706         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8707
8708 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8709
8710         * libio/Makefile: Include ../Makeconfig before tests.
8711         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8712         only if $(build-shared) is yes.
8713
8714         * iconv/gconv_db.c: Update copyright years.
8715
8716 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8717
8718         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8719         unwind info if defined PIC. Fix special cases description.
8720         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8721
8722         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8723         DP_HI_MASK entry.
8724         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8725
8726 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8727
8728         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8729
8730         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8731         is NULL.
8732
8733         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8734         (LDLIBS-tst-chk4): This.
8735         (LDFLAGS-tst-chk5): Renamed to ...
8736         (LDLIBS-tst-chk5): This.
8737         (LDFLAGS-tst-chk6): Renamed to ...
8738         (LDLIBS-tst-chk6): This.
8739         (LDFLAGS-tst-lfschk4): Renamed to ...
8740         (LDLIBS-tst-lfschk4): This.
8741         (LDFLAGS-tst-lfschk5): Renamed to ...
8742         (LDLIBS-tst-lfschk5): This.
8743         (LDFLAGS-tst-lfschk6): Renamed to ...
8744         (LDLIBS-tst-lfschk6): This.
8745
8746         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8747         on $(common-objpfx)soversions.mk.
8748
8749 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8750
8751         [BZ #10014]
8752         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8753         example host name.
8754
8755 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8756
8757         * malloc/arena.c (arena_get_retry): New function that gets
8758         another arena for the caller to try its request on.
8759         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8760         current arena cannot fulfill the request.
8761         (__libc_memalign): Likewise.
8762         (__libc_memalign): Likewise.
8763         (__libc_pvalloc): Likewise.
8764         (__libc_calloc): Likewise.
8765
8766 2012-09-05  John Tobey  <john.tobey@gmail.com>
8767
8768         [BZ #13542]
8769         * manual/arith.texi (Operations on Complex): Fix description
8770         of carg branch cut.
8771
8772 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8773
8774         [BZ #10014]
8775         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8776         host name.
8777
8778         [BZ #10038]
8779         * manual/memory.texi (Memory): Make order of menu items match
8780         order of sections.
8781
8782 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8783
8784         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8785         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8786         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8787
8788 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8789
8790         * csu/libc-tls.c (static_dtv): Renamed to ...
8791         (_dl_static_dtv): This.  Make it global.
8792         (_dl_initial_dtv): Removed.
8793         (__libc_setup_tls): Updated.
8794         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8795         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8796         DL_INITIAL_DTV.
8797
8798 2012-09-06  Petr Machata  <pmachata@redhat.com>
8799
8800         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8801         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8802         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8803         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8804
8805 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8806
8807         [BZ #14545]
8808         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8809         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8810         freeing dtv[-1].
8811
8812 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8813
8814         [BZ #14544]
8815         * Makeconfig (link-static-before-libc): Replace $(+prector)
8816         with $(+prectorT).
8817         (link-static-after-libc): Replace $(+postctor) with
8818         $(+postctorT).
8819         (link-bounded): Replace $(+prector)/$(+postctor) with
8820         $(+prectorT)/$(+postctorT).
8821         (+prectorT): New macro.
8822         (+postctorT): Likewise.
8823
8824 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8825
8826         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8827         (round_str): Handle values above the maximum for IBM long double
8828         as inexact.
8829         * stdlib/tst-strtod-round.c (tests): Regenerated.
8830
8831 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8832
8833         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8834         assembler flag.
8835         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8836         zarch_nohighgprs around the zarch optimized routines.
8837         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8838         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8839         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8840         for zarch.
8841
8842 2012-09-05  David S. Miller  <davem@davemloft.net>
8843
8844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8845
8846         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8847         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8848         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8849         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8850         entries.
8851
8852 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8853
8854         * malloc/arena.c: Fold copyright years.
8855         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8856
8857 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8858
8859         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8860
8861 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8862
8863         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8864
8865 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8866
8867         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8868         change internal state upon failure.
8869
8870 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8871
8872         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8873         * malloc/memusage.c (mmap): Likewise.
8874         (mmap64, mremap): Likewise.  Adjust name in comment.
8875
8876 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8877
8878         * libio/fileops.c: Fix typos in comments.
8879         * libio/oldfileops.c: Likewise.
8880         * libio/wfileops.c: Likewise.
8881
8882 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8883
8884         [BZ #1349]
8885         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8886         (tst-malloc-usable-ENV): Set environment for test case.
8887         * malloc/hooks.c (malloc_check_get_size): New function to get
8888         requested size.
8889         * malloc/malloc.c (musable): Use malloc_check_get_size.
8890         * malloc/tst-malloc-usable.c: New test case.
8891
8892 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8893
8894         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8895
8896 2012-09-05  Allan McRae  <allan@archlinux.org>
8897
8898         [BZ #13966]
8899         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8900         determine header location.
8901         * configure: Regenerated.
8902
8903 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8904
8905         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8906         float format.
8907         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8908         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8909         format.
8910         (test): Regenerate.
8911
8912 2012-09-04  David S. Miller  <davem@davemloft.net>
8913
8914         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8915         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8916         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8917
8918 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8919
8920         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8921         failures.
8922
8923         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8924
8925 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8926
8927         [BZ #9914]
8928         * libio/iogetdelim.c: Include <limits.h>.
8929         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8930         + len + 1 would overflow.
8931
8932 2012-09-03  Andreas Jaeger  <aj@suse.de>
8933
8934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8935         * sysdeps/i386/fpu/libm-test-ulps: Update.
8936
8937 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8938
8939         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8940         Add s_sinf-sse2, s_conf-sse2.
8941
8942         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8943         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8944         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8945         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8946
8947         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8948         for using routine as __sinf_ia32.
8949         Use macro for function declaration and weak_alias.
8950         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8951         for using routine as __cosf_ia32.
8952         Use macro for function declaration and weak_alias.
8953
8954         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8955         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8956
8957         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8958         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8960
8961         * math/libm-test.inc (cos_test): Add more test cases.
8962         (sin_test): Likewise.
8963         (sincos_test): Likewise.
8964
8965 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8966
8967         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8968         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8969         hidden.
8970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8971
8972 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8973
8974         [BZ #14538]
8975         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8976         first element of the GOT.
8977         (elf_machine_load_address): Return the difference between
8978         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8979
8980 2012-09-01  Allan McRae  <allan@archlinux.org>
8981
8982         [BZ #13412]
8983         * configure.in (AWK): Require gawk version 3.0 or later.
8984         * configure: Regenerated.
8985
8986 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8987
8988         * sysdeps/unix/sysv/linux/kernel-features.h
8989         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8990         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8991         [__NR_clock_getres]: Make code unconditional.
8992         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8993         (clock_getcpuclockid): Remove code left unreachable by removal of
8994         conditionals.
8995         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8996         code unconditional.
8997         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8998         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8999         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9000         Make code unconditional.
9001         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9002         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9003         * sysdeps/unix/sysv/linux/clock_settime.c
9004         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9005         conditional code.
9006         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9007         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9008
9009 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9010
9011         [BZ #14476]
9012         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9013         scripts/test-installation.pl.
9014
9015         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9016         and $ld_so_version if it is set.
9017
9018 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9019
9020         [BZ #14516]
9021         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9022         failure if reading from procfs failed.
9023         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9024
9025 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9026
9027         * sysdeps/unix/sysv/linux/kernel-features.h
9028         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9029         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9030         Remove conditional code.
9031         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9032         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9033         Remove conditional code.
9034         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9035         * sysdeps/unix/sysv/linux/i386/fxstat.c
9036         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9037         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9038         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9039         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9040         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9041         * sysdeps/unix/sysv/linux/i386/lxstat.c
9042         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9044         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9045         Remove conditional code.
9046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9047         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9048         Remove conditional code.
9049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9050         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9051         <kernel-features.h>.
9052         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9053         Remove.
9054         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9055         Remove conditional code.
9056         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9057         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9058         Remove conditional.
9059
9060 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9061
9062         [BZ #5400]
9063         * NEWS: Add fixed bug number.
9064
9065 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9066
9067         [BZ #14519]
9068         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9069         underflowing exponent in case of negative sign.
9070         * stdlib/tst-strtod-round-data: Add more tests.
9071         * stdlib/tst-strtod-round.c (tests): Regenerated.
9072
9073         [BZ #3479]
9074         * stdlib/strtod_l.c (NDIG): Remove.
9075         (HEXNDIG): Likewise.
9076         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9077         smallest representable value.
9078         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9079         lie within an exact representation of 1/2 ulp of the result.
9080         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9081         unconditionally.
9082         (TENS_P9_IDX): Define unconditionally.
9083         (TENS_P9_SIZE): Likewise.
9084         (TENS_P10_IDX): Likewise.
9085         (TENS_P10_SIZE): Likewise.
9086         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9087         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9088         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9089         entries for 10^2^13 and 10^2^14.
9090         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9091         (TENS_P13_IDX): Define.
9092         (TENS_P13_SIZE): Likewise.
9093         (TENS_P14_IDX): Likewise.
9094         (TENS_P14_SIZE): Likewise.
9095         (_fpioconst_pow10): Change array size to
9096         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9097         unconditional.
9098         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9099         1024]: Add entries for 10^2^13 and 10^2^14.
9100         [LAST_POW10 > _LAST_POW10]: Remove #error.
9101         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9102         (_fpioconst_pow10): Change array size to
9103         FPIOCONST_POW10_ARRAY_SIZE.
9104         * stdlib/gen-fpioconst.c: New file.
9105         * stdlib/gen-tst-strtod-round.c: Likewise.
9106         * stdlib/tst-strtod-round-data: Likewise.
9107         * stdlib/tst-strtod-round.c: Likewise.
9108         * stdlib/Makefile (tests): Add tst-strtod-round.
9109
9110         [BZ #14459]
9111         * stdlib/strtod_l.c: Include <stdint.h>.
9112         (NDEBUG): Do not define.
9113         (round_and_return): Change EXPONENT parameter to type intmax_t.
9114         Rearrange calculations to avoid internal overflow possibilities.
9115         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9116         Rearrange calculations to avoid internal overflow possibilities.
9117         Assert that number fits inside MPNSIZE limbs.
9118         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9119         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9120         calculations and add assertions to avoid internal overflow
9121         possibilities.  Add casts to avoid signed/unsigned operations.
9122         * stdlib/tst-strtod-overflow.c: New file.
9123         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9124
9125 2012-08-25  Marek Polacek  <polacek@redhat.com>
9126
9127         * time/time.h: Fix some typos in comments.
9128
9129 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9130
9131         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9132         * posix/tst-rfc3484-2.c: Likewise.
9133         * posix/tst-rfc3484-3.c: Likewise.
9134
9135 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9136
9137         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9138         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9139
9140 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9141
9142         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9143         #include of fxstatat64.c.
9144
9145 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9146
9147         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9148         * shadow/getspent_r.c: Likewise.
9149         * shadow/getspnam.c: Likewise.
9150         * shadow/getspnam_r.c: Likewise.
9151         * gshadow/getsgent.c: Likewise.
9152         * gshadow/getsgent_r.c: Likewise.
9153         * gshadow/getsgnam.c: Likewise.
9154         * gshadow/getsgnam_r.c: Likewise.
9155         * inet/getnetbyad.c: Likewise.
9156         * inet/getnetbyad_r.c: Likewise.
9157         * inet/getnetbynm.c: Likewise.
9158         * inet/getnetbynm_r.c: Likewise.
9159         * inet/getnetent.c: Likewise.
9160         * inet/getnetent_r.c: Likewise.
9161         * inet/getproto.c: Likewise.
9162         * inet/getproto_r.c: Likewise.
9163         * inet/getprtent.c: Likewise.
9164         * inet/getprtent_r.c: Likewise.
9165         * inet/getprtname.c: Likewise.
9166         * inet/getprtname_r.c: Likewise.
9167         * inet/getrpcbyname.c: Likewise.
9168         * inet/getrpcbyname_r.c: Likewise.
9169         * inet/getrpcbynumber.c: Likewise.
9170         * inet/getrpcbynumber_r.c: Likewise.
9171         * inet/getrpcent.c: Likewise.
9172         * inet/getrpcent_r.c: Likewise.
9173         * inet/getaliasent.c: Likewise.
9174         * inet/getaliasent_r.c: Likewise.
9175         * inet/getaliasname.c: Likewise.
9176         * inet/getaliasname_r.c: Likewise.
9177         * nscd/getgrgid_r.c: Likewise.
9178         * nscd/getgrnam_r.c: Likewise.
9179         * nscd/gethstbyad_r.c: Likewise.
9180         * nscd/gethstbynm3_r.c: Likewise.
9181         * nscd/getpwnam_r.c: Likewise.
9182         * nscd/getpwuid_r.c: Likewise.
9183         * nscd/getsrvbynm_r.c: Likewise.
9184         * nscd/getsrvbypt_r.c: Likewise.
9185         * nscd/gai.c: Likewise.
9186
9187         * configure.in (build_nscd): New substituted variable, set
9188         by --disable-build-nscd and defaults to $use_nscd.
9189         * configure: Regenerated.
9190         * config.make.in (build-nscd): New substituted variable.
9191         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9192         Change conditional to require [$(build-nscd) = yes] as well.
9193         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9194
9195         [BZ# 13696]
9196         * configure.in (use_nscd): New substituted variable, set by
9197         --disable-nscd.  If enabled, define USE_NSCD.
9198         * configure: Regenerated.
9199         * config.h.in: Add USE_NSCD.
9200         * config.make.in (use-nscd): New substituted variable.
9201         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9202         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9203         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9204         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9205         (CFLAGS-getgrnam_r.c): Likewise.
9206         (CFLAGS-initgroups.c): Likewise.
9207         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9208         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9209         Variables removed.
9210         * inet/getnetgrent_r.c
9211         (nscd_setnetgrent): New function, broken out of ...
9212         (setnetgrent): ... here.  Call it.
9213         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9214         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9215         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9216         * nscd/Makefile (routines, aux): Move definitions after include of
9217         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9218         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9219         Conditionalize on [USE_NSCD].
9220         (is_nscd, nscd_init_cb): Likewise.
9221         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9222         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9223         * nss/nss_db/db-init.c: Likewise.
9224         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9225         [USE_NSCD].
9226         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9227         (make_request): Use it.
9228         (cache_valid_p): New function.
9229         (__check_pf): Use it.
9230         * NEWS: Add item for --disable-nscd.
9231
9232 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9233
9234         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9235         to support sed >= 4.2.1-20-ga9bf076.
9236         * configure: Regenerated.
9237
9238 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9239
9240         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9241         Conditionalize whole body on [IREL].
9242
9243 2012-08-22  Jeff Law <law@redhat.com>
9244
9245         [BZ #14505]
9246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9247         if the family is PF_UNSPEC.
9248
9249 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9250
9251         * Makerules (lib-version): Rename from V.
9252         (install-lib-nosubdir): Change V to lib-version.
9253
9254 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9255
9256         [BZ #14252]
9257         * powerpc32/power6/wcschr.c: New file.
9258         * powerpc32/power6/wcscpy.c: New file.
9259         * powerpc32/power6/wcsrchr.c: New file.
9260         * powerpc64/power6/wcschr.c: New file.
9261         * powerpc64/power6/wcscpy.c: New file.
9262         * powerpc64/power6/wcsrchr.c: New file.
9263
9264 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9265
9266         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9267         (two_way_short_needle): Use it.
9268         * string/strstr.c (AVAILABLE1_USES_J): Define.
9269         * string/strcasestr.c: Likewise.
9270
9271         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9272         array references.
9273         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9274
9275         [BZ #11607]
9276         * NEWS: Add an entry.
9277         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9278         define their defaults.
9279         (two_way_short_needle): Detect end-of-string on-the-fly.
9280         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9281         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9282         * string/bug-strcasestr1.c: New test.
9283         * string/Makefile: Run it.
9284
9285 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9286
9287         [BZ #11607]
9288         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9289         the first character.
9290
9291 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9292
9293         * csu/elf-init.c (__libc_csu_irel): Function removed.
9294         * csu/libc-start.c (apply_irel): New function.
9295         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9296
9297 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9298
9299         * sysdeps/unix/sysv/linux/kernel-features.h
9300         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9301         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9302         <kernel-features.h>.
9303         [__NR_fadvise64_64]: Make code unconditional.
9304         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9305         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9306         !__NR_fadvise64_64)]: Likewise.
9307         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9308         !__NR_fadvise64_64))]: Likewise.
9309         [__NR_fadvise64]: Make code unconditional.
9310         [!__NR_fadvise64]: Remove conditional code.
9311         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9312         <kernel-features.h>.
9313         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9314         unconditional.
9315         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9316         conditional code.
9317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9318         not include <kernel-features.h>.
9319         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9320         unconditional.
9321         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9322         conditional code.
9323         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9324         include <kernel-features.h>.
9325         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9326         unconditional.
9327         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9328         conditional code.
9329
9330 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9331
9332         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9333         slight instruction rearrangements per scrollpipe analysis.
9334         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9335
9336 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9337
9338         * manual/syslog.texi (syslog; vsyslog, closelog):
9339         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9340         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9341
9342         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9343         DSOCAPS to match condition on defining it.
9344
9345 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9346
9347         * sysdeps/unix/sysv/linux/kernel-features.h
9348         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9350         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9351         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9353         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9354         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9356         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9357         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9358
9359         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9360         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9361
9362         * sysdeps/unix/sysv/linux/kernel-features.h
9363         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9364         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9365         unconditional.
9366         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9367         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9368         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9369         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9370         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9371         Make code unconditional.
9372         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9373         (__mmap64) [!__NR_mmap2]: Likewise.
9374         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9375         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9376         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9377         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9378         [__NR_mmap2]: Make code unconditional.
9379         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9380         (__mmap64) [!__NR_mmap2]: Likewise.
9381
9382 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9383
9384         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9385
9386 2012-08-18  Andreas Jaeger  <aj@suse.de>
9387
9388         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9389
9390 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9391
9392         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9393         * include/unistd.h (__have_sock_cloexec): Likewise.
9394         (__have_pipe2): Likewise.
9395         (__have_dup3): Likewise.
9396
9397 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9398
9399         [BZ #9685]
9400         * include/unistd.h (__have_pipe2): Change define into an extern int.
9401         (__have_dup3): Likewise.
9402         * socket/have_sock_cloexec.c: Include fcntl.h.
9403         (__have_pipe2): New variable.
9404         (__have_dup3): Likewise.
9405
9406 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9407
9408         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9409
9410 2012-08-17  Marek Polacek  <polacek@redhat.com>
9411
9412         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9413         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9414
9415 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9416
9417         * configure.in: Add AC_SUBST for sysheaders.
9418         * configure: Regenerated.
9419         * config.make.in (sysheaders): New substituted variable.
9420
9421         * sysdeps/unix/mkfifo.c: Moved ...
9422         * sysdeps/posix/mkfifo.c: ... here.
9423         * sysdeps/unix/mkfifoat.c: Moved ...
9424         * sysdeps/posix/mkfifoat.c: ... here.
9425
9426         * sysdeps/unix/utime.c: Moved ...
9427         * sysdeps/posix/utime.c: ... here.
9428
9429         * sysdeps/unix/time.c: Moved ...
9430         * sysdeps/posix/time.c: ... here.
9431         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9432         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9433
9434         * sysdeps/unix/nice.c: Moved ...
9435         * sysdeps/posix/nice.c: ... here.
9436
9437         * sysdeps/unix/alarm.c: Moved ...
9438         * sysdeps/posix/alarm.c: ... here.
9439
9440         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9441
9442 2012-08-17  Jeff Law <law@redhat.com>
9443
9444         * intl/Makefile (codeset_mo): New variable.
9445         ($(codeset_mo)): New target.
9446         (tst-codeset.out): Depend on that.  Remove explicit rule.
9447         (tst-gettext3.out, tst-gettext5.out): Likewise.
9448         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9449         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9450         * intl/tst-codeset.sh: Remove.
9451         * intl/tst-gettext3.sh: Likewise.
9452         * intl/tst-gettext5.sh: Likewise.
9453
9454 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9455
9456         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9457         * sysdeps/unix/syscalls.list: ... here.
9458
9459         * sysdeps/posix/getaddrinfo.c
9460         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9461         (gaiconf_init, gaiconf_reload): Use them.
9462         [!_STATBUF_ST_NSEC]
9463         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9464         Define using time_t rather than struct timespec.
9465
9466         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9467         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9468         Macros removed.
9469         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9470         [!NO_THREADS].
9471         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9472         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9473         Likewise.
9474
9475         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9476         __libc_cleanup_push argument.
9477
9478         * bits/param.h: New file.
9479         * misc/sys/param.h: New file.
9480         * include/sys/param.h: New file.
9481         * misc/Makefile (headers): Add bits/param.h.
9482         * sysdeps/generic/sys/param.h: File removed.
9483         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9484         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9485         * sysdeps/mach/hurd/bits/param.h: New file.
9486         * sysdeps/mach/hurd/sys/param.h: File removed.
9487
9488         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9489         last change.
9490
9491         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9492         [_IO_MTSAFE_IO].
9493         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9494         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9495         New macros.
9496
9497         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9498         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9499         rather than -D_IO_MTSAFE_IO conditionally.
9500         * stdio-common/Makefile (CPPFLAGS): Likewise.
9501         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9502         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9503         Use $(libio-mtsafe).
9504         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9505         of -D_IO_MTSAFE_IO.
9506         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9507         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9508         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9509         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9510         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9511         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9512         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9513         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9514         (CFLAGS-fread_u_chk.c): Likewise.
9515         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9516         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9517         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9518         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9519         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9520         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9521         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9522         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9523         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9524
9525         * libio/Makefile: Test [$(libc-reentrant) = yes]
9526         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9527
9528         * Makeconfig
9529         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9530         * sysdeps/pthread/configure: File removed.
9531         * sysdeps/pthread/Makeconfig: New file.
9532         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9533         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9534
9535 2012-08-16  Gary Benson  <gbenson@redhat.com>
9536
9537         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9538         unmapping the first object in a namespace.
9539
9540 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9541
9542         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9543         (__internal_setnetgrent): ... this.  Add internal_function to
9544         definition.  Add libc_hidden_def.
9545         (setnetgrent): Update caller.
9546         (internal_endnetgrent): Renamed to ...
9547         (__internal_endnetgrent): ... this.  Add internal_function to
9548         definition.  Add libc_hidden_def.
9549         (endnetgrent): Update caller.
9550         (internal_getnetgrent_r): Renamed to ...
9551         (__internal_getnetgrent_r): ... this.  Add internal_function to
9552         definition.  Add libc_hidden_def.
9553         (__getnetgrent_r): Update caller.
9554         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9555
9556 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9557
9558         * stdlib/longlong.h: Update from GCC.
9559
9560 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9561
9562         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9563         on _QL, which is set by umul_ppmm but never used.
9564         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9565         variables, which are set by GMP macros but never used.
9566         * stdio-common/_itowa.c (_itowa): Likewise.
9567         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9568         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9569
9570 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9571
9572         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9573         struct La_sh_regs is not constant.
9574         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9575         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9576         and struct La_sparc64_regs are not constant.
9577
9578 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9579
9580         * sysdeps/unix/sysv/linux/kernel-features.h
9581         (__ASSUME_POSIX_TIMERS): Remove.
9582         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9583         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9584         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9585         Make code unconditional.
9586         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9587         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9588         Make code unconditional.
9589         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9590         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9591         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9592         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9593         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9594         Make code unconditional.
9595         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9596         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9597         (__libc_missing_posix_timers): Remove.
9598
9599 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9600
9601         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9602         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9603
9604         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9605
9606         * elf/dl-sym.c: Include <stdlib.h>.
9607
9608         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9609         constants, which avoids warnings in 32-bit builds.
9610
9611         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9612         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9613
9614         * misc/lseek.c: File moved to ...
9615         * io/lseek.c: ... here.
9616
9617         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9618
9619         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9620         shifting LEN more than 31 bits at once.
9621
9622 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9623
9624         [BZ #14195]
9625         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9626         segmentation fault for a case of two empty input strings.
9627         * string/test-strncasecmp.c (check1): Renamed to...
9628         (bz12205): ...this.
9629         (bz14195): Add new testcase for two empty input strings and N > 0.
9630         (test_main): Call new testcase, adapt for renamed function.
9631
9632 2012-08-15  Andreas Jaeger  <aj@suse.de>
9633
9634         [BZ #14090]
9635         * crypt/md5test2.c: New test, based on test supplied by Serge
9636         Belyshev <belyshev@depni.sinp.msu.ru>.
9637         * crypt/Makefile (xtests): Add md5test-giant..
9638         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9639
9640 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9641
9642         [BZ #14090]
9643         * crypt/md5.c (md5_process_block): Don't assume the buffer
9644         length is less than 2**32.
9645         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9646         length is less than 2**64.
9647
9648 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9649
9650         * string/str-two-way.h: Include <sys/param.h>.
9651         (MAX): Macro removed.
9652
9653         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9654         Move #define and #undef of memmove to just before and after
9655         including <string.h>.
9656
9657         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9658         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9659         and after including <string.h>.  Move declarations of
9660         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9661         to before #include "string/memmove.c".
9662
9663         * include/dirent.h: Declare __getdirentries.
9664
9665         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9666         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9667
9668 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9669
9670         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9671         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9672         * sysdeps/i386/configure: Regenerated.
9673         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9674         STABS_CURRENT_FILE, and STABS_FUN.
9675         (END): Remove call to STABS_FUN_END.
9676         (STABS_CURRENT_FILE1): Delete.
9677         (STABS_CURRENT_FILE): Likewise.
9678         (STABS_FUN): Likewise.
9679         (STABS_FUN_END): Likewise.
9680         (STABS_FUN2): Likewise.
9681         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9682         * sysdeps/x86_64/configure: Regenerated.
9683
9684 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9685
9686         * elf/dl-open.c: Include <atomic.h>.
9687         * elf/dl-lookup.c: Likewise.
9688
9689 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9690
9691         * sysdeps/unix/sysv/linux/kernel-features.h
9692         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9693         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9694         unconditionally.
9695         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9696         unconditionally.
9697         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9698         condition on __ASSUME_CLONE_THREAD_FLAGS.
9699
9700 2012-08-14  Andreas Jaeger  <aj@suse.de>
9701
9702         * sysdeps/i386/fpu/libm-test-ulps: Update.
9703
9704 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9705
9706         * include/atomic.h (atomic_exchange_and_add): Split into ...
9707         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9708         New atomic macros.
9709
9710 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9711
9712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9713
9714 2012-08-13  Jeff Law <law@redhat.com>
9715
9716         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9717         null byte in the output string.
9718
9719 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9720
9721         * sysdeps/unix/sysv/linux/kernel-features.h
9722         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9723         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9724         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9725         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9726         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9727         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9728         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9729
9730 2012-08-09  Jeff Law <law@redhat.com>
9731
9732         [BZ #13939]
9733         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9734         When avoid_arena is set, don't retry in the that arena.  Pick the
9735         next one, whatever it might be.
9736         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9737         (arena_lock): Pass in new parameter to arena_get2.
9738         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9739         arena_get2.
9740         (__libc_malloc): Unify retrying after main arena failure with
9741         __libc_memalign version.
9742         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9743
9744 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9745
9746         [BZ #14166]
9747         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9748         to __redirect_strstr.
9749         (__strstr_sse42): Use typeof __redirect_strstr.
9750         (__strstr_ia32): Likewise.
9751         (__libc_strstr): New prototype.
9752         (strstr): Renamed to ...
9753         (__libc_strstr): This.
9754         (strstr): New strong alias of __libc_strstr.
9755         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9756         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9757         __redirect_time.
9758         Include <time.h>.
9759         (__libc_time): New prototype.
9760         (time_ifunc): Replace time with __libc_time.
9761         (time): New strong alias and hidden definition of __libc_time.
9762         (__GI_time): Remove strong alias.
9763         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9764         Include <stddef.h>.
9765         (memmove): Redefined to __redirect_memmove.
9766         (__memmove_sse2): Use typeof __redirect_memmove.
9767         (__memmove_ssse3): Likewise.
9768         (__memmove_ssse3_back): Likewise.
9769         (__libc_memmove): New prototype.
9770         (memmove): Renamed to ...
9771         (__libc_memmove): This.
9772         (memmove): New strong alias of __libc_memmove.
9773
9774 2012-08-08  Mark Salter  <msalter@redhat.com>
9775
9776         * elf/elf.h
9777         (R_MN10300_TLS_GD): Define.
9778         (R_MN10300_TLS_LD): Likewise.
9779         (R_MN10300_TLS_LDO): Likewise.
9780         (R_MN10300_TLS_GOTIE): Likewise.
9781         (R_MN10300_TLS_IE): Likewise.
9782         (R_MN10300_TLS_LE): Likewise.
9783         (R_MN10300_TLS_DTPMOD): Likewise.
9784         (R_MN10300_TLS_DTPOFF): Likewise.
9785         (R_MN10300_TLS_TPOFF): Likewise.
9786         (R_MN10300_SYM_DIFF): Likewise.
9787         (R_MN10300_ALIGN): Likewise.
9788         (R_MN10300_NUM): Update.
9789
9790 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9791
9792         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9793         Remove.
9794
9795 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9796
9797         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9798
9799         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9800         sysdeps/unix -> sysdeps/posix move.
9801         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9802
9803 2012-08-07      Allan McRae     <allan@archlinux.org>
9804
9805         [BZ #14303]
9806         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9807         (SUNOS_CPP): Likewise.
9808         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9809         not found.
9810         (open_input): Call CPP using execvp.
9811
9812 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9813
9814         * sysdeps/unix/sysv/linux/kernel-features.h
9815         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9816         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9817         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9818         (__ASSUME_WAITID_SYSCALL): Likewise.
9819         * sysdeps/unix/sysv/linux/dl-execstack.c
9820         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9821         code unconditional.
9822         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9823         conditional code.
9824         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9825         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9826         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9827         code.
9828         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9829         unconditional.
9830         [__ASSUME_WAITID_SYSCALL]: Likewise.
9831         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9832
9833 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9834
9835         * sysdeps/unix/closedir.c: Renamed to ...
9836         * sysdeps/posix/closedir.c: ... here.
9837         * sysdeps/unix/dirfd.c: Renamed to ...
9838         * sysdeps/posix/dirfd.c: ... here.
9839         * sysdeps/unix/dirstream.h: Renamed to ...
9840         * sysdeps/posix/dirstream.h: ... here.
9841         * sysdeps/unix/fdopendir.c: Renamed to ...
9842         * sysdeps/posix/fdopendir.c: ... here.
9843         * sysdeps/unix/opendir.c: Renamed to ...
9844         * sysdeps/posix/opendir.c: ... here.
9845         * sysdeps/unix/readdir.c: Renamed to ...
9846         * sysdeps/posix/readdir.c: ... here.
9847         * sysdeps/unix/readdir_r.c: Renamed to ...
9848         * sysdeps/posix/readdir_r.c: ... here.
9849         * sysdeps/unix/rewinddir.c: Renamed to ...
9850         * sysdeps/posix/rewinddir.c: ... here.
9851         * sysdeps/unix/seekdir.c: Renamed to ...
9852         * sysdeps/posix/seekdir.c: ... here.
9853         * sysdeps/unix/telldir.c: Renamed to ...
9854         * sysdeps/posix/telldir.c: ... here.
9855         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9856         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9857         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9858         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9859
9860         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9861         * bits/fcntl.h: ... here.
9862
9863         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9864         not 0.
9865         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9866         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9867         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9868         (struct flock): Move l_start, l_len to the beginning.
9869         Use __pid_t for l_pid.
9870         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9871         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9872         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9873         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9874         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9875         [__USE_LARGEFILE64] (struct flock64): New type.
9876         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9877
9878         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9879         * bits/dirent.h: ... here.
9880
9881         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9882         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9883
9884 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9885
9886         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9887         Change from 2.6.0 to 2.6.16.
9888         * sysdeps/unix/sysv/linux/configure: Regenerated.
9889         * sysdeps/unix/sysv/linux/kernel-features.h
9890         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9891         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9892         version.
9893         (__ASSUME_UTIMES): Likewise.
9894         (__ASSUME_CLONE_STOPPED): Remove.
9895         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9896         architectures, not kernel version.
9897         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9898         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9899         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9900         (__ASSUME_WAITID_SYSCALL): Likewise.
9901         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9902         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9903         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9904         refer to older versions.
9905
9906 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9907
9908         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9909         Define alphasort64 as an alias.
9910         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9911         Define versionsort64 as an alias.
9912         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9913         Define scandir64 as an alias.
9914         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9915         Define scandirat64 as an alias.
9916         * dirent/alphasort64.c (alphasort64):
9917         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9918         * dirent/versionsort64.c: Likewise.
9919         * dirent/scandir64.c: Likewise.
9920         * dirent/scandirat64.c: Likewise.
9921         * sysdeps/wordsize-64/alphasort.c: File removed.
9922         * sysdeps/wordsize-64/alphasort64.c: File removed.
9923         * sysdeps/wordsize-64/scandir.c: File removed.
9924         * sysdeps/wordsize-64/scandir64.c: File removed.
9925         * sysdeps/wordsize-64/scandirat.c: File removed.
9926         * sysdeps/wordsize-64/scandirat64.c: File removed.
9927         * sysdeps/wordsize-64/versionsort.c: File removed.
9928         * sysdeps/wordsize-64/versionsort64.c: File removed.
9929         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9930         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9931         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9932         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9933         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9934         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9935         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9936         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9937
9938         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9940         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9942         [defined __arch64__ || defined __sparcv9]
9943         (__INO_T_MATCHES_INO64_T): New macro.
9944         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9945         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9946         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9947         * sysdeps/unix/sysv/linux/bits/dirent.h
9948         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9949         (_DIRENT_MATCHES_DIRENT64): New macro.
9950
9951         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9952         Define lockf64 as an alias.
9953         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9954         Define fseeko64 as an alias.
9955         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9956         Define ftello64 as an alias.
9957         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9958         Define _IO_fgetpos64 and fgetpos64 as aliases.
9959         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9960         Define _IO_fsetpos64 and fsetpos64 as aliases.
9961         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9962         Conditionalize body on this.
9963         * libio/fseeko64.c: Likewise.
9964         * libio/ftello64.c: Likewise.
9965         * libio/iofgetpos64.c: Likewise.
9966         * libio/iofsetpos64.c: Likewise.
9967         * sysdeps/wordsize-64/lockf.c: File removed.
9968         * sysdeps/wordsize-64/lockf64.c: File removed.
9969         * sysdeps/wordsize-64/fseeko.c: File removed.
9970         * sysdeps/wordsize-64/fseeko64.c: File removed.
9971         * sysdeps/wordsize-64/ftello.c: File removed.
9972         * sysdeps/wordsize-64/ftello64.c: File removed.
9973         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9974         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9975         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9976         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9977         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9978         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9979         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9980         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9981         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9982         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9983         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9984         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9985         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9986         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9987
9988         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9990         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9992         [defined __arch64__ || defined __sparcv9]
9993         (__OFF_T_MATCHES_OFF64_T): New macro.
9994         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9995         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9996         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9997         (__OFF_T_MATCHES_OFF64_T): New macro.
9998
9999 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10000
10001         * stdlib/secure-getenv.c (__secure_getenv): Replace
10002         GLIBC_2_16 with GLIBC_2_17.
10003
10004 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10005
10006         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10007         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10008
10009 2012-08-03  David S. Miller  <davem@davemloft.net>
10010
10011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10012
10013 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10014
10015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10016         Remove.
10017         (__ASSUME_CORRECT_SI_PID): Likewise.
10018         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10019         (__ASSUME_TMPFS_NAME): Likewise.
10020         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10021         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10022         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10023         (HAVE_AUX_SECURE): Make definition unconditional.
10024         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10025         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10026
10027 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10028
10029         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10030         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10031         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10032         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10033         __eloop_threshold instead of SYMLOOP_MAX.
10034
10035         * sysdeps/generic/eloop-threshold.h: New file.
10036         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10037         of MAXSYMLINKS.
10038         * elf/chroot_canon.c (chroot_canon): Likewise.
10039
10040 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10041
10042         [BZ #13717]
10043         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10044         Change to 2.6.0 everywhere.
10045         * sysdeps/unix/sysv/linux/configure: Regenerated.
10046         * sysdeps/unix/sysv/linux/kernel-features.h
10047         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10048         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10049         kernel versions.
10050         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10051         (__ASSUME_FUTEX_REQUEUE): Remove.
10052         (__ASSUME_STATFS64): Define unconditionally.
10053         (__ASSUME_AT_SECURE): Likewise.
10054         (__ASSUME_CORRECT_SI_PID): Likewise.
10055         (__ASSUME_TGKILL): Define without depending on kernel version for
10056         i386.
10057         (__ASSUME_UTIMES): Likewise.
10058         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10059         kernel version.
10060         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10061         (__ASSUME_TMPFS_NAME): Likewise.
10062         * README: Update reference to Linux kernel versions.
10063
10064 2012-08-02  Marek Polacek  <polacek@redhat.com>
10065
10066         [BZ# 14150]
10067         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10068         libc_cv_asm_type_prefix with %.
10069         * configure: Regenerated.
10070         * include/libc-symbols.h: Remove comment about
10071         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10072         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10073         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10074         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10075         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10076         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10077         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10078         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10079         * elf/tst-unique2mod1.c: Likewise.
10080         * elf/tst-unique1mod2.c: Likewise.
10081         * elf/tst-unique1mod1.c: Likewise.
10082         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10083         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10084         Replace ASM_TYPE_DIRECTIVE with .type.
10085         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10086         * sysdeps/i386/sysdep.h: Likewise.
10087         * sysdeps/x86_64/sysdep.h: Likewise.
10088         * sysdeps/sh/sysdep.h: Likewise.
10089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10090         Do not define ASM_TYPE_DIRECTIVE.
10091         * sysdeps/powerpc/sysdep.h: Likewise.
10092         * sysdeps/powerpc/powerpc32/sysdep.h:
10093         Replace ASM_TYPE_DIRECTIVE with .type.
10094         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10095         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10096         * sysdeps/i386/fpu/e_powf.S: Likewise.
10097         * sysdeps/i386/fpu/e_expl.S: Likewise.
10098         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10099         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10100         * sysdeps/i386/fpu/e_pow.S: Likewise.
10101         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10102         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10103         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10104         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10105         * sysdeps/i386/fpu/e_log2.S: Likewise.
10106         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10107         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10108         * sysdeps/i386/fpu/e_powl.S: Likewise.
10109         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10110         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10111         * sysdeps/i386/fpu/e_logl.S: Likewise.
10112         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10113         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10114         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10115         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10116         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10117         * sysdeps/i386/fpu/e_log.S: Likewise.
10118         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10119         * sysdeps/i386/fpu/e_logf.S: Likewise.
10120         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10121         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10122         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10123         * sysdeps/i386/fpu/e_log10.S: Likewise.
10124         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10125         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10126         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10127         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10128         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10129         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10130         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10131         * sysdeps/i386/i686/strtok.S: Likewise.
10132         * sysdeps/i386/i386-mcount.S: Likewise.
10133         * sysdeps/i386/strtok.S: Likewise.
10134         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10135         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10136         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10137         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10138         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10139         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10140         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10141         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10142         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10143         * sysdeps/x86_64/_mcount.S: Likewise.
10144         * sysdeps/x86_64/strtok.S: Likewise.
10145         * sysdeps/sh/_mcount.S: Likewise.
10146
10147 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10148
10149         * libio/iofopen.c: Include <fcntl.h>.
10150         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10151         (_IO_fopen64, fopen64): Define as aliases.
10152         * libio/iofopen64.c: Include <fcntl.h>.
10153         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10154         Conditionalize body on this.
10155         * sysdeps/wordsize-64/iofopen.c: File removed.
10156         * sysdeps/wordsize-64/iofopen64.c: File removed.
10157
10158 2012-08-01  Marek Polacek  <polacek@redhat.com>
10159
10160         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10161         Use dlfcn directly instead of a variable.
10162         (binfmt-subdir): Do not define.
10163         (dlfcn): Likewise.
10164
10165 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10166
10167         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10168         Remove all definitions.
10169         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10170         <kernel-features.h>.
10171         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10172         (miss_F_GETOWN_EX): Remove all definitions.
10173         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10174         macro definition.
10175         [!__ASSUME_FCNTL64]: Remove conditional code.
10176         [__ASSUME_FCNTL64]: Make code unconditional.
10177         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10178         <kernel-features.h>.
10179         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10180         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10181         (lockf64) [__NR_fcntl64]: Make code unconditional.
10182         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10183
10184         * sysdeps/unix/sysv/linux/kernel-features.h
10185         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10186         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10187         Make code unconditional.
10188         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10189         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10191         [__NR_vfork]: Make code unconditional.
10192         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10193         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10195         [__NR_vfork]: Make code unconditional.
10196         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10197         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10198
10199 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10200
10201         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10202         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10203
10204         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10205         Define mkstemp64 as an alias.
10206         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10207         Define mkstemps64 as an alias.
10208         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10209         Define mkostemp64 as an alias.
10210         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10211         Define mkostemps64 as an alias.
10212         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10213         Conditionalize body on this.
10214         * misc/mkostemp64.c: Likewise.
10215         * misc/mkostemps64.c: Likewise.
10216         * misc/mkstemps64.c: Likewise.
10217         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10218         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10219         * sysdeps/wordsize-64/mkostemp.c: File removed.
10220         * sysdeps/wordsize-64/mkstemp.c: File removed.
10221         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10222         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10223         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10224         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10225
10226         [BZ #14138]
10227         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10228         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10229         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10230         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10231
10232         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10233         compat_symbol macros from <shlib-compat.h> rather than the underlying
10234         default_symbol_version and symbol_version macros, so that DEFAULT
10235         lines in shlib-versions are respected.
10236         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10237
10238 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10239
10240         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10241         Declare with warn_unused_result.
10242         (setgid, setregid, setegid, setresgid): Likewise.
10243         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10244         Likewise.
10245         * WUR-REPORT: Remove set*id functions.
10246
10247 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10248
10249         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10250
10251 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10252
10253         * include/sys/socket.h (__libc_accept, __libc_accept4):
10254         Add attribute_hidden.
10255         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10256
10257         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10258         use of PTR_MANGLE.
10259         * inet/getnetgrent_r.c (setup): Likewise.
10260
10261         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10262
10263 2012-07-31  David S. Miller  <davem@davemloft.net>
10264
10265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10266
10267 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10268
10269         [BZ #13629]
10270         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10271         value between 1.0 and 2.0 and smaller part has absolute value less
10272         than 1.0.
10273         * math/s_clog10.c (__clog10): Likewise.
10274         * math/s_clog10f.c (__clog10f): Likewise.
10275         * math/s_clog10l.c (__clog10l): Likewise.
10276         * math/s_clogf.c (__clogf): Likewise.
10277         * math/s_clogl.c (__clogl): Likewise.
10278         * math/libm-test.inc (clog_test): Add more tests.
10279         (clog10_test): Likewise.
10280         * sysdeps/i386/fpu/libm-test-ulps: Update.
10281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10282
10283 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10284
10285         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10286         Exit with zero in case no suitable GID is found, and write a
10287         message to standard error.
10288
10289 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10290
10291         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10292         rather than to 1.
10293         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10294         (MAXPATHLEN): Removed.
10295         (NOGROUP, NODEV): New macros.
10296         (setbit, clrbit, isset, isclr): New macros.
10297         (howmany, roundup, powerof2): New macros.
10298         (DEV_BSIZE): New macro.
10299
10300         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10301         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10302
10303         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10304         definition on [!__NO_LONG_DOUBLE_MATH].
10305
10306         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10307         PTR_MANGLE and PTR_DEMANGLE.
10308
10309         * socket/accept4.c (accept4): Rename to __libc_accept4.
10310         Define accept4 as a weak alias.
10311
10312         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10313         on [_DIRENT_HAVE_D_TYPE].
10314         * io/ftw.c (ftw_dir): Likewise.
10315
10316         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10317
10318         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10319
10320         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10321         Use the BSD numbers rather than the arbitrary ones we had.
10322         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10323         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10324         (SIGXCPU, SIGXFSZ): New macros.
10325         (_NSIG): Now 32.
10326
10327         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10328         initializer on [_LIBC_REENTRANT].
10329
10330         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10331         definitions inside [_POSIX_MAPPED_FILES].
10332
10333         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10334
10335         * dirent/opendir.c: Include <fcntl.h>.
10336
10337         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10338         (__libc_getspecific): Likewise.
10339         (__libc_key_create): Likewise.
10340
10341         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10342         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10343         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10344         (tmpfile64): Define as alias.
10345         * sysdeps/wordsize-64/tmpfile.c: File removed.
10346         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10347         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10348         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10349
10350         * stdio-common/vfscanf.c: Include <stdbool.h>.
10351         * nss/makedb.c: Likewise.
10352         * stdio-common/_i18n_number.h: Likewise.
10353         * argp/argp-help.c: Likewise.
10354         * posix/wordexp.c: Likewise.
10355         * sysdeps/posix/spawni.c: Likewise.
10356         * nss/nss_files/files-initgroups.c: Likewise.
10357         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10358         * nss/nss_files/files-initgroups.c: Likewise.
10359         * nss/nss_db/db-netgrp.c: Likewise.
10360         * nss/nss_db/db-initgroups.c: Likewise.
10361         * io/fchmodat.c: Include <sys/stat.h>.
10362
10363         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10364         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10365
10366         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10367         [HAVE_MMAP].
10368
10369         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10370         Add multiple inclusion protection.
10371
10372 2012-07-27  David S. Miller  <davem@davemloft.net>
10373
10374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10375
10376 2012-07-27  Gary Benson  <gbenson@redhat.com>
10377
10378         [BZ #14298]
10379         * elf/rtld.c: Include <stap-probe.h>.
10380         (dl_main): Added static probes "init_start" and "init_complete".
10381         * elf/dl-load.c: Include <stap-probe.h>.
10382         (lose): Take new parameter "nsid".
10383         Added static probe "map_failed".
10384         (_dl_map_object_from_fd): Pass namespace id to lose.
10385         Added static probe "map_start".
10386         (open_verify): Pass namespace id to lose.
10387         * elf/dl-open.c: Include <stap-probe.h>.
10388         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10389         and "reloc_complete".
10390         * elf/dl-close.c: Include <stap-probe.h>.
10391         (_dl_close_worker): Added static probes "unmap_start" and
10392         "unmap_complete".
10393         * elf/rtld-debugger-interface.txt: New file documenting the above.
10394
10395 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10396
10397         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10398         rather than a string variable.
10399         * sunrpc/rpc_main.c (h_output): Likewise.
10400         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10401
10402 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10403
10404         * inet/check_native.c: New file.
10405
10406 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10407
10408         [BZ #13629]
10409         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10410         if larger part has absolute value 1.0.
10411         * math/s_clog10.c (__clog10): Likewise.
10412         * math/s_clog10f.c (__clog10f): Likewise.
10413         * math/s_clog10l.c (__clog10l): Likewise.
10414         * math/s_clogf.c (__clogf): Likewise.
10415         * math/s_clogl.c (__clogl): Likewise.
10416         * math/libm-test.inc (clog_test): Add more tests.
10417         (clog10_test): Likewise.
10418         * sysdeps/i386/fpu/libm-test-ulps: Update.
10419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10420
10421         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10422         (pltexit): Likewise.
10423         (La_regs): Likewise.
10424         (La_retval): Likewise.
10425         (int_retval): Likewise.
10426         Update #error for removed macros to refer only to definitions in
10427         tst-audit.h.
10428         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10429         macro.
10430         (pltexit): Likewise.
10431         (La_regs): Likewise.
10432         (La_retval): Likewise.
10433         (int_retval): Likewise.
10434         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10435         macro.
10436         (pltexit): Likewise.
10437         (La_regs): Likewise.
10438         (La_retval): Likewise.
10439         (int_retval): Likewise.
10440         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10441         macro.
10442         (pltexit): Likewise.
10443         (La_regs): Likewise.
10444         (La_retval): Likewise.
10445         (int_retval): Likewise.
10446         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10447         macro.
10448         (pltexit): Likewise.
10449         (La_regs): Likewise.
10450         (La_retval): Likewise.
10451         (int_retval): Likewise.
10452         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10453         macro.
10454         (pltexit): Likewise.
10455         (La_regs): Likewise.
10456         (La_retval): Likewise.
10457         (int_retval): Likewise.
10458         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10459         macro.
10460         (pltexit): Likewise.
10461         (La_regs): Likewise.
10462         (La_retval): Likewise.
10463         (int_retval): Likewise.
10464         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10465         macro definitions in tst-audit.h.
10466         * sysdeps/i386/tst-audit.h: New file.
10467         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10468         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10469         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10470         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10471         * sysdeps/sh/tst-audit.h: Likewise.
10472         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10473         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10474         * sysdeps/x86_64/tst-audit.h: Likewise.
10475
10476 2012-07-26  Andreas Jaeger  <aj@suse.de>
10477
10478         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10479         ptrace.
10480
10481         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10482         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10483         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10484         PTRACE_O_MASK.
10485         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10486         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10487         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10488
10489         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10490         value.
10491
10492         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10493         _sigsys.
10494         (si_call_addr, si_syscall, si_arch): Define new macro.
10495         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10496         _sigsys.
10497         (si_call_addr, si_syscall, si_arch): Define new marcro.
10498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10499         _sigsys.
10500         (si_call_addr, si_syscall, si_arch): Define new macro.
10501         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10502         _sigsys.
10503         (si_call_addr, si_syscall, si_arch): Define new macro.
10504
10505 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10506
10507         [BZ #13717]
10508         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10509         Change to 2.4.21 where previously 2.4.1.
10510         * sysdeps/unix/sysv/linux/configure: Regenerated.
10511         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10512         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10513         Linux kernel version.
10514         (__ASSUME_STD_AUXV): Remove.
10515         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10516         kernel version.
10517         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10518         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10519         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10520         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10521         (__ASSUME_NETLINK_SUPPORT): Likewise.
10522         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10523         (__no_netlink_support): Remove conditional definition.
10524         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10525         Remove.
10526         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10527         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10528         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10529         (if_nameindex_ioctl): Remove.
10530         (if_nameindex_netlink): Do not handle __no_netlink_support.
10531         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10532         code.
10533         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10534         Remove conditional code.
10535         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10536         code.
10537         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10538         unconditional.
10539         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10540         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10541         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10542         Remove.
10543         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10544         [!__ASSUME_STD_AUXV]: Remove conditional code.
10545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10546         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10547         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10549         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10550         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10551         code.
10552         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10554         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10555         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10556         conditional code.
10557         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10559         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10560         code.
10561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10562         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10563         conditional code.
10564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10565         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10566         code unconditional.
10567         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10568         conditional code.
10569         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10570         unconditional.
10571         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10572         conditional code.
10573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10574         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10575         unconditional.
10576         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10577         conditional code.
10578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10579         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10580         code unconditional.
10581         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10582         conditional code.
10583         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10584         unconditional.
10585         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10586         conditional code.
10587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10588         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10589         code unconditional.
10590         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10591         conditional code.
10592         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10593         unconditional.
10594         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10595         conditional code.
10596
10597 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10598
10599         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10600         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10601         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10602         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10603         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10604         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10605         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10606         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10607         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10608         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10609         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10610         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10611         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10612         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10613         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10614         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10615         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10616         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10617         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10619         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10620         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10621         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10622
10623 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10624
10625         * Versions.def: Add GLIBC_2.17.
10626         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10627         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10628         Introduce __libc_secure_getenv.
10629         * stdlib/Versions (2.17): Add secure_getenv
10630         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10631         * stdlib/secure-getenv.c: Rename __secure_getenv to
10632         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10633         symbol __secure_getenv for GLIBC_2.0.
10634         * stdlib/tst-secure-getenv.c: New.
10635         * stdlib/Makefile (tests): Add testcase.
10636         * manual/startup.texi (Environment Access): Document
10637         secure_getenv.
10638         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10639         __libc_secure_getenv.
10640         * inet/ruserpass.c (ruserpass): Likewise.
10641         * malloc/mtrace.c (mtrace): Likewise.
10642         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10643         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10644         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10645         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10646         HAVE_SECURE_GETENV.
10647         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10648         __secure_getenv to __libc_secure_getenv.
10649         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10651         Likewise.
10652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10653         Likewise.
10654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10656         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10661
10662 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10663
10664         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10665         (struct La_i86_retval): Likewise.
10666         (struct La_x86_64_regs): Likewise.
10667         (struct La_x86_64_retval): Likewise.
10668         (struct La_x32_regs): Likewise.
10669         (struct La_x32_retval): Likewise.
10670         (struct La_ppc32_regs): Likewise.
10671         (struct La_ppc32_retval): Likewise.
10672         (struct La_ppc64_regs): Likewise.
10673         (struct La_ppc64_retval): Likewise.
10674         (struct La_sh_regs): Likewise.
10675         (struct La_sh_retval): Likewise.
10676         (struct La_s390_32_regs): Likewise.
10677         (struct La_s390_32_retval): Likewise.
10678         (struct La_s390_64_regs): Likewise.
10679         (struct La_s390_64_retval): Likewise.
10680         (struct La_sparc32_regs): Likewise.
10681         (struct La_sparc32_retval): Likewise.
10682         (struct La_sparc64_regs): Likewise.
10683         (struct La_sparc64_retval): Likewise.
10684         (struct audit_ifaces): Remove architecture-specific pltenter and
10685         pltexit members.
10686         * sysdeps/i386/ldsodefs.h: New file.
10687         * sysdeps/powerpc/ldsodefs.h: Likewise.
10688         * sysdeps/s390/ldsodefs.h: Likewise.
10689         * sysdeps/sh/ldsodefs.h: Likewise.
10690         * sysdeps/sparc/ldsodefs.h: Likewise.
10691         * sysdeps/x86_64/ldsodefs.h: Likewise.
10692
10693 2012-07-25  Marek Polacek  <polacek@redhat.com>
10694
10695         [BZ #6808]
10696         * math/libm-test.inc (yn_test): Add another test.
10697         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10698         to ERANGE when the result is +-Inf.
10699         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10700         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10701         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10702         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10703
10704 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10705
10706         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10707         equal to 0.
10708         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10709         clock_t.
10710         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10711
10712 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10713
10714         * configure.in <sysdeps resolving>: Correct printing
10715         Implies_before.
10716         * configure: Regenerate.
10717
10718 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10719
10720         * math/w_ilogb.c: Include <limits.h>.
10721         * math/w_ilogbl.c: Likewise.
10722
10723 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10724
10725         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10726         va_copy.  Document allowing for unavailable va_copy only as
10727         pre-C99 compatibility.
10728         * manual/string.texi (Copying and Concatenation): Use va_copy
10729         instead of __va_copy in concat example.
10730
10731 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10732
10733         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10734         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10735         it if not null.
10736
10737         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10738         with O_NOLINK passed to __file_name_lookup.
10739
10740         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10741         with O_NOLINK passed to __file_name_lookup.
10742
10743         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10744         negative N or less than NGIDS.
10745
10746         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10747         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10748         enough.  Use memcpy instead of strncpy.
10749
10750 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10751
10752         * elf/Makefile (check-data): Remove.
10753         (localplt.data): New vpath directive.
10754         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10755         instead of $(check-data).
10756         * scripts/data/localplt-generic.data: Move to ...
10757         * sysdeps/generic/localplt.data: ... here.
10758         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10759         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10760         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10762         ... here.
10763         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10765         ... here.
10766         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10768         ... here.
10769         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10771         ... here.
10772         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10774         ... here.
10775         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10777         ... here.
10778
10779 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10780
10781         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10782         PPC32 and PPC64 files.
10783         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10784         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10785
10786 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10787
10788         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10789         __makecontext_ret to ...
10790         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10791         ... here and call exit if uc_link is NULL.  New file.
10792         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10793         __makecontext_ret.S.
10794         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10795         __makecontext_ret to ...
10796         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10797         ... here and call exit if uc_link is NULL.  New file.
10798         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10799         __makecontext_ret.S.
10800
10801 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10802
10803         * elf/elf.h (R_390_IRELATIVE): New definition.
10804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10805         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10806         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10807         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10808         (elf_machine_lazy_rel): Likewise.
10809         * sysdeps/s390/dl-irel.h: New file.
10810         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10811         * sysdeps/s390/s390-64/memset.S: New asm code.
10812         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10813         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10814         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10815         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10816         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10817         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10818         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10819         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10820         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10821         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10822         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10823         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10824         * sysdeps/s390/s390-32/memset.S: New asm code.
10825         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10826
10827 2012-07-17  Marek Polacek  <polacek@redhat.com>
10828
10829         [BZ #14349]
10830         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10831         * sysdeps/s390/s390-64/configure.in: Likewise.
10832         * sysdeps/sparc/configure.in: Likewise.
10833         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10834         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10835         * sysdeps/i386/configure.in: Likewise.
10836         * sysdeps/x86_64/configure.in: Likewise.
10837         * sysdeps/sh/configure.in: Likewise.
10838         * sysdeps/s390/s390-32/configure: Regenerated.
10839         * sysdeps/s390/s390-64/configure: Likewise.
10840         * sysdeps/x86_64/configure: Likewise.
10841         * sysdeps/sh/configure: Likewise.
10842         * sysdeps/powerpc/powerpc64/configure: Likewise.
10843         * sysdeps/powerpc/powerpc32/configure: Likewise.
10844         * sysdeps/sparc/configure: Likwise.
10845         * sysdeps/i386/configure: Likewise.
10846
10847         * elf/dl-open.c: Comment fixes.
10848
10849 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10850
10851         * Makefile [CXX] (check-data): Remove.
10852         [CXX] (c++-types.data): New vpath directive.
10853         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10854         vpath.  Do not allow for C++ type data being missing.
10855         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10856         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10857         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10858         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10859         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10860         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10861         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10863         ... here.
10864         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10866         ... here.
10867         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10869         ... here.
10870         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10872         ... here.
10873         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10875         ... here.
10876         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10878         ... here.
10879         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10881         ... here.
10882         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10884
10885         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10886         definitions to architecture-specific files.
10887         (TLS_IE): Likewise.
10888         (TLS_LD): Likewise.
10889         (TLS_GD): Likewise.
10890         * sysdeps/i386/tls-macros.h: New file.
10891         * sysdeps/powerpc/tls-macros.h: Likewise.
10892         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10893         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10894         * sysdeps/sh/tls-macros.h: Likewise.
10895         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10896         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10897         * sysdeps/x86_64/tls-macros.h: Likewise.
10898
10899 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10900
10901         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10902         zero value for regular exit case.
10903
10904         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10905         (__start_context): Preserve zero value for regular exit case.
10906
10907 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10908             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10909
10910         * manual/setjmp.texi (setcontext): Clarify normal process
10911         termination when uc_link is the null pointer.
10912         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10913         exit call.
10914
10915 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10916
10917         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10918         preprocessor.  Test for each exception mask separately.
10919
10920 2012-07-16  Andreas Jaeger  <aj@suse.de>
10921
10922         * po/ru.po: Update from translation team.
10923
10924 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10925
10926         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10927         equal to 0.
10928         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10929         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10930         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10931         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10932         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10933
10934 2012-07-13  Andreas Jaeger  <aj@suse.de>
10935
10936         * po/fr.po: Update from translation team.
10937
10938 2012-07-12  Marek Polacek  <polacek@redhat.com>
10939
10940         [BZ #14173]
10941         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10942         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10943         loop condition.
10944
10945 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10946
10947         [BZ #13717]
10948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10949         Change to 2.4.1 where previously 2.4.0.
10950         * sysdeps/unix/sysv/linux/configure: Regenerated.
10951         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10952         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10953         version.
10954         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10955         (__ASSUME_AT_CLKTCK): Remove.
10956         (__ASSUME_AT_PAGESIZE): Likewise.
10957         (__ASSUME_AT_XID): Likewise.
10958         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10959         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10960         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10961         unconditionally.
10962         (HAVE_AUX_PAGESIZE): Likewise.
10963         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10964         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10965         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10966
10967 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10968
10969         [BZ #14307]
10970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10971         the temporary buffer used to invoke __gethostbyname2_r,
10972         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10973         host_data / struct gaih_addrtuple.
10974         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10975         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10976         header file nss/nsswitch.h.
10977         * nss/nsswitch.h (global scope): Add definition of implementation
10978         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10979         resolv/nss_dns/dns-host.c).
10980
10981 2012-07-11  Andreas Jaeger  <aj@suse.de>
10982
10983         * po/fr.po: Update from translation team.
10984
10985         * po/sv.po: Update from translation team
10986         * po/fr.po: Another update from translation team.
10987
10988 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10989
10990         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10991         for subnormals or multiply small sinh result by itself.
10992         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10994
10995 2012-07-11  David S. Miller  <davem@davemloft.net>
10996
10997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10998
10999 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11000
11001         [BZ #14347]
11002         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11003         (INTERNAL_MARK): Shift it here.
11004
11005 2012-07-10  Marek Polacek  <polacek@redhat.com>
11006
11007         [BZ #14151]
11008         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11009         libc_cv_asm_global_directive with .globl.
11010         * configure: Regenerated.
11011         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11012         with .globl.
11013         * sysdeps/i386/configure: Regenerated.
11014         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11015         with .globl.
11016         * sysdeps/x86_64/configure: Regenerated.
11017         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11018         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11019         * elf/tst-unique2mod2.c: Likewise.
11020         * elf/tst-unique2mod1.c: Likewise.
11021         * elf/tst-unique1mod2.c: Likewise.
11022         * elf/tst-unique1mod1.c: Likewise.
11023         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11024         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11025         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11026         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11027         * sysdeps/mach/sysdep.h: Likewise.
11028         * sysdeps/i386/sysdep.h: Likewise.
11029         * sysdeps/i386/i386-mcount.S: Likewise.
11030         * sysdeps/x86_64/_mcount.S: Likewise.
11031         * sysdeps/x86_64/sysdep.h: Likewise.
11032         * sysdeps/sh/_mcount.S: Likewise.
11033         * sysdeps/sh/sysdep.h: Likewise.
11034         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11035         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11036         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11037         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11038         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11039         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11040         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11041         * locale/localeinfo.h: Likewise.
11042         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11043         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11044
11045 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11046
11047         [BZ #14336]
11048         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11049         system".
11050         * manual/message.texi (The Uniforum approach): Likewise.
11051         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11052         (glibc iconv Implementation): Likewise.
11053
11054 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11055
11056         [BZ #14337]
11057         * math/s_clog.c (__clog): Avoid scaling a value down where that
11058         could result in underflow.
11059         * math/s_clog10.c (__clog10): Likewise.
11060         * math/s_clog10f.c (__clog10f): Likewise.
11061         * math/s_clog10l.c (__clog10l): Likewise.
11062         * math/s_clogf.c (__clogf): Likewise.
11063         * math/s_clogl.c (__clogl): Likewise.
11064         * math/libm-test.inc (clog_test): Add more tests.
11065         (clog10_test): Likewise.
11066         * sysdeps/i386/fpu/libm-test-ulps: Update.
11067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11068
11069 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11070
11071         [BZ #14283]
11072         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11073         by 7 not 8 to examine high bit of fractional part.
11074
11075         [BZ #14042]
11076         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11077         for call to __mcount_internal.
11078         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11079         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11080         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11081
11082 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11083
11084         [BZ #14154]
11085         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11086         approximation for values within 0x1p-13f of an odd multiple of
11087         pi/4.
11088         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11089         exception.  Add more tests.
11090         * sysdeps/i386/fpu/libm-test-ulps: Update.
11091
11092         [BZ #6778]
11093         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11094         inputs and return -1 for them.  Do not check for +Inf in case not
11095         reachable for +Inf.
11096         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11097         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11098         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11099         and return -1 for them.  Do not check for +Inf in case not
11100         reachable for +Inf.
11101         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11102         define.
11103         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11104         and return -1 for them.  Do not check for +Inf in case not
11105         reachable for +Inf.
11106         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11107         spurious underflow.
11108         * sysdeps/i386/fpu/libm-test-ulps: Update.
11109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11110
11111 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11112
11113         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11114
11115 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11116
11117         [BZ #14157]
11118         [BZ #14331]
11119         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11120         could result in spurious underflow.  Scale down values above
11121         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11122         * math/s_csqrtf.c (__csqrtf): Likewise.
11123         * math/s_csqrtl.c (__csqrtl): Likewise.
11124         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11125         spurious underflow.
11126         * sysdeps/i386/fpu/libm-test-ulps: Update.
11127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11128
11129 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11130
11131         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11132         xopen-msg.sed.
11133         * catgets/xopen-msg.awk: New file.
11134         * catgets/xopen-msg.sed: Removed.
11135
11136         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11137         po2text.sed.
11138         * intl/po2test.awk: New file.
11139         * intl/po2test.sed: Removed.
11140
11141 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11142
11143         [BZ #14328]
11144         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11145         or multiply small sinh result by itself.
11146         * math/s_ctanf.c (__ctanf): Likewise.
11147         * math/s_ctanh.c (__ctanh): Likewise.
11148         * math/s_ctanhf.c (__ctanhf): Likewise.
11149         * math/s_ctanhl.c (__ctanhl): Likewise.
11150         * math/s_ctanl.c (__ctanl): Likewise.
11151         * math/libm-test.inc (ctan_test_tonearest): New function.
11152         (ctan_test_towardzero): Likewise.
11153         (ctan_test_downward): Likewise.
11154         (ctan_test_upward): Likewise.
11155         (ctanh_test_tonearest): Likewise.
11156         (ctanh_test_towardzero): Likewise.
11157         (ctanh_test_downward): Likewise.
11158         (ctanh_test_upward): Likewise.
11159         (main): Call these new functions.
11160         * sysdeps/i386/fpu/libm-test-ulps: Update.
11161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11162
11163 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11164
11165         * .gitignore: Delete /ports entry.
11166
11167 2012-07-03  Andreas Jaeger  <aj@suse.de>
11168
11169         * po/bg.po: Update from translation team.
11170         * po/cs.po: Likewise.
11171         * po/de.po: Likewise.
11172         * po/hr.po: Likewise.
11173         * po/nl.pl: Likewise.
11174         * po/pl.po: Likewise.
11175         * po/vi.po: Likewise.
11176
11177 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11178
11179         * Makeconfig [!+link] (+link-before-libc): New variable.
11180         [!+link] (+link-after-libc): Likewise.
11181         [!+link] (+link-tests): Likewise.
11182         [!+link] (+link): Define in terms of $(+link-before-libc) and
11183         $(+link-after-libc).
11184         [!+link-static] (+link-static-before-libc): New variable.
11185         [!+link-static] (+link-static-after-libc): Likewise.
11186         [!+link-static] (+link-static-tests): Likewise.
11187         [!+link-static] (+link-static): Define in terms of
11188         $(+link-static-before-libc) and $(+link-static-after-libc).
11189         [build-shared] (link-libc-before-gnulib): New variable.
11190         [build-shared] (link-libc-tests): Likewise.
11191         [build-shared] (link-libc): Define in terms of
11192         $(link-libc-before-gnulib).
11193         [!build-shared] (link-libc-tests): New variable.
11194         (link-libc-static-tests): New variable.
11195         [!gnulib] (gnulib-arch): New variable.
11196         [!gnulib] (gnulib-tests): Likewise.
11197         [!gnulib] (static-gnulib-arch): Likewise.
11198         [!gnulib] (static-gnulib-tests): Likewise.
11199         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11200         Define with "=" instead of ":=".
11201         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11202         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11203         * Rules (binaries-all-notests): New variable.
11204         (binaries-all-tests): Likewise.
11205         (binaries-static-notests): Likewise.
11206         (binaries-static-tests): Likewise.
11207         (binaries-all): Define using $(binaries-all-notests) and
11208         $(binaries-all-tests).
11209         (binaries-static): Define using $(binaries-static-notests) and
11210         $(binaries-static-tests).
11211         (binaries-shared-tests): New variable.
11212         (binaries-shared-notests): Likewise.
11213         (binaries-shared): Remove variable.
11214         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11215         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11216         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11217         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11218         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11219         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11220         * elf/Makefile (sln-modules): New variable.
11221         (extra-objs): Add $(sln-modules:=.o).
11222         (ldconfig-modules): Add static-stubs.
11223         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11224         * elf/static-stubs.c: New file.
11225
11226         [BZ #14283]
11227         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11228         by 7 not 8 to examine high bit of fractional part.  Use volatile
11229         variables when splitting into final array of floats if
11230         __FLT_EVAL_METHOD__ != 0.
11231         * math/libm-test.inc (cos_test): Add another test.
11232         (sin_test): Likewise.
11233         * sysdeps/i386/fpu/libm-test-ulps: Update.
11234
11235         [BZ #14273]
11236         * math/libm-test.inc (cosh_test): Add more tests.
11237
11238         * version.h (RELEASE): Set to "development".
11239         (VERSION): Set to "2.16.90".
11240
11241 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11242
11243         * NEWS: Update copyright. Remove last-updated date.
11244         Mention math library bug fixes and timezone data changes.
11245         * README: Mention GNU/Hurd, x32, and HPPA support status.
11246
11247 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11248
11249         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11250
11251 2012-06-27  Andreas Jaeger  <aj@suse.de>
11252
11253         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11254
11255 2012-06-25  Andreas Jaeger  <aj@suse.de>
11256
11257         * sysdeps/s390/fpu/libm-test-ulps: Update.
11258
11259 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11260             Thomas Schwinge  <thomas@codesourcery.com>
11261
11262         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11263         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11264         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11265         fanotify_mark.
11266
11267 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11268
11269         * sysdeps/mach/start.c: Remove file.
11270         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11271         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11272         * sysdeps/sh/init-first.c: Likewise.
11273
11274         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11275         registers for frame unwinding purposes, add CFI directives.
11276         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11277         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11278         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11279         Likewise.
11280
11281         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11282         __fortify_fail returning.
11283         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11284
11285         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11286         sysdeps/sh/____longjmp_chk.S.
11287         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11288         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11289         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11290         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11291
11292         * sysdeps/sh/abort-instr.h: New file.
11293         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11294         process in case exit returns.
11295
11296         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11297         initialize the GOT register before use.
11298
11299         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11300         calculation of ARGC > 4.
11301
11302         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11303         meaningful names to some local labels.
11304
11305 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11306             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11307
11308         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11309         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11310         (__arch_compare_and_exchange_val_16_acq): Likewise.
11311         (__arch_compare_and_exchange_val_32_acq): Likewise.
11312         (atomic_exchange_and_add): Fix gUSA sequence.
11313         (atomic_add): Likewise.
11314         (atomic_add_negative): Likewise.
11315         (atomic_add_zero): Likewise.
11316         (atomic_bit_test_set): Likewise.
11317
11318 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11319
11320         [BZ #13579]
11321         * include/link.h (struct link_map): Add l_free_initfini.
11322         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11323         l_initfini.
11324         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11325         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11326         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11327         set.
11328
11329 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11330
11331         * configure.in: Use AC_LANG_SOURCE.
11332         * configure: Regenerate.
11333
11334 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11335
11336         * configure.in (libc_cv_localstatedir): New substituted variable.
11337         * configure: Regenerated.
11338         * config.make.in (localstatedir): New variable, substituted from
11339         libc_cv_localstatedir.
11340         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11341         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11342         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11343         * sysdeps/gnu/configure: Regenerated.
11344
11345 2012-06-21  Jeff Law  <law@redhat.com>
11346
11347         [BZ #14277]
11348         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11349         free.  Simplify list management for _LIBC case.
11350
11351 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11352
11353         [BZ #14273]
11354         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11355         Clear sign bit of 64-bit integer value before comparing against
11356         overflow value.
11357
11358         * sysdeps/mach/configure: Regenerated.
11359
11360 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11361
11362         [BZ #14278]
11363         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11364
11365 2012-06-21  Jeff Law  <law@redhat.com>
11366
11367         [BZ #13882]
11368         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11369         uint16_t for elements in the "seen" array to avoid char overflows.
11370         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11371         * elf/dl-open.c (dl_open_worker): Likewise.
11372
11373 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11374
11375         * scripts/list-sources.sh: Scan PORTS for translations.
11376         * po/libc.pot: Regenerated.
11377
11378 2012-06-21  Andreas Jaeger  <aj@suse.de>
11379
11380         [BZ #12194]
11381         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11382         warning.
11383         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11384         * bits/byteswap-16.h (__bswap_16): Likewise.
11385         * bits/byteswap.h (__bswap_constant_16): Likewise.
11386
11387 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11388
11389         [BZ #14117]
11390         * sysdeps/i386/fpu_control.h: Removed.
11391         * sysdeps/x86_64/fpu_control.h: Moved to ...
11392         * sysdeps/x86/fpu_control.h: Here.
11393
11394         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11395         (_FPU_SETCW): Likewise.
11396
11397 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11398
11399         [BZ #14117]
11400         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11401         * sysdeps/x86/fpu/bits/mathinline.h: This.
11402         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11403
11404         [BZ #14050]
11405         [BZ #14117]
11406         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11407         functions if __x86_64__ is defined.
11408
11409 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11410
11411         * string/endian.h: Add !__ASSEMBLER__ condition for including
11412         conversion interfaces.
11413
11414 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11415
11416         [BZ #14241]
11417         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11418         of ABS(x) in calculating zero to negative powers other than odd
11419         integers.
11420         * math/libm-test.inc (pow_test): Add more tests.
11421
11422 2012-06-15  Andreas Jaeger  <aj@suse.de>
11423
11424         * manual/contrib.texi (Contributors): Update entry of Liubov
11425         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11426         Machado Filho.
11427
11428 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11429
11430         * string/string.h: Add __wur to GNU version of strerror_r.
11431
11432 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11433
11434         [BZ #14229]
11435         * string/Makefile (tests): Add tst-strtok_r.
11436         * string/tst-strtok_r.c: New file.
11437         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11438         RAX_LP/RDX_LP on SAVE_PTR.
11439
11440 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11441
11442         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11443
11444 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11445
11446         * libm_test.inc (csqrt_test): Allow more spurious underflow
11447         exceptions.
11448         (j0_test): Likewise.
11449         (j1_test): Likewise.
11450         (y0_test): Likewise.
11451         (y1_test): Likewise.
11452
11453 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11454
11455         * po/Makefile (libc.pot): Use UTF-8 charset.
11456
11457 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11458
11459         [BZ #14210]
11460         Suppress sign-conversion warning from FD_SET.
11461         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11462         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11463         not unsigned long int.
11464         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11465
11466 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11467
11468         [BZ #14050]
11469         [BZ #14117]
11470         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11471         __extern_always_inline instead of __extern_inline.
11472         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11473         (__signbit): Likewise.
11474         (__signbitl): Support C++ namespace.
11475         (lrintf): New inline function.
11476         (lrint): Likewise.
11477         (llrintf): Likewise.
11478         (llrint): Likewise.
11479         (fmaxf): Likewise.
11480         (fmax): Likewise.
11481         (fminf): Likewise.
11482         (fmin): Likewise.
11483         (rint): Likewise.
11484         (rintf): Likewise.
11485         (ceil): Likewise.
11486         (ceilf): Likewise.
11487         (floor): Likewise.
11488         (floorf): Likewise.
11489         (nearbyint): Likewise.
11490         (nearbyintf): Likewise.
11491
11492 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11493
11494         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11495         non-default versions.
11496
11497 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11498
11499         [BZ #14218]
11500         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11501
11502 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11503
11504         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11505         (FE_UPWARD, FE_DOWNWARD): Don't define.
11506         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11507         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11508
11509         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11510         reading it.
11511         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11512         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11513
11514 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11515
11516         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11518         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11519         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11520
11521 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11522
11523         [BZ #14117]
11524         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11525         * sysdeps/i386/fpu/Implies: New file.
11526         * sysdeps/x86_64/fpu/Implies: Likewise.
11527         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11528         * sysdeps/x86/fpu/bits/fenv.h: This.
11529
11530         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11531         __SSE_MATH__.
11532
11533 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11534
11535         [BZ #14134]
11536         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11537         character 0xffff that matches the last element of the
11538         conversion table.
11539
11540 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11541
11542         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11543         fmodl commit.
11544
11545 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11546
11547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11548         values higher than 25.6283.
11549
11550 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11551
11552         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11553         subnormal exponent extraction and add some __builtin_expect.
11554         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11555         Fix for subnormal mantissa calculation.
11556
11557 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11558
11559         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11560         cpu2 is -1 and errno is not ENOSYS.
11561
11562 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11563
11564         [BZ #14117]
11565         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11566         * sysdeps/x86/bits/string.h: This.
11567         * sysdeps/x86_64/bits/string.h: Removed.
11568
11569         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11570         if not compiling for x86-64, but compiling for >= i486.
11571
11572         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11573         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11574
11575         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11576         New macro from Linux kernel 3.4.0.
11577         (FP_XSTATE_MAGIC2): Likewise.
11578         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11579         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11580         (struct _fpx_sw_bytes): New struct.
11581         (struct _xsave_hdr): Likewise.
11582         (struct _ymmh_state): Likewise.
11583         (struct _xstate): Likewise.
11584
11585         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11586         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11587         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11588         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11589         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11590         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11591
11592         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11593         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11594         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11595         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11596         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11597         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11598
11599 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11600
11601         [BZ #13743]
11602         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11603         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11604         (sysdep_headers): Include sys/platform/ppc.h.
11605         * sysdeps/powerpc/test-gettimebase.c: Test for
11606         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11607         * manual/Makefile (appendices): Include platform.texi.
11608         * manual/contrib.texi (Contributors): Update @node pointers.
11609         * manual/maint.texi (Maintenance): Likewise.
11610         (Platform): New node.
11611         * manual/platform.texi: New file.  Document the new features.
11612
11613 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614             Jakub Jelinek  <jakub@redhat.com>
11615
11616         [BZ #14188]
11617         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11618         where __builtin_expect is unavailable.
11619
11620 2012-06-03  David S. Miller  <davem@davemloft.net>
11621
11622         * stdlib/longlong.h: Updated from GCC.
11623
11624 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11625
11626         [BZ #14042]
11627         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11628         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11629         __mcount_internal.
11630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11631         (GLIBC_2.16): Likewise.
11632
11633 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11634
11635         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11636
11637 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11638
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11640         (default-abi): New variable.
11641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11642         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11643         variable.
11644         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11645         Likewise.
11646         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11647         Likewise.
11648         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11649         Likewise.
11650
11651         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11652         definition.  Document in comment.
11653
11654 2012-06-01  David S. Miller  <davem@davemloft.net>
11655
11656         * stdlib/longlong.h: Updated from GCC.
11657
11658 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11659
11660         [BZ #14117]
11661         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11662         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11663         sys/debugreg.h sys/io.h here.
11664         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11665         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11666         sys/io.h.
11667         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11668         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11669         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11670         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11671         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11672         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11673
11674         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11675         Define only if __x86_64__ is defined.
11676
11677 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11678
11679         [BZ #14048]
11680         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11681         Use int64_t for variable i.
11682         * math/libm-test.inc (fmod_test): Add more tests.
11683
11684         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11685         z computation is not scheduled after fetestexcept.
11686         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11687         Use math_force_eval instead of asm to ensure calculation scheduled
11688         before exception test.
11689         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11690         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11691
11692 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11693
11694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11695         computation is not scheduled after fetestexcept.
11696
11697 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11698
11699         [BZ #14117]
11700         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11701         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11702
11703 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11704
11705         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11706         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11707
11708 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11709
11710         [BZ #14117]
11711         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11712         <bits/wordsize.h>.
11713         (__WCHAR_MIN): Support __WORDSIZE == 64.
11714         (__WCHAR_MAX): Likewise.
11715
11716         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11717         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11718
11719         [BZ #14183]
11720         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11721         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11722
11723         [BZ #14117]
11724         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11725         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11726
11727         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11728         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11729
11730         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11731         Defined to 1 if __x86_64__ isn't defined.
11732         (_STAT_VER_LINUX_OLD): New.
11733         (st_atime): Remove duplicate.
11734         (st_mtime): Likewise.
11735         (st_ctime): Likewise.
11736
11737 2012-05-31  David S. Miller  <davem@davemloft.net>
11738
11739         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11740         entries.
11741
11742 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11743
11744         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11745         gen-libm-test.pl.
11746
11747         [BZ #14132]
11748         * elf/dl-reloc.c: Include <_itoa.h>.
11749         (_dl_reloc_bad_type): Remove use of INTUSE.
11750         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11751         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11752         * stdio-common/psiginfo.c (psiginfo): Likewise.
11753         * stdio-common/psignal.c (psignal): Likewise.
11754         * string/strsignal.c (strsignal): Likewise.
11755         * include/signal.h (_sys_siglist): Declare hidden proto.
11756         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11757         INTVARDEF with libc_hidden_data_def.
11758         * stdio-common/itoa-udigits.c: Likewise.
11759         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11760         (_itoa_lower_digits_internal): Remove declaration.
11761         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11762         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11763         (_sys_sigabbrev_internal): Remove aliases.
11764         (_sys_siglist): Define hidden alias.
11765
11766 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11767
11768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11769         bits/sysctl.h.
11770
11771 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11772
11773         [BZ #14117]
11774         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11775         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11776
11777         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11778         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11779         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11780         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11781         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11782         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11783
11784         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11785         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11786         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11787
11788         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11789         with __addr.
11790         (insw): Likewise.
11791         (insl): Likewise.
11792         (outsb): Likewise.
11793         (outsw): Likewise.
11794         (outsl): Likewise.
11795
11796         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11797         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11798         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11799
11800         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11801         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11802         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11803         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11804         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11805         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11806
11807         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11808         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11809
11810         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11811         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11812
11813         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11814         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11815         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11816
11817         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11818         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11819         to ...
11820         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11821
11822         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11823         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11824         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11825
11826         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11827         for x86-64.
11828         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11829
11830 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11831
11832         * math/math.h (M_El): Use two more decimal places.
11833         (M_LOG2El): Likewise.
11834         (M_LOG10El): Likewise.
11835         (M_LN2l): Likewise.
11836         (M_LN10l): Likewise.
11837         (M_PIl): Likewise.
11838         (M_PI_2l): Likewise.
11839         (M_PI_4l): Likewise.
11840         (M_1_PIl): Likewise.
11841         (M_2_PIl): Likewise.
11842         (M_2_SQRTPIl): Likewise.
11843         (M_SQRT2l): Likewise.
11844         (M_SQRT1_2l): Likewise.
11845
11846 2012-05-31  David S. Miller  <davem@davemloft.net>
11847
11848         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11849         values between float registers.
11850         * sysdeps/sparc/sparc64/memset.S: Likewise.
11851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11852
11853 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11854
11855         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11856         -D_FORTIFY_SOURCE=1.
11857         (CPPFLAGS-tst-longjmp_chk.c): Define.
11858         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11859         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11860         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11861         CFLAGS-tst-wchar-h.c.
11862
11863 2012-05-31  Marek Polacek  <polacek@redhat.com>
11864
11865         [BZ #14132]
11866         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11867         __endmntent_internal): Remove declaration.
11868         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11869         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11870         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11871
11872 2012-05-30  David S. Miller  <davem@davemloft.net>
11873
11874         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11875         (___Q_simulate_exceptions): Use real FP ops rather than writing
11876         into the %fsr.
11877         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11878         Likewise.
11879
11880 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11881
11882         [BZ #14117]
11883         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11884         * sysdeps/x86/bits/xtitypes.h: This.
11885
11886         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11887         * sysdeps/x86/bits/wordsize.h: This.
11888
11889         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11890         * sysdeps/x86/bits/huge_vall.h: This.
11891
11892         * sysdeps/i386/bits/select.h: Removed.
11893         * sysdeps/x86_64/bits/select.h: Renamed to ...
11894         * sysdeps/x86/bits/select.h: This.
11895
11896         * sysdeps/i386/bits/setjmp.h: Removed.
11897         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11898         * sysdeps/x86/bits/setjmp.h: This.
11899
11900         * sysdeps/i386/bits/mathdef.h: Removed.
11901         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11902         * sysdeps/x86/bits/mathdef.h: This.
11903
11904 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11905
11906         [BZ #14132]
11907         * include/sys/socket.h (__connect_internal)
11908         (__libc_sa_len_internal): Remove declaration.
11909         (__connect, __libc_sa_len): Declare hidden_proto.
11910         (SA_LEN): Remove use of INTUSE.
11911         * socket/connect.c: Add libc_hidden_def.
11912         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11913         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11914         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11915         alias.
11916         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11917         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11918         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11919         of adding _internal alias.
11920
11921 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11922
11923         [BZ #14117]
11924         * sysdeps/i386/bits/link.h: Removed.
11925         * sysdeps/i386/bits/linkmap.h: Likewise.
11926         * sysdeps/x86_64/bits/link.h: Renamed to ...
11927         * sysdeps/x86/bits/link.h: This.
11928         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11929         * sysdeps/x86/bits/linkmap.h: This.
11930
11931         * sysdeps/i386/bits/endian.h: Removed.
11932         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11933         * sysdeps/x86/bits/endian.h: This.
11934
11935         * sysdeps/i386/bits/byteswap.h: Removed.
11936         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11937         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11938         * sysdeps/x86/bits/byteswap.h: This.
11939         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11940         * sysdeps/x86/bits/byteswap-16.h: This.
11941         * sysdeps/i386/Implies: Add x86.
11942         * sysdeps/x86_64/Implies: Likewise.
11943
11944 2012-05-30  David S. Miller  <davem@davemloft.net>
11945
11946         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11947         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11948         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11949         (FP_TRAPPING_EXCEPTIONS): Define.
11950         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11951         (FP_TRAPPING_EXCEPTIONS): Define.
11952         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11953         subnormals only when inexact has been signalled or underflow
11954         exceptions are enabled.
11955         (_FP_PACK_CANONICAL): Likewise.
11956
11957 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11958
11959         [BZ #14183]
11960         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11961         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11962
11963 2012-05-30  Richard Henderson  <rth@twiddle.net>
11964
11965         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11966         with #ifndef NOT_IN_libc.
11967
11968         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11969         marked to avoid plt entry.
11970
11971 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11972
11973         [BZ #14112]
11974         * Makeconfig (default-abi): New macro.
11975         (abi-includes): Likewise.
11976         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11977         $(abi-$(default-abi)-lib-soname) for soname if defined.
11978         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11979         abi-variants.
11980         * Makefile (installed-stubs): Likewise.
11981         * include/stubs-biarch.h: Removed.
11982         * scripts/lib-names.awk: Only handle one library at a time.
11983         * scripts/soversions.awk: Remove WORDSIZE support.
11984         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11985         entries.
11986         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11987         Removed.
11988         (syscall-list-default-condition): Likewise.
11989         (syscall-list-default-condition): Likewise.
11990         (syscall-list-includes): Likewise.
11991         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11992         syscall-list-* with abi-*.  Handle undefined abi-variants.
11993         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11994         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11995         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11996         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11997         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11998         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11999         Removed.
12000         (syscall-list-32-options): Likewise.
12001         (syscall-list-32-condition): Likewise.
12002         (syscall-list-64-options): Likewise.
12003         (syscall-list-64-condition): Likewise.
12004         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12005         macro.
12006         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12007         Renamed to ...
12008         (abi-*): This.
12009         (abi-64-ld-soname): New macro.
12010         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12011         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12012         Renamed to ...
12013         (abi-*): This.
12014         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12015         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12016
12017 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12018
12019         * sysdeps/unix/sysv/linux/kernel-features.h
12020         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12021         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12022         include <kernel-features.h>.
12023         [!__NR_ftruncate64]: Remove conditional code.
12024         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12025         [__NR_ftruncate64]: Make code unconditional.
12026         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12027         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12028         include <kernel-features.h>.
12029         [!__NR_ftruncate64]: Remove conditional code.
12030         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12031         [__NR_ftruncate64]: Make code unconditional.
12032         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12034         include <kernel-features.h>.
12035         [!__NR_ftruncate64]: Remove conditional code.
12036         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12037         [__NR_ftruncate64]: Make code unconditional.
12038         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12040         include <kernel-features.h>.
12041         [!__NR_ftruncate64]: Remove conditional code.
12042         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12043         [__NR_ftruncate64]: Make code unconditional.
12044         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12045
12046         * configure.in (libc_cv_fpie): Weaken to a compile test using
12047         LIBC_TRY_CC_OPTION.
12048         * configure: Regenerated.
12049
12050 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12051
12052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12056         Refreshed.
12057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12063         Refreshed.
12064
12065 2012-05-27  David S. Miller  <davem@davemloft.net>
12066
12067         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12068         (___Q_zero): New.
12069         (__Q_simulate_exceptions): Return void.  Change to simulate
12070         exceptions by writing into the %fsr.
12071         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12072         (__Qp_handle_exceptions): Likewise.
12073         (numbers): Delete.
12074         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12075         __Qp_handle_exceptions.
12076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12077         __Qp_handle_exceptions.
12078         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12079         as unused and give dummy FP_RND_NEAREST initializer.
12080         (FP_INHIBIT_RESULTS): Define.
12081         (___Q_simulate_exceptions): Update declaration.
12082         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12083         formatting.
12084         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12085         as unused and give dummy FP_RND_NEAREST initializer.
12086         (__Qp_handle_exceptions): Update declaration.
12087         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12088         formatting.
12089
12090 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12091
12092         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12093         the temporary FPU control word.
12094         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12095         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12096         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12097         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12098         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12099         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12100         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12101         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12102         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12103         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12104         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12105
12106 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12107
12108         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12109         fields.
12110
12111 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12112
12113         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12114         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12115         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12116         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12117         Likewise.
12118         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12119         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12120         Likewise.
12121
12122 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12123
12124         * po/h.po: Update from translation team.
12125
12126 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12127
12128         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12129
12130         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12131         handling of denormals.
12132         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12133         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12134         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12135         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12137         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12138         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12139         Likewise.
12140
12141 2012-05-26  Marek Polacek  <polacek@redhat.com>
12142
12143         [BZ #14152]
12144         * math/libm-test.inc (fma_test): Don't always expect underflow
12145         exception.
12146
12147 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12148
12149         [BZ #12416]
12150         * elf/tst-execstack.c: Include stackinfo.h.
12151         (do_test): Adjust test case to ensure that pthread_getattr_np
12152         behaviour remains the same after marking stack executable.
12153
12154 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12155
12156         * sysdeps/unix/sysv/linux/kernel-features.h
12157         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12158         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12159         kernel-features.h.
12160         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12161         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12162         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12163         kernel-features.h.
12164         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12165         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12166
12167 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12168
12169         * configure.in: Define the default includes to being none.
12170         * configure: Regenerated.
12171
12172 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12173
12174         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12175         * sysdeps/x86_64/setjmp.S: Likewise.
12176         * sysdeps/i386/bsd-setjmp.S: Likewise.
12177         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12178         * sysdeps/i386/setjmp.S: Likewise.
12179         * sysdeps/i386/__longjmp.S: Likewise.
12180         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12181         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12182
12183         * include/stap-probe.h: New file.
12184         * configure.in: Handle --enable-systemtap.
12185         * configure: Regenerated.
12186         * config.h.in (USE_STAP_PROBE): New #undef.
12187         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12188         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12189         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12190
12191 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12192
12193         [BZ #13717]
12194         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12195         to 2.4.0 where earlier.
12196         * sysdeps/unix/sysv/linux/configure: Regenerated.
12197         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12198         <kernel-features.h>.
12199         [__ASSUME_32BITUIDS]: Make code unconditional.
12200         [!__ASSUME_32BITUIDS]: Remove conditional code.
12201         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12202         <kernel-features.h>.
12203         [__ASSUME_32BITUIDS]: Make code unconditional.
12204         [!__ASSUME_32BITUIDS]: Remove conditional code.
12205         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12206         [__ASSUME_32BITUIDS]: Make code unconditional.
12207         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12208         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12209         <kernel-features.h>.
12210         [__ASSUME_32BITUIDS]: Make code unconditional.
12211         [!__ASSUME_32BITUIDS]: Remove conditional code.
12212         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12213         <kernel-features.h>.
12214         [__ASSUME_32BITUIDS]: Make code unconditional.
12215         [!__ASSUME_32BITUIDS]: Remove conditional code.
12216         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12217         <kernel-features.h>.
12218         [__ASSUME_32BITUIDS]: Make code unconditional.
12219         [!__ASSUME_32BITUIDS]: Remove conditional code.
12220         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12221         <kernel-features.h>.
12222         [__ASSUME_32BITUIDS]: Make code unconditional.
12223         [!__ASSUME_32BITUIDS]: Remove conditional code.
12224         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12225         <kernel-features.h>.
12226         [__ASSUME_32BITUIDS]: Make code unconditional.
12227         [!__ASSUME_32BITUIDS]: Remove conditional code.
12228         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12229         <kernel-features.h>.
12230         [__ASSUME_32BITUIDS]: Make code unconditional.
12231         [!__ASSUME_32BITUIDS]: Remove conditional code.
12232         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12233         <kernel-features.h>.
12234         [__ASSUME_32BITUIDS]: Make code unconditional.
12235         [!__ASSUME_32BITUIDS]: Remove conditional code.
12236         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12237         <kernel-features.h>.
12238         [__ASSUME_32BITUIDS]: Make code unconditional.
12239         [!__ASSUME_32BITUIDS]: Remove conditional code.
12240         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12241         <kernel-features.h>.
12242         [__ASSUME_32BITUIDS]: Make code unconditional.
12243         [!__ASSUME_32BITUIDS]: Remove conditional code.
12244         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12245         <kernel-features.h>.
12246         [__ASSUME_32BITUIDS]: Make code unconditional.
12247         [!__ASSUME_32BITUIDS]: Remove conditional code.
12248         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12249         <kernel-features.h>.
12250         [__NR_setresgid] (__setresgid): Do not declare.
12251         [__ASSUME_32BITUIDS]: Make code unconditional.
12252         [!__ASSUME_32BITUIDS]: Remove conditional code.
12253         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12254         <kernel-features.h>.
12255         [__NR_setresuid] (__setresuid): Do not declare.
12256         [__ASSUME_32BITUIDS]: Make code unconditional.
12257         [!__ASSUME_32BITUIDS]: Remove conditional code.
12258         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12259         <kernel-features.h>.
12260         [__ASSUME_32BITUIDS]: Make code unconditional.
12261         [!__ASSUME_32BITUIDS]: Remove conditional code.
12262         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12263         <kernel-features.h>.
12264         [__ASSUME_32BITUIDS]: Make code unconditional.
12265         [!__ASSUME_32BITUIDS]: Remove conditional code.
12266         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12267         <kernel-features.h>.
12268         [__ASSUME_32BITUIDS]: Make code unconditional.
12269         [!__ASSUME_32BITUIDS]: Remove conditional code.
12270         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12271         <kernel-features.h>.
12272         [__ASSUME_32BITUIDS]: Make code unconditional.
12273         [!__ASSUME_32BITUIDS]: Remove conditional code.
12274         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12275         <kernel-features.h>.
12276         [__ASSUME_32BITUIDS]: Make code unconditional.
12277         [!__ASSUME_32BITUIDS]: Remove conditional code.
12278         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12279         <kernel-features.h>.
12280         [__ASSUME_32BITUIDS]: Make code unconditional.
12281         [!__ASSUME_32BITUIDS]: Remove conditional code.
12282         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12283         <kernel-features.h>.
12284         [__ASSUME_32BITUIDS]: Make code unconditional.
12285         [!__ASSUME_32BITUIDS]: Remove conditional code.
12286         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12287         <kernel-features.h>.
12288         [__ASSUME_32BITUIDS]: Make code unconditional.
12289         [!__ASSUME_32BITUIDS]: Remove conditional code.
12290         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12291         <kernel-features.h>.
12292         [__ASSUME_32BITUIDS]: Make code unconditional.
12293         [!__ASSUME_32BITUIDS]: Remove conditional code.
12294         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12295         <kernel-features.h>.
12296         [__ASSUME_32BITUIDS]: Make code unconditional.
12297         [!__ASSUME_32BITUIDS]: Remove conditional code.
12298         * sysdeps/unix/sysv/linux/kernel-features.h
12299         (__ASSUME_SETRESUID_SYSCALL): Remove.
12300         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12301         (__ASSUME_32BITUIDS): Likewise.
12302         (__ASSUME_LDT_WORKS): Likewise.
12303         (__ASSUME_O_DIRECTORY): Likewise.
12304         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12305         architecture but not kernel version.
12306         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12307         (__ASSUME_MMAP2_SYSCALL): Likewise.
12308         (__ASSUME_STAT64_SYSCALL): Likewise.
12309         (__ASSUME_IPC64): Likewise.
12310         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12311         <kernel-features.h>.
12312         [__ASSUME_32BITUIDS]: Make code unconditional.
12313         [!__ASSUME_32BITUIDS]: Remove conditional code.
12314         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12315         <kernel-features.h>.
12316         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12317         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12318         132096]: Remove conditional code.
12319         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12320         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12321         <kernel-features.h>.
12322         [__ASSUME_32BITUIDS]: Make code unconditional.
12323         [!__ASSUME_32BITUIDS]: Remove conditional code.
12324         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12325         <kernel-features.h>.
12326         [__ASSUME_32BITUIDS]: Make code unconditional.
12327         [!__ASSUME_32BITUIDS]: Remove conditional code.
12328         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12329         <kernel-features.h>.
12330         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12331         unconditional.
12332         (__setresgid): Do not declare.
12333         [__ASSUME_32BITUIDS]: Make code unconditional.
12334         [!__ASSUME_32BITUIDS]: Remove conditional code.
12335         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12336         <kernel-features.h>.
12337         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12338         unconditional.
12339         (__setresuid): Do not declare.
12340         [__ASSUME_32BITUIDS]: Make code unconditional.
12341         [!__ASSUME_32BITUIDS]: Remove conditional code.
12342         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12343         <kernel-features.h>.
12344         [__ASSUME_32BITUIDS]: Make code unconditional.
12345         [!__ASSUME_32BITUIDS]: Remove conditional code.
12346         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12347         <kernel-features.h>.
12348         [__ASSUME_32BITUIDS]: Make code unconditional.
12349         [!__ASSUME_32BITUIDS]: Remove conditional code.
12350
12351 2012-05-25  Richard Henderson  <rth@twiddle.net>
12352
12353         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12354         dl_hwcap to ifunc resolver.
12355         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12356         elf_ifunc_invoke.
12357         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12358         dl_hwcap to ifunc resolver.
12359         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12360
12361 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12362
12363         [BZ #14153]
12364         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12365         for |x| <= 2**-26, not 2**-57.
12366         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12367         exception.
12368
12369 2012-05-24  Jeff Law  <law@redhat.com>
12370
12371         * stdio-common/Makefile (tests): Add bug25.
12372         * stdio-common/bug25.c: New test.
12373
12374 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12375
12376         [BZ #13576]
12377         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12378         multiple of MALLOC_ALIGNMENT in size.
12379         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12380
12381 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12382
12383         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12384         Require >= 256.
12385         (FILENAME_MAX): Use macro-int-constant.
12386         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12387         (_IOFBF): Use macro-int-constant.
12388         (_IOLBF): Likewise.
12389         (_IONBF): Likewise.
12390         (SEEK_CUR): Likewise.
12391         (SEEK_END): Likewise.
12392         (SEEK_SET): Likewise.
12393         (TMP_MAX): Likewise.
12394         (EOF): Use macro-int-constant.  Require < 0.
12395         (NULL): Use macro-constant.  Require == 0.
12396         (stdin): Require type to be FILE *.
12397         (stdout): Likewise.
12398         (stderr): Likewise.
12399         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12400         macro-int-constant.
12401         (EXIT_SUCCESS): Likewise.
12402         (NULL): Use macro-constant.  Require == 0.
12403         (RAND_MAX): Use macro-int-constant.
12404         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12405         [C99-based standards] (strtof): Require function.
12406         [C99-based standards] (strtold): Likewise.
12407         [C99-based standards] (strtoll): Likewise.
12408         [C99-based standards] (strtoull): Likewise.
12409         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12410         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12411         [ISO || ISO99 || ISO11] (math.h): Likewise.
12412         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12413         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12414         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12415
12416 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12417
12418         [BZ #14132]
12419         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12420         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12421         * intl/dgettext.c (DCGETTEXT): Likewise.
12422         * intl/gettext.c (DCGETTEXT): Likewise.
12423         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12424         * posix/regex_internal.h (gettext): Likewise.
12425         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12426         Remove declaration.
12427         * include/argz.h (__argz_count_internal)
12428         (__argz_stringify_internal): Remove declaration.
12429         (__argz_count, __argz_stringify): Declare hidden proto.
12430         * intl/dcgettext.c: Remove use of INTDEF.
12431         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12432         * string/argz-stringify.c: Likewise.
12433         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12434         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12435         Declare hidden proto.
12436         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12437         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12438         Declare hidden proto.
12439         * include/stdio.h (__asprintf_internal): Don't declare.
12440         (__asprintf): Don't define as macro.  Declare hidden proto.
12441         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12442         (__fsetlocking): Declare hidden proto.
12443         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12444         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12445         hidden proto.
12446         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12447         (_IO_setlinebuf): Remove use of INTUSE.
12448         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12449         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12450         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12451         Remove declaration.
12452         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12453         (_IO_do_flush): Remove use of INTUSE.
12454         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12455         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12456         (_IO_adjust_column, _IO_least_wmarker)
12457         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12458         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12459         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12460         (_IO_default_doallocate, _IO_wdefault_doallocate)
12461         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12462         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12463         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12464         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12465         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12466         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12467         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12468         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12469         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12470         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12471         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12472         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12473         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12474         proto.
12475         (_IO_flush_all_internal, _IO_adjust_column_internal)
12476         (_IO_default_uflow_internal, _IO_default_finish_internal)
12477         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12478         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12479         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12480         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12481         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12482         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12483         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12484         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12485         (_IO_file_close_internal, _IO_file_close_it_internal)
12486         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12487         (_IO_file_init_internal, _IO_file_attach_internal)
12488         (_IO_file_fopen_internal, _IO_file_read_internal)
12489         (_IO_file_sync_internal, _IO_file_seek_internal)
12490         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12491         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12492         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12493         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12494         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12495         (_IO_list_all_internal, _IO_link_in_internal)
12496         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12497         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12498         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12499         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12500         (_IO_do_write_internal, _IO_padn_internal)
12501         (_IO_getline_info_internal, _IO_getline_internal)
12502         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12503         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12504         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12505         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12506         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12507         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12508         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12509         with libc_hidden_ver, remove use of INTUSE.
12510         * libio/genops.c: Likewise.
12511         * libio/freopen.c: Likewise.
12512         * libio/freopen64.c: Likewise.
12513         * libio/iofclose.c: Likewise.
12514         * libio/iofdopen.c: Likewise.
12515         * libio/iofflush.c: Likewise.
12516         * libio/iofflush_u.c: Likewise.
12517         * libio/iofgets.c: Likewise.
12518         * libio/iofgets_u.c: Likewise.
12519         * libio/iofopen.c: Likewise.
12520         * libio/iofopncook.c: Likewise.
12521         * libio/iofread.c: Likewise.
12522         * libio/iofread_u.c: Likewise.
12523         * libio/ioftell.c: Likewise.
12524         * libio/iofwrite.c: Likewise.
12525         * libio/iogetline.c: Likewise.
12526         * libio/iogets.c: Likewise.
12527         * libio/iogetwline.c: Likewise.
12528         * libio/iopadn.c: Likewise.
12529         * libio/iopopen.c: Likewise.
12530         * libio/ioseekoff.c: Likewise.
12531         * libio/ioseekpos.c: Likewise.
12532         * libio/iosetbuffer.c: Likewise.
12533         * libio/iosetvbuf.c: Likewise.
12534         * libio/ioungetc.c: Likewise.
12535         * libio/ioungetwc.c: Likewise.
12536         * libio/iovdprintf.c: Likewise.
12537         * libio/iovsprintf.c: Likewise.
12538         * libio/iovsscanf.c: Likewise.
12539         * libio/memstream.c: Likewise.
12540         * libio/obprintf.c: Likewise.
12541         * libio/oldfileops.c: Likewise.
12542         * libio/oldiofclose.c: Likewise.
12543         * libio/oldiofdopen.c: Likewise.
12544         * libio/oldiofopen.c: Likewise.
12545         * libio/oldiopopen.c: Likewise.
12546         * libio/oldstdfiles.c: Likewise.
12547         * libio/putc.c: Likewise.
12548         * libio/setbuf.c: Likewise.
12549         * libio/setlinebuf.c: Likewise.
12550         * libio/stdfiles.c: Likewise.
12551         * libio/strops.c: Likewise.
12552         * libio/vasprintf.c: Likewise.
12553         * libio/vscanf.c: Likewise.
12554         * libio/vsnprintf.c: Likewise.
12555         * libio/vswprintf.c: Likewise.
12556         * libio/wfiledoalloc.c: Likewise.
12557         * libio/wfileops.c: Likewise.
12558         * libio/wgenops.c: Likewise.
12559         * libio/wmemstream.c: Likewise.
12560         * libio/wstrops.c: Likewise.
12561         * libio/__fpurge.c: Likewise.
12562         * libio/__fsetlocking.c: Likewise.
12563         * assert/assert.c: Likewise.
12564         * debug/fgets_chk.c: Likewise.
12565         * debug/fgets_u_chk.c: Likewise.
12566         * debug/fread_chk.c: Likewise.
12567         * debug/fread_u_chk.c: Likewise.
12568         * debug/gets_chk.c: Likewise.
12569         * debug/obprintf_chk.c: Likewise.
12570         * debug/vasprintf_chk.c: Likewise.
12571         * debug/vdprintf_chk.c: Likewise.
12572         * debug/vsnprintf_chk.c: Likewise.
12573         * debug/vsprintf_chk.c: Likewise.
12574         * malloc/mtrace.c: Likewise.
12575         * misc/error.c: Likewise.
12576         * misc/syslog.c: Likewise.
12577         * stdio-common/asprintf.c: Likewise.
12578         * stdio-common/fxprintf.c: Likewise.
12579         * stdio-common/getw.c: Likewise.
12580         * stdio-common/isoc99_fscanf.c: Likewise.
12581         * stdio-common/isoc99_scanf.c: Likewise.
12582         * stdio-common/isoc99_vfscanf.c: Likewise.
12583         * stdio-common/isoc99_vscanf.c: Likewise.
12584         * stdio-common/isoc99_vsscanf.c: Likewise.
12585         * stdio-common/printf-prs.c: Likewise.
12586         * stdio-common/printf_fp.c: Likewise.
12587         * stdio-common/printf_fphex.c: Likewise.
12588         * stdio-common/printf_size.c: Likewise.
12589         * stdio-common/putw.c: Likewise.
12590         * stdio-common/scanf.c: Likewise.
12591         * stdio-common/sprintf.c: Likewise.
12592         * stdio-common/tmpfile.c: Likewise.
12593         * stdio-common/vfprintf.c: Likewise.
12594         * stdio-common/vfscanf.c: Likewise.
12595         * stdlib/strfmon_l.c: Likewise.
12596         * sunrpc/openchild.c: Likewise.
12597         * sunrpc/xdr_stdio.c: Likewise.
12598         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12599         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12600
12601 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12602
12603         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12604
12605         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12606         in the third column, to generate for the shared library an IFUNC
12607         that uses _dl_vdso_vsym.
12608         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12609         * Makeconfig (object-suffixes-noshared): New variable.
12610
12611         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12612         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12613         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12614         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12615
12616         [BZ #14132]
12617         * include/sys/time.h (__gettimeofday): Remove macro.
12618         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12619         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12620         Remove INTDEF.
12621         (__gettimeofday): Add libc_hidden_def.
12622         (gettimeofday): Add libc_hidden_weak.
12623         * sysdeps/mach/gettimeofday.c: Likewise.
12624         * sysdeps/posix/gettimeofday.c: Likewise.
12625         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12626         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12628         (__gettimeofday_internal): Remove strong_alias.
12629         (__gettimeofday): Add libc_hidden_def.
12630         (gettimeofday): Add libc_hidden_weak.
12631         * sysdeps/unix/syscalls.list (gettimeofday):
12632         Remove __gettimeofday_internal alias.
12633
12634 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12635             H.J. Lu  <hongjiu.lu@intel.com>
12636
12637         [BZ #12495]
12638         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12639         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12640         (largebin_index_32_big): New.
12641         (largebin_index): Use it for 16-byte alignment.
12642         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12643         correction with front_misalign.
12644
12645 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12646
12647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12649         Likewise.
12650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12651         Likewise.
12652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12653         Likewise.
12654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12655         Likewise.
12656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12657         Likewise.
12658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12659         Likewise.
12660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12661         Likewise.
12662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12663         Likewise.
12664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12665         Likewise.
12666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12667         Likewise.
12668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12669         Likewise.
12670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12671         Likewise.
12672
12673         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12674         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12675
12676 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12677
12678         [BZ #10846]
12679         [BZ #14036]
12680         * math/libm-test.inc (exp_test): Add test from bug 14036.
12681         (pow_test): Add test from bug 10846.
12682
12683         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12684         and other flags.
12685         (special_function): Do not include flags in test name.
12686         (parse_args): Likewise.
12687         * sysdeps/i386/fpu/libm-test-ulps: Update.
12688         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12689         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12690         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692
12693         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12694         exceptions.
12695         * math/libm-test.inc ("Philosophy"): Update comment about
12696         exception testing.
12697         (UNDERFLOW_EXCEPTION): New macro.
12698         (UNDERFLOW_EXCEPTION_OK): Likewise.
12699         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12700         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12701         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12702         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12703         (INVALID_EXCEPTION_OK): Update value.
12704         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12705         (OVERFLOW_EXCEPTION_OK): Likewise.
12706         (IGNORE_ZERO_INF_SIGN): Likewise.
12707         (test_exceptions): Handle underflow exceptions.
12708         (acos_test): Update for underflow exception expectations.
12709         (cexp_test): Likewise.
12710         (clog_test): Likewise.
12711         (clog10_test): Likewise.
12712         (csqrt_test): Likewise.
12713         (ctan_test): Likewise.
12714         (ctanh_test): Likewise.
12715         (exp_test): Likewise.
12716         (exp10_test): Likewise.
12717         (exp2_test): Likewise.
12718         (expm1_test): Likewise.
12719         (fma_test): Likewise.
12720         (j0_test): Likewise.
12721         (jn_test): Likewise.
12722         (nexttoward_test): Likewise.
12723         (pow_test): Likewise.
12724         (scalbn_test): Likewise.
12725         (scalbln_test): Likewise.
12726         (tan_test): Likewise.
12727         (y1_test): Likewise.
12728         * sysdeps/i386/fpu/libm-test-ulps: Update.
12729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12730
12731 2012-05-23  David S. Miller  <davem@davemloft.net>
12732
12733         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12734         (__libc_sigaction): Remove unused local variables.
12735
12736 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12737
12738         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12739
12740 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12741
12742         mktime: avoid signed integer overflow
12743         * time/mktime.c (__mktime_internal): Do not mishandle the case
12744         where diff == INT_MIN.
12745
12746         mktime: simplify computation of average
12747         * time/mktime.c (ranged_convert): Use new time_t_avg function
12748         instead of rolling our own (probably-slower) code.
12749
12750         mktime: do not assume signed right shift propagates sign bit
12751         * time/mktime.c (isdst_differ): New static function.
12752         (__mktime_internal): No need to normalize tm_isdst now.
12753         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12754         tm_isdst values.
12755
12756         mktime: merge another wrapv change from gnulib
12757         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12758         from some compilers.
12759
12760         mktime: remove incorrect attempt at unusual arithmetics
12761         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12762         The code didn't really work on such machines anyway.
12763         (TYPE_MINIMUM): Assume two's complement.
12764         (twos_complement_arithmetic): Verify that long_int and time_t
12765         are two's complement (or unsigned, in the latter case).
12766
12767         mktime: check signed shifts on long_int and time_t, too
12768         * time/mktime.c (SHR): Check that shifts work as desired
12769         on the types long_int and time_t too, as SHR is used on
12770         such types.
12771
12772         mktime: do not assume 'long' is wide enough
12773         * time/mktime.c (verify): Move decl up.
12774         (long_int): New type.
12775         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12776         to remove assumption in the code that 'long' is wide enough to
12777         store year values.  This assumption is not true on x32 and on
12778         some non-glibc platforms.
12779
12780         mktime: merge wrapv change from gnulib
12781         * time/mktime.c (WRAPV): New macro.
12782         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12783         (guess_time_tm, __mktime_internal): Do not assume that signed
12784         integer overflow wraps around; modern compilers generate code
12785         where this assumption is no longer valid.
12786
12787 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12788
12789         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12790         Replace "jmp L(pseudo_end)" with "ret".
12791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12792         Likewise.
12793
12794 2012-05-23  Andreas Jaeger  <aj@suse.de>
12795
12796         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12797         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12798
12799 2012-05-23  Andreas Jaeger  <aj@suse.de>
12800             Maximilian Attems  <max@stro.at>
12801
12802         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12803         New macros.
12804
12805 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12806
12807         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12808         code so that pseudo_end is just ret and the stack pointer is
12809         correct also for static library in error case.
12810
12811 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12812
12813         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12814         move to syscalls.list.
12815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12819
12820         * manual/install.texi (Running make install): Do not mention Linux
12821         kernel version for which pt_chown is not needed.
12822         (Linux): Do not mention problems with nscd with 2.0 kernels.
12823         * INSTALL: Regenerated.
12824
12825 2012-05-23  Andreas Jaeger  <aj@suse.de>
12826
12827         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12828         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12829         macro.
12830         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12831         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12832         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12833         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12834         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12835         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12837         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12838         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12839         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12840         * sysdeps/unix/sysv/linux/bits/in.h
12841         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12842
12843 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12844
12845         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12846         (PREPARE_VERSION): Just use assert instead, it will be elided
12847         under [NDEBUG] anyway.
12848
12849 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12850
12851         * sysdeps/unix/sysv/linux/Makefile: Include
12852         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12853         (sysdep_routines): Remove sysctl.
12854         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12855         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12856         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12857         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12858         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12859
12860 2012-05-22  Andreas Jaeger  <aj@suse.de>
12861
12862         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12863         that pseudo_end is just ret and the stack pointer is correct also
12864         for static library in error case.
12865
12866 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12867
12868         [BZ #14122]
12869         * nss/nsswitch.c (defconfig_entries): New variable.
12870         (__nss_database_lookup): Don't leak defconfig entries.
12871         (nss_parse_service_list): Don't leak on error paths.
12872         (free_database_entries): New function.
12873         (free_defconfig): New function.
12874         (free_mem): Move common code to free_database_entries.
12875
12876 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12877
12878         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12879         Add arch_prctl.
12880         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12881
12882         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12883         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12885         New macro.
12886         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12887         (INTERNAL_SYSCALL_TYPES): Likewise.
12888         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12889         (LOAD_REGS_TYPES_[1-6]): Likewise.
12890         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12891         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12892
12893 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12894
12895         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12896         copysignl for GLIBC_2_0.
12897         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12898         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12900         logbl for GLIBC_2_0.
12901         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12902         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12903
12904 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12905
12906         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12907         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12908
12909         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12910         Use "neg %eax".
12911
12912         * time/mktime.c: Update copyright years.
12913
12914 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12915
12916         mktime: merge comment-quoting-style change from gnulib
12917         * time/mktime.c: Quote 'like this' in comments.
12918         The GNU coding standards suggest that we no longer quote `like this',
12919         as "`" and "'" are typically rendered asymmetrically nowadays.
12920         The typical gnulib style is to quote 'like this' when quoting
12921         code, and "like this" when quoting English.
12922
12923         * time/mktime.c (compile-command): Add "-I.".
12924
12925         mktime: merge mktime-internal.h change from gnulib
12926         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12927
12928         mktime: merge time_r change from gnulib
12929         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12930
12931         mktime: merge DEBUG change from gnulib
12932         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12933         case system <time.h> has a #define.
12934
12935         mktime: merge <sys/types.h> change from gnulib
12936         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12937         since <time.t> is now guaranteed to define time_t.
12938
12939         mktime: merge HAVE_CONFIG_H change from gnulib
12940         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12941
12942 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12943
12944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12945         Use "neg %eax".
12946
12947         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12948         __rlim_t cast.
12949         (struct rusage): Use anonymous union to pad each field to
12950         __syscall_slong_t.
12951
12952 2012-05-21  David S. Miller  <davem@davemloft.net>
12953
12954         * Makefules (o-iterator): Remove .s cases.
12955         (compile-command.s): Delete.
12956         (COMPILE.s): Delete.
12957         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12958
12959 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12960
12961         * configure.in (libc_cv_predef_stack_protector): Only consider
12962         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12963         * configure: Regenerated.
12964
12965 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12966
12967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12968         New macro.  Use R*LP on int and pointer.
12969         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12970         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12971         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12972         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12973
12974         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12975         [__WORDSIZE_TIME64_COMPAT32] instead of
12976         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12977         (struct utmp): Likewise.
12978         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12979         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12980         Renamed to ...
12981         (__WORDSIZE_TIME64_COMPAT32): This.
12982         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12983         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12984         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12985         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12986         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12987         (__WORDSIZE_TIME64_COMPAT32): New macro.
12988
12989 2012-05-21  Andreas Jaeger  <aj@suse.de>
12990
12991         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12992         only if [SHARED]. Add prototype for __wcschr_ia32.
12993
12994 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12995
12996         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12997         of %rbp unmolested in the jmp_buf while mangling the low bits.
12998         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12999         unmolested high bits of %rbp while demangling the low bits.
13000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13001
13002 2012-05-21  Andreas Jaeger  <aj@suse.de>
13003
13004         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13005         * sunrpc/svc_simple.c: Use it for registerrpc.
13006         * sunrpc/xcrypt.c: Use it for passwd2des.
13007
13008         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13009
13010 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13011
13012         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13013         Don't define if [__SYSCALL_WORDSIZE != 32].
13014         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13015         New macro.
13016
13017 2012-05-21  Bruno Haible  <bruno@clisp.org>
13018             Andreas Jaeger  <aj@suse.de>
13019
13020         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13021         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13022         inptr and inend for must_buffer_ch.
13023         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13024         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13025         * stdio-common/Makefile (tests): Remove bug15.
13026         (bug15-ENV): Remove macro.
13027         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13028         anymore.
13029
13030 2012-05-19  Andreas Jaeger  <aj@suse.de>
13031             Roland McGrath  <roland@hack.frob.com>
13032
13033         * manual/contrib.texi: Completely rewritten. It contains now an
13034         alphabetical list of contributors and their contributions.
13035
13036 2012-05-21  Richard Henderson  <rth@twiddle.net>
13037
13038         * misc/getauxval.c (__getauxval): Use unsigned long int.
13039         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13040         (getauxval): Use unsigned long int.
13041
13042 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13043
13044         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13045
13046 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13047
13048         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13049         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13050         __alignof__ (long double).
13051
13052 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13053
13054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13055
13056 2012-05-20  Richard Henderson  <rth@twiddle.net>
13057
13058         * misc/getauxval.c: New file.
13059         * misc/sys/auxv.h: New file.
13060         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13061         (routines): Add getauxval.
13062         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13063         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13064         * elf/dl-sysdep.c (_dl_auxv): Remove.
13065         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13066         * elf/dl-support.c (_dl_auxv): New variable.
13067         (_dl_aux_init): Initialize it.
13068         * manual/startup.texi (Auxiliary Vector): New node.
13069         * sysdeps/generic/bits/hwcap.h: New file.
13070         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13071         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13072         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13073         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13074         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13075         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13077         Update.
13078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13081         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13086
13087 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13088
13089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13090
13091 2012-05-19  David S. Miller  <davem@davemloft.net>
13092
13093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13094
13095 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13096
13097         [BZ #14123]
13098         * math/s_ccosh.c: Include <float.h>
13099         (__ccosh): Avoid internal overflow calculating sinh and cosh
13100         values before multiplying by sin and cos values.
13101         * math/s_ccoshf.c: Likewise.
13102         * math/s_ccoshl.c: Likewise.
13103         * math/s_csin.c: Likewise.
13104         * math/s_csinf.c: Likewise.
13105         * math/s_csinl.c: Likewise.
13106         * math/s_csinh.c: Likewise.
13107         * math/s_csinhf.c: Likewise.
13108         * math/s_csinhl.c: Likewise.
13109         * math/libm-test.inc (ccos_test): Add more tests.
13110         (ccosh_test): Likewise.
13111         (csin_test): Likewise.
13112         (csinh_test): Likewise.
13113         * sysdeps/i386/fpu/libm-test-ulps: Update.
13114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13115
13116 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13117
13118         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13119         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13120
13121         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13122
13123 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13124
13125         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13126         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13127         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13128         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13129         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13130         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13131         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13132         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13133         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13134         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13135         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13136         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13137         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13138         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13139         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13140         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13141         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13142         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13143         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13144         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13145         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13146         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13147         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13148         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13149         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13150         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13151         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13152         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13153         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13154         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13155         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13156
13157 2012-05-18  Andreas Jaeger  <aj@suse.de>
13158
13159         * csu/.gitignore: Delete.
13160
13161 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13162
13163         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13164         (timex): Use __syscall_slong_t.
13165
13166 2012-05-18  Andreas Jaeger  <aj@suse.de>
13167             Carlos O'Donell  <carlos_odonell@mentor.com>
13168
13169         * manual/install.texi (Configuring and compiling): Update
13170         description about files modified in the source directory.
13171         * INSTALL: Regenerated.
13172
13173 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13174
13175         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13176         value.  Use "or" to set return value to -1.
13177         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13178         negate return value.
13179
13180 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13181
13182         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13183         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13184         failure if the compiler has Graphite support disabled.
13185         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13186         Likewise.
13187         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13188         CFLAGS-memmove.c): Likewise.
13189         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13190         Likewise.
13191
13192 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13193
13194         * sysdeps/x86_64/x32/_itoa.h: New file.
13195
13196         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13197         getdents system call only if kernel and user dirents have the
13198         same d_ino and d_off.
13199
13200         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13201         LLONG_MAX != LONG_MAX.
13202         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13203         (_fitoa_word): Likewise.
13204
13205         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13206         years.
13207         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13208         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13209         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13210
13211         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13212         include <bits/wordsize.h>.  Check __x86_64__ instead of
13213         __WORDSIZE.
13214         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13215         if __x86_64__ is defined.  Use anonymous union on fpstate.
13216
13217         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13218         anonymous union.
13219
13220 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13221
13222         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13223         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13224         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13225         Refer to _rtld_local_ro instead of _rtld_global_ro.
13226         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13227         Likewise.
13228         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13229         Likewise.
13230         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13231         Likewise.
13232         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13233         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13234         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13235
13236         * sysdeps/powerpc/powerpc32/dl-machine.c
13237         (__elf_machine_runtime_setup) [PROF]: Don't reference
13238         _dl_prof_resolve.
13239
13240 2012-05-18  Andreas Jaeger  <aj@suse.de>
13241
13242         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13243         function only available for GCCs before 3.4 since GCC 3.4
13244         introduced a builtin.
13245         (lrint): Likewise.
13246         (llrintf): Likewise.
13247         (llrint): Likewise.
13248         (fmaxf): Likewise.
13249         (fmax): Likewise.
13250         (fminf): Likewise.
13251         (fmin): Likewise.
13252         (rint): Likewise.
13253         (rintf): Likewise.
13254         (nearbyint): Likewise.
13255         (nearbyintf): Likewise.
13256         (ceil): Likewise.
13257         (ceilf): Likewise.
13258         (floor): Likewise.
13259         (floorf): Likewise.
13260
13261 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13262
13263         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13264         on both fields and cast pointer to __syscall_ulong_t.
13265
13266         * bits/types.h (__fsword_t): New type.
13267         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13268         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13270         (__FSWORD_T_TYPE): Likewise.
13271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13272         (__FSWORD_T_TYPE): Likewise.
13273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13274         (__FSWORD_T_TYPE): Likewise.
13275         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13276         (__FSWORD_T_TYPE): Likewise.
13277         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13278         __SWORD_TYPE with __fsword_t.
13279         (statfs64): Likewise.
13280
13281 2012-05-17  David S. Miller  <davem@davemloft.net>
13282
13283         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13284
13285 2012-05-17  Andreas Jaeger  <aj@suse.de>
13286
13287         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13288         warning.
13289
13290 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13291
13292         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13293
13294 2012-05-17  Andreas Jaeger  <aj@suse.de>
13295
13296         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13297         when it is used.
13298
13299 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13300
13301         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13302
13303 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13304
13305         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13306         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13307
13308 2012-05-17  Andreas Jaeger  <aj@suse.de>
13309             Carlos O'Donell  <carlos_odonell@mentor.com>
13310
13311         [BZ #14059]
13312         * sysdeps/x86_64/multiarch/init-arch.h
13313         (bit_YMM_Usable): Rename to...
13314         (bit_AVX_Usable): ... this.
13315         (bit_FMA4_Usable): New macro.
13316         (bit_XMM_state): New macro.
13317         (bit_YMM_state): New macro.
13318         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13319         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13320         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13321         (CPUID_OSXSAVE): New macro.
13322         (CPUID_AVX): New macro.
13323         (CPUID_FMA4): New macro.
13324         (index_YMM_Usable): Rename to...
13325         (index_AVX_Usable): ... this.
13326         (HAS_AVX): Use HAS_ARCH_FEATURE.
13327         (HAS_FMA4): Likewise.
13328         (HAS_YMM_USABLE): Remove.
13329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13330         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13331         are present.
13332         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13333         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13334         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13335         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13336         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13337
13338 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13339
13340         * math/libm-test.c: Support platforms without multiple rounding modes.
13341         * math/bug-nextafter.c: Support platforms without FP exceptions.
13342         * math/bug-nexttoward.c: Likewise.
13343         * math/test-fenv.c: Likewise.
13344         * math/test-misc.c: Likewise.
13345         * stdlib/bug-getcontext.c: Likewise.
13346
13347 2012-05-17  Andreas Jaeger  <aj@suse.de>
13348
13349         * manual/examples/search.c (critter_cmp): Change signature to
13350         avoid warnings.
13351         * manual/string.texi (Collation Functions): Likewise.
13352
13353 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13354
13355         * bits/types.h: Fold copyright years.
13356         * bits/typesizes.h: Likewise.
13357         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13361         * time/time.h: Likewise.
13362
13363 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13364
13365         [BZ #208]
13366         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13367         in instead of returning them.  Return void.
13368         (__libc_mallinfo): Accumulate over all arenas.
13369         (__malloc_stats): Adjust for change in int_mallinfo interface.
13370
13371 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13372
13373         [BZ #10375]
13374         * configure.in (NM): Add AC_CHECK_TOOL for it.
13375         (libc_extra_cflags): New substituted variable.
13376         Check for -fstack-protector being used implicitly.
13377         * configure: Regenerated.
13378         * config.make.in (config-extra-cflags): New variable,
13379         gets @libc_extra_cflags@.
13380         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13381
13382         [BZ #10375]
13383         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13384         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13385         * configure: Regenerated.
13386         * config.make.in (CPPUNDEFS): New substituted variable.
13387         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13388         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13389         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13390
13391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13392
13393         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13394         (mq_attr): Use __syscall_slong_t.
13395
13396 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13397
13398         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13399         Check __x86_64__ instead of __WORDSIZE.
13400         (_STAT_VER_LINUX): Likewise.
13401         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13402         __syscall_ulong_t and __syscall_slong_t.
13403         (stat64): Likewise.
13404
13405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13406
13407         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13408
13409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13410
13411         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13412
13413 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13414
13415         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13416         __syscall_ulong_t.
13417
13418         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13419         include <bits/wordsize.h>.  Check __x86_64__ instead of
13420         __WORDSIZE.
13421         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13422         defined.
13423         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13424
13425         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13426         include <bits/wordsize.h>.  Check __x86_64__ instead of
13427         __WORDSIZE.
13428         (user_regs_struct): Use "__extension__ unsigned long long"
13429         instead of "unsigned long" if __x86_64__ is defined.
13430         (user): Likewise.  Pad after pointer field if __ILP32__ is
13431         defined.
13432
13433 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13434
13435         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13436         versions 5 to 9.
13437         * configure: Regenerated.
13438         * manual/install.texi (texinfo): Increase version requirement to
13439         4.5 or later.
13440         * INSTALL: Regenerated.
13441
13442         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13443
13444 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13445
13446         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13447
13448         * sysdeps/x86_64/x32/ffs.c: New file.
13449
13450         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13451         __syscall_ulong_t.
13452         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13453         defined.  Use __syscall_ulong_t.
13454         (shminfo): Use __syscall_ulong_t.
13455         (shm_info): Likewise.
13456
13457         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13458         __syscall_ulong_t.
13459
13460         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13461         <bits/wordsize.h>.
13462         (msgqnum_t): Use __syscall_ulong_t.
13463         (msglen_t): Likewise.
13464         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13465         __syscall_ulong_t.
13466
13467         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13468         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13469
13470         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13471
13472         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13473         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13474
13475         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13476         __syscall_slong_t.
13477
13478         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13479         include <bits/wordsize.h>.  Check __x86_64__ instead of
13480         __WORDSIZE.
13481
13482         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13483         "unsigned long long int" if __x86_64__ is defined.
13484         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13485
13486         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13487         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13488         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13489
13490         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13491         <stdint.h>.
13492         (GET_PC): Cast to uintptr_t first.
13493         (GET_FRAME): Likewise.
13494         (GET_STACK): Likewise.
13495
13496         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13497         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13498         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13499         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13500         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13501         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13502         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13503         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13504         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13505         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13506         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13507         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13508         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13510         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13511         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13512         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13513         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13515         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13517         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13518         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13519         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13520         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13521         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13522         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13523         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13524         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13525
13526 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13527
13528         * Makerules (+depfiles): Also collect depfiles from .oS in
13529         $(extra-objs).
13530         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13531         .oS, $(libnldbl-routines)).
13532
13533         * Makerules (native-compile-mkdep-flags): Define.
13534         * sunrpc/Makefile (extra-objs): Add $(addprefix
13535         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13536         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13537         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13538         calling $(make-target-directory).
13539
13540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13541
13542         * bits/types.h (__snseconds_t): Removed.
13543         * time/time.h (struct timespec): Replace __snseconds_t with
13544         __syscall_slong_t.
13545         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13546         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13547         Likewise.
13548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13549         (__SNSECONDS_T_TYPE): Likewise.
13550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13551         (__SNSECONDS_T_TYPE): Likewise.
13552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13553         (__SNSECONDS_T_TYPE): Likewise.
13554
13555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13556
13557         * sysdeps/mach/hurd/bits/typesizes.h
13558         (__SYSCALL_SLONG_TYPE): New macro.
13559         (__SYSCALL_ULONG_TYPE): Likewise.
13560
13561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13562
13563         * bits/types.h (__syscall_slong_t): New type.
13564         (__syscall_ulong_t): Likewise.
13565
13566         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13567         (__SYSCALL_ULONG_TYPE): Likewise.
13568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13569         (__SYSCALL_SLONG_TYPE): Likewise.
13570         (__SYSCALL_ULONG_TYPE): Likewise.
13571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13572         (__SYSCALL_SLONG_TYPE): Likewise.
13573         (__SYSCALL_ULONG_TYPE): Likewise.
13574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13575         (__SYSCALL_SLONG_TYPE): Likewise.
13576         (__SYSCALL_ULONG_TYPE): Likewise.
13577
13578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13579
13580         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13581         Add sigaltstack-offsets.sym.
13582         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13583         <sigaltstack-offsets.h>.
13584         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13585         longjmp_msg pointer.
13586         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13587         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13588         signal stack.
13589         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13590
13591 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13592
13593         * elf/stackguard-macros.h: Remove file.
13594         * sysdeps/generic/stackguard-macros.h: New file.
13595         * sysdeps/i386/stackguard-macros.h: Likewise.
13596         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13597         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13598         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13599         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13600         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13601         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13602         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13603         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13604         <elf/stackguard-macros.h>.
13605
13606         [BZ #14109]
13607         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13608         __aligned__ in attribute.
13609         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13610         (gregset_t): Likewise.
13611
13612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13613
13614         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13615         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13616         * sysdeps/x86_64/x32/Implies-after: New file.
13617
13618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13619
13620         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13621         and access return value for _dl_profile_fixup.  Use R10_LP to
13622         load frame size.
13623
13624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13625
13626         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13627
13628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13629
13630         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13631         * sysdeps/x86_64/x32/sysdep.h: New file.
13632
13633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13634
13635         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13636         * sysdeps/x86_64/setjmp.S: Likewise.
13637
13638 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13639
13640         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13641         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13642         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13643         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13644         remove unused global constant.
13645
13646 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13647
13648         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13649         include of <not-cancel.h>.
13650
13651 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13652
13653         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13654
13655 2012-05-15  Jeff Law  <law@redhat.com>
13656             Andreas Jaeger  <aj@suse.de>
13657
13658         [BZ #13594]
13659         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13660         out from...
13661         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13662         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13663         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13664         code changing __hst_map_handle.map.
13665
13666 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13667
13668         * configure.in (sysnames): Look for Implies-before and Implies-after
13669         files.
13670         * configure: Regenerated.
13671
13672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13673
13674         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13675         8-byte data alignment with LP_SIZE alignment.
13676
13677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13678
13679         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13680         into R10_LP.
13681
13682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13683
13684         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13685
13686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13687
13688         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13689         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13690         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13691         Likewise.
13692         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13693
13694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13695
13696         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13697         (stackinfo_sub_sp): Likewise.
13698
13699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13700
13701         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13702         RAX_LP.
13703
13704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13705
13706         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13707         into R*_LP.
13708
13709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13710
13711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13712         sizes into R*_LP.
13713
13714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13715
13716         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13717
13718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13719
13720         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13721         into R11_LP and load __x86_64_shared_cache_size_half into
13722         R8_LP.
13723
13724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13725
13726         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13727         R8_LP.
13728
13729 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13730
13731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13732         logb for POWER7.
13733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13734         logbf for POWER7.
13735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13736         logbl for POWER7.
13737         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13738         powerpc32/power7/fpu/s_logb.c via #include.
13739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13740         powerpc32/power7/fpu/s_logbf.c via #include.
13741         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13742         powerpc32/power7/fpu/s_logbl.c via #include.
13743
13744 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13745
13746         * README.libm: Remove file.
13747
13748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13749
13750         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13751         count for x32.  Use R*_LP and omit operand-size suffix.
13752
13753 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13754
13755         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13756         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13757         * sysdeps/x86_64/x32/shlib-versions: New file.
13758
13759 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13760
13761         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13762         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13763         Use _dl_fatal_printf instead.
13764
13765 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13766
13767         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13768         set if not set by the user.  Do not allow for being unset.
13769         * sysdeps/unix/sysv/linux/configure: Regenerated.
13770
13771 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13772
13773         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13774         the `q' suffix from lea and replace .quad with ASM_ADDR.
13775
13776 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13777
13778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13779         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13780         instead of $17.
13781         (PTR_DEMANGLE): Likewise.
13782
13783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13784
13785         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13786         (LP_OP): Likewise.
13787         (ASM_ADDR): Likewise.
13788         (RAX_LP): Likewise.
13789         (RBP_LP): Likewise.
13790         (RBX_LP): Likewise.
13791         (RCX_LP): Likewise.
13792         (RDI_LP): Likewise.
13793         (RSI_LP): Likewise.
13794         (RSP_LP): Likewise.
13795         (R8_LP): Likewise.
13796         (R9_LP): Likewise.
13797         (R10_LP): Likewise.
13798         (R10_LP): Likewise.
13799         (R11_LP): Likewise.
13800         (R12_LP): Likewise.
13801         (R13_LP): Likewise.
13802         (R14_LP): Likewise.
13803         (R15_LP): Likewise.
13804
13805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13806
13807         * sysdeps/x86_64/x32/dl-machine.h: New file.
13808
13809 2012-05-14  Andreas Jaeger  <aj@suse.de>
13810
13811         * manual/Makefile (subdir): Remove export of subdir.
13812         (all): Remove target.
13813         (.PHONY): Remove all from list.
13814         (mkinstalldirs): Remove.
13815         (.PHONY): Remove installdirs from list.
13816         ($(inst_infodir)/libc.info): Use make-target-directory.
13817         (installdirs): Remove.
13818         (subdir_%): Remove.
13819         (glibc-targets): Remove.
13820         (lib): Remove.
13821         (stubs): Remove.
13822         ($(objpfx)stubs ../po/manual.pot): Remove.
13823         ($(objpfx)stamp%): Remove.
13824         (make-target-directory): Remove.
13825         (subdir_install): Remove.
13826         (routines): Remove.
13827         (aux): Remove.
13828         (sources): Remove.
13829         (objects): Remove.
13830         (headers): Remove.
13831
13832         [BZ #13750]
13833         * manual/.gitignore: Remove, it's not needed anymore.
13834         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13835         all files in it.
13836         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13837         directory.
13838         (texis): Renamed to $(objpfx)texis.
13839         (texis-path): New, contains path to generated files.
13840         (chapters.%): Use texis-path for complete path, add extra argument
13841         libc-texinfo.sh.
13842         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13843         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13844         (summary,texi, stamp-summary): Use complete path of
13845         files. Generate files in build dir.
13846         (dir-add.texi): Build in build dir.
13847         (libm-err.texi,stamp-libm-err): Likewise.
13848         (version.texi, stamp-version): Likewise.
13849         (.%c.texi): Likewise.
13850         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13851         (mostlyclean): Remove target.
13852         (realclean): Remove target.
13853         (generated): Add new variable with contents from mostlyclean and
13854         realclean, remove entries duplicated in common-mostlyclean, add
13855         stamp-libm-err and stamp-version.
13856         (generated-dirs): Add libc directory.
13857         ($(inst_infodir)/libc.info): Install files from build dir.
13858
13859         * manual/install.texi (Configuring and compiling): Adjust since
13860         the info files are not part of the tar ball anymore.
13861
13862 2012-05-14  Andreas Jaeger  <aj@suse.de>
13863
13864         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13865         variable.
13866
13867 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13868
13869         [BZ #13717]
13870         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13871         to 2.2.0 where earlier.
13872         * sysdeps/unix/sysv/linux/configure: Regenerated.
13873         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13874         Remove conditional code.
13875         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13876         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13877         Remove conditional code.
13878         [!__NR_lchown]: Likewise.
13879         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13880         [__NR_lchown]: Likewise.
13881         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13882         comment referencing __ASSUME_LCHOWN_SYSCALL.
13883         * sysdeps/unix/sysv/linux/i386/sigaction.c
13884         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13885         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13886         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13887         Remove conditional code.
13888         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13889         (__protocol_available): Remove #if 0 code.
13890         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13891         conditional code.
13892         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13893         * sysdeps/unix/sysv/linux/kernel-features.h
13894         (__ASSUME_GETCWD_SYSCALL): Don't define.
13895         (__ASSUME_REALTIME_SIGNALS): Likewise.
13896         (__ASSUME_PREAD_SYSCALL): Likewise.
13897         (__ASSUME_PWRITE_SYSCALL): Likewise.
13898         (__ASSUME_POLL_SYSCALL): Likewise.
13899         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13900         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13901         non-SPARC.
13902         (__ASSUME_SIOCGIFNAME): Don't define.
13903         (__ASSUME_MSG_NOSIGNAL): Likewise.
13904         (__ASSUME_SENDFILE): Define unconditionally.
13905         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13906         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13907         conditional code.
13908         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13909         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13910         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13911         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13912         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13913         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13914         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13916         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13917         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13919         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13920         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13922         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13923         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13925         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13926         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13928         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13929         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13931         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13932         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13934         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13935         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13937         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13938         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13939         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13940         Remove conditional code.
13941         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13942         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13943         Remove conditional code.
13944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13945         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13946         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13947         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13948         Remove conditional code.
13949         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13950         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13951         Remove conditional code.
13952         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13953         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13954         Remove conditional code.
13955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13956         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13957         Remove conditional code.
13958         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13959         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13960         Remove conditional code.
13961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13962         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13963         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13964         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13965         * sysdeps/unix/sysv/linux/sigaction.c
13966         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13967         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13968         * sysdeps/unix/sysv/linux/sigpending.c
13969         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13970         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13971         * sysdeps/unix/sysv/linux/sigprocmask.c
13972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13974         * sysdeps/unix/sysv/linux/sigsuspend.c
13975         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13976         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13977         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13978         (__libc_missing_rt_sigs): Remove.
13979         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13980         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13981         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13982         Remove conditional code.
13983         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13984         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13985         return 1.
13986         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13987         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13988         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13989         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13990
13991 2012-05-14  Andreas Jaeger  <aj@suse.de>
13992
13993         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13994         it's not used in glibc.
13995         (__coshm1): Likewise.
13996         (__acosh1p): Likewise.
13997         (__sgn): Likewise.
13998
13999         * manual/string.texi (Copying and Concatenation): Add missing
14000         variable in concat example.
14001         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14002
14003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14004
14005         [BZ #14103]
14006         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14007         __builtin_clzl with __builtin_clzll.
14008
14009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14010
14011         [BZ #14104]
14012         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14013         libc_freeres_ptr.
14014
14015 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14016
14017         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14018         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14019         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14020         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14021
14022 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14023
14024         * NEWS: Update ia64 info.
14025
14026 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14027
14028         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14029         used as bcopy.
14030
14031 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14032
14033         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14034         * sysdeps/unix/syscalls.list (dup3): Likewise.
14035         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14036         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14037
14038 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14039
14040         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14041         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14042
14043 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14044
14045         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14046         thread pointer.
14047         (TLS_IE): Use mov/add instead of movq/addq to load thread
14048         pointer.
14049         (TLS_GD_PREFIX): New.
14050         (TLS_GD): Use it.
14051
14052 2012-05-11  David S. Miller  <davem@davemloft.net>
14053
14054         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14055         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14056         (_FPU_SETCW): Likewise.
14057
14058 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14059
14060         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14061         is 32-byte aligned.
14062
14063 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14064
14065         [BZ #11837]
14066         * iconvdata/gb18030.c: Update tables.
14067         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14068         characters specially.
14069         (BODY for TO_LOOP): Add encoding of missing ranges.
14070
14071 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14072
14073         [BZ #13673]
14074         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14075         * sysdeps/mach/hurd/dup3.c: Likewise.
14076         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14077         * sysdeps/powerpc/memmove.c:: Likewise.
14078
14079 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14080
14081         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14082         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14083
14084 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14085
14086         * elf/elf.h (R_X86_64_RELATIVE64): New.
14087         (R_X86_64_NUM): Updated.
14088         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14089         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14090         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14091         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14092         tst-quad1pie tst-quad2pie
14093         (modules-names): Add tst-quadmod1 tst-quadmod2.
14094         ($(objpfx)tst-quad1): New dependency.
14095         ($(objpfx)tst-quad2): Likewise.
14096         ($(objpfx)tst-quad1pie): Likewise.
14097         ($(objpfx)tst-quad2pie): Likewise.
14098         * sysdeps/x86_64/tst-quad1.c: New file.
14099         * sysdeps/x86_64/tst-quad1pie.c: New file.
14100         * sysdeps/x86_64/tst-quad2.c: Likewise.
14101         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14102         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14103         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14104         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14105         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14106
14107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14108
14109         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14110         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14111         * streams/stropts.h (t_scalar_t): Define type.
14112
14113         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14114         (_PATH_PRESERVE): Set to "/var/lib".
14115         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14116
14117         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14118         instead of int.
14119
14120         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14121         if __dir_mkfile succeeded.
14122
14123         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14124         checking for _hurd_dtablesize.  Unlock it right after having
14125         finished _hurd_dtable allocation.
14126
14127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14128
14129         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14130         * sysdeps/mach/hurd/configure: Regenerated.
14131         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14132         special-casing to...
14133         * sysdeps/gnu/configure.in: ... this new file.
14134         * sysdeps/unix/sysv/linux/configure: Regenerated.
14135         * sysdeps/gnu/configure: New generated file.
14136
14137         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14138         for Linux: use nsec instead of usec, as well as:
14139         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14140         members of type struct timespec.
14141         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14142         New macros.
14143         (struct stat64): Likewise.
14144         (_STATBUF_ST_NSEC): New macro.
14145         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14146
14147         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14148         __strtoul_internal rather than strtoul.
14149
14150 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14151
14152         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14153         and reject them.
14154
14155 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14156
14157         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14158         which preserves existing values.
14159         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14160
14161 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14162
14163         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14164         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14165         greater than FD_SETSIZE.
14166
14167 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14168
14169         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14170         allocated, call __vm_protect to finish enabling the existing space, and
14171         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14172         allocate the remainder.
14173
14174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14175
14176         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14177         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14178
14179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14180
14181         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14182         sysdeps/mach/hurd/readlink.c.
14183
14184         * posix/tst-sysconf.c (posix_options): Only use
14185         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14186         _POSIX_SYNCHRONIZED_IO when they are defined
14187         * sysdeps/mach/hurd/bits/posix_opt.h:
14188         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14189         (_XOPEN_REALTIME): Undefine macro.
14190         (_XOPEN_REALTIME_THREADS): Undefine macro.
14191         (_XOPEN_SHM): Undefine macro.
14192         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14193         macro to -1.
14194         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14195         macro to -1.
14196         (_POSIX_ASYNC_IO): Undefine macro.
14197         (_POSIX_PRIORITIZED_IO): Undefine macro.
14198         (_POSIX_SPIN_LOCKS): Define macro to -1.
14199
14200         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14201         SA_NODEFER, SA_RESETHAND.
14202         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14203         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14204         F_DUPFD_CLOEXEC.
14205
14206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14207
14208         * elf/Makefile (pldd-modules): Define unconditionally.
14209
14210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14211
14212         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14213
14214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14215
14216         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14217         Return ENOENT when name is empty.
14218         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14219
14220 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14221
14222         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14223
14224         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14225
14226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14227
14228         Fix mlock in all cases except non-readable pages.
14229         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14230         instead of VM_PROT_ALL as parameter to __vm_wire function.
14231
14232         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14233         (__mkdir): When path is `/', just fail with EEXIST.
14234         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14235
14236 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14237
14238         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14239         <sys/uio.h> (for writev).
14240         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14241         and <sys/param.h> (for MIN).
14242
14243 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14244
14245         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14246         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14247         if interrupted.
14248
14249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14250
14251         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14252         Depend on against $(link-rpcuserlibs).
14253
14254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14255
14256         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14257         (__libc_stack_end): Do not use attribute_relro.
14258         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14259         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14260         to libthread-provided value.
14261         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14262         attribute_relro.
14263
14264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14265
14266         [BZ #3748]
14267         * bits/libc-lock.h (__libc_once_get): New macro.
14268         * sysdeps/mach/bits/libc-lock.h: Likewise.
14269         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14270         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14271         instead of using implementation details.
14272
14273         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14274         * libio/freopen.c: Likewise.
14275         * libio/freopen64.c: Likewise.
14276         * misc/syslog.c: Likewise.
14277         * nscd/connections.c: Likewise.
14278         * nscd/netgroupcache.c: Likewise.
14279         * sysdeps/posix/getcwd.c: Likewise.
14280
14281 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14282
14283         * math/w_ilogbf.c: Add #include <limits.h>.
14284
14285 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14286
14287         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14288         path instead of returning without unlocking.
14289
14290         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14291         immediate-write ioctls.
14292         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14293
14294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14295
14296         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14297         __builtin_frame_address instead of making assumptions about the
14298         location of the return address relative to DATA.  Force early load of
14299         the return address.
14300         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14301         __builtin_frame_address.
14302
14303         dup3 for GNU Hurd.
14304         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14305         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14306         implement dup3 and do some further code clean-ups.
14307         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14308         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14309
14310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14311
14312         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14313
14314         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14315         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14316         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14317         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14318         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14319         d->port.lock.
14320
14321         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14322         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14323         when handler == SIG_ERR, not when handler != SIG_ERR.
14324
14325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14326
14327         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14328         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14329         definitions.
14330
14331         accept4 for GNU Hurd.
14332         * include/sys/socket.h (__libc_accept4): New prototype.
14333         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14334         to implement __libc_accept4.
14335         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14336         __libc_accept4.
14337         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14338
14339         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14340         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14341         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14342         signal-defines.sym.
14343
14344 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14345
14346         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14347
14348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14349
14350         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14351         assertion on O_CLOEXEC flag.
14352         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14353         * hurd/intern-fd.c: Likewise.
14354         * hurd/port2fd.c: Likewise.
14355
14356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14357
14358         [BZ #3906]
14359         * bits/in.h (IPV6_PKTINFO): Define new macro.
14360         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14361
14362 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14363
14364         [BZ #13954]
14365         [BZ #13955]
14366         [BZ #13956]
14367         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14368         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14369         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14370         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14372         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14373         * math/libm-test.inc (logb_test) : Additional logb tests.
14374
14375 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14376             Andreas Jaeger  <aj@suse.de>
14377
14378         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14379         * configure: Regenerated.
14380         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14381         * config.make.in (link-obsolete-rpc): New substituted variable.
14382         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14383         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14384         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14385         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14386         so that libc.a contains the symbols.
14387         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14388         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14389         * sunrpc/auth_none.c: Likewise.
14390         * sunrpc/auth_unix.c: Likewise.
14391         * sunrpc/authdes_prot.c: Likewise.
14392         * sunrpc/authuxprot.c: Likewise.
14393         * sunrpc/clnt_gen.c: Likewise.
14394         * sunrpc/clnt_perr.c: Likewise.
14395         * sunrpc/clnt_raw.c: Likewise.
14396         * sunrpc/clnt_simp.c: Likewise.
14397         * sunrpc/clnt_tcp.c: Likewise.
14398         * sunrpc/clnt_udp.c: Likewise.
14399         * sunrpc/clnt_unix.c: Likewise.
14400         * sunrpc/des_crypt.c: Likewise.
14401         * sunrpc/des_soft.c: Likewise.
14402         * sunrpc/get_myaddr.c: Likewise.
14403         * sunrpc/key_call.c: Likewise.
14404         * sunrpc/key_prot.c: Likewise.
14405         * sunrpc/netname.c: Likewise.
14406         * sunrpc/pm_getmaps.c: Likewise.
14407         * sunrpc/pm_getport.c: Likewise.
14408         * sunrpc/pmap_clnt.c: Likewise.
14409         * sunrpc/pmap_prot.c: Likewise.
14410         * sunrpc/pmap_prot2.c: Likewise.
14411         * sunrpc/pmap_rmt.c: Likewise.
14412         * sunrpc/publickey.c: Likewise.
14413         * sunrpc/rpc_cmsg.c: Likewise.
14414         * sunrpc/rpc_common.c: Likewise.
14415         * sunrpc/rpc_dtable.c: Likewise.
14416         * sunrpc/rpc_prot.c: Likewise.
14417         * sunrpc/rpc_thread.c: Likewise.
14418         * sunrpc/rtime.c: Likewise.
14419         * sunrpc/svc.c: Likewise.
14420         * sunrpc/svc_auth.c: Likewise.
14421         * sunrpc/svc_raw.c: Likewise.
14422         * sunrpc/svc_run.c: Likewise.
14423         * sunrpc/svc_tcp.c: Likewise.
14424         * sunrpc/svc_udp.c: Likewise.
14425         * sunrpc/svc_unix.c: Likewise.
14426         * sunrpc/svcauth_des.c: Likewise.
14427         * sunrpc/xcrypt.c: Likewise.
14428         * sunrpc/xdr.c: Likewise.
14429         * sunrpc/xdr_array.c: Likewise.
14430         * sunrpc/xdr_float.c: Likewise.
14431         * sunrpc/xdr_intXX_t.c: Likewise.
14432         * sunrpc/xdr_mem.c: Likewise.
14433         * sunrpc/xdr_rec.c: Likewise.
14434         * sunrpc/xdr_ref.c: Likewise.
14435         * sunrpc/xdr_sizeof.c: Likewise.
14436         * sunrpc/xdr_stdio.c: Likewise.
14437
14438 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14439
14440         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14441         change.  Update copyright years.
14442
14443 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14444
14445         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14446
14447 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14448             Joseph Myers  <joseph@codesourcery.com>
14449             Paul Pluzhnikov  <ppluzhnikov@google.com>
14450
14451         [BZ #14012]
14452         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14453         requiring rpcgen.
14454         [cross-compiling] (extra-libs): Likewise.
14455         [cross-compiling] (extra-libs-others): Likewise.
14456         [cross-compiling] (librpcsvc-routines): Likewise.
14457         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14458         [cross-compiling] (omit-deps): Likewise.
14459         (sunrpc-CPPFLAGS): New variable.
14460         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14461         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14462         (cross-rpcgen-objs): New variable.
14463         (extra-objs): Append $(cross-rpcgen-objs).
14464         ($(cross-rpcgen-objs)): New rule.
14465         ($(objpfx)cross-rpcgen): Likewise.
14466         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14467         comment.
14468         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14469         ($(objpfx)x%.stmp): Likewise.
14470         * sunrpc/proto.h [IS_IN_build] (_): Define.
14471         [IS_IN_build] (_libc_intl_domainname): Likewise.
14472
14473 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14474
14475         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14476         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14477         and R_X86_64_TPOFF64.
14478
14479 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14480
14481         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14482         sysdeps/unix/sysv/syscalls.list.
14483         (stime): Likewise.
14484         (utime): Likewise.
14485         * sysdeps/unix/sysv/syscalls.list: Remove file.
14486
14487 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14488
14489         [BZ #3440]
14490         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14491         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14492         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14493         (__LC_IDENTIFICATION): Make these macros useful in #if
14494         expressions, as required by C99.
14495
14496 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14497
14498         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14499         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14500         after this.
14501
14502 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14503
14504         * stdlib/longlong.h: Updated from GCC.
14505
14506 2012-05-09  Andreas Jaeger  <aj@suse.de>
14507
14508         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14509         default is first entry.
14510         (run_mode): Set type.
14511         (main): Remove informal message about syslog.
14512         (options): Fix typo.
14513
14514         [BZ #14053]
14515         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14516         to asm.
14517         (lrint): Likewise.
14518         (llrintf): Likewise.
14519         (llrint): Likewise.
14520         (rint): Likewise.
14521         (rintf): Likewise.
14522         (nearbyint): Likewise.
14523         (nearbyintf): Likewise.
14524
14525 2012-05-09  Andreas Jaeger  <aj@suse.de>
14526             Pedro Alves  <palves@redhat.com>
14527
14528         * nscd/nscd.c (run_mode): Use enum.
14529         (main): Cleanup coding style issue.
14530
14531 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14532             Andreas Jaeger  <aj@suse.de>
14533
14534         * nscd/nscd.c (go_background): Replaced with...
14535         (run_mode): ... this.
14536         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14537         (options): Add -F --foreground.
14538         (main): Implement it.
14539         (parse_opt): Parse it.
14540
14541 2012-05-09  Andreas Jaeger  <aj@suse.de>
14542
14543         [BZ #14083]
14544         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14545         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14546         -Wconversion warning.
14547         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14548         Likewise.
14549
14550 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14551
14552         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14553         == 0.
14554         (LC_ALL): Use macro-int-constant.
14555         (LC_COLLATE): Likewise.
14556         (LC_CTYPE): Likewise.
14557         (LC_MESSAGES): Likewise.
14558         (LC_MONETARY): Likewise.
14559         (LC_NUMERIC): Likewise.
14560         (LC_TIME): Likewise.
14561         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14562         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14564         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14565         Specify type.
14566         [C99-based standards] (float_t): Expect type.
14567         [C99-based standards] (double_t): Expect type.
14568         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14569         type.
14570         [C99-based standards] (HUGE_VALL): Likewise.
14571         [C99-based standards] (INFINITY): Likewise.
14572         [C99-based standards] (NAN): Likewise.
14573         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14574         [C99-based standards] (FP_NAN): Likewise.
14575         [C99-based standards] (FP_NORMAL): Likewise.
14576         [C99-based standards] (FP_SUBNORMAL): Likewise.
14577         [C99-based standards] (FP_ZERO): Likewise.
14578         [C99-based standards] (FP_FAST_FMA): Use
14579         optional-macro-int-constant.  Specify type.  Require == 1.
14580         [C99-based standards] (FP_FAST_FMAF): Likewise.
14581         [C99-based standards] (FP_FAST_FMAL): Likewise.
14582         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14583         [C99-based standards] (FP_ILOGBNAN): Likewise.
14584         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14585         Specify type.
14586         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14587         [C99-based standards] (math_errhandling): Specify type.
14588         [ISO99 || ISO11] (signgam): Do not allow.
14589         [non-C99-based standards] (copysignf): Do not allow.
14590         [non-C99-based standards] (exp2f): Likewise.
14591         [non-C99-based standards] (log2f): Likewise.
14592         [non-C99-based standards] (modff): Allow.
14593         [non-C99-based standards] (erff): Do not allow.
14594         [non-C99-based standards] (erfcf): Likewise.
14595         [non-C99-based standards] (gammaf): Likewise.
14596         [non-C99-based standards] (hypotf): Likewise.
14597         [non-C99-based standards] (j0f): Likewise.
14598         [non-C99-based standards] (j1f): Likewise.
14599         [non-C99-based standards] (jnf): Likewise.
14600         [non-C99-based standards] (lgammaf): Likewise.
14601         [non-C99-based standards] (tgammaf): Likewise.
14602         [non-C99-based standards] (y0f): Likewise.
14603         [non-C99-based standards] (y1f): Likewise.
14604         [non-C99-based standards] (ynf): Likewise.
14605         [non-C99-based standards] (isnanf): Likewise.
14606         [non-C99-based standards] (acoshf): Likewise.
14607         [non-C99-based standards] (asinhf): Likewise.
14608         [non-C99-based standards] (atanhf): Likewise.
14609         [non-C99-based standards] (cbrtf): Likewise.
14610         [non-C99-based standards] (expm1f): Likewise.
14611         [non-C99-based standards] (ilogbf): Likewise.
14612         [non-C99-based standards] (log1pf): Likewise.
14613         [non-C99-based standards] (logbf): Likewise.
14614         [non-C99-based standards] (nextafterf): Likewise.
14615         [non-C99-based standards] (remainderf): Likewise.
14616         [non-C99-based standards] (rintf): Likewise.
14617         [non-C99-based standards] (scalbf): Likewise.
14618         [non-C99-based standards] (copysignl): Likewise.
14619         [non-C99-based standards] (exp2l): Likewise.
14620         [non-C99-based standards] (log2l): Likewise.
14621         [non-C99-based standards] (modfl): Allow.
14622         [non-C99-based standards] (erfl): Do not allow.
14623         [non-C99-based standards] (erfcl): Likewise.
14624         [non-C99-based standards] (gammal): Likewise.
14625         [non-C99-based standards] (hypotl): Likewise.
14626         [non-C99-based standards] (j0l): Likewise.
14627         [non-C99-based standards] (j1l): Likewise.
14628         [non-C99-based standards] (jnl): Likewise.
14629         [non-C99-based standards] (lgammal): Likewise.
14630         [non-C99-based standards] (tgammal): Likewise.
14631         [non-C99-based standards] (y0l): Likewise.
14632         [non-C99-based standards] (y1l): Likewise.
14633         [non-C99-based standards] (ynl): Likewise.
14634         [non-C99-based standards] (isnanl): Likewise.
14635         [non-C99-based standards] (acoshl): Likewise.
14636         [non-C99-based standards] (asinhl): Likewise.
14637         [non-C99-based standards] (atanhl): Likewise.
14638         [non-C99-based standards] (cbrtl): Likewise.
14639         [non-C99-based standards] (expm1l): Likewise.
14640         [non-C99-based standards] (ilogbl): Likewise.
14641         [non-C99-based standards] (log1pl): Likewise.
14642         [non-C99-based standards] (logbl): Likewise.
14643         [non-C99-based standards] (nextafterl): Likewise.
14644         [non-C99-based standards] (remainderl): Likewise.
14645         [non-C99-based standards] (rintl): Likewise.
14646         [non-C99-based standards] (scalbl): Likewise.
14647         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14648         [non-C99-based standards] (FP_*): Do not allow.
14649         [C99-based standards] (FP_*): Change to
14650         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14651         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14652         allow.
14653         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14654         (SIG_ERR): Likewise.
14655         [X/Open-based standards] (SIG_HOLD): Likewise.
14656         (SIG_IGN): Likewise.
14657         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14658         positive value.
14659         (SIGFPE): Likewise.
14660         (SIGILL): Likewise.
14661         (SIGINT): Likewise.
14662         (SIGSEGV): Likewise.
14663         (SIGTER): Likewise.
14664         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14665         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14666         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14667         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14668         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14669         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14670         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14671         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14672         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14673         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14674         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14675         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14676         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14677         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14678         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14679         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14680         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14681         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14682         [X/Open-based standards] (SIGTRAP): Likewise.
14683         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14684         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14685         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14686         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14687         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14688         allow.
14689
14690 2012-05-08  Ian Wienand  <ianw@vmware.com>
14691
14692         [BZ #14080]
14693         * time/tzset.c (__tzset_parse_tz): Update default rules for
14694         daylight time changes in the Energy Policy Act of 2005.
14695
14696 2012-05-09  Andreas Jaeger  <aj@suse.de>
14697
14698         [BZ #13983]
14699         * elf/ldconfig.c (parse_conf): Change string to make clear that
14700         ldconfig only issued a warning if ld.so.conf does not exist.
14701
14702 2012-05-08  David S. Miller  <davem@davemloft.net>
14703
14704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14705         movxtod instead of popping the value on the stack.
14706
14707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14708
14709 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14710
14711         * config.h.in: Add HAVE_ARM_PCS_VFP.
14712
14713 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14714
14715         [BZ #13979]
14716         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14717         checking but the checks are disabled for any reason.
14718
14719 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14720
14721         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14722         and ELF64_R_TYPE with ELFW(R_TYPE).
14723
14724 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14725
14726         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14727         (ulimit): Likewise.
14728
14729         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14730         (settimeofday): Likewise.
14731
14732 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14733
14734         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14735         a struct th_u2 inside the union, and move tu_block/tu_code into
14736         a new th_u3 union of tu_block/tu_code inside of that.  Move
14737         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14738         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14739         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14740         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14741         (th_stuff): Change to th_u1.tu_stuff.
14742         (th_data): Define.
14743         (th_msg): Change to th_u1.th_u2.tu_data.
14744
14745 2012-05-07  David S. Miller  <davem@davemloft.net>
14746
14747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14748
14749         [BZ #14074]
14750         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14751         (SETUP_PIC_REG): Use it.
14752         (SETUP_PIC_REG_LEAF): Use it.
14753
14754 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14755
14756         [BZ #13885]
14757         [BZ #13923]
14758         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14759         USE_AS_EXPM1L.
14760         (EXPL_FINITE): Likewise.
14761         (FLDLOG): Likewise.
14762         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14763         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14764         e_expl.S.
14765         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14766         USE_AS_EXPM1L.
14767         (EXPL_FINITE): Likewise.
14768         (FLDLOG): Likewise.
14769         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14770         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14771         e_expl.S.
14772         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14773         test of -max_value argument for long double.
14774         * sysdeps/i386/fpu/libm-test-ulps: Update.
14775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14776
14777 2012-05-06  David S. Miller  <davem@davemloft.net>
14778
14779         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14780         quad soft-float symbols whose references which are compiler
14781         generated.
14782         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14783
14784 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14785
14786         [BZ #13884]
14787         [BZ #13914]
14788         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14789         USE_AS_EXP10L.
14790         (EXPL_FINITE): Likewise.
14791         (FLDLOG): Likewise.
14792         (c0): Likewise.
14793         (c1): Likewise.
14794         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14795         Adjust comments for base varying.
14796         (__expl_finite): Change alias to EXPL_FINITE.
14797         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14798         e_expl.S.
14799         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14800         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14801         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14802         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14803         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14804         USE_AS_EXP10L.
14805         (EXPL_FINITE): Likewise.
14806         (FLDLOG): Likewise.
14807         (c0): Likewise.
14808         (c1): Likewise.
14809         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14810         Adjust comments for base varying.
14811         (__expl_finite): Change alias to EXPL_FINITE.
14812         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14813         tests for bugs.
14814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14815
14816         [BZ #14064]
14817         * math/libm-test.inc (check_float_internal): Correct ulp
14818         calculation for subnormal expected results.
14819
14820 2012-05-06  Andreas Jaeger  <aj@suse.de>
14821
14822         * Makeconfig (+math-flags): New, set to -frounding-math.
14823         (+cflags): Add +math-flags so that all of glibc gets compiled with
14824         it.
14825
14826         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14827
14828 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14829
14830         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14831         Disable one test.
14832
14833         [BZ #13787]
14834         [BZ #13922]
14835         [BZ #14036]
14836         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14837         (__ieee754_expl): Allow for and saturate large arguments.
14838         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14839         (u_threshold): Likewise.
14840         (__exp): Call __ieee754_exp before checking for overflow and
14841         underflow.
14842         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14843         (u_threshold): Likewise.
14844         (__expf): Call __ieee754_expf before checking for overflow and
14845         underflow.
14846         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14847         (u_threshold): Likewise.
14848         (__expl): Call __ieee754_expl before checking for overflow and
14849         underflow.
14850         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14851         (__ieee754_expl): Allow for and saturate large arguments.
14852         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14853         missing overflow exception on overflow.
14854         (expm1_test): Do not allow missing overflow exception on overflow.
14855
14856         * sysdeps/i386/fpu/e_expl.c: Move to ...
14857         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14858         rather than using inline asm.
14859         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14860         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14861         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14862
14863         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14864         (nice): Likewise.
14865         (poll): Likewise.
14866         (signal): Likewise.
14867         (time): Likewise.
14868         (times): Likewise.
14869
14870 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14871
14872         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14873         sysdeps/unix/common/syscalls.list.
14874         (fchmod): Likewise.
14875         (fchown): Likewise.
14876         (ftruncate): Likewise.
14877         (getrusage): Likewise.
14878         (gettimeofday): Likewise.
14879         (setpgid): Likewise.
14880         (setregid): Likewise.
14881         (setreuid): Likewise.
14882         (sigaction): Likewise.
14883         (truncate): Likewise.
14884         (vhangup): Likewise.
14885         * sysdeps/unix/common/syscalls.list: Remove file.
14886         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14887         * sysdeps/unix/sysv/linux/Implies: Likewise.
14888
14889 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14890
14891         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14893         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14894         Moved to ...
14895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14896         Here.
14897         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14898         to ...
14899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14900         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14901         to ...
14902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14903         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14904         to ...
14905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14906         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14907         to ...
14908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14909         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14910         to ...
14911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14912         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14913         to ...
14914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14915         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14916         to ...
14917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14918         Here.
14919         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14920         to ...
14921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14922         Here.
14923         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14924         to ...
14925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14926         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14927         Moved to ...
14928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14929         Here.
14930         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14931         to ...
14932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14933
14934 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14935
14936         * sysdeps/unix/common/bits/dirent.h: Remove file.
14937         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14938
14939         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14940         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14941         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14942         * sysdeps/unix/bsd/isatty.c: Likewise.
14943         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14944         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14945         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14946
14947 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14948
14949         [BZ #13563]
14950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14951         long double comparison inaccuracies.
14952         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14954
14955 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14956
14957         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14959
14960 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14961
14962         [BZ #14049]
14963         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14964         nonzero digits before rounding a hex value.
14965         * stdlib/tst-strtod.c (tests): Add another test.
14966
14967 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14968
14969         * sysdeps/s390/fpu/libm-test-ulps: Update.
14970
14971 2012-05-03  Andreas Jaeger  <aj@suse.de>
14972
14973         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14974         does not get optimized out.
14975         (malloc_opt_barrier): New.
14976
14977 2012-05-03  Andreas Jaeger  <aj@suse.de>
14978             Roland McGrath  <roland@hack.frob.com>
14979
14980         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14981         intermediate file deletion.
14982         (generated): Add .symlist files.
14983
14984 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14985
14986         [BZ #13775]
14987         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14988         Redirect under this condition.
14989         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14990         [__USE_GNU] (__dprintf_chk): Not under this condition.
14991         [__USE_GNU] (__vdprintf_chk): Likewise.
14992         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14993         under this condition.
14994         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14995         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14996         [__USE_XOPEN2K8] (vdprintf): Likewise.
14997         [__USE_GNU] (__dprintf_chk): Not under this condition.
14998         [__USE_GNU] (__vdprintf_chk): Likewise.
14999         [__USE_GNU] (dprintf): Likewise.
15000         [__USE_GNU] (vdprintf): Likewise.
15001
15002 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15003
15004         * elf/Makefile (common-generated): Set this instead of generated for
15005         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15006         $(all-built-dso)-derived lists.
15007
15008 2012-05-03  Andreas Jaeger  <aj@suse.de>
15009
15010         * sysdeps/i386/fpu/libm-test-ulps: Update.
15011
15012         * FAQ: Removed.
15013         * FAQ.in: Likewise.
15014         * scripts/gen-FAQ.pl: Likewise.
15015         * manual/install.texi (Installation): Point to online location of
15016         FAQ.
15017         * Makefile (files-for-dist): Remove FAQ.
15018         (FAQ): Remove.
15019
15020 2012-05-02  Allan McRae  <allan@archlinux.org>
15021
15022         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15023         (LDFLAGS-reldepmod5.so): Likewise.
15024         (LDFLAGS-reldep6mod1.so): Likewise.
15025         (LDFLAGS-reldep6mod4.so): Likewise.
15026         (LDFLAGS-reldep8mod3.so): Likewise.
15027         (LDFLAGS-unload4mod1.so): Likewise.
15028         (LDFLAGS-unload4mod2.so): Likewise.
15029         (LDFLAGS-tst-initorder): Likewise.
15030         (LDFLAGS-tst-initordera2.so): Likewise.
15031         (LDFLAGS-tst-initordera3.so): Likewise.
15032         (LDFLAGS-tst-initordera4.so): Likewise.
15033         (LDFLAGS-tst-initorderb2.so): Likewise.
15034         (LDFLAGS-noload): Likewise.
15035         (LDFLAGS-next): Likewise.
15036         (LDFLAGS-order2mod1.so): Likewise.
15037         (LDFLAGS-order2mod2.so): Likewise.
15038         (LDFLAGS-tst-initorder2): Likewise.
15039         (LDFLAGS-tst-initorder2a.so): Likewise.
15040         (LDFLAGS-tst-initorder2b.so): Likewise.
15041         (LDFLAGS-tst-initorder2c.so): Likewise.
15042         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15043
15044 2012-05-02  David S. Miller  <davem@davemloft.net>
15045
15046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15047
15048 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15049
15050         [BZ #14055]
15051         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15052
15053 2012-05-02  Andreas Jaeger  <aj@suse.de>
15054
15055         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15056         since we manipulate rounding mode.
15057         (CPPFLAGS-test-idouble.c): Likewise.
15058         (CPPFLAGS-test-ifloat.c): Likewise.
15059         (CFLAGS-test-ldouble.c): Likewise.
15060         (CFLAGS-test-double.c): Likewise.
15061         (CFLAGS-test-float.c): Likewise.
15062         (CFLAGS-test-misc.c): Likewise.
15063         (CFLAGS-test-test-fenv.c): Likewise.
15064
15065 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15066
15067         [BZ #2550]
15068         [BZ #2570]
15069         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15070         comparisons to determine direction to adjust input.
15071
15072 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15073
15074         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15075         output to the target.
15076
15077         * scripts/localplt.awk: New file.
15078         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15079         (check-localplt-CFLAGS): Variable removed.
15080         ($(all-built-dso:=.jmprel)): New static pattern rule.
15081         (generated): Add those targets.
15082         (localplt-built-dso): New variable.
15083         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15084
15085         * elf/check-localplt.c: File removed.
15086
15087         * scripts/check-execstack.awk: New file.
15088         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15089         (check-execstack-CFLAGS): Variable removed.
15090         ($(objpfx)check-execstack.h): Target removed.
15091         ($(objpfx)execstack-default): New target.
15092         (generated): Add that instead of check-execstack.h.
15093         ($(all-built-dso:=.phdr)): New static pattern rule.
15094         (generated): Add those targets.
15095         * elf/check-execstack.c: File removed.
15096
15097         * scripts/check-textrel.awk: New file.
15098         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15099         (check-textrel-CFLAGS): Variable removed.
15100         (all-built-dso): Use := to define.o
15101         ($(all-built-dso:=.dyn)): New static pattern rule.
15102         (generated): Add those targets.
15103         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15104         * config.make.in (READELF): New substituted variable.
15105         * elf/check-textrel.c: File removed.
15106
15107 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15108
15109         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15110         allow.
15111         * conform/data/ctype.h-data [C99-based standards] (isblank):
15112         Expect function.
15113         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15114         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15115         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15116         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15117         Specify type.  Require positive value.
15118         (EILSEQ): Likewise.
15119         (ERANGE): Likewise.
15120         [ISO || POSIX] (EILSEQ): Do not expect.
15121         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15122         Specify type.  Require positive value.
15123         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15124         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15125         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15126         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15127         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15128         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15129         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15130         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15131         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15132         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15133         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15134         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15135         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15136         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15137         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15138         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15139         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15140         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15141         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15142         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15143         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15144         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15145         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15146         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15147         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15148         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15149         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15150         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15151         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15152         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15153         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15154         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15155         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15156         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15157         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15158         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15159         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15160         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15161         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15162         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15163         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15164         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15165         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15166         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15167         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15168         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15169         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15170         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15171         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15172         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15173         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15174         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15175         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15176         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15177         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15178         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15179         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15180         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15181         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15182         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15183         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15184         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15185         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15186         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15187         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15188         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15189         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15190         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15191         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15192         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15193         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15194         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15195         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15196         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15197         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15198         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15199         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15200         Require >= 2.
15201         (FLT_ROUNDS): Expect as macro, not constant.
15202         (FLT_MANT_DIG): Use macro-int-constant.
15203         (DBL_MANT_DIG): Likewise.
15204         (LDBL_MANT_DIG): Likewise.
15205         (FLT_DIG): Likewise.
15206         (DBL_DIG): Likewise.
15207         (LDBL_DIG): Likewise.
15208         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15209         (DBL_MIN_EXP): Likewise.
15210         (LDBL_MIN_EXP): Likewise.
15211         (FLT_MAX_EXP): Use macro-int-constant.
15212         (DBL_MAX_EXP): Likewise.
15213         (LDBL_MAX_EXP): Likewise.
15214         (FLT_MAX_10_EXP): Likewise.
15215         (DBL_MAX_10_EXP): Likewise.
15216         (LDBL_MAX_10_EXP): Likewise.
15217         (FLT_MAX): Use macro-constant.
15218         (DBL_MAX): Likewise.
15219         (LDBL_MAX): Likewise.
15220         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15221         (DBL_EPSILON): Likewise.
15222         (LDBL_EPSILON): Likewise.
15223         (FLT_MIN): Likewise.
15224         (DBL_MIN): Likewise.
15225         (LDBL_MIN): Likewise.
15226         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15227         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15228         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15229         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15230         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15231         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15232         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15233         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15234         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15235         [ISO11] (FLT_TRUE_MIN): Likewise.
15236         [ISO11] (LDBL_TRUE_MIN): Likewise.
15237         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15238         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15239         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15240         (SCHAR_MAX): Likewise.
15241         (UCHAR_MAX): Likewise.
15242         (CHAR_MIN): Likewise.
15243         (CHAR_MAX): Likewise.
15244         (MB_LEN_MAX): Use macro-int-constant.
15245         (SHRT_MIN): Use macro-int-constant.  Specify type.
15246         (SHRT_MAX): Likewise.
15247         (USHRT_MAX): Likewise.
15248         (INT_MAX): Likewise.
15249         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15250         bound negative.
15251         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15252         bound with "U".
15253         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15254         bound with "L".
15255         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15256         bound negative.  Suffix upper bound with "L".
15257         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15258         bound with "UL".
15259         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15260         Specify type.
15261         [C99-based standards] (LLONG_MAX): Likewise.
15262         [C99-based standards] (ULLONG_MAX): Likewise.
15263         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15264         == 0.
15265         [ISO11] (max_align_t): Require type.
15266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15267
15268         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15269         from $CFLAGS, without defining away __attribute__ calls.
15270         (checknamespace): Use $CFLAGS_namespace.
15271
15272         * conform/conformtest.pl (@keywords): Only include C99 keywords
15273         for standards based on C99 or C11.
15274
15275         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15276         Disable tests.
15277         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15278         UNIX98]: Likewise.
15279
15280         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15281         usability of symbols in #if.
15282
15283         * conform/conformtest.pl: If macro or constant types start
15284         "promoted:", expect the symbol to be of the following type
15285         promoted by the integer promotions.
15286
15287         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15288         in one place.  Also handle "macro-constant".
15289
15290         * conform/conformtest.pl: Only accept expected macro values with
15291         "==".  Parse all "macro" lines in one place.
15292         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15293
15294         * conform/conformtest.pl: Handle braced types on "constant" lines
15295         instead of handling "typed-constant".
15296         * conform/data/signal.h-data: Use "constant" instead of
15297         "typed-constant".
15298
15299         * conform/conformtest.pl: Handle "optional-" at start of lines in
15300         one place rather than duplicating several cases.  Handle each
15301         format of "macro" line with initial "optional-".
15302
15303         * conform/conformtest.pl: Only accept expected constant or
15304         optional-constant values with "==".  Parse all "constant" lines in
15305         one place.  Parse all "optional-constant" lines in one place.
15306         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15307         * conform/data/fmtmsg.h-data: Likewise.
15308         * conform/data/netinet/in.h-data: Likewise.
15309         * conform/data/tar.h-data: Likewise.
15310         * conform/data/limits.h-data: Use "==" form on "constant" and
15311         "optional-constant" lines.
15312
15313         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15314         Use -std=c99 for XOPEN2K.
15315         (@knownproblems): Remove.
15316         (newtoken): Don't check %isknown.
15317
15318         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15319         Do not expect macro.
15320         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15321         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15322         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15323         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15324         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15325         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15326         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15327         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15328         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15329         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15330         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15331         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15332         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15333         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15334         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15335         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15336         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15337         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15338         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15339         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15340         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15341         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15342         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15343         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15344         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15345         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15346         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15347         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15348         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15349         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15350         [XPG3] (acosh): Likewise.
15351         [XPG3] (asinh): Likewise.
15352         [XPG3] (atanh): Likewise.
15353         [XPG3] (cbrt): Likewise.
15354         [XPG3] (expm1): Likewise.
15355         [XPG3] (ilogb): Likewise.
15356         [XPG3] (log1p): Likewise.
15357         [XPG3] (logb): Likewise.
15358         [XPG3] (nextafter): Likewise.
15359         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15360         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15361         [XPG3] (remainder): Likewise.
15362         [XPG3] (rint): Likewise.
15363         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15364         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15365         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15366         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15367         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15368         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15369         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15370         [UNIX98 || XOPEN2K] (scalb): Expect.
15371         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15372         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15373         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15374         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15375         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15376         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15377         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15378         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15379         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15380         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15381         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15382         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15383         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15384         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15385         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15386         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15387         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15388         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15389         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15390         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15391         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15392         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15393         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15394         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15395         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15396         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15397         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15398         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15399         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15400         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15401         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15402         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15403         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15404         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15405         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15406         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15407         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15408         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15409         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15410         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15411         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15412         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15413         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15414         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15415         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15416         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15417         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15418         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15419         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15420         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15421         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15422         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15423         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15424         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15425         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15426         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15427         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15428         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15429         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15430         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15431         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15432         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15433         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15434         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15435         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15436         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15437         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15438         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15439         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15440         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15441         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15442         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15443         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15444         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15445         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15446         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15447         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15448         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15449         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15450         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15451         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15452         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15453         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15454         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15455         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15456         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15457         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15458         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15459         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15460         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15461         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15462         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15463         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15464         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15465         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15466         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15467         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15468         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15469         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15470         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15471         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15472         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15473         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15474         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15475         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15476         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15477         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15478         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15479         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15480         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15481         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15482         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15483         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15484         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15485         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15486         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15487         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15488         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15489         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15490         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15491         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15492         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15493         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15494         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15495         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15496         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15497         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15498         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15499         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15500         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15501         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15502         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15503         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15504         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15505         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15506         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15507         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15508
15509         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15510         _XOPEN_SOURCE_EXTENDED for XPG4.
15511
15512         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15513
15514         * Makeconfig (localtime): Remove variable.
15515         (inst_localtime-file): Likewise.
15516
15517 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15518
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15520         Update.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15522         Update.
15523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15524         Update.
15525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15526         Update.
15527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15528         Update.
15529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15530         Update.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15532         Update.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15534         Update.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15536         Update.
15537
15538 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15539
15540         [BZ #2550]
15541         [BZ #2570]
15542         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15543         comparisons to determine direction to adjust input.
15544         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15545         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15547         Likewise.
15548         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15549         Likewise.
15550         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15551         Likewise.
15552         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15553         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15554         Likewise.
15555         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15556         Likewise.
15557         * math/libm-test.inc (nexttoward_test): Add more tests.
15558
15559 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15560
15561         [BZ #14040]
15562         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15563         in version GLIBC_2.1, not GLIBC_2.0.
15564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15565         Likewise.
15566
15567 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15568
15569         [BZ #13942]
15570         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15571         (1 - x) * (1 + x).
15572         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15573         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15574         * math/libm-test.inc (acos_test): Add more tests.
15575         (asin_test): Likewise.
15576         * sysdeps/i386/fpu/libm-test-ulps: Update.
15577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15578
15579         [BZ #14034]
15580         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15581         of square root.
15582         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15583         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15584         * math/libm-test.inc (acos_test_tonearest): New function.
15585         (acos_test_towardzero): Likewise.
15586         (acos_test_downward): Likewise.
15587         (acos_test_upward): Likewise.
15588         (asin_test_tonearest): Likewise.
15589         (asin_test_towardzero): Likewise.
15590         (asin_test_downward): Likewise.
15591         (asin_test_upward): Likewise.
15592         (main): Call the new functions.
15593         * sysdeps/i386/fpu/libm-test-ulps: Update.
15594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15595
15596         [BZ #13884]
15597         [BZ #13924]
15598         * math/e_exp10.c: Include <float.h>.
15599         (__ieee754_exp10): Handle underflow here rather than multiplying
15600         large negative argument by M_LN10.
15601         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15602         of __ieee754_expf.
15603         * math/e_exp10l.c: Include <float.h>.
15604         (__ieee754_exp10l): Handle underflow here rather than multiplying
15605         large negative argument by M_LN10l.
15606         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15607         spurious overflow exception on underflow.
15608
15609 2012-04-29  Marek Polacek  <polacek@redhat.com>
15610
15611         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15612         (__fortify_function): New macro.
15613         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15614         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15615         __extern_always_inline.
15616         * libio/bits/stdio2.h: Likewise.
15617         * libio/bits/stdio.h: Likewise.
15618         * string/string.h: Likewise.
15619         * string/bits/string3.h: Likewise.
15620         * include/stdio.h: Likewise.
15621         * stdlib/bits/stdlib.h: Likewise.
15622         * stdlib/stdlib.h: Likewise.
15623         * rt/bits/mqueue2.h: Likewise.
15624         * rt/mqueue.h: Likewise.
15625         * posix/bits/unistd.h: Likewise.
15626         * posix/unistd.h: Likewise.
15627         * io/bits/poll2.h: Likewise.
15628         * io/bits/fcntl2.h: Likewise.
15629         * io/fcntl.h: Likewise.
15630         * io/sys/poll.h: Likewise.
15631         * misc/bits/syslog.h: Likewise.
15632         * misc/bits/syslog-ldbl.h: Likewise.
15633         * misc/sys/syslog.h: Likewise.
15634         * socket/bits/socket2.h: Likewise.
15635         * socket/sys/socket.h: Likewise.
15636         * debug/tst-chk1.c: Likewise.
15637         * wcsmbs/bits/wchar2.h: Likewise.
15638         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15639         * wcsmbs/wchar.h: Likewise.
15640
15641 2012-04-29  Andreas Jaeger  <aj@suse.de>
15642
15643         * Makerules (tests): Remove enable-check-abi protection.
15644         (check-abi-warn): Remove.
15645         (check-abi-%): Remove check-abi-warn usage.
15646
15647         * configure.in: Remove check-abi configure option.
15648         * configure: Regenerated.
15649         * config.make.in (enable-check-abi): Remove.
15650
15651 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15652
15653         [BZ #14033]
15654         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15655         double functions to double *_finite functions.
15656
15657         [BZ #13941]
15658         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15659         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15660         LDBL_MIN_EXP.
15661         * stdio-common/Makefile (tests): Add tst-sprintf3.
15662         * stdio-common/tst-sprintf3.c: New file.
15663
15664         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15665         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15666
15667 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15668
15669         * conform/conformtest.pl: Remove duplicate typed-constant
15670         handling.
15671
15672 2012-04-28  David S. Miller  <davem@davemloft.net>
15673
15674         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15675         (check-abi-%): Remove AWK script prerequisite and explicit
15676         abilist directory.
15677         (check-abi): Rewrite to just diff the symlist with the abilist.
15678         (config-tls, config-abi-config): Delete, no longer used.
15679         (update-abi-%): Remove AWK script and explicit abilist directory.
15680         (update-abi): Rewrite to simply compare and conditionally copy the
15681         symlist and the sysdep abilist file.  Remove update-abi-config
15682         checks.
15683         * abilist/ld.abilist: Remove.
15684         * abilist/libBrokenLocale.abilist: Remove.
15685         * abilist/libanl.abilist: Remove.
15686         * abilist/libcrypt.abilist: Remove.
15687         * abilist/libdl.abilist: Remove.
15688         * abilist/librt.abilist: Remove.
15689         * abilist/libthread_db.abilist: Remove.
15690         * abilist/libutil.abilist: Remove.
15691         * scripts/extract-abilist.awk: Remove.
15692         * scripts/merge-abilist.awk: Remove.
15693         * sysdeps/generic/libcidn.abilist: New file.
15694         * sysdeps/generic/libnss_compat.abilist: New file.
15695         * sysdeps/generic/libnss_db.abilist: New file.
15696         * sysdeps/generic/libnss_dns.abilist: New file.
15697         * sysdeps/generic/libnss_files.abilist: New file.
15698         * sysdeps/generic/libnss_hesiod.abilist: New file.
15699         * sysdeps/generic/libnss_nis.abilist: New file.
15700         * sysdeps/generic/libnss_nisplus.abilist: New file.
15701         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15702         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15703         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15704         file.
15705         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15706         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15707         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15708         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15709         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15710         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15711         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15712         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15713         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15714         file.
15715         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15716         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15717         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15718         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15719         file.
15720         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15721         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15722         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15723         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15724         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15725         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15726         file.
15727         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15728         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15729         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15730         file.
15731         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15733         New file.
15734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15735         New file.
15736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15737         New file.
15738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15739         New file.
15740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15741         New file.
15742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15743         New file.
15744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15745         New file.
15746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15747         New file.
15748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15749         New file.
15750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15751         New file.
15752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15753         New file.
15754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15755         New file.
15756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15757         New file.
15758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15759         file.
15760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15761         New file.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15763         New file.
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15765         file.
15766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15767         New file.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15769         New file.
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15771         file.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15773         New file.
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15775         New file.
15776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15777         New file.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15779         New file.
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15781         New file.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15783         New file.
15784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15786         file.
15787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15788         New file.
15789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15790         file.
15791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15792         file.
15793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15794         file.
15795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15796         file.
15797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15798         file.
15799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15800         New file.
15801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15802         file.
15803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15804         file.
15805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15806         New file.
15807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15808         file.
15809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15811         file.
15812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15813         New file.
15814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15815         file.
15816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15817         file.
15818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15819         file.
15820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15821         file.
15822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15823         file.
15824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15825         New file.
15826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15827         file.
15828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15829         file.
15830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15831         New file.
15832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15833         file.
15834         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15835         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15836         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15837         file.
15838         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15839         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15840         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15841         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15842         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15843         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15844         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15845         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15846         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15847         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15850         file.
15851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15852         New file.
15853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15854         file.
15855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15856         file.
15857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15858         file.
15859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15860         file.
15861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15862         file.
15863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15864         New file.
15865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15866         New file.
15867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15868         file.
15869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15870         New file.
15871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15872         file.
15873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15875         file.
15876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15877         New file.
15878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15879         file.
15880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15881         file.
15882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15883         file.
15884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15885         file.
15886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15887         file.
15888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15889         New file.
15890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15891         New file.
15892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15893         file.
15894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15895         New file.
15896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15897         file.
15898
15899 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15900
15901         * conform/conformtest.pl: Fix typo in handling typed-constant from
15902         allow-header.
15903
15904 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15905
15906         * README: Cut down references to pre-2.6 Linux kernels and
15907         Linuxthreads.  Update lists of configurations in libc and ports
15908         and sort alphabetically.  Say "or newer" with Linux kernel version
15909         requirements.
15910
15911         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15912
15913 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15914
15915         [BZ #887]
15916         * math/libm-test.inc (logb_test_downward): New test to expose
15917         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15918         rounding mode.
15919
15920 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15921
15922         [BZ #14027]
15923         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15924         to be done.
15925         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15926         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15927
15928 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15929
15930         * sysdeps/unix/i386/brk.S: Remove file.
15931         * sysdeps/unix/i386/dl-brk.S: Likewise.
15932         * sysdeps/unix/i386/pipe.S: Likewise.
15933         * sysdeps/unix/i386/sigreturn.S: Likewise.
15934         * sysdeps/unix/i386/syscall.S: Likewise.
15935         * sysdeps/unix/i386/vfork.S: Likewise.
15936         * sysdeps/unix/i386/wait.S: Likewise.
15937
15938         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15939         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15940
15941         * configure.in (arm*-none*): Do not allow without
15942         --enable-hacker-mode.
15943         (netbsd*): Remove case setting base_os.
15944         (386bsd*): Likewise.
15945         (freebsd*): Likewise.
15946         (bsdi*): Likewise.
15947         (osf*): Likewise.
15948         (sunos*): Likewise.
15949         (ultrix*): Likewise.
15950         (newsos*): Likewise.
15951         (dynix*): Likewise.
15952         (*bsd*): Likewise.
15953         (sysv*): Likewise.
15954         (isc*): Likewise.
15955         (esix*): Likewise.
15956         (sco*): Likewise.
15957         (minix*): Likewise.
15958         (irix4*): Likewise.
15959         (irix6*): Likewise.
15960         (solaris[2-9]*): Likewise.
15961         (none): Likewise.
15962         * configure: Regenerated.
15963
15964 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15965
15966         [BZ #11521]
15967         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15968         overflow or cancellation in calculating denominator.
15969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15970         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15971         down expression to avoid unexpected rounding in newer GCCs.
15972         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15973
15974 2012-04-26  David S. Miller  <davem@davemloft.net>
15975
15976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15977         long-double compat symbols.
15978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15991
15992 2012-04-25  David S. Miller  <davem@davemloft.net>
15993
15994         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15995         HWCAP_* values only after the memory barriers have been defined.
15996         (atomic_full_barrier): Define.
15997         (atomic_read_barrier): Define.
15998         (atomic_write_barrier): Define.
15999
16000 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16001
16002         * shlib-versions: Add libgcc_s version information.
16003         * sysdeps/generic/libgcc_s.h: Remove.
16004         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16005         libgcc_s.h.
16006         * sysdeps/gnu/unwind-resume.c: Likewise.
16007         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16008
16009 2012-04-25  David S. Miller  <davem@davemloft.net>
16010
16011         * sysdeps/unix/sparc/brk.S: Delete.
16012         * sysdeps/unix/sparc/dl-brk.S: Delete.
16013         * sysdeps/unix/sparc/pipe.S: Delete.
16014         * sysdeps/unix/sparc/sysdep.S: Delete.
16015         * sysdeps/unix/sparc/sysdep.h: Delete.
16016         * sysdeps/unix/sparc/vfork.S: Delete.
16017         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16018         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16019         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16020         ret_ERRVAL, r0, r1, MOVE): Define.
16021         (JUMPTARGET): Remove.
16022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16023         sysdeps/unix/sparc/sysdep.h
16024         (ENTRY, END): Remove.
16025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16026
16027 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16028
16029         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16030         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16031         -DIS_IN_build.
16032
16033         * timezone/README: Update upstream location and email address for
16034         tzcode and tzdata.
16035         * timezone/zdump.c: Update from tzcode 2012b.
16036         * timezone/zic.c: Likewise.
16037
16038         * configure.in (libc_cv_as_needed): Remove test.
16039         * configure: Regenerated.
16040         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16041         conditional definition.
16042         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16043         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16044         * config.make.in (have-as-needed): Remove variable.
16045
16046 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16047             Paul Pluzhnikov  <ppluzhnikov@google.com>
16048
16049         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16050         strings correctly.
16051
16052 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16053
16054         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16055         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16056         * sysdeps/sh/strlen.S: Likewise.
16057
16058 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16059
16060         * sysdeps/unix/fork.S: Remove file.
16061         * sysdeps/unix/i386/fork.S: Likewise.
16062         * sysdeps/unix/sparc/fork.S: Likewise.
16063
16064         * sysdeps/unix/system.c: Remove file.
16065         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16066
16067         * sysdeps/unix/getegid.S: Remove file.
16068         * sysdeps/unix/geteuid.S: Likewise.
16069
16070 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16071
16072         * scripts/check-localplt.awk: New file.
16073         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16074         of diff.
16075         * scripts/data/localplt-generic.data: Add a comment.
16076
16077         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16078         NODE when __dir_mkfile failed.
16079         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16080         Reported by Ludovic Courtès <ludo@gnu.org>.
16081
16082 2012-04-24  Andreas Jaeger  <aj@suse.de>
16083
16084         * Makerules (common-clean): Also remove gen-as-const-headers
16085         files.
16086
16087 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16088
16089         * Makerules (native-compile): Do not change working directory for
16090         build.  Use $(OUTPUT_OPTION) in command.
16091         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16092
16093 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16094
16095         [BZ #13886]
16096         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16097         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16098         * math/libm-test.inc (floor_test): Add more tests.
16099         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16100
16101 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16102
16103         * sysdeps/unix/getdents.c: Remove file.
16104         * sysdeps/unix/sysv/getdents.c: Likewise.
16105         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16106
16107         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16108         sysdeps/unix/mman/syscalls.list.
16109         (mmap): Likewise.
16110         (mprotect): Likewise.
16111         (msync): Likewise.
16112         (munmap): Likewise.
16113         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16114         * sysdeps/unix/mman/syscalls.list: Remove.
16115         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16116
16117         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16118         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16119         * configure: Regenerated.
16120         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16121         $(libgcc_s_suffix).
16122         * config.make.in (libgcc_s_suffix): Remove variable.
16123
16124 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16125
16126         * sysdeps/unix/sysv/gethostname.c: Move to ...
16127         * sysdeps/posix/gethostname.c: ... here.
16128
16129         * sysdeps/unix/execve.S: Remove file.
16130
16131         * sysdeps/unix/_exit.S: Remove file.
16132
16133 2012-04-23  Andreas Jaeger  <aj@suse.de>
16134
16135         [BZ #13739]
16136         * manual/Makefile: Remove make dist support, there's no
16137         need for a stand-alone documentation tar ball.
16138         (TEXI2DVI): Define always, it's not in Makeconfig.
16139         (dist): Removed.
16140         (tar-it): Removed.
16141         (edition): Removed.
16142         (glibc-doc-$(edition).tar): Removed
16143         (%.Z): Removed.
16144         (%.gz): Removed.
16145         (%.uu): Removed.
16146         (ETAGS): Remove, it's in Makeconfig.
16147         (move-if-change): Remove, it's in Makeconfig.
16148
16149 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16150
16151         [BZ #13970]
16152         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16153         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16154         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16155         (strtod_l, strtof_l, strtold_l): Remove __wur.
16156         It is not necessarily an error to ignore strtol's return value.
16157         One can reliably look at the stored endptr to decide whether
16158         the number had valid syntax.
16159
16160 2012-04-21  Andreas Jaeger  <aj@suse.de>
16161
16162         [BZ #13739]
16163         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16164
16165 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16166
16167         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16168         * sysdeps/unix/sysv/Versions: Remove file.
16169
16170 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16171
16172         [BZ #13927]
16173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16174
16175 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16176
16177         [BZ #7064]
16178         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16179         version from __vm86.
16180
16181 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16182
16183         * sysdeps/unix/common/lxstat.c: Remove file.
16184         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16185
16186         * sysdeps/unix/sysv/Makefile: Remove file.
16187
16188         * sysdeps/unix/sysv/direct.h: Remove file.
16189
16190         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16191         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16192         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16193         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16194         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16195         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16196         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16197
16198         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16199
16200         * sysdeps/unix/xmknod.c: Remove file.
16201         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16202
16203         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16204
16205         * sysdeps/unix/sysv/i386/time.S: Remove file.
16206
16207         * sysdeps/unix/fxstat.c: Remove file.
16208         * sysdeps/unix/xstat.c: Likewise.
16209         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16210
16211         * sysdeps/unix/sysv/sigaction.c: Remove file.
16212
16213         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16214         (sysdep_headers): Remove variable.
16215         [termio.h not in sysdep_headers] (generated): Likewise.
16216         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16217         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16218         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16219         * sysdeps/unix/sysv/tcflow.c: Likewise.
16220         * sysdeps/unix/sysv/tcflush.c: Likewise.
16221         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16222         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16223         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16224         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16225         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16226
16227         * sysdeps/unix/siglist.c: Remove file.
16228
16229         * sysdeps/unix/getppid.S: Remove file.
16230
16231         * sysdeps/unix/mkdir.c: Remove file.
16232         * sysdeps/unix/rmdir.c: Likewise.
16233
16234 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16235
16236         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16237         ERR_MAX value.
16238         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16239         errlist-compat value.
16240
16241 2012-04-18  David S. Miller  <davem@davemloft.net>
16242
16243         * sysdeps/generic/memcopy.h (reg_char): Delete.
16244         * debug/strcat_chk.c: Use char, not reg_char.
16245         * debug/strcpy_chk.c: Likewise.
16246         * debug/strncat_chk.c: Likewise.
16247         * debug/strncpy_chk.c: Likewise.
16248         * string/memchr.c: Likewise.
16249         * string/memrchr.c: Likewise.
16250         * string/rawmemchr.c: Likewise.
16251         * string/strcat.c: Likewise.
16252         * string/strchr.c: Likewise.
16253         * string/strchrnul.c: Likewise.
16254         * string/strcmp.c: Likewise.
16255         * string/strcpy.c: Likewise.
16256         * string/strncat.c: Likewise.
16257         * string/strncmp.c: Likewise.
16258         * string/strncpy.c: Likewise.
16259
16260 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16261
16262         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16263         __builtin_memcopy is called when src and dest ranges are known to not
16264         overlap.
16265
16266 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16267
16268         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16269         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16270         fwd_align_merge macro call.
16271         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16272         bwd_align_merge macro call.
16273         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16274
16275 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16276
16277         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16278         bwd_align_merge macros.
16279         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16280         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16281         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16282
16283 2012-04-18  David S. Miller  <davem@davemloft.net>
16284
16285         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16286
16287 2012-04-18  Andreas Jaeger  <aj@suse.de>
16288
16289         [BZ# 6794]
16290         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16291         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16292         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16293
16294         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16295         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16296         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16297
16298         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16299         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16300         Adjust for changed ldbl-128 files.
16301
16302         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16303         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16304         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16305
16306 2012-04-17  David S. Miller  <davem@davemloft.net>
16307
16308         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16309
16310 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16311
16312         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16313         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16314         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16315         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16316         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16317         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16318
16319 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16320
16321         [BZ #6794]
16322         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16323         * math/libm-test.inc: Add ilogb errno and exception tests.
16324         * math/w_ilogb.c: New file: ilogb wrapper.
16325         * math/w_ilogbf.c: New file: ilogbf wrapper.
16326         * math/w_ilogbl.c: New file: ilogbl wrapper.
16327         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16328         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16329         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16330         exception being thrown with 0.0 as argument.
16331         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16332         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16333         exception being thrown with 0.0 as argument.
16334         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16335         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16336         exception being thrown with 0.0 as argument.
16337         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16338         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16339         exception being thrown with 0.0 as argument.
16340         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16341         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16342         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16343         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16344         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16345         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16346         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16347         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16348         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16349
16350 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16351
16352         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16353         with altivec.
16354
16355 2012-04-16  Marek Polacek  <polacek@redhat.com>
16356
16357         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16358
16359 2012-04-16  Marek Polacek  <polacek@redhat.com>
16360
16361         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16362         operands of fdivp instruction.
16363
16364 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16365
16366         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16367         * elf/tst-auditmod3b.c: Likewise.
16368         * elf/tst-auditmod4b.c: Likewise.
16369         * elf/tst-auditmod5b.c: Likewise.
16370         * elf/tst-auditmod6b.c: Likewise.
16371         * elf/tst-auditmod6c.c: Likewise.
16372         * elf/tst-auditmod7b.c: Likewise.
16373         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16374         * sysdeps/x86_64/preconfigure.in: Likewise.
16375         * sysdeps/x86_64/preconfigure: Regenerated.
16376
16377 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16378
16379         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16380         __ILP32__.
16381
16382 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16383
16384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16385         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16386
16387 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16388
16389         [BZ #13973]
16390         * locale/iso-639.def: Fix gl language name. Spotted by
16391         Yaron Shahrabani.
16392
16393 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16394
16395         [BZ #2074]
16396         * libio/libio.h (__io_write_fn): Update comment.
16397
16398 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16399
16400         [BZ #2074]
16401         * stdio.texi (Hook Functions): The user provided writer function
16402         is not allowed to return -1.
16403
16404 2012-04-11  David S. Miller  <davem@davemloft.net>
16405
16406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16407
16408 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16409
16410         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16411         Add a leading slash to rtkaio.
16412
16413 2012-04-11  Jim Meyering  <meyering@redhat.com>
16414
16415         [BZ #11959]
16416         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16417         It is not necessarily an error to ignore fwrite's return
16418         value.  One can reliably use ferror to test for errors after
16419         the fact.
16420
16421 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16422
16423         * bits/types.h (__snseconds_t): New type.
16424         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16425
16426         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16427         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16428         (__SNSECONDS_T_TYPE): Likewise.
16429         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16430         (__SNSECONDS_T_TYPE): Likewise.
16431         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16432         (__SNSECONDS_T_TYPE): Likewise.
16433
16434 2012-04-10  Andreas Jaeger  <aj@suse.de>
16435
16436         [BZ #2636]
16437         * manual/time.texi (Processor Time): Return type of times is
16438         elapsed real time since an arbitrary point in the past.
16439         (CPU Time): Move CLK_TCK from here...
16440         (Processor Time): ...to here.  Correct description.
16441         * manual/conf.texi (Constants for Sysconf): Correct description of
16442         _SC_CLK_TCK.
16443
16444 2012-04-10  David S. Miller  <davem@davemloft.net>
16445
16446         [BZ #13967]
16447         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16448         where the is a gap between DT_REL(A) and DT_JMPREL.
16449
16450 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16451
16452         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16453         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16454         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16455
16456 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16457
16458         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16459         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16460         (dl_main): Handle --inhibit-cache.
16461         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16462         _dl_inhibit_cache.
16463         * elf/dl-load.c (_dl_map_object): Use it.
16464         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16465
16466 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16467
16468         [BZ #13872]
16469         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16470         (__ieee754_powl): Saturate large exponents rather than testing for
16471         overflow of y*log2(x).
16472         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16473         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16474         exceptions.
16475
16476         [BZ #11521]
16477         * math/s_ctan.c: Include <float.h>.
16478         (__ctan): Avoid internal overflow or cancellation in calculating
16479         denominator.
16480         * math/s_ctanf.c: Likewise.
16481         * math/s_ctanl.c: Likewise.
16482         * math/s_ctanh.c: Likewise.
16483         * math/s_ctanhf.c: Likewise.
16484         * math/s_ctanhl.c: Likewise.
16485         * math/libm-test.inc (ctan_test): Add more tests.
16486         (ctanh_test): Likewise.
16487         * sysdeps/i386/fpu/libm-test-ulps: Update.
16488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16489
16490 2012-04-09  Andreas Jaeger  <aj@suse.de>
16491
16492         [BZ #6894]
16493         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16494         is an optional BSD extension.
16495
16496         [BZ #10254]
16497         * manual/stdio.texi (Opening Streams): Document additional fopen
16498         parameters.
16499
16500 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16501
16502         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16503         %eax without telling the compiler.
16504
16505 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16506
16507         [BZ # 13963]
16508         * manual/install.texi: Use sourceware.org.
16509
16510 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16511
16512         [BZ #13873]
16513         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16514         (__ieee754_pow): Generate overflow and underflow using huge*huge
16515         and tiny*tiny rather than just returning constant infinity or zero
16516         for large exponents.
16517         * math/libm-test.inc (pow_test): Require overflow exceptions for
16518         applicable cases of large exponents.
16519
16520         [BZ #706]
16521         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16522         (__ieee754_pow): Use iterative multiplication algorithm only for
16523         integer exponents with absolute value below 1024.  Check for odd
16524         integer exponents when using algorithm for real exponents.
16525         * math/libm-test.inc (pow_test): Add more tests.
16526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16527
16528 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16529
16530         [BZ #13705]
16531         * math/libm-test.inc (exp_test): Do not allow overflow exception
16532         on underflow test.
16533
16534 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16535
16536         [BZ #13705]
16537         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16538         instead of __kernel_standard_f.
16539
16540 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16541
16542         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16543         * sysdeps/x86_64/memset_chk.S: Likewise.
16544
16545 2012-04-08  Andreas Jaeger  <aj@suse.de>
16546
16547         [BZ #10153]
16548         * manual/startup.texi (Environment Access): Describe return value
16549         for putenv and setenv.
16550
16551         [BZ #6895]
16552         * manual/filesys.texi (Directory Entries): Add description for
16553         DT_LNK.
16554
16555         [BZ #6890]
16556         * manual/filesys.texi (Directory Entries): Clarify that it's file
16557         system not operating system in the description of DT_UNKNOWN.
16558
16559         [BZ #6578]
16560         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16561
16562 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16563
16564         [BZ #6649]
16565         * manual/llio.texi (Opening and Closing Files): Add cross
16566         reference to explain mode argument.
16567
16568 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16569
16570         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16571         * sysdeps/x86_64/memset_chk.S: Likewise.
16572
16573 2012-04-07  David S. Miller  <davem@davemloft.net>
16574
16575         * elf/elf.h (R_SPARC_WDISP10): Define.
16576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16577         R_SPARC_SIZE32.
16578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16579         R_SPARC_SIZE64 and R_SPARC_H34.
16580
16581 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16582
16583         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16584         conditions and remove no longer applicable assertion.
16585
16586 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16587
16588         * bits/byteswap.h: Include <features.h>.
16589         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16590         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16591
16592 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16593
16594         * bits/byteswap.h (__bswap_16): Removed.
16595         Include <bits/byteswap-16.h> to get __bswap_16.
16596         * sysdeps/i386/bits/byteswap.h: Likewise.
16597         * sysdeps/s390/bits/byteswap.h: Likewise.
16598         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16599         * bits/byteswap-16.h: New file.
16600         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16601         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16602         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16603         * string/Makefile (headers): Add bits/byteswap-16.h.
16604
16605 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16606
16607         [BZ #13895]
16608         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16609         extra indirection.
16610         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16611         * nss/tst-nss-static.c: New.
16612
16613 2012-04-06  Robert Millan  <rmh@gnu.org>
16614
16615         [BZ #6486]
16616         * manual/llio.texi (File Position Primitive): lseek
16617         refers to WHENCE when it really means OFFSET.
16618
16619 2012-04-06  Andreas Jaeger  <aj@suse.de>
16620
16621         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16622         strncmp declarations.
16623
16624         * abilist/libc.abilist: Add __poll and __ppoll.
16625
16626 2012-04-05  David S. Miller  <davem@davemloft.net>
16627
16628         * scripts/check-local-headers.sh: Accept a host triplet in the
16629         path matched by the exclude regexp.
16630
16631         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16632         definition.
16633         * sysdeps/powerpc/powerpc32/dl-machine.h
16634         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16635         * sysdeps/s390/s390-32/dl-machine.h
16636         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16637         * sysdeps/sparc/sparc32/dl-machine.h
16638         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16639         * sysdeps/sparc/sparc64/dl-machine.h
16640         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16641
16642         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16643         lazy binding.
16644         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16645         undefined symbol errors.
16646
16647         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16648         DT_NEEDED entries.
16649
16650 2012-04-05  Michael Matz  <matz@suse.de>
16651
16652         [BZ #13592]
16653         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16654
16655 2012-04-05  Andreas Jaeger  <aj@suse.de>
16656
16657         [BZ #13908]
16658         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16659         comment.
16660
16661 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16662
16663         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16664         which ROUND is no valid rounding mode.
16665
16666 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16667
16668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16669         read again.
16670         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16671
16672 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16673
16674         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16675         an exception using FPU order intentionally.
16676
16677 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16678
16679         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16680         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16681         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16682         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16683
16684 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16685
16686         [BZ #12340]
16687         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16688         EINVAL when BUFLEN is too smal.
16689
16690 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16691
16692         [BZ #13553]
16693         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16694         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16695
16696 2012-04-03  Andreas Jaeger  <aj@suse.de>
16697
16698         [BZ #13938]
16699         * manual/setjmp.texi (System V contexts): Fix sentence.
16700
16701         [BZ #13926]
16702         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16703         New macro for this case.
16704         [!__GNUC__] (__bswap_64): New inline function for this case.
16705         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16706         * bits/byteswap.h: Likewise.
16707         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16708         ull, guard with __GLIBC_HAVE_LONG_LONG.
16709
16710         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16711         __GLIBC_HAVE_LONG_LONG.
16712
16713         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16714         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16715
16716 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16717
16718         [BZ #13691]
16719         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16720         inptr and inend, rather than using last_ch.
16721
16722 2012-04-02  David S. Miller  <davem@davemloft.net>
16723
16724         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16725         * stdio-common/printf-parse.h (read_int): Change return type to
16726         'int', return -1 on INT_MAX overflow.
16727         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16728         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16729         overflows INT_MAX.  Check for overflow of in-format-string precision
16730         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16731         SIZE_MAX not INT_MAX for integer overflow test.
16732         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16733         skip the construct in the format string but do not record anything.
16734         * stdio-common/bug22.c: Adjust to test both width/prevision
16735         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16736         explicitly for proper errno values.
16737
16738 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16739
16740         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16741         CHAR_MAX.
16742         * string/test-strcmp.c [! WIDE]: Likewise.
16743         * time/tst-mktime2.c: Likewise for INT_MAX.
16744         * string/test-string.h: #include <sys/param.h> for MIN.
16745
16746         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16747         * sysdeps/i386/init-first.c (init): Likewise.
16748         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16749         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16750         * sysdeps/sh/init-first.c (init): Likewise.
16751
16752 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16753
16754         * po/ru.po: Update from translation team.
16755         * po/vi.po: Likewise.
16756
16757 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16758
16759         * resolv/nss_dns/dns-host.c: Merge copyright years.
16760
16761 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16762
16763         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16764         Optimize memcpy with prefetch if
16765         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16766         src, dst pointers have unequal 16 byte alignments.
16767
16768 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16769
16770         [BZ #13928]
16771         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16772         from a CNAME entry and return the minimum ttl for the query.
16773         (gaih_getanswer_slice): Likewise.
16774
16775 2012-03-30  Jeff Law  <law@redhat.com>
16776
16777         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16778         due to long keys.
16779         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16780         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16781
16782         * resolv/nss_dns/dns-host.c: Update copyright year.
16783
16784 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16785
16786         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16787         requests to save a system call.  Fix check that all bytes are sent.
16788
16789         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16790         comments for sendmmsg.
16791
16792 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16793
16794         [BZ #13691]
16795         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16796         with only 1 character between 0x0041 and 0x01b0.
16797         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16798         * wcsmbs/tst-mbsnrtowcs.c: New file.
16799
16800 2012-03-29  David S. Miller  <davem@davemloft.net>
16801
16802         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16803         small copies by hand.
16804
16805 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16806
16807         [BZ #13761]
16808         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16809         _nss_compat_initgroups_dyn): Fall back to malloc/free
16810         for large group memberships.
16811
16812 2012-03-28  David S. Miller  <davem@davemloft.net>
16813
16814         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16815         that branches into memcpy.
16816         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16818         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16819         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16821         bits.
16822         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16823         implementation too.
16824         * sysdeps/sparc/mempcpy.S: New file.
16825
16826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16827         the IFUNC routine in the libc case.
16828         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16829
16830         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16831         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16832         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16833         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16834         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16835         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16836         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16837         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16838
16839         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16840         loop to 256 bytes instead of 64 bytes and fix test signedness.
16841
16842         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16843         * sysdeps/sparc/sparc32/Makefile: rather than here...
16844         * sysdeps/sparc/sparc64/Makefile: and here.
16845
16846 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16847
16848         * malloc/mallocbug.c: Avoid warnings about unused variables.
16849
16850 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16851
16852         [BZ #13760]
16853         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16854         in the right place. Discard and retry query if response is
16855         larger than input buffer size.
16856
16857 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16858
16859         [BZ #369]
16860         [BZ #2678]
16861         [BZ #3866]
16862         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16863         x for large integer exponent.
16864         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16865         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16866         sign of result as needed afterwards.
16867         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16868         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16869         result for underflowing pow the same as for overflow.
16870         (__kernel_standard_l): Handle powl overflow and underflow here
16871         rather than calling __kernel_standard.
16872         * math/libm-test.inc (pow_test): Add more tests.
16873
16874         [BZ #3868]
16875         [BZ #13879]
16876         [BZ #13910]
16877         [BZ #13911]
16878         [BZ #13912]
16879         [BZ #13913]
16880         [BZ #13915]
16881         [BZ #13916]
16882         [BZ #13917]
16883         [BZ #13918]
16884         [BZ #13919]
16885         [BZ #13920]
16886         [BZ #13921]
16887         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16888         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16889         (__kernel_standard_l): New function.
16890         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16891         __kernel_standard.
16892         * math/w_acosl.c (__acosl): Likewise.
16893         * math/w_asinl.c (__asinl): Likewise.
16894         * math/w_atan2l.c (__atan2l): Likewise.
16895         * math/w_atanhl.c (__atanhl): Likewise.
16896         * math/w_coshl.c (__coshl): Likewise.
16897         * math/w_exp10l.c (__exp10l): Likewise.
16898         * math/w_exp2l.c (__exp2l): Likewise.
16899         * math/w_fmodl.c (__fmodl): Likewise.
16900         * math/w_hypotl.c (__hypotl): Likewise.
16901         * math/w_j0l.c (__j0l, __y0l): Likewise.
16902         * math/w_j1l.c (__j1l, __y1l): Likewise.
16903         * math/w_jnl.c (__jnl, __ynl): Likewise.
16904         * math/w_lgammal.c (__lgammal): Likewise.
16905         * math/w_log10l.c (__log10l): Likewise.
16906         * math/w_log2l.c (__log2l): Likewise.
16907         * math/w_logl.c (__logl): Likewise.
16908         * math/w_powl.c (__powl): Likewise.
16909         * math/w_remainderl.c (__remainderl): Likewise.
16910         * math/w_scalbl.c (sysv_scalbl): Likewise.
16911         * math/w_sinhl.c (__sinhl): Likewise.
16912         * math/w_sqrtl.c (__sqrtl): Likewise.
16913         * math/w_tgammal.c (__tgammal): Likewise.
16914         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16915         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16916         * math/libm-test.inc (acos_test): Add more tests.
16917         (acosh_test): Likewise.
16918         (asin_test): Likewise.
16919         (atanh_test): Likewise.
16920         (exp_test): Likewise.
16921         (exp10_test): Likewise.
16922         (exp2_test): Likewise.
16923         (expm1_test): Likewise.
16924         (lgamma_test): Likewise.
16925         (log_test): Likewise.
16926         (log10_test): Likewise.
16927         (log1p_test): Likewise.
16928         (log2_test): Likewise.
16929         (pow_test): Do not allow some spurious overflow exceptions.
16930         (sqrt_test): Add more tests.
16931         (tgamma_test): Likewise.
16932         (y0_test): Likewise.
16933         (y1_test): Likewise.
16934         (yn_test): Likewise.
16935
16936 2012-03-27  Anton Blanchard  <anton@samba.org>
16937
16938         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16939         MAP_HUGETLB.
16940         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16941         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16942         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16943
16944 2012-03-27  David S. Miller  <davem@davemloft.net>
16945
16946         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16947
16948         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16949         have-as-vis3 check.
16950
16951 2012-03-27  Andreas Jaeger  <aj@suse.de>
16952
16953         * sysdeps/x86_64/elf/configure.in: Moved to ...
16954         * sysdeps/x86_64/configure.in: ... here.
16955         * sysdeps/x86_64/elf/start.S: Moved to ...
16956         * sysdeps/x86_64/start.S: ... here.
16957         * sysdeps/x86_64/elf/configure: Delete.
16958
16959         * sysdeps/x86_64/configure.in: Merge contents from
16960         sysdeps/i386/configure.in (without i686 check).
16961
16962         * sysdeps/i386/elf/Versions: Merge into ...
16963         * sysdeps/i386/Versions: ... this.
16964         * sysdeps/i386/elf/Versions: Delete file.
16965         * sysdeps/i386/elf/start.S: Moved to ...
16966         * sysdeps/i386/start.S: ...here.
16967         * sysdeps/i386/elf/configure.in: Merge into...
16968         * sysdeps/i386/configure.in: ...here.
16969         * sysdeps/i386/elf/configure.in: Delete file.
16970         * sysdeps/i386/elf/configure: Delete file.
16971
16972         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16973         * debug/backtracesyms.c: ... here.
16974         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16975         * debug/backtracesymsfd.c: ... here.
16976         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16977         * sysdeps/generic/ifunc-sel.h: ... here.
16978
16979         * sysdeps/unix/i386/start.c: Delete file.
16980         * sysdeps/unix/sparc/start.c: Delete file.
16981         * sysdeps/unix/start.c: Delete file.
16982
16983         * sysdeps/sh/elf/configure.in: Moved to ...
16984         * sysdeps/sh/configure.in: ... here.
16985         * sysdeps/sh/elf/start.S: Moved to ...
16986         * sysdeps/sh/start.S: ... here.
16987         * sysdeps/sh/elf/configure: Delete file.
16988
16989         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16990         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16991         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16992         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16993         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16994         * sysdeps/powerpc/powerpc64/start.S: here.
16995         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16996         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16997         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16998         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16999         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17000
17001         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17002         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17003         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17004         * sysdeps/powerpc/powerpc32/start.S: ... here.
17005         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17006         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17007         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17008
17009         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17010         * sysdeps/powerpc/ifunc-sel.h: ... here.
17011         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17012         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17013
17014         * sysdeps/sparc/elf/configure.in: Moved to ...
17015         * sysdeps/sparc/configure.in: ... here.
17016         * sysdeps/sparc/elf/configure: Delete file.
17017         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17018         * sysdeps/sparc/sparc32/start.S: ... here.
17019         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17020         * sysdeps/sparc/sparc64/start.S: ... here.
17021         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17022         * sysdeps/sparc/sparc32/Makefile: ... this.
17023         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17024         * sysdeps/sparc/sparc64/Makefile: ... this.
17025
17026         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17027         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17028         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17029         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17030         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17031         * sysdeps/s390/s390-32/setjmp.S: ... here.
17032         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17033         * sysdeps/s390/s390-32/configure.in: ... here.
17034         * sysdeps/s390/s390-32/elf/configure: Delete file.
17035         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17036         * sysdeps/s390/s390-32/start.S: ... here.
17037
17038         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17039         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17040         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17041         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17042         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17043         * sysdeps/s390/s390-64/setjmp.S: ... here.
17044         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17045         * sysdeps/s390/s390-64/configure.in: ... here
17046         * sysdeps/s390/s390-64/elf/configure: Delete file.
17047         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17048         * sysdeps/s390/s390-64/start.S: ... here.
17049         * sysdeps/s390/s390-64/elf/configure: Delete.
17050
17051         * configure.in: Remove support for elf directories in sysdeps.
17052
17053         * configure: Regenerated.
17054         * sysdeps/i386/configure: Regenerated.
17055         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17056         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17057         * sysdeps/s390/s390-32/configure: Regenerated.
17058         * sysdeps/s390/s390-64/configure: Regenerated.
17059         * sysdeps/sh/configure: Regenerated.
17060         * sysdeps/sparc/configure: Regenerated.
17061         * sysdeps/x86_64/configure: Regenerated.
17062
17063 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17064
17065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17066
17067         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17068         denormal result into account.
17069
17070 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17071
17072         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17073         Reported by Allan McRae <allan@archlinux.org>.
17074
17075 2012-03-23  Jeff Law  <law@redhat.com>
17076
17077         * nss/getnssent.c (__nss_getent): Fix typo.
17078
17079 2012-03-23  David S. Miller  <davem@davemloft.net>
17080
17081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17082
17083 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17084
17085         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17086         to pad to uint64_t for each field.
17087         (dl_tls_index): Replace unsigned long with uint64_t.
17088
17089 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17090         Paul Pluzhnikov  <ppluzhnikov@google.com>
17091
17092         [BZ #6528]
17093         * grp/Makefile (otherlibs): Don't set it.
17094         * inet/Makefile (otherlibs): Likewise.
17095         * login/Makefile (otherlibs): Likewise.
17096         * nscd/Makefile (otherlibs): Likewise.
17097         * posix/Makefile (otherlibs): Likewise.
17098         * pwd/Makefile (otherlibs): Likewise.
17099         * rt/Makefile (otherlibs): Likewise.
17100         * sunrpc/Makefile (otherlibs): Likewise.
17101         * nss/Makefile (otherlibs): Likewise.
17102         Add libnss_files to routines and static-only-routines.
17103         ($(objpfx)getent): Remove rule.
17104         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17105         static-only-routines.
17106
17107 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17108
17109         [BZ #13892]
17110         * math/s_cexp.c: Include <float.h>.
17111         (__cexp): Handle exp result overflowing not necessarily
17112         overflowing both real and imaginary parts of result.
17113         * math/s_cexpf.c: Likewise.
17114         * math/s_cexpl.c: Likewise.
17115         * math/libm-test.inc (cexp_test): Add more tests.
17116         * sysdeps/i386/fpu/libm-test-ulps: Update.
17117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17118
17119 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17120
17121         * include/link.h (ELFW): New macro.
17122         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17123         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17124
17125 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17126
17127         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17128         with uint64_t.
17129
17130 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17131
17132         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17133         declaration.
17134         (struct La_x32_retval): Likewise.
17135
17136 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17137
17138         * sysdeps/x86_64/preconfigure.in: New file.
17139         * sysdeps/x86_64/preconfigure: New generated file.
17140
17141 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17142
17143         [BZ #13824]
17144         * math/e_exp2l.c: Include <float.h>.
17145         (__ieee754_exp2l): Handle overflow and underflow cases
17146         separately.  Only pass fractional part of argument to
17147         __ieee754_expl.
17148         * math/libm-test.inc (exp2_test): Add more tests.
17149
17150         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17151         negating x to take absolute value.
17152         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17153         Likewise.
17154         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17156         Likewise.
17157         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17158         computing low part if x was negated.
17159         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17160
17161 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17162
17163         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17164         la_x32_gnu_pltexit.
17165         (pltexit): Cast int_retval to ptrdiff_t.
17166         * elf/tst-auditmod3b.c: Likewise.
17167         * elf/tst-auditmod4b.c: Likewise.
17168         * elf/tst-auditmod5b.c: Likewise.
17169         * elf/tst-auditmod6b.c: Likewise.
17170         * elf/tst-auditmod6c.c: Likewise.
17171         * elf/tst-auditmod7b.c: Likewise.
17172
17173         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17174         and x32_gnu_pltexit.
17175
17176         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17177         __ELF_NATIVE_CLASS.
17178         (La_x32_regs): New macro.
17179         (La_x32_retval): Likewise.
17180         (la_x32_gnu_pltenter): New function prototype.
17181         (la_x32_gnu_pltexit): Likewise.
17182
17183 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17184
17185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17186         exponent.
17187
17188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17189
17190         * configure.in (libc_cv_cc_nofma): Check for option to disable
17191         generation of FMA instructions.
17192         * configure: Regenerate.
17193         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17194         * sysdeps/ieee754/dbl-64/Makefile: New file.
17195         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17196         Remove brandred-fma4.
17197         (CFLAGS-brandred-fma4.c): Remove.
17198         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17199         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17200         define.
17201         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17202         define.
17203
17204 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17205
17206         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17207         LLONG_MAX != LONG_MAX.
17208         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17209         (_fitoa_word): Likewise.
17210         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17211         LLONG_MAX != LONG_MAX.
17212         * stdio-common/_itowa.h: Include <_itoa.h>.
17213         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17214         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17215         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17216         only if not defined.
17217         (_ITOA_WORD_TYPE): Likewise.
17218         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17219         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17220
17221 2012-03-21  David S. Miller  <davem@davemloft.net>
17222
17223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17224
17225 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17226
17227         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17228         of x86_64 when setting libc_cv_slibdir, libdir and
17229         libc_cv_localedir.
17230         * sysdeps/unix/sysv/linux/configure: Regenerated.
17231
17232 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17233
17234         * manual/lang.texi (Old Varargs): Remove section.
17235         (How Variadic): Update menu.
17236         (va_start): Do not mention varargs.h.
17237
17238 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17239             Joseph Myers  <joseph@codesourcery.com>
17240
17241         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17242         link test.
17243         * configure: Regenerated.
17244
17245 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17246
17247         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17248         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17249         conformtest.pl
17250
17251 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17252
17253         * NOTES: Remove.
17254         * Makefile (files-for-dist): Remove NOTES.
17255         (NOTES): Remove rule.
17256         * README: Don't refer to NOTES.
17257         * manual/creature.texi: Don't include macros.texi.
17258         * manual/intro.texi (creature.texi): Remove comment referring to
17259         NOTES.
17260
17261         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17262         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17263         * configure: Regenerated.
17264         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17265         LIBC_TRY_CC_OPTION.
17266         (libc_cv_as_i686): Likewise.
17267         (libc_cv_cc_avx): Likewise.
17268         (libc_cv_cc_sse2avx): Likewise.
17269         (libc_cv_cc_fma4): Likewise.
17270         (libc_cv_cc_novzeroupper): Likewise.
17271         * sysdeps/i386/configure: Regenerated.
17272
17273         [BZ #13883]
17274         * sysdeps/i386/fpu/s_cexp.S: Remove.
17275         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17276         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17277         * math/libm-test.inc (cexp_test): Add more tests.
17278         * sysdeps/i386/fpu/libm-test-ulps: Update.
17279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17280
17281 2012-03-21  Allan McRae  <allan@archlinux.org>
17282
17283         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17284
17285 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17286
17287         [BZ #13871]
17288         * math/w_exp2.c: Do not include <float.h>.
17289         (o_threshold, u_threshold): Remove.
17290         (__exp2): Calculate result before checking finiteness and calling
17291         __kernel_standard.
17292         * math/w_exp2f.c: Likewise.
17293         * math/w_exp2l.c: Likewise.
17294         * math/libm-test.inc (exp2_test): Require overflow exception for
17295         1e6 input.
17296
17297         [BZ #3866]
17298         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17299         range of signed 64-bit integers before using fistpll.  Remove
17300         checks for whether integers fit in mantissa bits.
17301         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17302         the range of signed 32-bit integers before using fistpl.  Remove
17303         checks for whether integers fit in mantissa bits.
17304         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17305         (__ieee754_powl): Test for y outside the range of signed 64-bit
17306         integers before using fistpll.  Reduce 64-bit values to 63-bit
17307         ones as needed.
17308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17309         divide-by-zero is raised for zero to large negative powers.
17310         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17311         (__ieee754_powl): Test for y outside the range of signed 64-bit
17312         integers before using fistpll.  Reduce 64-bit values to 63-bit
17313         ones as needed.
17314         * math/libm-test.inc (pow_test): Add more tests.
17315
17316 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17317
17318         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17319         <stdio-common/_itoa.h>.
17320         * debug/segfault.c: Likewise.
17321         * elf/dl-cache.c: Likewise.
17322         * elf/dl-minimal.c: Likewise.
17323         * elf/dl-misc.c: Likewise.
17324         * elf/dl-sysdep.c: Likewise.
17325         * elf/dl-version.c: Likewise.
17326         * elf/rtld.c: Likewise.
17327         * hurd/hurdsock.c: Likewise.
17328         * hurd/lookup-retry.c: Likewise.
17329         * malloc/malloc.c: Likewise.
17330         * malloc/mtrace.c: Likewise.
17331         * nscd/nscd_getgr_r.c: Likewise.
17332         * nscd/nscd_getpw_r.c: Likewise.
17333         * nscd/nscd_getserv_r.c: Likewise.
17334         * posix/getopt_init.c: Likewise.
17335         * posix/wordexp.c: Likewise.
17336         * stdio-common/_itoa.c: Likewise.
17337         * stdio-common/printf_fphex.c: Likewise.
17338         * stdio-common/vfprintf.c: Likewise.
17339         * string/_strerror.c: Likewise.
17340         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17341         * sysdeps/i386/i686/hp-timing.h: Likewise.
17342         * sysdeps/mach/_strerror.c: Likewise.
17343         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17344         * sysdeps/mach/hurd/sethostid.c: Likewise.
17345         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17346         * sysdeps/mach/xpg-strerror.c: Likewise.
17347         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17348         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17349         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17350         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17351         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17352         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17353         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17354         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17355         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17356         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17357         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17358         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17359         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17360         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17361         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17362         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17363         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17364         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17365         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17366         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17367         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17368
17369         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17370
17371         * stdio-common/_itoa.h: Moved to ...
17372         * sysdeps/generic/_itoa.h: Here.
17373
17374         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17375
17376         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17377         instead of "_itoa.h" and "_itowa.h".
17378         * stdio-common/vfprintf.: Likewise.
17379
17380 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17381
17382         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17383         <bits/wordsize.h>.
17384         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17385         (__signbit): Likwise.
17386         (llrintf): Likwise.
17387         (llrint): Likwise.
17388
17389 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17390
17391         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17392         __WORDSIZE != 64.
17393
17394 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17395
17396         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17397         OVERFLOW_EXCEPTION_OK.
17398         * math/libm-test.inc ("Philosophy"): Update comment about
17399         exception testing.
17400         (OVERFLOW_EXCEPTION): Define.
17401         (OVERFLOW_EXCEPTION_OK): Likewise.
17402         (INVALID_EXCEPTION_OK): Renumber.
17403         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17404         (IGNORE_ZERO_INF_SIGN): Likewise.
17405         (test_exceptions): Handle FE_OVERFLOW.
17406         (exp10_test): Expect overflow exceptions.
17407         (exp2_test): Likewise.
17408         (expm1_test): Likewise.
17409         (nextafter_test): Likewise.
17410         (pow_test): Likewise.
17411         (scalbn_test): Likewise.
17412         (scalbln_test): Likewise.
17413
17414 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17415
17416         * sysdeps/x86_64/bits/atomic.h
17417         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17418         64bit integer.
17419         (atomic_exchange_acq): Likewise.
17420         (__arch_exchange_and_add_body): Likewise.
17421         (__arch_add_body): Likewise.
17422         (atomic_add_negative): Likewise.
17423         (atomic_add_zero): Likewise.
17424
17425 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17426
17427         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17428         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17429
17430 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17431
17432         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17433         Check __x86_64__ instead of __WORDSIZE.
17434
17435 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17436
17437         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17438
17439 2012-03-19  David S. Miller  <davem@davemloft.net>
17440
17441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17442
17443         * sysdeps/sparc/fpu/fenv_private.h: New file.
17444         * sysdeps/sparc/fpu/math_private.h: Use it.
17445         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17446         Remove.
17447         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17448         (libc_feholdexcept_setroundl): Remove.
17449         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17450         Remove.
17451         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17452         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17453
17454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17455
17456         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17457         int64_t instead of long int.
17458         (INSERT_WORDS64): Likwise.
17459
17460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17461
17462         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17463         _Unwind_GetCFA return to _Unwind_Ptr first.
17464
17465 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17466
17467         [BZ #13629]
17468         * math/s_clog.c: Include <float.h>.
17469         (__clog): Scale large or subnormal inputs.
17470         * math/s_clogf.c: Likewise.
17471         * math/s_clogl.c: Likewise.
17472         * math/s_clog10.c: Include <float.h>.
17473         (M_LOG10_2): Define.
17474         (__clog10): Scale large or subnormal inputs.
17475         * math/s_clog10f.c: Likewise.
17476         * math/s_clog10l.c: Likewise.
17477         * math/libm-test.inc (clog_test): Add more tests.
17478         (clog10_test): Likewise.
17479         * sysdeps/i386/fpu/libm-test-ulps: Update.
17480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17481
17482         [BZ #11451]
17483         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17484         x and y.
17485         * math/libm-test.inc (atan2_test): Add another test.
17486
17487         * Makerules (common-objdir-compile): Remove.
17488         * sysdeps/unix/Makefile (config-generated): Do not add
17489         $(unix-generated) to variable.
17490         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17491         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17492         Remove rule.
17493         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17494         Likewise.
17495         [generic bits/local_lim.h] (before-compile): Do not append to
17496         variable.
17497         [generic bits/local_lim.h] (common-generated): Likewise.
17498         [generic sys/param.h] (before-compile): Do not append to variable.
17499         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17500         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17501         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17502         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17503         include.
17504         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17505         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17506         [generic sys/param.h] ($(addprefix
17507         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17508         [generic sys/param.h] (common-generated): Do not append to
17509         variable.
17510         [generic sys/param.h] (sysdep_headers): Likewise.
17511         [generic bits/errno.h] (before-compile): Do not append to
17512         variable.
17513         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17514         rule.
17515         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17516         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17517         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17518         [generic bits/errno.h] (common-generated): Do not append to
17519         variable.
17520         [generic bits/ioctls.h] (before-compile): Do not append to
17521         variable.
17522         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17523         rule.
17524         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17525         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17526         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17527         rule.
17528         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17529         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17530         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17531         [generic bits/ioctls.h] (common-generated): Do not append to
17532         variable.
17533         [generic sys/syscall.h] (syscall.h): Remove variable.
17534         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17535         rule.
17536         [generic sys/syscall.h] (before-compile): Do not append to
17537         variable.
17538         [generic sys/syscall.h] (common-generated): Likewise.
17539         * sysdeps/unix/errnos-tmpl.c: Remove file.
17540         * sysdeps/unix/errnos.awk: Likewise.
17541         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17542         * sysdeps/unix/ioctls.awk: Likewise.
17543         * sysdeps/unix/mk-local_lim.c: Likewise.
17544         * sysdeps/unix/snarf-ioctls: Likewise.
17545
17546 2012-03-19  Richard Henderson  <rth@twiddle.net>
17547
17548         * sysdeps/i386/fpu/fenv_private.h: New file.
17549         * sysdeps/i386/fpu/math_private.h: Use it.
17550         (math_opt_barrier, math_force_eval): Remove.
17551         (libc_feholdexcept_setround_53bit): Remove.
17552         (libc_feupdateenv_53bit): Remove.
17553         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17554         (math_opt_barrier, math_force_eval): Remove.
17555         (libc_feholdexcept): Remove.
17556         (libc_feholdexcept_setround): Remove.
17557         (libc_fetestexcept, libc_fesetenv): Remove.
17558         (libc_feupdateenv_test): Remove.
17559         (libc_feupdateenv, libc_feholdsetround): Remove.
17560         (libc_feresetround): Remove.
17561
17562         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17563         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17564
17565         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17566         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17567         (libc_feupdateenv_testl): New.
17568         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17569         (libc_feupdateenv_testf): New.
17570         (libc_feupdateenv): Use libc_feupdateenv_test.
17571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17572         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17573
17574         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17575         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17576         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17577         (libc_feresetround_noex): New.
17578         (libc_feresetround_noexf): New.
17579         (libc_feresetround_noexl): New.
17580         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17581         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17582         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17583         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17584         SET_RESTORE_ROUND.
17585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17586         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17587         (__cos): Likewise.
17588         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17589         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17590         SET_RESTORE_ROUND_NOEX.
17591         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17592         SET_RESTORE_ROUND_NOEXF.
17593         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17594         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17595         (libc_feholdsetroundf): New.
17596         (libc_feresetround, libc_feresetroundf): New.
17597
17598         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17599         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17600         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17601
17602         * sysdeps/generic/math_private.h: Include <fenv.h>.
17603         (default_libc_feholdexcept): New.
17604         (default_libc_feholdexcept_setround): New.
17605         (default_libc_fesetenv, default_libc_feupdateenv): New.
17606         (libc_feholdexcept): Only define if undefined.
17607         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17608         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17609         (libc_feholdexcept_setroundl): Likewise.
17610         (libc_feholdexcept_setround_53bit): Likewise.
17611         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17612         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17613         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17614         (libc_feupdateenv_53bit): Likewise.
17615         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17616         (libc_feholdexcept): Convert from macro to inline function.
17617         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17618         (libc_fesetenv, libc_feupdateenv): Likewise.
17619
17620         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17621         not previously defined.
17622         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17623         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17624         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17625         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17626         * sysdeps/ieee754/flt-32/math_private.h: New file.
17627         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17628         math_private.h below SET_FLOAT_WORD.
17629         (__isnan, __isinf_ns, __finite): Remove.
17630         (__isnanf, __isinf_nsf, __finitef): Remove.
17631
17632 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17633
17634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17635
17636 2012-03-17  David S. Miller  <davem@davemloft.net>
17637
17638         [BZ #6471]
17639         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17640         for 2.16.
17641
17642 2012-03-16  David S. Miller  <davem@davemloft.net>
17643
17644         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17645         warnings.
17646
17647         [BZ #6471]
17648         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17649         properly.
17650         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17651         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17652         sysdep_routines when subdir is sysvipc.
17653         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17654         __getshmlba helper.
17655
17656         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17657
17658 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17659
17660         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17661         [__LP64__].
17662
17663 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17664
17665         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17666         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17667         (__lround): Renamed to ...
17668         (__llround): This.  Replace long int with long long int.
17669         Define lround functions as aliases of llround functions.
17670         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17671
17672 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17673
17674         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17675         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17676         adresses to uintptr_t.  Replace "long int" and "unsigned long
17677         int" with "greg_t" on va_arg.
17678
17679 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17680
17681         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17682         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17683
17684         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17685         Move e_machine check before EI_CLASS check.  Handle x32
17686         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17687         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17688         SKIP_EM_IA_64 and include
17689         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17690
17691         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17692         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17693         (add_system_dir): New macro.
17694
17695         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17696         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17697
17698 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17699
17700         [BZ #2551]
17701         [BZ #2552]
17702         [BZ #2553]
17703         [BZ #2554]
17704         [BZ #2562]
17705         [BZ #2563]
17706         [BZ #2565]
17707         [BZ #2566]
17708         [BZ #2576]
17709         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17710         (y0): Likewise.
17711         * math/w_j0f.c (j0f): Likewise.
17712         (y0f): Likewise.
17713         * math/w_j0l.c (__j0l): Likewise.
17714         (__y0l): Likewise.
17715         * math/w_j1.c (j1): Likewise.
17716         (y1): Likewise.
17717         * math/w_j1f.c (j1f): Likewise.
17718         (y1f): Likewise.
17719         * math/w_j1l.c (__j1l): Likewise.
17720         (__y1l): Likewise.
17721         * math/w_jn.c (jn): Likewise.
17722         (yn): Likewise.
17723         * math/w_jnf.c (jnf): Likewise.
17724         (ynf): Likewise.
17725         * math/w_jnl.c (__jnl): Likewise.
17726         (__ynl): Likewise.
17727         * math/libm-test.inc (j0_test): Add more tests.
17728         (j1_test): Likewise.
17729         (jn_test): Likewise.  Add trailing semicolon to existing test.
17730         (y0_test): Likewise.
17731         (y1_test): Likewise.
17732         * sysdeps/i386/fpu/libm-test-ulps: Update.
17733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17734
17735         [BZ #13851]
17736         [BZ #13854]
17737         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17738         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17739         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17740         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17741         (__tanl): Set errno for infinite argument.
17742         * sysdeps/i386/fpu/mptan.c: Remove.
17743         * sysdeps/i386/fpu/s_tan.S: Likewise.
17744         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17745         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17746         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17747         * math/libm-test.inc (tan_test): Add more tests and enable more
17748         tests for double and long double.
17749         * sysdeps/i386/fpu/libm-test-ulps: Update.
17750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17751
17752 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17753
17754         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17755         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17756
17757 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17758
17759         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17760         * configure.in: Use it for both main tree and add-ons.
17761         * configure: Regenerated.
17762
17763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17764
17765         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17766
17767 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17768
17769         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17770         in comment.
17771
17772         [BZ #13851]
17773         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17774         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17775         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17776         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17777         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17778         infinite argument.
17779         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17781         != 0 for prec == 2.
17782         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17783         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17784         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17785         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17786         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17787         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17788         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17789         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17790         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17791         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17792         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17793         * math/libm-test.inc (cos_test): Add more tests and enable more
17794         tests for long double.
17795         (sin_test): Likewise.
17796         (sincos_test): Likewise.
17797         * sysdeps/i386/fpu/libm-test-ulps: Update.
17798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17799
17800 2012-03-16  David S. Miller  <davem@davemloft.net>
17801
17802         * sysdeps/sparc/fpu/math_private.h: New file.
17803
17804 2012-03-15  David S. Miller  <davem@davemloft.net>
17805
17806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17807         file.
17808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17810         file.
17811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17816         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17817         sysdep routines.
17818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17819
17820         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17821         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17822
17823         * sysdeps/sparc/sparc-ifunc.h: New file.
17824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17825         sparc-ifunc.h
17826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17828         Likewise.
17829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17830         Likewise.
17831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17835         Likewise.
17836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17841         Likewise.
17842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17843         Likewise.
17844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17850         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17851         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17852         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17855         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17856         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17860         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17862         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17863         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17864         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17865         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17868
17869 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17870
17871         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17872         scaling.
17873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17874
17875 2012-03-15  Andreas Jaeger  <aj@suse.de>
17876
17877         [BZ #13852]
17878         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17879         ieee754/flt-32 implementation for sin, cos and sincos.
17880         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17881         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17882         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17883         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17884         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17885         ieee754/flt-32 implementation for tan.
17886
17887         * math/libm-test.inc (cos_test): Enable some large input tests for
17888         float as well
17889         (sin_test): Likewise.
17890         (sincos_test): Likewise.
17891         (tan_test): Add tests for large input.
17892
17893         * sysdeps/i386/fpu/libm-test-ulps: Update.
17894
17895 2012-03-15  Andreas Jaeger  <aj@suse.de>
17896
17897         [BZ #13658]
17898         * math/libm-test.inc (cos_test): Add more test cases.
17899         (sin_test): Likewise.
17900         (sincos_test): Likewise.
17901
17902 2012-03-15  Andreas Jaeger  <aj@suse.de>
17903
17904         [BZ #13837]
17905         * math/libm-test.inc (cos_test): Add a test case for large input
17906         value.
17907         (sin_test): Likewise.
17908         (sincos_test): Likewise.
17909
17910 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17911         Joseph Myers  <joseph@codesourcery.com>
17912
17913         [BZ #13658]
17914         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17915         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17916         * sysdeps/i386/fpu/branred.c: Likewise.
17917         * sysdeps/i386/fpu/dosincos.c: Likewise.
17918         * sysdeps/i386/fpu/mpa.c: Likewise.
17919         * sysdeps/i386/fpu/s_cos.S: Likewise.
17920         * sysdeps/i386/fpu/s_sin.S: Likewise.
17921         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17922         * sysdeps/i386/fpu/sincos32.c: Likewise.
17923
17924         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17925         Define.
17926         (libc_feupdateenv_53bit): Define.
17927         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17928         Define.
17929         (libc_feupdateenv_53bit): Define.
17930
17931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17932         53 bit (without extend i386 double precision).
17933
17934         * math/libm-test.inc (sincos_test): Add tests for large input.
17935         (sin): Likewise.
17936         (cos): Likewise.
17937
17938         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17939
17940 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17941
17942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17943
17944 2012-03-15  David S. Miller  <davem@davemloft.net>
17945
17946         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17947         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17948         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17949         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17958         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17962         file.
17963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17965         file.
17966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17968         file.
17969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17971         file.
17972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17974         fmin/fmax sysdep routines.
17975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17976
17977 2012-03-14  David S. Miller  <davem@davemloft.net>
17978
17979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17984         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17985         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17986         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17995         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17996         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17999         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18000         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18001         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18002         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18004         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18005         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18006         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18007         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18008         routines.
18009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18010         file.
18011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18013         file.
18014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18016         file.
18017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18019         file.
18020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18022         file.
18023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18025         file.
18026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18027         file.
18028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18029         file.
18030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18031         file.
18032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18033         New file.
18034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18035         file.
18036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18037         file.
18038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18040         file.
18041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18043         file.
18044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18046         file.
18047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18049         VIS3 routines.
18050
18051         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18052         New file.
18053
18054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18055
18056         * sysdeps/sparc/configure.in: New file.
18057         * sysdeps/sparc/configure: Generate.
18058         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18059         * configure: Regenerate.
18060         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18061         * config.make.in (have-as-vis3): New.
18062         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18063         available use -Av9d instead of -Av9a.
18064         * sysdeps/sparc/sparc64/Makefile: Likewise.
18065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18067         New file.
18068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18069         file.
18070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18071         New file.
18072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18073         file.
18074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18075         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18076         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18077         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18078         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18079
18080         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18081         fzeros/fnegs to load 0x80000000 into a float register instead of
18082         using the stack.
18083         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18084
18085 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18086
18087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18088         bits/syscall.h.
18089         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18090         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18091         ($(inst_includedir)/bits/syscall.h): Remove rule.
18092         ($(objpfx)bits/syscall.d): Include instead of
18093         $(objpfx)syscall-list.d.
18094         (generated): Change syscall-list.h and syscall-list.d to
18095         bits/syscall.h and bits/syscall.d.
18096
18097 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18098
18099         [BZ #13846]
18100         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18101
18102 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18103
18104         [BZ #13841]
18105         * math/s_csqrt.c: Include <float.h>.
18106         (__csqrt): Scale large or subnormal inputs.
18107         * math/s_csqrtf.c: Likewise.
18108         * math/s_csqrtl.c: Likewise.
18109         * math/libm-test.inc (csqrt_test): Add more tests.
18110         * sysdeps/i386/fpu/libm-test-ulps: Update.
18111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18112
18113         [BZ #13840]
18114         * math/libm-test.inc (hypot_test): Add more tests.
18115
18116 2012-03-13  David S. Miller  <davem@davemloft.net>
18117
18118         [BZ #13840]
18119         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18120         double-precision for the calculation instead of scaling.
18121
18122 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18123
18124         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18125         manipulate bits before adding and subtracting TWO52[sx].
18126         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18127         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18128         Likewise.
18129         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18130
18131 2012-03-13  David S. Miller  <davem@davemloft.net>
18132
18133         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18134         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18136         rtld-global-offsets.h
18137         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18138
18139         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18140         large parameters.
18141
18142         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18143
18144         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18145         'err' in the ifdef scope in which it is actually used.
18146
18147         * nss/nss_db/db-init.c: Include string.h
18148
18149 2012-03-12  David S. Miller  <davem@davemloft.net>
18150
18151         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18152         masking out of the most significant byte of random value used.
18153         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18154         Fix coding style in previous change.
18155
18156         * sysdeps/unix/sysv/linux/kernel-features.h
18157         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18158         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18159         expression.
18160         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18161         later.
18162
18163 2012-03-11  David S. Miller  <davem@davemloft.net>
18164
18165         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18166         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18167         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18168         for 'resultvar' otherwise things get truncated on 64-bit.
18169
18170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18171         Fix masking out of the most significant byte of random value used.
18172
18173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18174
18175 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18176
18177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18178
18179 2012-03-09  David S. Miller  <davem@davemloft.net>
18180
18181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18182         variables with appropriate CPP guards.
18183         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18184         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18185         on resulting framesize and the management of the outregs buffer for pltexit.
18186         Preserve floating point return values across _dl_call_pltexit call.
18187         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18188         framesize and the management of the outregs buffer for pltexit.
18189         Preserve floating point return values across _dl_call_pltexit
18190         call.
18191         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18192         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18193         (print_exit): Fix format string for return register value.
18194
18195 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18196
18197         * sunrpc/Makefile (others): Add rpcgen.
18198         ($(objpfx)rpcgen): Remove special build rule and dependency on
18199         libc.
18200         * sunrpc/rpcgen.c: New file.
18201
18202 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18203
18204         [BZ #13673]
18205         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18206         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18207         * sysdeps/i386/crti.S: Likewise.
18208         * sysdeps/i386/crtn.S: Likewise.
18209         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18210         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18211         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18212         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18213         * sysdeps/sh/crti.S: Likewise.
18214         * sysdeps/sh/crtn.S: Likewise.
18215         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18216
18217         [BZ #13673]
18218         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18219         with URL.
18220         * locale/programs/locfile-kw.gperf: Likewise.
18221         * locale/programs/charmap-kw.h: Regenerated.
18222         * locale/programs/locfile-kw.h: Likewise.
18223
18224         [BZ #13673]
18225         * intl/plural.y: Replace FSF snail mail address with URL.
18226         * intl/plural.c: Regenerated.
18227
18228 2012-03-09  Richard Henderson  <rth@twiddle.net>
18229
18230         * include/math_private.h: Remove file.
18231         * math/math_private.h: Move file ...
18232         * sysdeps/generic/math_private.h: ... here.
18233
18234         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18235         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18236         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18237
18238         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18239         and <math_private.h>.
18240         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18241         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18242         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18243         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18244         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18245         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18246         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18247         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18248         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18249         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18250         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18251         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18252         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18253         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18254         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18255         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18256         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18257         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18258         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18259         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18261         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18262         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18264         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18265         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18266         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18267         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18269         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18270         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18279         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18281         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18282         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18283         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18284         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18285         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18286         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18287         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18288         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18289         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18290         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18291         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18292         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18293         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18294         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18296         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18297         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18298         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18299         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18300         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18301         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18302         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18303         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18304         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18305         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18306         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18307         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18308         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18309         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18310         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18311         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18312         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18313         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18314         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18315         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18316         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18317         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18318         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18319         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18320         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18321         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18322         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18323         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18324         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18325         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18326         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18327         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18328         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18329         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18330         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18332         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18333         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18334         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18335         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18336         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18337         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18338         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18339         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18340         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18341         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18342         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18343         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18344         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18345         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18346         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18347         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18348         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18349         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18350         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18351         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18352         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18353         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18354         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18355         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18356         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18357         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18358         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18359         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18360         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18361         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18362         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18363         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18364         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18365         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18366         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18367         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18368         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18369         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18370         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18371         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18372         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18373         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18374         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18375         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18376         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18377         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18378         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18379         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18380         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18381         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18382         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18383         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18384         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18385         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18386         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18387         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18388         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18389         * sysdeps/ieee754/k_standard.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18428         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18430         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18433         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18437         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18438         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18439         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18440         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18441         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18446         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18447         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18449         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18450         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18452         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18453         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18454         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18455         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18456         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18457         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18458         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18459         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18460         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18461         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18466         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18467         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18471         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18472         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18475         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18476         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18477         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18478         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18480         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18481         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18483         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18484         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18485         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18486         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18488         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18489         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18491         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18493         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18494         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18495         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18496         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18497         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18498         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18499         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18500         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18501         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18506         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18511         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18512         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18513         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18514         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18515         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18516         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18517         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18518         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18519         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18520         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18521         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18522         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18523         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18524         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18525         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18526         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18527         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18528         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18529         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18530         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18531         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18532         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18533         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18534         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18535         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18536         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18537         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18538         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18539         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18540         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18541         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18542         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18543         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18544         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18545         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18546         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18547         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18548         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18549         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18550         * sysdeps/ieee754/s_lib_version.c: Likewise.
18551         * sysdeps/ieee754/s_matherr.c: Likewise.
18552         * sysdeps/ieee754/s_signgam.c: Likewise.
18553         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18554         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18555         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18556         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18557         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18558         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18559         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18560         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18561         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18562         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18563         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18564         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18565         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18566         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18567         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18568         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18569         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18570         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18571         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18573         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18574
18575 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18576
18577         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18578         * sunrpc/rpc_main.c: Likewise.
18579         * sunrpc/rpc_svcout.c: Likewise.
18580
18581 2012-03-09  David S. Miller  <davem@davemloft.net>
18582
18583         * include/math_private.h: New file.
18584
18585 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18586
18587         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18588         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18589         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18590         from <bits/socket_type.h>.
18591         (enum __socket_type): Don't define here.
18592         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18594         bits/socket_type.h.
18595
18596         [BZ #13566]
18597         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18598         checking __USE_GNU.
18599
18600         * Makerules ($(inst_includedir)/%.h): New rule.
18601         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18602         (install-others): Remove variable setting.
18603         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18604
18605 2012-03-08  Richard Henderson  <rth@twiddle.net>
18606
18607         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18608         from macro to inline function; merge with the
18609         !__LIBC_INTERNAL_MATH_INLINES version.
18610         (__ieee754_sqrtf): Likewise.
18611
18612         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18613         to inline function.
18614         (__rintf, __floor, __floorf): Likewise.
18615
18616         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18617         macro to inline function.
18618         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18619
18620         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18621         not <math/math_private.h>.
18622
18623 2012-03-08  David S. Miller  <davem@davemloft.net>
18624
18625         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18626         copyright year.
18627         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18628
18629 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18630
18631         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18632         normalization.
18633         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18634         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18635
18636 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18637
18638         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18639         be defined individually, they must be defined as a block.  Define
18640         S for printing a string instead of hidint the different by using a
18641         macro for adding the 'l'.
18642         * stdio-common/tst-fphex-wide.c: Adjust.
18643
18644 2012-03-07  Marek Polacek  <polacek@redhat.com>
18645
18646         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18647
18648 2012-03-08  Marek Polacek  <polacek@redhat.com>
18649
18650         [BZ #13806]
18651         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18652         * stdio-common/tst-fphex.c: Define a few macros to make the
18653         test reusable.  Use them.
18654         * stdio-common/tst-fphex-wide.c: New file.
18655
18656 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18657
18658         [BZ #6911]
18659         * manual/macros.texi (gnusystems): New macro.
18660         (nongnusystems): Likewise.
18661         (gnulinuxhurdsystems): Likewise.
18662         (gnuhurdsystems): Likewise..
18663         (gnulinuxsystems): Likewise.
18664         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18665         variants of the GNU system, not "GNU system".
18666         * manual/conf.texi: Likewise.
18667         * manual/errno.texi: Likewise.  Update example of errno macro
18668         expansion.
18669         * manual/filesys.texi: Likewise.
18670         (getumask): Document as specific to GNU/Hurd.
18671         * manual/install.texi: Likewise.  Reword some references to
18672         GNU/Linux.
18673         * manual/intro.texi: Likewise.
18674         * manual/io.texi: Likewise.
18675         (File Name Portability): Detail which constraints are inapplicable
18676         to all GNU systems and which are only inapplicable to GNU/Hurd.
18677         * manual/job.texi: Likewise.
18678         * manual/llio.texi: Likewise.
18679         (O_NOCTTY): Document as present on GNU/Linux.
18680         * manual/maint.texi: Likewise.
18681         * manual/memory.texi: Likewise.
18682         * manual/pattern.texi: Likewise.
18683         * manual/pipe.texi: Likewise.
18684         * manual/process.texi: Likewise.
18685         * manual/resource.texi: Likewise.
18686         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18687         child on GNU/Hurd.
18688         * manual/setjmp.texi: Likewise.
18689         * manual/signal.texi: Likewise.
18690         * manual/startup.texi: Likewise.
18691         * manual/stdio.texi: Likewise.
18692         * manual/terminal.texi: Likewise.
18693         (ONLCR): Document as POSIX.
18694         (OXTABS): Document availability on GNU/Linux as XTABS.
18695         (ONOEOT): Document availability separately from other bits.
18696         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18697         * manual/time.texi: Likewise.
18698         * manual/users.texi: Likewise.
18699         * INSTALL: Regenerated.
18700         * sysdeps/gnu/errlist.c: Regenerated.
18701
18702         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18703         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18704         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18705         puts.
18706         * configure: Regenerated.
18707
18708 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18709
18710         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18711         default includes instead of AC_HEADER_CHECK.
18712         * sysdeps/i386/configure: Regenerated.
18713
18714         [BZ #10716]
18715         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18716         * math/s_cacoshf.c (__cacoshf): Likewise.
18717         * math/s_cacoshl.c (__cacoshl): Likewise.
18718         * math/s_casinh.c (__casinh): Set signs of result from argument.
18719         * math/s_casinhf.c (__casinhf): Likewise.
18720         * math/s_casinhl.c (__casinhl): Likewise.
18721         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18722         (casinh_test): Add more tests.
18723         * sysdeps/i386/fpu/libm-test-ulps: Update.
18724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725
18726 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18727
18728         * po/zh_TW.po: Update from translation team.
18729
18730         * login/Makefile (distribute): Remove variable.
18731         * catgets/Makefile: Likewise.
18732         * mach/Makefile: Likewise.
18733         * malloc/Makefile: Likewise.
18734         * misc/Makefile: Likewise.
18735         * iconv/Makefile: Likewise.
18736         * nscd/Makefile: Likewise.
18737         * hurd/Makefile: Likewise.
18738         * manual/Makefile: Likewise.
18739         * locale/Makefile: Likewise.
18740         * intl/Makefile: Likewise.
18741         * conform/Makefile: Likewise.
18742         * nss/Makefile: Likewise.
18743         * time/Makefile: Likewise.
18744         * soft-fp/Makefile: Likewise.
18745         * dirent/Makefile: Likewise.
18746         * gmon/Makefile: Likewise.
18747         * po/Makefile: Likewise.
18748         * rt/Makefile: Likewise.
18749         * socket/Makefile: Likewise.
18750         * math/Makefile: Likewise.
18751         * signal/Makefile: Likewise.
18752         * debug/Makefile: Likewise.
18753         * elf/Makefile: Likewise.
18754         * timezone/Makefile: Likewise.
18755         * stdlib/Makefile: Likewise.
18756         * iconvdata/Makefile: Likewise.
18757         * sunrpc/Makefile: Likewise.
18758         * io/Makefile: Likewise.
18759         * argp/Makefile: Likewise.
18760         * inet/Makefile: Likewise.
18761         * hesiod/Makefile: Likewise.
18762         * grp/Makefile: Likewise.
18763         * csu/Makefile: Likewise.
18764         * wctype/Makefile: Likewise.
18765         * crypt/Makefile: Likewise.
18766         * libio/Makefile: Likewise.
18767         * string/Makefile: Likewise.
18768         * nis/Makefile: Likewise.
18769         * resolv/Makefile: Likewise.
18770         * stdio-common/Makefile: Likewise.
18771         * wcsmbs/Makefile: Likewise.
18772         * dlfcn/Makefile: Likewise.
18773         * posix/Makefile: Likewise.
18774
18775         [BZ #6959]
18776         * timezone/Makefile: Don't install timezone files, just the programs
18777         and scripts.
18778
18779 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18780
18781         * nss/databases.def: Add missing gshadow entry.
18782
18783         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18784
18785 2012-03-06  Marek Polacek  <polacek@redhat.com>
18786
18787         [BZ #13726]
18788         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18789         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18790         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18791         * stdio-common/tst-long-dbl-fphex.c: New file.
18792
18793 2012-03-06  David S. Miller  <davem@davemloft.net>
18794
18795         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18796         (set_obp_int): New function.
18797         (get_obp_int): New function.
18798         (__get_clockfreq_via_dev_openprom): Likewise.
18799         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18800         Avoid unused variable warnings on 'val' and use builtin_expect.
18801         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18802         __builtin_expect.
18803         (INLINE_CLONE_SYSCALL): Likewise.
18804
18805 2012-03-05  David S. Miller  <davem@davemloft.net>
18806
18807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18808
18809 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18810
18811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18812
18813         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18814         only for |x| >= 40.
18815         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18816
18817 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18818
18819         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18820         Replace gettimeofday with __vdso_gettimeofday.
18821
18822         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18823         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18824         __vdso_clock_gettime and __vdso_getcpu.
18825
18826         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18827         time with __vdso_time.
18828
18829 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18830
18831         * manual/lang.texi (size_t): Note types to which size_t may be
18832         equivalent with the GNU C Library, but do not describe when
18833         differences between them are significant.
18834
18835 2012-03-05  Andreas Jaeger  <aj@suse.de>
18836
18837         * sysdeps/i386/fpu/libm-test-ulps: Update.
18838
18839 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18840
18841         [BZ #3976]
18842         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18843         (__ieee754_pow): Save and restore rounding mode and use
18844         round-to-nearest for main computations.
18845         * math/libm-test.inc (pow_test_tonearest): New function.
18846         (pow_test_towardzero): Likewise.
18847         (pow_test_downward): Likewise.
18848         (pow_test_upward): Likewise.
18849         (main): Call the new functions.
18850         * sysdeps/i386/fpu/libm-test-ulps: Update.
18851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18852
18853         [BZ #3976]
18854         * math/libm-test.inc (cosh_test_tonearest): New function.
18855         (cosh_test_towardzero): Likewise.
18856         (cosh_test_downward): Likewise.
18857         (cosh_test_upward): Likewise.
18858         (sinh_test_tonearest): Likewise.
18859         (sinh_test_towardzero): Likewise.
18860         (sinh_test_downward): Likewise.
18861         (sinh_test_upward): Likewise.
18862         (main): Call the new functions.
18863         * sysdeps/i386/fpu/libm-test-ulps: Update.
18864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865
18866 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18867
18868         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18869         default stack guard is set in last bytes.
18870         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18871
18872 2012-03-05  Kees Cook  <keescook@chromium.org>
18873
18874         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18875
18876         [BZ #13656]
18877         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18878         possibly allocate from heap instead of stack.
18879         * stdio-common/bug-vfprintf-nargs.c: New file.
18880         * stdio-common/Makefile (tests): Add nargs overflow test.
18881
18882 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18883
18884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18885
18886 2012-03-03  Marek Polacek  <polacek@redhat.com>
18887
18888         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18889         * math/math_private.h: Likewise.
18890         * stdlib/tst-strtod.c: Likewise.
18891         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18892         * sysdeps/x86_64/bits/atomic.h: Likewise.
18893
18894 2012-03-02  David S. Miller  <davem@davemloft.net>
18895
18896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18900         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18901         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18902         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18903         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18904
18905 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18906
18907         [BZ #13792]
18908         * manual/examples/README: New file, says the example source files
18909         can be used under GPL>=2.
18910         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18911         line containing just "*/".
18912         * manual/examples/add.c: Add copyright header (GPL>=2).
18913         * manual/examples/argp-ex1.c: Likewise.
18914         * manual/examples/argp-ex2.c: Likewise.
18915         * manual/examples/argp-ex3.c: Likewise.
18916         * manual/examples/argp-ex4.c: Likewise.
18917         * manual/examples/atexit.c: Likewise.
18918         * manual/examples/db.c: Likewise.
18919         * manual/examples/dir.c: Likewise.
18920         * manual/examples/dir2.c: Likewise.
18921         * manual/examples/execinfo.c: Likewise.
18922         * manual/examples/filecli.c: Likewise.
18923         * manual/examples/filesrv.c: Likewise.
18924         * manual/examples/fmtmsgexpl.c: Likewise.
18925         * manual/examples/genpass.c: Likewise.
18926         * manual/examples/inetcli.c: Likewise.
18927         * manual/examples/inetsrv.c: Likewise.
18928         * manual/examples/isockad.c: Likewise.
18929         * manual/examples/longopt.c: Likewise.
18930         * manual/examples/memopen.c: Likewise.
18931         * manual/examples/memstrm.c: Likewise.
18932         * manual/examples/mkfsock.c: Likewise.
18933         * manual/examples/mkisock.c: Likewise.
18934         * manual/examples/mygetpass.c: Likewise.
18935         * manual/examples/pipe.c: Likewise.
18936         * manual/examples/popen.c: Likewise.
18937         * manual/examples/rprintf.c: Likewise.
18938         * manual/examples/search.c: Likewise.
18939         * manual/examples/select.c: Likewise.
18940         * manual/examples/setjmp.c: Likewise.
18941         * manual/examples/sigh1.c: Likewise.
18942         * manual/examples/sigusr.c: Likewise.
18943         * manual/examples/stpcpy.c: Likewise.
18944         * manual/examples/strdupa.c: Likewise.
18945         * manual/examples/strftim.c: Likewise.
18946         * manual/examples/strncat.c: Likewise.
18947         * manual/examples/subopt.c: Likewise.
18948         * manual/examples/swapcontext.c: Likewise.
18949         * manual/examples/termios.c: Likewise.
18950         * manual/examples/testopt.c: Likewise.
18951         * manual/examples/testpass.c: Likewise.
18952         * manual/examples/timeval_subtract.c: Likewise.
18953
18954         [BZ #13792]
18955         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18956         function to ...
18957         * manual/timeval_subtract.c.texi: ... here, new file.
18958
18959 2012-03-02  David S. Miller  <davem@davemloft.net>
18960
18961         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18962
18963 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18964
18965         [BZ #3976]
18966         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18967         (__sin): Save and restore rounding mode and use round-to-nearest
18968         for all computations.
18969         (__cos): Save and restore rounding mode and use round-to-nearest
18970         for all computations.
18971         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18972         <fenv.h>.
18973         (tan): Save and restore rounding mode and use round-to-nearest for
18974         all computations.
18975         * math/libm-test.inc (cos_test_tonearest): New function.
18976         (cos_test_towardzero): Likewise.
18977         (cos_test_downward): Likewise.
18978         (cos_test_upward): Likewise.
18979         (sin_test_tonearest): Likewise.
18980         (sin_test_towardzero): Likewise.
18981         (sin_test_downward): Likewise.
18982         (sin_test_upward): Likewise.
18983         (tan_test_tonearest): Likewise.
18984         (tan_test_towardzero): Likewise.
18985         (tan_test_downward): Likewise.
18986         (tan_test_upward): Likewise.
18987         (main): Call the new functions.
18988         * sysdeps/i386/fpu/libm-test-ulps: Update.
18989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18990
18991         [BZ #10135]
18992         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18993         small n, then large n, before computing and testing k+n.
18994         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18995         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18996         Likewise.
18997         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18998         Likewise.
18999         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19000         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19001         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19002         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19003         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19004         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19006         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19007         * math/libm-test.inc (scalbn_test): Add more tests.
19008         (scalbln_test): Likewise.
19009
19010         * manual/filesys.texi (mode_t): Describe constraints on size and
19011         signedness, not exact equivalence to a particular type.
19012         (ino_t): Likewise.
19013         (ino64_t): Likewise.
19014         (dev_t): Likewise.
19015         (nlink_t): Likewise.
19016         (blkcnt_t): Likewise.
19017         (blkcnt64_t): Likewise.
19018         * manual/llio.texi (off_t): Likewise.
19019
19020         [BZ #3976]
19021         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19022         (__ieee754_exp): Save and restore rounding mode and use
19023         round-to-nearest for all computations.
19024         * math/libm-test.inc (exp_test_tonearest): New function.
19025         (exp_test_towardzero): Likewise.
19026         (exp_test_downward): Likewise.
19027         (exp_test_upward): Likewise.
19028         (main): Call the new functions.
19029         * sysdeps/i386/fpu/libm-test-ulps: Update.
19030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19031
19032 2012-03-01  Chris Demetriou  <cgd@google.com>
19033
19034         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19035         have predictable order.
19036
19037 2012-03-01  David S. Miller  <davem@davemloft.net>
19038
19039         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19040
19041         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19042         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19043         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19044         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19045
19046         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19047         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19048         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19050         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19051         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19052         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19053         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19054         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19055
19056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19057
19058         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19059         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19060         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19061
19062         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19063         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19064         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19065         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19066         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19067         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19068         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19069         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19070         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19071         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19072         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19073         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19075         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19076         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19077         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19078         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19079         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19080         * sysdeps/sparc/elf/configure: Regenerated.
19081
19082 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19083
19084         * configure.in (AS, LD): Require binutils 2.20 or later.
19085         * configure: Regenerated.
19086         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19087         as required minimum version.
19088         * INSTALL: Regenerated.
19089
19090         [BZ #2541]
19091         [BZ #4108]
19092         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19093         before squaring exponent.
19094         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19095         bottom long double and 27 bits of top long double before squaring
19096         exponent.
19097         * math/libm-test.inc (erfc_test): Add more tests.
19098         * sysdeps/i386/fpu/libm-test-ulps: Update.
19099         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19101
19102 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19103
19104         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19105         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19106         containing bit-fields.
19107         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19108         * soft-fp/single.h (_FP_UNION_S): Likewise.
19109         * soft-fp/double.h (_FP_UNION_D): Likewise.
19110
19111 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19112
19113         [BZ #13786]
19114         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19115         not include ../strcmp.S.
19116         [USE_AS_STRNCASECMP_L]: Likewise.
19117         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19118         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19119         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19120         (__strncasecmp_l_ia32): Define as alias to
19121         __strncasecmp_l_nonascii.
19122
19123         [BZ #5794]
19124         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19125         * sysdeps/i386/fpu/libm-test-ulps: Update.
19126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19127
19128         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130
19131 2012-02-29  Jeff Law  <law@redhat.com>
19132
19133         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19134         out of bounds read.
19135
19136 2012-02-29  Marek Polacek  <polacek@redhat.com>
19137
19138         [BZ #13706]
19139         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19140         * elf/Makefile: Add rules to run tst-unused-dep.out.
19141
19142 2012-02-28  David S. Miller  <davem@davemloft.net>
19143
19144         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19145         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19146         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19147         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19148         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19149         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19150
19151 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19152
19153         * math/libm-test.inc (llround_test): Move one test from
19154         lround_test.  Use TEST_f_L in moved test.
19155         (lround_test): Move misplaced test to llround_test.  Add testcase
19156         from bug 2561.
19157
19158 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19159
19160         * sysdeps/x86_64/fpu/e_expf.S: New file.
19161         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19162
19163 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19164
19165         [BZ #13637]
19166         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19167         of remain_len that may cause incomplete multi-byte character and
19168         false match.
19169         * posix/bug-regex33.c: New file.
19170         * posix/Makefile (tests): Add bug-regex33.
19171
19172 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19173
19174         * manual/macros.texi: New file.
19175         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19176         * manual/libc.texinfo: Include macros.texi.
19177         * manual/creatute.texi: Likewise.
19178         * manual/install.texi: Likewise.
19179         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19180         @glibcadj{} in references to the GNU C Library.
19181         * manual/charset.texi: Likewise.
19182         * manual/conf.texi: Likewise.
19183         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19184         when not using those macros.
19185         * manual/creature.texi: Likewise.
19186         * manual/crypt.texi: Likewise.
19187         * manual/errno.texi: Likewise.
19188         * manual/filesys.texi: Likewise.
19189         * manual/header.texi: Likewise.
19190         * manual/install.texi: Likewise.
19191         * manual/intro.texi: Likewise.
19192         * manual/io.texi: Likewise.
19193         * manual/job.texi: Likewise.
19194         * manual/lang.texi: Likewise.
19195         * manual/libc.texiinfo: Likewise.
19196         * manual/llio.texi: Likewise.
19197         * manual/locale.texi: Likewise.
19198         * manual/maint.texi: Likewise.
19199         * manual/math.texi: Likewise.
19200         * manual/memory.texi: Likewise.
19201         * manual/message.texi: Likewise.
19202         * manual/nss.texi: Likewise.
19203         * manual/pattern.texi: Likewise.
19204         * manual/process.texi: Likewise.
19205         * manual/resource.texi: Likewise.
19206         * manual/search.texi: Likewise.
19207         * manual/setjmp.texi: Likewise.
19208         * manual/signal.texi: Likewise.
19209         * manual/socket.texi: Likewise.
19210         * manual/startup.texi: Likewise.
19211         * manual/stdio.texi: Likewise.
19212         * manual/string.texi: Likewise.
19213         * manual/sysinfo.texi: Likewise.
19214         * manual/syslog.texi: Likewise.
19215         * manual/terminal.texi: Likewise.
19216         * manual/time.texi: Likewise.
19217         * manual/users.texi: Likewise.
19218         * INSTALL: Regenerated.
19219         * NOTES: Regenerated.
19220         * sysdeps/gnu/errlist.c: Regenerated.
19221
19222 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19223
19224         * include/dirent.h: Include <dirstream.h> before
19225         <dirent/dirent.h>.
19226
19227 2012-02-28  David S. Miller  <davem@davemloft.net>
19228
19229         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19230         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19231         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19232         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19233
19234 2012-02-27  David S. Miller  <davem@davemloft.net>
19235
19236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19238         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19239         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19240
19241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19242         frame pointer instead of stack pointer relative arg slot.
19243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19244         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19245         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19246
19247 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19248
19249         [BZ #3992]
19250         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19251
19252 2012-02-27  David S. Miller  <davem@davemloft.net>
19253
19254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19258         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19259         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19260         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19261         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19262
19263 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19264
19265         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19266         later.  Allow versions 5-9.
19267         * configure: Regenerated.
19268         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19269         required minimum version and 4.6 as recommended version.  Do not
19270         mention bugs in GCC 2.7 and 2.8.
19271         * INSTALL: Regenerated.
19272
19273 2012-02-27  David S. Miller  <davem@davemloft.net>
19274
19275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19279         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19280         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19281         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19282         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19283
19284         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19285         manipulate bits before adding and subtracting TWO112[sx].
19286         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19287
19288 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19289
19290         [BZ #13775]
19291         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19292         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19293         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19294         being in POSIX, because they are in 1003.1-2008.
19295
19296         * rt/tst-aio.c: Include <fcntl.h>.
19297         * rt/tst-aio7.c: Likewise.
19298         * rt/tst-aio64.c: Likewise.
19299
19300         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19301
19302 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19303
19304         * manual/install.texi (--with-headers): Describe headers as
19305         interface headers, not private headers.
19306         (Specific advice for GNU/Linux systems): Describe use of headers
19307         from "make headers_install", not private headers from older
19308         kernels.
19309         * INSTALL: Regenerated.
19310         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19311         Change to 2.6.19.
19312         * sysdeps/unix/sysv/linux/configure: Regenerated.
19313
19314         * manual/llio.texi (fclean): Remove documentation.
19315
19316         * manual/Makefile (libc-texi-generated): New variable.  Include
19317         version.texi.
19318         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19319         $(libc-texi-generated), not duplicated list of files.
19320         (version.texi, stamp-version): New rules.
19321         (realclean): Remove $(libc-texi-generated), not individual files
19322         from that list.  Do not remove dir-add.texinfo.
19323         * manual/libc.texinfo: Comment out uses of edition numbers and
19324         references to printed manual.  Remove last-updated dates.
19325         (EDITION): Comment out.
19326         (ISBN): Likewise.
19327         (VERSION, UPDATED): Remove.
19328         (version.texi): Include.
19329
19330 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19331
19332         * sysdeps/posix/spawni.c: Include <signal.h>.
19333         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19334         * sysdeps/pthread/aio_fsync.c: Likewise.
19335
19336 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19337
19338         * conform/Makefile (tests): Run only when not cross-compiling and
19339         when fast-check is not defined.
19340
19341         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19342         * conform/data/limits.h-data: Fixes for POSIX2008.
19343         * conform/run-conformtest.sh: Run all tests.
19344         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19345         headers.
19346         * include/bits/dlfcn.h: Likewise.
19347         * include/langinfo.h: Likewise.
19348         * include/monetary.h: Likewise.
19349         * include/sys/poll.h: Likewise.
19350
19351         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19352         for __USE_GNU.
19353         * posix/spawn.h: Define __need_sigset_t.
19354         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19355         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19356         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19357         to get sigevent_t only.
19358         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19359         only for __USE_GNU.
19360         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19361         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19362         process_vm_writev only for __USE_GNU.
19363         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19364
19365         * conform/Makefile: For now ignore errors from run-conformtest.
19366         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19367         POSIX to avoid namespace pollution.  Don't prepend headers.
19368         * conform/data/aio.h-data: Fixes for POSIX testing.
19369         * conform/data/fcntl.h-data: Likewise.
19370         * conform/data/glob.h-data: Likewise.
19371         * conform/data/grp.h-data: Likewise.
19372         * conform/data/pthread.h-data: Likewise.
19373         * conform/data/pwd.h-data: Likewise.
19374         * conform/data/signal.h-data: Likewise.
19375         * conform/data/spawn.h-data: Likewise.
19376         * conform/data/stdio.h-data: Likewise.
19377         * conform/data/stdlib.h-data: Likewise.
19378         * conform/data/stropts.h-data: Likewise.
19379         * conform/data/sys/mman.h-data: Likewise.
19380         * conform/data/sys/stat.h-data: Likewise.
19381         * conform/data/sys/types.h-data: Likewise.
19382         * conform/data/sys/wait.h-data: Likewise.
19383         * conform/data/time.h-data: Likewise.
19384         * conform/data/unistd.h-data: Likewise.
19385         * conform/data/utime.h-data: Likewise.
19386
19387         * io/sys/stat.h: fchmod was always in POSIX.
19388         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19389         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19390         * rt/aio.h: Define __need_timespec before including <time.h>.
19391         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19392         struct.  Add forward declaration of pthread_attr_t and use it in
19393         sigevent.
19394         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19396         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19397         always remove CLK_TCK definition.
19398
19399 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19400
19401         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19402
19403 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19404
19405         * conform/run-conformtest.sh: New file.
19406         * conform/Makefile: Run run-conformtest for tests.
19407         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19408         support.
19409
19410         * conform/data/uchar.h-data: New file.
19411         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19412         * conform/data/arpa/inet.h-data: Likewise.
19413         * conform/data/assert.h-data: Likewise.
19414         * conform/data/complex.h-data: Likewise.
19415         * conform/data/cpio.h-data: Likewise.
19416         * conform/data/ctype.h-data: Likewise.
19417         * conform/data/dirent.h-data: Likewise.
19418         * conform/data/dlfcn.h-data: Likewise.
19419         * conform/data/errno.h-data: Likewise.
19420         * conform/data/fcntl.h-data: Likewise.
19421         * conform/data/float.h-data: Likewise.
19422         * conform/data/fmtmsg.h-data: Likewise.
19423         * conform/data/fnmatch.h-data: Likewise.
19424         * conform/data/ftw.h-data: Likewise.
19425         * conform/data/glob.h-data: Likewise.
19426         * conform/data/grp.h-data: Likewise.
19427         * conform/data/iconv.h-data: Likewise.
19428         * conform/data/inttypes.h-data: Likewise.
19429         * conform/data/langinfo.h-data: Likewise.
19430         * conform/data/libgen.h-data: Likewise.
19431         * conform/data/limits.h-data: Likewise.
19432         * conform/data/locale.h-data: Likewise.
19433         * conform/data/math.h-data: Likewise.
19434         * conform/data/monetary.h-data: Likewise.
19435         * conform/data/mqueue.h-data: Likewise.
19436         * conform/data/ndbm.h-data: Likewise.
19437         * conform/data/net/if.h-data: Likewise.
19438         * conform/data/netdb.h-data: Likewise.
19439         * conform/data/netinet/in.h-data: Likewise.
19440         * conform/data/nl_types.h-data: Likewise.
19441         * conform/data/poll.h-data: Likewise.
19442         * conform/data/pthread.h-data: Likewise.
19443         * conform/data/pwd.h-data: Likewise.
19444         * conform/data/regex.h-data: Likewise.
19445         * conform/data/sched.h-data: Likewise.
19446         * conform/data/search.h-data: Likewise.
19447         * conform/data/semaphore.h-data: Likewise.
19448         * conform/data/setjmp.h-data: Likewise.
19449         * conform/data/signal.h-data: Likewise.
19450         * conform/data/spawn.h-data: Likewise.
19451         * conform/data/stdarg.h-data: Likewise.
19452         * conform/data/stdio.h-data: Likewise.
19453         * conform/data/stdlib.h-data: Likewise.
19454         * conform/data/string.h-data: Likewise.
19455         * conform/data/strings.h-data: Likewise.
19456         * conform/data/stropts.h-data: Likewise.
19457         * conform/data/sys/ipc.h-data: Likewise.
19458         * conform/data/sys/mman.h-data: Likewise.
19459         * conform/data/sys/msg.h-data: Likewise.
19460         * conform/data/sys/resource.h-data: Likewise.
19461         * conform/data/sys/select.h-data: Likewise.
19462         * conform/data/sys/sem.h-data: Likewise.
19463         * conform/data/sys/shm.h-data: Likewise.
19464         * conform/data/sys/socket.h-data: Likewise.
19465         * conform/data/sys/stat.h-data: Likewise.
19466         * conform/data/sys/statvfs.h-data: Likewise.
19467         * conform/data/sys/time.h-data: Likewise.
19468         * conform/data/sys/timeb.h-data: Likewise.
19469         * conform/data/sys/times.h-data: Likewise.
19470         * conform/data/sys/types.h-data: Likewise.
19471         * conform/data/sys/uio.h-data: Likewise.
19472         * conform/data/sys/un.h-data: Likewise.
19473         * conform/data/sys/utsname.h-data: Likewise.
19474         * conform/data/sys/wait.h-data: Likewise.
19475         * conform/data/syslog.h-data: Likewise.
19476         * conform/data/tar.h-data: Likewise.
19477         * conform/data/termios.h-data: Likewise.
19478         * conform/data/utime.h-data: Likewise.
19479         * conform/data/utmpx.h-data: Likewise.
19480         * conform/data/varargs.h-data: Likewise.
19481         * conform/data/wchar.h-data: Likewise.
19482         * conform/data/wctype.h-data: Likewise.
19483         * conform/data/wordexp.h-data: Likewise.
19484
19485         * include/stropts.h: New file.
19486         * include/uchar.h: New file.
19487         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19488         * include/assert.h: Likewise.
19489         * include/ctype.h: Likewise.
19490         * include/dirent.h: Likewise.
19491         * include/dlfcn.h: Likewise.
19492         * include/fcntl.h: Likewise.
19493         * include/fnmatch.h: Likewise.
19494         * include/glob.h: Likewise.
19495         * include/grp.h: Likewise.
19496         * include/libio.h: Likewise.
19497         * include/locale.h: Likewise.
19498         * include/math.h: Likewise.
19499         * include/net/if.h: Likewise.
19500         * include/netdb.h: Likewise.
19501         * include/netinet/in.h: Likewise.
19502         * include/pthread.h: Likewise.
19503         * include/pwd.h: Likewise.
19504         * include/regex.h: Likewise.
19505         * include/sched.h: Likewise.
19506         * include/search.h: Likewise.
19507         * include/setjmp.h: Likewise.
19508         * include/signal.h: Likewise.
19509         * include/stdio.h: Likewise.
19510         * include/stdlib.h: Likewise.
19511         * include/string.h: Likewise.
19512         * include/sys/cdefs.h: Likewise.
19513         * include/sys/mman.h: Likewise.
19514         * include/sys/msg.h: Likewise.
19515         * include/sys/resource.h: Likewise.
19516         * include/sys/select.h: Likewise.
19517         * include/sys/socket.h: Likewise.
19518         * include/sys/stat.h: Likewise.
19519         * include/sys/statvfs.h: Likewise.
19520         * include/sys/time.h: Likewise.
19521         * include/sys/times.h: Likewise.
19522         * include/sys/uio.h: Likewise.
19523         * include/sys/utsname.h: Likewise.
19524         * include/sys/wait.h: Likewise.
19525         * include/termios.h: Likewise.
19526         * include/time.h: Likewise.
19527         * include/ulimit.h: Likewise.
19528         * include/unistd.h: Likewise.
19529         * include/utime.h: Likewise.
19530         * include/wchar.h: Likewise.
19531         * include/wctype.h: Likewise.
19532         * include/wordexp.h: Likewise.
19533
19534         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19535
19536         * time/time.h: TIME_UTC must be a macro.
19537         Make timespec_get available for ISO C11 only as well.
19538
19539 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19540
19541         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19542         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19543
19544 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19545
19546         * configure.in: Use -o not -a in test for unsupported multi-arch.
19547
19548 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19549
19550         * manual/texinfo.tex: Update to version 2012-01-19.16.
19551
19552 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19553
19554         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19555
19556 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19557
19558         [BZ #13738]
19559         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19560         * manual/fdl-1.3.texi: New file.
19561         * manual/fdl-1.1.texi: File removed.
19562
19563         [BZ #13738]
19564         * manual/libc.texinfo (FDL_VERSION): New @set.
19565         Use it for mention of FDL in cover text.
19566         (Documentation License): Use it in @include file name.
19567
19568 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19569             Roland McGrath  <roland@hack.frob.com>
19570
19571         [BZ #5461]
19572         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19573         not LONG_LONG_MAX and LONG_LONG_MIN.
19574         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19575         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19576         name.
19577         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19578
19579 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19580
19581         [BZ #2547]
19582         [BZ #11365]
19583         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19584         manipulate bits before adding and subtracting TWO23[sx].
19585         * math/libm-test.inc (nearbyint_test): Add more tests.
19586
19587 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19588
19589         [BZ #2548]
19590         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19591         bits before adding and subtracting TWO23[sx].
19592         * math/libm-test.inc (rint_test): Add more tests.
19593         (rint_test_tonearest): Likewise.
19594         (rint_test_towardzero): Likewise.
19595         (rint_test_downward): Likewise.
19596         (rint_test_upward: Likewise.
19597
19598 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19599
19600         [BZ #10110]
19601         * include/stdc-predef.h: New file.  Extracted from features.h.
19602         * include/features.h: Include stdc-predef.h.
19603         * Makefile (headers): Add stdc-predef.h.
19604         * CONFORMANCE (Compiler limitations): Update.
19605
19606 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19607
19608         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19609
19610 2012-02-21  David S. Miller  <davem@davemloft.net>
19611
19612         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19613         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19614
19615 2012-02-20  David S. Miller  <davem@davemloft.net>
19616
19617         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19618         using a normal save/restore sequence, rather than allocating a
19619         dummy stack frame just to store a frame pointer and restore.
19620         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19621
19622 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19623
19624         * manual/install.texi: Fix stray word in line-wrapped comment.
19625
19626 2012-02-20  David S. Miller  <davem@davemloft.net>
19627
19628         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19629         both binutils and gcc support GOTDATA.
19630
19631         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19632         "rd %pc" in the PIC register setup sequences.
19633
19634         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19635         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19636         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19637         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19638         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19640         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19641         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19643         (SYSCALL_ERROR_HANDLER): Likewise.
19644         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19645         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19647         (SYSCALL_ERROR_HANDLER): Likewise.
19648
19649         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19650         (HAVE_GCC_GOTDATA): New.
19651         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19652         relocation support in both binutils and gcc.
19653         * sysdeps/sparc/elf/configure: Regenerate.
19654
19655         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19656         * sysdeps/sparc/sparc32/elf/configure: Delete.
19657         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19658         * sysdeps/sparc/sparc64/elf/configure: Delete.
19659         * sysdeps/sparc/elf/configure.in: New file.
19660         * sysdeps/sparc/elf/configure: Generate.
19661
19662         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19663         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19664         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19665         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19666         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19667
19668 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19669
19670         * manual/install.texi: Do not mention specific glibc version
19671         numbers.
19672         * manual/libc.texinfo (VERSION, UPDATED): Update.
19673         (@copying): Use @copyright{} and range of years.
19674
19675 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19676
19677         [BZ #13695]
19678         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19679         [crti.S not in sysdirs] (generated): Do not append.
19680         [crti.S not in sysdirs] (omit-deps): Likewise.
19681         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19682         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19683         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19684         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19685         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19686         Likewise.
19687         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19688         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19689         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19690         * csu/defs.awk: Remove file.
19691         * sysdeps/generic/initfini.c: Likewise.
19692         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19693         variable.
19694         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19695         Likewise.
19696
19697 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19698
19699         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19700         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19701         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19702         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19703         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19704         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19705         <bits/epoll.h>.
19706         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19707         (__EPOLL_PACKED): Define to empty if not defined by
19708         <bits/epoll.h>.
19709         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19711         bits/epoll.h.
19712
19713 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19714
19715         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19716         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19717         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19718         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19719         <bits/timerfd.h>.
19720         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19722         bits/timerfd.h.
19723
19724 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19725
19726         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19727         in C locale.
19728         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19729         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19730         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19732
19733 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19734
19735         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19736         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19737
19738 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19739
19740         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19741         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19742         defined.
19743         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19744         Likewise.
19745         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19746         entry for 2.16.
19747
19748 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19749
19750         * math/w_acos.c: Use non-signaling floating-point comparisons.
19751         * math/w_acosf.c: Likewise.
19752         * math/w_acosh.c: Likewise.
19753         * math/w_acoshf.c: Likewise.
19754         * math/w_acoshl.c: Likewise.
19755         * math/w_acosl.c: Likewise.
19756         * math/w_asin.c: Likewise.
19757         * math/w_asinf.c: Likewise.
19758         * math/w_asinl.c: Likewise.
19759         * math/w_atanh.c: Likewise.
19760         * math/w_atanhf.c: Likewise.
19761         * math/w_atanhl.c: Likewise.
19762         * math/w_exp2.c: Likewise.
19763         * math/w_exp2f.c: Likewise.
19764         * math/w_exp2l.c: Likewise.
19765         * math/w_j0.c: Likewise.
19766         * math/w_j0f.c: Likewise.
19767         * math/w_j0l.c: Likewise.
19768         * math/w_j1.c: Likewise.
19769         * math/w_j1f.c: Likewise.
19770         * math/w_j1l.c: Likewise.
19771         * math/w_jn.c: Likewise.
19772         * math/w_jnf.c: Likewise.
19773         * math/w_log.c: Likewise.
19774         * math/w_log10.c: Likewise.
19775         * math/w_log10f.c: Likewise.
19776         * math/w_log10l.c: Likewise.
19777         * math/w_log2.c: Likewise.
19778         * math/w_log2f.c: Likewise.
19779         * math/w_log2l.c: Likewise.
19780         * math/w_logf.c: Likewise.
19781         * math/w_logl.c: Likewise.
19782         * math/w_sqrt.c: Likewise.
19783         * math/w_sqrtf.c: Likewise.
19784         * math/w_sqrtl.c: Likewise.
19785         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19786         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19787         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19788         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19789         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19790
19791 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19792
19793         [BZ #9739]
19794         * manual/string.texi (strnlen): Use correct parameter name in
19795         equivalent expression.
19796
19797 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19798
19799         [BZ #11174]
19800         * manual/users.texi (seteuid): Consistently use neweuid for
19801         argument name.
19802
19803 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19804
19805         [BZ #13704]
19806         * manual/nss.texi (Services in the NSS configuration): Correct
19807         list of services in example configuration file.
19808
19809 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19810
19811         [BZ #11322]
19812         * manual/arith.texi: Remove statements about negative zero
19813         behaving identically to zero.
19814
19815 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19816
19817         [BZ #5993]
19818         * manual/install.texi: Do not document upgrading from libc5.
19819
19820 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19821
19822         [BZ #4596]
19823         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19824
19825 2012-02-18  David S. Miller  <davem@davemloft.net>
19826
19827         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19828         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19829         %o7 across the call.
19830         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19831         instead.
19832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19833         SETUP_PIC_REG_LEAF.
19834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19835         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19836         * sysdeps/sparc/crtn.S: Likewise.
19837
19838 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19839
19840         * aout/Makefile: Remove.
19841
19842 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19843
19844         [BZ #13058]
19845         * manual/examples/argp-ex1.c (main): Format definition in GNU
19846         style.
19847         * manual/examples/argp-ex2.c (main): Likewise.
19848         * manual/examples/argp-ex3.c (main): Likewise.
19849         * manual/examples/argp-ex4.c (main): Likewise.
19850         * manual/examples/longopt.c (main): Use new-style prototype
19851         definition.
19852         * manual/examples/strncat.c (main): Specify return type and use
19853         (void) for arguments.
19854         * manual/examples/subopt.c (main): Use char **argv argument.
19855
19856 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19857
19858         [BZ #5077]
19859         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19860         rounding modes.
19861
19862 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19863
19864         [BZ #6907]
19865         * manual/string.texi (strchr): Change when strchrnul is
19866         recommended.
19867
19868 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19869
19870         [BZ #174]
19871         * manual/locale.texi (setlocale): Document LOCPATH.
19872
19873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19874
19875         [BZ #10210]
19876         * manual/process.texi (execle): Move @dots{} before last argument.
19877
19878 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19879
19880         [BZ #12047]
19881         * manual/charset.texi (Generic Charset Conversion): Fix typo
19882         (LC_TYPE -> LC_CTYPE).
19883
19884 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19885
19886         [BZ #5805]
19887         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19888         (scalbnf): Likewise.
19889         (scalbnl): Likewise.
19890         (scalbln): Likewise.
19891         (scalblnf): Likewise.
19892         (scalblnl): Likewise.
19893         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19894         (vwarnx): Likewise.
19895         (verr): Likewise.
19896         (verrx): Likewise.
19897         * manual/filesys.texi (telldir): Use braces around return type.
19898         * manual/llio.texi (mmap): Add space after comma.
19899         (mmap64): Likewise.
19900         * manual/math.texi (jn): Use @var{} on parameter names.
19901         (jnf): Likewise.
19902         (jnl): Likewise.
19903         (yn): Likewise.
19904         (ynf): Likewise.
19905         (ynl): Likewise.
19906         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19907         line.
19908         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19909         "...".
19910         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19911         (sched_get_priority_max): Likewise.
19912         * manual/signal.texi (sigvec): Add space after comma.
19913         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19914         names.
19915         (if_indextoname): Likewise.
19916         (if_freenameindex): Likewise.
19917         (sendto): Use ',' instead of '.' in prototype.
19918         * manual/startup.texi (syscall): Use @dots{} instead of literal
19919         "...".
19920         * manual/stdio.texi (__fpending): Separate initial words of
19921         paragraph from @deftypefun line.
19922         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19923         "...".
19924         (vsyslog): Use @var{} on parameter names.
19925         * manual/terminal.texi (stty): Use @var{} on parameter names.
19926         * manual/users.texi (getutmp): Use @var{} on parameter names.
19927         (getutmpx): Likewise.
19928
19929 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19930
19931         [BZ #6884]
19932         * manual/stdio.texi (fopen): Fix typos in description of
19933         ",ccs=STRING".
19934
19935 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19936
19937         [BZ #4026]
19938         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19939         get clock_id definition.
19940
19941 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19942
19943         [BZ #4822]
19944         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19945         (madvise): Cast every argument to void on its own.
19946
19947 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19948
19949         [BZ #9902]
19950         * manual/startup.texi (Exit Status): Fix typo.
19951
19952 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19953
19954         [BZ #10140]
19955         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19956         * manual/examples/argp-ex2.c: Likewise.
19957         * manual/examples/argp-ex3.c: Likewise.
19958
19959 2012-02-16  Richard Henderson  <rth@redhat.com>
19960
19961         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19962         * sysdeps/s390/s390-32/initfini.c: Remove.
19963         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19964         * sysdeps/s390/s390-64/initfini.c: Remove.
19965
19966 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19967
19968         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19969         compiler output for sysdeps/generic/initfini.c.
19970         * sysdeps/sh/elf/initfini.c: Remove file.
19971
19972 2012-02-16  David S. Miller  <davem@davemloft.net>
19973
19974         [BZ #11494]
19975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19976
19977         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19978         * sysdeps/sparc/crti.S: New file.
19979         * sysdeps/sparc/crtn.S: New file.
19980         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19981         * sysdeps/sparc/sparc64/Makefile: Likewise.
19982
19983 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19984
19985         [BZ #3335]
19986         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19987
19988 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19989
19990         [BZ #4822]
19991         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19992
19993         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19994         (write, read, close): Likewise.
19995         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19996
19997 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19998
19999         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20000         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20001         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20002         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20003         <bits/signalfd.h>.
20004         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20006         bits/signalfd.h.
20007
20008 2012-02-14  Marek Polacek  <polacek@redhat.com>
20009
20010         * sysdeps/x86_64/crti.S: New file.
20011         * sysdeps/x86_64/crtn.S: New file.
20012         * sysdeps/x86_64/elf/initfini.c: Remove file.
20013
20014 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20015
20016         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20017         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20018         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20019         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20020         <bits/inotify.h>.
20021         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20023         bits/inotify.h.
20024
20025 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20026
20027         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20028         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20029         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20030         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20031         <bits/eventfd.h>.
20032         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20034         bits/eventfd.h.
20035
20036 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20037
20038         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20039         __feraiseexcept instead of feraiseexcept.
20040
20041         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20042         nanosleep invocations.
20043         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20044         strings, and add error checking for a nanosleep invocations.
20045
20046 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20047
20048         Replace FSF snail mail address with URLs, as per GNU coding standards.
20049         Most of the snail mail addresses were wrong anyway, and omitting
20050         them makes the source code easier to maintain.  Almost all of the
20051         changes are to license notices and to locale LC_IDENTIFICATION
20052         addresses, except for this one:
20053         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20054         not its snail mail address.
20055
20056 2012-02-09  Richard Henderson  <rth@twiddle.net>
20057
20058         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20059         of kernel-features.h.
20060
20061         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20062
20063 2012-02-08  Marek Polacek  <polacek@redhat.com>
20064
20065         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20066         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20067         * sysdeps/gnu/_G_config.h: Likewise.
20068         * sysdeps/generic/_G_config.h: Likewise.
20069
20070 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20071
20072         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20073         tests.
20074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20075
20076         * sysdeps/powerpc/powerpc32/crti.S: New file.
20077         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20078         * sysdeps/powerpc/powerpc64/crti.S: New file.
20079         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20080
20081         * Makeconfig (have-initfini): Don't set.
20082         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20083         * configure.in (nopic_initfini): Don't substitute.
20084         * config.h.in (HAVE_INITFINI): Don't #undef.
20085         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20086         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20087
20088 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20089
20090         Support crti.S and crtn.S provided directly by architectures.
20091         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20092         [crti.S in sysdirs] (omit-deps): Likewise.
20093         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20094         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20095         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20096         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20097         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20098         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20099         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20100         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20101         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20102         compiler output for sysdeps/generic/initfini.c.
20103         * sysdeps/i386/elf/Makefile: Remove file.
20104         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20105
20106 2012-02-07  Marek Polacek  <polacek@redhat.com>
20107
20108         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20109         * sysdeps/gnu/_G_config.h: Likewise.
20110         * sysdeps/mach/hurd/_G_config.h: Likewise.
20111
20112 2012-02-07  Marek Polacek  <polacek@redhat.com>
20113
20114         * math/Makefile (tests): Add tst-CMPLX2.
20115         * math/tst-CMPLX2.c: New file.
20116
20117 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20118
20119         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20120
20121         * math/libm-test.inc (jn_test): Add missing L suffix.
20122
20123 2012-02-06  Marek Polacek  <polacek@redhat.com>
20124
20125         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20126         * sysdeps/i386/fpu/e_powf.S: Likewise.
20127         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20128         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20129         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20130         * sysdeps/i386/fpu/e_pow.S: Likewise.
20131         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20132         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20133         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20134         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20135         * sysdeps/i386/fpu/e_log2.S: Likewise.
20136         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20137         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20138         * sysdeps/i386/fpu/e_powl.S: Likewise.
20139         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20140         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20141         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20142         * sysdeps/i386/fpu/e_logl.S: Likewise.
20143         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20144         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20145         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20146         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20147         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20148         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20149         * sysdeps/i386/fpu/e_log.S: Likewise.
20150         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20151         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20152         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20153         * sysdeps/i386/fpu/e_logf.S: Likewise.
20154         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20155         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20156         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20157         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20158         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20159         * sysdeps/i386/fpu/e_log10.S: Likewise.
20160         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20161         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20162         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20163         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20164         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20165         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20166         * sysdeps/i386/asm-syntax.h: Likewise.
20167         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20168         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20169         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20170         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20171         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20172         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20173         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20174         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20175         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20176         * sysdeps/powerpc/sysdep.h: Likewise.
20177         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20178         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20179
20180 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20181
20182         [BZ #411]
20183         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20184
20185 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20186
20187         * sysdeps/i386/sysdep.h: Include <features.h>.
20188         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20189         version.
20190
20191 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20192
20193         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20194         Define.
20195         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20196         LOAD_PIC_REG_STR.
20197
20198 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20199
20200         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20201         (SETUP_PIC_REG): Use GET_PC_THUNK.
20202         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20203         macro.
20204
20205 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20206
20207         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20208         for non-PIC compilation.
20209         (SETUP_PIC_REG): Add .p2align directive.
20210         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20211         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20212         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20213         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20214         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20215         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20216         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20217         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20218         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20219         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20220         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20221         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20222         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20223         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20224         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20225         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20226         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20227         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20228         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20229         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20230         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20231         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20232         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20233         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20234         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20236         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20237         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20238         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20239         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20240         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20241         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20242         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20243         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20244         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20245         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20246         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20247         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20248         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20249         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20250         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20251
20252 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20253
20254         * math/tst-CMPLX.c: Include <stdio.h>.
20255
20256 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20257
20258         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20259         float.
20260         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20261         * sysdeps/sparc/bits/mathdef.h: Likewise.
20262
20263 2012-01-31  Marek Polacek  <polacek@redhat.com>
20264
20265         * libio/libio.h: Don't define _PARAMS.
20266         * locale/programs/config.h: Don't define PARAMS.
20267         * stdlib/strtol_l.c: Likewise.
20268         (__strtol_l): Remove PARAMS from the prototype.
20269
20270 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20271
20272         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20273         names.  Just use the correct names.  Remove unnecessary wrapper
20274         functions.
20275         * malloc/arena.c: Likewise.
20276         * malloc/hooks.c: Likewise.
20277
20278         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20279         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20280         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20281
20282 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20283
20284         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20285         into tail calls.
20286         (update_get_addr): New function.
20287         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20288         GET_ADDR_MODULE parameter.
20289
20290 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20291
20292         * crypt/cert.c: Remove __STDC__ conditionals.
20293         * crypt/crypt-entry.c: Likewise.
20294         * crypt/crypt_util.c: Likewise.
20295         * libio/filedoalloc.c: Likewise.
20296         * libio/fileops.c: Likewise.
20297         * libio/genops.c: Likewise.
20298         * libio/iofclose.c: Likewise.
20299         * libio/iofdopen.c: Likewise.
20300         * libio/iofopen.c: Likewise.
20301         * libio/iofopen64.c: Likewise.
20302         * libio/iogetdelim.c: Likewise.
20303         * libio/iopopen.c: Likewise.
20304         * libio/obprintf.c: Likewise.
20305         * libio/oldfileops.c: Likewise.
20306         * libio/oldiofclose.c: Likewise.
20307         * libio/oldiofdopen.c: Likewise.
20308         * libio/oldiofopen.c: Likewise.
20309         * libio/oldiopopen.c: Likewise.
20310         * libio/wfiledoalloc.c: Likewise.
20311         * libio/wgenops.c: Likewise.
20312         * locale/programs/xmalloc.c: Likewise.
20313         * misc/syslog.c: Likewise.
20314         * stdio-common/xbug.c: Likewise.
20315         * string/memchr.c: Likewise.
20316         * string/memcmp.c: Likewise.
20317         * string/memrchr.c: Likewise.
20318         * string/rawmemchr.c: Likewise.
20319         * sysdeps/posix/getcwd.c: Likewise.
20320         * time/strftime_l.c: Likewise.
20321
20322 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20323
20324         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20325         * config.make.in (config-cflags-sse2avx): Define.
20326         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20327         Fix typo.
20328
20329 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20330
20331         * scripts/config.guess: Update from upstream config git repository.
20332         * scripts/config.sub: Likewise.
20333
20334 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20335
20336         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20337         (EM_NUM): Update.
20338         (R_TILEPRO_*, R_TILEGX_*): New macros.
20339
20340         * scripts/firstversions.awk: Fix bug in version range handling.
20341
20342         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20343
20344         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20345
20346         * include/sys/epoll.h: New file.
20347         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20348         libc_hidden_def.
20349
20350 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20351
20352         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20353         Avoid unnecessary __WORDSIZE == 64 test.
20354         (fmaxf): Use VEX format if possible.
20355         (fmax): Likewise.
20356         (fminf): Likewise.
20357         (fmin): Likewise.
20358
20359         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20360         * math/math_private.h: Remove libc_fegetround* and
20361         libc_fesetround*.
20362         * sysdeps/i386/configure.in: Check for -msse2avx.
20363         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20364         also if SSE2AVX is defined.
20365         Remove libc_fegetround* and libc_fesetround*.
20366         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20367         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20368         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20369         of HAS_YMM_USABLE.
20370         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20371         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20372         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20373         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20374         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20375
20376         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20377
20378 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20379
20380         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20381         size is not set.
20382         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20383
20384 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20385
20386         [BZ #13618]
20387         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20388         relocation.
20389         * Makeconfig (libm): Define.
20390         * elf/Makefile: Add rules to build and run tst-relsort1.
20391         * elf/tst-relsort1.c: New file.
20392         * elf/tst-relsort1mod1.c: New file.
20393         * elf/tst-relsort1mod2.c: New file.
20394
20395 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20396
20397         * math/s_ldexp.c: Remove __STDC__ conditionals.
20398         * math/s_ldexpf.c: Likewise.
20399         * math/s_ldexpl.c: Likewise.
20400         * math/s_nextafter.c: Likewise.
20401         * math/s_nexttowardf.c: Likewise.
20402         * math/s_significand.c: Likewise.
20403         * math/s_significandf.c: Likewise.
20404         * math/s_significandl.c: Likewise.
20405         * math/w_jnl.c: Likewise.
20406         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20407         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20408         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20409         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20410         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20411         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20412         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20413         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20414         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20415         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20416         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20417         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20418         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20419         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20422         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20423         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20424         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20425         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20426         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20427         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20428         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20430         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20431         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20432         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20433         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20434         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20435         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20436         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20437         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20438         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20439         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20440         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20441         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20442         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20443         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20444         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20445         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20446         * sysdeps/ieee754/k_standard.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20449         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20450         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20451         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20452         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20453         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20454         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20455         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20456         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20461         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20462         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20465         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20466         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20469         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20476         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20477         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20478         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20479         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20480         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20482         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20483         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20484         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20485         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20487         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20488         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20489         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20491         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20492         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20493         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20495         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20496         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20497         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20498         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20499         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20500         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20501         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20502         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20503         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20504         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20505         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20506         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20507         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20508         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20509         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20510         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20511         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20512         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20513         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20514         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20515         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20516         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20517         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20518         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20519         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20520         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20521         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20522         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20523         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20524         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20525         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20526         * sysdeps/ieee754/s_matherr.c: Likewise.
20527         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20528         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20529         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20530         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20531
20532 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20533
20534         * crypt/md5.h: Remove __STDC__ conditionals.
20535         * libio/libioP.h: Likewise.
20536         * locale/programs/config.h: Likewise.
20537         * sysdeps/generic/sysdep.h: Likewise.
20538         * sysdeps/i386/asm-syntax.h: Likewise.
20539         * sysdeps/s390/asm-syntax.h: Likewise.
20540         * sysdeps/unix/sysdep.h: Likewise.
20541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20543
20544 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20545
20546         * libio/libio.h: Remove __STDC__ conditionals.
20547         * malloc/obstack.h: Likewise.
20548         * math/complex.h: Likewise.
20549         * math/math.h: Likewise.
20550         * sysdeps/generic/_G_config.h: Likewise.
20551         * sysdeps/gnu/_G_config.h: Likewise.
20552         * sysdeps/mach/hurd/_G_config.h: Likewise.
20553         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20554         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20555         * sysdeps/sparc/bits/mathdef.h: Likewise.
20556
20557 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20558
20559         [BZ #13583]
20560         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20561         Clean up HAS_* macros.
20562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20563         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20564         possible.
20565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20566         HAS_AVX.
20567         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20568         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20569         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20570         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20571         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20572
20573 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20574
20575         * elf/tst-unique3.cc (gets): Remove declaration.
20576         * elf/tst-unique3lib.cc (gets): Likewise.
20577         * elf/tst-unique3lib2.cc (gets): Likewise.
20578         * elf/tst-unique4.cc (gets): Likewise.
20579
20580 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20581
20582         * include/stdio.h: Add C++ protection.  Add gets declarations and
20583         definitions.
20584         * debug/tst-chk1.c: Don't declare gets here.
20585         * stdio-common/tst-gets.c: Likewise.
20586
20587 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20588
20589         * posix/glob: Remove directory.
20590
20591 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20592
20593         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20594
20595 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20596
20597         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20598         of the non-standard EPFNOSUPPORT.
20599
20600 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20601
20602         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20603         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20604         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20605
20606 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20607
20608         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20609
20610 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20611
20612         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20613         transient errors.
20614         * nscd/grpcache.c (cache_addgr): Likewise.
20615         * nscd/hstcache.c (cache_addhst): Likewise.
20616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20617         * nscd/pwdcache.c (cache_addpw): Likewise.
20618         * nscd/servicescache.c (cache_addserv): Likewise.
20619
20620 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20621
20622         * malloc/malloc.c: Various cleanups.
20623         * malloc/hooks.c: Likewise.
20624
20625         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20626         * stdlib/bug-fmtmsg1.c: New file.
20627
20628         * stdlib/fmtmsg.c (init): Add missing unlock.
20629         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20630
20631 2012-01-12  Marek Polacek  <polacek@redhat.com>
20632
20633         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20634         and _GNU_SOURCE.
20635
20636 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20637
20638         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20639         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20640         macro to ensure uniqueness of label name.
20641         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20642         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20643
20644 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20645
20646         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20647
20648         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20649         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20650         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20652
20653 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20654
20655         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20656
20657         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20658         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20659         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20660
20661         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20662
20663         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20664         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20665         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20666         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20667
20668         * math/bits/math-finite.h: Add ldexp support.
20669
20670 2012-01-10  Marek Polacek  <polacek@redhat.com>
20671
20672         * locale/programs/localedef.h (show_archive_content): Add noreturn
20673         attribute.
20674
20675 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20676
20677         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20678
20679 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20680
20681         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20682
20683         * io/Makefile (headers): Add bits/poll2.h.
20684
20685 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20686
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20688         typo #include statement.
20689
20690 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20691
20692         * include/sys/cdefs.h: Define __attribute_alloc_size.
20693         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20694         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20695         * elf/pldd.c: Likewise.
20696         * iconv/iconv_charmap.c: Likewise.
20697         * iconv/iconvconfig.c: Likewise.
20698         * iconv/strtab.c: Likewise.
20699         * locale/programs/locale.c: Likewise.
20700         * locale/programs/localedef.h: Likewise.
20701         * locale/programs/simple-hash.c: Likewise.
20702         * nscd/nscd.h: Likewise.
20703         * nss/makedb.c: Likewise.
20704         * sysdeps/generic/ldconfig.h: Likewise.
20705         * locale/programs/localedef.c: Remove xmalloc prototype.
20706         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20707
20708 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20709
20710         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20711         appropriate.
20712
20713 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20714
20715         * math/Makefile (tests): Add tst-CMPLX.
20716         * math/tst-CMPLX.c: New file.
20717
20718         * math/complex.h (CMPLXL): Fix typo.
20719
20720         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20721         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20722         GLIBC_2.16.
20723         * debug/tst-chk1.c: Add poll and ppoll tests.
20724         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20725         * include/sys/poll.h: Add hidden proto for ppoll.
20726         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20727         * sysdeps/mach/hurd/ppoll.c: Likewise.
20728         * io/ppoll.c: Likewise.
20729         * debug/poll_chk.c: New file.
20730         * debug/ppoll_chk.c: New file.
20731         * include/bits/poll2.h: New file.
20732         * io/bits/poll2.h: New file.
20733
20734         [BZ #1350]
20735         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20736
20737         * configure.in: static is always set to yes.  Remove.
20738         * config.make.in: Don't set build-static.
20739         * Makeconfig: Remove use of build-static.
20740         * dlfcn/Makefile: Likewise.
20741         * elf/Makefile: Likewise.
20742         * math/Makefile: Likewise.
20743         * misc/Makefile: Likewise.
20744         * nptl/Makefile: Likewise.
20745         * sysdeps/mach/hurd/Makefile: Likewise.
20746
20747         * configure.in: PWD_P is not used anymore.
20748         * config.make.in: Remove PWD_P entry.
20749
20750         * configure.in: Remove last remnants of RANLIB.
20751         No need to check for signed size_t anymore.
20752         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20753         and IA-64.
20754         Remove __builtin_expect test because we require at least gcc 3.4.
20755         * aclocal.m4: Likewise.
20756
20757         * wcsmbs/mbrtoc16.c: Implement using towc function.
20758         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20759         * wcsmbs/wcsmbsload.c: Likewise.
20760         * iconv/gconv_simple.c: Likewise.
20761         * iconv/gconv_int.h: Likewise.
20762         * iconv/gconv_builtin.h: Likewise.
20763         * iconv/iconv_prog.c: Remove CHAR16 handling.
20764
20765         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20766
20767         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20768
20769         * configure.in: Remove --with-elf and --enable-bounded options.
20770         Dont set base_machine for ia64.  More non-ELF conditions removed.
20771         Remove testing and setting of leading underscore information.
20772         * config.make.in (build-bounded): Set to no.
20773         * config.h.in: Remove NO_UNDERSCORES entry.
20774         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20775         them.
20776         * csu/start.c: Remove !NO_UNDERSCORE code.
20777         * locale/localeinfo.h: Likewise.
20778         * sysdeps/generic/machine-gmon.h: Likewise.
20779         * sysdeps/generic/sysdep.h: Likewise.
20780         * sysdeps/i386/sysdep.h: Likewise.
20781         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20782         * sysdeps/mach/sysdep.h: Likewise.
20783         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20784         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20785         * sysdeps/sh/sysdep.h: Likewise.
20786         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20787         * sysdeps/unix/i386/sysdep.S: Likewise.
20788         * sysdeps/unix/sparc/start.c: Likewise.
20789         * sysdeps/unix/sparc/sysdep.S: Likewise.
20790         * sysdeps/unix/sparc/sysdep.h: Likewise.
20791         * sysdeps/unix/start.c: Likewise.
20792         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20793         * sysdeps/x86_64/sysdep.h: Likewise.
20794
20795 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20796
20797         [BZ #13553]
20798         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20799         for non-gcc.
20800         * argp/argp-fmtstream.h: Use const instead __const.
20801         * argp/argp.h: Likewise.
20802         * assert/assert.h: Likewise.
20803         * bits/fenv.h: Likewise.
20804         * bits/sched.h: Likewise.
20805         * bits/sigset.h: Likewise.
20806         * bits/sigthread.h: Likewise.
20807         * catgets/nl_types.h: Likewise.
20808         * conform/data/pthread.h-data: Likewise.
20809         * crypt/crypt-private.h: Likewise.
20810         * crypt/crypt.h: Likewise.
20811         * crypt/crypt_util.c: Likewise.
20812         * ctype/ctype.h: Likewise.
20813         * debug/execinfo.h: Likewise.
20814         * debug/mbsnrtowcs_chk.c: Likewise.
20815         * debug/mbsrtowcs_chk.c: Likewise.
20816         * debug/wcsnrtombs_chk.c: Likewise.
20817         * debug/wcsrtombs_chk.c: Likewise.
20818         * debug/wcstombs_chk.c: Likewise.
20819         * dirent/dirent.h: Likewise.
20820         * dlfcn/dlfcn.h: Likewise.
20821         * elf/neededtest4.c: Likewise.
20822         * grp/grp.h: Likewise.
20823         * gshadow/gshadow.h: Likewise.
20824         * iconv/gconv.h: Likewise.
20825         * iconv/gconv_int.h: Likewise.
20826         * iconv/gconv_simple.c: Likewise.
20827         * iconv/iconv.h: Likewise.
20828         * iconv/loop.c: Likewise.
20829         * iconv/skeleton.c: Likewise.
20830         * include/aio.h: Likewise.
20831         * include/aliases.h: Likewise.
20832         * include/argz.h: Likewise.
20833         * include/arpa/inet.h: Likewise.
20834         * include/assert.h: Likewise.
20835         * include/dirent.h: Likewise.
20836         * include/dlfcn.h: Likewise.
20837         * include/execinfo.h: Likewise.
20838         * include/fcntl.h: Likewise.
20839         * include/fenv.h: Likewise.
20840         * include/glob.h: Likewise.
20841         * include/grp.h: Likewise.
20842         * include/libintl.h: Likewise.
20843         * include/mntent.h: Likewise.
20844         * include/netdb.h: Likewise.
20845         * include/pwd.h: Likewise.
20846         * include/rpc/netdb.h: Likewise.
20847         * include/sched.h: Likewise.
20848         * include/search.h: Likewise.
20849         * include/shadow.h: Likewise.
20850         * include/signal.h: Likewise.
20851         * include/stdio.h: Likewise.
20852         * include/stdlib.h: Likewise.
20853         * include/string.h: Likewise.
20854         * include/sys/socket.h: Likewise.
20855         * include/sys/stat.h: Likewise.
20856         * include/sys/statfs.h: Likewise.
20857         * include/sys/statvfs.h: Likewise.
20858         * include/sys/syslog.h: Likewise.
20859         * include/sys/time.h: Likewise.
20860         * include/sys/uio.h: Likewise.
20861         * include/time.h: Likewise.
20862         * include/unistd.h: Likewise.
20863         * include/utmp.h: Likewise.
20864         * include/wchar.h: Likewise.
20865         * include/wctype.h: Likewise.
20866         * inet/aliases.h: Likewise.
20867         * inet/arpa/inet.h: Likewise.
20868         * inet/netinet/ether.h: Likewise.
20869         * inet/netinet/in.h: Likewise.
20870         * intl/libintl.h: Likewise.
20871         * io/bits/fcntl2.h: Likewise.
20872         * io/fcntl.h: Likewise.
20873         * io/ftw.h: Likewise.
20874         * io/sys/poll.h: Likewise.
20875         * io/sys/stat.h: Likewise.
20876         * io/sys/statfs.h: Likewise.
20877         * io/sys/statvfs.h: Likewise.
20878         * io/utime.h: Likewise.
20879         * libio/bits/stdio.h: Likewise.
20880         * libio/bits/stdio2.h: Likewise.
20881         * libio/libio.h: Likewise.
20882         * libio/libioP.h: Likewise.
20883         * libio/stdio.h: Likewise.
20884         * locale/lc-ctype.c: Likewise.
20885         * locale/locale.h: Likewise.
20886         * login/utmp.h: Likewise.
20887         * malloc/arena.c: Likewise.
20888         * malloc/malloc.c: Likewise.
20889         * malloc/malloc.h: Likewise.
20890         * malloc/mcheck.c: Likewise.
20891         * malloc/mtrace.c: Likewise.
20892         * math/bits/mathcalls.h: Likewise.
20893         * math/fenv.h: Likewise.
20894         * math/math_private.h: Likewise.
20895         * misc/bits/error.h: Likewise.
20896         * misc/bits/syslog.h: Likewise.
20897         * misc/err.h: Likewise.
20898         * misc/error.h: Likewise.
20899         * misc/fstab.h: Likewise.
20900         * misc/mntent.h: Likewise.
20901         * misc/regexp.h: Likewise.
20902         * misc/search.h: Likewise.
20903         * misc/sgtty.h: Likewise.
20904         * misc/sys/mman.h: Likewise.
20905         * misc/sys/syslog.h: Likewise.
20906         * misc/sys/uio.h: Likewise.
20907         * misc/sys/xattr.h: Likewise.
20908         * misc/ttyent.h: Likewise.
20909         * nis/rpcsvc/ypclnt.h: Likewise.
20910         * nss/nss.h: Likewise.
20911         * posix/bits/unistd.h: Likewise.
20912         * posix/fnmatch.h: Likewise.
20913         * posix/glob.h: Likewise.
20914         * posix/sched.h: Likewise.
20915         * posix/spawn.h: Likewise.
20916         * posix/sys/wait.h: Likewise.
20917         * posix/unistd.h: Likewise.
20918         * posix/wordexp.h: Likewise.
20919         * pwd/pwd.h: Likewise.
20920         * resolv/netdb.h: Likewise.
20921         * resource/sys/resource.h: Likewise.
20922         * rt/aio.h: Likewise.
20923         * rt/bits/mqueue2.h: Likewise.
20924         * rt/mqueue.h: Likewise.
20925         * shadow/shadow.h: Likewise.
20926         * signal/signal.h: Likewise.
20927         * socket/send.c: Likewise.
20928         * socket/sendto.c: Likewise.
20929         * socket/sys/socket.h: Likewise.
20930         * stdio-common/printf.h: Likewise.
20931         * stdlib/bits/stdlib.h: Likewise.
20932         * stdlib/fmtmsg.h: Likewise.
20933         * stdlib/monetary.h: Likewise.
20934         * stdlib/stdlib.h: Likewise.
20935         * stdlib/ucontext.h: Likewise.
20936         * streams/stropts.h: Likewise.
20937         * string/argz.h: Likewise.
20938         * string/bits/string2.h: Likewise.
20939         * string/string.h: Likewise.
20940         * string/strings.h: Likewise.
20941         * sunrpc/rpc/auth.h: Likewise.
20942         * sunrpc/rpc/auth_des.h: Likewise.
20943         * sunrpc/rpc/clnt.h: Likewise.
20944         * sunrpc/rpc/netdb.h: Likewise.
20945         * sunrpc/rpc/pmap_clnt.h: Likewise.
20946         * sunrpc/rpc/xdr.h: Likewise.
20947         * sysdeps/generic/inttypes.h: Likewise.
20948         * sysdeps/generic/net/if.h: Likewise.
20949         * sysdeps/generic/sys/swap.h: Likewise.
20950         * sysdeps/gnu/net/if.h: Likewise.
20951         * sysdeps/gnu/utmpx.h: Likewise.
20952         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20953         * sysdeps/i386/i486/bits/string.h: Likewise.
20954         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20955         * sysdeps/s390/bits/string.h: Likewise.
20956         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20957         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20958         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20959         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20960         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20961         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20962         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20963         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20964         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20965         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20966         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20967         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20968         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20969         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20970         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20971         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20972         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20973         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20974         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20975         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20976         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20977         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20978         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20979         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20980         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20981         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20982         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20983         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20984         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20985         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20986         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20987         * sysvipc/sys/ipc.h: Likewise.
20988         * sysvipc/sys/msg.h: Likewise.
20989         * sysvipc/sys/sem.h: Likewise.
20990         * sysvipc/sys/shm.h: Likewise.
20991         * termios/termios.h: Likewise.
20992         * time/sys/time.h: Likewise.
20993         * time/time.h: Likewise.
20994         * wcsmbs/bits/wchar2.h: Likewise.
20995         * wcsmbs/uchar.h: Likewise.
20996         * wcsmbs/wchar.h: Likewise.
20997         * wctype/wctype.h: Likewise.
20998
20999         [BZ #13551]
21000         * Makeconfig: Remove all but ELF support including AIX support.
21001         * Makerules: Likewise.
21002         * config.h.in: Likewise.
21003         * config.make.in: Likewise.
21004         * configure: Likewise.
21005         * configure.in: Likewise.
21006         * csu/Makefile: Likewise.
21007         * csu/version.c: Likewise.
21008         * debug/Makefile: Likewise.
21009         * dlfcn/Makefile: Likewise.
21010         * elf/Makefile: Likewise.
21011         * extra-lib.mk: Likewise.
21012         * iconv/Makefile: Likewise.
21013         * include/libc-symbols.h: Likewise.
21014         * include/shlib-compat.h: Likewise.
21015         * resolv/Makefile: Likewise.
21016         * resolv/res_libc.c: Likewise.
21017         * rt/Makefile: Likewise.
21018         * sysdeps/i386/asm-syntax.h: Likewise.
21019         * sysdeps/i386/sysdep.h: Likewise.
21020         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21021         * sysdeps/mach/sysdep.h: Likewise.
21022         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21023         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21024         * sysdeps/s390/asm-syntax.h: Likewise.
21025         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21026         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21027         * sysdeps/sh/sysdep.h: Likewise.
21028         * sysdeps/unix/sparc/sysdep.h: Likewise.
21029         * sysdeps/wordsize-32/divdi3.c: Likewise.
21030         * sysdeps/x86_64/sysdep.h: Likewise.
21031
21032         * argp/Versions: Remove _argp_unlock_xxx.
21033
21034         [BZ #13559]
21035         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21036         * abilist/libBrokenLocale.abilist: Likewise.
21037         * abilist/libanl.abilist: Likewise.
21038         * abilist/libc.abilist: Likewise.
21039         * abilist/libcrypt.abilist: Likewise.
21040         * abilist/libdl.abilist: Likewise.
21041         * abilist/libm.abilist: Likewise.
21042         * abilist/libnsl.abilist: Likewise.
21043         * abilist/libpthread.abilist: Likewise.
21044         * abilist/libresolv.abilist: Likewise.
21045         * abilist/librt.abilist: Likewise.
21046         * abilist/libthread_db.abilist: Likewise.
21047         * abilist/libutil.abilist: Likewise.
21048         * abilist/libnss_db.abilist: New file.
21049
21050         * scripts/abilist.awk: Add support for indirect functions.
21051
21052         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21053
21054         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21055
21056         * shlib-versions: Remove entries for ports architectures.
21057
21058         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21059         files in ports.
21060         * elf/stackguard-macros.h: Remove support for IA-64.
21061         * elf/tst-auditmod1.c: Likewise.
21062         * sysdeps/generic/ldsodefs.h: Likewise.
21063
21064         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21065         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21066         configure files.
21067
21068         [BZ #13552]
21069         * configure.in: Remove --enable-omitfp support.
21070         * FAQ.in: Adjust.
21071         * config.make.in: Likewise.
21072         * Makeconfig: Likewise.
21073         * manual/install.texi: Likewise.
21074
21075         In case anyone cares, the IA-64 architecture could move to ports.
21076         * sysdeps/ia64/*: Removed.
21077         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21078         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21079
21080         [BZ #13555]
21081         * configure.in: Remove entries for unsupported architectures.
21082
21083         [BZ #13533]
21084         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21085         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21086         routines.
21087         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21088         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21089         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21090         fall back to using wcrtomb.
21091         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21092         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21093         renaming.
21094         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21095         * wcsmbs/tst-c16c32-1.c: New file.
21096
21097         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21098         local variable.
21099
21100         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21101
21102         * elf/tst-unique3.cc: Add explicit declaration of gets.
21103         * elf/tst-unique3lib.cc: Likewise.
21104         * elf/tst-unique3lib2.cc: Likewise.
21105         * elf/tst-unique4.cc: Likewise.
21106
21107         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21108
21109 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21110
21111         [BZ #13566]
21112         * assert/assert.h (static_assert): Don't define for C++.
21113         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21114         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21115
21116 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21117
21118         * iconv/loop.c (single loop): Fix assertion in storing of
21119         remaining bytes.
21120
21121         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21122
21123 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21124
21125         * posix/getconf.c: Update copyright year.
21126         * nss/getent.c: Likewise.
21127         * nss/makedb.c: Likewise.
21128         * iconv/iconvconfig.c: Likewise.
21129         * iconv/iconv_prog.c: Likewise.
21130         * elf/ldconfig.c: Likewise.
21131         * elf/pldd.c: Likewise.
21132         * elf/sotruss.ksh: Likewise.
21133         * catgets/gencat.c: Likewise.
21134         * csu/version.c: Likewise.
21135         * elf/ldd.bash.in: Likewise.
21136         * elf/sprof.c (print_version): Likewise.
21137         * locale/programs/locale.c: Likewise.
21138         * locale/programs/localedef.c: Likewise.
21139         * login/programs/pt_chown.c: Likewise.
21140         * nscd/nscd.c (print_version): Likewise.
21141         * debug/xtrace.sh: Likewise.
21142         * malloc/memusage.sh: Likewise.
21143         * malloc/mtrace.pl: Likewise.
21144         * debug/catchsegv.sh: Likewise.
21145
21146 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21147
21148         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21149         pure attribute.
21150
21151 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21152
21153         [BZ #13533]
21154         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21155         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21156         transformations.
21157         * iconv/gconv_int.h: Likewise.
21158         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21159         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21160         from libc for GLIBC_2.16.
21161         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21162         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21163         * wcsmbs/uchar.h: Really define mbstate_t.
21164         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21165         * wcsmbs/c16rtomb.c: New file.
21166         * wcsmbs/mbrtoc16.c: New file.
21167         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21168         for C/POSIX locale.
21169         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21170         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21171
21172         * wcsmbs/wchar.h: Add missing __restrict.
21173
21174 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21175
21176         [BZ #13532]
21177         * time/Makefile (routines): Add timespec_get.
21178         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21179         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21180         timespec for ISO C11.
21181         * time/timespec_get.c: New file.
21182         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21183         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21184
21185         [BZ #13531]
21186         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21187         * stdlib/stdlib.h: Declare aligned_alloc.
21188         * Versions.def: Add GLIBC_2.16 for libc.
21189         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21190
21191         [BZ 13527]
21192         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21193         ISO C11.
21194
21195         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21196         code.
21197
21198         [BZ #13528]
21199         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21200
21201         [BZ #13529]
21202         * assert/assert.h (static_assert): Define.
21203
21204         * version.h: Update for 2.16 development version.
21205
21206         [BZ #13526]
21207         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21208         _ISOC11_SOURCE.
21209
21210         * version.h (RELEASE): Bump for 2.15 release.
21211         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21212
21213         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21214         Patch by Marek Polacek <mpolacek@redhat.com>.
21215
21216         * bits/byteswap.h: Protect long long constants with __extension__.
21217         * sysdeps/i386/bits/byteswap.h: Likewise.
21218         * sysdeps/ia64/bits/byteswap.h: Likewise.
21219         * sysdeps/s390/bits/byteswap.h: Likewise.
21220         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21221
21222 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21223
21224         [BZ #13540]
21225         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21226         destination buffer.
21227         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21228
21229 2011-12-23  Marek Polacek  <polacek@redhat.com>
21230
21231         * elf/dl-addr.c (determine_info): Add inline keyword.
21232         * elf/tst-auditmod4b.c (check_avx): Likewise.
21233         * elf/tst-auditmod6b.c (check_avx): Likewise.
21234         * elf/tst-auditmod6c.c (check_avx): Likewise.
21235         * elf/tst-auditmod7b.c (check_avx): Likewise.
21236
21237 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21238
21239         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21240         !__SSE_MATH__.
21241
21242 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21243
21244         [BZ #13540]
21245         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21246         processing for last bytes.
21247
21248 2011-08-06  Bruno Haible  <bruno@clisp.org>
21249
21250         [BZ #13061]
21251         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21252         U+0385, not to U+1FEE.
21253
21254         [BZ #13062]
21255         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21256         entry for U+00A5 U+0301.
21257
21258 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21259
21260         [BZ #13166]
21261         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21262         buffer for the output is too small.
21263
21264         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21265         optimization.
21266
21267         [BZ #13185]
21268         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21269         SSE flags if possible.
21270
21271 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21272
21273         [BZ #13540]
21274         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21275         processing for last bytes.
21276
21277 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21278
21279         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21280         (syscall-list-default-options, syscall-list-default-condition)
21281         (syscall-list-includes): Define.
21282         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21283         list of ABIs and options and #if conditions for each ABI.  Do not
21284         handle common syscalls between ABIs specially.
21285         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21286         Remove.
21287         (syscall-list-variants, syscall-list-32bit-options)
21288         (syscall-list-32bit-condition, syscall-list-64bit-options)
21289         (syscall-list-64bit-condition): Define.
21290         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21291         (syscall-list-variants, syscall-list-32bit-options)
21292         (syscall-list-32bit-condition, syscall-list-64bit-options)
21293         (syscall-list-64bit-condition): Define.
21294         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21295         Remove.
21296         (syscall-list-variants, syscall-list-32bit-options)
21297         (syscall-list-32bit-condition, syscall-list-64bit-options)
21298         (syscall-list-64bit-condition): Define.
21299         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21300         Remove.
21301         (syscall-list-variants, syscall-list-32bit-options)
21302         (syscall-list-32bit-condition, syscall-list-64bit-options)
21303         (syscall-list-64bit-condition): Define.
21304
21305 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21306
21307         * locale/iso-639.def: Add brx entry.
21308
21309         [BZ #13328]
21310         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21311         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21312
21313         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21314         __feraiseexcept_renamed.
21315
21316 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21317
21318         [BZ #13538]
21319         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21320         EPOLLET with unsigned values.
21321         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21323
21324         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21325         to large cancellation.
21326         * math/s_cacoshf.c: Likewise.
21327         * math/s_cacoshl.c: Likewise.
21328
21329 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21330
21331         [BZ #13305]
21332         [BZ #12786]
21333         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21334         * math/s_cacoshf.c: Likewise.
21335         * math/s_cacoshl.c: Likewise.
21336
21337 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21338
21339         [BZ #13439]
21340         * iconv/gconv.h: Define __GCONV_SWAP.
21341         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21342         * iconvdata/utf-16.c: Likewise.
21343         * iconvdata/utf-32.c: Likewise.
21344
21345 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21346
21347         [BZ #13524]
21348         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21349         numerator after shifting it by one limb.
21350
21351 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21352
21353         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21354         under [__USE_EXTERN_INLINES].
21355
21356 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21357
21358         [BZ #13446]
21359         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21360
21361 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21362
21363         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21364         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21365         optimized code.
21366         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21367         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21368         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21369         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21370         for strncasecmp/strncasecmp_l compilation.
21371         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21372         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21373
21374 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21375
21376         [BZ #13484]
21377         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21378         of __asm__.
21379
21380 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21381
21382         [BZ #13506]
21383         * time/tzfile.c (__tzfile_read): Check values from file header.
21384
21385 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21386
21387         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21388         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21389         * powerpc/powerpc32/dl-start.S: Likewise.
21390         * powerpc/powerpc32/elf/start.S: Likewise.
21391         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21392         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21393         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21394         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21395         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21396         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21397         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21398         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21399         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21400         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21401         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21402         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21403         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21404         * powerpc/powerpc32/memset.S: Likewise.
21405         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21406         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21407         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21408         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21409         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21410         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21411         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21412         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21413         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21414         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21415         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21416         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21417         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21418
21419 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21420
21421         * math/libm-test.inc: Added more nearbyint tests.
21422         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21423         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21424         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21426
21427 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21428
21429         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21430         FD_CLOEXEC.
21431
21432 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21433
21434         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21435         Add wcscpy-ssse3 wcscpy-c.
21436         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21437         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21438         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21439         * sysdeps/x86_64/wcschr.S: New file.
21440         * sysdeps/x86_64/wcsrchr.S: New file.
21441         * string/test-strcmp.c: Remove checking of wcscmp function for
21442         wrong alignments.
21443         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21444         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21445         wcsrchr-sse2 wcsrchr-c.
21446         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21447         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21448         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21449         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21450         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21451         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21452         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21453         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21454         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21455         * wcsmbc/wcschr.c (WCSCHR): New macro.
21456
21457 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21458
21459         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21460         * wcsmbs/test-wcsrchr.c: New file.
21461         * string/test-strrchr.c: Add wcsrchr support.
21462         (WIDE): New macro.
21463         * wcsmbs/test-wcscpy.c: New file.
21464         * string/test-strcpy.c: Add wcscpy support.
21465         (WIDE): New macro.
21466
21467 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21468
21469         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21470         the inner loop.
21471
21472 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21473
21474         [BZ #13472]
21475         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21476
21477 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21478
21479         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21480         Minor optimizations.
21481
21482         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21483         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21484         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21485
21486 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21487
21488         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21489         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21490         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21491         for gcc to avoid warnings.
21492         * inet/Makefile (tests): Add tst-checks.
21493         * inet/tst-checks.c: New file.
21494
21495         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21496         warning.
21497
21498         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21499         __wmemcmp_sse2.
21500
21501         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21502         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21503
21504         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21505
21506 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21507
21508         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21509         problem.
21510
21511         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21512
21513 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21514
21515         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21516         conditional on GCC version.
21517         (__arch_compare_and_exchange_val_8_acq)
21518         (__arch_compare_and_exchange_val_16_acq)
21519         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21520         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21521         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21522
21523 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21524
21525         * sysdeps/sh/backtrace.c: New file.
21526
21527 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21528
21529         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21530         parenthesis.
21531
21532 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21533
21534         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21535         falling back to utime.
21536
21537 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21538
21539         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21540         expectations for float.
21541
21542 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21543
21544         * locale/weight.h (findidx): Add parameter len.
21545         * locale/weightwc.h (findidx): Likewise.
21546         * posix/fnmatch_loop.c (FCT): Adjust caller.
21547         * posix/regcomp.c (build_equiv_class): Likewise.
21548         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21549         * posix/regexec.c (check_node_accept_bytes): Likewise.
21550         * string/strcoll_l.c (STRCOLL): Likewise.
21551         * string/strxfrm_l.c (STRXFRM): Likewise.
21552
21553 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21554
21555         * Makefile.in: Remove CVSOPT handling.
21556         * configure.in: Remove use of AC_REVISION.
21557         * iconvdata/Makefile (distribute): No need to filter out CVS.
21558         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21559         handling.
21560
21561 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21562
21563         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21564         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21565         [USE_AS_STRNCASECMP_L]: Likewise.
21566         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21567         NO_TLS_DIRECT_SEG_REFS.
21568         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21569         Fix argument offsets for non-PIC.
21570         [USE_AS_STRNCASECMP_L]: Likewise.
21571         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21572         NO_TLS_DIRECT_SEG_REFS.
21573
21574 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21575
21576         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21577         O_CLOEXEC.
21578         * locale/loadlocale.c (_nl_load_locale): Likewise.
21579
21580 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21581
21582         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21583         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21584         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21585         (SYSCALL_GETTIME): Set errno on error.
21586
21587         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21588         count references to noai6ai_cached.
21589
21590 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21591
21592         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21593
21594         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21595         FD_CLOEXEC for /proc/self/maps.
21596
21597         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21598         FD_CLOEXEC for /proc/meminfo.
21599
21600         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21601         gai.conf.
21602
21603         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21604         FD_CLOEXEC for given file.
21605
21606         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21607
21608         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21609         FD_CLOEXEC for /etc/hosts.
21610         (_gethtent): Likewise.
21611
21612         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21613
21614         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21615         cancellation and set FD_CLOEXEC for /etc/netgroup.
21616
21617         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21618         reading /etc/publickey.
21619
21620         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21621         allow cancellation when reading /etc/group.
21622
21623         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21624         cancellation.
21625         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21626
21627         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21628         when using data file.
21629
21630         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21631
21632         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21633         (write_nis_obj): Use "c" and "e" in fopen.
21634
21635         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21636
21637         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21638
21639         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21640
21641         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21642
21643         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21644         locale.alias.
21645
21646         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21647
21648         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21649
21650         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21651
21652         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21653         file parsing and set FD_CLOEXEC.
21654
21655 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21656
21657         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21658
21659 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21660
21661         * malloc/arena.c (arena_get2): Don't call reused_arena when
21662         _int_new_arena failed.
21663
21664 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21665
21666         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21667         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21668         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21669         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21670         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21671         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21672         to compile strcasecmp and strncasecmp.
21673         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21674         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21675
21676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21677
21678 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21679
21680         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21681         locale-defines.sym to gen-as-const-headers.
21682         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21683         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21684         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21685         to compile strcasecmp and strncasecmp.
21686         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21687         strcasecmp_l and strncasecmp_l.
21688         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21689         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21690         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21691         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21692         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21693         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21694         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21695         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21696         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21697         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21698         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21699
21700 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21701
21702         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21703         result of SYSDEP_GETTIME_CPU to retval.
21704         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21705         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21706
21707         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21708         variable.
21709
21710         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21711         mantissa words.
21712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21713
21714         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21715         from unused variable.
21716
21717         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21718         DWARF definitions.
21719         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21720         for assembling.
21721
21722         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21723         over namespaces.
21724
21725         * sunrpc/rpc_prot.c (rejected): Fix case value.
21726
21727         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21728         unsigned long long int to avoid warnings in shift.
21729
21730         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21731         of use of trans.
21732         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21733         variable tmp.
21734
21735         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21736         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21737         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21738
21739         * nis/nis_table.c (nis_list): Use variable of correct type for
21740         result of __follow_path call.
21741
21742 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21743
21744         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21745         of math functions ceil, trunc, floor, round, and sqrt, when
21746         avaliable on the platform.
21747         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21748         name clash.
21749         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21750         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21751         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21752
21753 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21754
21755         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21756         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21757
21758 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21759
21760         * include/unistd.h: Fix __readlink return type.
21761         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21762
21763 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21764
21765         * stdlib/ucontext.h: Undo last change for makecontext.
21766
21767 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21768
21769         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21770
21771         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21772         * setjmp/setjmp.h: Mark functions as non-leaf.
21773         * setjmp/bits/setjmp2.h: Likewise.
21774         * stdlib/ucontext.h: Likewise.
21775
21776 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21777
21778         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21779         (reused_arena): Don't check arena limit.
21780         (arena_get2): Atomically check arena limit.
21781
21782 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21783
21784         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21785         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21786
21787         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21788         instructions.
21789
21790 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21791
21792         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21793         handler when locking.
21794
21795         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21796         Fix size of allocated buffer.
21797
21798 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21799
21800         [BZ #10103]
21801         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21802         declarations for long double functions.
21803         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21804
21805         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21806
21807 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21808
21809         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21810         installed.
21811
21812         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21813         is disabled.
21814
21815 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21816
21817         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21818
21819 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21820
21821         * include/alloca.h (stackinfo_alloca_round): Define.
21822         (extend_alloca): Use it.
21823         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21824         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21825         here.
21826
21827         * scripts/check-local-headers.sh: Ignore libaudit.h.
21828
21829         * nscd/Makefile (extra-objs): Make recursively expanded.
21830
21831 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21832
21833         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21835
21836         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21837         * posix/tst-rfc3484-2.c: Likewise.
21838         * posix/tst-rfc3484-3.c: Likewise.
21839
21840         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21841         process_vm_writev.
21842         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21843         process_vm_writev.
21844         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21845         process_vm_writev from libc using GLIBC_2.15 version.
21846
21847         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21848
21849 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21850
21851         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21852         stack usage.
21853
21854 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21855
21856         [BZ #13367]
21857         * nss/getent.c (initgroups_keys): Show error message in case no group
21858         names are given.
21859
21860         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21861         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21862         __bump_nl_timestamp.
21863         * nscd/connections (nscd_init): When host database is served open
21864         netlink socket and request notification about configuration changes.
21865         (main_loop_poll): Track netlink file descriptor and bump timestamp
21866         in case data becomes available.
21867         (main_loop_epoll): Likewise.
21868         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21869         (database_pers_head): Add extra_data fileds.
21870         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21871         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21872         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21873         Adjust caller.
21874         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21875         in6ai data, call __free_in6ai.
21876         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21877         Add -DHAVE_NETLINK.
21878         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21879         interface information.  Reuse previous data if netlink timestamp
21880         is not changed.
21881         (__bump_nl_timestamp): New function.
21882         (__free_in6ai): New function.
21883
21884 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21885
21886         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21887         close_not_cancel_no_status here.
21888         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21889
21890 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21891
21892         [BZ #13276]
21893         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21894         return value.
21895
21896         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21897         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21898         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21899
21900 2011-07-03  Andreas Jaeger  <aj@suse.de>
21901
21902         [BZ #10709]
21903         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21904         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21905         * math/libm-test.inc (sin_test): Add test case.
21906
21907 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21908
21909         [BZ #13337]
21910         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21911         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21912
21913         * elf/chroot_canon.c (chroot_canon): Cleanups.
21914
21915         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21916
21917         [BZ #13335]
21918         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21919         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21920
21921         * string/test-strchr.c: Make usable for strchrnul testing.
21922         * string/test-strchrnul.c: New file.
21923         * string/Makefile (strop-tests): Add strchrnul.
21924
21925         * po/it.po: Update from translation team.
21926         * po/es.po: Likewise.
21927
21928 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21929
21930         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21931         the three constants needed as parameters.  Drop the others.
21932         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21933         __m128i_strloadu_tolower.
21934         Create and initialize variable zero and use it in all the places
21935         where _mm_setzero_si128 was used.
21936
21937         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21938         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21939         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21940         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21941         anymore.
21942         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21943         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21944         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21945         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21946         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21947         __mpranred, __mptan.
21948         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21949         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21950         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21951         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21952         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21953         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21954         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21955         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21956         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21957
21958 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21959
21960         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21961         redefine if SHARED.
21962         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21963
21964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21965         wide char related routines to wcsmbs subdir.
21966
21967 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21968
21969         [BZ #13344]
21970         * misc/sys/cdefs.h (__THROWNL): Define.
21971         * posix/unistd.h: Use __THREADNL instead of __THREAD
21972         for memory synchronization functions.
21973
21974 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21975
21976         [BZ #13349]
21977         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21978         doesn't exist.
21979         * manual/stdio.texi (Obstack Streams): Node removed.
21980
21981 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21982
21983         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21984         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21985         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21986
21987         * math/math_private.h (math_force_eval): Allow non-addressable
21988         arguments.
21989         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21990
21991 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21992
21993         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21994         file is not needed.
21995
21996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21997         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21998         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21999         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22000         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22002         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22003         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22004         Add AVX variants.
22005         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22006         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22007         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22008         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22009         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22010         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22011         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22012         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22013         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22014         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22015         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22016         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22017         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22018         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22019         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22020         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22021         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22022         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22023         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22024
22025         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22026         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22027
22028         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22029         place.  Use VEX encoding when compiling for AVX.
22030
22031 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22032
22033         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22034         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22035
22036         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22037
22038 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22039
22040         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22041         useless if() expression.
22042         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22045         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22047         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22048         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22049         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22050         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22051         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22052         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22053         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22054         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22055         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22056         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22057         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22058         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22059         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22060         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22061
22062         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22063
22064 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22065
22066         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22067         condition.
22068         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22069
22070 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22071
22072         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22073         .text section.  Avoid duplicate constants.
22074         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22075         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22076         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22077         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22079         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22080         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22081         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22082         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22083         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22084         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22085         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22086         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22087         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22088         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22089         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22090         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22091         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22092         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22094         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22095         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22096         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22097         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22098         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22099         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22100         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22101         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22102         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22103         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22104         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22105         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22106         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22107         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22108         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22109         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22110         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22111         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22112         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22113         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22114         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22115         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22116         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22117         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22118         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22119
22120 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22121
22122         * sysdeps/x86_64/dla.h: Move to ...
22123         * sysdeps/x86_64/fpu/dla.h: ...here.
22124         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22125         situations.  Use __builtin_fma only for gcc 4.6 and up.
22126
22127         * config.make.in: Add have-mfma4 entry.
22128         * configure.in: Substitute libc_cv_cc_fma4.
22129         * math/Makefile (dbl-only-routines): Add sincostab.
22130         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22131         Use __sincostab not sincos.
22132         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22133         name is a macro.
22134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22138         using __copysign.
22139         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22140         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22141         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22142         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22143         and __inv.
22144         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22145         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22146         __copysign.
22147         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22148         define aliases when function name is a macro.
22149         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22150         sysdeps/ieee754/dbl-64/sincos.tbl.
22151         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22152         fma4-enabled routines.
22153         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22154         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22155         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22156         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22157         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22158         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22160         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22161         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22162         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22163         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22164         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22165         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22166         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22167         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22168         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22169         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22170         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22171         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22172         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22173         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22174         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22175         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22176         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22177         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22178         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22179         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22180         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22181         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22182         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22183
22184         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22185         rename.
22186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22193         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22194
22195 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22196
22197         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22198
22199 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22200
22201         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22202
22203         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22204         prediction.
22205         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22206
22207         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22208         Remove unused variable magic_bits.
22209         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22210
22211         * string/strnlen.c: Define and use STRNLEN macro.
22212         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22213         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22214         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22215         * wcsmbs/wcslen.c: Define and use WCSLEN.
22216         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22217         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22218         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22219         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22220         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22221         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22222         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22223
22224 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22225
22226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22227         strnlen-sse2-no-bsf.
22228         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22229         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22230         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22231         Add strnlen support.
22232         (USE_AS_STRNLEN): New macro.
22233         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22234         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22235         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22236         * sysdeps/x86_64/wcslen.S: New file.
22237
22238 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22239
22240         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22241         XMM-moves are used for copying on small sizes.
22242
22243 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22244
22245         * wcsmbs/Makefile (strop-tests): Add wcschr.
22246         * wcsmbs/test-wcschr.c: New file.
22247         * string/test-strchr.c: Update.
22248         Add wcschr support.
22249         (WIDE): New macro.
22250
22251 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22252
22253         * wcsmbs/Makefile (strop-tests): Add wcslen.
22254         * wcsmbs/test-wcslen.c: New file.
22255         * string/test-strlen.c: Update.
22256         Add wcslen support.
22257         (WIDE): New macro.
22258
22259 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22260
22261         * po/it.po: Update from translation team.
22262
22263 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22264
22265         * sysdeps/x86_64/wcscmp.S: Update.
22266         Fix wrong comparison semantics.
22267         wcscmp shall use signed comparison not unsigned.
22268         Don't use substraction to avoid overflow bug.
22269         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22270         * wcsmbc/wcscmp.c: Likewise.
22271         * string/test-strcmp.c: Likewise.
22272         Add new tests to check cases with negative values.
22273
22274 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22275
22276         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22277         * sysdeps/x86_64/dla.h: ...here.  New file.
22278         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22279         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22280         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22281         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22283         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22284         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22285         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22287
22288 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22289
22290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22291         __ynl_finite aliases.
22292
22293 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22294
22295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22296
22297         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22298         define DLA_FMA.
22299         [DLA_FMA] (EMULV): Use DLA_FMA.
22300         [DLA_FMA] (MUL12): Use EMULV.
22301         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22302         that are not needed.
22303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22305         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22306         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22307         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22308         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22309         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22310
22311 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22312
22313         * math/s_nan.c: Undef __nan.
22314         * math/s_nanf.c: Undef __nanf.
22315         * math/s_nanl.c: Undef __nanl.
22316         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22317         "math_private.h".
22318
22319 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22320
22321         * math/s_catan.c: Add branch predictions.
22322         * math/s_catanf.c: Likewise.
22323         * math/s_catanh.c: Likewise.
22324         * math/s_catanhf.c: Likewise.
22325         * math/s_catanhl.c: Likewise.
22326         * math/s_catanl.c: Likewise.
22327         * math/s_cexp.c: Likewise.
22328         * math/s_cexpf.c: Likewise.
22329         * math/s_cexpl.c: Likewise.
22330         * math/s_clog.c: Likewise.
22331         * math/s_clog10.c: Likewise.
22332         * math/s_clog10f.c: Likewise.
22333         * math/s_clog10l.c: Likewise.
22334         * math/s_clogf.c: Likewise.
22335         * math/s_clogl.c: Likewise.
22336         * math/s_csqrt.c: Likewise.
22337         * math/s_csqrtf.c: Likewise.
22338         * math/s_csqrtl.c: Likewise.
22339         * math/s_ctanf.c: Likewise.
22340         * math/s_ctanh.c: Likewise.
22341         * math/s_ctanhf.c: Likewise.
22342         * math/s_ctanhl.c: Likewise.
22343         * math/s_ctanl.c: Likewise.
22344
22345         * math/math_private.h: Define __nan, __nanf, __nanl.
22346         * math/s_cacosh.c: Include <math_private.h>.
22347         * math/s_cacoshl.c: Likewise.
22348         * math/s_casinh.c: Likewise.
22349         * math/s_casinhf.c: Likewise.
22350         * math/s_casinhl.c: Likewise.
22351         * math/s_ccos.c: Rely entire on ccosh.
22352         * math/s_ccosf.c: Rely entire on ccoshf.
22353         * math/s_ccosl.c: Rely entirely on ccoshl.
22354         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22355         Remove tests for FE_INVALID.
22356         * math/s_ccoshf.c: Likewise.
22357         * math/s_ccoshl.c: Likewise.
22358         * math/s_csin.c: Likewise.
22359         * math/s_csinf.c: Likewise.
22360         * math/s_csinh.c Likewise.
22361         * math/s_csinhf.c: Likewise.
22362         * math/s_csinhl.c: Likewise.
22363         * math/s_csinl.c: Likewise.
22364         * math/s_ctan.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22366         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22367         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22368
22369 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22370
22371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22372         compilation problems.
22373
22374         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22375         __builtin_expect.
22376
22377 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22378
22379         * sysdeps/i386/configure.in: Test for -mfma4 option.
22380         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22381         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22382         COMMON_CPUID_INDEX_80000001.
22383         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22384         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22385         use it if FMA3 is not supported.
22386         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22387
22388         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22389         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22390
22391 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22392
22393         [BZ #12892]
22394         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22395         it would create a cycle with a link time dependency.
22396
22397 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22398
22399         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22400         instruction.
22401         * string/Makefile (strop-tests): Add rawmemchr.
22402         * string/test-rawmemchr.c: New file.
22403
22404         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22405         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22406         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22407         when compiling str{,n}casecmp and when AVX is available.  Hook up
22408         new optimized code in initializers.
22409
22410 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22411
22412         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22413         __feraiseexcept instead of feraiseexcept.
22414
22415 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22416
22417         * math/math_private.h: Define defaults for libc_fetestexcept and
22418         libc_feupdateenv.
22419         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22420         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22421         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22422         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22423         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22424         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22425         libc_fetestexcept and libc_feupdateenv.
22426
22427         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22428         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22429         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22430         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22431         libc_feholdexcept_setround.
22432
22433         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22434         Add s_nearbyint-c and s_nearbyintf-c.
22435         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22436         nearbyintf inlines.
22437         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22438         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22439         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22440         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22441
22442         * math/math_private.h: Define defaults for libc_fegetround,
22443         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22444         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22445         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22446         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22447         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22448         standard functions.
22449         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22450         Remove comments and hacks for old compiler versions.
22451         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22452         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22453         libc_feholdexceptl.
22454
22455 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22456
22457         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22458         (__feraiseexcept_renamed): Add __NTH.
22459         (feraiseexcept): Add __NTH.  Rename local variables to fix
22460         namespace violations.
22461
22462 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22463
22464         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22465
22466         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22467
22468         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22469         recently added interfaces.
22470         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22471
22472         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22473         about macro parameter expansion.
22474
22475         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22476         __NO_MATH_INLINES is defined.  Cleanups.
22477
22478         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22479         and __floorf is target has SSE4.1.
22480         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22481         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22482         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22483         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22484
22485         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22486         name.
22487         (floorf): Likewise.
22488
22489         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22490
22491 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22492
22493         * misc/sys/cdefs.h: Fix last change.
22494
22495         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22496         database lookup.
22497
22498 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22499
22500         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22501
22502         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22503         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22508         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22509         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22510         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22511         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22512         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22513         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22514         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22515         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22516         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22517         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22518         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22519         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22520         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22521         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22522         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22523         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22524
22525         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22526         ceil, ceilf, floor, floorf.
22527
22528         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22529         Perform IRELATIVE relocations last.
22530
22531         * elf/do-rel.h: Add another parameter nrelative, replacing the
22532         local variable with the same name.  Change name of the function
22533         to end in Rel or Rela (uppercase).
22534         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22535         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22536         elf_dynamic_do_##reloc function.
22537
22538 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22539
22540         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22541         is sufficient, at least on modern CPUs.
22542
22543         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22544
22545         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22546         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22547
22548         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22549         __expl_finite.
22550         * math/bits/math-finite.h: Add entries for exp.
22551         * math/e_expl.c: Add __*_finite alias.
22552         * sysdeps/i386/fpu/e_exp.S: Likewise.
22553         * sysdeps/i386/fpu/e_expf.S: Likewise.
22554         * sysdeps/i386/fpu/e_expl.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22556         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22557         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22559         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22560         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22561         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22562
22563         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22564         is sufficient, at least on modern CPUs.
22565
22566         * ctype/ctype-info.c (__ctype_init): Define.
22567         * include/ctype.h (__ctype_init): Declare.
22568         (__ctype_b_loc): The variable is always initialized.
22569         (__ctype_toupper_loc): Likewise.
22570         (__ctype_tolower_loc): Likewise.
22571         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22572         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22573
22574 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22575
22576         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22577
22578         * configure.in: Also look in $cxxmachine/include for C++ system
22579         headers.
22580
22581 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22582
22583         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22584         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22585         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22586         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22587         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22588         (USE_AS_WMEMCMP): New macro.
22589         Fixing indents.
22590         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22591         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22592         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22593         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22594         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22595         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22596         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22597         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22598         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22599         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22600         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22601         (USE_AS_WMEMCMP): New macro.
22602         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22603         * sysdeps/string/test-memcmp.c: Update.
22604         Fix simple_wmemcmp.
22605         Add new tests.
22606         * wcsmbs/wmemcmp.c: Update.
22607         (WMEMCMP): New macro.
22608         Fix overflow bug.
22609
22610 2011-10-12  Andreas Jaeger  <aj@suse.de>
22611
22612         [BZ #13268]
22613         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22614
22615 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22616
22617         * libio/iofwide.c (do_length): Avoid warning.
22618
22619         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22620
22621 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22622
22623         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22624
22625         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22626         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22627         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22628         * sysdeps/i386/i686/fpu/e_log.S: New file.
22629         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22630         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22631
22632         * ctype/ctype.h: Add support for inlined isXXX functions when
22633         compiling C++ code.
22634
22635 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22636
22637         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22638
22639         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22640
22641 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22642
22643         [BZ #13291]
22644         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22645
22646 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22647
22648         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22649         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22650         feraiseexcept.
22651
22652         * sysdeps/x86_64/memrchr.S: Check for zero size.
22653
22654         * string/stratcliff.c: Add memrchr tests.
22655
22656 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22657
22658         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22659         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22660         rawmemchr-sse2 rawmemchr-sse2-bsf.
22661         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22662         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22663         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22664         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22665         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22666         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22667         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22668         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22669         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22670         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22671         * string/memrchr.c (MEMRCHR): New macro.
22672
22673 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22674
22675         Add integration with gcc's -ffinite-math-only and optimize wrapper
22676         functions in libm.
22677         * Versions.def: Define GLIBC_2.15 version for libm.
22678         * math/Makefile (headers): Add bits/math-finite.h.
22679         * math/bits/math-finite.h: New file.
22680         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22681         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22682         * math/e_acoshl.c: Add __*_finite alias.
22683         * math/e_acosl.c: Likewise.
22684         * math/e_asinl.c: Likewise.
22685         * math/e_atan2l.c: Likewise.
22686         * math/e_atanhl.c: Likewise.
22687         * math/e_coshl.c: Likewise.
22688         * math/e_exp10.c: Likewise.
22689         * math/e_exp10f.c: Likewise.
22690         * math/e_exp10l.c: Likewise.
22691         * math/e_exp2l.c: Likewise.
22692         * math/e_fmodl.c: Likewise.
22693         * math/e_gammal_r.c: Likewise.
22694         * math/e_hypotl.c: Likewise.
22695         * math/e_j0l.c: Likewise.
22696         * math/e_j1l.c: Likewise.
22697         * math/e_jnl.c: Likewise.
22698         * math/e_lgammal_r.c: Likewise.
22699         * math/e_log10l.c: Likewise.
22700         * math/e_log2l.c: Likewise.
22701         * math/e_logl.c: Likewise.
22702         * math/e_powl.c: Likewise.
22703         * math/e_sinhl.c: Likewise.
22704         * math/e_sqrtl.c: Likewise.
22705         * math/e_scalb.c: Completely rewritten and optimized.
22706         * math/e_scalbf.c: Likewise.
22707         * math/e_scalbl.c: Likewise.
22708         * math/w_acos.c: Likewise.
22709         * math/w_acosf.c: Likewise.
22710         * math/w_acosl.c: Likewise.
22711         * math/w_acosh.c: Likewise.
22712         * math/w_acoshf.c: Likewise.
22713         * math/w_acoshl.c: Likewise.
22714         * math/w_asin.c: Likewise.
22715         * math/w_asinf.c: Likewise.
22716         * math/w_asinl.c: Likewise.
22717         * math/w_atan2.c: Likewise.
22718         * math/w_atan2f.c: Likewise.
22719         * math/w_atan2l.c: Likewise.
22720         * math/w_atanh.c: Likewise.
22721         * math/w_atanhf.c: Likewise.
22722         * math/w_atanhl.c: Likewise.
22723         * math/w_exp10.c: Likewise.
22724         * math/w_exp10f.c: Likewise.
22725         * math/w_exp10l.c: Likewise.
22726         * math/w_fmod.c: Likewise.
22727         * math/w_fmodf.c: Likewise.
22728         * math/w_fmodl.c: Likewise.
22729         * math/w_j0.c: Likewise.
22730         * math/w_j0f.c: Likewise.
22731         * math/w_j0l.c: Likewise.
22732         * math/w_j1.c: Likewise.
22733         * math/w_j1f.c: Likewise.
22734         * math/w_j1l.c: Likewise.
22735         * math/w_jn.c: Likewise.
22736         * math/w_jnf.c: Likewise.
22737         * math/w_log.c: Likewise.
22738         * math/w_logf.c: Likewise.
22739         * math/w_logl.c: Likewise.
22740         * math/w_log10.c: Likewise.
22741         * math/w_log10f.c: Likewise.
22742         * math/w_log10l.c: Likewise.
22743         * math/w_log2.c: Likewise.
22744         * math/w_log2f.c: Likewise.
22745         * math/w_log2l.c: Likewise.
22746         * math/w_pow.c: Likewise.
22747         * math/w_powf.c: Likewise.
22748         * math/w_powl.c: Likewise.
22749         * math/w_remainder.c: Likewise.
22750         * math/w_remainderf.c: Likewise.
22751         * math/w_remainderl.c: Likewise.
22752         * math/w_scalb.c: Likewise.
22753         * math/w_scalbf.c: Likewise.
22754         * math/w_scalbl.c: Likewise.
22755         * math/w_sqrt.c: Likewise.
22756         * math/w_sqrtf.c: Likewise.
22757         * math/w_sqrtl.c: Likewise.
22758         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22759         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22760         used.
22761         * math/math_private.h: Declare __kernel_standard_f.
22762         * math/w_cosh.c: Remove cruft and optimize a bit.
22763         * math/w_coshf.c: Likewise.
22764         * math/w_coshl.c: Likewise.
22765         * math/w_exp2.c: Likewise.
22766         * math/w_exp2f.c: Likewise.
22767         * math/w_exp2l.c: Likewise.
22768         * math/w_hypot.c: Likewise.
22769         * math/w_hypotf.c: Likewise.
22770         * math/w_hypotl.c: Likewise.
22771         * math/w_lgamma.c: Likewise.
22772         * math/w_lgamma_r.c: Likewise.
22773         * math/w_lgammaf.c: Likewise.
22774         * math/w_lgammaf_r.c: Likewise.
22775         * math/w_lgammal.c: Likewise.
22776         * math/w_lgammal_r.c: Likewise.
22777         * math/w_sinh.c: Likewise.
22778         * math/w_sinhf.c: Likewise.
22779         * math/w_sinhl.c: Likewise.
22780         * math/w_tgamma.c: Likewise.
22781         * math/w_tgammaf.c: Likewise.
22782         * math/w_tgammal.c: Likewise.
22783         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22784         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22785         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22786         Minor optimizations.  Pretty printing.  Remove cruft.
22787         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22788         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22789         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22790         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22791         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22792         * sysdeps/i386/fpu/e_asin.S: Likewise.
22793         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22794         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22795         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22796         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22797         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22798         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22799         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22800         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22801         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22802         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22803         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22804         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22805         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22806         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22807         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22808         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22809         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22810         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22811         * sysdeps/i386/fpu/e_log.S: Likewise.
22812         * sysdeps/i386/fpu/e_log10.S: Likewise.
22813         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22814         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22815         * sysdeps/i386/fpu/e_log2.S: Likewise.
22816         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22817         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22818         * sysdeps/i386/fpu/e_logf.S: Likewise.
22819         * sysdeps/i386/fpu/e_logl.S: Likewise.
22820         * sysdeps/i386/fpu/e_pow.S: Likewise.
22821         * sysdeps/i386/fpu/e_powf.S: Likewise.
22822         * sysdeps/i386/fpu/e_powl.S: Likewise.
22823         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22824         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22825         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22826         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22827         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22828         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22829         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22830         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22831         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22832         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22833         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22835         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22836         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22837         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22839         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22840         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22841         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22842         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22843         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22845         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22846         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22848         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22849         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22850         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22851         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22852         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22853         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22854         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22855         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22856         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22857         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22858         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22859         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22860         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22861         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22862         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22863         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22864         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22865         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22866         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22867         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22868         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22869         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22870         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22871         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22872         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22873         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22874         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22875         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22876         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22877         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22878         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22879         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22880         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22881         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22882         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22883         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22884         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22885         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22886         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22887         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22888         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22889         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22890         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22891         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22892         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22893         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22894         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22895         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22896         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22897         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22898         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22899         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22900         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22901         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22902         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22903         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22905         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22906         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22907         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22908         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22909         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22910         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22911         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22912         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22913         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22914         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22915         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22916         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22917         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22918         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22919         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22920         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22921         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22922         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22923         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22924         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22925         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22926         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22927         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22928         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22929         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22930         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22931         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22932         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22933         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22934         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22935         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22936         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22937         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22938         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22939         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22940         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22941         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22942         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22943         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22944         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22945         (__isnanf): Likewise.
22946         (__isinf_ns): Likewise.
22947         (__isinf_nsf): Likewise.
22948         (__finite): Likewise.
22949         (__finitef): Likewise.
22950         (__ieee754_sqrt): Define as macro.
22951         (__ieee754_sqrtf): Define as macro.
22952         (__ieee754_sqrtl): Define as macro.
22953         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22954         inlined copy.
22955         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22956         __FINITE_MATH_ONLY__ consistent.
22957         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22958
22959 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22960
22961         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22962         of rawmemchr.
22963
22964         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22965
22966 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22967
22968         * po/ja.po: Update from translation team.
22969
22970 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22971
22972         * locale/programs/locarchive.c (prepare_address_space): New function.
22973         (create_archive, enlarge_archive, open_archive): Use it.
22974
22975         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22976         inside [SHARED], where it is used.
22977
22978         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22979
22980         * nss/getent.c (netgroup_keys): Remove unused variable.
22981         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22982
22983 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22984
22985         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22986         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22987         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22988         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22989         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22990         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22991         * math/Makefile (libm-calls): Add s_isinf_ns.
22992         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22993         * math/multc3.c: Likewise.
22994         * math/s_casin.c: Likewise.
22995         * math/s_casinf.c: Likewise.
22996         * math/s_casinl.c: Likewise.
22997         * math/s_ccos.c: Likewise.
22998         * math/s_ccosf.c: Likewise.
22999         * math/s_ccosl.c: Likewise.
23000         * math/s_ctan.c: Likewise.
23001         * math/s_ctanf.c: Likewise.
23002         * math/s_ctanh.c: Likewise.
23003         * math/s_ctanhf.c: Likewise.
23004         * math/s_ctanhl.c: Likewise.
23005         * math/s_ctanl.c: Likewise.
23006         * math/w_fmod.c: Likewise.
23007         * math/w_fmodf.c: Likewise.
23008         * math/w_fmodl.c: Likewise.
23009         * math/w_remainder.c: Likewise.
23010         * math/w_remainderf.c: Likewise.
23011         * math/w_remainderl.c: Likewise.
23012         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23013         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23014         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23015         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23016         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23017         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23018         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23019         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23020
23021         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23022         of the number.
23023         * stdio-common/printf_fphex.c: Likewise.
23024         * stdio-common/printf_size.c: Likewise.
23025
23026         * math/e_exp10.c: Include math_private.h using <...> not "...".
23027         * math/e_exp10f.c: Likewise.
23028         * math/e_exp10l.c: Likewise.
23029         * math/e_exp2l.c: Likewise.
23030         * math/e_j0l.c: Likewise.
23031         * math/e_j1l.c: Likewise.
23032         * math/e_jnl.c: Likewise.
23033         * math/e_lgammal_r.c: Likewise.
23034         * math/e_rem_pio2l.c: Likewise.
23035         * math/e_scalb.c: Likewise.
23036         * math/e_scalbf.c: Likewise.
23037         * math/e_scalbl.c: Likewise.
23038         * math/k_cosl.c: Likewise.
23039         * math/k_sinl.c: Likewise.
23040         * math/k_tanl.c: Likewise.
23041         * math/s_cacoshf.c: Likewise.
23042         * math/s_catan.c: Likewise.
23043         * math/s_catanf.c: Likewise.
23044         * math/s_catanh.c: Likewise.
23045         * math/s_catanhf.c: Likewise.
23046         * math/s_catanhl.c: Likewise.
23047         * math/s_catanl.c: Likewise.
23048         * math/s_ccosh.c: Likewise.
23049         * math/s_ccoshf.c: Likewise.
23050         * math/s_ccoshl.c: Likewise.
23051         * math/s_cexp.c: Likewise.
23052         * math/s_cexpf.c: Likewise.
23053         * math/s_cexpl.c: Likewise.
23054         * math/s_clog.c: Likewise.
23055         * math/s_clog10.c: Likewise.
23056         * math/s_clog10f.c: Likewise.
23057         * math/s_clog10l.c: Likewise.
23058         * math/s_clogf.c: Likewise.
23059         * math/s_clogl.c: Likewise.
23060         * math/s_csin.c: Likewise.
23061         * math/s_csinf.c: Likewise.
23062         * math/s_csinh.c: Likewise.
23063         * math/s_csinhf.c: Likewise.
23064         * math/s_csinhl.c: Likewise.
23065         * math/s_csinl.c: Likewise.
23066         * math/s_csqrt.c: Likewise.
23067         * math/s_csqrtf.c: Likewise.
23068         * math/s_csqrtl.c: Likewise.
23069         * math/s_ctan.c: Likewise.
23070         * math/s_ctanf.c: Likewise.
23071         * math/s_ctanh.c: Likewise.
23072         * math/s_ctanhf.c: Likewise.
23073         * math/s_ctanhl.c: Likewise.
23074         * math/s_ctanl.c: Likewise.
23075         * math/s_ldexp.c: Likewise.
23076         * math/s_ldexpf.c: Likewise.
23077         * math/s_ldexpl.c: Likewise.
23078         * math/s_significand.c: Likewise.
23079         * math/s_significandf.c: Likewise.
23080         * math/s_significandl.c: Likewise.
23081         * math/w_acos.c: Likewise.
23082         * math/w_acosf.c: Likewise.
23083         * math/w_acosh.c: Likewise.
23084         * math/w_acoshf.c: Likewise.
23085         * math/w_acoshl.c: Likewise.
23086         * math/w_acosl.c: Likewise.
23087         * math/w_asin.c: Likewise.
23088         * math/w_asinf.c: Likewise.
23089         * math/w_asinl.c: Likewise.
23090         * math/w_atan2.c: Likewise.
23091         * math/w_atan2f.c: Likewise.
23092         * math/w_atan2l.c: Likewise.
23093         * math/w_atanh.c: Likewise.
23094         * math/w_atanhf.c: Likewise.
23095         * math/w_atanhl.c: Likewise.
23096         * math/w_cosh.c: Likewise.
23097         * math/w_coshf.c: Likewise.
23098         * math/w_coshl.c: Likewise.
23099         * math/w_dremf.c: Likewise.
23100         * math/w_exp10.c: Likewise.
23101         * math/w_exp10f.c: Likewise.
23102         * math/w_exp10l.c: Likewise.
23103         * math/w_exp2.c: Likewise.
23104         * math/w_exp2f.c: Likewise.
23105         * math/w_fmod.c: Likewise.
23106         * math/w_fmodf.c: Likewise.
23107         * math/w_fmodl.c: Likewise.
23108         * math/w_hypot.c: Likewise.
23109         * math/w_hypotf.c: Likewise.
23110         * math/w_hypotl.c: Likewise.
23111         * math/w_j0.c: Likewise.
23112         * math/w_j0f.c: Likewise.
23113         * math/w_j0l.c: Likewise.
23114         * math/w_j1.c: Likewise.
23115         * math/w_j1f.c: Likewise.
23116         * math/w_j1l.c: Likewise.
23117         * math/w_jn.c: Likewise.
23118         * math/w_jnf.c: Likewise.
23119         * math/w_jnl.c: Likewise.
23120         * math/w_lgamma.c: Likewise.
23121         * math/w_lgamma_r.c: Likewise.
23122         * math/w_lgammaf.c: Likewise.
23123         * math/w_lgammaf_r.c: Likewise.
23124         * math/w_lgammal.c: Likewise.
23125         * math/w_lgammal_r.c: Likewise.
23126         * math/w_log.c: Likewise.
23127         * math/w_log10.c: Likewise.
23128         * math/w_log10f.c: Likewise.
23129         * math/w_log10l.c: Likewise.
23130         * math/w_log2.c: Likewise.
23131         * math/w_log2f.c: Likewise.
23132         * math/w_log2l.c: Likewise.
23133         * math/w_logf.c: Likewise.
23134         * math/w_logl.c: Likewise.
23135         * math/w_pow.c: Likewise.
23136         * math/w_powf.c: Likewise.
23137         * math/w_powl.c: Likewise.
23138         * math/w_remainder.c: Likewise.
23139         * math/w_remainderf.c: Likewise.
23140         * math/w_remainderl.c: Likewise.
23141         * math/w_scalb.c: Likewise.
23142         * math/w_scalbf.c: Likewise.
23143         * math/w_scalbl.c: Likewise.
23144         * math/w_sinh.c: Likewise.
23145         * math/w_sinhf.c: Likewise.
23146         * math/w_sinhl.c: Likewise.
23147         * math/w_sqrt.c: Likewise.
23148         * math/w_sqrtf.c: Likewise.
23149         * math/w_sqrtl.c: Likewise.
23150         * math/w_tgamma.c: Likewise.
23151         * math/w_tgammaf.c: Likewise.
23152         * math/w_tgammal.c: Likewise.
23153
23154         * po/ja.po: Update from translation team.
23155
23156 2011-09-29  Andreas Jaeger  <aj@suse.de>
23157
23158         [BZ #13179]
23159         * sunrpc/netname.c (netname2host): Fix logic.
23160
23161         [BZ #6779]
23162         [BZ #6783]
23163         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23164         correctly.
23165         * math/w_remainder.c (__remainder): Likewise.
23166         * math/w_remainderf.c (__remainderf): Likewise.
23167         * math/libm-test.inc (remainder_test): Add test cases.
23168
23169 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23170
23171         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23172         sdiv_qrnnd.
23173
23174 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23175
23176         * string/test-memcmp.c: Avoid unncessary #defines.
23177         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23178
23179 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23180
23181         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23182         Use new sse2 version for core i3 - i7 as it's faster
23183         than sse42 version.
23184         (bit_Prefer_PMINUB_for_stringop): New.
23185         * sysdeps/x86_64/rawmemchr.S: Update.
23186         Replace with faster SSE2 version.
23187         * sysdeps/x86_64/memrchr.S: New file.
23188         * sysdeps/x86_64/memchr.S: Update.
23189         Replace with faster SSE2 version.
23190
23191 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23192
23193         * elf/dl-load.c (lose): Add cast to avoid warning.
23194
23195 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23196
23197         * po/ca.po: Update from translation team.
23198
23199         * inet/getnetgrent_r.c: Hook up nscd.
23200         * nscd/Makefile (routines): Add nscd_netgroup.
23201         (nscd-modules): Add netgroupcache.
23202         (CFLAGS-netgroupcache.c): Define.
23203         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23204         (cache_search): Add const to second parameter.
23205         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23206         INNETGR.
23207         (dbs): Add netgrdb entry.
23208         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23209         (verify_persistent_db): Handle netgrdb.
23210         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23211         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23212         GETFDNETGR.
23213         (netgroup_response_header): Define.
23214         (innetgroup_response_header): Define.
23215         (datahead): Add netgroup_response_header and innetgroup_response_header
23216         elements.
23217         * nscd/nscd.conf: Add entries for netgroup cache.
23218         * nscd/nscd.h (dbtype): Add netgrdb.
23219         (_PATH_NSCD_NETGROUP_DB): Define.
23220         (netgroup_iov_disabled): Declare.
23221         (xmalloc, xcalloc, xrealloc): Move declarations here.
23222         (cache_search): Adjust prototype.
23223         Add netgroup-related prototypes.
23224         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23225         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23226         (__nscd_innetgr): Declare.
23227         * nscd/selinux.c (perms): Use access_vector_t as element type and
23228         add netgroup-related initializers.
23229         * nscd/netgroupcache.c: New file.
23230         * nscd/nscd_netgroup.c: New file.
23231         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23232         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23233         For four parameters use innetgr.
23234         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23235         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23236         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23237         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23238
23239         * nscd/connections.c (register_traced_file): Don't register file
23240         for disabled databases.
23241
23242 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23243
23244         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23245
23246         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23247         from tree and freeing node.
23248
23249 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23250
23251         * nss/nsswitch.c (__nss_database_lookup): Handle
23252         nss_parse_service_list out of memory case.
23253
23254 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23255
23256         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23257         out of memory case.
23258
23259 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23260
23261         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23262         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23263         pass it down.
23264         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23265         elf_machine_rela, elf_machine_lazy_rel.
23266         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23267         (ELF_DYNAMIC_DO_REL): Likewise.
23268         (ELF_DYNAMIC_DO_RELA): Likewise.
23269         (ELF_DYNAMIC_RELOCATE): Likewise.
23270         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23271         to ELF_DYNAMIC_DO_REL.
23272         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23273         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23274         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23275         elf_machine_rela.
23276         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23277         skip_ifunc, don't call ifunc function if non-zero.
23278         (elf_machine_rela): Likewise.
23279         (elf_machine_lazy_rel): Likewise.
23280         (elf_machine_lazy_rela): Likewise.
23281         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23282         (elf_machine_lazy_rel): Likewise.
23283         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23284         Likewise.
23285         (elf_machine_lazy_rel): Likewise.
23286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23287         Likewise.
23288         (elf_machine_lazy_rel): Likewise.
23289         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23290         (elf_machine_lazy_rel): Likewise.
23291         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23292         (elf_machine_lazy_rel): Likewise.
23293         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23294         (elf_machine_lazy_rel): Likewise.
23295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23296         (elf_machine_lazy_rel): Likewise.
23297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23298         (elf_machine_lazy_rel): Likewise.
23299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23300         (elf_machine_lazy_rel): Likewise.
23301
23302 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23303
23304         * nss/nss_files/files-init.c (_nss_files_init): Use static
23305         initialization for all the *_traced_file variables.
23306
23307 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23308
23309         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23310
23311 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23312
23313         [BZ #13226]
23314         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23315
23316 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23317
23318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23319         Reread the line before reparsing it.
23320
23321 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23322
23323         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23324
23325 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23326             Maxim Kuvyrkov  <maxim@codesourcery.com>
23327             Joseph Myers  <joseph@codesourcery.com>
23328
23329         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23330         if needed for __stack_chk_guard.
23331
23332 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23333
23334         * sysdeps/posix/spawni.c (script_execute): Always define it.
23335         It will be optimized away if unused.
23336         (maybe_script_execute): New function.
23337         (__spawni): Call it.
23338
23339         * Makerules: Don't include tls.make.
23340         (config-tls): Always set to thread.
23341         * tls.make.c: File removed.
23342
23343 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23344
23345         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23346         * config.make.in (CPPFLAGS-config): New substituted variable.
23347
23348 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23349
23350         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23351
23352         [BZ #13192]
23353         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23354         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23355
23356 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23357
23358         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23359         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23360         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23361         (CALL_FAIL): Likewise.
23362         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23363         (CALL_FAIL): Macro removed.
23364         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23365
23366 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23367
23368         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23369         for __FINITE_MATH_ONLY__ == 1.
23370
23371 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23372
23373         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23374         __ieee754_sqrt instead of sqrt.
23375         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23376         __ieee754_sqrtf instead of sqrtf.
23377         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23378         __floorf instead of floorf.
23379         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23380         __floorf, __truncf instead of floorf, truncf.
23381
23382 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23383
23384         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23385
23386         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23387         __extern_always_inline.
23388         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23389         32-bit.
23390
23391 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23392
23393         * elf/rtld.c (dl_main): Also relocate in dependency order when
23394         doing symbol dependency testing.
23395
23396 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23397
23398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23399         Always define `refsym'.
23400
23401 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23402
23403         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23404         (__FD_ELT): Renamed from __FDELT.
23405         * misc/bits/select2.h (__FD_ELT): Likewise.
23406         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23407         __FD_MASK instead of __FDELT, __FDMASK.
23408         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23409         Likewise.
23410         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23411         Likewise.
23412
23413         * elf/Makefile (gen-ldd): Fix pattern.
23414
23415         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23416         (init_tls): Likewise.
23417
23418 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23419
23420         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23421
23422 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23423
23424         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23425         `struct cmsghdr *' instead of `void *'.
23426         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23427         Likewise.
23428
23429 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23430
23431         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23432         if non-absolute.
23433         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23434         ldd_rewrite_script.
23435
23436 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23437
23438         * configure.in: Remove --with-tls option.
23439         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23440         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23441         out in case it is missing.
23442         * sysdeps/ia64/elf/configure.in: Likewise.
23443         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23444         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23445         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23446         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23447         * sysdeps/sh/elf/configure.in: Likewise.
23448         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23449         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23450         * sysdeps/x86_64/elf/configure.in: Likewise.
23451         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23452         * sysdeps/mach/hurd/tls.h: Likewise.
23453
23454         [BZ #13067]
23455         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23456
23457         [BZ #13090]
23458         * configure.in: Fix use of AC_INIT.
23459
23460         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23461
23462 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23463
23464         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23465         __set_errno.
23466         * malloc/hooks.c: Likewise.
23467
23468         [BZ #11929]
23469         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23470         variables statically.
23471         (narenas): Initialize.
23472         (list_lock): Initialize.
23473         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23474         initializtion of main_arena and list_lock.  Small cleanups.
23475         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23476         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23477         Add initializers to main_arena and mp_.
23478         (malloc_state): Remove pagesize member.  Change all users to use
23479         GLRO(dl_pagesize).
23480
23481         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23482         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23483         is always initialized.
23484
23485         * malloc/malloc.c: Removed unused configurations and dead code.
23486         * malloc/arena.c: Likewise.
23487         * malloc/hooks.c: Likewise.
23488         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23489
23490         * include/tls.h: Removed.  USE___THREAD must always be defined.
23491         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23492         * elf/dl-libc.c: Likewise.
23493         * elf/dl-tsd.c: Likewise.
23494         * include/errno.h: Likewise.
23495         * include/netdb.h: Likewise.
23496         * include/resolv.h: Likewise.
23497         * inet/herrno-loc.c: Likewise.
23498         * inet/herrno.c: Likewise.
23499         * malloc/arena.c: Likewise.
23500         * malloc/hooks.c: Likewise.
23501         * malloc/malloc.c: Likewise.
23502         * resolv/res-state.c: Likewise.
23503         * resolv/res_libc.c: Likewise.
23504         * sysdeps/i386/dl-machine.h: Likewise.
23505         * sysdeps/ia64/dl-machine.h: Likewise.
23506         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23507         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23508         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23509         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23510         * sysdeps/sh/dl-machine.h: Likewise.
23511         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23512         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23513         * sysdeps/unix/i386/sysdep.S: Likewise.
23514         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23515         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23519         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23520         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23521         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23524         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23525         * sysdeps/x86_64/dl-machine.h: Likewise.
23526         * tls.make.c: Likewise.
23527
23528         * configure.in: Remove --with-__thread option.  Make tests for
23529         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23530         tls_model attribute fail if no support is available.  Remove
23531         USE_IN_LIBIO.
23532         * Makeconfig: Adjust for dropped configure option.  All features are
23533         now mandatory.
23534         * Makerules: Likewise.
23535         * Versions.def: Likewise.
23536         * argp/argp-fmtstream.c: Likewise.
23537         * argp/argp-fmtstream.h: Likewise.
23538         * argp/argp-help.c: Likewise.
23539         * assert/assert.c: Likewise.
23540         * config.h.in: Likewise.
23541         * config.make.in: Likewise.
23542         * configure: Likewise.
23543         * configure.in: Likewise.
23544         * csu/Versions: Likewise.
23545         * csu/init.c: Likewise.
23546         * elf/tst-audit2.c: Likewise.
23547         * elf/tst-tls10.c: Likewise.
23548         * elf/tst-tls10.h: Likewise.
23549         * elf/tst-tls11.c: Likewise.
23550         * elf/tst-tls12.c: Likewise.
23551         * elf/tst-tls14.c: Likewise.
23552         * elf/tst-tlsmod11.c: Likewise.
23553         * elf/tst-tlsmod12.c: Likewise.
23554         * elf/tst-tlsmod13.c: Likewise.
23555         * elf/tst-tlsmod13a.c: Likewise.
23556         * elf/tst-tlsmod14a.c: Likewise.
23557         * elf/tst-tlsmod15b.c: Likewise.
23558         * elf/tst-tlsmod16a.c: Likewise.
23559         * elf/tst-tlsmod16b.c: Likewise.
23560         * elf/tst-tlsmod7.c: Likewise.
23561         * elf/tst-tlsmod8.c: Likewise.
23562         * elf/tst-tlsmod9.c: Likewise.
23563         * gmon/gmon.c: Likewise.
23564         * grp/fgetgrent_r.c: Likewise.
23565         * grp/putgrent.c: Likewise.
23566         * hurd/fopenport.c: Likewise.
23567         * include/libc-symbols.h: Likewise.
23568         * include/tls.h: Likewise.
23569         * intl/gettextP.h: Likewise.
23570         * intl/loadinfo.h: Likewise.
23571         * locale/global-locale.c: Likewise.
23572         * locale/localeinfo.h: Likewise.
23573         * mach/devstream.c: Likewise.
23574         * malloc/arena.c: Likewise.
23575         * malloc/set-freeres.c: Likewise.
23576         * misc/err.c: Likewise.
23577         * misc/getttyent.c: Likewise.
23578         * misc/mntent_r.c: Likewise.
23579         * posix/getopt.c: Likewise.
23580         * posix/wordexp.c: Likewise.
23581         * pwd/fgetpwent_r.c: Likewise.
23582         * resolv/Versions: Likewise.
23583         * resolv/res_hconf.c: Likewise.
23584         * shadow/fgetspent_r.c: Likewise.
23585         * shadow/putspent.c: Likewise.
23586         * stdio-common/printf_fphex.c: Likewise.
23587         * stdio-common/tmpfile.c: Likewise.
23588         * stdlib/abort.c: Likewise.
23589         * stdlib/fmtmsg.c: Likewise.
23590         * sunrpc/auth_unix.c: Likewise.
23591         * sunrpc/clnt_perr.c: Likewise.
23592         * sunrpc/clnt_tcp.c: Likewise.
23593         * sunrpc/clnt_udp.c: Likewise.
23594         * sunrpc/clnt_unix.c: Likewise.
23595         * sunrpc/openchild.c: Likewise.
23596         * sunrpc/svc_simple.c: Likewise.
23597         * sunrpc/svc_tcp.c: Likewise.
23598         * sunrpc/svc_udp.c: Likewise.
23599         * sunrpc/svc_unix.c: Likewise.
23600         * sunrpc/xdr.c: Likewise.
23601         * sunrpc/xdr_array.c: Likewise.
23602         * sunrpc/xdr_rec.c: Likewise.
23603         * sunrpc/xdr_ref.c: Likewise.
23604         * sunrpc/xdr_stdio.c: Likewise.
23605
23606 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23607
23608         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23609
23610 2011-07-03  Andreas Jaeger  <aj@suse.de>
23611
23612         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23613         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23614         regenerate with gen-libm-tests.pl.
23615
23616 2010-05-12  Petr Baudis  <pasky@suse.cz>
23617
23618         [BZ #11589]
23619         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23620         around j0() zero points by switching to j1().
23621         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23622         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23624         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23625
23626 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23627
23628         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23629         instead of 0.
23630         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23631         instead of 0.
23632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23633         Patch in part by Pavel Roskin <proski@gnu.org>.
23634
23635         [BZ #13138]
23636         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23637         realloc.
23638         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23639         Free memory block if necessary.
23640
23641         [BZ #12847]
23642         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23643         be NULL.  Don't lock in this case.
23644
23645 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23646
23647         * elf/elf.h (ELFOSABI_GNU): New macro.
23648         (ELFOSABI_LINUX): Define to that.
23649
23650 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23651
23652         * string/strncat.c (strncat): Undef the symbol in case it has been
23653         defined in bits/string.h.
23654
23655 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23656
23657         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23658
23659         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23660         link map.
23661
23662 2011-08-17  Andreas Jaeger  <aj@suse.de>
23663
23664         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23665
23666 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23667             Ian Lance Taylor  <iant@google.com>
23668
23669         * math/libm-test.inc (lround_test): New testcase.
23670         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23671
23672 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23673
23674         * Makefile: Remove support for automatic cvs check-ins.
23675         * Makerules: Likewise.
23676         * config.make.in: Likewise.
23677         * configure.in: Likewise.
23678         * intl/Makefile: Likewise.
23679         * locale/Makefile: Likewise.
23680         * po/Makefile: Likewise.
23681         * posix/Makefile: Likewise.
23682         * sysdeps/gnu/Makefile: Likewise.
23683         * sysdeps/mach/hurd/Makefile: Likewise.
23684         * sysdeps/sparc/sparc32/Makefile: Likewise.
23685
23686         [BZ #13118]
23687         * posix/Makefile (bug-regex32-ENV): Define.
23688         Patch by John Stanley <jpsinthemix@verizon.net>.
23689
23690         * misc/Makefile (headers): Add bits/select2.h.
23691         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23692         * misc/bits/select2.h: New file.
23693         * include/bits/select2.h: New file.
23694         * debug/Makefile (routines): Add fdelt_chk.
23695         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23696         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23697         FD_ISSET.
23698         * debug/fdelt_chk.c: New file.
23699
23700         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23701         * wcsmbs/test-wmemcmp.c: Likewise.
23702         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23703         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23704
23705 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23706
23707         * string/Makefile (strop-tests): Add memcmp.
23708         * string/test-wmemcmp.c: New file.
23709         * string/test-memcmp.c: Add wmemcmp support.
23710
23711 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23712
23713         [BZ #13153]
23714         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23715         2011-07-19 change.
23716
23717         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23718         garbage value in a __mach_port_mod_refs call in the cases of the
23719         task-self and thread-self ports.
23720
23721 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23722
23723         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23724
23725 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23726
23727         * elf/dl-load.c (lose): Check for non-null L.
23728
23729 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23730
23731         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23732
23733         * elf/dl-libc.c (dlerror_run): Pass back error code from
23734         dl_catch_error.
23735
23736         [BZ #13123]
23737         * elf/dl-load.c (lose): Free l_origin if it is valid.
23738
23739         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23740         names.
23741         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23742         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23743         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23744         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23745         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23746         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23747
23748 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23749
23750         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23751         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23752         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23753         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23754         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23755         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23756         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23757         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23758         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23759         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23760
23761 2011-08-15  Alan Modra  <amodra@gmail.com>
23762
23763         [BZ #13092]
23764         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23765         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23766         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23767         ppc_mcount to static-only-routines.
23768         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23769         __mcount_internal.
23770         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23771         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23772
23773 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23774
23775         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23776         for finite and infinity parameters.
23777
23778 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23779
23780         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23781         and add nop instructions for throughput optimization.
23782         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23783
23784 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23785
23786         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23787         aligned copy for power7 with vector-scalar instructions.
23788         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23789
23790 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23791
23792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23793         AVX check.
23794
23795 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23796
23797         [BZ #13144]
23798         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23799         last change.
23800
23801 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23802
23803         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23804         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23805         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23806         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23807         clock_gettime.
23808
23809 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23810
23811         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23812         Forgot to demangle the pointer.
23813
23814         * sysdeps/i386/sysdep.h: Define atom_text_section.
23815         * sysdeps/x86_64/sysdep.h: Likewise.
23816         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23817         section with atom_text_section.
23818         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23819         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23820         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23821         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23822         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23823
23824         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23825         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23826         already be defined.  Change to take two parameters and don't assign
23827         result to variable.  Adjust all users.
23828         Define INTERNAL_GETTIME if not already defined.
23829         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23830         call.
23831         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23832         HAVE_CLOCK_GETTIME_VSYSCALL.
23833         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23834
23835         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23836         gettimeofday vsyscall, just use time.
23837
23838 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23839
23840         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23841         <errno.h>.
23842
23843 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23844
23845         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23846         syscall on x86-64.
23847         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23848         syscall.
23849         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23850         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23851         syscall if possible.
23852
23853 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23854
23855         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23856         e_ident.  Don't pass to find_mapsXX.
23857         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23858
23859 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23860
23861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23862         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23863         * sysdeps/x86_64/multiarch/strchr.S: Update.
23864         Check bit_slow_BSF bit.
23865         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23866         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23867         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23868
23869 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23870
23871         [BZ #13134]
23872         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23873         before glibc 2.15.
23874         (tryshell): Define.
23875         (__spawni): Change last parameter to be flag.  Test
23876         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23877         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23878         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23879         * posix/spawni.c: Likewise.
23880         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23881         * posix/spawnp.c: Likewise.  Change normal version to use
23882         SPAWN_XFLAGS_USE_PATH.
23883         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23884         SPAWN_XFLAGS_TRY_SHELL.
23885
23886         [BZ #13150]
23887         * posix/glob.h: Remove gcc 1.x support.
23888
23889         [BZ #13068]
23890         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23891
23892 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23893
23894         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23895         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23896         strrchr-sse2-bsf
23897         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23898         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23899         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23900         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23901         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23902         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23903
23904 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23905
23906         * sysdeps/x86_64/wcscmp.S: New file.
23907
23908         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23909         wcscmp-c wcscmp-sse2
23910         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23911         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23912         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23913         * wcsmbs/wcscmp.c: Allow renaming.
23914
23915 2011-09-05  David S. Miller  <davem@davemloft.net>
23916
23917         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23918         stack slot, rather than the struct return pointer slot.
23919         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23920         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23922         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23923
23924 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23925
23926         * po/ja.po: Update from translation team.
23927
23928         [BZ #13144]
23929         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23930         kernel in 64-bit binaries.
23931
23932 2011-09-01  David S. Miller  <davem@davemloft.net>
23933
23934         * elf/elf.h (HWCAP_SPARC_*): Move to..
23935         * sysdeps/sparc/sysdep.h: this new file and add new values.
23936         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23937         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23938         _DL_HWCAP_COUNT to 24.
23939         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23940         entries.
23941         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23942         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23943         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23945         instead of magic constants.
23946         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23947
23948 2011-08-31  David S. Miller  <davem@davemloft.net>
23949
23950         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23952         Reimplement to do errno handling inline.
23953         (SYSCALL_ERROR_HANDLER): New macro.
23954         (__SYSCALL_STRING): Do not do errno handling in asm.
23955         (__CLONE_SYSCALL_STRING): Delete.
23956         (__INTERNAL_SYSCALL_STRING): Delete.
23957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23958         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23959         (PSEUDO): Reimplement to do errno handling inline.
23960         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23961         (SYSCALL_ERROR_HANDLER): New macro.
23962         (__SYSCALL_STRING): Do not do errno handling in asm.
23963         (__CLONE_SYSCALL_STRING): Delete.
23964         (__INTERNAL_SYSCALL_STRING): Delete.
23965         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23966         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23967         i386.
23968         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23969         (inline_syscall*): Add 'err' argument.
23970         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23971         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23972         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23973         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23974
23975         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23976         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23977
23978 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23979
23980         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23981
23982 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23983
23984         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23985         directive.
23986
23987 2011-08-24  David S. Miller  <davem@davemloft.net>
23988
23989         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23990
23991 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23992
23993         * elf/Makefile: Add rules to build and run unload8 test.
23994         * elf/unload8.c: New file.
23995         * elf/unload8mod1.c: New file.
23996         * elf/unload8mod1x.c: New file.
23997         * elf/unload8mod2.c: New file.
23998         * elf/unload8mod3.c: New file.
23999
24000         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24001         it wasn't used.
24002
24003 2011-08-23  David S. Miller  <davem@davemloft.net>
24004
24005         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24006         subtract stack bias.
24007         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24008         %sp not %fp in calculations.
24009         (_JMPBUF_UNWINDS_ADJ): Likewise.
24010
24011         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24012         (aio_suspend): Call it to force an exception region around the
24013         AIO_MISC_WAIT() invocation.
24014
24015 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24016
24017         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24018         backslash.
24019
24020 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24021
24022         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24023         protection macro.
24024         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24025         and <dl-machine.h>.
24026         (Elf64_FuncDesc): Remove.
24027
24028 2011-08-22  David S. Miller  <davem@davemloft.net>
24029
24030         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24031         sigaltstack check, add missing cfi directives.
24032         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24033         missing cfi directives, and sigaltstack handling.
24034
24035 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24036
24037         [BZ #11724]
24038         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24039         object is seen twice.
24040         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24041
24042         * elf/Makefile (distribute): Add tst-initorder2.c.
24043         (tests): Add tst-initorder2.
24044         (modules-names): Add tst-initorder2a tst-initorder2b
24045         tst-initorder2c tst-initorder2d.  Add rules to build them.
24046         ($(objpfx)tst-initorder2.out): New rule.
24047         * elf/tst-initorder2.c: New file.
24048         * elf/tst-initorder2.exp: New file.
24049
24050 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24051
24052         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24053
24054         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24055         dependencies back to end of function.
24056
24057         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24058         $(elfobjdir)/ld.so.
24059
24060 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24061
24062         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24063         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24064         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24065         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24066         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24067         of __vdso_gettimeofday.
24068         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24069         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24070         attribute_hidden.
24071         (_libc_vdso_platform_setup): Remove initialization of
24072         __vdso_gettimeofday and __vdso_time.
24073
24074 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24075
24076         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24077         and fgetc_unlocked.
24078         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24079         getc_unlocked.
24080
24081         * elf/dl-open.c (add_to_global): Report additions to the global scope
24082         for LD_DEBUG=scopes.
24083         (dl_open_worker): Also print scope of newly loaded dependencies.
24084         (_dl_show_scope): Indicate if there is no scope.
24085
24086         [BZ #13114]
24087         * stdio-common/Makefile (tests): Add bug24.
24088         * stdio-common/bug24.c: New file.
24089
24090 2011-08-19  Andreas Jaeger  <aj@suse.de>
24091
24092         [BZ #13114]
24093         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24094         non-existant file when using close-on-exec mode.
24095
24096 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24097
24098         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24099         the very first instruction.
24100
24101         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24102         the CFI state in the end.
24103         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24104         inclusion of dl-trampoline.h.
24105         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24106
24107 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24108
24109         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24110         expectations for long double.
24111
24112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24113         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24114
24115 2011-08-14  David S. Miller  <davem@davemloft.net>
24116
24117         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24118         artificual limit depends upon the system page size.
24119
24120 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24121
24122         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24123         * resolv/Makefile: Define CFLAGS-libresolv.
24124
24125 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24126
24127         * nss/makedb.c (compute_tables): Make variables used in nested
24128         function static.
24129
24130 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24131
24132         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24133         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24134         if buffer was too small.
24135
24136         * elf/pldd.c (main): Attach to all threads in the process.
24137         Rewrite /proc handling to use *at functions.
24138
24139 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24140
24141         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24142         specifies first scope to show.
24143         (dl_open_worker): Update callers.  Move printing scope of new
24144         object to before the relocation.
24145         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24146         * sysdeps/generic/ldsodefs.h: Update declaration.
24147
24148         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24149         string for the scope number.
24150
24151 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24152
24153         * nscd/servicescache.c (cache_addserv): Make sure written is always
24154         initialized.
24155
24156 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24157
24158         * sysdeps/i386/i486/bits/atomic.h
24159         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24160         statement expression, so as to suppress "set but not used" warning.
24161         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24162
24163         * string/strncat.c (STRNCAT): Use prototype definition.
24164
24165         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24166         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24167         -Iprograms here.
24168         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24169         (localedef-modules): Add localedef.
24170         (locale-modules): Add locale.
24171
24172         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24173         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24174         to avoid a warning.
24175
24176 2011-08-14  David S. Miller  <davem@davemloft.net>
24177
24178         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24179         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24180
24181 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24182
24183         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24184         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24185         * elf/rtld.c (dl_main): Set l_name of vDSO.
24186         Call _dl_show_scope when DL_DEBUG_SCOPES.
24187         (process_dl_debug): Recognize scopes flag and also set it for all.
24188         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24189         Declare _dl_show_scope.
24190
24191         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24192         (do_dlopen): Pass caller_dlopen to dl_open.
24193         (__libc_dlopen_mode): Initialize caller_dlopen.
24194
24195         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24196         of libc.  Make tolower call locale-independent.  Optimize a bit by
24197         using isdigit instead of isalnum.
24198         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24199
24200 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24201
24202         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24203         was a dependency or dynamically loaded.
24204
24205 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24206
24207         * intl/l10nflist.c: Allow architecture-specific pop function.
24208         * sysdeps/x86_64/l10nflist.c: New file.
24209
24210         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24211         classification.
24212
24213 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24214
24215         * include/dirent.h: Add libc_hidden_proto for scandirat and
24216         scandirat64.  Don't declare __scandirat64.
24217         * dirent/scandirat.c: Add libc_hidden_def.
24218         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24219         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24220
24221 2011-08-10  David S. Miller  <davem@davemloft.net>
24222
24223         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24224         enum.
24225         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24226         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24227         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24228
24229 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24230
24231         * Versions.def [libc]: Add GLIBC_2.15.
24232         * dirent/Makefile (routines): Add scandirat and scandirat64.
24233         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24234         GLIBC_2.15.
24235         * dirent/dirent.h: Declare scandirat and scandirat64.
24236         * dirent/scandirat.c: New file.
24237         * dirent/scandirat64.c: New file.
24238         * sysdeps/wordsize-64/scandirat.c: New file.
24239         * sysdeps/wordsize-64/scandirat64.c: New file.
24240         * dirent/opendir.c: Define opendirat.
24241         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24242         using scandirat.
24243         * dirent/scandir64.c: Adjust for scandir.c change.
24244         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24245         __scandirat64, and __scandir_cancel_handler.
24246         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24247         additional parameter and use openat instead of open (outside of ld.so).
24248         Add new __opendir as wrapper around __opendirat.
24249         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24250         here without requiring old scandirat implementation.
24251
24252 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24253
24254         * dirent/scandir.c (cancel_handler): Renamed to
24255         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24256         defined.  Adjust users.
24257         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24258         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24259
24260 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24261
24262         * string/test-string.h (IMPL): Use __STRING to expand name and then
24263         stringify it.
24264
24265         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24266         of cleanups.
24267
24268 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24269
24270         * string/Makefile: Update.
24271         (strop-tests): Append strncat.
24272         * string/test-wcscmp.c: New file.
24273         New comprehensive test for wcscmp.
24274         * string/test-strcmp.c: Update.
24275         (WIDE): New define.
24276
24277 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24278
24279         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24280         line.
24281
24282 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24283
24284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24285         encoding to ACE if AI_IDN.
24286
24287 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24288
24289         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24290         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24291
24292 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24293
24294         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24295         Fix overflow bug in strncat.
24296         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24297
24298         * string/test-strncat.c: Update.
24299         Add new tests for checking overflow bugs.
24300
24301 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24302
24303         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24304         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24305         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24306         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24308         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24309         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24310         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24311         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24312
24313         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24314         (USE_AS_STRCAT): Define.
24315         Add strcat and strncat support.
24316         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24317
24318 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24319
24320         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24321         __n bigger than INT_MAX+1.
24322         (__strncmp_g): Likewise.
24323
24324 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24325
24326         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24327         * libio/stido.h: Likewise.
24328
24329         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24330         (AF_NFC): Define.
24331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24332         (AF_NFC): Define.
24333
24334         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24335         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24336         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24337         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24339
24340         [BZ #13021]
24341         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24342         installed.
24343
24344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24345         typo.
24346         (_dl_x86_64_save_sse): Likewise.
24347
24348 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24349
24350         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24351         OSXSAVE.
24352         (_dl_x86_64_save_sse): Likewise.
24353
24354         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24355
24356         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24357
24358 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24359
24360         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24361         change.
24362         (_dl_x86_64_save_sse): Use correct AVX check.
24363
24364 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24365
24366         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24367         bug in strncpy/strncat.
24368         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24369
24370 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24371
24372         * string/tester.c (test_strcat): Add tests for different alignments
24373         of source and destination.
24374         (test_strncat): Likewise.
24375
24376 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24377
24378         [BZ #12852]
24379         * posix/glob.c (glob): Check passed in values before using them in
24380         expressions to avoid some overflows.
24381         (glob_in_dir): Likewise.
24382
24383         [BZ #13007]
24384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24385         check for AVX enablement so that we don't crash with old kernels and
24386         new hardware.
24387         * elf/tst-audit4.c: Add same checks here.
24388         * elf/tst-audit6.c: Likewise.
24389
24390         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24391
24392 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24393
24394         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24395
24396 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24397
24398         * po/cs.po: Update from translation team.
24399         * po/bg.po: Likewise.
24400
24401 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24402
24403         * misc/sys/cdefs.h: Add support for const attribute.
24404         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24405         to gnu_dev_{major,minor,makedev} functions.
24406
24407 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24408
24409         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24410
24411 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24412
24413         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24414         strlen results.
24415
24416 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24417
24418         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24419         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24420         register in order to avoid conflicts with the soft frame pointer
24421         being held in r11 when necessary.
24422         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24423         (INTERNAL_VSYSCALL_NCS): Likewise.
24424
24425 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24426
24427         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24428         * elf/dl-fini.c (_dl_fini): Adjust caller.
24429         * elf/dl-close.c (_dl_close_worker): Likewise.
24430         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24431
24432 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24433
24434         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24435         "aux_cache->nlibs < 0".
24436
24437         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24438         in the reload-count case.
24439
24440 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24441
24442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24443         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24444         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24445         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24446         * sysdeps/x86_64/multiarch/strcat.S: New file.
24447         * sysdeps/x86_64/multiarch/strncat.S: New file.
24448         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24449         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24450         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24451         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24452         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24453         (USE_AS_STRCAT): Define.
24454         Add strcat and strncat support.
24455         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24456         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24457         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24458         * string/strncat.c: Update.
24459         (USE_AS_STRNCAT): Define.
24460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24461         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24462         and i7.
24463         * sysdeps/x86_64/multiarch/init-arch.h
24464         (bit_Prefer_PMINUB_for_stringop): New.
24465         (index_Prefer_PMINUB_for_stringop): Likewise.
24466         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24467         bit_Prefer_PMINUB_for_stringop.
24468
24469 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24470
24471         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24472         buffer64.
24473         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24474         of casting of buffer.
24475         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24476         buffer32 and buffer64.
24477         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24478         writes instead of casting of buffer.
24479         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24480         buffer32.
24481         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24482         casting of buffer.
24483
24484 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24485
24486         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24487
24488 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24489
24490         * nscd/nscd.c (termination_handler): Don't do anything for a database
24491         if it has not yet been initialized.
24492
24493 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24494
24495         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24496
24497 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24498
24499         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24500
24501 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24502
24503         * po/nl.po: Update from translation team.
24504         * po/sv.po: Likewise.
24505
24506 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24507
24508         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24509         now disallowed by GCC.
24510
24511         * configure.in (use-default-link): Default to yes if a test -shared
24512         link meets our qualifications.
24513         * configure: Regenerated.
24514
24515         * config.make.in (output-format): New variable.
24516         * configure.in: Check for ld --print-output-format support.
24517         * configure: Regenerated.
24518         * Makerules ($(common-objpfx)format.lds)
24519         [$(output-format) != unknown]: Just use $(output-format),
24520         instead of the linker-script munging.
24521
24522 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24523
24524         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24525         of $(common-objpfx)shlib.lds.
24526         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24527
24528         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24529         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24530
24531         * configure.in (-z relro check): Adjust test code to add a large
24532         writable data section after it.
24533         * configure: Regenerated.
24534
24535 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24536
24537         * configure.in (-z relro check): Fix test code to make the variable
24538         truly const.
24539         * configure: Regenerated.
24540
24541 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24542
24543         * nscd/nscd.h (struct traced_file): Define.
24544         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24545         elements.  Add traced_files.
24546         (inotify_fd): Declare.
24547         (register_traced_file): Declare.
24548         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24549         (inotify_fd): Export.
24550         (resolv_conf_descr): Remove.
24551         (nscd_init): Move inotify descriptor creation to main.
24552         Don't register files for notification here.
24553         (register_traced_file): New function.
24554         (invalidate_cache): Don't use reset_res to determine whether to call
24555         res_init, go through the list of registered files.
24556         (main_loop_poll): The inotify descriptors are now stored in the
24557         structures for the traced files.
24558         (main_loop_epoll): Likewise
24559         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24560         to __nss_disable_nscd.
24561         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24562         for a database anymore.  Check the records for all the registered
24563         files instead.
24564         * nss/Makefile (libnss_files-routines): Add files-init.
24565         (libnss_db-routines): Add db-init.
24566         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24567         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24568         * nss/nss_db/db-init.c: New file.
24569         * nss/nss_files/files-init.c: New file.
24570         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24571         __nss_lookup_function.
24572         (__nss_lookup_function): Call nss_load_library.
24573         (nss_load_all_libraries): New function.
24574         (__nss_disable_nscd): Take parameter with callback function for files
24575         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24576         used for the cached services.
24577         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24578         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24579         options for features to all the files in nscd.
24580
24581         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24582
24583 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24584
24585         * csu/elf-init.c (__libc_csu_init): Comment typo.
24586
24587 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24588
24589         * po/pl.po: Update from translation team.
24590         * po/ja.po: Likewise.
24591         * po/ru.po: Likewise.
24592         * po/ko.po: Likewise.
24593         * po/fr.po: Likewise.
24594
24595 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24596
24597         * configure.in (.ctors/.dtors header and trailer check):
24598         Use an empirical test on a built program.
24599         * configure: Regenerated.
24600
24601         * configure.in (-z relro check): Use an empirical test on a built DSO.
24602         Detect, but do not require, on ia64.
24603         * configure: Regenerated.
24604
24605         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24606         Update tests that use readelf to use $READELF instead.
24607         * configure: Regenerated.
24608
24609 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24610
24611         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24612         if the result is not used.
24613
24614 2011-07-05  Andreas Jaeger  <aj@suse.de>
24615
24616         [BZ#9696]
24617         * stdlib/tst-strtod.c: Add testcase.
24618
24619 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24620
24621         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24622         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24623         The latter has a higher limit.  Take additional parameter to pass to
24624         the new function.
24625         (__pathconf): Pass file to __statfs_link_max.
24626         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24627         __statfs_link_max.
24628         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24629         __statfs_link_max.
24630
24631         [BZ #12868]
24632         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24633         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24634         Handle Lustre.
24635         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24636         (__statfs_filesize_max): Likewise.
24637         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24638
24639 2011-07-05  Andreas Jaeger  <aj@suse.de>
24640
24641         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24642
24643 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24644
24645         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24646         `status' variable.
24647         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24648         Likewise.
24649
24650 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24651
24652         * Makefile (strop-tests): Add strncat.
24653         * string/test-strncat.c: New file.
24654
24655 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24656
24657         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24658
24659 2011-06-21  Andreas Jaeger  <aj@suse.de>
24660
24661         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24662         Copy rule from iconvdata/Makefile.
24663
24664 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24665
24666         [BZ #12922]
24667         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24668         but no long options are defined, just return 'W'.
24669
24670 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24671
24672         [BZ #9696]
24673         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24674
24675 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24676
24677         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24678         netgroups to read.
24679         (innetgr): Likewise.
24680
24681 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24682
24683         * config.make.in (install_root): Default to $(DESTDIR).
24684
24685 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24686
24687         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24688
24689 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24690
24691         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24692
24693         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24694         containing directory rather than embedding absolute directory names.
24695
24696         * scripts/check-local-headers.sh: Rewritten using awk.
24697         Match by word, not by line.  Print error messages for matches.
24698         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24699
24700         * Makerules [shlib-lds-flags empty]:
24701         ($(common-objpfx)libc_pic.opts): New target.
24702         ($(common-objpfx)libc_pic.os.clean): New target.
24703         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24704
24705         * config.make.in (OBJCOPY): New variable.
24706         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24707         * configure: Regenerated.
24708
24709         * config.make.in (use-default-link): New variable.
24710         * configure.in (use_default_link): Grok --with-default-link to set it.
24711         * configure: Regenerated.
24712         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24713         (shlib-lds, shlib-lds-flags): Define to empty.
24714
24715         * Makerules (shlib-lds): New variable.
24716         (shlib-lds-flags): New variable.
24717         (build-shlib, build-moduile, build-module-asneeded): Use it.
24718         ($(common-objpfx)libc.so): Use $(shlib-lds).
24719         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24720         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24721
24722         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24723         DT_FLAGS/DT_FLAGS_1 with zero flags.
24724
24725         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24726         linker script munging.
24727
24728 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24729
24730         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24731         as 128-bit value.
24732         * crypt/sha512.c (sha512_process_block): Perform total addition using
24733         128-bit if possible.
24734         (__sha512_finish_ctx): Likewise.
24735         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24736         as 64-bit value.
24737         * crypt/sha256.c (SWAP64): Define.
24738         (sha256_process_block): Perform total addition using 64-bit if
24739         possible.
24740         (__sha256_finish_ctx): Likewise.
24741
24742 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24743
24744         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24745         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24746         * nscd/hstcache.c (cache_addhst): Likewise.
24747         * nscd/grpcache.c (cache_addgr): Likewise.
24748         * nscd/aicache.c (addhstaiX): Likewise
24749         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24750
24751 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24752
24753         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24754         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24755         * nscd/hstcache.c (cache_addhst): Likewise.
24756         * nscd/grpcache.c (cache_addgr): Likewise.
24757         * nscd/aicache.c (addhstaiX): Likewise
24758
24759 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24760
24761         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24762         domain only when needed.
24763
24764 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24765
24766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24767         is always restored.
24768
24769 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24770
24771         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24772         are re-adding the entry.
24773         * nscd/servicescache.c (cache_addserv): Likewise.
24774
24775 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24776
24777         * sysdeps/generic/dl-irel.h: fix protection against multiple
24778         inclusions.
24779         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24780
24781 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24782
24783         [BZ #12935]
24784         * malloc/memusage.sh: Fix quoting in message.
24785         * debug/xtrace.sh: Likewise.
24786
24787         * configure.in: Remove support for --experimental-malloc option, make
24788         it the default.
24789         * config.make.in: Likewise.
24790         * malloc/Makefile: Likewise.
24791
24792 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24793
24794         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24795         two-byte characters.
24796
24797 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24798
24799         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24800         AC_CACHE_CHECK invocation.
24801         * configure: Regenerated.
24802
24803         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24804
24805 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24806
24807         [BZ #12350]
24808         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24809         bit from old_res_options.
24810
24811         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24812
24813         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24814         value type for setfct.
24815
24816 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24817
24818         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24819         __gettimeofday instead of gettimeofday.
24820
24821 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24822
24823         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24824
24825 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24826
24827         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24828
24829         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24830         info.
24831
24832 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24833
24834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24835         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24836         strcpy-sse2-unaligned strncpy-sse2-unaligned
24837         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24838         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24839         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24840         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24841         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24842         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24843         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24844         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24845         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24846         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24847         (STRCPY): Support SSE2 and SSSE3 versions.
24848
24849 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24850
24851         [BZ #12874]
24852         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24853         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24854         kernels which artificially limit size of requests.
24855
24856 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24857
24858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24859         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24860         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24861         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24862         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24863         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24864         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24865         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24866         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24868         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24869         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24870         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24871         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24872         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24874         Enable unaligned load optimization for Intel Core i3, i5 and i7
24875         processors.
24876         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24877         Define.
24878         (index_Fast_Unaligned_Load): Define.
24879         (HAS_FAST_UNALIGNED_LOAD): Define.
24880
24881 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24882
24883         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24884
24885 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24886
24887         [BZ #12907]
24888         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24889         until it is clear that the information is realy needed.
24890         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24891
24892 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24893
24894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24895
24896 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24897
24898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24899         /sys/devices/system/cpu/online if it is usable.
24900
24901         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24902         reading the information from the /proc filesystem to once a second.
24903
24904 2011-06-21  Andreas Jaeger  <aj@suse.de>
24905
24906         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24907         NULL after inclusion of kernel headers.
24908
24909 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24910
24911         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24912         calls to internal_setent.
24913
24914         [BZ #12885]
24915         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24916         addresses using gethostbyname4_r ignore IPv4 addresses.
24917
24918         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24919         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24920
24921         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24922
24923 2011-06-20  David S. Miller  <davem@davemloft.net>
24924
24925         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24926         inclusions.
24927         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24928
24929         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24930         (elf_irel): Use it.
24931         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24932         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24933         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24934         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24935         * sysdeps/x86_64/dl-irel.h: Likewise.
24936
24937         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24938         * elf/dl-sym.c: Likewise.
24939
24940 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24941
24942         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24943         need to dereference resplen2.
24944
24945 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24946
24947         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24948
24949 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24950
24951         * Makeconfig: Define vardbdir and inst_vardbdir.
24952         * nss/Makefile: Add rules to install db-Makefile.
24953
24954         * nss/nss_db/db-XXX.c: Cleanup.
24955
24956         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24957         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24958         GLIBC_PRIVATE.
24959         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24960         * nss/makedb.c: Implement -g option to specify that value strings
24961         are generated and should not be added to table iterated over for
24962         get*ent calls.
24963         * nss/nss_db/db-initgroups.c: New file.
24964
24965         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24966         interface.
24967
24968         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24969         (internal_getgrouplist): Adjust to name change.
24970         Update use_initgroups_entry if this is not the first call.
24971         * nss/databases.def: Add initgroups entry.
24972
24973         * nss/makedb.c (compute_tables): Check result of multiple hash table
24974         sizes to minimize maximum chain length.
24975
24976 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24977
24978         * Versions.def: Add entry for libnss_db.
24979         * shlib-versions: Likewise.
24980         * nss/Makefile: Add rules to build libnss_db.
24981         * nss/Versions: Add libnss_db information.  Organize libnss_files
24982         entries better.
24983         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24984         makedb progra.  Some minor improvements to generate smaller files.
24985         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24986         here from...
24987         * nss/makedb.c: ...here.
24988         Improve database format to be smaller and require less memory at
24989         runtime.
24990         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24991         db anymore.
24992         * nss/nss_db/db-netgrp.c: Likewise.
24993         * nss/nss_db/db-open.c: Likewise.
24994         * nss/nss_files/flies-XXX.x: Adjust comments.
24995         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24996         * nss/nss_files/files-grp.c: Likewise.
24997         * nss/nss_files/files-hosts.c: Likewise.
24998         * nss/nss_files/files-network.c: Likewise.
24999         * nss/nss_files/files-proto.c: Likewise.
25000         * nss/nss_files/files-pwd.c: Likewise.
25001         * nss/nss_files/files-rpc.c: Likewise.
25002         * nss/nss_files/files-service.c: Likewise.
25003         * nss/nss_files/files-sgrp.c: Likewise.
25004         * nss/nss_files/files-spwd.c: Likewise.
25005         * nss/nss_db/db-alias.c: Removed.
25006         * nss/nss_db/dummy-db.h: Removed.
25007
25008 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25009
25010         * nss/makedb.c: Rewritten to not use database library.
25011         * nss/Makefile: Update to build new makedb program.
25012
25013 2011-06-14  Andreas Jaeger  <aj@suse.de>
25014
25015         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25016         memset declaration.
25017
25018 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25019
25020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25021         tmpbuf.
25022
25023 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25024
25025         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25026         * elf/Makefile ($(objpfx)ld.so): Likewise.
25027
25028         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25029         Don't list ld.so twice in dependencies.
25030
25031         * posix/bug-regex31.c: Include <stdlib.h>.
25032
25033         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25034
25035         * nis/nss_compat/compat-spwd.c
25036         (getspent_next_nss_netgr): Remove unused variable.
25037         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25038
25039         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25040         nonmembers" output to use the right array.
25041
25042         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25043
25044         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25045
25046         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25047         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25048         * catgets/gencat.c (read_input_file): Likewise.
25049         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25050
25051         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25052         variable definition inside #if's controlling its use.
25053
25054         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25055
25056         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25057
25058         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25059
25060         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25061         unreachable code.
25062
25063         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25064
25065         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25066         * configure: Regenerated.
25067
25068         * Makerules: Revert last change.
25069         * elf/Makefile: Likewise.
25070
25071 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25072
25073         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25074         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25075         (reloc-link): Likewise.
25076
25077 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25078
25079         * elf/Makefile: Add rules to build pldd.
25080         * elf/pldd.c: New file.
25081         * elf/pldd-xx.c: New file.
25082
25083 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25084
25085         * version.h: Update for 2.15 development version.
25086
25087 2011-06-07  David S. Miller  <davem@davemloft.net>
25088
25089         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25090         ifuncs.
25091         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25092         elf_machine_lazy_rel): Likewise.
25093         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25094         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25095         elf_machine_lazy_rel): Likewise.
25096         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25097         dl_hwcap via passed in argument.
25098         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25099         Likewise.
25100
25101 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25102
25103         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25104
25105 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25106
25107         [BZ #12849]
25108         * manual/fdl-1.1.texi: New file, verbatim from:
25109         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25110         * manual/lgpl-2.1.texi: New file, verbatim from:
25111         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25112         * manual/Makefile (licenses): New variable, list those new file names.
25113         (texis): Use it.
25114         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25115
25116         * manual/fdl.texi: File removed.
25117         * manual/lesser.texi: File removed.
25118         * manual/libc.texinfo (Copying, Documentation License):
25119         Use new @include file names, put @appendix directive before @include.
25120
25121 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25122
25123         [BZ #12841]
25124         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25125         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25126         (mq_open): Add __NTH.
25127
25128 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25129
25130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25131         Assume Intel Core i3/i5/i7 processor if AVX is available.
25132
25133 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25134
25135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25136         typo.
25137
25138 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25139
25140         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25141         memory.  Use alloca_account.  Fix memory leak when retrying.
25142
25143 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25144
25145         * version.h (RELEASE): Bump for 2.14 release.
25146         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25147
25148         * config.make.in (RANLIB): Remove entry.
25149
25150 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25151
25152         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25153         (libc.pot): Work around missing support for .ksh extension in xgettext.
25154
25155         [BZ #12684]
25156         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25157         if both request failed.
25158         (send_dg): In case of server errors clear resplen or *resplen2.
25159
25160         [BZ #12454]
25161         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25162         when there are multiple maps.
25163         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25164         (_dl_fini): Remove test here.
25165
25166         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25167
25168 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25169
25170         [BZ #12350]
25171         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25172         bit from old_res_options.
25173         (gaih_inet): Likewise.
25174
25175         [BZ #11099]
25176         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25177         as signed.
25178
25179         * resolv/res_init.c (res_setoptions): Make the code more compact.
25180
25181         [BZ #11558]
25182         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25183         set RES_USEVC.
25184
25185         [BZ #11634]
25186         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25187
25188         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25189
25190         [BZ #11781]
25191         * malloc/malloc.h: Declare malloc hook variables as volatile.
25192
25193         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25194         in last patch.
25195
25196         [BZ #11799]
25197         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25198         raise in the comment.
25199         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25200         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25201         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25202
25203 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25204
25205         [BZ #12811]
25206         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25207         grow the buffers more if it already has to be sufficient.
25208         (build_wcs_upper_buffer): Likewise.
25209         * posix/regexec.c (check_matching): Likewise.
25210         (clean_state_log_if_needed): Likewise.
25211         (extend_buffers): Don't enlarge buffers beyond size of the input
25212         buffer.
25213         Patches mostly by Emil Wojak <emil@wojak.eu>.
25214         * posix/bug-regex32.c: New file.
25215         * posix/Makefile (tests): Add bug-regex32.
25216
25217         * locale/findlocale.c (_nl_find_locale): Return right away if
25218         _nl_explode_name failed.
25219         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25220
25221         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25222
25223         * debug/xtrace.sh: Unify messages.
25224         * malloc/memusage.sh: Likewise.
25225
25226         [BZ #12813]
25227         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25228         time symbol from vDSO.  Substitute with vsyscall if not available.
25229         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25230         __vdso_time.
25231
25232         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25233         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25234         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25235         Add sendmmsg and internal_sendmmsg.
25236         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25237         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25238         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25239
25240         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25241         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25242         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25243
25244 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25245
25246         [BZ #12813]
25247         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25248         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25249         available.
25250         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25251         __vdso_getcpu.
25252
25253         [BZ #12814]
25254         * iconvdata/Makefile (tests): Add bug-iconv9.
25255         * iconvdata/bug-iconv9.c: New file.
25256
25257 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25258
25259         [BZ #12814]
25260         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25261
25262 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25263
25264         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25265         (struct user_regs_struct): Change intcs field back to cs.
25266
25267 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25268
25269         * po/ja.po: Update from translation team.
25270
25271 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25272
25273         [BZ #12795]
25274         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25275         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25276
25277 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25278
25279         * stdlib/longlong.h: Update from GCC.
25280
25281 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25282
25283         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25284         parameter name.
25285         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25286         Add parameter name.
25287         (__sysconf): Pass it down.
25288
25289 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25290
25291         [BZ #12671]
25292         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25293         some situations.
25294         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25295         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25296         add in in __libc_use_alloca calls.  Adjust callers.
25297         (glob): Use malloc in some situations.
25298
25299         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25300         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25301         pltexit.
25302
25303 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25304
25305         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25306         and CLOCK_BOOTTIME_ALARM.
25307
25308         [BZ #12782]
25309         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25310         is returned.
25311
25312         * string/_strerror.c (__strerror_r): Print negative errors as signed
25313         numbers.
25314
25315         [BZ #12777]
25316         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25317         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25318         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25319
25320         * configure.in: Fix typo in redirection and correct removal of test
25321         files in two cases.
25322
25323         [BZ #12788]
25324         * locale/setlocale.c (new_composite_name): Fix test to check for
25325         identical name of all categories.
25326
25327         [BZ #12792]
25328         * libio/filedoalloc.c (local_isatty): New function.
25329         (_IO_file_doallocate): Use local_isatty.
25330         * stdio-common/perror.c (perror): In case a new stream is used
25331         forward the stream error.
25332         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25333         error flag.
25334
25335 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25336
25337         [BZ #11869]
25338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25339         alloca.
25340         * include/alloca.h (extend_alloca_account): Define.
25341
25342         [BZ #11857]
25343         * posix/regex.h: Fix comments with documentation of user-accessible
25344         fields after compilation and describe correct free'ing of pattern
25345         after re_compile_pattern.
25346         Patch by Reuben Thomas <rrt@sc3d.org>.
25347
25348 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25349
25350         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25351         and -mno-altivec to prevent the compiler from using Altivec and/or
25352         VSX instructions when the corresponding registers are not available.
25353
25354 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25355
25356         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25357
25358 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25359
25360         * libio/freopen.c (freopen): Use __dup2, not dup2.
25361         * libio/freopen64.c (freopen64): Likewise.
25362
25363 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25364
25365         [BZ #12775]
25366         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25367         * math/Makefile (tests): Add test-powl.
25368         (CFLAGS-test-powl.c): Define.
25369         * math/test-powl.c: New file.
25370
25371 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25372
25373         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25374
25375 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25376
25377         [BZ #11837]
25378         * iconvdata/gb18030.c: Update to GB18020-2005.
25379
25380 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25381
25382         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25383         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25384         Patch by Aharon Robbins <arnold@skeeve.com>.
25385
25386         [BZ #11892]
25387         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25388         on the stack.
25389
25390         [BZ #11895]
25391         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25392         through underflows.
25393
25394         [BZ #12766]
25395         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25396         point to strings before performing equality test for error_one_per_line
25397         mode.
25398
25399         [BZ #11697]
25400         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25401
25402         [BZ #11820]
25403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25404         (struct user_fpregs_struct): Avoid __uint*_t types.
25405
25406         [BZ #6420]
25407         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25408         symbol info.  Use it instead of calling _dl_addr locally.
25409         (lock_and_info): New function.
25410         (tr_freehook): Call lock_and_info and pass symbol info as additional
25411         parameter to tr_where.
25412         (tr_mallochook): Likewise.
25413         (tr_reallochook): Likewise.
25414         (tr_memalignhook): Likewise.
25415
25416         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25417         used and couldn't be at all thread-safe.
25418
25419 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25420
25421         * libio/freopen.c (freopen): Don't close old file descriptor
25422         before the new one is opened.  Instead dup the new file descriptor
25423         to the old one after the new stream is created.
25424         * libio/freopen64.c (freopen64): Likewise.
25425         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25426         * libio/fileops.c (_IO_new_file_close_it): Handle new
25427         _IO_FLAGS2_NOCLOSE flag.
25428         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25429         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25430         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25431         _IO_FLAGS2_NOCLOSE flag.
25432         * include/unistd.h: Add hidden_proto for dup3.
25433         Define __have_dup3.
25434         * io/dup3.c: Define hidden symbol.
25435         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25436
25437         [BZ #7101]
25438         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25439         when an incomplete long option is used.
25440         * posix/tst-getopt_long1.c: New file.
25441         * posix/Makefile (tests): Add tst-getopt_long1.
25442
25443         [BZ #10138]
25444         * scripts/config.guess: Update from autoconf-2.68.
25445         * scripts/config.sub: Likewise.
25446
25447         [BZ #10157]
25448         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25449         tests into ...
25450         (has_cpuclock): ...this.  New function.
25451         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25452         macro here based on has_cpuclock code.
25453
25454         [BZ #10149]
25455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25456         First byte (not low byte) is now always NUL.
25457         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25458
25459         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25460         Use non-cancelable interfaces.
25461
25462         [BZ #9809]
25463         * locale/iso-639.def: Add entry for Sorani.
25464
25465         [BZ #11901]
25466         * include/stdlib.h: Move include protection to the right place.
25467         Define abort_msg_s.  Declare __abort_msg with it.
25468         * stdlib/abort.c (__abort_msg): Adjust type.
25469         * assert/assert.c (__assert_fail_base): New function.  Majority
25470         of code from __assert_fail.  Allocate memory for __abort_msg with
25471         mmap.
25472         (__assert_fail): Now call __assert_fail_base.
25473         * assert/assert-perr.c: Remove bulk of implementation.  Use
25474         __assert_fail_base.
25475         * include/assert.hL Declare __assert_fail_base.
25476         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25477         mmap.
25478         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25479
25480 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25481
25482         [BZ #11952]
25483         [BZ #12453]
25484         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25485         until all modules are registered in the DTV.
25486         * elf/Makefile: Add rules to build and run tst-tls19.
25487         * elf/tst-tls19.c: New file.
25488         * elf/tst-tls19mod1.c: New file.
25489         * elf/tst-tls19mod2.c: New file.
25490         * elf/tst-tls19mod3.c: New file.
25491         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25492
25493         [BZ #12083]
25494         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25495         correctly.
25496
25497         [BZ #12601]
25498         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25499         two-byte sequence errors.
25500         * iconvdata/Makefile (tests): Add bug-iconv8.
25501         * iconvdata/bug-iconv8.c: New file.
25502
25503         [BZ #12626]
25504         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25505         buf2 definition.
25506
25507         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25508
25509         [BZ #12432]
25510         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25511         (dummy_getcfa): New function.
25512         (init): Get _Unwind_GetCFA address, use dummy if not found.
25513         (backtrace_helper): In recursion check, also check whether CFA changes.
25514         (__backtrace): Completely initialize arg.
25515
25516         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25517         storing incomplete byte sequence in state object.  Avoid testing for
25518         guaranteed too small input if we know there is enough data available.
25519
25520 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25521
25522         * Makeconfig (+link-pie): Indent.
25523         * Rules (binaries-pie): Define if $(have-fpie) and
25524         $(build-shared).
25525         (binaries-shared): Also filter out $(binaries-pie).
25526         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25527         * nscd/Makefile (others-pie): Add nscd.
25528         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25529         ($(objpfx)nscd): Remove command override.
25530         * login/Makefile (others-pie): Add pt_chown.
25531         ($(objpfx)pt_chown): Remove command override.
25532         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25533         remove command overrides.
25534
25535 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25536
25537         * libio/tst_putwc.c: Fix error messages.
25538
25539         [BZ #12724]
25540         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25541         currently writing and seek to current position when not.
25542         * libio/Makefile (tests): Add bug-fclose1.
25543         * libio/bug-fclose1.c: New file.
25544
25545 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25546
25547         [BZ #12511]
25548         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25549         don't set DF_1_NODELETE here.
25550         (do_lookup_x): When entering new entry test for copy relocation
25551         and if necessary set DF_1_NODELETE flag.
25552         * elf/tst-unique4.cc: New file.
25553         * elf/tst-unique4.h: New file.
25554         * elf/tst-unique4lib.cc: New file.
25555         * elf/Makefile: Add rules to build and run tst-unique4.
25556         Patch by Piotr Bury <pbury@goahead.com>.
25557
25558 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25559
25560         [BZ #12052]
25561         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25562
25563         [BZ #12625]
25564         * misc/mntent_r.c (addmntent): Flush the stream after the output
25565
25566         [BZ #12393]
25567         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25568         (is_trusted_path_normalize): Skip initial colon.  Append slash
25569         to empty buffer.  Duplicate is_trusted_path code but allow
25570         constructed patch to be prefix.
25571         (is_dst): Allow $ORIGIN followed by /.
25572         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25573         Correct testing of result of is_trusted_path_normalize
25574         (decompose_rpath): Fix warning.
25575
25576 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25577
25578         [BZ #11257]
25579         * grp/initgroups.c (internal_getgrouplist): When we found the service
25580         list through the initgroups entry in nsswitch.conf do not always
25581         continue on a successful lookup.  Don't always use the
25582         __nss_group_database value if it is set.
25583         * nss/nsswitch.conf (initgroups): Change action for successful db
25584         lookup to continue for compatibility.
25585
25586 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25587
25588         [BZ #11532]
25589         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25590         and CP774 modules.
25591         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25592         and CP774 modules.
25593         * iconvdata/tst-tables.sh: Likewise.
25594         * iconvdata/cp770.c: New file.
25595         * iconvdata/cp771.c: New file.
25596         * iconvdata/cp772.c: New file.
25597         * iconvdata/cp773.c: New file.
25598         * iconvdata/cp774.c: New file.
25599         * iconvdata/testdata/CP770: New file.
25600         * iconvdata/testdata/CP770..UTF8: New file.
25601         * iconvdata/testdata/CP771: New file.
25602         * iconvdata/testdata/CP771..UTF8: New file.
25603         * iconvdata/testdata/CP772: New file.
25604         * iconvdata/testdata/CP772..UTF8: New file.
25605         * iconvdata/testdata/CP773: New file.
25606         * iconvdata/testdata/CP773..UTF8: New file.
25607         * iconvdata/testdata/CP774: New file.
25608         * iconvdata/testdata/CP774..UTF8: New file.
25609
25610         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25611         END CHARMAP line.
25612         * iconvdata/gen-8bit-gap.sh: Likewise.
25613         * iconvdata/gen-8bit.sh: Likewise.
25614
25615         * locale/iso-639.def: Add ary entry.
25616
25617         [BZ #11258]
25618         * locale/C-translit.h.in: Add U20A1 transliteration.
25619
25620         [BZ #12178]
25621         * locale/iso-639.def: Add wae entry.
25622         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25623
25624         [BZ #12545]
25625         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25626         for n.
25627
25628         [BZ #12711]
25629         * locale/C-translit.h.in: Add entry for U20B9.
25630         Patch by pravin.d.s@gmail.com.
25631
25632 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25633
25634         [BZ #12713]
25635         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25636         ENAMETOOLONG use generic getcwd.
25637         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25638         in rtld.  Use *stat64.
25639         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25640         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25641         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25642         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25643         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25644         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25645         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25646         __fstatat64 macros.
25647         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25648         * dirent/rewinddir.c: Add libc_hidden_def.
25649         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25650         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25651
25652         * include/dirent.h (__alloc_dir): Add flags parameter.
25653         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25654         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25655         __alloc_dir.
25656         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25657         from fdopendir if O_CLOEXEC is already set.
25658
25659 2011-03-15  Alan Modra  <amodra@gmail.com>
25660
25661         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25662         l_tls_firstbyte_offset non-zero.  Save padding offset in
25663         l_tls_firstbyte_offset for later use.
25664         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25665         freeing static tls block.
25666
25667 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25668
25669         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25670         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25671         being defined by the kernel headers.
25672
25673 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25674
25675         [BZ #12734]
25676         * resolv/resolv.h: Define RES_NOTLDQUERY.
25677         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25678         no-tld-query and set RES_NOTLDQUERY.
25679         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25680         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25681         modern BIND to search name as TLD unless forbidden.
25682
25683 2011-05-07  Petr Baudis  <pasky@suse.cz>
25684             Ulrich Drepper  <drepper@gmail.com>
25685
25686         [BZ #12393]
25687         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25688         (is_trusted_path): ...to here.
25689         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25690         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25691         using is_trusted_path_normalize() in setuid scripts.
25692
25693 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25694
25695         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25696         __BEGIN/__END_DECLS.
25697
25698 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25699
25700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25701         NSS_STATUS_NOTFOUND if no record was found.
25702
25703 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25704
25705         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25706         (headers-not-in-tirpc): Remove rpc/netdb.h
25707         * resolv/netdb.h: Revert last change.
25708
25709 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25710
25711         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25712         circular dependency between libgcc.a and libc.a.
25713
25714 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25715
25716         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25717         * nis/Makefile: Don't install rpcsvc/*.
25718         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25719         instead of <rpc/types.h>.
25720         (MAXHOSTNAMELEN): Define.
25721
25722 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25723
25724         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25725
25726 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25727
25728         [BZ #12714]
25729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25730         gethostbyname4_r when IPv6 results are possible.
25731
25732 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25733
25734         [BZ #12723]
25735         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25736         _PC_PIPE_BUF handling.
25737
25738 2011-04-30  Bruno Haible  <bruno@clisp.org>
25739
25740         [BZ #12717]
25741         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25742         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25743         to 'int'.
25744         * inet/getnameinfo.c (getnameinfo): Likewise.
25745
25746 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25747
25748         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25749         to groups setting in database lookup.
25750         * nss/nsswitch.conf: Add initgroups entry.
25751
25752 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25753
25754         [BZ #12685]
25755         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25756         mode string.
25757         Patch by Eric Blake <eblake@redhat.com>.
25758
25759 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25760
25761         * sunrpc/Makefile (need-export-routines): Add svc_run.
25762         (routines): Remove svc_run.
25763         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25764         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25765         * sunrpc/svc_run.c (svc_run): Likewise.
25766         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25767
25768 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25769
25770         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25771         problem in reallocation in last patch.
25772
25773 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25774
25775         * sunrpc/Makefile: Move inclusion of Rules.
25776
25777 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25778
25779         * nss/nss_files/files-initgroups.c: New file.
25780         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25781         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25782         _nss_files_initgroups_dyn.
25783
25784 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25785
25786         * elf/elf.h (R_ARM_IRELATIVE): Define.
25787
25788 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25789
25790         * po/ru.po: Update from translation team.
25791
25792 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25793
25794         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25795         dependencies.
25796
25797 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25798
25799         [BZ #12653]
25800         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25801         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25802         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25803         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25804         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25805
25806 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25807
25808         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25809         differing bytes.
25810         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25811         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25812         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25813
25814 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25815
25816         [BZ #12420]
25817         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25818         storing it.
25819         * stdlib/bug-getcontext.c: New file.
25820         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25821
25822 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25823
25824         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25825         instructions into .machine "z9-109".
25826         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25827         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25828
25829 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25830
25831         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25832         between environment variables and auxiliary vector.
25833
25834 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25835
25836         * Makefile: Add rules to build linkobj/libc.so.
25837         * include/libc-symbols.h: Define libc_hidden_nolink.
25838         * include/rpc/auth.h: Mark functions which are to be hidden.
25839         * include/rpc/auth_des.h: Likewise.
25840         * include/rpc/auth_unix.h: Likewise.
25841         * include/rpc/clnt.h: Likewise.
25842         * include/rpc/des_crypt.h: Likewise.
25843         * include/rpc/key_prot.h: Likewise.
25844         * include/rpc/pmap_clnt.h: Likewise.
25845         * include/rpc/pmap_prot.h: Likewise.
25846         * include/rpc/pmap_rmt.h: Likewise.
25847         * include/rpc/rpc_msg.h: Likewise.
25848         * include/rpc/svc.h: Likewise.
25849         * include/rpc/svc_auth.h: Likewise.
25850         * include/rpc/xdr.h: Likewise.
25851         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25852         * nss/Makefile: Likewise.
25853         * sunrpc/Makefile: Don't install headers.  Build library with normal
25854         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25855         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25856         for the compat linking library.  Remove use of INTDEF/INTUSE.
25857         * sunrpc/auth_none.c: Likewise.
25858         * sunrpc/auth_unix.c: Likewise.
25859         * sunrpc/authdes_prot.c: Likewise.
25860         * sunrpc/authuxprot.c: Likewise.
25861         * sunrpc/clnt_gen.c: Likewise.
25862         * sunrpc/clnt_perr.c: Likewise.
25863         * sunrpc/clnt_raw.c: Likewise.
25864         * sunrpc/clnt_simp.c: Likewise.
25865         * sunrpc/clnt_tcp.c: Likewise.
25866         * sunrpc/clnt_udp.c: Likewise.
25867         * sunrpc/clnt_unix.c: Likewise.
25868         * sunrpc/des_crypt.c: Likewise.
25869         * sunrpc/des_soft.c: Likewise.
25870         * sunrpc/get_myaddr.c: Likewise.
25871         * sunrpc/key_call.c: Likewise.
25872         * sunrpc/key_prot.c: Likewise.
25873         * sunrpc/netname.c: Likewise.
25874         * sunrpc/pm_getmaps.c: Likewise.
25875         * sunrpc/pm_getport.c: Likewise.
25876         * sunrpc/pmap_clnt.c: Likewise.
25877         * sunrpc/pmap_prot.c: Likewise.
25878         * sunrpc/pmap_prot2.c: Likewise.
25879         * sunrpc/pmap_rmt.c: Likewise.
25880         * sunrpc/publickey.c: Likewise.
25881         * sunrpc/rpc_cmsg.c: Likewise.
25882         * sunrpc/rpc_common.c: Likewise.
25883         * sunrpc/rpc_dtable.c: Likewise.
25884         * sunrpc/rpc_prot.c: Likewise.
25885         * sunrpc/rpc_thread.c: Likewise.
25886         * sunrpc/rtime.c: Likewise.
25887         * sunrpc/svc.c: Likewise.
25888         * sunrpc/svc_auth.c: Likewise.
25889         * sunrpc/svc_authux.c: Likewise.
25890         * sunrpc/svc_raw.c: Likewise.
25891         * sunrpc/svc_run.c: Likewise.
25892         * sunrpc/svc_simple.c: Likewise.
25893         * sunrpc/svc_tcp.c: Likewise.
25894         * sunrpc/svc_udp.c: Likewise.
25895         * sunrpc/svc_unix.c: Likewise.
25896         * sunrpc/svcauth_des.c: Likewise.
25897         * sunrpc/xcrypt.c: Likewise.
25898         * sunrpc/xdr.c: Likewise.
25899         * sunrpc/xdr_array.c: Likewise.
25900         * sunrpc/xdr_float.c: Likewise.
25901         * sunrpc/xdr_intXX_t.c: Likewise.
25902         * sunrpc/xdr_mem.c: Likewise.
25903         * sunrpc/xdr_rec.c: Likewise.
25904         * sunrpc/xdr_ref.c: Likewise.
25905         * sunrpc/xdr_sizeof.c: Likewise.
25906         * sunrpc/xdr_stdio.c: Likewise.
25907
25908 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25909
25910         [BZ #12650]
25911         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25912         * sysdeps/ia64/dl-tls.h: Likewise.
25913         * sysdeps/powerpc/dl-tls.h: Likewise.
25914         * sysdeps/s390/dl-tls.h: Likewise.
25915         * sysdeps/sh/dl-tls.h: Likewise.
25916         * sysdeps/sparc/dl-tls.h: Likewise.
25917         * sysdeps/x86_64/dl-tls.h: Likewise.
25918         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25919
25920 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25921
25922         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25923         rpath element also skip the following colon.
25924         (expand_dynamic_string_token): Add is_path parameter and pass
25925         down to DL_DST_REQUIRED and _dl_dst_substitute.
25926         (decompose_rpath): Call expand_dynamic_string_token with
25927         non-zero is_path.  Ignore empty rpaths.
25928         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25929         with zero is_path.
25930
25931 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25932
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25934         Make cancelable.
25935
25936 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25937
25938         [BZ #12655]
25939         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25940         Patch by Filipe David Manana <fdmanana@apache.org>.
25941
25942 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25943
25944         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25945         Maintain aligned stack.
25946         (CHECK_RSP): Remove unused macro.
25947
25948 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25949
25950         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25951         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25952
25953 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25954
25955         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25956
25957         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25958
25959 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25960
25961         [BZ #12518]
25962         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25963         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25964         * sysdeps/x86_64/memmove.c: New file.
25965         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25966         (memcpy): Renamed to ...
25967         (__new_memcpy): This.
25968         (memcpy): Provide GLIBC_2_14 memcpy.
25969         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25970         (memcpy): Provide GLIBC_2_2_5 memcpy.
25971
25972 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25973
25974         [BZ #12631]
25975         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25976
25977 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25978
25979         * misc/syncfs.c: New file.
25980         * misc/Makefile (routines): Add syncfs.
25981         * posix/unistd.h: Declare syncfs.
25982         * sysdeps/unix/syscalls.list: Add syncfs.
25983
25984 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25985
25986         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25987         open_by_handle_at.
25988         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25989         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25990         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25991         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25993         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25994         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25995
25996 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25997
25998         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25999         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26000         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26002         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26003         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26004         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26005
26006         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26007         sync_file_range.c with -fexceptions.
26008         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26009         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26010         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26011         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26012         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26013         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26014         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26015         sync_file_range as cancellation point
26016         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26017         now a wrapper around __call_sync_file_range with cancellation handling.
26018         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26019         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26020         function name to __call_sync_file_range.
26021         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26022         Add call_sync_file_range.
26023
26024 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26025
26026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26027         bits/timex.h.
26028
26029 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26030
26031         * iconv/iconv.h: Fix typo in comment.
26032         * io/fcntl.h: Likewise.
26033         * libio/stdio.h: Likewise.
26034         * posix/spawn.h: Likewise.
26035         * posix/unistd.h: Likewise.
26036         * stdlib/stdlib.h: Likewise.
26037         * time/time.h: Likewise.
26038         * wcsmbs/wchar.h: Likewise.
26039
26040         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26041         open_by_handle): Add.
26042         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26043         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26044         Augment a few comments.
26045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26049         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26050         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26051         open_by_handle.
26052
26053         * io/fcntl.h (AT_EMPTY_PATH): Define.
26054
26055 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26056
26057         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26058         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26059         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26060         to...
26061         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26062         * Versions.def: Add GLIBC_2.14.
26063         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26064         Export.
26065
26066 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26067
26068         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26069         round counter.
26070         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26071
26072 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26073
26074         [BZ #12597]
26075         * string/test-strncmp.c (do_page_test): New function.
26076         (check2): Likewise.
26077         (test_main): Call check2.
26078         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26079
26080 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26081
26082         [BZ #12587]
26083         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26084         Handle cache information in CPU leaf 4.
26085         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26086
26087 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26088
26089         [BZ #12583]
26090         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26091         character representation.
26092         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26093
26094 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26095
26096         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26097         END(__isnan) to END(__isnanf) to match function entry point/label
26098         EALIGN(__isnanf,...).
26099
26100 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26101
26102         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26103
26104 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26105
26106         [BZ #12510]
26107         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26108         copy from the symbol referenced in the relocation to initialize the
26109         used variable.
26110         Patch by Piotr Bury <pbury@goahead.com>.
26111         * elf/Makefile: Add rules to build and tst-unique3.
26112         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26113         * elf/tst-unique3.cc: New file.
26114         * elf/tst-unique3.h: New file.
26115         * elf/tst-unique3lib.cc: New file.
26116         * elf/tst-unique3lib2.cc: New file.
26117
26118         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26119
26120 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26121
26122         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26123         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26124         to _start.
26125
26126 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26127
26128         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26129         to-be-loaded object along a path to loader is ld.so.
26130
26131 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26132             Ulrich Drepper  <drepper@gmail.com>
26133
26134         * sysdeps/x86_64/memset.S: After aligning destination, code
26135         branches to different locations depending on the value of
26136         misalignment, when multiarch is enabled. Fix this.
26137
26138 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26139
26140         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26141         Set _x86_64_preferred_memory_instruction for AMD processsors.
26142         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26143         Set bit_Prefer_SSE_for_memop for AMD processors.
26144
26145 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26146
26147         * libio/fmemopen.c (fmemopen): Optimize a bit.
26148
26149 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26150
26151         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26152
26153 2011-03-03  Roland McGrath  <roland@redhat.com>
26154
26155         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26156
26157 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26158
26159         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26160         __bzero_ultra1 instead of __memset_ultra1.
26161
26162 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26163             Ulrich Drepper  <drepper@gmail.com>
26164
26165         [BZ #12509]
26166         * include/link.h (struct link_map): Add l_orig_initfini.
26167         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26168         returning unsuccessfully.
26169         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26170         close of a file loaded at startup, restore the original l_initfini
26171         list.
26172         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26173         list, store the pointer.
26174         * elf/Makefile ($(objpfx)noload-mem): New rule.
26175         (noload-ENV): Define.
26176         (tests): Add $(objpfx)noload-mem.
26177         * elf/noload.c: Include <memcheck.h>.
26178         (main): Call mtrace.  Close all opened handles.
26179
26180 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26181
26182         [BZ #12454]
26183         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26184         dependencies are missing.
26185
26186 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26187
26188         Fix __if_freereq crash: Unlike the generic version which uses free,
26189         Hurd needs munmap.
26190         * sysdeps/mach/hurd/ifreq.h: New file.
26191
26192 2011-01-27  Petr Baudis  <pasky@suse.cz>
26193             Ulrich Drepper  <drepper@gmail.com>
26194
26195         [BZ 12445]#
26196         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26197         to extend_alloca().
26198         * stdio-common/bug23.c: New file.
26199         * stdio-common/Makefile (tests): Add bug23.
26200
26201 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26202             Ulrich Drepper  <drepper@gmail.com>
26203
26204         [BZ #12489]
26205         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26206         before performing relro protection.  At old place add assertion
26207         to make sure nothing changed.
26208
26209 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26210             Glauber de Oliveira Costa  <glommer@gmail.com>
26211
26212         * elf/elf.h: Add new ARM TLS relocs.
26213
26214 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26215
26216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26217         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26218         cast from r3.
26219         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26220         'tests' variable.
26221         * sysdeps/wordsize-64/tst-writev.c: New file.
26222
26223 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26224
26225         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26226         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26227         insns in _dl_start to prevent a TOC reference before relocs are
26228         resolved.
26229
26230 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26231
26232         [BZ #12469]
26233         * Makeconfig: Remove RANLIB definition.
26234         * Makerules: Don't use RANLIB.
26235         * aclocal.m4: Remove ranlib test.
26236         * configure.in: No need to check for ranlib.
26237         * elf/rtld-Rules: Don't use RANLIB.
26238
26239 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26240
26241         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26242         protection macro.
26243         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26244         inclusion protection macro.
26245
26246         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26247         SIGRTMIN and SIGRTMAX and print information in that case only when
26248         SIGRTMIN is defined.
26249
26250 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26251
26252         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26253         arginfo fn returning -1.
26254
26255         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26256         and thousands string is zero terminated.
26257
26258 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26259
26260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26261         sysdeps/unix/sysv/linux/bits/socket.h.
26262
26263 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26264
26265         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26266         (__CPU_COUNT): Remove old macros.
26267         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26268         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26269         (__CPU_ALLOC, __CPU_FREE): Add macros.
26270         (__sched_cpualloc, __sched_cpufree): Add declarations.
26271
26272 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26273
26274         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26275         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26276         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26277         (readdhstai): Return value of addhstaiX call.
26278         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26279         (addgrbyX): Return value returned by cache_addgr.
26280         (readdgrbyname): Return value returned by addgrbyX.
26281         (readdgrbygid): Likewise.
26282         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26283         (addpwbyX): Return value returned by cache_addpw.
26284         (readdpwbyname): Return value returned by addhstbyX.
26285         (readdpwbyuid): Likewise.
26286         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26287         (addservbyX): Return value returned by cache_addserv.
26288         (readdservbyname): Return value returned by addservbyX:
26289         (readdservbyport): Likewise.
26290         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26291         (addhstbyX): Return value returned by cache_addhst.
26292         (readdhstbyname): Return value returned by addhstbyX.
26293         (readdhstbyaddr): Likewise.
26294         (readdhstbynamev6): Likewise.
26295         (readdhstbyaddrv6): Likewise.
26296         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26297         (readdinitgroups): Return value returned by addinitgroupsX.
26298         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26299         (prune_cache): Keep track of timeout value of re-added entries.
26300         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26301         * nscd/nscd.h: Adjust prototypes of readd* functions.
26302
26303 2011-02-04  Roland McGrath  <roland@redhat.com>
26304
26305         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26306         (nis_stats): Likewise.
26307         * nis/nis_modify.c (nis_modify): Likewise.
26308         * nis/nis_remove.c (nis_remove): Likewise.
26309         * nis/nis_add.c (nis_add): Likewise.
26310
26311         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26312
26313         * posix/fnmatch_loop.c: Add some consts.
26314
26315         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26316
26317 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26318
26319         [BZ #12460]
26320         * config.make.in (config-cflags-novzeroupper): Define.
26321         * configure.in: Substitute libc_cv_cc_novzeroupper.
26322         * elf/Makefile (AVX-CFLAGS): Define.
26323         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26324         (CFLAGS-tst-auditmod4a.c): Likewise.
26325         (CFLAGS-tst-auditmod4b.c): Likewise.
26326         (CFLAGS-tst-auditmod6b.c): Likewise.
26327         (CFLAGS-tst-auditmod6c.c): Likewise.
26328         (CFLAGS-tst-auditmod7b.c): Likewise.
26329         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26330
26331 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26332
26333         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26334         function to the callback.
26335         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26336
26337 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26338
26339         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26340         of errno.
26341
26342 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26343
26344         [BZ #11724]
26345         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26346         of constructors.
26347         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26348         of destructors.
26349         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26350
26351         [BZ #11724]
26352         * elf/Makefile: Add rules to build and run new test.
26353         * elf/tst-initorder.c: New file.
26354         * elf/tst-initorder.exp: New file.
26355         * elf/tst-initordera1.c: New file.
26356         * elf/tst-initordera2.c: New file.
26357         * elf/tst-initordera3.c: New file.
26358         * elf/tst-initordera4.c: New file.
26359         * elf/tst-initorderb1.c: New file.
26360         * elf/tst-initorderb2.c: New file.
26361         * elf/tst-order-a1.c: New file.
26362         * elf/tst-order-a2.c: New file.
26363         * elf/tst-order-a3.c: New file.
26364         * elf/tst-order-a4.c: New file.
26365         * elf/tst-order-b1.c: New file.
26366         * elf/tst-order-b2.c: New file.
26367         * elf/tst-order-main.c: New file.
26368         New test case by George Gensure <werkt0@gmail.com>.
26369
26370 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26371
26372         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26373         decoding ACE if AI_CANONIDN.
26374
26375 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26376
26377         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26378
26379 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26380
26381         * version.h (RELEASE): Bump for 2.13 release.
26382         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26383
26384         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26385
26386         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26387         MADV_NOHUGEPAGE.
26388         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26389         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26390         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26391         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26392         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26393         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26394
26395         * posix/getconf.c: Update copyright year.
26396         * catgets/gencat.c: Likewise.
26397         * csu/version.c: Likewise.
26398         * debug/catchsegv.sh: Likewise.
26399         * debug/xtrace.sh: Likewise.
26400         * elf/ldconfig.c: Likewise.
26401         * elf/ldd.bash.in: Likewise.
26402         * elf/sprof.c (print_version): Likewise.
26403         * iconv/iconv_prog.c: Likewise.
26404         * iconv/iconvconfig.c: Likewise.
26405         * locale/programs/locale.c: Likewise.
26406         * locale/programs/localedef.c: Likewise.
26407         * malloc/memusage.sh: Likewise.
26408         * malloc/mtrace.pl: Likewise.
26409         * nscd/nscd.c (print_version): Likewise.
26410         * nss/getent.c: Likewise.
26411
26412         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26413         PF_CAIF, and PF_ALG.
26414         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26415
26416 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26417
26418         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26419         (modules-names): Use them.
26420         (ifunc-test-modules, ifunc-pie-tests): Define.
26421         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26422         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26423         (test-extras): Likewise.
26424         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26425         $(compile-command.c).
26426         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26427         (all-built-dso): Define.
26428         (check-textrel.out, check-execstack.out): Depend on it.
26429
26430         * configure.in: Don't override --enable-multi-arch.
26431
26432 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26433
26434         [BZ #6812]
26435         * nscd/hstcache.c (tryagain): Define.
26436         (cache_addhst): Return tryagain not notfound for temporary errors.
26437         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26438         failed.
26439
26440 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26441
26442         [BZ #10563]
26443         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26444         to make the syscall.
26445         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26446
26447         [BZ #12378]
26448         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26449         and fall back to matching as normal character if the string ends before
26450         the matching ']' is found.  This is what POSIX requires.
26451         * posix/testfnm.c: Adjust test result.
26452         * posix/globtest.sh: Adjust test result.  Add new test.
26453         * posix/tst-fnmatch.input: Likewise.
26454         * posix/tst-fnmatch2.c: Add new test.
26455
26456 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26457
26458         * elf/Makefile (check-execstack): Revert last change.  Depend on
26459         check-execstack.h.
26460         (check-execstack.h): New target.
26461         (generated): Add check-execstack.h.
26462         * elf/check-execstack.c: Include "check-execstack.h".
26463         (main): Revert last change.
26464         (handle_file): Return zero if GNU_STACK is absent and
26465         DEFAULT_STACK_PERMS doesn't include PF_X.
26466
26467 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26468
26469         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26470         in child fails because the descriptor is already closed.
26471         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26472         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26473         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26474
26475         [BZ #12397]
26476         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26477         syscall.
26478
26479         [BZ #10484]
26480         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26481         temporary buffer used to handle multi lookups locally.
26482         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26483
26484 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26485
26486         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26487         loader is ld.so.
26488
26489 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26490
26491         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26492         alignment for SSE2.
26493
26494 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26495
26496         [BZ #12394]
26497         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26498         characters.  When rounding increased number of integer digits recompute
26499         number of groups.
26500         * stdio-common/tst-grouping.c: New file.
26501         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26502
26503 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26504
26505         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26506         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26507
26508         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26509         void.
26510         * bits/select.h: Likewise.
26511
26512 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26513
26514         * po/ja.po: Update from translation team.
26515
26516 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26517
26518         [BZ #11155]
26519         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26520         implementation just like for lxstat, fxstatat, et al.
26521
26522 2010-12-27  Jim Meyering  <meyering@redhat.com>
26523
26524         [BZ #12348]
26525         * posix/regexec.c (build_trtable): Return failure indication upon
26526         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26527
26528 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26529
26530         [BZ #12201]
26531         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26532         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26533         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26534         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26535
26536         [BZ #12207]
26537         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26538
26539         [BZ #12204]
26540         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26541         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26542
26543 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26544
26545         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26546         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26547         script has SORT_BY_INIT_PRIORITY.
26548         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26549         NO_CTORS_DTORS_SECTIONS is defined.
26550         * elf/soinit.c: Likewise.
26551         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26552         NO_CTORS_DTORS_SECTIONS is defined.
26553         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26554         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26555         * sysdeps/sh/init-first.c: Likewise.
26556         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26557
26558 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26559
26560         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26561         always use the slow path.
26562
26563 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26564
26565         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26566         similar rule which adds the sysdep directories to the header search in
26567         order to pick up the correct platform stackinfo.h.
26568         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26569         perform test if it is, otherwise return successfully without testing.
26570         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26571         DEFAULT_STACK_PERMS define in stackinfo.h.
26572         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26573         defined in stackinfo.h.
26574         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26575         DEFAULT_STACK_PERMS defined in stackinfo.h.
26576         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26577         * sysdeps/ia64/stackinfo.h: Likewise.
26578         * sysdeps/s390/stackinfo.h: Likewise.
26579         * sysdeps/sh/stackinfo.h: Likewise.
26580         * sysdeps/sparc/stackinfo.h: Likewise.
26581         * sysdeps/x86_64/stackinfo.h: Likewise.
26582         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26583         PF_X for powerpc64.  Retain PF_X for powerpc32.
26584
26585 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26586
26587         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26588         accurately.
26589         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26590         GETDENTS_64BIT_ALIGNED.
26591
26592 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26593
26594         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26595
26596 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26597
26598         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26599         _GNU_SOURCE.
26600
26601         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26602         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26603         Remove __restrict.
26604         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26605         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26606
26607 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26608
26609         [BZ #11655]
26610         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26611         are initialized.
26612
26613 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26614
26615         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26616
26617 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26618
26619         * po/it.po: Update from translation team.
26620
26621 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26622
26623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26624         unused codes.
26625
26626 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26627
26628         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26629
26630 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26631
26632         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26633         specially.
26634         (gaih_getanswer_slice): Likewise.
26635
26636 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26637
26638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26639
26640 2010-05-31  Petr Baudis  <pasky@suse.cz>
26641
26642         [BZ #11149]
26643         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26644         silently even in the chroot mode.
26645
26646 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26647
26648         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26649         last patch a bit.  Pretty printing
26650
26651 2010-05-31  Petr Baudis <pasky@suse.cz>
26652
26653         [BZ #10085]
26654         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26655         initialization of skip_initgroups_dyn.
26656
26657 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26658
26659         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26660         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26661
26662 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26663
26664         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26665
26666 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26667
26668         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26669         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26670         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26671         ($(objpfx)tst-fnmatch-mem): New rule.
26672         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26673         * posix/tst-fnmatch.c (main): Call mtrace.
26674
26675 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26676
26677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26678         Support Intel processor model 6 and model 0x2c.
26679
26680 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26681
26682         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26683           signed comparison.
26684
26685 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26686
26687         [BZ #12205]
26688         * string/test-strncasecmp.c (check_result): New function.
26689         (do_one_test): Use it.
26690         (check1): New function.
26691         (test_main): Use it.
26692         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26693         Support strcasecmp and strncasecmp.
26694
26695 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26696
26697         [BZ #12194]
26698         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26699         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26700
26701 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26702
26703         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26704         IFUNC support.
26705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26706         memset-x86-64.
26707         * sysdeps/x86_64/multiarch/bzero.S: New file.
26708         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26709         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26710         * sysdeps/x86_64/multiarch/memset.S: New file.
26711         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26713         Set bit_Prefer_SSE_for_memop for Intel processors.
26714         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26715         Define.
26716         (index_Prefer_SSE_for_memop): Define.
26717         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26718
26719 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26720
26721         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26722         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26723
26724 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26725
26726         [BZ #12191]
26727         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26728         (__x86_64_raw_data_cache_size_half): Likewise.
26729         (__x86_64_raw_shared_cache_size): Likewise.
26730         (__x86_64_raw_shared_cache_size_half): Likewise.
26731
26732         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26733         (__x86_64_raw_data_cache_size_half): Likewise.
26734         (__x86_64_raw_shared_cache_size): Likewise.
26735         (__x86_64_raw_shared_cache_size_half): Likewise.
26736         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26737         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26738         and __x86_64_raw_shared_cache_size_half.  Round
26739         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26740         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26741         to multiple of 256 bytes.
26742
26743 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26744
26745         [BZ #12167]
26746         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26747         of inacessible symlinks.  Verify result of symlink before returning it.
26748         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26749         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26750
26751 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26752
26753         * math/math.h (isinf): Fix typo in comment.
26754
26755 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26756
26757         * po/da.po: Update from translation team.
26758
26759 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26760
26761         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26762         is added to the list.
26763
26764 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26765             Ulrich Drepper  <drepper@gmail.com>
26766
26767         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26768         the global list here.  Move code to...
26769         (_dl_add_to_namespace_list): ...here.  New function.
26770         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26771         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26772         * elf/dl-load.c (lose): Don't remove the element from the list.
26773         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26774         (_dl_map_object): Likewise.
26775
26776 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26777
26778         [BZ #12159]
26779         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26780         into all bytes of SSE register.
26781         Patch by Richard Li <richardpku@gmail.com>.
26782
26783 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26784
26785         [BZ #12140]
26786         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26787         perturbing.
26788
26789 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26790
26791         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26792         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26793         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26794         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26796         submachine.
26797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26798
26799 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26800
26801         * include/dlfcn.h (__RTLD_SECURE): Define.
26802         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26803         mode & __RTLD_SECURE instead.
26804         (open_path): Rename preloaded parameter to secure.
26805         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26806         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26807         * elf/dl-deps.c (openaux): Likewise.
26808         * elf/rtld.c (struct map_args): Remove is_preloaded.
26809         (map_doit): Don't use it.
26810         (dl_main): Likewise.
26811         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26812         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26813
26814 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26815
26816         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26817         (sysd-rules-targets): Remove duplicates.
26818         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26819         rtld-%.$o dependency.
26820
26821 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26822
26823         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26824         _dl_map_object do it.
26825
26826 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26827
26828         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26829         fast fma builtins, define the macros in the C99 standard.
26830         (FP_FAST_FMAF): Likewise.
26831         (FP_FAST_FMAL): Likewise.
26832         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26833
26834         * bits/mathdef.h: Update copyright year.
26835         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26836
26837 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26838
26839         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26840         builtins, define the macros in the C99 standard.
26841         (FP_FAST_FMAF): Likewise.
26842         (FP_FAST_FMAL): Likewise.
26843         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26844         multiply/add.
26845         (FP_FAST_FMAF): Likewise.
26846
26847 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26848
26849         [BZ #3268]
26850         * math/libm-test.inc (fma_test): Some new testcases.
26851         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26852         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26853         y and infinite z.  Do multiplication by C already in long double.
26854         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26856         y and infinite z.  Do bitwise or of inexact bit into u.d.
26857         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26858         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26859         * sysdeps/i386/fpu/s_fma.S: Removed.
26860         * sysdeps/i386/fpu/s_fmal.S: Removed.
26861
26862 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26863
26864         [BZ #3268]
26865         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26867         computation is not scheduled after fetestexcept.  Fix value
26868         of minimum denormal long double.
26869
26870 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26871
26872         [BZ #3268]
26873         * math/libm-test.inc (fma_test): Add some more tests.
26874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26875         correctly.
26876
26877 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26878
26879         * scripts/data/localplt-s390-linux-gnu.data: New file.
26880         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26881
26882 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26883
26884         [BZ #3268]
26885         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26886         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26887         instead of dbl-64.
26888         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26889         inlines.
26890         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26892         if one of x and y is very large and the other is subnormal.
26893         * sysdeps/s390/fpu/s_fmaf.c: New file.
26894         * sysdeps/s390/fpu/s_fma.c: New file.
26895         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26896         * sysdeps/powerpc/fpu/s_fma.S: New file.
26897         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26898         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26899         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26900
26901 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26902
26903         [BZ #3268]
26904         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26905         fma tests.
26906         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26907         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26908         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26909         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26910         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26911         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26912         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26913
26914 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26915
26916         [BZ #12078]
26917         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26918         * posix/bug-regex31.input: Add test case.
26919
26920 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26921
26922         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26923         * posix/bug-regex31.input: New file.
26924
26925         [BZ #12078]
26926         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26927         (parse_sub_exp): Fix last change, use postorder.
26928
26929         * posix/bug-regex31.c: New file.
26930         * posix/Makefile: Add rules to build and run bug-regex31.
26931
26932         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26933
26934         [BZ #12078]
26935         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26936
26937         [BZ #12108]
26938         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26939         to have entries in sys_siglist.
26940
26941         [BZ #12093]
26942         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26943         be NULL.
26944
26945 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26946
26947         [BZ #3268]
26948         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26949         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26950         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26951         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26952         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26953         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26954         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26955         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26956         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26957         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26958         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26959         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26960         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26961         * math/ftestexcept.c (fetestexcept): Likewise.
26962         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26963         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26964         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26965         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26966         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26967         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26968         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26969
26970 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26971
26972         [BZ #12107]
26973         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26974         newline.
26975
26976 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26977
26978         * string/bug-strstr1.c: New file.
26979         * string/Makefile: Add rules to build and run bug-strstr1.
26980
26981 2010-10-05  Eric Blake  <eblake@redhat.com>
26982
26983         [BZ #12092]
26984         * string/str-two-way.h (two_way_long_needle): Always clear memory
26985         when skipping input due to the shift table.
26986
26987 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26988
26989         [BZ #12005]
26990         * malloc/mcheck.c: Handle large requests.
26991
26992         [BZ #12077]
26993         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26994         for strncmp and strncasecmp.
26995         * string/stratcliff.c: Add tests for strcmp and strncmp.
26996         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26997
26998 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26999
27000         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27001         __set_fpscr.
27002
27003 2010-09-30  Andreas Jaeger  <aj@suse.de>
27004
27005         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27006         (CGROUP_SUPER_MAGIC): Define.
27007         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27008         Handle btrfs and cgroup file systems.
27009         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27010         Likewise.
27011
27012 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27013
27014         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27015         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27016
27017 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27018
27019         [BZ #12067]
27020         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27021         trying to locate the ELF header.
27022
27023 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27024
27025         [BZ #11611]
27026         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27027         Mask out sign-bit copies when constructing f_fsid.
27028
27029 2010-09-24  Petr Baudis <pasky@suse.cz>
27030
27031         * debug/stack_chk_fail_local.c: Add missing licence exception.
27032         * debug/warning-nop.c: Likewise.
27033
27034 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27035
27036         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27037         implementing getdents64 using getdents syscall, set d_type if
27038         __ASSUME_GETDENTS32_D_TYPE.
27039
27040 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27041
27042         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27043         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27044
27045 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27046
27047         [BZ #12037]
27048         * posix/unistd.h: Undo change of feature selection for ftruncate from
27049         2010-01-11.
27050
27051 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27052
27053         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27054         detection.
27055
27056 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27057
27058         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27059         fanotify_mark.
27060         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27061
27062 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27063
27064         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27065         variables after CHECK_SP call.
27066         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27067
27068 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27069             Ulrich Drepper  <drepper@redhat.com>
27070
27071         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27072         re-relocationg ld.so.
27073         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27074         _dl_init_paths call.
27075         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27076         here anymore.
27077
27078 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27079
27080         * resolv/res_init.c (__res_vinit): Count the default server we added.
27081
27082 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27083             Ulrich Drepper  <drepper@redhat.com>
27084
27085         [BZ #11968]
27086         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27087         (____longjmp_chk): Use %ebx for saving value across system call.
27088         Add unwind info.
27089
27090 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27091
27092         * manual/Makefile: Don't mix pattern rules with normal rules.
27093
27094 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27095
27096         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27097         operation.
27098         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27099         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27100         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27101         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27102         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27103         Likewise.
27104
27105 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27106
27107         [BZ #11979]
27108         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27109         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27110
27111 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27112
27113         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27114         * sysdeps/x86_64/addmul_1.S: Likewise.
27115         * sysdeps/x86_64/lshift.S: Likewise.
27116         * sysdeps/x86_64/mul_1.S: Likewise.
27117         * sysdeps/x86_64/rshift.S: Likewise.
27118         * sysdeps/x86_64/sub_n.S: Likewise.
27119         * sysdeps/x86_64/submul_1.S: Likewise.
27120
27121 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27122
27123         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27124         Define __sched_param instead of SCHED_* and sched_param when
27125         <bits/sched.h> is included with __need_schedparam defined.
27126         * bits/sched.h [__need_schedparam]
27127         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27128         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27129         (__defined_schedparam): Define to 1.
27130         (__sched_param): New structure, identical to sched_param.
27131         (__need_schedparam): Undefine.
27132
27133 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27134
27135         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27136         (epoll_create1): Declare.
27137
27138         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27139
27140 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27141
27142         [BZ #7066]
27143         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27144         shifting retval into place.
27145
27146 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27147
27148         * nis/rpcsvc/nis.h: Update copyright notice.
27149         * nis/rpcsvc/nis.x: Likewise.
27150         * nis/rpcsvc/nis_callback.h: Likewise.
27151         * nis/rpcsvc/nis_callback.x: Likewise.
27152         * nis/rpcsvc/nis_object.x: Likewise.
27153         * nis/rpcsvc/nis_tags.h: Likewise.
27154         * nis/rpcsvc/yp.h: Likewise.
27155         * nis/rpcsvc/yp.x: Likewise.
27156         * nis/rpcsvc/ypupd.h: Likewise.
27157         * nis/yp_xdr.c: Likewise.
27158         * nis/ypupdate_xdr.c: Likewise.
27159
27160         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27161         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27162         (pmap_getport): Use __libc_rpc_getport.
27163         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27164         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27165         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27166
27167 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27168
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27170         fanotify_mark.
27171
27172 2010-08-27  Roland McGrath  <roland@redhat.com>
27173
27174         * sysdeps/i386/i686/multiarch/Makefile
27175         (CFLAGS-varshift.c): New variable.
27176
27177 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27178
27179         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27180         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27181
27182         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27183
27184         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27185
27186 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27187
27188         * sysdeps/x86_64/strlen.S: Unroll the loop.
27189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27190         strlen-sse2 strlen-sse2-bsf.
27191         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27192         __strlen_no_bsf if bit_Slow_BSF is set.
27193         (__strlen_sse42): Removed.
27194         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27195         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27196
27197 2010-08-25  Roland McGrath  <roland@redhat.com>
27198
27199         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27200         * sysdeps/x86_64/multiarch/varshift.c: New file.
27201         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27202         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27203         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27204         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27205
27206 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27207
27208         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27209         strlen-sse2 strlen-sse2-bsf.
27210         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27211         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27212         (__strlen_sse2): Removed.
27213         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27214         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27216         bit_Slow_BSF for Atom.
27217         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27218         (index_Slow_BSF): Define.
27219         (HAS_SLOW_BSF): Define.
27220
27221 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27222
27223         [BZ #10851]
27224         * resolv/res_init.c (__res_vinit): When no server address at all
27225         is given default to loopback.
27226
27227 2010-08-24  Roland McGrath  <roland@redhat.com>
27228
27229         * configure.in: Remove config-name.h generation.
27230         * configure: Regenerated.
27231         * config-name.in: File removed.
27232         * scripts/config-uname.sh: New file.
27233         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27234         ($(objdir)config-name.h): New target.
27235
27236         * sunrpc/rpc_parse.h: Avoid nested comment.
27237
27238 2010-08-24  Richard Henderson  <rth@redhat.com>
27239             Ulrich Drepper  <drepper@redhat.com>
27240             H.J. Lu  <hongjiu.lu@intel.com>
27241
27242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27244         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27245         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27246         _mm_alignr_epi8 with _mm_loadu_si128.
27247         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27248         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27249         (__m128i_shift_right): Removed.
27250         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27251         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27252         * sysdeps/x86_64/multiarch/varshift.h: New file.
27253         * sysdeps/x86_64/multiarch/varshift.S: New file.
27254
27255 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27256
27257         * configure.in: Move assembler checks to before sysdep dir checking.
27258
27259 2010-08-20  Petr Baudis  <pasky@suse.cz>
27260
27261         * LICENSES: Sync the sunrpc license.
27262
27263 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27264
27265         * sunrpc/auth_des.c: Update copyright notice once again.
27266         * sunrpc/auth_none.c: Likewise.
27267         * sunrpc/auth_unix.c: Likewise.
27268         * sunrpc/authdes_prot.c: Likewise.
27269         * sunrpc/authuxprot.c: Likewise.
27270         * sunrpc/bindrsvprt.c: Likewise.
27271         * sunrpc/clnt_gen.c: Likewise.
27272         * sunrpc/clnt_perr.c: Likewise.
27273         * sunrpc/clnt_raw.c: Likewise.
27274         * sunrpc/clnt_simp.c: Likewise.
27275         * sunrpc/clnt_tcp.c: Likewise.
27276         * sunrpc/clnt_udp.c: Likewise.
27277         * sunrpc/clnt_unix.c: Likewise.
27278         * sunrpc/des_crypt.c: Likewise.
27279         * sunrpc/des_soft.c: Likewise.
27280         * sunrpc/get_myaddr.c: Likewise.
27281         * sunrpc/getrpcport.c: Likewise.
27282         * sunrpc/key_call.c: Likewise.
27283         * sunrpc/key_prot.c: Likewise.
27284         * sunrpc/openchild.c: Likewise.
27285         * sunrpc/pm_getmaps.c: Likewise.
27286         * sunrpc/pm_getport.c: Likewise.
27287         * sunrpc/pmap_clnt.c: Likewise.
27288         * sunrpc/pmap_prot.c: Likewise.
27289         * sunrpc/pmap_prot2.c: Likewise.
27290         * sunrpc/pmap_rmt.c: Likewise.
27291         * sunrpc/rpc/auth.h: Likewise.
27292         * sunrpc/rpc/auth_unix.h: Likewise.
27293         * sunrpc/rpc/clnt.h: Likewise.
27294         * sunrpc/rpc/des_crypt.h: Likewise.
27295         * sunrpc/rpc/key_prot.h: Likewise.
27296         * sunrpc/rpc/netdb.h: Likewise.
27297         * sunrpc/rpc/pmap_clnt.h: Likewise.
27298         * sunrpc/rpc/pmap_prot.h: Likewise.
27299         * sunrpc/rpc/pmap_rmt.h: Likewise.
27300         * sunrpc/rpc/rpc.h: Likewise.
27301         * sunrpc/rpc/rpc_des.h: Likewise.
27302         * sunrpc/rpc/rpc_msg.h: Likewise.
27303         * sunrpc/rpc/svc.h: Likewise.
27304         * sunrpc/rpc/svc_auth.h: Likewise.
27305         * sunrpc/rpc/types.h: Likewise.
27306         * sunrpc/rpc/xdr.h: Likewise.
27307         * sunrpc/rpc_clntout.c: Likewise.
27308         * sunrpc/rpc_cmsg.c: Likewise.
27309         * sunrpc/rpc_common.c: Likewise.
27310         * sunrpc/rpc_cout.c: Likewise.
27311         * sunrpc/rpc_dtable.c: Likewise.
27312         * sunrpc/rpc_hout.c: Likewise.
27313         * sunrpc/rpc_main.c: Likewise.
27314         * sunrpc/rpc_parse.c: Likewise.
27315         * sunrpc/rpc_parse.h: Likewise.
27316         * sunrpc/rpc_prot.c: Likewise.
27317         * sunrpc/rpc_sample.c: Likewise.
27318         * sunrpc/rpc_scan.c: Likewise.
27319         * sunrpc/rpc_scan.h: Likewise.
27320         * sunrpc/rpc_svcout.c: Likewise.
27321         * sunrpc/rpc_tblout.c: Likewise.
27322         * sunrpc/rpc_util.c: Likewise.
27323         * sunrpc/rpc_util.h: Likewise.
27324         * sunrpc/rpcinfo.c: Likewise.
27325         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27326         * sunrpc/rpcsvc/key_prot.x: Likewise.
27327         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27328         * sunrpc/rpcsvc/mount.x: Likewise.
27329         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27330         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27331         * sunrpc/rpcsvc/rex.x: Likewise.
27332         * sunrpc/rpcsvc/rstat.x: Likewise.
27333         * sunrpc/rpcsvc/rusers.x: Likewise.
27334         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27335         * sunrpc/rpcsvc/spray.x: Likewise.
27336         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27337         * sunrpc/rtime.c: Likewise.
27338         * sunrpc/svc.c: Likewise.
27339         * sunrpc/svc_auth.c: Likewise.
27340         * sunrpc/svc_authux.c: Likewise.
27341         * sunrpc/svc_raw.c: Likewise.
27342         * sunrpc/svc_run.c: Likewise.
27343         * sunrpc/svc_simple.c: Likewise.
27344         * sunrpc/svc_tcp.c: Likewise.
27345         * sunrpc/svc_udp.c: Likewise.
27346         * sunrpc/svc_unix.c: Likewise.
27347         * sunrpc/svcauth_des.c: Likewise.
27348         * sunrpc/xcrypt.c: Likewise.
27349         * sunrpc/xdr.c: Likewise.
27350         * sunrpc/xdr_array.c: Likewise.
27351         * sunrpc/xdr_float.c: Likewise.
27352         * sunrpc/xdr_mem.c: Likewise.
27353         * sunrpc/xdr_rec.c: Likewise.
27354         * sunrpc/xdr_ref.c: Likewise.
27355         * sunrpc/xdr_sizeof.c: Likewise.
27356         * sunrpc/xdr_stdio.c: Likewise.
27357
27358         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27359         handling.
27360
27361 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27362
27363         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27364
27365 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27366
27367         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27368         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27369         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27370         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27371         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27372         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27373         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27374         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27376         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27377         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27378         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27379         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27380         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27381
27382 2010-07-26  Anton Blanchard  <anton@samba.org>
27383
27384         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27385         * malloc/arena.c (heap_trim): Likewise.
27386
27387 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27388
27389         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27390         here.  Not...
27391         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27392         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27393
27394 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27395
27396         * sysdeps/i386/elf/Makefile: New file.
27397
27398 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27399
27400         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27401         from fanotify_init.
27402         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27404
27405 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27406
27407         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27408         of strncasecmp_l.
27409         * sysdeps/multiarch/strcmp.S: Likewise.
27410
27411 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27412
27413         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27414         strncase_l-nonascii.
27415         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27416         Add strncase_l-ssse3.
27417         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27418         * sysdeps/x86_64/strcmp.S: Likewise.
27419         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27420         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27421         * sysdeps/x86_64/strncase.S: New file.
27422         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27423         * sysdeps/x86_64/strncase_l.S: New file.
27424         * string/Makefile (strop-tests): Add strncasecmp.
27425         * string/test-strncasecmp.c: New file.
27426
27427         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27428         warning.
27429
27430         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27431         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27432
27433 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27434
27435         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27436
27437 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27438
27439         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27440         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27441         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27442
27443 2010-05-01  Alan Modra  <amodra@gmail.com>
27444
27445         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27446         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27447         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27448         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27449         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27450         tidying.  Don't tail-call __sigjmp_save for static lib.
27451         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27452         save location.
27453         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27454         (CALL_MCOUNT): Add eh info, and nop after bl.
27455         (TAIL_CALL_SYSCALL_ERROR): New macro.
27456         (PSEUDO_RET): Use it.
27457         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27458         Correct save location of integer regs and cr.
27459         (_dl_profile_resolve): Correct cr save location.  Delete nops
27460         after bl when SHARED.  Reduce cfi size a little by better
27461         placement of cfi directives.
27462         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27463         make a stack frame.  Instead use parm save area as a temp.
27464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27465         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27467         Don't make a stack frame for parent, use parm save area.
27468         Increase child stack frame to 112 bytes.  Don't save unused reg,
27469         and adjust reg usage.  Set up cfi on error recovery and
27470         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27472         (__makecontext): Add dummy nop after jump to exit.
27473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27474         Use correct parm save area and cr save, reduce stack frame.
27475         Correct cfi for possible PSEUDO_RET frame setup.
27476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27477         Branch to local label emitted by PSEUDO_RET rather than
27478         __syscall_error.
27479
27480 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27481
27482         [BZ #11904]
27483         * locale/programs/locale.c (print_assignment): New function.
27484         (show_locale_vars): Use it.
27485
27486 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27487
27488         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27489         field.
27490         (struct statfs64): Likewise.
27491         (_STATFS_F_FLAGS): Define.
27492         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27493         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27494         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27495         (ST_VALID): Define locally.
27496         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27497         __statvfs_getflags, use the provided value.
27498         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27499         __ASSUME_STATFS_F_FLAGS.
27500
27501         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27502
27503         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27504         Add sys/fanotify.h.
27505         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27506         fanotify_mask for GLIBC_2.13.
27507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27508         fanotify_init and fanotify_mark.
27509         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27510         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27511
27512         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27513         Add prlimit.
27514         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27515         prlimit64 for GLIBC_2.13.
27516         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27517         prlimit64.
27518         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27519         syscall.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27521         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27522         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27523         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27525         add prlimit alias.
27526         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27527
27528         [BZ #11903]
27529         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27530         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27531
27532         * nss/Makefile: Add rules to build and run tst-nss-test1.
27533         * shlib-versions: Add entry for libnss_test1.
27534         * nss/nss_test1.c: New file.
27535         * nss/tst-nss-test1.c: New file.
27536
27537         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27538         (__nss_configure_lookup): Set appropriate entry in
27539         __nss_configure_lookup to true.
27540         * nss/nsswitch.h: Define enum with indeces of databases in
27541         databases and __nss_database_custom arrays.  Declare
27542         __nss_database_custom.
27543         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27544         to avoid using nscd when custom rules are installed.
27545         * nss/getXXbyYY_r.c: Likewise.
27546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27547
27548         * nss/nss_files/files-parse.c: Whitespace fixes.
27549
27550 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27551
27552         [BZ #11883]
27553         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27554         * posix/fnmatch_loop.c: Likewise.
27555
27556 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27557
27558         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27559         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27560         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27561         * Versions.def [GLIBC_2.13]: Add.
27562
27563 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27564
27565         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27566         Also fail if tpwd after pwuid call is NULL.
27567
27568 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27569
27570         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27571         when converting to ms.
27572
27573 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27574
27575         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27576         EOPNOTSUPP errors with ENOTTY.
27577         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27578         EOPNOTSUPP errors with ENOTTY.
27579
27580 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27581
27582         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27583         Add strcasecmp_l-ssse3.
27584         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27585         strcasecmp.
27586         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27587         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27588         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27589
27590 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27591
27592         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27593
27594         * string/Makefile (strop-tests): Add strcasecmp.
27595         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27596         strcasecmp_l-nonascii.
27597         (gen-as-const-headers): Add locale-defines.sym.
27598         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27599         * sysdeps/x86_64/strcasecmp.S: New file.
27600         * sysdeps/x86_64/strcasecmp_l.S: New file.
27601         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27602         * sysdeps/x86_64/locale-defines.sym: New file.
27603         * string/test-strcasecmp.c: New file.
27604
27605         * string/test-strcasestr.c: Test both ends of the range of characters.
27606         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27607
27608 2010-07-29  Roland McGrath  <roland@redhat.com>
27609
27610         [BZ #11856]
27611         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27612
27613 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27614
27615         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27616         for ld.so.
27617
27618 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27619
27620         * manual/memory.texi (Malloc Tunable Parameters): Document
27621         M_PERTURB.
27622
27623 2010-07-26  Roland McGrath  <roland@redhat.com>
27624
27625         [BZ #11840]
27626         * configure.in (-fgnu89-inline check): Set and substitute
27627         gnu89_inline, not libc_cv_gnu89_inline.
27628         * configure: Regenerated.
27629         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27630
27631 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27632
27633         * string/test-strnlen.c: New file.
27634         * string/Makefile (strop-tests): Add strnlen.
27635         * string/tester.c (test_strnlen): Add a few more test cases.
27636         * string/tst-strlen.c: Better error reporting.
27637
27638         * sysdeps/x86_64/strnlen.S: New file.
27639
27640 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27641
27642         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27643         lower-latency instructions.
27644
27645 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27646
27647         * string/test-strcasestr.c: New file.
27648         * string/test-strstr.c: New file.
27649         * string/Makefile (strop-tests): Add strstr and strcasestr.
27650         * string/str-two-way.h: Don't undefine MAX.
27651         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27652
27653 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27654
27655         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27656         strcasestr-nonascii.
27657         (CFLAGS-strcasestr-nonascii.c): Define.
27658         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27659         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27660         Remove unused attribute.
27661
27662 2010-07-20  Roland McGrath  <roland@redhat.com>
27663
27664         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27665         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27666         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27667         like LD_HWCAP_MASK can disable hwcaps.
27668
27669 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27670
27671         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27672
27673 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27674
27675         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27676         call in strcasestr.
27677         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27678         __strcasestr_sse42_nonascii.
27679         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27680         strcasestr-nonascii.c.
27681         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27682
27683 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27684
27685         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27686         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27687         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27688         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27689
27690 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27691
27692         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27693         fcntl.
27694
27695 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27696
27697         [BZ #11577]
27698         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27699         dl_signal_cerror.
27700
27701 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27702
27703         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27704         _PC_PIPE_BUF using F_GETPIPE_SZ.
27705
27706 2010-07-05  Roland McGrath  <roland@redhat.com>
27707
27708         * manual/arith.texi (Rounding Functions): Fix rint description
27709         implicit in round description.
27710
27711 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27712
27713         * elf/Makefile: Fix linking for a few tests to make recent linker
27714         happy.
27715
27716 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27717
27718         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27719         $(common-objpfx)libc_nonshared.a.
27720
27721 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27722
27723         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27724         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27725         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27726         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27727         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27728         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27729         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27730         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27745         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27746         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27747         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27748         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27749         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27750         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27751         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27752         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27753         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27754         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27755         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27756         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27771
27772 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27773
27774         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27775         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27776         * string/memmove.c (memmove): Renamed to ...
27777         (MEMMOVE): ...this.  Default to memmove.
27778         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27779         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27780         (END_CHK): Define.
27781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27782         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27783         mempcpy-ssse3-back memmove-ssse3-back.
27784         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27785         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27786         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27787         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27788         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27789         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27790         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27791         * sysdeps/x86_64/multiarch/memmove.c: New file.
27792         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27793         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27794         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27795         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27796         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27797         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27798         Define.
27799         (index_Fast_Copy_Backward): Define.
27800         (HAS_ARCH_FEATURE): Define.
27801         (HAS_FAST_REP_STRING): Define.
27802         (HAS_FAST_COPY_BACKWARD): Define.
27803
27804 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27805
27806         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27807         Restore proper fallback handling.
27808
27809 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27810
27811         [BZ #11701]
27812         * posix/group_member.c (__group_member): Correct checking loop.
27813
27814         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27815         OOM in getpwuid_r correctly.  Return error number when the caller
27816         should return, otherwise -1.
27817         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27818         call returning > 0 value.
27819         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27820
27821 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27822
27823         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27824         libc_nonshared.a from targets in modules-names.
27825
27826 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27827
27828         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27829         requires it.
27830
27831 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27832
27833         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27834         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27835         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27836         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27837
27838 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27839
27840         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27841
27842 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27843
27844         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27845         and F_GETPIPE_SZ.
27846         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27847         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27848         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27850         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27851         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27852
27853 2010-06-14  Roland McGrath  <roland@redhat.com>
27854
27855         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27856
27857 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27858
27859         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27860         __REDIRECT followed by __THROW.
27861         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27862         * posix/getopt.h (getopt): Likewise.
27863
27864 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27865
27866         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27867         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27868         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27869         in AT_FLAGS.
27870         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27871         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27872
27873 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27874
27875         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27876
27877 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27878
27879         [BZ #11640]
27880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27881         Properly check family and model.
27882
27883 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27884
27885         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27886
27887 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27888
27889         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27890
27891 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27892
27893         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27894         symbol reference.
27895
27896 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27897
27898         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27899         symbol reference.
27900
27901 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27902
27903         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27904         and internal_recvmmsg.
27905         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27906         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27907         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27908         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27909
27910         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27911         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27912         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27913
27914 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27915
27916         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27917
27918 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27919
27920         POWER7 optimizations.
27921         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27922         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27923
27924 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27925
27926         * version.h: Update for 2.13 development version.
27927
27928 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27929
27930         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27931         exceptions.  Return 0.
27932
27933 2010-05-07  Roland McGrath  <roland@redhat.com>
27934
27935         * elf/ldconfig.c (main): Add a const.
27936
27937 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27938
27939         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27940         (args_options): Add no-idn option.
27941         (ahosts_keys_int): Add idn_flags to ai_flags.
27942         (parse_option): Handle 'i' option to clear idn_flags.
27943
27944         * malloc/malloc.c (_int_free): Possible race in the most recently
27945         added check.  Only act on the data if no current modification
27946         happened.
27947
27948 See ChangeLog.17 for earlier changes.