2d44b8ed60003fda3974cd129ffde3ff493b4c4b
[platform/upstream/glibc.git] / ChangeLog
1 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * benchtests/Makefile: Mention files in which fast and slow
4         paths of math functions are implemented.
5
6 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7
8         * sysdeps/posix/timespec_get.c: New file.
9
10 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11
12         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
13         POWER.
14         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15         for POWER.
16         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17         powerpc/power5/fpu folders.
18         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19         * benchtests/Makefile: Add modf testcase.
20         * benchtests/bench-modf.c: New file: Benchmark test for mo
21
22 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23
24         [BZ #14888]
25         * time/Makefile (tests): Add tst-strptime-whitespace.
26         * time/strptime_l.c (get_number): Use ISSPACE.
27         (__strptime_internal): Likewise.
28         * time/tst-strptime-whitespace.c: New test case.
29
30 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31
32         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33         member.
34         (_nss_files_init): Set it here.
35
36 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
37
38         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
39         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40         unsigned.
41
42 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43
44         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45
46 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47
48         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49         size just once.
50
51 2013-04-21  David S. Miller  <davem@davemloft.net>
52
53         * po/ru.po: Update Russion translation from translation project.
54
55 2013-04-17  Adam Conrad  <adconrad@0c3.net>
56
57         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58         and setfsgid.
59
60 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61
62         * configure.in: Remove i386 configure warning. Remove i386 case.
63         * configure: Regenerate.
64         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65         Add example to error message.
66         * sysdeps/i386/configure: Regenerate.
67
68 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69
70         * benchtests/Makefile (bench): Add cos, tan, slowcos and
71         slowtan.
72         * benchtests/cos-inputs: New file.
73         * benchtests/slowcos-inputs: New file.
74         * benchtests/slowcos.c: New file.
75         * benchtests/slowtan-inputs: New file.
76         * benchtests/slowtan.c: New file.
77         * benchtests/tan-inputs: New file.
78
79 2013-04-16  Roland McGrath  <roland@hack.frob.com>
80
81         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
82         considered kosher.
83
84 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
85
86         * benchtests/Makefile: Include cppflags-iterator.mk to add
87         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
88
89         * Makefile.in (bench-clean): New target.
90         * benchtests/Makefile (bench-clean): Likewise.
91
92 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
93
94         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
95
96 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
97
98         * stdio-common/tstdiomisc.c: Fix coding-style violation.
99
100 2013-04-15  Andreas Schwab  <schwab@suse.de>
101
102         * nscd/grpcache.c (cache_addgr): Properly check for short write.
103         * nscd/initgrcache.c (addinitgroupsX): Likewise.
104         * nscd/pwdcache.c (cache_addpw): Likewise.
105         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
106         more than recsize.
107
108 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
109
110         * benchtests/Makefile (bench): Write all output to
111         bench-out.tmp together.
112
113 2013-04-15  Andreas Schwab  <schwab@suse.de>
114
115         * nscd/nscd.c (main): Don't fork again after closing files.
116
117 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
118
119         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
120
121         * benchtests/Rules (bench-deps): Collect dependencies into a
122         single variable.  Add Makefile to dependencies.
123         ($(objpfx)bench-%.c): Depend on bench-deps.
124
125 2013-04-12  Roland McGrath  <roland@hack.frob.com>
126             Xavier Roche  <roche+kml2@exalead.com>
127
128         [BZ #15361]
129         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
130         just that it's a file descriptor.
131         * manual/llio.texi (Synchronizing AIO Operations): Update description
132         for EBADF error from aio_fsync.
133
134 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
135
136         * Rules (bench): Move target definition...
137         * benchtests/Makefile: ... here.
138
139 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
140
141         * math/libm-test.inc (cos_test): Fix PI/2 test.
142         (sincos_test): Likewise.
143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
144         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
145
146 2013-04-11  Andreas Schwab  <schwab@suse.de>
147
148         [BZ #13988]
149         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
150         accept exponent character only when digits were seen.
151         * stdio-common/Makefile (tests): Add bug26.
152         * stdio-common/bug26.c: New file.
153
154         [BZ #14293]
155         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
156         non-freeable.
157
158 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
159
160         * Makeconfig (rtld-prefix): Define built linker prefix.
161         * Rules (run-bench): Use it.
162         * math/Makefile (run-regen-ulps): Likewise.
163
164         * Rules (bench): Remove eval.
165
166 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
167             Roland McGrath  <roland@hack.frob.com>
168             Ondrej Bilka  <neleai@seznam.cz>
169
170         [BZ #15346]
171         * time/getdate.c: Include ctype.h and alloca.h.
172         (__getdate_r): Trim leading and trailing spaces of input.
173         * time/tst-getdate.c (tests): Add tests with leading and
174         trailing spaces.
175
176 2013-04-08  Roland McGrath  <roland@hack.frob.com>
177
178         [BZ #14280]
179         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
180         when computing value.
181
182 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
183
184         * math/README.libm-test (How can I generate "libm-test-ulps"?):
185         Use testrun.sh to run libm tests.
186
187         [BZ #15309]
188         * elf/dl-open.c (dl_open_worker): memset all of seen array.
189
190 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
191
192         [BZ #15264]
193         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
194
195 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
196
197         * Makefile.in (regen-ulps): New target.
198         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
199         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
200         [ifneq (no,$(PERL)] (regen-ulps): New target.
201         [ifeq (no,$(PERL)] (regen-ulps): New target.
202         * math/libm-test.inc (ulps_file_name): Define.
203         (output_dir): New variable.
204         (options): Add "output-dir" option.
205         (parse_opt): Handle 'o' case.
206         (main): If output_dir is non-NULL use it as a prefix
207         otherwise use "".
208         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
209
210 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
211
212         [BZ #10060, #10062]
213         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
214         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
215         fail configure if __sync_val_compare_and_swap is not inlined.
216         * sysdeps/i386/configure: Regenerate.
217         * configure.in: Build for i686 when configured for i386.
218         * configure: Regenerate.
219         * README: Remove i386 reference.
220
221 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
222
223         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
225
226 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
227
228         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
229         (lmsnanval): New variables.
230         (F): Add conversion tests.
231         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
232         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
233
234         * stdio-common/tstdiomisc.c (F): Properly collect individual
235         tests' results.
236
237         [BZ #14686, #15336]
238         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
239         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
240         Instead, use input NaN values or generate a qNaN by arithmetic
241         operation.  Also fix bugs to comply with the standard.
242         * math/libm-test.inc (remainder_test): Add more tests.
243
244         [BZ #15335, #15342]
245         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
247         input NaN values or generate a qNaN by arithmetic operation.
248
249         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
250         unreachable code.
251
252         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
253         definitions.
254
255 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
256
257         [BZ #14478]
258         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
259         underflowed result.
260         * math/s_cexpf.c (__cexpf): Likewise.
261         * math/s_cexpl.c (__cexpl): Likewise.
262         * math/libm-test.inc (cexp_test): Add more tests.
263
264 2013-04-03  Andreas Schwab  <schwab@suse.de>
265
266         [BZ #15330]
267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
268         order arrays from heap if bigger than alloca cutoff.
269
270 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
271
272         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
273         (SNAN_TESTS_double): Refer to GCC PR56831.
274         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
275         GCC PR56828.
276
277 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
278
279         * Rules (bench): Move bench.out after the run is complete.
280
281         * Rules (bench): Echo currently running benchmark.
282
283         * benchtests/Makefile (bench): Add atan and slowatan.
284         * benchtests/atan-inputs: New file.
285         * benchtests/slowatan-inputs: New file.
286         * benchtests/slowatan.c: New file.
287
288         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
289         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
290         its value.
291
292         [BZ #15305]
293         * sysdeps/unix/sysv/linux/kernel-features.h
294         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
295         __ASSUME_XFS_RESTRICTED_CHOWN.
296         * sysdeps/unix/sysv/linux/pathconf.c
297         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
298         Save and restore errno.
299
300 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
301
302         [BZ #15327]
303         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
304         arguments using __kernel_casinh.
305         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
306         arguments using __kernel_casinhf.
307         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
308         arguments using __kernel_casinhl.
309         * math/libm-test.inc (cacosh_test): Add more tests.
310         * sysdeps/i386/fpu/libm-test-ulps: Update.
311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
312
313 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
314
315         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
317
318         * bench/Makefile (bench): Add sin and slowsin.
319         * benchtests/sin-inputs: New file.
320         * benchtests/slowsin-inputs: New file.
321         * benchtests/slowsin.c: New file.
322
323         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
324         (bench): Add slowexp and slowpow.
325         (exp-ITER): Increase iterations.
326         (pow-ITER): Likewise.
327         * benchtests/exp-inputs: Change input.
328         * benchtests/pow-inputs: Likewise.
329         * benchtests/slowexp-inputs: New file.
330         * benchtests/slowexp.c: New file.
331         * benchtests/slowpow-inputs: New file.
332         * benchtests/slowpow.c: New file.
333
334 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
335
336         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
337         instructions.
338         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
339         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
340         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
341         * benchtests/Makefile: Add rint benchtest.
342         * benchtests/rint-inputs: Input for rint benchtest.
343
344 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
345
346         * Versions.def (libm): Add GLIBC_2.18.
347         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
348         hidden libm prototypes.
349         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
350         * math/Makefile (libm-calls): Add s_issignaling.
351         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
352         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
353         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
354         declaration.
355         * math/math.h [__USE_GNU] (issignaling): New macro.
356         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
357         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
358         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
359         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
360         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
361         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
362         * manual/arith.texi (issignaling): New section.
363         * manual/libm-err-tab.pl (@all_functions): Update comment.
364         * math/gen-libm-test.pl (parse_args): Apply special handling for
365         issignaling.
366         * math/libm-test.inc (print_float, issignaling_test): New
367         functions.
368         (check_float_internal): Add issignaling checks.
369         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
370         default definition.
371         * sysdeps/powerpc/math-tests.h: New file.
372         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
373         tests.
374         * math/test-snan.c (TEST_FUNC): Likewise.
375
376 2013-03-30  David S. Miller  <davem@davemloft.net>
377
378         * po/de.po: Update from translation team.
379
380 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
381
382         [BZ #10357]
383         * math/k_casinh.c (__kernel_casinh): Handle arguments with
384         imaginary part less than 1.0 and real part less than 0.5
385         specially.
386         * math/k_casinhf.c (__kernel_casinhf): Likewise.
387         * math/k_casinhl.c (__kernel_casinhl): Likewise.
388         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
389         (cacos_test): Add more tests.
390         (casin_test): Likewise.
391         (casinh_test): Likewise.
392         * sysdeps/i386/fpu/libm-test-ulps: Update.
393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
394
395 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
396
397         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
398         ONE with its value.
399
400         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
401         (__pow_mp): Replace ONE and MONE with their values.
402         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
403         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
404         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
405         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
406         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
407         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
408
409         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
410
411         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
412         (__pow_mp): Replace ZERO and MZERO with their values.
413         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
416         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
417         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
418         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
419         (__sqr): Likewise.
420
421         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
422
423         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
424
425 2013-03-28  Roland McGrath  <roland@hack.frob.com>
426
427         * include/stdlib.h [!SHARED] (__call_tls_dtors):
428         Declare with __attribute__ ((weak)).
429         * stdlib/exit.c (__libc_atexit) [!SHARED]:
430         Call __call_tls_dtors only if it's not NULL.
431
432 2013-03-28  Roland McGrath  <roland@hack.frob.com>
433
434         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
435         didn't do it already, then set _dl_phdr and _dl_phnum based on the
436         magic __ehdr_start linker symbol if it's defined.
437         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
438         them up here if it was already done.
439
440         * elf/dl-support.c (_dl_phdr): Make pointer to const.
441         (_dl_aux_init): Use const in cast when setting it.
442         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
443         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
444         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
445
446         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
447         Declare them here.
448         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
449         * csu/libc-tls.c: Nor here.
450         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
451
452         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
453         (__libc_message): Never call vsyslog.
454
455 2013-03-28  Alan Modra  <amodra@gmail.com>
456
457         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
458         Define as empty.
459         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
460         Likewise.
461
462 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
463
464         [BZ #15214]
465         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
466         underflow.
467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
468
469 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
470
471         [BZ #15304]
472         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
473         Don't add gid passed as argument.
474
475         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
476
477 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
478
479         [BZ #15307]
480         * math/k_casinh.c (__kernel_casinh): Handle arguments with
481         imaginary part between 1.0 and 1.5 and real part less than 0.5
482         specially.
483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
485         * math/libm-test.inc (cacos_test): Add more tests.
486         (casin_test): Likewise.
487         (casinh_test): Likewise.
488         * sysdeps/i386/fpu/libm-test-ulps: Update.
489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
490
491 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
492
493         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
494         constants.
495         (norm): Likewise.
496         (denorm): Likewise.
497         (__dbl_mp): Likewise.
498         (add_magnitudes): Likewise.
499         (sub_magnitudes): Likewise.
500         (__add): Likewise.
501         (__sub): Likewise.
502         (__mul): Likewise.
503         (__sqr): Likewise.
504         (__inv): Likewise.
505         (__dvd): Likewise.
506
507         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
508         commented code.
509         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
510         (__dubcos): Likewise.
511         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
512         (__ieee754_acos): Likewise.
513         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
514         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
515         (__exp1): Likewise.
516         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
517         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
518         (log1): Likewise.
519         (my_log2): Likewise.
520         (checkint): Likewise.
521         * sysdeps/ieee754/dbl-64/e_remainder.c
522         (__ieee754_remainder): Likewise.
523         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
525         (bsloww): Likewise.
526         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
527
528         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
529         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
530         MANTISSA_STORE_T to store computations on mantissa.  Use
531         macros for rounding and division.
532         (denorm): Likewise.
533         (__dbl_mp): Likewise.
534         (add_magnitudes): Likewise.
535         (sub_magnitudes): Likewise.
536         (__mul): Likewise.
537         (__sqr): Likewise.
538         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
539         powers of two in terms of TWOPOW macro.
540         (mp_no): Make type of mantissa as MANTISSA_T.
541         [!RADIXI]: Define RADIXI.
542         [!TWO52]: Define TWO52.
543         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
544
545 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
546
547         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
548         llroundl symbol when building for PPC32.
549
550 2013-03-24  Mark H Weaver  <mhw@netris.org>
551
552         * manual/arith.texi (Normalization Functions): Fix prototypes for
553         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
554
555 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
556
557         [BZ #13889]
558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
559         high value to check if expl overflow.
560         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
561         to check for underflow and overflow.
562         * math/libm-test.inc: Add exp test.
563
564 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
565
566         [BZ #11120]
567         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
568         with NOT_IN_libc.
569
570 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
571
572         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
573         symbol.
574
575 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
576
577         * math/gen-libm-test.pl (parse_args, special_functions): Properly
578         wrap blocks consisting of several statements.
579
580         * sysdeps/generic/math-tests.h: New file.
581         * sysdeps/i386/fpu/math-tests.h: Likewise.
582         * math/test-snan.c: Include it.
583         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
584
585 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
586
587         [BZ #15285]
588         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
589         (__ieee754_j0l): Do not improve calculations using cos of twice
590         input for inputs above LDBL_MAX / 2.0L.
591         (__ieee754_y0l): Likewise.
592         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
593         (__ieee754_j1l): Do not improve calculations using cos of twice
594         input for inputs above LDBL_MAX / 2.0L.
595         (__ieee754_y1l): Likewise.
596         * math/libm-test.inc (j0_test): Add another test.
597         (j1_test): Likewise.
598         (y0_test): Likewise.
599         (y1_test): Likewise.
600         * sysdeps/i386/fpu/libm-test-ulps: Update.
601
602 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
603
604         * Rules ($(objpfx)bench-%.c): Include code from a C source
605         file.
606
607 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
608
609         [BZ #15287]
610         * math/k_casinh.c (__kernel_casinh): Handle arguments with
611         imaginary part 1.0 and real part less than 0.5 specially.
612         * math/k_casinhf.c (__kernel_casinhf): Likewise.
613         * math/k_casinhl.c (__kernel_casinhl): Likewise.
614         * math/libm-test.inc (cacos_test): Add more tests.
615         (casin_test): Likewise.
616         (casinh_test): Likewise.
617         * sysdeps/i386/fpu/libm-test-ulps: Update.
618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619
620 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
621
622         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
623         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
624
625 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
626
627         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
628         * config.make.in (config-cflags-sse4): Remove variable.
629         (config-cflags-avx): Likewise.
630         (config-cflags-sse2avx): Likewise.
631         (config-cflags-novzeroupper): Likewise.
632         (config-asflags-i686): Likewise.
633         (have-mfma4): Likewise.
634         (have-as-vis3): Likewise.
635         (MIG): Likewise.
636         * configure.in (MIG): Do not AC_SUBST.
637         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
638         (libc_cv_cc_sse4): Do not AC_SUBST.
639         (libc_cv_cc_avx): Likewise.
640         (libc_cv_cc_sse2avx): Likewise.
641         (libc_cv_cc_novzeroupper): Likewise.
642         (libc_cv_cc_fma4): Likewise.
643         (libc_cv_as_i686): Likewise.
644         (libc_cv_sparc_as_vis3): Likewise.
645         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
646         LIBC_CONFIG_VAR.
647         (config-asflags-i686): Likewise.
648         (config-cflags-avx): Likewise.
649         (config-cflags-sse2avx): Likewise.
650         (have-mfma4): Likewise.
651         (config-cflags-novzeroupper): Likewise.
652         * sysdeps/mach/configure.in (MIG): Likewise.
653         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
654         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
655         LIBC_CONFIG_VAR.
656         (config-cflags-avx): Likewise.
657         (config-cflags-sse2avx): Likewise.
658         (have-mfma4): Likewise.
659         (config-cflags-novzeroupper): Likewise.
660         * configure: Regenerated.
661         * sysdeps/i386/configure: Likewise.
662         * sysdeps/mach/configure: Likewise.
663         * sysdeps/sparc/configure: Likewise.
664         * sysdeps/x86_64/configure: Likewise.
665
666 2013-03-20  Roland McGrath  <roland@hack.frob.com>
667
668         [BZ #14812]
669         * locale/programs/localedef.c (options): Put N_ translation marker
670         on argument names, not just descriptions.
671
672 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
673
674         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
675
676 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
677
678         [BZ #14176]
679         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
680
681 2013-03-19  Roland McGrath  <roland@hack.frob.com>
682
683         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
684         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
685         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
686         [!BEFORE_ABORT] (before_abort): New function.
687         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
688         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
689         (writev_for_fatal): New function.
690         (WRITEV_FOR_FATAL): New macro; call that.
691         (backtrace_and_maps): New function.
692         (BEFORE_ABORT): New macro; call that.
693         (struct str_list): Type removed.
694         (__libc_message, __libc_fatal): Functions removed.
695         Include <sysdeps/posix/libc_fatal.c> instead.
696
697 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
698
699         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
700         constants.
701         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
702         double constants.
703
704 2013-03-19  Andreas Schwab  <schwab@suse.de>
705
706         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
707         * sysdeps/gnu/configure: Regenerate.
708
709         * configure.in: Substitute libc_cv_rtlddir.
710         * configure: Regenerate.
711         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
712         * Makeconfig (rtlddir, inst_rtlddir): New variables.
713         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
714         * elf/Makefile (install-others, CFLAGS-interp.c)
715         (ldso_install, common-ldd-rewrite): Likewise.
716         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
717         $(inst_slibdir)/$(rtld-installed-name).
718         * scripts/rellns-sh: Add -p option.
719         * Makerules (make-shlib-link): Use rellns-sh to get relative name
720         for source.
721
722 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
723
724         * manual/nptl.texi: Renamed to ...
725         * manual/threads.texi: ... this.
726         * manual/Makefile (chapters): Update.
727
728 2013-03-18  Roland McGrath  <roland@hack.frob.com>
729
730         [BZ #14812]
731         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
732         on argument names, not just descriptions.
733         * malloc/memusagestat.c (options): Likewise.
734         * nss/getent.c (options): Likewise.
735
736 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
737
738         [BZ #14812]
739         * iconv/iconv_prog.c (options): Put N_ translation marker
740         on argument names, not just descriptions.
741         * iconv/iconvconfig.c (options): Likewise.
742
743 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
744
745         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
746         implementation which is faster on all x86_64 architectures.
747         Tested on AMD, Intel Nehalem, SNB, IVB.
748         * sysdeps/x86_64/strnlen.S: Likewise.
749
750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
751         Remove all multiarch strlen and strnlen versions.
752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
753         Remove strlen and strnlen related parts.
754
755         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
756         Inline strlen part.
757         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
758
759         * sysdeps/x86_64/multiarch/strlen.S: Remove.
760         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
761         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
762         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
763         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
764         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
765
766 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
767
768         * manual/memory.texi (Malloc Tunable Parameters):
769         Sort parameters alphabetically. Add comments for missing entries.
770
771 2013-03-17  David S. Miller  <davem@davemloft.net>
772
773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
774
775 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
776
777         [BZ #15283]
778         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
779         for arguments at most half maximum finite value.
780         * math/libm-test.inc (j0_test): Add more tests.
781         (j1_test): Likewise.
782         (y0_test): Likewise.
783         (y1_test): Likewise.
784         * sysdeps/i386/fpu/libm-test-ulps: Update.
785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
786
787         [BZ #14155]
788         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
789         1 / x and functions P and Q for arguments above 0x1p256L.
790         (__ieee754_y0l): Likewise.
791         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
792         (__ieee754_y1l): Likewise.
793         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
794         (j1_test): Likewise.
795         (y0_test): Likewise.
796         (y1_test): Likewise.
797
798 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
799
800         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
801         variable.
802
803 2013-03-15  Roland McGrath  <roland@hack.frob.com>
804
805         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
806         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
807         zero since it's initialized to EXEC_PAGESIZE.
808
809         * sysdeps/unix/sysv/linux/ldsodefs.h
810         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
811         * sysdeps/generic/ldsodefs.h: ... here.
812
813 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
814
815         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
816
817         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
818         math/test-snan.c.
819         * math/test-snan.c: Renamed from
820         sysdeps/powerpc/fpu/test-powerpc-snan.c.
821         * math/Makefile (tests): Add test-snan.
822         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
823         test-powerpc-snan.
824
825         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
826         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
827         functions.
828         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
829         __builtin_nan family of functions.
830         * math/libm-test.inc (initialize): Initialize qnan_value with
831         __builtin_nan family of functions.
832         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
833         Remove variables.
834         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
835         Remove functions.
836         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
837         storage class.  Initialize qNaN_var and sNaN_var with
838         __builtin_nan and __builtin_nans families of functions,
839         respectively.
840
841         * math/libm-test.inc (acosh_test): Also test with qNaN input.
842         (sqrt_test): Remove duplicate test with qNaN input.
843         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
844         (round_test, signbit_test, significand_test): Note missing +/-Inf
845         as well as qNaN tests.
846
847         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
848         qNaN_var.  Fix a few strings, too.
849         * math/libm-test.inc (nan_value): Rename to qnan_value.
850         * math/gen-libm-test.pl (%beautify): Adjust to that.
851         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
852         * math/test-misc.c (main): Likewise.
853         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
854         to __qnan_bytes, and __qnan_union, respectively.
855         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
856         Likewise.
857         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
858         and lqnanval, respectively.
859         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
860         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
861         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
862         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
863
864         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
865         * math/test-misc.c (main) [__x86_64__]: Enable test for long
866         doubles.
867
868         * math/test-misc.c (main): Fix copy'n'pastos.
869         * misc/tst-efgcvt.c (special): Likewise.
870
871         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
872         Remove declarations.
873
874 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
875
876         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
877         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
878         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
879         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
880
881 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
882
883         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
884         macro to return vdso values correctly in IFUNC implementations.
885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
886         Optimization by using IFUNC.
887
888 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
889             Richard Henderson  <rth@redhat.com>
890             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
891
892         * Makefile.in (bench): New target.
893         * NEWS: Mention the benchmark framework.
894         * Rules (bench): Likewise.
895         (binaries-bench): Generate binaries for functions to
896         benchmark.
897         * benchtests/Makefile: New makefile for benchmark tests.
898         * benchtests/bench-skeleton.c: New skeleton file for benchmark
899         programs.
900         * benchtests/exp-inputs: New input file for EXP function.
901         * benchtests/pow-inputs: New input file for POW function.
902         * scripts/bench.pl: New script to generate source files for
903         benchmark programs.
904
905 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
906
907         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
908         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
909         computations on mantissa.  Use macros for rounding and
910         division.
911         (denorm): Likewise.
912         (__dbl_mp): Likewise.
913         (add_magnitudes): Likewise.
914         (sub_magnitudes): Likewise.
915         (__mul): Likewise.
916         (__sqr): Likewise.
917         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
918         powers of two in terms of TWOPOW macro.
919         (mp_no): Make type of mantissa as MANTISSA_T.
920         [!RADIXI]: Define RADIXI.
921         [!TWO52]: Define TWO52.
922         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
923
924         * manual/nptl.texi (cindex): Modify threads to pthreads.
925
926 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
927
928         * sysdeps/x86_64/preconfigure: Regenerated.
929
930 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
931
932         [BZ #14155]
933         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
934         0x1p28 and above.
935         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
936         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
937         0x1p28 and above.
938         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
939         * math/libm-test.inc (j0_test): Do not allow one spurious
940         underflow exception.
941         (y1_test): Likewise.
942
943 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
944
945         * manual/Makefile (chapters): Add nptl.
946         * manual/debug.texi (Debugging Support): Add link to Threads
947         chapter.
948         * manual/nptl.texi: New file.
949
950         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
951
952 2013-03-14  Petr Baudis  <pasky@ucw.cz>
953
954         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
955         for non-NULL pointer before the memory validity test. Pointed
956         out by Holger Brunck <holger.brunck@keymile.com>.
957
958 2013-03-13  Andreas Schwab  <schwab@suse.de>
959
960         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
961         instead of .os.
962
963 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
964
965         * timezone/zic.c: Update from tzcode 2013b.
966
967 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
968
969         * manual/install.texi (Configuring and compiling):
970         Mention i686 and i586.
971         * INSTALL: Regenerate.
972
973 2013-03-12  Roland McGrath  <roland@hack.frob.com>
974
975         * sysdeps/init_array/elf-init.c: New file.
976         * csu/elf-init.c
977         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
978         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
979
980         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
981         __gmon_start__ as global, but as static with a .preinit_array pointer.
982         * sysdeps/init_array/gmon-start.c: New file.  Use that.
983         * sysdeps/init_array/crti.S: New file, empty except for comments.
984         * sysdeps/init_array/crtn.S: Likewise.
985
986 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
987
988         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
989         definining bcopy.
990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
991         Remove Prefer_SSE_for_memop.
992         * sysdeps/x86_64/multiarch/init-arch.h: Remove
993         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
994         HAS_PREFER_SSE_FOR_MEMOP.
995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
996         memset-x86-64.
997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
998         Remove bzero, memset ifunc support.
999         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1000         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1001         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1003
1004 2013-03-11  Andreas Schwab  <schwab@suse.de>
1005
1006         [BZ #15234]
1007         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1008         by SHLIB_COMPAT.
1009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1010         (GLIBC_2.16): Remove pthread_atfork.
1011
1012 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1013
1014         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1015         (ptestcases.h): Likewise.
1016
1017 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1018
1019         * Makeconfig ($(common-objpfx)config.status): Depend on
1020         sysdeps/*/preconfigure{,.in} too.
1021
1022 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1023
1024         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1025         (__free_hook): Use void * instead of __malloc_ptr_t.
1026         (__malloc_hook): Likewise.
1027         (__realloc_hook): Likewise.
1028         (__memalign_hook): Likewise.
1029         (__after_morecore_hook): Likewise.
1030         * malloc/arena.c (save_malloc_hook): Likewise.
1031         (save_free_hook): Likewise.
1032         * malloc/hooks.c (malloc_hook_ini): Likewise.
1033         (realloc_hook_ini): Likewise.
1034         (memalign_hook_ini): Likewise.
1035         * malloc/malloc.c (malloc_hook_ini): Likewise.
1036         (realloc_hook_ini): Likewise.
1037         (memalign_hook_ini): Likewise.
1038         (__free_hook): Likewise.
1039         (__malloc_hook): Likewise.
1040         (__realloc_hook): Likewise.
1041         (__memalign_hook): Likewise.
1042         (__libc_malloc): Likewise.
1043         (__libc_free): Likewise.
1044         (__libc_realloc): Likewise.
1045         (__libc_memalign): Likewise.
1046         (__libc_valloc): Likewise.
1047         (__libc_pvalloc): Likewise.
1048         (__libc_calloc): Likewise.
1049         (__posix_memalign): Likewise.
1050         * malloc/morecore.c (__sbrk): Likewise.
1051         (__default_morecore): Likewise.
1052
1053         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1054
1055         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1056         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1057         __malloc_ptrdiff_t.
1058
1059         * malloc/malloc.h (__malloc_size_t): Remove macro.
1060         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1061         __malloc_size_t.
1062         (old_memalign_hook): Likewise.
1063         (old_realloc_hook): Likewise.
1064         (struct hdr): Likewise.
1065         (flood): Likewise.
1066         (mallochook): Likewise.
1067         (memalignhook): Likewise.
1068         (reallochook): Likewise.
1069         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1070         (tr_old_realloc_hook): Likewise.
1071         (tr_old_memalign_hook): Likewise.
1072         (tr_mallochook): Likewise.
1073         (tr_reallochook): Likewise.
1074         (tr_memalignhook): Likewise.
1075
1076 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1077
1078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1079         default_ldbl_pack and using as default implementation.
1080         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1081         implementation.
1082         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1083         redundant definition.
1084         (ldbl_insert_mantissa): Likewise.
1085         (ldbl_canonicalize): Likewise.
1086         (ldbl_nearbyint): Likewise.
1087         (ldbl_pack): Rename to ldbl_pack_ppc.
1088         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1089         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1090         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1091
1092 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1093
1094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1095         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1096         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1097         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1099         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1100         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1101         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1102
1103 2013-03-07  Andreas Jaeger  <aj@suse.de>
1104
1105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1106         bits/mman-linux.h.
1107
1108 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1109
1110         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1111         Include mpa.h and declare __MPEXP.
1112         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1113         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1114         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1115         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1116         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1117         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1118         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1119
1120         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1121         (__slowpow): Use long double EXPL and LOGL functions to
1122         compute POW.
1123         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1124         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1125         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1126         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1127         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1128         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1129
1130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1131         intermediate variable to calculate exponent.
1132         (__sqr): Likewise.
1133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1134         Likewise.
1135         (__sqr): Likewise.
1136
1137         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1138         [!NO__SQR]: Define __sqr.
1139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1140         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1141         sysdeps/ieee754/dbl-64/mpa.c.
1142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1143
1144         [BZ #12723]
1145         * posix/Makefile (tests): Add tst-pathconf.
1146         * posix/tst-pathconf.c: New test case.
1147         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1148         _PC_PIPE_BUF.
1149         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1150
1151 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1152
1153         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1154
1155 2013-03-06  Andreas Jaeger  <aj@suse.de>
1156
1157         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1158         definition via __MAP_ANONYMOUS.
1159
1160         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1161         it's not part of Linux headers.
1162
1163         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1164         (MAP_HUGE_MASK): Define.
1165
1166         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1167         Define.
1168         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1169         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1170         Define.
1171         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1172         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1173         Define.
1174         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1176         Define.
1177         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1178
1179         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1180         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1181         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1182         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1183         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1184         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1185
1186         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1187         Handle f2fs.
1188
1189         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1190         Handle f2fs and efivarfs.
1191
1192         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1193         f2fs.
1194
1195         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1196         (EFIVARFS_MAGIC): Add.
1197         (F2FS_LINK_MAX): Add.
1198
1199 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1200
1201         * stdio-common/vfprintf.c: Replace __builtin_expect with
1202         __glibc_unlikely.
1203
1204 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1205
1206         [BZ #13550]
1207         * sysdeps/generic/bp-sym.h: Remove file.
1208         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1209         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1210         <bp-sym.h> and <bp-asm.h>.
1211         (__longjmp): Don't use BP_SYM.
1212         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1213         and <bp-asm.h>.
1214         (memcpy): Don't use BP_SYM.
1215         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1216         <bp-sym.h> and <bp-asm.h>.
1217         (memcpy): Don't use BP_SYM.
1218         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1219         <bp-asm.h>.
1220         (memcpy): Don't use BP_SYM.
1221         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1222         <bp-asm.h>.
1223         (memset): Don't use BP_SYM.
1224         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1225         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1226         (__bzero): Don't use BP_SYM.
1227         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1228         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1229         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1230         <bp-sym.h> and <bp-asm.h>.
1231         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1232         pointers.
1233         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1234         <bp-sym.h> and <bp-asm.h>.
1235         (memcpy): Don't use BP_SYM.
1236         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1237         <bp-sym.h> and <bp-asm.h>.
1238         (memset): Don't use BP_SYM.
1239         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1240         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1241         (__bzero): Don't use BP_SYM.
1242         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1243         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1244         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1245         <bp-sym.h> and <bp-asm.h>.
1246         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1247         pointers.
1248         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1249         <bp-sym.h> and <bp-asm.h>.
1250         (memcpy): Don't use BP_SYM.
1251         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1252         <bp-sym.h> and <bp-asm.h>.
1253         (memset): Don't use BP_SYM.
1254         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1255         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1256         (__bzero): Don't use BP_SYM.
1257         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1258         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1260         <bp-sym.h> and <bp-asm.h>.
1261         (__memchr): Don't use BP_SYM.
1262         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1263         <bp-sym.h> and <bp-asm.h>.
1264         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1265         pointers.
1266         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1267         <bp-sym.h> and <bp-asm.h>.
1268         (memcpy): Don't use BP_SYM.
1269         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1270         <bp-sym.h> and <bp-asm.h>.
1271         (__mempcpy): Don't use BP_SYM.
1272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1273         <bp-sym.h> and <bp-asm.h>.
1274         (__memrchr): Don't use BP_SYM.
1275         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1276         <bp-sym.h> and <bp-asm.h>.
1277         (memset): Don't use BP_SYM.
1278         (__bzero): Likewise.
1279         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1280         <bp-sym.h> and <bp-asm.h>.
1281         (__rawmemchr): Don't use BP_SYM.
1282         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1283         <bp-sym.h> and <bp-asm.h>.
1284         (__STRCMP): Don't use BP_SYM.
1285         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1286         <bp-sym.h> and <bp-asm.h>.
1287         (strchr): Don't use BP_SYM.
1288         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1289         <bp-sym.h> and <bp-asm.h>.
1290         (__strchrnul): Don't use BP_SYM.
1291         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1292         <bp-sym.h> and <bp-asm.h>.
1293         (strlen): Don't use BP_SYM.
1294         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1295         <bp-sym.h> and <bp-asm.h>.
1296         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1297         pointers.
1298         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1299         <bp-sym.h> and <bp-asm.h>.
1300         (__strnlen): Don't use BP_SYM.
1301         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1302         <bp-sym.h> and <bp-asm.h>.
1303         (__GI__setjmp): Don't use BP_SYM.
1304         (_setjmp): Likewise.
1305         (__sigsetjmp): Likewise.
1306         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1307         (L(start_addresses)): Don't use BP_SYM.
1308         (_start): Likewise.
1309         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1310         <bp-asm.h>.
1311         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1312         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1313         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1314         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1315         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1316         <bp-asm.h>.
1317         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1318         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1319         about bounded pointers.
1320         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1321         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1322         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1323         <bp-asm.h>.
1324         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1325         about bounded pointers.  Remove GKM FIXME comments.
1326         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1327         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1328         <bp-asm.h>.
1329         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1330         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1331         Remove GKM FIXME comments.
1332         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1333         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1334         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1335         <bp-asm.h>.
1336         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1337         about bounded pointers.  Remove GKM FIXME comment.
1338         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1339         and <bp-asm.h>.
1340         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1341         pointers.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1343         <bp-sym.h> and <bp-asm.h>.
1344         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1346         <bp-sym.h> and <bp-asm.h>.
1347         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1348         comment.
1349
1350 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1351
1352         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1353         call free(NULL).
1354
1355 2013-03-05  David S. Miller  <davem@davemloft.net>
1356
1357         * po/es.po: Update from translation team.
1358
1359 2013-03-05  Andreas Jaeger  <aj@suse.de>
1360
1361         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1362         <bits/mman-linux.h>.
1363         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1364         is fine.
1365         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1366         <bits/mman-linux.h> to end of file.
1367         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1368         is fine.
1369         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1370         <bits/mman-linux.h> to end of file.
1371         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1372         is fine.
1373         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1374         <bits/mman-linux.h> to end of file.
1375
1376         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1377         (MCL_CURRENT, MCL_FUTURE): Define here.
1378
1379 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1380
1381         [BZ #15232]
1382         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1383         attribute_hidden.
1384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1385
1386 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1387
1388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1389         fourth parameter needed for rt_sigprocmask syscall.
1390         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1391         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1392         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1393         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1395         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1396
1397 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1398
1399         [BZ #13550]
1400         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1401         comment about bounded pointers.
1402         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1403         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1404
1405 2013-03-04  Andreas Jaeger  <aj@suse.de>
1406
1407         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1408         common definitions.
1409
1410         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1411         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1412         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1413         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1414         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1415         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1416
1417 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1418
1419         [BZ #15055]
1420         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1421         __ieee754_sqrl instead of __sqrl.
1422
1423 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1424
1425         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1426         * sysdeps/powerpc/fpu_control.h: ... here.
1427         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1428         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1429         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1430         * sysdeps/powerpc/bits/mathinline.h: ... here.
1431
1432 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1433
1434         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1435         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1436         to just [NEED_DL_SYSINFO_DSO].
1437         * elf/dl-support.c: Likewise.
1438         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1439         * elf/rtld.c (dl_main): Likewise.
1440         * elf/setup-vdso.h (setup_vdso): Likewise.
1441         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1442         * sysdeps/unix/sysv/linux/dl-sysdep.c
1443         (_dl_discover_osversion): Likewise.
1444
1445 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1446
1447         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1448         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1449
1450 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1451
1452         * NEWS: Mention libm performance improvements and non-x86 PI
1453         futex support.
1454
1455         * csu/libc-start.c (__pthread_initialize_minimal): Change
1456         function arguments.
1457         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1458
1459 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1460
1461         [BZ #13550]
1462         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1463         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1464         <bp-sym.h> and <bp-asm.h>.
1465         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1466         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1467         and <bp-asm.h>.
1468         (memcpy): Don't use BP_SYM.
1469         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1470         <bp-asm.h>.
1471         (__mpn_add_n): Don't use BP_SYM.
1472         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1473         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1474         and <bp-asm.h>.
1475         (__mpn_addmul_1): Don't use BP_SYM.
1476         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1477         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1478         <bp-sym.h>.
1479         (_setjmp): Don't use BP_SYM.
1480         (__novmx_setjmp): Likewise.
1481         (__GI__setjmp): Likewise.
1482         (__vmx_setjmp): Likewise.
1483         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1484         <bp-sym.h>.
1485         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1486         (__bzero): Don't use BP_SYM.
1487         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1488         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1489         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1490         <bp-sym.h> and <bp-asm.h>.
1491         (memcpy): Don't use BP_SYM.
1492         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1493         <bp-sym.h> and <bp-asm.h>.
1494         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1495         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1496         <bp-sym.h> and <bp-asm.h>.
1497         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1498         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1499         <bp-asm.h>.
1500         (__mpn_lshift): Don't use BP_SYM.
1501         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1502         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1503         <bp-asm.h>.
1504         (memset): Don't use BP_SYM.
1505         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1506         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1507         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1508         <bp-asm.h>.
1509         (__mpn_mul_1): Don't use BP_SYM.
1510         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1512         <bp-sym.h> and <bp-asm.h>.
1513         (memcmp): Don't use BP_SYM.
1514         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1515         <bp-sym.h> and <bp-asm.h>.
1516         (memcpy): Don't use BP_SYM.
1517         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1518         <bp-sym.h> and <bp-asm.h>.
1519         (memset): Don't use BP_SYM.
1520         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1521         <bp-sym.h> and <bp-asm.h>.
1522         (strncmp): Don't use BP_SYM.
1523         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1524         <bp-sym.h> and <bp-asm.h>.
1525         (memcpy): Don't use BP_SYM.
1526         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1527         <bp-sym.h> and <bp-asm.h>.
1528         (memset): Don't use BP_SYM.
1529         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1530         <bp-sym.h> and <bp-asm.h>.
1531         (__memchr): Don't use BP_SYM.
1532         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1533         <bp-sym.h> and <bp-asm.h>.
1534         (memcmp): Don't use BP_SYM.
1535         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1536         <bp-sym.h> and <bp-asm.h>.
1537         (memcpy): Don't use BP_SYM.
1538         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1539         <bp-sym.h> and <bp-asm.h>.
1540         (__mempcpy): Don't use BP_SYM.
1541         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1542         <bp-sym.h> and <bp-asm.h>.
1543         (__memrchr): Don't use BP_SYM.
1544         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1545         <bp-sym.h> and <bp-asm.h>.
1546         (memset): Don't use BP_SYM.
1547         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1548         <bp-sym.h> and <bp-asm.h>.
1549         (__rawmemchr): Don't use BP_SYM.
1550         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1551         <bp-sym.h> and <bp-asm.h>.
1552         (__STRCMP): Don't use BP_SYM.
1553         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1554         <bp-sym.h> and <bp-asm.h>.
1555         (strchr): Don't use BP_SYM.
1556         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1557         <bp-sym.h> and <bp-asm.h>.
1558         (__strchrnul): Don't use BP_SYM.
1559         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1560         <bp-sym.h> and <bp-asm.h>.
1561         (strlen): Don't use BP_SYM.
1562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1563         <bp-sym.h> and <bp-asm.h>.
1564         (strncmp): Don't use BP_SYM.
1565         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1566         <bp-sym.h> and <bp-asm.h>.
1567         (__strnlen): Don't use BP_SYM.
1568         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1569         <bp-asm.h>.
1570         (__mpn_rshift): Don't use BP_SYM.
1571         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1572         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1573         <bp-sym.h> and <bp-asm.h>.
1574         (__sigsetjmp): Don't use BP_SYM.
1575         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1576         (L(start_addresses)): Don't use BP_SYM.
1577         (_start): Likewise.
1578         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1579         <bp-asm.h>.
1580         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1581         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1582         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1583         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1584         <bp-asm.h>.
1585         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1586         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1587         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1588         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1589         <bp-asm.h>.
1590         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1591         comments.
1592         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1593         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1594         <bp-asm.h>.
1595         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1596         FIXME comments.
1597         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1598         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1599         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1600         <bp-asm.h>.
1601         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1602         comment.
1603         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1604         and <bp-asm.h>.
1605         (strncmp): Don't use BP_SYM,
1606         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1607         <bp-asm.h>.
1608         (__mpn_sub_n): Don't use BP_SYM.
1609         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1610         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1611         and <bp-asm.h>.
1612         (__mpn_submul_1): Don't use BP_SYM.
1613         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1615         <bp-sym.h> and <bp-asm.h>.
1616         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1618         <bp-sym.h> and <bp-asm.h>.
1619         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1620         comment.
1621
1622 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1623
1624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1625         Use ZK to minimize writes to Z.
1626         (sub_magnitudes): Simplify code a bit.
1627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1628         Use ZK to minimize writes to Z.
1629         (sub_magnitudes): Simplify code a bit.
1630
1631 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1632
1633         * csu/gmon-start.c: Add special exception to license text.
1634
1635 2013-02-27  Richard Henderson  <rth@redhat.com>
1636
1637         * scripts/config.guess: Update from config.git.
1638         * scripts/config.sub: Likewise.
1639
1640 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1641
1642         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1643
1644         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1645
1646         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1647
1648         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1649
1650         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1651
1652 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1653
1654         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1655         [$(build-shared = yes].
1656
1657 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1658
1659         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1660         (__mul): Reduce iterations for calculating mantissa.
1661
1662         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1663         MPTWO.
1664         (__mpranred): Likewise.
1665
1666         [BZ #15160]
1667         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1668         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1669
1670 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1671
1672         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1673         Define __attribute__.
1674
1675 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1676
1677         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1678         unused.
1679         * posix/regex_internal.h (__attribute): Remove.
1680         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1681         (re_string_context_at): Likewise.
1682         (bitset_not): Use __attribute__ and mark function as possibly
1683         unused.
1684         (bitset_merge): Likewise.
1685         (bitset_mask): Likewise.
1686         (re_string_char_size_at): Likewise.
1687         (re_string_wchar_at): Likewise.
1688         (re_string_elem_size_at): Likewise.
1689
1690 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1691
1692         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1693         code.
1694         (cc32): Likewise.
1695
1696         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1697         (__acr): Likewise.
1698         (__cpy): Likewise.
1699         (norm): Likewise.
1700         (denorm): Likewise.
1701         (__dbl_mp): Likewise.
1702         (add_magnitudes): Likewise.
1703         (sub_magnitudes): Likewise.
1704         (__mul): Likewise.
1705         (__inv): Likewise.
1706
1707         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1708         style.
1709
1710         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1711         style.
1712
1713         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1714         code.
1715
1716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1717         up changes with default code.
1718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1719         Likewise.
1720
1721 2013-02-24  Allan McRae  <allan@archlinux.org>
1722
1723         * manual/socket.texi (The Internet Namespace): Order menu items
1724         to match that in the file.
1725
1726         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1727         node listing of the info page menu.
1728
1729 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1730
1731         [BZ #13550]
1732         * sysdeps/i386/bp-asm.h: Remove file.
1733         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1734         (PARMS): Do not use macros from bp-asm.h.
1735         (S1): Likewise.
1736         (S2): Likewise.
1737         (SIZE): Likewise.
1738         (__mpn_add_n): Do not use BP_SYM
1739         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1740         "bp-asm.h".
1741         (PARMS): Do not use macros from bp-asm.h.
1742         (S1): Likewise.
1743         (SIZE): Likewise.
1744         (__mpn_addmul_1): Do not use BP_SYM
1745         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1746         "bp-asm.h".
1747         (PARMS): Do not use macros from bp-asm.h.
1748         (SIGMSK): Likewise.
1749         (_setjmp): Likewise.  Do not use BP_SYM.
1750         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1751         "bp-asm.h".
1752         (PARMS): Do not use macros from bp-asm.h.
1753         (SIGMSK): Likewise.
1754         (setjmp): Likewise.  Do not use BP_SYM.
1755         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1756         "bp-asm.h".
1757         (PARMS): Do not use macros from bp-asm.h.
1758         (__frexp): Do not use BP_SYM.
1759         (frexp): Likewise.
1760         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1761         "bp-asm.h".
1762         (PARMS): Do not use macros from bp-asm.h.
1763         (__frexpf): Do not use BP_SYM.
1764         (frexpf): Likewise.
1765         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1766         "bp-asm.h".
1767         (PARMS): Do not use macros from bp-asm.h.
1768         (__frexpl): Do not use BP_SYM.
1769         (frexpl): Likewise.
1770         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1771         "bp-asm.h".
1772         (PARMS): Do not use macros from bp-asm.h.
1773         (__remquo): Do not use BP_SYM.
1774         (remquo): Likewise.
1775         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1776         "bp-asm.h".
1777         (PARMS): Do not use macros from bp-asm.h.
1778         (__remquof): Do not use BP_SYM.
1779         (remquof): Likewise.
1780         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1781         "bp-asm.h".
1782         (PARMS): Do not use macros from bp-asm.h.
1783         (__remquol): Do not use BP_SYM.
1784         (remquol): Likewise.
1785         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1786         "bp-asm.h".
1787         (PARMS): Do not use macros from bp-asm.h.
1788         (DEST): Likewise.
1789         (SRC): Likewise.
1790         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1791         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1792         "bp-asm.h".
1793         (PARMS): Do not use macros from bp-asm.h.
1794         (strlen): Do not use BP_SYM.
1795         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1796         "bp-asm.h".
1797         (PARMS): Do not use macros from bp-asm.h.
1798         (S1): Likewise.
1799         (S2): Likewise.
1800         (SIZE): Likewise.
1801         (__mpn_add_n): Do not use BP_SYM.
1802         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1803         "bp-asm.h".
1804         (PARMS): Do not use macros from bp-asm.h.
1805         (S1): Likewise.
1806         (SIZE): Likewise.
1807         (__mpn_addmul_1): Do not use BP_SYM.
1808         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1809         weak_alias.
1810         (bzero): Likewise.
1811         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1812         "bp-asm.h".
1813         (PARMS): Do not use macros from bp-asm.h.
1814         (S): Likewise.
1815         (SIZE): Likewise.
1816         (__mpn_lshift): Do not use BP_SYM.
1817         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1818         "bp-asm.h".
1819         (PARMS): Do not use macros from bp-asm.h.
1820         (DEST): Likewise.
1821         (SRC): Likewise.
1822         (LEN): Likewise.
1823         (memcpy): Likewise.  Do not use BP_SYM.
1824         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1825         libc_hidden_def and weak_alias.
1826         (mempcpy): Do not use BP_SYM in weak_alias.
1827         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1828         "bp-asm.h".
1829         (PARMS): Do not use macros from bp-asm.h.
1830         (DEST): Likewise.
1831         (LEN): Likewise.
1832         [!BZERO_P] (CHR): Likewise.
1833         (memset): Likewise.  Do not use BP_SYM.
1834         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1835         "bp-asm.h".
1836         (PARMS): Do not use macros from bp-asm.h.
1837         (S1): Likewise.
1838         (SIZE): Likewise.
1839         (__mpn_mul_1): Do not use BP_SYM.
1840         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1841         "bp-asm.h".
1842         (PARMS): Do not use macros from bp-asm.h.
1843         (S): Likewise.
1844         (SIZE): Likewise.
1845         (__mpn_rshift): Do not use BP_SYM.
1846         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1847         "bp-asm.h".
1848         (PARMS): Do not use macros from bp-asm.h.
1849         (STR): Likewise.
1850         (CHR): Likewise.
1851         (strchr): Likewise.  Do not use BP_SYM.
1852         (index): Do not use BP_SYM in weak_alias.
1853         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1854         "bp-asm.h".
1855         (PARMS): Do not use macros from bp-asm.h.
1856         (DEST): Likewise.
1857         (SRC): Likewise.
1858         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1859         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1860         "bp-asm.h".
1861         (PARMS): Do not use macros from bp-asm.h.
1862         (strlen): Do not use BP_SYM.
1863         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1864         "bp-asm.h".
1865         (PARMS): Do not use macros from bp-asm.h.
1866         (S1): Likewise.
1867         (S2): Likewise.
1868         (SIZE): Likewise.
1869         (__mpn_sub_n): Do not use BP_SYM.
1870         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1871         "bp-asm.h".
1872         (PARMS): Do not use macros from bp-asm.h.
1873         (S1): Likewise.
1874         (SIZE): Likewise.
1875         (__mpn_submul_1): Do not use BP_SYM.
1876         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1877         "bp-asm.h".
1878         (PARMS): Do not use macros from bp-asm.h.
1879         (S1): Likewise.
1880         (S2): Likewise.
1881         (SIZE): Likewise.
1882         (__mpn_add_n): Do not use BP_SYM.
1883         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1884         weak_alias.
1885         (bzero): Likewise.
1886         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1887         "bp-asm.h".
1888         (PARMS): Do not use macros from bp-asm.h.
1889         (BLK2): Likewise.
1890         (LEN): Likewise.
1891         (memcmp): Do not use BP_SYM.
1892         (bcmp): Do not use BP_SYM in weak_alias.
1893         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1894         "bp-asm.h".
1895         (PARMS): Do not use macros from bp-asm.h.
1896         (DEST): Likewise.
1897         (SRC): Likewise.
1898         (LEN): Likewise.
1899         (memcpy): Likewise.  Do not use BP_SYM.
1900         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1901         "bp-asm.h".
1902         (PARMS): Do not use macros from bp-asm.h.
1903         (DEST): Likewise.
1904         (SRC): Likewise.
1905         (LEN): Likewise.
1906         (memmove): Likewise.  Do not use BP_SYM.
1907         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1908         "bp-asm.h".
1909         (PARMS): Do not use macros from bp-asm.h.
1910         (DEST): Likewise.
1911         (SRC): Likewise.
1912         (LEN): Likewise.
1913         (__mempcpy): Likewise.  Do not use BP_SYM.
1914         (mempcpy): Do not use BP_SYM in weak_alias.
1915         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1916         "bp-asm.h".
1917         (PARMS): Do not use macros from bp-asm.h.
1918         (DEST): Likewise.
1919         (LEN): Likewise.
1920         [!BZERO_P] (CHR): Likewise.
1921         (memset): Likewise.  Do not use BP_SYM.
1922         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1923         "bp-asm.h".
1924         (PARMS): Do not use macros from bp-asm.h.
1925         (STR2): Likewise.
1926         (strcmp): Do not use BP_SYM.
1927         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1928         "bp-asm.h".
1929         (PARMS): Do not use macros from bp-asm.h.
1930         (STR): Likewise.
1931         (DELIM): Likewise.
1932         [USE_AS_STRTOK_R] (SAVE): Likewise.
1933         (FUNCTION): Likewise.  Do not use BP_SYM.
1934         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1935         aliases.
1936         (strtok_r): Likewise.
1937         (__GI___strtok_r): Likewise.
1938         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1939         (PARMS): Do not use macros from bp-asm.h.
1940         (S): Likewise.
1941         (SIZE): Likewise.
1942         (__mpn_lshift): Do not use BP_SYM.
1943         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1944         (PARMS): Do not use macros from bp-asm.h.
1945         (STR): Likewise.
1946         (CHR): Likewise.
1947         (__memchr): Do not use BP_SYM.
1948         (memchr): Do not use BP_SYM in weak_alias.
1949         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1950         (PARMS): Do not use macros from bp-asm.h.
1951         (BLK2): Likewise.
1952         (LEN): Likewise.
1953         (memcmp): Do not use BP_SYM.
1954         (bcmp): Do not use BP_SYM in weak_alias.
1955         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1956         (PARMS): Do not use macros from bp-asm.h.
1957         (S1): Likewise.
1958         (SIZE): Likewise.
1959         (__mpn_mul_1): Do not use BP_SYM.
1960         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1961         "bp-asm.h".
1962         (PARMS): Do not use macros from bp-asm.h.
1963         (STR): Likewise.
1964         (CHR): Likewise.
1965         (__rawmemchr): Do not use BP_SYM.
1966         (rawmemchr): Do not use BP_SYM in weak_alias.
1967         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1968         (PARMS): Do not use macros from bp-asm.h.
1969         (S): Likewise.
1970         (SIZE): Likewise.
1971         (__mpn_rshift): Do not use BP_SYM.
1972         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1973         (PARMS): Do not use macros from bp-asm.h.
1974         (SIGMSK): Likewise.
1975         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1976         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1977         (_start): Do not use BP_SYM.
1978         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1979         (PARMS): Do not use macros from bp-asm.h.
1980         (DEST): Likewise.
1981         (SRC): Likewise.
1982         (__stpcpy): Likewise.  Do not use BP_SYM.
1983         (stpcpy): Do not use BP_SYM in weak_alias.
1984         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1985         "bp-asm.h".
1986         (PARMS): Do not use macros from bp-asm.h.
1987         (DEST): Likewise.
1988         (SRC): Likewise.
1989         (LEN): Likewise.
1990         (__stpncpy): Likewise.  Do not use BP_SYM.
1991         (stpncpy): Do not use BP_SYM in weak_alias.
1992         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1993         (PARMS): Do not use macros from bp-asm.h.
1994         (STR): Likewise.
1995         (CHR): Likewise.
1996         (strchr): Likewise.  Do not use BP_SYM.
1997         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1998         "bp-asm.h".
1999         (PARMS): Do not use macros from bp-asm.h.
2000         (STR): Likewise.
2001         (CHR): Likewise.
2002         (__strchrnul): Likewise.  Do not use BP_SYM.
2003         (strchrnul): Do not use BP_SYM in weak_alias.
2004         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2005         "bp-asm.h".
2006         (PARMS): Do not use macros from bp-asm.h.
2007         (STOP): Likewise.
2008         (strcspn): Do not use BP_SYM.
2009         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2010         "bp-asm.h".
2011         (PARMS): Do not use macros from bp-asm.h.
2012         (STR): Likewise.
2013         (STOP): Likewise.
2014         (strpbrk): Likewise.  Do not use BP_SYM.
2015         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2016         "bp-asm.h".
2017         (PARMS): Do not use macros from bp-asm.h.
2018         (STR): Likewise.
2019         (CHR): Likewise.
2020         (strrchr): Likewise.  Do not use BP_SYM.
2021         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2022         (PARMS): Do not use macros from bp-asm.h.
2023         (SKIP): Likewise.
2024         (strspn): Do not use BP_SYM.
2025         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2026         (PARMS): Do not use macros from bp-asm.h.
2027         (STR): Likewise.
2028         (DELIM): Likewise.
2029         (SAVE): Likewise.
2030         (FUNCTION): Likewise.  Do not use BP_SYM.
2031         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2032         aliases.
2033         (strtok_r): Likewise.
2034         (__GI___strtok_r): Likewise.
2035         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2036         (PARMS): Do not use macros from bp-asm.h.
2037         (S1): Likewise.
2038         (S2): Likewise.
2039         (SIZE): Likewise.
2040         (__mpn_sub_n): Do not use BP_SYM.
2041         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2042         "bp-asm.h".
2043         (PARMS): Do not use macros from bp-asm.h.
2044         (S1): Likewise.
2045         (SIZE): Likewise.
2046         (__mpn_submul_1): Do not use BP_SYM.
2047         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2048         <bp-sym.h>.
2049         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2050         and <bp-asm.h>.
2051         (PARMS): Do not use macros from bp-asm.h.
2052         (FLAGS): Likewise.
2053         (PTID): Likewise.
2054         (TLS): Likewise.
2055         (CTID): Likewise.
2056         (__clone): Do not use BP_SYM.
2057         (clone): Do not use BP_SYM in weak_alias.
2058         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2059         and <bp-asm.h>.
2060         (PARMS): Do not use macros from bp-asm.h.
2061         (LEN): Likewise.
2062         (__mmap64): Do not use BP_SYM.
2063         (mmap64): Do not use BP_SYM in weak_alias.
2064         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2065         <bp-sym.h> and <bp-asm.h>.
2066         (PARMS): Do not use macros from bp-asm.h.
2067         (__posix_fadvise64_l64): Do not use BP_SYM.
2068         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2069         (PARMS): Do not use macros from bp-asm.h.
2070         (NSOPS): Likewise.
2071         (semtimedop): Do not use BP_SYM.
2072         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2073         and <bp-asm.h>.
2074
2075 2013-02-21  Allan McRae  <allan@archlinux.org>
2076
2077         * manual/message.texi (Charset conversion in gettext):
2078         Move @end statement to beginning of line.
2079
2080 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2081
2082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2083         static.
2084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2085         Likewise.
2086
2087         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2088         (denorm): Likewise.
2089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2091
2092 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2093
2094         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2095         tail-call to the resolved function if pltexit isn't needed.
2096
2097 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2098
2099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2100         or Y being zero as being unlikely.
2101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2102         Likewise.
2103
2104 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2105
2106         * manual/nss.texi (System Databases and Name Service Switch):
2107         Remove frobnicate @pxref.
2108
2109 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2110
2111         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2112         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2113
2114 2013-02-20  Petr Machata  <pmachata@redhat.com>
2115
2116         * elf/elf.h (R_ARM_TARGET1): New macro.
2117         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2118         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2119         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2120         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2121         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2122         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2123         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2124         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2125         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2126         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2127         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2128         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2129         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2130         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2131         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2132         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2133         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2134         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2135         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2136         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2137         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2138         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2139         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2140         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2141         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2142         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2143         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2144         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2145         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2146         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2147         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2148         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2149         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2150         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2151         (R_ARM_THM_GOT_BREL12): Likewise.
2152         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2153         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2154         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2155         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2156         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2157         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2158         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2159         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2160         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2161
2162 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2163
2164         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2165         __attribute_used__ to __attribute__ ((unused)).
2166
2167 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2168
2169         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2170         powerpc mpa.c.
2171         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2172         comment formatting.
2173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2174
2175 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2176
2177         [BZ #13550]
2178         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2179         Remove macro.
2180         (ENTER): Remove both macro definitions.
2181         (LEAVE): Likewise.
2182         (CHECK_BOUNDS_LOW): Likewise.
2183         (CHECK_BOUNDS_HIGH): Likewise.
2184         (CHECK_BOUNDS_BOTH): Likewise.
2185         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2186         (RETURN_BOUNDED_POINTER): Likewise.
2187         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2188         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2189         (POP_ERRNO_LOCATION_RETURN): Likewise.
2190         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2191         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2192         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2193         macros.
2194         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2195         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2196         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2197         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2198         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2199         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2200         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2201         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2202         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2203         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2204         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2205         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2206         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2207         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2208         removed macros.
2209         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2210         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2211         macros.
2212         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2213         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2214         * sysdeps/i386/i586/memset.S (memset): Likewise.
2215         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2216         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2217         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2218         macros.
2219         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2220         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2221         Change uses of L(2) to L(out).
2222         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2223         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2224         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2225         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2226         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2227         removed macros.
2228         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2229         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2230         macros.
2231         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2232         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2233         (RETURN): Do not use macro LEAVE.
2234         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2235         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2236         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2237         * sysdeps/i386/i686/memset.S (memset): Likewise.
2238         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2239         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2240         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2241         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2242         Likewise.
2243         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2244         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2245         L(1_2) and L(1_3) into L(1).
2246         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2247         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2248         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2249         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2250         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2251         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2252         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2253         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2254         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2255         macros.
2256         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2257         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2258         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2259         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2260         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2261         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2262         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2263         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2264         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2265         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2266         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2267         * sysdeps/i386/strspn.S (strspn): Likewise.
2268         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2269         conditional code.
2270         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2271         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2272         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2273         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2274         L(1_3) into L(1_1).
2275         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2276         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2277         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2278         macros.
2279         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2280
2281 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2282
2283         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2284         macro.
2285
2286 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2287
2288         * math/atest-exp.c (exp_mpn): Remove ROUND.
2289         * math/atest-exp2.c (exp_mpn): Likewise.
2290         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2291
2292         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2293         * stdlib/tst-tls-atexit-lib.c: Likewise.
2294         * stdlib/tst-tls-atexit.c: Likewise.
2295
2296 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2297
2298         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2299         and __attribute_alloc_size__.
2300
2301 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2302
2303         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2304         __attribute_alloc_size__.
2305         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2306         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2307
2308 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2309
2310         * include/programs/xmalloc.h: New file.
2311         * catgets/gencat.c: Include it.
2312         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2313         * elf/pldd.c: Likewise.
2314         * iconv/iconv_charmap.c: Likewise.
2315         * iconv/iconvconfig.c: Likewise.
2316         * iconv/strtab.c: Likewise.
2317         * locale/programs/locale.c: Likewise.
2318         * locale/programs/localedef.h: Likewise.
2319         * locale/programs/simple-hash.c: Likewise.
2320         * nscd/nscd.h: Likewise.
2321         * nss/makedb.c: Likewise.
2322         * sysdeps/generic/ldconfig.h: Likewise.
2323
2324 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2325
2326         * Versions.def: Add GLIBC_2.18.
2327         * include/link.h (struct link_map): New member l_tls_dtor_count.
2328         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2329         (__call_tls_dtors): Likewise.
2330         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2331         __cxa_thread_atexit_impl.
2332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2333         Likewise.
2334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2335         Likewise.
2336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2337         Likewise.
2338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2339         Likewise.
2340         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2342         Likewise.
2343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2344         Likewise.
2345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2347         Likewise.
2348         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2349         (tests): Add test case tst-tls-atexit.
2350         (modules-names): Add shared library for tst-tls-atexit.
2351         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2352         (GLIBC_PRIVATE): Add __call_tls_dtors.
2353         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2354         for libstdc++.
2355         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2356         * stdlib/tst-tls-atexit.c: New test case.
2357         * stdlib/tst-tls-atexit-lib.c: New test case.
2358
2359         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2360
2361         * elf/Versions (ld): Add _dl_find_dso_for_object.
2362         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2363         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2364         (dl_open_worker): Use _dl_find_dso_for_object.
2365         * elf/dl-sym.c (do_sym): Likewise.
2366         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2367
2368 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2369
2370         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2371         Syntactic changes only.
2372         (_dl_runtime_profile): Do a tail-call to the resolved function.
2373
2374 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2375
2376         [BZ #13550]
2377         * sysdeps/x86_64/bp-asm.h: Remove file.
2378         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2379         <bp-sym.h> and <bp-asm.h>.
2380         (__clone): Do not use BP_SYM.
2381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2382         <bp-sym.h> and <bp-asm.h>.
2383         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2384         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2385         "bp-asm.h".
2386         (_setjmp): Do not use BP_SYM.
2387         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2388         "bp-asm.h".
2389         (setjmp): Do not use BP_SYM.
2390         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2391         libc_hidden_def.
2392         (mempcpy): Do not use BP_SYM in weak_alias.
2393         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2394         "bp-asm.h".
2395         (strchr): Do not use BP_SYM.
2396         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2397         "bp-asm.h".
2398         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2399         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2400         (_start): Do not use BP_SYM.
2401         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2402         "bp-asm.h".
2403         (strcat): Do not use BP_SYM.
2404         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2405         "bp-asm.h".
2406         (STRCMP): Do not use BP_SYM.
2407         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2408         "bp-asm.h".
2409         (STRCPY): Do not use BP_SYM.
2410         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2411         "bp-asm.h".
2412         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2413         "bp-asm.h".
2414         (FUNCTION): Do not use BP_SYM.
2415         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2416         weak_alias.
2417         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2418
2419 2013-02-17  Andreas Jaeger  <aj@suse.de>
2420
2421         * time/Versions: Sort entries.
2422         * string/Versions: Likewise.
2423         * resolv/Versions: Likewise.
2424         * posix/Versions: Likewise.
2425         * iconv/Versions: Likewise.
2426         * elf/Versions: Likewise.
2427         * wcsmbs/Versions: Likewise.
2428
2429 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2430
2431         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2432         loop termination condition.
2433
2434         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2435         variable to calculate EZ.
2436         (__sqr): Likewise.
2437
2438         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2439         the lower precision input.
2440
2441 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2442
2443         [BZ #13550]
2444         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2445         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2446         (run-via-rtld-prefix): Do not handle %-bp tests.
2447         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2448         (all-object-suffixes): Remove .ob.
2449         (bppfx): Remove variable.
2450         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2451         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2452         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2453         [$(build-bounded) = yes] (libtype.ob): Likewise.
2454         * Makerules (elide-routines.ob): Remove variable.
2455         (do-tests-clean): Do not handle *-bp.out.
2456         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2457         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2458         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2459         (tests): Do not include $(tests-bp.out).
2460         (xtests): Do not include $(xtests-bp.out).
2461         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2462         [$(build-bounded) = yes] ($(addprefix
2463         $(objpfx),$(binaries-bounded))): Remove rule.
2464         ($(objpfx)%-bp.out): Remove rule.
2465         * config.make.in (build-bounded): Remove variable.
2466         * crypt/Makefile [$(build-bounded) = yes]
2467         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2468         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2469         append to variable.
2470         [$(build-bounded) = yes] (install-lib): Likewise.
2471         [$(build-bounded) = yes] (generated): Likewise.
2472         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2473         Remove rule.
2474         * intl/Makefile [$(build-bounded) = yes]
2475         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2476         * math/Makefile [$(build-bounded) = yes]
2477         ($(tests:%=$(objpfx)%-bp): Likewise.
2478         * misc/Makefile [$(build-bounded) = yes]
2479         ($(objpfx)tst-tsearch-bp): Likewise.
2480         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2481         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2482         Remove dependency.
2483         * string/Makefile (o-objects.ob): Remove variable.
2484         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2485         (CFLAGS-.ob): Remove variable.
2486         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2487         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2488         both definitions of variable.
2489         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2490         (ASFLAGS-.ob): Remove variable.
2491
2492 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2493
2494         [BZ #13550]
2495         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2496         Remove __BOUNDED_POINTERS__ from condition.
2497         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2498         * string/bits/string2.h [!__NO_STRING_INLINES &&
2499         !__BOUNDED_POINTERS__]: Likewise.
2500         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2501         Likewise.
2502         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2503         Remove conditional code.
2504         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2505         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2506         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2507         condition.
2508
2509         [BZ #13550]
2510         * csu/libc-start.c: Do not include <bp-sym.h>.
2511         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2512         * elf/dl-open.c: Do not include <bp-sym.h>.
2513         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2514         * math/fegetenv.c: Do not include <bp-sym.h>.
2515         (fegetenv): Do not use BP_SYM in versioned symbols.
2516         * nptl/sysdeps/pthread/bits/libc-lockP.h
2517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2518         <bp-sym.h>.
2519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2520         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2522         (__pthread_mutex_destroy): Likewise.
2523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2524         (__pthread_mutex_lock): Likewise.
2525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2526         (__pthread_mutex_trylock): Likewise.
2527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2528         (__pthread_mutex_unlock): Likewise.
2529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2530         (__pthread_mutexattr_init): Likewise.
2531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2532         (__pthread_mutexattr_destroy): Likewise.
2533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2534         (__pthread_mutexattr_settype): Likewise.
2535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2536         (__pthread_rwlock_init): Likewise.
2537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2538         (__pthread_rwlock_destroy): Likewise.
2539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2540         (__pthread_rwlock_rdlock): Likewise.
2541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2542         (__pthread_rwlock_tryrdlock): Likewise.
2543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2544         (__pthread_rwlock_wrlock): Likewise.
2545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2546         (__pthread_rwlock_trywrlock): Likewise.
2547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2548         (__pthread_rwlock_unlock): Likewise.
2549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2550         (__pthread_key_create): Likewise.
2551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2552         (__pthread_setspecific): Likewise.
2553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2554         (__pthread_getspecific): Likewise.
2555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2556         Likewise.
2557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2558         (_pthread_cleanup_push_defer): Likewise.
2559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2560         (_pthread_cleanup_pop_restore): Likewise.
2561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2562         (pthread_setcancelstate): Likewise.
2563         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2564         <bp-sym.h>.
2565         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2566         (memchr): Do not use BP_SYM in weak_alias.
2567         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2568         (fegetenv): Do not use BP_SYM in versioned symbols.
2569         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2570         (fesetenv): Do not use BP_SYM in versioned symbols.
2571         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2572         (feupdateenv): Do not use BP_SYM in versioned symbols.
2573         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2574         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2575         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2576         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2577         (open64): Do not use BP_SYM in weak_alias.
2578         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2579         (fegetenv): Do not use BP_SYM in versioned symbols.
2580         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2581         (fesetenv): Do not use BP_SYM in versioned symbols.
2582         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2583         (feupdateenv): Do not use BP_SYM in versioned symbols.
2584         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2585         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2586         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2587         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2588         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2589         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2590         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2591         <bp-sym.h>.
2592         (__libc_start_main): Do not use BP_SYM.
2593
2594 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2595
2596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2597         redundant return line.
2598         (norm): Likewise.
2599         (denorm): Likewise.
2600         (dbl_mp): Likewise.
2601         (sub_magnitudes): Likewise.
2602         (__add): Likewise.
2603         (__sub): Likewise.
2604         (__mul): Likewise.
2605         (__inv): Likewise.
2606         (__dvd): Likewise.
2607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2608         (norm): Likewise.
2609         (denorm): Likewise.
2610         (dbl_mp): Likewise.
2611         (sub_magnitudes): Likewise.
2612         (__add): Likewise.
2613         (__sub): Likewise.
2614         (__mul): Likewise.
2615         (__inv): Likewise.
2616         (__dvd): Likewise.
2617
2618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2619         instead of __mul.
2620         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2621         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2622         (cc32): Likewise.
2623
2624         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2625         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2627         of __mul for squares.
2628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2629         function
2630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2631         Likewise.
2632         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2633         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2634
2635 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2636
2637         [BZ #13550]
2638         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2639         code.
2640         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2641         prototype or function definition.  Rename ubp_* variables and
2642         parameters.  Remove argv definitions conditional on
2643         [__BOUNDED_POINTERS__].
2644         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2645         * elf/dl-runtime.c (_dl_fixup): Likewise.
2646         * include/set-hooks.h (RUN_HOOK): Likewise.
2647         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2648         definition.
2649         * string/strcpy.c (strcpy): Do not use __unbounded.
2650         * sysdeps/generic/frame.h (struct layout): Likewise.
2651         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2652         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2653         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2654         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2655         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2656         (__backtrace): Likewise.
2657         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2658         use __ptrvalue.
2659         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2661         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2662         Likewise.
2663         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2664         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2665         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2666         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2667         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2668         Do not use __unbounded.
2669         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2670         Rename __unboundedrlimits parameter to rlimits in prototype.
2671         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2672         Do not use __unbounded.
2673         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2674         not use __ptrvalue.
2675         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2676         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2677         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2678         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2679         __ptrvalue or __unbounded.
2680         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2681         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2682         use __unbounded.
2683         (__new_msgctl): Do not use __ptrvalue.
2684         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2685         __unbounded.
2686         (__libc_msgrcv): Do not use __ptrvalue.
2687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2688         startup_info): Do not use __unbounded.
2689         (__libc_start_main): Likewise.  Rename ubp_* variables and
2690         parameters.  Remove argv definitions conditional on
2691         [__BOUNDED_POINTERS__].
2692         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2693         __ptrvalue.
2694         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2695         use __unbounded.
2696         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2697         or __ptrvalue.
2698         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2699         use __unbounded.
2700         (__new_shmctl): Do not use __ptrvalue.
2701         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2702         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2703         Likewise.
2704         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2705         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2706         (__libc_sigaction): Likewise.
2707         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2708         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2709         Likewise.
2710         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2711
2712 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2713
2714         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2715
2716         * string/mempcpy.c: Implement by calling memcpy.
2717
2718 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2719
2720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2721
2722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2723         evaluation.
2724
2725         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2726         values in the mantissa.
2727
2728         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2729         minimize writes to Z.
2730         (sub_magnitudes): Simplify code a bit.
2731
2732 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2733
2734         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2735         from the message.  The linker prefixes all warnings with that already.
2736
2737 2013-02-12  Andreas Schwab  <schwab@suse.de>
2738
2739         [BZ #15078]
2740         * posix/regexec.c (extend_buffers): Add parameter min_len.
2741         (check_matching): Pass minimum needed length.
2742         (clean_state_log_if_needed): Likewise.
2743         (get_subexp): Likewise.
2744         * posix/Makefile (tests): Add bug-regex34.
2745         (bug-regex34-ENV): Define.
2746         * posix/bug-regex34.c: New file.
2747
2748         [BZ #11561]
2749         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2750         elements compare against the byte sequence of it, not its name.
2751         * posix/Makefile (tests): Add bug-regex35.
2752         (bug-regex35-ENV): Define.
2753         * posix/bug-regex35.c: New file.
2754
2755 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2756
2757         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2758         comment.
2759         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2760         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2761         (CHECK_EOL): Add undef.
2762
2763 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2764
2765         * bits/stdlib-bsearch.h: New file.
2766         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2767         * stdlib/stdlib.h: Likewise.
2768
2769 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2770
2771         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2772         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2773         declaration.
2774         * manual/search.texi (Array Search Function): Add missing const in
2775         lfind prototype.
2776         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2777         declaration to use rlim_t.
2778         (Basic Scheduling Functions): Remove erroneous const from
2779         sched_getparam prototype.  Remove erroneous * from
2780         sched_get_priority_max and sched_get_priority_min prototypes.
2781         (Resource Usage): Fix summary @comment on vtimes to refer to
2782         sys/vtimes.h rather than vtimes.h.
2783         Add missing *s in vtimes prototype.
2784         (Limits on Resources): Fix ulimit prototype to return long int.
2785         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2786         prototypes to use long int rather than double.
2787         (BSD Random): Fix initstate and setstate to use char *, not void *.
2788         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2789         prototype to make second argument 'struct aiocb64 *const[]'.
2790         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2791         (Status of AIO Operations): Remove erroneous const in aio_return and
2792         aio_return64 prototypes.
2793         (Synchronizing I/O): Fix sync prototype to return void.
2794         * manual/startup.texi (Suboptions): Remove an erroneous const in
2795         getsubopt prototype.
2796         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2797         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2798         use size_t rather than int.
2799         (Scanning All Users): Likewise for getpwent_r.
2800         (Setting Groups): Add missing const to setgroups prototype.
2801         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2802         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2803         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2804         'const void *' rather than 'const char *'.
2805         (Host Address Functions): Likewise for inet_ntop.
2806         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2807         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2808         ssize_t for return value.
2809         (Sending Data): Likewise for send, sendto, sendmsg.
2810         (Socket Option Functions): Add a missing const in setsockopt prototype.
2811         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2812         use wchar_t for the argument.
2813         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2814         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2815         take no arguments.
2816         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2817         double/float/long double for second argument.
2818         Fix return types of significand, significandf, significandl.
2819         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2820         argument in fchmod prototype.
2821         (File Owner): Use uid_t and gid_t in fchown prototype.
2822         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2823         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2824         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2825         use 'const struct dirent **' as argument types to CMP function pointer
2826         argument.
2827         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2828         (File Times): Fix summary magic @comment for struct utimbuf and utime
2829         to refer to utime.h, not time.h.
2830         * manual/string.texi (Argz Functions): Add missing const in
2831         argz_extract and argz_next prototypes.
2832         (Finding Tokens in a String): Likewise for basename.
2833         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2834         (Copying and Concatenation): Fix typo in wmemmove prototype.
2835         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2836         (Signal Stack): Remove erroneous const in sigstack prototype.
2837         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2838         prototype.
2839         (Simple Calendar Time): Likewise for stime.
2840         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2841         prototype.
2842         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2843         say sys/sysctl.h instead.
2844         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2845         and vsyslog prototypes.
2846
2847 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2848
2849         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2850         Remove.
2851
2852 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2853
2854         * misc/sys/mman.h: Fix typo in mremap comment.
2855
2856 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2857
2858         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2859         the '\0' terminator.
2860
2861 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2862
2863         [BZ #13550]
2864         * debug/segfault.c: Don't include <bp-checks.h>.
2865         * sysdeps/generic/bp-checks.h: Remove file.
2866         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2867         (__GETDENTS): Don't use CHECK_N.
2868         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2869         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2870         (__getgroups): Don't use CHECK_N.
2871         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2872         (setgroups): Don't use CHECK_N.
2873         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2874         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2875         (__libc_msgrcv): Don't use CHECK_N.
2876         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2877         (__libc_msgsnd): Don't use CHECK_N.
2878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2879         <bp-checks.h>.
2880         (__libc_pread): Don't use CHECK_N.
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2882         include <bp-checks.h>.
2883         (__libc_pread64): Don't use CHECK_N.
2884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2885         include <bp-checks.h>.
2886         (__libc_pwrite): Don't use CHECK_N.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2888         include <bp-checks.h>.
2889         (__libc_pwrite64): Don't use CHECK_N.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2891         <bp-checks.h>.
2892         (__libc_pread): Don't use CHECK_N.
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2894         include <bp-checks.h>.
2895         (__libc_pread64): Don't use CHECK_N.
2896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2897         include <bp-checks.h>.
2898         (__libc_pwrite): Don't use CHECK_N.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2900         include <bp-checks.h>.
2901         (__libc_pwrite64): Don't use CHECK_N.
2902         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2903         (do_pread): Don't use CHECK_N.
2904         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2905         (do_pread64): Don't use CHECK_N.
2906         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2907         (do_pwrite): Don't use CHECK_N.
2908         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2909         (do_pwrite64): Don't use CHECK_N.
2910         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2911         (__libc_readv): Don't use CHECK_N.
2912         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2913         (semop): Don't use CHECK_N.
2914         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2915         <bp-checks.h>.
2916         (semtimedop): Don't use CHECK_N.
2917         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2918         (__libc_pread): Don't use CHECK_N.
2919         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2920         <bp-checks.h>.
2921         (__libc_pread64): Don't use CHECK_N.
2922         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2923         <bp-checks.h>.
2924         (__libc_pwrite): Don't use CHECK_N.
2925         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2926         <bp-checks.h>.
2927         (__libc_pwrite64): Don't use CHECK_N.
2928         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2929         <bp-checks.h>.
2930         (__libc_msgrcv): Don't use CHECK_N.
2931         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2932         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2933         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2934         (__libc_writev): Don't use CHECK_N.
2935
2936 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2937
2938         * string/strcpy.c: Removed unused variable.
2939
2940         * Makeconfig (+sysdep-includes): Define with := rather than =.
2941         Use an existing include/ subdir of each sysdeps dir before it.
2942
2943 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2944
2945         * nscd/connection.c (register_traced_file): Comment function.
2946         [HAVE_INOTIFY] (union __inev): Define.
2947         [HAVE_INOTIFY] (inotify_check_files): New function.
2948         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2949         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2950         clear_db_cache.
2951         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2952
2953 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2954
2955         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2956         loaded if not already and that a failure is permanent.
2957
2958 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2959
2960         [BZ #15006]
2961         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2962         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2963
2964 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2965
2966         [BZ #13550]
2967         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2968         (CHECK_1_NULL_OK): Likewise.
2969         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2970         (__fxstat): Do not use CHECK_1.
2971         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2972         <bp-checks.h>.
2973         (___fxstat64): Do not use CHECK_1.
2974         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2975         <bp-checks.h>.
2976         (__fxstatat): Do not use CHECK_1.
2977         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2978         <bp-checks.h>.
2979         (__fxstatat64): Do not use CHECK_1.
2980         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2981         <bp-checks.h>.
2982         (__fxstat): Do not use CHECK_1.
2983         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2984         <bp-checks.h>.
2985         (__fxstatat): Do not use CHECK_1.
2986         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2987         <bp-checks.h>.
2988         (__getresgid): Do not use CHECK_1.
2989         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2990         <bp-checks.h>.
2991         (__getresuid): Do not use CHECK_1.
2992         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2993         <bp-checks.h>.
2994         (__lxstat): Do not use CHECK_1.
2995         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2996         <bp-checks.h>.
2997         (__old_msgctl): Do not use CHECK_1.
2998         (__new_msgctl): Likewise.
2999         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3000         <bp-checks.h>.
3001         (__new_setrlimit): Do not use CHECK_1.
3002         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3003         <bp-checks.h>.
3004         (__old_shmctl): Do not use CHECK_1.
3005         (__new_shmctl): Likewise.
3006         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3007         <bp-checks.h>.
3008         (__xstat): Do not use CHECK_1.
3009         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3010         (__lxstat): Do not use CHECK_1.
3011         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3012         <bp-checks.h>.
3013         (___lxstat64): Do not use CHECK_1.
3014         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3015         (__old_msgctl): Do not use CHECK_1.
3016         (__new_msgctl): Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3018         <bp-checks.h>.
3019         (__gettimeofday): Do not use CHECK_1.
3020         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3021         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3022         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3023         <bp-checks.h>.
3024         (__gettimeofday): Do not use CHECK_1.
3025         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3026         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3027         (__new_shmctl): Do not use CHECK_1.
3028         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3029         <bp-checks.h>.
3030         (do_sigtimedwait): Do not use CHECK_1.
3031         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3032         <bp-checks.h>.
3033         (do_sigwaitinfo): Do not use CHECK_1.
3034         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3035         <bp-checks.h>.
3036         (msgctl): Do not use CHECK_1.
3037         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3038         <bp-checks.h>.
3039         (shmctl): Do not use CHECK_1.
3040         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3041         (ustat): Do not use CHECK_1.
3042         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3043         <bp-checks.h>.
3044         (__fxstat): Do not use CHECK_1.
3045         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3046         <bp-checks.h>.
3047         (__fxstatat): Do not use CHECK_1.
3048         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3049         <bp-checks.h>.
3050         (__lxstat): Do not use CHECK_1.
3051         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3052         <bp-checks.h>.
3053         (__xstat): Do not use CHECK_1.
3054         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3055         (__xstat): Do not use CHECK_1.
3056         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3057         (___xstat64): Do not use CHECK_1.
3058
3059         [BZ #13550]
3060         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3061         definitions.
3062         (CHECK_BOUNDS_HIGH): Likewise.
3063         * string/strcpy.c: Do not include <bp-checks.h>.
3064         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3065
3066 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3067
3068         * nscd/nscd-client.h (__nscd_drop_map_ref):
3069         Add __attribute__ ((unused)).
3070         * nis/nss-nisplus.h (niserr2nss): Likewise.
3071
3072         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3073         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3074
3075         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3076         Remove inline keyword.
3077         * include/rounding-mode.h (round_away): Likewise.
3078         * libio/wfileops.c (adjust_wide_data): Likewise.
3079         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3080         (__m128i_strloadu_tolower): Likewise.
3081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3082         (__m128i_strloadu_tolower): Likewise.
3083         * time/mktime.c (ydhms_diff): Likewise.
3084         * locale/elem-hash.h (elem_hash): Likewise.
3085         * locale/setlocale.c (setdata): Likewise.
3086         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3087         (re_string_wchar_at): Likewise.
3088         (bitset_not, bitset_merge, bitset_mask): Likewise.
3089         [!(__GNUC__ > 3)] (inline): Remove macro.
3090         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3091         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3092         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3093         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3094         * string/memcmp.c (memcmp_bytes): Likewise.
3095         * locale/programs/locarchive.c (compute_hashval): Likewise.
3096         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3097         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3098         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3099         * nss/getent.c (print_rpc, print_protocols): Likewise.
3100         (print_passwd, print_group, print_aliases): Likewise.
3101         * nis/nss-nisplus.h (niserr2nss): Likewise.
3102         * nscd/connections.c (restart_p): Likewise.
3103         Change return type to bool.
3104
3105 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3106
3107         * Makeconfig (all-Depend-files): Add existing
3108         $(sorted-subdirs:=/Depend) files.
3109         (all-subdirs): Remove nss.
3110         * sysdeps/unix/inet/Subdirs: Add it here instead.
3111         * hesiod/Depend: New file.
3112
3113         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3114         instead of calling alloca.
3115
3116         * io/lseek.c (__lseek): Rename to __libc_lseek.
3117         Define __lseek as an alias.
3118
3119         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3120
3121 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3122
3123         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3124         else clause and remove check for non-standard endianness.
3125
3126 2013-02-04  David S. Miller  <davem@davemloft.net>
3127
3128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3129
3130 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3131
3132         [BZ #13550]
3133         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3134         (__ubp_memchr): Remove prototype.
3135         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3136         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3137         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3138         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3139         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3140         Remove alias.
3141         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3142         (__ubp_memchr): Likewise.
3143         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3144         (__ubp_memchr): Likewise.
3145         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3146         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3147         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3148         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3149         CHECK_STRING.
3150         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3151         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3152         (__getcwd): Do not use CHECK_STRING.
3153         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3154         <bp-checks.h>.
3155         (__real_chown): Do not use CHECK_STRING.
3156         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3157         <bp-checks.h>.
3158         (fchownat): Do not use CHECK_STRING.
3159         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3160         CHECK_STRING.
3161         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3162         <bp-checks.h>.
3163         (__lchown): Do not use CHECK_STRING.
3164         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3165         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3166         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3167         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3169         include <bp-checks.h>.
3170         (truncate64): Do not use CHECK_STRING.
3171         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3172         <bp-checks.h>.
3173         (__real_chown): Do not use CHECK_STRING.
3174         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3175         <bp-checks.h>.
3176         (__lchown): Do not use CHECK_STRING.
3177         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3178         <bp-checks.h>.
3179         (__chown): Do not use CHECK_STRING.
3180         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3181         <bp-checks.h>.
3182         (truncate64): Do not use CHECK_STRING.
3183         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3184         Likewise.
3185         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3186         (__xmknod): Do not use CHECK_STRING.
3187         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3188         <bp-checks.h>.
3189         (__xmknodat): Do not use CHECK_STRING.
3190         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3191         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3192
3193 2013-02-04  Andreas Schwab  <schwab@suse.de>
3194
3195         [BZ #14142]
3196         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3197         * include/netdb.h: Likewise for h_errno.
3198         * elf/tst-stackguard1.c: Include <tls.h>.
3199
3200 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3201
3202         * elf/link.h (struct link_map): Extend the l_addr comment.
3203         * include/link.h (struct link_map): Likewise.
3204
3205 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3206
3207         [BZ #13550]
3208         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3209         (BOUNDED_1): Remove macro.
3210         * debug/backtrace.c: Don't include <bp-checks.h>.
3211         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3212         (__backtrace): Likewise.
3213         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3214         <bp-checks.h>.
3215         (__backtrace): Don't use BOUNDED_1.
3216         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3217         <bp-checks.h>.
3218         (__backtrace): Don't use BOUNDED_1.
3219         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3220         (__backtrace): Don't use BOUNDED_1.
3221         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3222         (shmat): Don't use BOUNDED_N.
3223
3224 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3225
3226         [BZ #13550]
3227         * sysdeps/generic/bp-start.h: Remove file.
3228         * csu/libc-start.c: Don't include <bp-start.h>.
3229         (LIBC_START_MAIN): Set up __environ directly instead of using
3230         INIT_ARGV_and_ENVIRON.
3231         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3232         <bp-start.h>.
3233
3234         [BZ #13550]
3235         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3236         definitions.
3237         (CHECK_FCNTL): Likewise.
3238         (CHECK_N_PAGES): Likewise.
3239
3240         [BZ #13550]
3241         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3242         definitions.
3243         (CHECK_SIGSET_NULL_OK): Likewise.
3244         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3245         <bp-checks.h>.
3246         (sigpending): Don't use CHECK_SIGSET.
3247         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3248         <bp-checks.h>.
3249         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3250         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3251         <bp-checks.h>.
3252         (do_sigsuspend): Don't use CHECK_SIGSET.
3253         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3254         use CHECK_SIGSET.
3255         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3256         (do_sigwait): Don't use CHECK_SIGSET.
3257         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3258         use CHECK_SIGSET.
3259         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3260         include <bp-checks.h>.
3261         (sigpending): Don't use CHECK_SIGSET.
3262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3263         include <bp-checks.h>.
3264         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3265         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3266         <bp-checks.h>.
3267         (sigpending): Don't use CHECK_SIGSET.
3268         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3269         <bp-checks.h>.
3270         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3271
3272         [BZ #13550]
3273         * sysdeps/generic/bp-semctl.h: Remove file.
3274         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3275         <bp-checks.h> and <bp-semctl.h>.
3276         (__old_semctl): Don't use CHECK_SEMCTL.
3277         (__new_semctl): Likewise.
3278         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3279         and <bp-semctl.h>.
3280         (__old_semctl): Don't use CHECK_SEMCTL.
3281         (__new_semctl): Likewise.
3282         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3283         <bp-checks.h> and <bp-semctl.h>.
3284         (__old_semctl): Don't use CHECK_SEMCTL.
3285         (__new_semctl): Likewise.
3286         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3287         <bp-checks.h> and <bp-semctl.h>.
3288         (semctl): Don't use CHECK_SEMCTL.
3289
3290         [BZ #13550]
3291         * Makerules (elide-bp-thunks): Remove variable.
3292         (elide-routines.oS): Don't use $(elide-bp-thunks).
3293         (elide-routines.os): Likewise.
3294         (elide-routines.o): Likewise.
3295         (elide-routines.op): Likewise.
3296         (elide-routines.og): Likewise.
3297         (objects): Don't use $(bp-thunks).
3298         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3299         include.
3300         (common-generated): Do not add s-proto-bp.d.
3301         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3302         (int): Likewise.
3303         (typ): Likewise.
3304         Do not generate makefile rules for bounded-pointer thunks.
3305         * sysdeps/generic/bp-thunks.h: Remove file.
3306         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3307         * sysdeps/unix/s-proto-bp.S: Likewise.
3308
3309         [BZ #15062]
3310         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3311         parts of result separately when argument is not close to line from
3312         -i to i and one part of argument is small.
3313         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3314         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3315         * math/libm-test.inc (cacos_test): Add more tests.
3316         (casin_test): Likewise.
3317         (casinh_test): Likewise.
3318         * sysdeps/i386/fpu/libm-test-ulps: Update.
3319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3320
3321 2013-01-31  David S. Miller  <davem@davemloft.net>
3322
3323         * po/de.po: Update from translation team.
3324
3325 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3326
3327         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3328
3329 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3330
3331         * configure.in (_AC_PROG_CC_C89): New definition.
3332         * configure: Regenerate.
3333
3334         * configure.in (AC_PROG_CPP): New definition.
3335         * configure: Regenerate.
3336
3337 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3338
3339         * debug/tst-backtrace.h: New file.
3340         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3341         (ret): Remove variable.
3342         (x): Likewise.
3343         (FAIL): Remove macro.
3344         (NO_INLINE): Likewise.
3345         (fn1): Use match function instead of strstr.
3346         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3347         (ret): Remove variable.
3348         (x): Likewise.
3349         (FAIL): Remove macro.
3350         (NO_INLINE): Likewise.
3351         (fn): Use match function instead of strstr.
3352         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3353         (ret): Remove variable.
3354         (x): Likewise.
3355         (FAIL): Remove macro.
3356         (NO_INLINE): Likewise.
3357         (handle_signal): Use match function instead of strstr.
3358         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3359         (ret): Remove variable.
3360         (x): Likewise.
3361         (FAIL): Remove macro.
3362         (NO_INLINE): Likewise.
3363         (handle_signal): Use match function instead of strstr.
3364
3365 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3366
3367         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3368
3369 2013-01-23  David S. Miller  <davem@davemloft.net>
3370
3371         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3372         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3373         argument of CAS if possible.
3374         * sysdeps/sparc/sparc64/bits/atomic.h
3375         (__arch_compare_and_exchange_val_32_acq): Likewise.
3376         (__arch_compare_and_exchange_val_64_acq): Likewise.
3377
3378 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3379
3380         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3381         * sysdeps/posix/ulimit.c: ... this.
3382         Include <limits.h>.
3383         * sysdeps/unix/bsd/ulimit.c: Remove file.
3384
3385 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3386
3387         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3388         (LDFLAGS-tst-array5): Likewise.
3389
3390 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3391
3392         [BZ #15036]
3393         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3394         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3395         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3396         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3397
3398 2013-01-21  David S. Miller  <davem@davemloft.net>
3399
3400         * sysdeps/sparc/backtrace.c: New file.
3401         * sysdeps/sparc/sparc32/backtrace.h: New file.
3402         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3403         * sysdeps/sparc/sparc64/backtrace.h: New file.
3404         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3405         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3406         -funwind-tables.
3407
3408 2013-01-21  Andreas Schwab  <schwab@suse.de>
3409
3410         [BZ #15020]
3411         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3412         closed its stdout.
3413
3414 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3415
3416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3417         "mpa2.h".
3418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3419
3420 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3421             Mark Mitchell  <mark@codesourcery.com>
3422             Tom de Vries  <tom@codesourcery.com>
3423             Paul Pluzhnikov  <ppluzhnikov@google.com>
3424
3425         * debug/tst-backtrace2.c: New file.
3426         * debug/tst-backtrace3.c: Likewise.
3427         * debug/tst-backtrace4.c: Likewise.
3428         * debug/tst-backtrace5.c: Likewise.
3429         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3430         (CFLAGS-tst-backtrace3.c): Likewise.
3431         (CFLAGS-tst-backtrace4.c): Likewise.
3432         (CFLAGS-tst-backtrace5.c): Likewise.
3433         (LDFLAGS-tst-backtrace2): Likewise.
3434         (LDFLAGS-tst-backtrace3): Likewise.
3435         (LDFLAGS-tst-backtrace4): Likewise.
3436         (LDFLAGS-tst-backtrace5): Likewise.
3437         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3438         tst-backtrace4 and tst-backtrace5.
3439
3440 2013-01-18  Anton Blanchard  <anton@samba.org>
3441             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3442
3443         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3444         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3446         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3448         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3449         "+r" and remove output regs list as redundant.  Add explicit inline
3450         asm to specify register of return val to work around compiler codegen
3451         bug.  Remove (int) cast on return value.  Add return type parameter to
3452         use in macro so that this macro does not truncate return value for
3453         64-bit values.
3454         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3455         pass to INTERNAL_VSYSCALL_NCS.
3456         (INLINE_VSYSCALL): Add 'long int' as return type to
3457         INTERNAL_VSYSCALL_NCS macro invocation.
3458         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3459         INTERNAL_VSYSCALL_NCS macro invocation.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3461
3462 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3463
3464         [BZ #14496]
3465         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3466         Fix application of SIMD FP exception mask.
3467
3468         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3469         mp_no from a power of two.
3470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3471         __mpexp_twomm1.  Use __pow_mp.
3472
3473         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3474         multiplication.
3475
3476 2013-01-17  David S. Miller  <davem@davemloft.net>
3477
3478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3479
3480 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3481
3482         [BZ #15023]
3483         * include/complex.h: Condition contents on [!_COMPLEX_H].
3484         (__kernel_casinhf): New prototype.
3485         (__kernel_casinh): Likewise.
3486         (__kernel_casinhl): Likewise.
3487         * math/Makefile (libm_calls): Add k_casinh.
3488         * math/k_casinh.c: New file.
3489         * math/k_casinhf.c: Likewise.
3490         * math/k_casinhl.c: Likewise.
3491         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3492         finite nonzero arguments.
3493         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3494         finite nonzero arguments.
3495         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3496         finite nonzero arguments.
3497         * math/s_casinh.c: Do not include <float.h>.
3498         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3499         * math/s_casinhf.c: Do not include <float.h>.
3500         (__casinhf): Move code for finite nonzero arguments to
3501         k_casinhf.c.
3502         * math/s_casinhl.c: Do not include <float.h>.
3503         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3504         redefine.
3505         (__casinhl): Move code for finite nonzero arguments to
3506         k_casinhl.c.
3507         * math/libm-test.inc (cacos_test): Add more tests.
3508         * sysdeps/i386/fpu/libm-test-ulps: Update.
3509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3510
3511 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3512
3513         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3514         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3515         [!HAVE_MREMAP]: Remove [defined linux] case.
3516         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3517
3518 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3519
3520         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3521
3522 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3523
3524         * elf/elf.h (R_386_SIZE32): New relocation.
3525         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3526         R_386_SIZE32.
3527         (elf_machine_rela): Likewise.
3528         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3529         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3530
3531 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3532
3533         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3534         (FP_FAST_FMA): Do not define.
3535         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3536         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3537         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3538         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3539         !_SOFT_FLOAT]: Likewise.
3540         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3541         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3542         value.
3543         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3544         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3545         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3546         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3547         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3548         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3549         file.
3550
3551 2013-01-16  Andreas Schwab  <schwab@suse.de>
3552
3553         [BZ #14327]
3554         * include/stdlib.h (__mktemp): Add declaration.
3555         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3556         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3557
3558 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3559
3560         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3561         definitions.
3562         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3563         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3564         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3565         definitions here.
3566         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3567         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3568         definitions.
3569         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3570         and ONE.
3571         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3572         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3573         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3574         definitions.
3575         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3576         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3577         definitions.
3578         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3579
3580         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3581
3582 2013-01-15  David S. Miller  <davem@davemloft.net>
3583
3584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3585         trunc{,f} to libm-sysdep_routes.
3586         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3588         file.
3589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3591         file.
3592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3593         file.
3594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3596         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3597         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3598         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3599         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3600         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3601         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3602
3603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3604         nearbyint{,f} to libm-sysdep_routes.
3605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3607         New file.
3608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3609         file.
3610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3611         New file.
3612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3613         file.
3614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3616         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3617         file.
3618         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3619         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3620         file.
3621         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3622         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3623         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3624
3625         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3626         libc_feholdexcept and libc_fesetenv.
3627
3628 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3629
3630         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3631
3632 2013-01-14  David S. Miller  <davem@davemloft.net>
3633
3634         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3635         (SPARC_ASM_VIS2_IFUNC): Likewise.
3636         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3638         use of 'siam' instruction.
3639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3640         Likewise.
3641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3642         Likewise.
3643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3644         Likewise.
3645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3647         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3650         file.
3651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3652         file.
3653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3654         file.
3655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3656         file.
3657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3662         new VIS2 routines.
3663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3666         Likewise.
3667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3672         routines to libm-sysdep_routines.
3673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3674
3675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3676         fdim/fdimf to libm-sysdep_routines.
3677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3678         file.
3679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3681         file.
3682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3685         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3686         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3687         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3688         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3689
3690 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3691
3692         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3693         to optimize copies.
3694
3695         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3698
3699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3700         local variable MPTWO.
3701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3702         Likewise.
3703
3704 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3705
3706         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3707         GLOB_NOESCAPE.
3708
3709 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3710
3711         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3712
3713 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3714
3715         * manual/pattern.texi (glob_t): Document gl_flags.
3716         (glob64_t): Likewise.
3717
3718 2013-01-11  David S. Miller  <davem@davemloft.net>
3719
3720         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3721         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3722         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3723         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3724         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3725         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3726         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3727         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3728         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3729         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3730         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3731         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3732         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3733
3734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3735         sparc V9 rather than using V8 code.
3736         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3737         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3738
3739         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3740         Move to...
3741         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3742         Here.
3743
3744 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3745
3746         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3747         not in the main loop.
3748         * configure: Regenerated.
3749
3750 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3751
3752         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3753         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3754         to just #else.
3755         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3756         [!__GLIBC_HAVE_LONG_LONG] case.
3757         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3758         condition to just #else.
3759         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3760         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3761         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3762         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3763         unconditional.
3764         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3765         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3766         #elif condition to just #else.
3767         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3768         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3769         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3770         #elif condition to just #else.
3771
3772 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3773
3774         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3775         (EF_MIPS_ARCH_64): Fix value.
3776         (EF_MIPS_ARCH_32R2): New.
3777         (EF_MIPS_ARCH_64R2): New.
3778
3779 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3780
3781         * Makeconfig (+link-pie-before-libc): New.
3782         (+link-pie-after-libc): Likewise.
3783         (+link-pie-tests): Likewise.
3784         (+link-pie): Rewritten.
3785         (link-before-libc): Remove $(config-LDFLAGS).
3786         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3787         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3788         (config-LDFLAGS): Renamed to ...
3789         (rtld-LDFLAGS): This.
3790         (rtld-tests-LDFLAGS): New macro.
3791         (link-libc-rpath-link): Likewise.
3792         (link-libc-tests-rpath-link): Likewise.
3793         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3794         (link-libc): Prepand $(link-libc-rpath-link).
3795         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3796         (test-program-prefix): New macro.
3797         (test-via-rtld-prefix): Likewise.
3798         (test-program-cmd): Likewise.
3799         (host-test-program-cmd): Likewise.
3800         * Makefile ($(common-objpfx)testrun.sh): Replace
3801         $(run-program-prefix) with $(test-program-prefix).
3802         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3803         $(rtld-LDFLAGS).
3804         ($(common-objpfx)shlib.lds): Likewise.
3805         (build-module-helper): Likewise.
3806         ($(common-objpfx)format.lds): Likewise.
3807         * Rules (binaries-pie-tests): New.
3808         (binaries-pie-notests): Likewise.
3809         (binaries-pie): Rewritten.
3810         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3811         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3812         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3813         (make-test-out): Replace $(host-built-program-cmd) with
3814         $(host-test-program-cmd).
3815         * config.make.in (build-hardcoded-path-in-tests): New variable.
3816         * configure.in (--enable-hardcoded-path-in-tests): New configure
3817         option.
3818         (hardcoded_path_in_tests): New AC_SUBST.
3819         * configure: Regenerated.
3820         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3821         $(built-program-cmd) with $(test-program-cmd).
3822         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3823         (test_program_cmd): This.
3824         * elf/Makefile ($(objpfx)order.out): Run test with
3825         $(test-program-prefix).
3826         ($(objpfx)order2.out): Likewise.
3827         ($(objpfx)tst-initorder.out): Likewise.
3828         ($(objpfx)tst-initorder2.out): Likewise.
3829         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3830         $(test-program-cmd).
3831         ($(objpfx)tst-array1-static.out): Likewise.
3832         ($(objpfx)tst-array2.out): Likewise.
3833         ($(objpfx)tst-array3.out): Likewise.
3834         ($(objpfx)tst-array4.out): Likewise.
3835         ($(objpfx)tst-array5.out): Likewise.
3836         ($(objpfx)tst-array5-static.out): Likewise.
3837         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3838         $(test-program-cmd).
3839         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3840         $(run-program-prefix) with $(test-program-prefix).
3841         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3842         (test_program_prefix): This.
3843         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3844         $(run-program-prefix) with $(test-program-prefix).
3845         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3846         (test_program_prefix): This.
3847         * iconvdata/tst-tables.sh: Likewise.
3848         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3849         $(run-program-prefix) with $(test-program-prefix).
3850         ($(objpfx)tst-translit.out): Likewise.
3851         ($(objpfx)tst-gettext2.out): Likewise.
3852         ($(objpfx)tst-gettext4.out): Likewise.
3853         ($(objpfx)tst-gettext6.out): Likewise.
3854         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3855         (test_program_prefix): This.
3856         * intl/tst-gettext2.sh: Likewise.
3857         * intl/tst-gettext4.sh  Likewise.
3858         * intl/tst-gettext6.sh: Likewise.
3859         * intl/tst-translit.sh: Likewise.
3860         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3861         with $(test-program-cmd).
3862         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3863         $(run-program-prefix) with $(test-program-prefix).
3864         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3865         (test_program_prefix): This.
3866         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3867         $(run-program-prefix) with $(test-program-prefix).
3868         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3869         (test_program_prefix): This.
3870         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3871         * posix/Makefile ($(objpfx)globtest.out): Replace
3872         $(run-via-rtld-prefix) and $(test-wrapper) with
3873         $(test-program-prefix) and $(test-via-rtld-prefix).
3874         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3875         $(test-program-prefix).
3876         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3877         $(host-test-program-cmd).
3878         (tst-spawn-ARGS): Likewise.
3879         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3880         $(test-program-prefix).
3881         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3882         (test_via_rtld_prefix): This.
3883         (test_wrapper): Renamed to ...
3884         (test_program_prefix): This.
3885         (run_program_prefix): Replaced by test_program_prefix.
3886         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3887         (test_program_prefix): This.
3888         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3889         with $(host-test-program-cmd).
3890         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3891         $(run-program-prefix) with $(test-program-prefix).
3892         ($(objpfx)tst-printf.out): Likewise.
3893         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3894         $(test-program-cmd).
3895         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3896         (test_program_prefix): This.
3897         * stdio-common/tst-unbputc.sh: Likewise.
3898         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3899         $(run-program-prefix) with $(test-program-prefix).
3900         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3901         (test_program_prefix): This.
3902         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3903         $(built-program-cmd) with $(test-program-cmd).
3904
3905 2013-01-11  Andreas Jaeger  <aj@suse.de>
3906
3907         [BZ #15003]
3908         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3909         value. Sync with Linux 3.7.
3910
3911 2013-01-10  David S. Miller  <davem@davemloft.net>
3912
3913         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3914         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3915         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3916
3917 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3918
3919         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3920         never set.
3921         * configure: Regenerated.
3922
3923 2013-01-10  David S. Miller  <davem@davemloft.net>
3924
3925         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3926         sparc V9 rather than using V8 code.
3927         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3928         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3929
3930 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3931
3932         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3933         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3934         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3935         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3936         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3937         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3938         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3939         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3940         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3941         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3942         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3943         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3944         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3945         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3946         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3947         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3948         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3949         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3950         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3951         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3952         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3953         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3954         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3955         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3956         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3957         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3958         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3959
3960 2013-01-10  David S. Miller  <davem@davemloft.net>
3961
3962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3963
3964 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3965
3966         * posix/Makefile (tests-static): New variable.
3967         (tests): Add $(tests-static).
3968         (tst-exec-static-ARGS): New variable.
3969         (tst-spawn-static-ARGS): Likewise.
3970         * posix/tst-exec-static.c: New file.
3971         * posix/tst-spawn-static.c: Likewise.
3972         * posix/tst-exec.c: Support run directly.
3973         * posix/tst-spawn.c: Likewise.
3974
3975 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3976
3977         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3978         long.
3979         * math/bits/mathcalls.h (llrint): Likewise.
3980         (llround): Likewise.
3981         * stdlib/stdlib.h (struct drand48_data): Likewise.
3982         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3983         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3984         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3985         Likewise.
3986         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3987         Likewise.
3988         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3989         (elf_greg_t): Likewise.
3990         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3991         (__jmp_buf): Likewise.
3992         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3993         definitions.
3994         (llrint): Likewise, for all definitions.
3995         (llrintl): Likewise.
3996
3997         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3998         Remove [__GNUC__] condition.
3999         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4000         condition to just [__USE_ISOC99].
4001         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4002
4003 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4004
4005         [BZ #14200]
4006         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4007         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4008         defined.
4009         (_POSIX_V6_ILP32_OFF32): Likewise.
4010         (_XBS5_ILP32_OFF32): Likewise.
4011         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4012         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4013
4014 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4015
4016         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4017
4018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4019         doubles __mpexp_twomm1.  Adjust usage.
4020         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4021         Remove.
4022
4023 2013-01-10  Andreas Schwab  <schwab@suse.de>
4024
4025         [BZ #14964]
4026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4027         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4028
4029 2013-01-09  David S. Miller  <davem@davemloft.net>
4030
4031         [BZ #15003]
4032         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4033         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4034         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4035         TCP_FASTOPEN): Define.
4036         (tcp_repair_opt): New structure.
4037         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4038         enum values.
4039         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4040         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4041         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4042         (tcp_cookie_transactions): New structure.
4043
4044 2013-01-09  Anton Blanchard  <anton@samba.org>
4045
4046         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4047         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4048         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4049         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4050
4051 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4052
4053         * include/features.h (__USE_ANSI): Remove.
4054
4055 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4056
4057         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4058
4059         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4060
4061 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4062
4063         * sysdeps/s390/fpu/libm-test-ulps: Update.
4064
4065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4066
4067         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4068         (__acr): Likewise.
4069         (__cpy): Likewise.
4070         (norm): Likewise.
4071         (denorm): Likewise.
4072         (__mp_dbl): Likewise.
4073         (__dbl_mp): Likewise.
4074         (add_magnitudes): Likewise.
4075         (sub_magnitudes): Likewise.
4076         (__add): Likewise.
4077         (__sub): Likewise.
4078         (__mul): Likewise.
4079         (__inv): Likewise.
4080         (__dvd): Likewise.
4081         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4082         (__acr): Likewise.
4083         (__cpy): Likewise.
4084         (norm): Likewise.
4085         (denorm): Likewise.
4086         (__mp_dbl): Likewise.
4087         (__dbl_mp): Likewise.
4088         (add_magnitudes): Likewise.
4089         (sub_magnitudes): Likewise.
4090         (__add): Likewise.
4091         (__sub): Likewise.
4092         (__mul): Likewise.
4093         (__inv): Likewise.
4094         (__dvd): Likewise.
4095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4096         (__acr): Likewise.
4097         (__cpy): Likewise.
4098         (norm): Likewise.
4099         (denorm): Likewise.
4100         (__mp_dbl): Likewise.
4101         (__dbl_mp): Likewise.
4102         (add_magnitudes): Likewise.
4103         (sub_magnitudes): Likewise.
4104         (__add): Likewise.
4105         (__sub): Likewise.
4106         (__mul): Likewise.
4107         (__inv): Likewise.
4108         (__dvd): Likewise.
4109
4110 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4111
4112         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4113         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4114         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4115         2 && __USE_EXTERN_INLINES]: Likewise.
4116
4117 2013-01-08  Andreas Jaeger  <aj@suse.de>
4118
4119         [BZ# 14985]
4120         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4121         Remove.
4122         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4123         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4124
4125 2013-01-07  Anton Blanchard  <anton@samba.org>
4126
4127         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4128         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4129         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4130         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4131         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4132         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4133         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4134         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4136         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4137         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4138         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4140         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4141         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4142         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4143         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4144         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4145         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4146         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4147         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4148         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4149         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4150         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4151         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4152         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4153         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4154         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4155         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4156         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4157         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4159         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4160         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4161         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4162         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4163         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4164         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4165         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4167         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4168         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4169         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4170
4171 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4172
4173         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4174         (__MALLOC_PMT): Likewise.
4175         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4176         [__GNUC__], only on [_LIBC].
4177         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4178         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4179         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4180         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4181         forward declaration.
4182         (realloc_hook_ini): Likewise.
4183         (memalign_hook_ini): Likewise.
4184         (__libc_memalign): Do not use __MALLOC_PMT in variable
4185         declaration.
4186         (__libc_valloc): Likewise.
4187         (__libc_pvalloc): Likewise.
4188         (__libc_calloc): Likewise.
4189         (__posix_memalign): Likewise.
4190
4191         [BZ #14996]
4192         * math/s_casinh.c: Include <float.h>.
4193         (__casinh): Do not do computation with squaring and square root
4194         for large arguments.
4195         * math/s_casinhf.c: Include <float.h>.
4196         (__casinhf): Do not do computation with squaring and square root
4197         for large arguments.
4198         * math/s_casinhl.c: Include <float.h>.
4199         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4200         (__casinhl): Do not do computation with squaring and square root
4201         for large arguments.
4202         * math/libm-test.inc (casin_test): Add more tests.
4203         (casinh_test): Likewise.
4204         * sysdeps/i386/fpu/libm-test-ulps: Update.
4205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4206
4207 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4208
4209         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4210         (__x86_64_raw_data_cache_size): Likewise.
4211         (__x86_64_data_cache_size_half): Likewise.
4212         (__x86_64_raw_data_cache_size_half): Likewise.
4213         (__x86_64_shared_cache_size): Likewise.
4214         (__x86_64_raw_shared_cache_size): Likewise.
4215         (__x86_64_shared_cache_size_half): Likewise.
4216         (__x86_64_raw_shared_cache_size_half): Likewise.
4217         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4218         to ...
4219         (__x86_data_cache_size): This.
4220         (__x86_64_raw_data_cache_size): Renamed to ...
4221         (__x86_raw_data_cache_size): This.
4222         (__x86_64_data_cache_size_half): Renamed to ...
4223         (__x86_data_cache_size_half): This.
4224         (__x86_64_raw_data_cache_size_half): Renamed to ...
4225         (__x86_raw_data_cache_size_half): This.
4226         (__x86_64_shared_cache_size): Renamed to ...
4227         (__x86_shared_cache_size): This.
4228         (__x86_64_raw_shared_cache_size): Renamed to ...
4229         (__x86_raw_shared_cache_size): This.
4230         (__x86_64_shared_cache_size_half): Renamed to ...
4231         (__x86_shared_cache_size_half): This.
4232         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4233         (__x86_raw_shared_cache_size_half): This.
4234         * sysdeps/x86_64/memcpy.S: Updated.
4235         * sysdeps/x86_64/memset.S: Likewise.
4236         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4237         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4239
4240 2013-01-04  David S. Miller  <davem@davemloft.net>
4241
4242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4243
4244 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4245
4246         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4247         1 to avoid redefinition warning.
4248         (__USE_GNU): Don't define.
4249         (init_signaling_nan): Protoize.
4250
4251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4252
4253 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4254
4255         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4257         (__cpymn): Likewise.
4258         (norm): Remove commented code.
4259         (denorm): Likewise.
4260         (__mp_dbl): Likewise.
4261         (__inv): Likewise.
4262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4263         (__cpymn): Likewise.
4264         (norm): Remove commented code.
4265         (denorm): Likewise.
4266         (__mp_dbl): Likewise.
4267         (__inv): Likewise.
4268
4269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4270         mp_no value for 1.0 and 2.0.
4271         (norm): Use RADIXI instead of radixi.d.
4272         (denorm): Likewise.
4273         (__mul): Use 0.0 instead of zero.d.
4274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4275         mp_no value for 1.0 and 2.0.
4276         (norm): Use RADIXI instead of radixi.d.
4277         (denorm): Likewise.
4278         (__mul): Use 0.0 instead of zero.d.
4279
4280 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4281
4282         [BZ #14994]
4283         * math/s_casinh.c (__casinh): Reduce finite argument to first
4284         quadrant then set signs of results at the end.
4285         * math/s_casinhf.c (__casinhf): Likewise.
4286         * math/s_casinhl.c (__casinhl): Likewise.
4287         * math/libm-test.inc (casin_test): Add more tests.
4288         (casinh_test): Likewise.
4289         * sysdeps/i386/fpu/libm-test-ulps: Update.
4290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291
4292 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4293
4294         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4295
4296         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4297
4298         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4299         declarations.
4300         (denorm): Likewise.
4301         (__mp_dbl): Likewise.
4302         (__inv): Likewise.
4303
4304         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4305         and adjust the header comment.
4306
4307         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4308         variable name from declaration.
4309
4310 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4311
4312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4313         Initialize COMMON_CPUID_INDEX_7 element.
4314         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4315         (CPUID_RTM): Likewise.
4316         (HAS_RTM): Likewise.
4317         (COMMON_CPUID_INDEX_7): New enum.
4318
4319 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4320
4321         [BZ #14981]
4322         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4323         size is zero, record memory as freed.
4324
4325 2013-01-03  Andreas Jaeger  <aj@suse.de>
4326
4327         * po/ia.po: Add new Interlingua translation.
4328
4329 2012-01-03  Allan McRae  <allan@archlinux.org>
4330
4331         * locale/programs/localedef.c: Fix description of '--posix' flag.
4332
4333 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4334
4335         * NEWS: Update dates in second copyright notice.
4336         * README: Update copyright dates in example.
4337         * manual/libc.texinfo: Update copyright dates.
4338         * scripts/test-installation.pl: Update copyright date in --version
4339         output.
4340
4341         * hurd/ctty-input.c: Fix copyright notice formatting.
4342         * hurd/ctty-output.c: Likewise.
4343         * hurd/dtable.c: Likewise.
4344         * hurd/hurd-raise.c: Likewise.
4345         * hurd/hurdprio.c: Likewise.
4346         * hurd/msgportdemux.c: Likewise.
4347         * misc/sys/file.h: Likewise.
4348         * misc/sys/ioctl.h: Likewise.
4349         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4350         * sysdeps/mach/hurd/chdir.c: Likewise.
4351         * sysdeps/mach/hurd/fchdir.c: Likewise.
4352         * sysdeps/mach/hurd/rename.c: Likewise.
4353         * sysdeps/mach/hurd/rmdir.c: Likewise.
4354         * sysdeps/mach/hurd/seekdir.c: Likewise.
4355         * sysdeps/mach/hurd/setsid.c: Likewise.
4356         * sysdeps/posix/wait3.c: Likewise.
4357
4358         * All files with FSF copyright notices: Update copyright dates
4359         using scripts/update-copyrights.
4360         * intl/plural.c: Regenerated.
4361         * locale/programs/charmap-kw.h: Likewise.
4362         * locale/programs/locfile-kw.h: Likewise.
4363
4364 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4365
4366         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4367         four values.
4368
4369         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4370         calculation loop and add branch prediction.
4371
4372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4373         check access beyond bounds of m1np.
4374
4375         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4376         MPTWO.
4377         (__inv): Remove local variable MPTWO to use the global
4378         constant.
4379         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4380         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4381         variable MPTWO.
4382         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4383         MP3HALFS static const.
4384
4385 2013-01-01  David S. Miller  <davem@davemloft.net>
4386
4387         * po/ca.po: Update from translation team.
4388
4389 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4390
4391         * scripts/update-copyrights: New file.
4392         * Makeconfig: Reformat copyright notice.
4393         * ctype/ctype.h: Likewise.
4394         * debug/swprintf_chk.c: Likewise.
4395         * elf/dl-cache.c: Likewise.
4396         * elf/dl-debug.c: Likewise.
4397         * elf/dl-object.c: Likewise.
4398         * grp/initgroups.c: Likewise.
4399         * hurd/Makefile: Likewise.
4400         * hurd/hurd/signal.h: Likewise.
4401         * hurd/hurdfault.c: Likewise.
4402         * hurd/hurdioctl.c: Likewise.
4403         * hurd/hurdlookup.c: Likewise.
4404         * hurd/intr-msg.c: Likewise.
4405         * iconv/gconv_open.c: Likewise.
4406         * libio/swprintf.c: Likewise.
4407         * locale/lc-ctype.c: Likewise.
4408         * locale/nl_langinfo.c: Likewise.
4409         * mach/Machrules: Likewise.
4410         * mach/Makefile: Likewise.
4411         * malloc/obstack.h: Likewise.
4412         * manual/Makefile: Likewise.
4413         * manual/tsort.awk: Likewise.
4414         * misc/bits/stab.def: Likewise.
4415         * nis/nis_print_group_entry.c: Likewise.
4416         * nis/nis_table.c: Likewise.
4417         * nis/nss_compat/compat-pwd.c: Likewise.
4418         * nis/nss_compat/compat-spwd.c: Likewise.
4419         * po/Makefile: Likewise.
4420         * posix/fnmatch.c: Likewise.
4421         * posix/regex.h: Likewise.
4422         * resolv/Makefile: Likewise.
4423         * resolv/nss_dns/dns-network.c: Likewise.
4424         * resolv/res_hconf.c: Likewise.
4425         * scripts/gen-sorted.awk: Likewise.
4426         * soft-fp/soft-fp.h: Likewise.
4427         * stdio-common/printf.h: Likewise.
4428         * stdlib/monetary.h: Likewise.
4429         * stdlib/random.c: Likewise.
4430         * stdlib/random_r.c: Likewise.
4431         * sysdeps/generic/Makefile: Likewise.
4432         * sysdeps/gnu/Makefile: Likewise.
4433         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4435         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4437         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4440         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4441         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4443         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4444         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4445         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4446         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4447         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4448         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4449         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4450         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4451         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4452         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4453         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4454         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4455         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4456         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4457         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4461         * sysdeps/mach/hurd/errnos.awk: Likewise.
4462         * sysdeps/mach/hurd/fork.c: Likewise.
4463         * sysdeps/mach/hurd/getcwd.c: Likewise.
4464         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4465         * sysdeps/mach/hurd/mmap.c: Likewise.
4466         * sysdeps/mach/hurd/utimes.c: Likewise.
4467         * sysdeps/mach/hurd/xmknod.c: Likewise.
4468         * sysdeps/posix/profil.c: Likewise.
4469         * sysdeps/posix/readdir_r.c: Likewise.
4470         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4471         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4472         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4473         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4475         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4476         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4477         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4479         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4480         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4481         * sysdeps/pthread/lio_listio.c: Likewise.
4482         * sysdeps/sparc/dl-procinfo.h: Likewise.
4483         * sysdeps/unix/i386/sysdep.S: Likewise.
4484         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4485         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4486         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4487         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4489         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4490         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4491         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4492         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4493         * sysdeps/wordsize-32/divdi3.c: Likewise.
4494         * time/sys/time.h: Likewise.
4495         * wcsmbs/Makefile: Likewise.
4496
4497 2013-01-01  David S. Miller  <davem@davemloft.net>
4498
4499         * po/fr.po: Update from translation team.
4500
4501         * catgets/gencat.c: Update copyright year.
4502         * csu/version.c: Likewise.
4503         * debug/catchsegv.sh: Likewise.
4504         * debug/pcprofiledump.c: Likewise.
4505         * debug/xtrace.sh: Likewise.
4506         * elf/ldconfig.c: Likewise.
4507         * elf/ldd.bash.in: Likewise.
4508         * elf/pldd.c: Likewise.
4509         * elf/sotruss.ksh: Likewise.
4510         * elf/sprof.c: Likewise.
4511         * iconv/iconv_prog.c: Likewise.
4512         * iconv/iconvconfig.c: Likewise.
4513         * locale/programs/locale.c: Likewise.
4514         * locale/programs/localedef.c: Likewise.
4515         * login/programs/pt_chown.c: Likewise.
4516         * malloc/memusage.sh: Likewise.
4517         * malloc/memusagestat.c: Likewise.
4518         * malloc/mtrace.pl: Likewise.
4519         * nscd/nscd.c: Likewise.
4520         * nss/getent.c: Likewise.
4521         * nss/makedb.c: Likewise.
4522         * posix/getconf.c: Likewise.
4523
4524 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4525
4526         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4527         numbers.
4528
4529 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4530
4531         * math/bits/mathcalls.h (modf): Use __nonnull.
4532
4533 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4534
4535         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4536         (split): Use macro CN instead of the bare value.
4537         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4538         could be used.
4539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4540         instead of the bare value.
4541         (power1): Likewise.
4542
4543 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4544
4545         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4546         __ATAN_TWOM.
4547         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4548
4549         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4550         their values.
4551         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4552         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4553         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4554         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4555
4556 2012-12-28  Andreas Jaeger  <aj@suse.de>
4557
4558         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4559         values are from Linux 3.7.
4560
4561         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4562         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4563
4564 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4565
4566         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4567         TRUE case.
4568
4569         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4570         (norm): Likewise.
4571         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4572         variables with preprocessor constants.
4573         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4574         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4575         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4576
4577 2012-12-27  Bruno Haible  <bruno@clisp.org>
4578
4579         [BZ #14317]
4580         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4581         only if needed.
4582
4583 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4584
4585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4586         and use variable directly.
4587         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4588
4589         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4590         MPONE.
4591         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4593         variable MPONE.
4594         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4595         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4596         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4597         include directive.  Remove local variable MPONE.
4598         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4599         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4600         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4601
4602 2012-12-25  David S. Miller  <davem@davemloft.net>
4603
4604         * version.h (RELEASE): Set to "development".
4605         (VERSION): Set to "2.17.90".
4606         * NEWS: Add 2.18 section.
4607
4608 2012-12-21  David S. Miller  <davem@davemloft.net>
4609
4610         * po/hr.po: Update from translation team.
4611
4612 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4613
4614         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4615
4616 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4617
4618         * NEWS:  Mention new memcpy for MIPS.
4619
4620 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4621
4622         * manual/contrib.texi (Contributors): Spelling correction.
4623
4624 2012-12-15  David S. Miller  <davem@davemloft.net>
4625
4626         * po/ru.po: Update from translation team.
4627
4628 2012-12-13  David S. Miller  <davem@davemloft.net>
4629
4630         * NEWS: Mention IFUNC testsuite enhancements.
4631
4632         * po/pl.po: Update from translation team.
4633         * po/bg.po: Likewise.
4634
4635         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4636         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4637
4638 2012-12-11  David S. Miller  <davem@davemloft.net>
4639
4640         * po/sv.po: Update from translation team.
4641
4642         * po/vi.po: Update from translation team.
4643
4644         * po/cs.po: Update from translation team.
4645
4646         * po/de.po: Update from translation team.
4647         * po/eo.po: Likewise.
4648         * po/nl.po: Likewise.
4649
4650 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4651
4652         [BZ #14246]
4653         * manual/argp.texi (Argp Helper Functions): Move node to follow
4654         Argp Parsing State.
4655
4656         [BZ #14872]
4657         * manual/conf.texi (Limits on File System Capacity): Mention if
4658         terminating null is included in the max size.
4659
4660 2012-12-10  Andreas Jaeger  <aj@suse.de>
4661
4662         * po/cs.po: Update from translation team.
4663
4664 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4665
4666         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4667         void pointer and cast to uintptr_t.
4668         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4669         path.
4670         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4671         * sysdeps/s390/s390-64/memset.S: Likewise.
4672
4673 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4674
4675         [BZ #14833]
4676         * menual/message.texi (Message Translation): Fix typos.
4677         (Helper programs for gettext): Likewise.
4678
4679 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4680
4681         [BZ #14898]
4682         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4683         Change to -1.
4684
4685 2012-12-07  David S. Miller  <davem@davemloft.net>
4686
4687         * po/libc.pot: Update.
4688
4689 2012-12-07  Richard Henderson  <rth@redhat.com>
4690
4691         [BZ #10114]
4692         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4693         normal/normal case to before the switch.
4694         (_FP_DIV): Likewise.
4695
4696 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4697             Mike Frysinger  <vapier@gentoo.org>
4698
4699         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4700         check for __NR_fadvise64_64.
4701
4702 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4703
4704         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4705         0, not just to plain "0" as a statement.
4706         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4707         with cw.
4708
4709 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4710
4711         * NEWS: Use sourceware.org in Bugzilla URL.
4712
4713 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4714
4715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4716         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4717
4718         * stdio-common/tst-put-error.c (do_test): Add newline to the
4719         padded test to ensure flush.
4720
4721 2012-12-05  Jeff Law  <law@redhat.com>
4722
4723         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4724
4725 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4726
4727         * README: Don't refer to ports add-on as distributed separately.
4728         Mention AArch64 in list of systems supported in the ports add-on.
4729
4730         * LICENSES: Add more non-FSF copyright and license notices.
4731
4732         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4733         ((unused)).
4734
4735         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4736
4737         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4738         10000 as width of padded output.
4739
4740 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4741
4742         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4743
4744         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4745         variable LX with __attribute__ ((unused)).
4746         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4747         Likewise.
4748         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4749         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4751         with __attribute__ ((unused)).
4752
4753 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4754
4755         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4756
4757 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4758
4759         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4760         (CFLAGS-nldbl-acos.c): New variable.
4761         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4762         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4763         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4764         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4765         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4766         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4767         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4768         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4769         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4770         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4771         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4772         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4773         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4774         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4775         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4776         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4777         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4778         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4779         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4780         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4781         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4782         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4783         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4784         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4785         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4786         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4787         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4788         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4789         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4790         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4791         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4792         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4793         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4794         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4795         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4796         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4797         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4798         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4799         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4800         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4801         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4802         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4803         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4804         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4805         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4806         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4807         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4808         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4809         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4810         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4811         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4812         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4813         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4814         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4815         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4816         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4817         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4818         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4819         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4820         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4821         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4822         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4823         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4824         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4825         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4826         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4827         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4828         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4829         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4830         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4831         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4832         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4833         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4834         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4835         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4836         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4837         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4838         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4839         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4840         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4841         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4842         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4843         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4844         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4845         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4846         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4847         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4848         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4849         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4850         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4851         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4852         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4853         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4854         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4855         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4856         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4857         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4858
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4860         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4861
4862         [BZ #14914]
4863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4864         whole low double instead of just low 47 bits when splitting values
4865         into two parts.
4866
4867 2012-12-03  Allan McRae  <allan@archlinux.org>
4868
4869         * manual/stdio.texi (Predefined Printf Handlers): Remove
4870         @hsep and @vsep usage.
4871
4872 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4873
4874         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4875         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4876
4877 2012-12-03  Jeff Law  <law@redhat.com>
4878
4879         * time/sys/time.h (settimeofday): Do not mark TV argument
4880         as __nonnull.
4881
4882 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4883
4884         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4885         when currently writing and seek to current position when not.
4886         * libio/Makefile (tests): Remove bug-fclose1.
4887         * libio/bug-fclose1.c: Delete.
4888
4889 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4890
4891         * manual/arith.texi (feenableexcept): Fix typo.
4892         (fedisableexcept): Likewise.
4893
4894 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4895
4896         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4897         second, differently-typed declaration, rather than a cast.
4898
4899 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4900
4901         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4902         * include/rpc/svc.h: ... here.
4903
4904 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4905
4906         [BZ #13013]
4907         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4908         depending n and resplen2 to catch cases where answer
4909         equals answerp2.
4910
4911 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4912
4913         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4914         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4915
4916 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4917
4918         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4919
4920 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4921
4922         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4923
4924 2012-11-28  Jeff Law  <law@redhat.com>
4925
4926         [BZ #13761]
4927         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4928         dataset_temporary.  Track alloca usage into alloca_used.
4929         If dataset is large allocate and release it via malloc/free.
4930
4931 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4932
4933         [BZ #14197]
4934         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4935
4936 2012-11-28  David S. Miller  <davem@davemloft.net>
4937
4938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4939
4940 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4941
4942         [BZ #14803]
4943         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4944         of pi/2 rounded to nearest to 64 bits.
4945         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4946         nearest to 64 bits.
4947         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4948         bits.
4949
4950 2012-11-28  Jeff Law <law@redhat.com>
4951             Martin Osvald <mosvald@redhat.com>
4952
4953         [BZ #14889]
4954         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4955         * sunrpc/svc.c: Include time.h.
4956         (__svc_accept_failed): New function.
4957         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4958         any reason other than EINTR, call __svc_accept_failed.
4959         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4960         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4961
4962 2012-11-28  Andreas Schwab  <schwab@suse.de>
4963
4964         * scripts/abilist.awk: Also handle indirect functions in .opd
4965         section.
4966
4967 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4968
4969         [BZ #13881]
4970         * sysdeps/x86/fpu/powl_helper.c: New file.
4971         * sysdeps/x86/fpu/Makefile: Likewise.
4972         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4973         (p3): New object.
4974         (__ieee754_powl): Use __powl_helper for finite arguments except
4975         integer exponents below 8.
4976         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4977         (p3): New object.
4978         (__ieee754_powl): Use __powl_helper for finite arguments except
4979         integer exponents below 8.
4980         * math/libm-test.inc (pow_test): Add more tests and enable some
4981         previously disabled tests.
4982         * sysdeps/i386/fpu/libm-test-ulps: Update.
4983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984
4985 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4986             Carlos O'Donell  <carlos_odonell@mentor.com>
4987
4988         * nss/makedb.c (is_prime): Assert that input is odd and greater
4989         than 4.  Note that fact in a comment too.
4990         (next_prime): Add 4 to input.
4991
4992 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4993
4994         [BZ #11741]
4995         * libio/Makefile (tests): Add test case tst-fwrite-error.
4996         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4997         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4998         * libio/tst-fwrite-error.c: New test case.
4999
5000 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5001
5002         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5003         before casting to void *.
5004         * include/libc-internal.h (__pointer_type): New macro.
5005         (__integer_if_pointer_type_sub): Likewise.
5006         (__integer_if_pointer_type): Likewise.
5007         (cast_to_integer): Likewise.
5008         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5009         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5010         before casting to atomic64_t.
5011         (atomic_exchange_acq): Likewise.
5012         (__arch_exchange_and_add_body): Likewise.
5013         (__arch_add_body): Likewise.
5014         (atomic_add_negative): Likewise.
5015         (atomic_add_zero): Likewise.
5016
5017 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5018
5019         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5020         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5021         (add_fdes): Likewise.
5022         (linear_search_fdes): Likewise.
5023         (binary_search_unencoded_fdes): Likewise.
5024
5025 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5026
5027         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5028
5029 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5030
5031         * configure.in: Autodetect C++ header directories.
5032         * configure: Regenerated.
5033
5034 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5035
5036         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5037
5038 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5039
5040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5041
5042 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5043
5044         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5045         LDBL_MANT_DIG == 106]: Disable some tests.
5046         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5047         Likewise.
5048         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5049         Likewise.
5050
5051         [BZ #14871]
5052         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5053         input for small inputs.  Return +/- pi/2 for large inputs.
5054         * math/libm-test.inc (atan_test): Add more tests.
5055
5056         * sysdeps/generic/unwind-dw2-fde-glibc.c
5057         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5058         __attribute__ ((unused)).
5059
5060         [BZ #14645]
5061         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5062         x * y if x and y are nonzero and z is zero.
5063
5064         [BZ #14811]
5065         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5066         nonzero exponents with absolute value below 0x1p-117 to +/-
5067         0x1p-117.
5068
5069         [BZ #14869]
5070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5071         up arguments below 2**-450, not just those below 2**-500.
5072         * math/libm-test.inc (hypot_test): Add another test.
5073
5074         [BZ #14868]
5075         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5076         Return a+b for ratio over 2**120, not 2**60.
5077         * math/libm-test.inc (hypot_test): Add another test.
5078
5079         * math/libm-test.inc (clog_test): Use
5080         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5081         (clog10_test): Likewise.
5082
5083         [BZ #6778]
5084         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5085
5086 2012-11-22  Andreas Schwab  <schwab@suse.de>
5087
5088         * sysdeps/i386/fpu/libm-test-ulps: Update.
5089
5090 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5091
5092         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5093         printf output with newline.
5094
5095 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5096
5097         [BZ #14865]
5098         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5099         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5100         -z nodlopen, -z initfirst and -z execstack support.
5101         * configure: Regenerated.
5102
5103         * elf/elf.h (DF_1_NODIRECT): New macro.
5104         (DF_1_IGNMULDEF): Likewise.
5105         (DF_1_NOKSYMS): Likewise.
5106         (DF_1_NOHDR): Likewise.
5107         (DF_1_EDITED): Likewise.
5108         (DF_1_NORELOC): Likewise.
5109         (DF_1_SYMINTPOSE): Likewise.
5110         (DF_1_GLOBAUDIT): Likewise.
5111         (DF_1_SINGLETON): Likewise.
5112         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5113         DT_1_SUPPORTED_MASK bits.
5114         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5115
5116 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5117
5118         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5119
5120 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5121
5122         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5123         macro.
5124
5125         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5126         (sendmmsg): Move declarations...
5127         * socket/sys/socket.h: ... here.
5128         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5129         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5130         include it from...
5131         * socket/recvmmsg.c: ... this new file.
5132         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5133         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5134         definition of __sendmmsg hidden.
5135         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5136         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5137         Move ENOSYS stub into and include it from...
5138         * socket/sendmmsg.c: ... this new file.
5139         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5140         (sysdep_routines): Move recvmmsg and sendmmsg...
5141         * socket/Makefile (routines): ... here.
5142         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5143         (GLIBC_PRIVATE): Add __sendmmsg.
5144         * include/sys/socket.h (__sendmmsg): Add declarations.
5145         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5146         sendmmsg.
5147
5148 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5149
5150         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5151         variable I1 with __attribute__ ((unused)).
5152         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5153
5154 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5155
5156         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5157         DUMMY variables with __attribute__ ((unused)).
5158
5159         * bits/byteswap.h: Include <bits/types.h>.
5160         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5161
5162 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5163
5164         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5165         string_t.  Do not manually set errno.
5166         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5167         length with __strnlen.  Make sure to both set errno and return it on
5168         failure.
5169
5170 2012-11-19  David S. Miller  <davem@davemloft.net>
5171
5172         With help from Joseph Myers.
5173         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5174         very large arguments properly.
5175         * math/libm-test.inc (atan_test): New tests.
5176         (atan2_test): New tests.
5177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5179
5180 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5181
5182         [BZ #14856]
5183         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5184         Define to 3.
5185
5186         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5187         [POSIX] (EADDRNOTAVAIL): Likewise.
5188         [POSIX] (EAFNOSUPPORT): Likewise.
5189         [POSIX] (EALREADY): Likewise.
5190         [POSIX] (ECONNABORTED): Likewise.
5191         [POSIX] (ECONNREFUSED): Likewise.
5192         [POSIX] (ECONNRESET): Likewise.
5193         [POSIX] (EDESTADDRREQ): Likewise.
5194         [POSIX] (EDQUOT): Likewise.
5195         [POSIX] (EHOSTUNREACH): Likewise.
5196         [POSIX] (EIDRM): Likewise.
5197         [POSIX] (EISCONN): Likewise.
5198         [POSIX] (ELOOP): Likewise.
5199         [POSIX] (EMULTIHOP): Likewise.
5200         [POSIX] (ENETDOWN): Likewise.
5201         [POSIX] (ENETUNREACH): Likewise.
5202         [POSIX] (ENOBUFS): Likewise.
5203         [POSIX] (ENODATA): Likewise.
5204         [POSIX] (ENOLINK): Likewise.
5205         [POSIX] (ENOMSG): Likewise.
5206         [POSIX] (ENOPROTOOPT): Likewise.
5207         [POSIX] (ENOSR): Likewise.
5208         [POSIX] (ENOSTR): Likewise.
5209         [POSIX] (ENOTCONN): Likewise.
5210         [POSIX] (ENOTSOCK): Likewise.
5211         [POSIX] (EOPNOTSUPP): Likewise.
5212         [POSIX] (EOVERFLOW): Likewise.
5213         [POSIX] (EPROTO): Likewise.
5214         [POSIX] (EPROTONOSUPPORT): Likewise.
5215         [POSIX] (EPROTOTYPE): Likewise.
5216         [POSIX] (ESTALE): Likewise.
5217         [POSIX] (ETIME): Likewise.
5218         [POSIX] (ETXTBSY): Likewise.
5219         [POSIX] (EWOULDBLOCK): Likewise.
5220         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5221         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5222         [POSIX] (SEEK_CUR): Likewise.
5223         [POSIX] (SEEK_END): Likewise.
5224         [POSIX || UNIX98] (mode_t): Do not require.
5225         [POSIX] (off_t): Likewise.
5226         [POSIX] (pid_t): Likewise.
5227         [POSIX] (sys/stat.h): Do not allow header.
5228         [POSIX] (unistd.h): Likewise.
5229         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5230         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5231         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5232         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5233         require.
5234         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5235         sigevent): Specify elements.
5236         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5237         entry.
5238         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5239         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5240
5241         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5242         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5243         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5244         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5245         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5246         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5247         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5248         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5249         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5250         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5251         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5252         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5253         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5254         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5255         Likewise.
5256         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5257         Likewise.
5258         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5259         Likewise.
5260         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5261         Likewise.
5262         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5263         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5264         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5265         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5266         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5267         Specify lower bound on value.
5268         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5269         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5270         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5271         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5272         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5273         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5274         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5275         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5276         value.
5277         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5278         as optional.
5279         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5280         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5281         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5282         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5283         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5284         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5285         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5286         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5287         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5288         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5289         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5290         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5291         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5292         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5293         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5294         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5295         entry.
5296         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5297         optional.
5298         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5299         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5300         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5301         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5302         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5303         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5304         Likewise.
5305         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5306         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5307         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5308         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5309         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5310         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5311         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5312         as optional.
5313         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5314         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5315         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5316         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5317         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5318         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5319         specify as optional.
5320         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5321         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5322         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5323         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5324         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5325         [XPG3] (NL_LANGMAX): Likewise.
5326         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5327         [POSIX || XPG3] (NL_NMAX): Likewise.
5328         [POSIX || XPG3] (NL_SETMAX): Likewise.
5329         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5330         [XPG3] (NZERO): Likewise.
5331         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5332         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5333         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5334         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5335         (REG_ERANGE): Expect.
5336         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5337         optional-constant.
5338         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5339         Use (void) in prototype.
5340         [POSIX] (*_t): Allow.
5341         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5342         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5343         (WRDE_BADVAL): Expect.
5344
5345         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5346         expect.
5347         [XPG3 || XPG4] (O_RSYNC): Likewise.
5348         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5349         Likewise.
5350         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5351         [XPG3 || XPG4] (sigqueue): Likewise.
5352         [XPG3 || XPG4] (sigtimedwait): Likewise.
5353         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5354         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5355         [XPG3 || XPG4] (vsnprintf): Likewise.
5356         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5357         Likewise.
5358         [XPG3 || XPG4] (blksize_t): Likewise.
5359         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5360         Likewise.
5361         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5362         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5363         [XPG3 || XPG4] (struct itimerspec): Likewise.
5364         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5365         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5366         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5367         [XPG3 || XPG4] (clockid_t): Likewise.
5368         [XPG3 || XPG4] (timer_t): Likewise.
5369         [XPG3 || XPG4] (clock_getres): Likewise.
5370         [XPG3 || XPG4] (clock_gettime): Likewise.
5371         [XPG3 || XPG4] (clock_settime): Likewise.
5372         [XPG3 || XPG4] (nanosleep): Likewise.
5373         [XPG3 || XPG4] (timer_create): Likewise.
5374         [XPG3 || XPG4] (timer_delete): Likewise.
5375         [XPG3 || XPG4] (timer_gettime): Likewise.
5376         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5377         [XPG3 || XPG4] (timer_settime): Likewise.
5378         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5379         [XPG3 || XPG4] (getlogin_r): Likewise.
5380         [XPG3 || XPG4] (pread): Likewise.
5381         [XPG3 || XPG4] (pthread_atfork): Likewise.
5382         [XPG3 || XPG4] (pwrite): Likewise.
5383
5384         [BZ #14835]
5385         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5386         <bits/siginfo.h>.
5387
5388 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5389
5390         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5391         finalizing MALLSTREAM.
5392
5393         * sysdeps/mach/hurd/syncfs.c: New file.
5394
5395 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5396
5397         [BZ #14719]
5398         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5399         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5400         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5401         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5402         (_nss_dns_gethostbyname4_r): Likewise.
5403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5404         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5405
5406 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5407
5408         [BZ #13763]
5409         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5410
5411 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5412
5413         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5414         * elf/cache.c (print_entry): Print ",AArch64" for
5415         FLAG_AARCH64_LIB64
5416
5417         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5418         * elf/cache.c (print_entry): Print ",hard-float" for
5419         FLAG_ARM_LIBHF.
5420
5421 2012-11-18  David S. Miller  <davem@davemloft.net>
5422
5423         With help from Joseph Myers.
5424         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5425         cutoff to 2**-13.
5426         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5427         cutoff to 2**-25.
5428         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5429         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5430         small.
5431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5432         * math/libm-test.inc (y0_test): New tests.
5433         (y1_test): New tests.
5434         * sysdeps/i386/fpu/libm-test-ulps: Update.
5435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5437
5438 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5439
5440         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5441         64-bit targets.
5442         * configure: Regenerated.
5443
5444 2012-11-17  David S. Miller  <davem@davemloft.net>
5445
5446         [BZ #14811]
5447         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5448         nonzero exponents with absolute value below 0x1p-128 to +/-
5449         0x1p-128.
5450
5451 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5452
5453         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5454
5455         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5456
5457         * posix/getconf-speclist.c: New file.
5458         * posix/posix-envs.def: Likewise.
5459         * posix/confstr.c (START_ENV_GROUP): New macro.
5460         (END_ENV_GROUP): Likewise.
5461         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5462         (KNOWN_PRESENT_ENV_STRING): Likewise.
5463         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5464         (UNKNOWN_ENVIRONMENT): Likewise.
5465         (confstr): Include posix-envs.def instead of handling
5466         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5467         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5468         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5469         (END_ENV_GROUP): Likewise.
5470         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5471         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5472         (UNKNOWN_ENVIRONMENT): Likewise.
5473         (__sysconf): Include posix-envs.def instead of handling associated
5474         cases directly here.
5475         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5476         preprocessing getconf-speclist.c rather than running getconf or
5477         generating empty file.
5478
5479 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5480
5481         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5482
5483 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5484
5485         [BZ #14672]
5486         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5487
5488 2012-11-16  David S. Miller  <davem@davemloft.net>
5489
5490         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5491         smaller than LDBL_EPSILON/2.0L, just return xm1.
5492
5493 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5494
5495         * elf/tst-array1.c (init): Set constructor priority to 1000.
5496         (fini): Set destructor priority to 1000.
5497         * elf/tst-array2dep.c: Likewise.
5498
5499 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5500
5501         [BZ #11741]
5502         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5503         (_IO_new_file_xsputn): Also return EOF if none of the input
5504         data was written when overflow failed.
5505         * libio/iopadn.c (_IO_padn): Likewise.
5506         * libio/iowpadn.c (_IO_wpadn): Likewise.
5507         * stdio-common/tst-put-error.c: Add copyright notice.
5508         (do_test): Add case for printing padded string.
5509         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5510         _IO_padn returned error.
5511         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5512         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5513         return EOF.
5514
5515 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5516
5517         * libio/libioP.h: Add comment note that the references to C++
5518         bits are now obsolete.
5519
5520 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5521
5522         * math/libm-test.inc (check_complex): Use asprintf.
5523
5524 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5525
5526         * debug/pcprofiledump.c (print_version): Update copyright year.
5527         * malloc/memusagestat.c (print_version): Likewise.
5528
5529 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5530
5531         [BZ #14831]
5532         * elf/Makefile (tests): Add tst-audit8.
5533         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5534         ($(objpfx)tst-audit8.out): New target.
5535         (tst-audit8-ENV): New variable.
5536         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5537         audit if l_reloc_result is NULL.
5538         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5539         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5540         * elf/tst-audit8.c: New file.
5541
5542 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5543
5544         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5545         * misc/Makefile (CFLAGS-select.c): Define.
5546         * posix/Makefile (CFLAGS-pause.c): Define.
5547
5548 2012-11-13  David S. Miller  <davem@davemloft.net>
5549
5550         * crypt/Makefile: Move test targets after toplevel Rules
5551         inclusion.  Grab any necessary sysdep routines when linking.
5552         * crypt/md5.c (md5_process_block): Remove define, we will always
5553         name it __md5_process_block.
5554         (md5_finish_ctx): Update md5_process_block call.
5555         (md5_stream): Likewise.
5556         (md5_process_bytes): Likewise.
5557         (md5_process_block): Rename to __md5_process_block and move to ...
5558         * crypt/md5-block.c: ... here.
5559         * crypt/sha256.c (sha256_process_block): Move to ...
5560         * crypt/sha256-block.c: ... here.
5561         * crypt/sha512.c (sha512_process_block): Move to ...
5562         * crypt/sha512-block.c: ... here.
5563         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5564         path.
5565         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5566         * sysdeps/sparc/sparc64/multiarch/Makefile
5567         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5568         crypt subdir.
5569         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5570         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5571         multiarch changes.
5572         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5573         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5574         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5575         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5576         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5577         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5578         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5579         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5580         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5581         file.
5582         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5583         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5584         file.
5585         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5586
5587 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5588
5589         * timezone/tzselect.ksh: Update from tzcode git revision
5590         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5591         * timezone/zdump.c: Likewise.
5592         * timezone/zic.c: Likewise.
5593         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5594         in TZVERSION setting, not $(PKGVERSION).
5595         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5596         REPORT_BUGS_TO settings.
5597
5598         [BZ #14838]
5599         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5600         macro.
5601
5602 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5603
5604         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5605         detection to immediately after _FP_ROUND().
5606         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5607         bits are 0.
5608
5609 2012-11-11  David S. Miller  <davem@davemloft.net>
5610
5611         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5612         inttypes.h
5613         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5614         __close rather than their public counterparts.
5615
5616 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5617
5618         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5619         file.
5620         [UNIX98] (sem_timedwait): Do not expect.
5621         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5622         [XPG4 || UNIX98] (sockatmark): Do not expect.
5623         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5624         (clock_getcpuclockid): Do not expect.
5625         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5626         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5627         Do not expect.
5628         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5629         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5630         [UNIX98] (vwscanf): Likewise.
5631         [UNIX98] (vswscanf): Likewise.
5632
5633 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5634
5635         * timezone/version.h: Remove file.
5636         * timezone/README: Do not refer to version.h.
5637         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5638         $(objpfx)version.h.
5639         ($(objpfx)zdump.o): Likewise.
5640         ($(objpfx)version.h): New target.
5641
5642         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5643         2012i.
5644         * timezone/README: Don't mention modification to tzselect.ksh.
5645         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5646         work on unmodified tzselect.ksh.  Substitute version numbers in
5647         tzselect.ksh.
5648
5649         * Makefile (format-me): Remove.
5650         (INSTALL): Adjust indentation.  Use commands directly instead of
5651         using $(format-me).
5652
5653         * aclocal.m4 (ACX_PKGVERSION): New macro.
5654         (ACX_BUGURL): Likewise.
5655         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5656         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5657         (REPORT_BUGS_TO): Likewise.
5658         * configure: Regenerated.
5659         * config.h.in (PKGVERSION): New macro.
5660         (REPORT_BUGS_TO): Likewise.
5661         * config.make.in (PKGVERSION): New variable.
5662         (PKGVERSION_TEXI): Likewise.
5663         (REPORT_BUGS_TO): Likewise.
5664         (REPORT_BUGS_TEXI): Likewise.
5665         * Makefile (format-me): Use -I$(common-objpfx)manual.
5666         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5667         ($(common-objpfx)manual/%): New target.
5668         (manual/%): Remove target.
5669         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5670         (print_version): Use PKGVERSION.
5671         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5672         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5673         and REPORT_BUGS_TO.
5674         ($(objpfx)xtrace): Likewise.
5675         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5676         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5677         (print_version): Use PKGVERSION.
5678         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5679         (do_version): Use PKGVERSION.
5680         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5681         REPORT_BUGS_TO.
5682         (common-ldd-rewrite): Likewise.
5683         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5684         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5685         (print_version): Use PKGVERSION.
5686         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5687         * elf/pldd.c (argp_program_bug_address): Remove variable.
5688         (more_help): New function.
5689         (argp): Use more_help.
5690         (print_version): Use PKGVERSION.
5691         * elf/sln.c (main): Use PKGVERSION.
5692         (usage): Use REPORT_BUGS_TO.
5693         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5694         (top level): Use PKGVERSION.
5695         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5696         (print_version): Use PKGVERSION.
5697         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5698         (print_version): Use PKGVERSION.
5699         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5700         (print_version): Use PKGVERSION.
5701         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5702         (print_version): Use PKGVERSION.
5703         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5704         (print_version): Use PKGVERSION.
5705         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5706         (print_version): Use PKGVERSION.
5707         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5708         and BUGURL.
5709         ($(objpfx)memusage): Likewise.
5710         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5711         (do_version): Use PKGVERSION.
5712         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5713         (print_version): Use PKGVERSION.
5714         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5715         ($PKGVERSION): New variable.
5716         ($REPORT_BUGS_TO): Likewise.
5717         (usage): Use $REPORT_BUGS_TO.
5718         (top level): Use $PKGVERSION.
5719         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5720         ($(objpfx)pkgvers.texi): New rule.
5721         ($(objpfx)stamp-pkgvers): Likewise.
5722         * manual/install.texi: Include pkgvers.texi.
5723         (--with-pkgversion): Document new configure option.
5724         (--with-bugurl): Likewise.
5725         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5726         than necessarily for this particular distribution.  Use
5727         REPORT_BUGS_TO for where to report bugs.
5728         * INSTALL: Regenerated.
5729         * manual/libc.texinfo: Include pkgvers.texi.
5730         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5731         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5732         (print_version): Use PKGVERSION.
5733         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5734         (print_version): Use PKGVERSION.
5735         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5736         (print_version): Use PKGVERSION.
5737         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5738         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5739         macro.
5740         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5741         (print_version): Use PKGVERSION.
5742         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5743         (print_version): Use PKGVERSION.
5744         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5745         and PKGVERSION.
5746
5747         * timezone/checktab.awk: Update from tzcode 2012i.
5748         * timezone/ialloc.c: Likewise.
5749         * timezone/private.h: Likewise.
5750         * timezone/scheck.c: Likewise.
5751         * timezone/tzfile.h: Likewise.
5752         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5753         (TZVERSION): Hardcode tzcode version number.
5754         * timezone/zdump.c: Update from tzcode 2012i.
5755         * timezone/zic.c: Likewise.
5756         * timezone/version.h: New file.
5757         * timezone/README: Describe version.h.  Update upstream location.
5758
5759         [BZ #14824]
5760         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5761         (mktemp): Enable declaration.
5762         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5763         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5764         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5765         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5766         Likewise.
5767         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5768         Likewise.
5769         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5770         Likewise.
5771         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5772         Likewise.
5773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5774         Likewise.
5775         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5776         Likewise.
5777
5778         [BZ #14821]
5779         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5780         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5781         for copies of such integer values.
5782         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5783         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5784
5785 2012-11-09  Andreas Jaeger  <aj@suse.de>
5786
5787         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5788         definitions and declarations that are provided by
5789         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5790
5791 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5792
5793         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5794         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5795         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5796         definition.
5797
5798 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5799
5800         * elf/elf.h: Update comment before AArch64 relocations.
5801
5802 2012-11-07  David S. Miller  <davem@davemloft.net>
5803
5804         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5805         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5806         (__start_context): Declare.
5807         (__makecontext_ret): Delete.
5808         (__makecontext): Hook up __start_context instead of
5809         __makecontext_ret.
5810         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5811         (sysdep_routines): Add __start_context when in stdlib.
5812
5813 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5814
5815         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5816         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5817         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5818         hardcoded "nm".
5819         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5820         (READELF): New variable.  Use it instead of hardcoded "readelf".
5821
5822 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5823
5824         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5825         * sysdeps/x86/Makefile: Here.
5826         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5827         * sysdeps/x86/tst-xmmymm.sh: This.
5828
5829 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5830
5831         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5832         expectations.
5833         [UNIX98] (pthread_barrier_t): Do not expect.
5834         [UNIX98] (pthread_barrierattr_t): Likewise.
5835         [UNIX98] (pthread_spinlock_t): Likewise.
5836         [UNIX98] (pthread_barrier_destroy): Likewise.
5837         [UNIX98] (pthread_barrier_init): Likewise.
5838         [UNIX98] (pthread_barrier_wait): Likewise.
5839         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5840         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5841         [UNIX98] (pthread_barrierattr_init): Likewise.
5842         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5843         [UNIX98] (pthread_getcpuclockid): Likewise.
5844         [UNIX98] (pthread_mutex_timedlock): Likewise.
5845         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5846         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5847         [UNIX98] (pthread_sigmask): Likewise.
5848         [UNIX98] (pthread_spin_destroy): Likewise.
5849         [UNIX98] (pthread_spin_init): Likewise.
5850         [UNIX98] (pthread_spin_lock): Likewise.
5851         [UNIX98] (pthread_spin_trylock): Likewise.
5852         [UNIX98] (pthread_spin_unlock): Likewise.
5853         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5854         Do not expect.
5855         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5856         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5857         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5858         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5859         [XPG3 || XPG4] (pthread_key_t): Likewise.
5860         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5861         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5862         [XPG3 || XPG4] (pthread_once_t): Likewise.
5863         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5864         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5865         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5866         [XPG3 || XPG4] (pthread_t): Likewise.
5867
5868         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5869         not expect.
5870         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5871
5872         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5873         Change function return type to int.
5874
5875         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5876         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5877         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5878         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5879         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5880         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5881         [!POSIX] (posix_madvise): Likewise.
5882         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5883         && !UNIX98].
5884         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5885         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5886         (mode_t): Likewise.
5887         (posix_mem_offset): Likewise.
5888         (posix_typed_mem_get_info): Likewise.
5889         (posix_typed_mem_open): Likewise.
5890
5891         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5892         Change condition to [XOPEN2K8].
5893
5894         * conform/conformtest.pl: Preprocess allow-header data with -x c
5895         instead of from stdin.
5896         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5897         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5898         [C99-based standards] (cerfc): Likewise.
5899         [C99-based standards] (cexp2): Likewise.
5900         [C99-based standards] (cexpm1): Likewise.
5901         [C99-based standards] (clog10): Likewise.
5902         [C99-based standards] (clog1p): Likewise.
5903         [C99-based standards] (clog2): Likewise.
5904         [C99-based standards] (clgamma): Likewise.
5905         [C99-based standards] (ctgamma): Likewise.
5906         [C99-based standards] (cerff): Likewise.
5907         [C99-based standards] (cerfcf): Likewise.
5908         [C99-based standards] (cexp2f): Likewise.
5909         [C99-based standards] (cexpm1f): Likewise.
5910         [C99-based standards] (clog10f): Likewise.
5911         [C99-based standards] (clog1pf): Likewise.
5912         [C99-based standards] (clog2f): Likewise.
5913         [C99-based standards] (clgammaf): Likewise.
5914         [C99-based standards] (ctgammaf): Likewise.
5915         [C99-based standards] (cerfl): Likewise.
5916         [C99-based standards] (cerfcl): Likewise.
5917         [C99-based standards] (cexp2l): Likewise.
5918         [C99-based standards] (cexpm1l): Likewise.
5919         [C99-based standards] (clog10l): Likewise.
5920         [C99-based standards] (clog1pl): Likewise.
5921         [C99-based standards] (clog2l): Likewise.
5922         [C99-based standards] (clgammal): Likewise.
5923         [C99-based standards] (ctgammal): Likewise.
5924         * conform/data/inttypes.h-data [C99-based standards]: Include
5925         stdint.h-data.  Remove all expectations for stdint.h contents.
5926         [C99-based standards] (PRI*): Do not allow.
5927         [C99-based standards] (SCN*): Likewise.
5928         [C99-based standards] (*_t): Likewise.
5929         [C99-based-standards] (PRId8): Expect macro.
5930         [C99-based-standards] (PRIi8): Likewise.
5931         [C99-based-standards] (PRIo8): Likewise.
5932         [C99-based-standards] (PRIu8): Likewise.
5933         [C99-based-standards] (PRIx8): Likewise.
5934         [C99-based-standards] (PRIX8): Likewise.
5935         [C99-based-standards] (SCNd8): Likewise.
5936         [C99-based-standards] (SCNi8): Likewise.
5937         [C99-based-standards] (SCNo8): Likewise.
5938         [C99-based-standards] (SCNu8): Likewise.
5939         [C99-based-standards] (SCNx8): Likewise.
5940         [C99-based-standards] (PRIdLEAST8): Likewise.
5941         [C99-based-standards] (PRIiLEAST8): Likewise.
5942         [C99-based-standards] (PRIoLEAST8): Likewise.
5943         [C99-based-standards] (PRIuLEAST8): Likewise.
5944         [C99-based-standards] (PRIxLEAST8): Likewise.
5945         [C99-based-standards] (PRIXLEAST8): Likewise.
5946         [C99-based-standards] (SCNdLEAST8): Likewise.
5947         [C99-based-standards] (SCNiLEAST8): Likewise.
5948         [C99-based-standards] (SCNoLEAST8): Likewise.
5949         [C99-based-standards] (SCNuLEAST8): Likewise.
5950         [C99-based-standards] (SCNxLEAST8): Likewise.
5951         [C99-based-standards] (PRIdFAST8): Likewise.
5952         [C99-based-standards] (PRIiFAST8): Likewise.
5953         [C99-based-standards] (PRIoFAST8): Likewise.
5954         [C99-based-standards] (PRIuFAST8): Likewise.
5955         [C99-based-standards] (PRIxFAST8): Likewise.
5956         [C99-based-standards] (PRIXFAST8): Likewise.
5957         [C99-based-standards] (SCNdFAST8): Likewise.
5958         [C99-based-standards] (SCNiFAST8): Likewise.
5959         [C99-based-standards] (SCNoFAST8): Likewise.
5960         [C99-based-standards] (SCNuFAST8): Likewise.
5961         [C99-based-standards] (SCNxFAST8): Likewise.
5962         [C99-based-standards] (PRId16): Likewise.
5963         [C99-based-standards] (PRIi16): Likewise.
5964         [C99-based-standards] (PRIo16): Likewise.
5965         [C99-based-standards] (PRIu16): Likewise.
5966         [C99-based-standards] (PRIx16): Likewise.
5967         [C99-based-standards] (PRIX16): Likewise.
5968         [C99-based-standards] (SCNd16): Likewise.
5969         [C99-based-standards] (SCNi16): Likewise.
5970         [C99-based-standards] (SCNo16): Likewise.
5971         [C99-based-standards] (SCNu16): Likewise.
5972         [C99-based-standards] (SCNx16): Likewise.
5973         [C99-based-standards] (PRIdLEAST16): Likewise.
5974         [C99-based-standards] (PRIiLEAST16): Likewise.
5975         [C99-based-standards] (PRIoLEAST16): Likewise.
5976         [C99-based-standards] (PRIuLEAST16): Likewise.
5977         [C99-based-standards] (PRIxLEAST16): Likewise.
5978         [C99-based-standards] (PRIXLEAST16): Likewise.
5979         [C99-based-standards] (SCNdLEAST16): Likewise.
5980         [C99-based-standards] (SCNiLEAST16): Likewise.
5981         [C99-based-standards] (SCNoLEAST16): Likewise.
5982         [C99-based-standards] (SCNuLEAST16): Likewise.
5983         [C99-based-standards] (SCNxLEAST16): Likewise.
5984         [C99-based-standards] (PRIdFAST16): Likewise.
5985         [C99-based-standards] (PRIiFAST16): Likewise.
5986         [C99-based-standards] (PRIoFAST16): Likewise.
5987         [C99-based-standards] (PRIuFAST16): Likewise.
5988         [C99-based-standards] (PRIxFAST16): Likewise.
5989         [C99-based-standards] (PRIXFAST16): Likewise.
5990         [C99-based-standards] (SCNdFAST16): Likewise.
5991         [C99-based-standards] (SCNiFAST16): Likewise.
5992         [C99-based-standards] (SCNoFAST16): Likewise.
5993         [C99-based-standards] (SCNuFAST16): Likewise.
5994         [C99-based-standards] (SCNxFAST16): Likewise.
5995         [C99-based-standards] (PRId32): Likewise.
5996         [C99-based-standards] (PRIi32): Likewise.
5997         [C99-based-standards] (PRIo32): Likewise.
5998         [C99-based-standards] (PRIu32): Likewise.
5999         [C99-based-standards] (PRIx32): Likewise.
6000         [C99-based-standards] (PRIX32): Likewise.
6001         [C99-based-standards] (SCNd32): Likewise.
6002         [C99-based-standards] (SCNi32): Likewise.
6003         [C99-based-standards] (SCNo32): Likewise.
6004         [C99-based-standards] (SCNu32): Likewise.
6005         [C99-based-standards] (SCNx32): Likewise.
6006         [C99-based-standards] (PRIdLEAST32): Likewise.
6007         [C99-based-standards] (PRIiLEAST32): Likewise.
6008         [C99-based-standards] (PRIoLEAST32): Likewise.
6009         [C99-based-standards] (PRIuLEAST32): Likewise.
6010         [C99-based-standards] (PRIxLEAST32): Likewise.
6011         [C99-based-standards] (PRIXLEAST32): Likewise.
6012         [C99-based-standards] (SCNdLEAST32): Likewise.
6013         [C99-based-standards] (SCNiLEAST32): Likewise.
6014         [C99-based-standards] (SCNoLEAST32): Likewise.
6015         [C99-based-standards] (SCNuLEAST32): Likewise.
6016         [C99-based-standards] (SCNxLEAST32): Likewise.
6017         [C99-based-standards] (PRIdFAST32): Likewise.
6018         [C99-based-standards] (PRIiFAST32): Likewise.
6019         [C99-based-standards] (PRIoFAST32): Likewise.
6020         [C99-based-standards] (PRIuFAST32): Likewise.
6021         [C99-based-standards] (PRIxFAST32): Likewise.
6022         [C99-based-standards] (PRIXFAST32): Likewise.
6023         [C99-based-standards] (SCNdFAST32): Likewise.
6024         [C99-based-standards] (SCNiFAST32): Likewise.
6025         [C99-based-standards] (SCNoFAST32): Likewise.
6026         [C99-based-standards] (SCNuFAST32): Likewise.
6027         [C99-based-standards] (SCNxFAST32): Likewise.
6028         [C99-based-standards] (PRId64): Likewise.
6029         [C99-based-standards] (PRIi64): Likewise.
6030         [C99-based-standards] (PRIo64): Likewise.
6031         [C99-based-standards] (PRIu64): Likewise.
6032         [C99-based-standards] (PRIx64): Likewise.
6033         [C99-based-standards] (PRIX64): Likewise.
6034         [C99-based-standards] (SCNd64): Likewise.
6035         [C99-based-standards] (SCNi64): Likewise.
6036         [C99-based-standards] (SCNo64): Likewise.
6037         [C99-based-standards] (SCNu64): Likewise.
6038         [C99-based-standards] (SCNx64): Likewise.
6039         [C99-based-standards] (PRIdLEAST64): Likewise.
6040         [C99-based-standards] (PRIiLEAST64): Likewise.
6041         [C99-based-standards] (PRIoLEAST64): Likewise.
6042         [C99-based-standards] (PRIuLEAST64): Likewise.
6043         [C99-based-standards] (PRIxLEAST64): Likewise.
6044         [C99-based-standards] (PRIXLEAST64): Likewise.
6045         [C99-based-standards] (SCNdLEAST64): Likewise.
6046         [C99-based-standards] (SCNiLEAST64): Likewise.
6047         [C99-based-standards] (SCNoLEAST64): Likewise.
6048         [C99-based-standards] (SCNuLEAST64): Likewise.
6049         [C99-based-standards] (SCNxLEAST64): Likewise.
6050         [C99-based-standards] (PRIdFAST64): Likewise.
6051         [C99-based-standards] (PRIiFAST64): Likewise.
6052         [C99-based-standards] (PRIoFAST64): Likewise.
6053         [C99-based-standards] (PRIuFAST64): Likewise.
6054         [C99-based-standards] (PRIxFAST64): Likewise.
6055         [C99-based-standards] (PRIXFAST64): Likewise.
6056         [C99-based-standards] (SCNdFAST64): Likewise.
6057         [C99-based-standards] (SCNiFAST64): Likewise.
6058         [C99-based-standards] (SCNoFAST64): Likewise.
6059         [C99-based-standards] (SCNuFAST64): Likewise.
6060         [C99-based-standards] (SCNxFAST64): Likewise.
6061         [C99-based-standards] (PRIdMAX): Likewise.
6062         [C99-based-standards] (PRIiMAX): Likewise.
6063         [C99-based-standards] (PRIoMAX): Likewise.
6064         [C99-based-standards] (PRIuMAX): Likewise.
6065         [C99-based-standards] (PRIxMAX): Likewise.
6066         [C99-based-standards] (PRIXMAX): Likewise.
6067         [C99-based-standards] (SCNdMAX): Likewise.
6068         [C99-based-standards] (SCNiMAX): Likewise.
6069         [C99-based-standards] (SCNoMAX): Likewise.
6070         [C99-based-standards] (SCNuMAX): Likewise.
6071         [C99-based-standards] (SCNxMAX): Likewise.
6072         [C99-based-standards] (PRIdPTR): Likewise.
6073         [C99-based-standards] (PRIiPTR): Likewise.
6074         [C99-based-standards] (PRIoPTR): Likewise.
6075         [C99-based-standards] (PRIuPTR): Likewise.
6076         [C99-based-standards] (PRIxPTR): Likewise.
6077         [C99-based-standards] (PRIXPTR): Likewise.
6078         [C99-based-standards] (SCNdPTR): Likewise.
6079         [C99-based-standards] (SCNiPTR): Likewise.
6080         [C99-based-standards] (SCNoPTR): Likewise.
6081         [C99-based-standards] (SCNuPTR): Likewise.
6082         [C99-based-standards] (SCNxPTR): Likewise.
6083         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6084         allow.
6085         * conform/data/stdint.h-data: Update comments to clarify
6086         requirements.
6087         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6088         type.
6089         [C99-based standards] (INT8_MAX): Likewise.
6090         [C99-based standards] (INT16_MIN): Likewise.
6091         [C99-based standards] (INT16_MAX): Likewise.
6092         [C99-based standards] (INT32_MIN): Likewise.
6093         [C99-based standards] (INT32_MAX): Likewise.
6094         [C99-based standards] (INT64_MIN): Likewise.
6095         [C99-based standards] (INT64_MAX): Likewise.
6096         [C99-based standards] (UINT8_MAX): Likewise.
6097         [C99-based standards] (UINT16_MAX): Likewise.
6098         [C99-based standards] (UINT32_MAX): Likewise.
6099         [C99-based standards] (UINT64_MAX): Likewise.
6100         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6101         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6102         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6103         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6104         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6105         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6106         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6107         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6108         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6109         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6110         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6111         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6112         [C99-based standards] (INT_FAST8_MIN): Likewise.
6113         [C99-based standards] (INT_FAST8_MAX): Likewise.
6114         [C99-based standards] (INT_FAST16_MIN): Likewise.
6115         [C99-based standards] (INT_FAST16_MAX): Likewise.
6116         [C99-based standards] (INT_FAST32_MIN): Likewise.
6117         [C99-based standards] (INT_FAST32_MAX): Likewise.
6118         [C99-based standards] (INT_FAST64_MIN): Likewise.
6119         [C99-based standards] (INT_FAST64_MAX): Likewise.
6120         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6121         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6122         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6123         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6124         [C99-based standards] (INTPTR_MIN): Likewise.
6125         [C99-based standards] (INTPTR_MAX): Likewise.
6126         [C99-based standards] (UINTPTR_MAX): Likewise.
6127         [C99-based standards] (INTMAX_MIN): Likewise.
6128         [C99-based standards] (INTMAX_MAX): Likewise.
6129         [C99-based standards] (UINTMAX_MAX): Likewise.
6130         [C99-based standards] (PTRDIFF_MIN): Likewise.
6131         [C99-based standards] (PTRDIFF_MAX): Likewise.
6132         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6133         [C99-based standards] (SIZE_MAX): Likewise.
6134         [C99-based standards] (WCHAR_MAX): Likewise.
6135         [C99-based standards] (WINT_MAX): Likewise.
6136         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6137         constraint on value.
6138         [C99-based standards] (WCHAR_MIN): Likewise.
6139         [C99-based standards] (WINT_MIN): Likewise.
6140         [C99-based standards] (*_t): Allow.
6141         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6142         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6143         Include math.h-data and complex.h-data.  Remove all expectations
6144         of math.h and complex.h contents.
6145         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6146         at end of line.
6147         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6148         (struct tm): Expect tag.
6149         [C99-based-standards] (wcstof): Expect function.
6150         [C99-based-standards] (wcstold): Likewise.
6151         [C99-based-standards] (wcstoll): Likewise.
6152         [C99-based-standards] (wcstoull): Likewise.
6153         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6154         macro-int-constant.  Specify type.
6155         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6156         constraint on value.
6157         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6158         Specify type.
6159         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6160         Specify value.
6161         [ISO C standards]: Do not allow headers.
6162         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6163         wcs[abcdefghijklmnopqrstuvwxyz]*.
6164         [ISO C standards] (*_t): Do not allow.
6165         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6166         Expect function.
6167         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6168         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6169         Specify type.
6170         [ISO C standards]: Do not allow headers.
6171         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6172         is[abcdefghijklmnopqrstuvwxyz]*.
6173         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6174         to[abcdefghijklmnopqrstuvwxyz]*.
6175         [ISO C standards] (*_t): Do not allow.
6176         * conform/data/stdalign.h-data: New file.
6177         * conform/data/stdbool.h-data: Likewise.
6178         * conform/data/stdnoreturn.h-data: Likewise.
6179
6180 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6181
6182         [BZ #14815]
6183         * manual/filesys.texi (Directory Entries): Typo fix.
6184         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6185
6186 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6187
6188         * elf/elf.h (EM_AARCH64): New macro.
6189         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6190         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6191         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6192         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6193         (R_AARCH64_TLSDESC): Likewise.
6194         (NT_ARM_TLS): Likewise.
6195         (NT_ARM_HW_BREAK): Likewise.
6196         (NT_ARM_HW_WATCH): Likewise.
6197
6198 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6199
6200         [BZ #14811]
6201         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6202         (__ieee754_powl): Saturate nonzero exponents with absolute value
6203         below 0x1p-79 to +/- 0x1p-79.
6204         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6205         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6206         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6207         nonzero exponents with absolute value below 0x1p-32 to +/-
6208         0x1p-32.
6209         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6210         (__ieee754_powl): Saturate nonzero exponents with absolute value
6211         below 0x1p-79 to +/- 0x1p-79.
6212         * math/libm-test.inc (pow_test): Add more tests.
6213
6214 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6215
6216         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6217         _dl_s390_cap_flags with kernel. Increase string length.
6218         (_dl_s390_platforms): Add z196 and zEC12.
6219
6220 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6221
6222         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6223         Change XOPEN21K to XOPEN2K.
6224
6225 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6226
6227         * string/memmove.c: Use memcpy when possible.
6228
6229 2012-11-06  Andreas Jaeger  <aj@suse.de>
6230
6231         * po/eo.po: Update from translation team.
6232
6233 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6234
6235         [BZ #14793]
6236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6237         exponent and small x and y exponents, scale x or y up.  Increase
6238         by 2 the exponent used in scaling up.
6239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6241         * math/libm-test.inc (fma_test): Add more tests.
6242         (fma_test_towardzero): Likewise.
6243         (fma_test_downward): Likewise.
6244         (fma_test_upward): Likewise.
6245
6246 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6247
6248         [BZ #14805]
6249         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6250         fenv_t *.
6251
6252         [BZ #14801]
6253         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6254         namespace for names of struct fields.
6255         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6256         fenv_t fields.
6257         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6258         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6259
6260 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6261
6262         [BZ #3665]
6263         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6264
6265 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6266
6267         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6268         PTR_DEMANGLE.
6269
6270         [BZ #5246]
6271         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6272         PTR_DEMANGLE.
6273
6274 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6275
6276         [BZ #14797]
6277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6278         definitely overflow as x * y not x * y + z.
6279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6281         * math/libm-test.inc (fma_test): Add more tests.
6282         (fma_test_towardzero): Likewise.
6283         (fma_test_downward): Likewise.
6284         (fma_test_upward): Likewise.
6285
6286 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6287
6288         [BZ #157]
6289
6290         * include/stub-tag.h: Remove file.
6291         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6292         '#include' of it.
6293         * manual/maint.texi (Porting): Don't reference it.
6294         * Makerules ($(objpfx)stubs): Likewise.
6295         * dirent/closedir.c: Don't include <stub-tag.h>.
6296         * dirent/dirfd.c: Likewise.
6297         * dirent/fdopendir.c: Likewise.
6298         * dirent/getdents.c: Likewise.
6299         * dirent/getdents64.c: Likewise.
6300         * dirent/opendir.c: Likewise.
6301         * dirent/readdir.c: Likewise.
6302         * dirent/readdir64.c: Likewise.
6303         * dirent/readdir64_r.c: Likewise.
6304         * dirent/readdir_r.c: Likewise.
6305         * dirent/rewinddir.c: Likewise.
6306         * dirent/seekdir.c: Likewise.
6307         * dirent/telldir.c: Likewise.
6308         * gmon/profil.c: Likewise.
6309         * grp/setgroups.c: Likewise.
6310         * inet/if_index.c: Likewise.
6311         * io/access.c: Likewise.
6312         * io/chdir.c: Likewise.
6313         * io/chmod.c: Likewise.
6314         * io/chown.c: Likewise.
6315         * io/close.c: Likewise.
6316         * io/dup.c: Likewise.
6317         * io/dup2.c: Likewise.
6318         * io/dup3.c: Likewise.
6319         * io/euidaccess.c: Likewise.
6320         * io/faccessat.c: Likewise.
6321         * io/fchdir.c: Likewise.
6322         * io/fchmod.c: Likewise.
6323         * io/fchmodat.c: Likewise.
6324         * io/fchown.c: Likewise.
6325         * io/fchownat.c: Likewise.
6326         * io/fcntl.c: Likewise.
6327         * io/flock.c: Likewise.
6328         * io/fstatfs.c: Likewise.
6329         * io/fstatfs64.c: Likewise.
6330         * io/fstatvfs.c: Likewise.
6331         * io/fstatvfs64.c: Likewise.
6332         * io/futimens.c: Likewise.
6333         * io/fxstat.c: Likewise.
6334         * io/fxstat64.c: Likewise.
6335         * io/fxstatat.c: Likewise.
6336         * io/fxstatat64.c: Likewise.
6337         * io/getcwd.c: Likewise.
6338         * io/isatty.c: Likewise.
6339         * io/lchmod.c: Likewise.
6340         * io/lchown.c: Likewise.
6341         * io/link.c: Likewise.
6342         * io/linkat.c: Likewise.
6343         * io/lseek.c: Likewise.
6344         * io/lseek64.c: Likewise.
6345         * io/lxstat64.c: Likewise.
6346         * io/mkdir.c: Likewise.
6347         * io/mkdirat.c: Likewise.
6348         * io/mkfifo.c: Likewise.
6349         * io/mkfifoat.c: Likewise.
6350         * io/open.c: Likewise.
6351         * io/open64.c: Likewise.
6352         * io/openat.c: Likewise.
6353         * io/openat64.c: Likewise.
6354         * io/pipe.c: Likewise.
6355         * io/pipe2.c: Likewise.
6356         * io/poll.c: Likewise.
6357         * io/posix_fadvise.c: Likewise.
6358         * io/posix_fadvise64.c: Likewise.
6359         * io/posix_fallocate.c: Likewise.
6360         * io/posix_fallocate64.c: Likewise.
6361         * io/read.c: Likewise.
6362         * io/readlink.c: Likewise.
6363         * io/readlinkat.c: Likewise.
6364         * io/rmdir.c: Likewise.
6365         * io/sendfile.c: Likewise.
6366         * io/sendfile64.c: Likewise.
6367         * io/statfs.c: Likewise.
6368         * io/statfs64.c: Likewise.
6369         * io/statvfs.c: Likewise.
6370         * io/statvfs64.c: Likewise.
6371         * io/symlink.c: Likewise.
6372         * io/symlinkat.c: Likewise.
6373         * io/ttyname.c: Likewise.
6374         * io/ttyname_r.c: Likewise.
6375         * io/umask.c: Likewise.
6376         * io/unlink.c: Likewise.
6377         * io/unlinkat.c: Likewise.
6378         * io/utime.c: Likewise.
6379         * io/utimensat.c: Likewise.
6380         * io/write.c: Likewise.
6381         * io/xmknod.c: Likewise.
6382         * io/xmknodat.c: Likewise.
6383         * io/xstat.c: Likewise.
6384         * io/xstat64.c: Likewise.
6385         * login/getpt.c: Likewise.
6386         * login/grantpt.c: Likewise.
6387         * login/unlockpt.c: Likewise.
6388         * math/e_acoshl.c: Likewise.
6389         * math/e_acosl.c: Likewise.
6390         * math/e_asinl.c: Likewise.
6391         * math/e_atan2l.c: Likewise.
6392         * math/e_atanhl.c: Likewise.
6393         * math/e_coshl.c: Likewise.
6394         * math/e_expl.c: Likewise.
6395         * math/e_fmodl.c: Likewise.
6396         * math/e_gammal_r.c: Likewise.
6397         * math/e_hypotl.c: Likewise.
6398         * math/e_j0l.c: Likewise.
6399         * math/e_j1l.c: Likewise.
6400         * math/e_jnl.c: Likewise.
6401         * math/e_lgammal_r.c: Likewise.
6402         * math/e_log10l.c: Likewise.
6403         * math/e_log2l.c: Likewise.
6404         * math/e_logl.c: Likewise.
6405         * math/e_powl.c: Likewise.
6406         * math/e_rem_pio2l.c: Likewise.
6407         * math/e_sinhl.c: Likewise.
6408         * math/e_sqrtl.c: Likewise.
6409         * math/fclrexcpt.c: Likewise.
6410         * math/fedisblxcpt.c: Likewise.
6411         * math/feenablxcpt.c: Likewise.
6412         * math/fegetenv.c: Likewise.
6413         * math/fegetexcept.c: Likewise.
6414         * math/fegetround.c: Likewise.
6415         * math/feholdexcpt.c: Likewise.
6416         * math/fesetenv.c: Likewise.
6417         * math/fesetround.c: Likewise.
6418         * math/feupdateenv.c: Likewise.
6419         * math/fgetexcptflg.c: Likewise.
6420         * math/fraiseexcpt.c: Likewise.
6421         * math/fsetexcptflg.c: Likewise.
6422         * math/ftestexcept.c: Likewise.
6423         * math/k_cosl.c: Likewise.
6424         * math/k_rem_pio2l.c: Likewise.
6425         * math/k_sinl.c: Likewise.
6426         * math/k_tanl.c: Likewise.
6427         * math/s_asinhl.c: Likewise.
6428         * math/s_atanl.c: Likewise.
6429         * math/s_cbrtl.c: Likewise.
6430         * math/s_erfl.c: Likewise.
6431         * math/s_expm1l.c: Likewise.
6432         * math/s_log1pl.c: Likewise.
6433         * math/s_tanhl.c: Likewise.
6434         * misc/acct.c: Likewise.
6435         * misc/brk.c: Likewise.
6436         * misc/chflags.c: Likewise.
6437         * misc/chroot.c: Likewise.
6438         * misc/fchflags.c: Likewise.
6439         * misc/fgetxattr.c: Likewise.
6440         * misc/flistxattr.c: Likewise.
6441         * misc/fremovexattr.c: Likewise.
6442         * misc/fsetxattr.c: Likewise.
6443         * misc/fsync.c: Likewise.
6444         * misc/ftruncate.c: Likewise.
6445         * misc/futimes.c: Likewise.
6446         * misc/futimesat.c: Likewise.
6447         * misc/getdomain.c: Likewise.
6448         * misc/getdtsz.c: Likewise.
6449         * misc/gethostid.c: Likewise.
6450         * misc/gethostname.c: Likewise.
6451         * misc/getloadavg.c: Likewise.
6452         * misc/getpagesize.c: Likewise.
6453         * misc/getsysstats.c: Likewise.
6454         * misc/getxattr.c: Likewise.
6455         * misc/gtty.c: Likewise.
6456         * misc/ioctl.c: Likewise.
6457         * misc/lgetxattr.c: Likewise.
6458         * misc/listxattr.c: Likewise.
6459         * misc/llistxattr.c: Likewise.
6460         * misc/lremovexattr.c: Likewise.
6461         * misc/lsetxattr.c: Likewise.
6462         * misc/lutimes.c: Likewise.
6463         * misc/madvise.c: Likewise.
6464         * misc/mincore.c: Likewise.
6465         * misc/mlock.c: Likewise.
6466         * misc/mlockall.c: Likewise.
6467         * misc/mmap.c: Likewise.
6468         * misc/mprotect.c: Likewise.
6469         * misc/msync.c: Likewise.
6470         * misc/munlock.c: Likewise.
6471         * misc/munlockall.c: Likewise.
6472         * misc/munmap.c: Likewise.
6473         * misc/preadv.c: Likewise.
6474         * misc/preadv64.c: Likewise.
6475         * misc/ptrace.c: Likewise.
6476         * misc/pwritev.c: Likewise.
6477         * misc/pwritev64.c: Likewise.
6478         * misc/readv.c: Likewise.
6479         * misc/reboot.c: Likewise.
6480         * misc/remap_file_pages.c: Likewise.
6481         * misc/removexattr.c: Likewise.
6482         * misc/revoke.c: Likewise.
6483         * misc/select.c: Likewise.
6484         * misc/setdomain.c: Likewise.
6485         * misc/setegid.c: Likewise.
6486         * misc/seteuid.c: Likewise.
6487         * misc/sethostid.c: Likewise.
6488         * misc/sethostname.c: Likewise.
6489         * misc/setregid.c: Likewise.
6490         * misc/setreuid.c: Likewise.
6491         * misc/setxattr.c: Likewise.
6492         * misc/sstk.c: Likewise.
6493         * misc/stty.c: Likewise.
6494         * misc/swapoff.c: Likewise.
6495         * misc/swapon.c: Likewise.
6496         * misc/sync.c: Likewise.
6497         * misc/syncfs.c: Likewise.
6498         * misc/syscall.c: Likewise.
6499         * misc/truncate.c: Likewise.
6500         * misc/ualarm.c: Likewise.
6501         * misc/usleep.c: Likewise.
6502         * misc/ustat.c: Likewise.
6503         * misc/utimes.c: Likewise.
6504         * misc/vhangup.c: Likewise.
6505         * misc/writev.c: Likewise.
6506         * posix/_exit.c: Likewise.
6507         * posix/alarm.c: Likewise.
6508         * posix/execve.c: Likewise.
6509         * posix/fexecve.c: Likewise.
6510         * posix/fork.c: Likewise.
6511         * posix/fpathconf.c: Likewise.
6512         * posix/getaddrinfo.c: Likewise.
6513         * posix/getegid.c: Likewise.
6514         * posix/geteuid.c: Likewise.
6515         * posix/getgid.c: Likewise.
6516         * posix/getgroups.c: Likewise.
6517         * posix/getlogin.c: Likewise.
6518         * posix/getlogin_r.c: Likewise.
6519         * posix/getpgid.c: Likewise.
6520         * posix/getpid.c: Likewise.
6521         * posix/getppid.c: Likewise.
6522         * posix/getresgid.c: Likewise.
6523         * posix/getresuid.c: Likewise.
6524         * posix/getsid.c: Likewise.
6525         * posix/getuid.c: Likewise.
6526         * posix/glob64.c: Likewise.
6527         * posix/nanosleep.c: Likewise.
6528         * posix/pathconf.c: Likewise.
6529         * posix/pause.c: Likewise.
6530         * posix/posix_madvise.c: Likewise.
6531         * posix/pread.c: Likewise.
6532         * posix/pread64.c: Likewise.
6533         * posix/pwrite.c: Likewise.
6534         * posix/pwrite64.c: Likewise.
6535         * posix/sched_getaffinity.c: Likewise.
6536         * posix/sched_getp.c: Likewise.
6537         * posix/sched_gets.c: Likewise.
6538         * posix/sched_primax.c: Likewise.
6539         * posix/sched_primin.c: Likewise.
6540         * posix/sched_rr_gi.c: Likewise.
6541         * posix/sched_setaffinity.c: Likewise.
6542         * posix/sched_setp.c: Likewise.
6543         * posix/sched_sets.c: Likewise.
6544         * posix/sched_yield.c: Likewise.
6545         * posix/setgid.c: Likewise.
6546         * posix/setlogin.c: Likewise.
6547         * posix/setpgid.c: Likewise.
6548         * posix/setresgid.c: Likewise.
6549         * posix/setresuid.c: Likewise.
6550         * posix/setsid.c: Likewise.
6551         * posix/setuid.c: Likewise.
6552         * posix/sleep.c: Likewise.
6553         * posix/spawni.c: Likewise.
6554         * posix/sysconf.c: Likewise.
6555         * posix/times.c: Likewise.
6556         * posix/wait.c: Likewise.
6557         * posix/wait3.c: Likewise.
6558         * posix/wait4.c: Likewise.
6559         * posix/waitpid.c: Likewise.
6560         * resolv/gai_sigqueue.c: Likewise.
6561         * resource/getpriority.c: Likewise.
6562         * resource/getrlimit.c: Likewise.
6563         * resource/getrusage.c: Likewise.
6564         * resource/nice.c: Likewise.
6565         * resource/setpriority.c: Likewise.
6566         * resource/setrlimit.c: Likewise.
6567         * resource/ulimit.c: Likewise.
6568         * rt/aio_cancel.c: Likewise.
6569         * rt/aio_fsync.c: Likewise.
6570         * rt/aio_read.c: Likewise.
6571         * rt/aio_sigqueue.c: Likewise.
6572         * rt/aio_suspend.c: Likewise.
6573         * rt/aio_write.c: Likewise.
6574         * rt/clock_getres.c: Likewise.
6575         * rt/clock_gettime.c: Likewise.
6576         * rt/clock_nanosleep.c: Likewise.
6577         * rt/clock_settime.c: Likewise.
6578         * rt/lio_listio.c: Likewise.
6579         * rt/mq_close.c: Likewise.
6580         * rt/mq_getattr.c: Likewise.
6581         * rt/mq_notify.c: Likewise.
6582         * rt/mq_open.c: Likewise.
6583         * rt/mq_receive.c: Likewise.
6584         * rt/mq_send.c: Likewise.
6585         * rt/mq_setattr.c: Likewise.
6586         * rt/mq_timedreceive.c: Likewise.
6587         * rt/mq_timedsend.c: Likewise.
6588         * rt/mq_unlink.c: Likewise.
6589         * rt/shm_open.c: Likewise.
6590         * rt/shm_unlink.c: Likewise.
6591         * rt/timer_create.c: Likewise.
6592         * rt/timer_delete.c: Likewise.
6593         * rt/timer_getoverr.c: Likewise.
6594         * rt/timer_gettime.c: Likewise.
6595         * rt/timer_settime.c: Likewise.
6596         * setjmp/__longjmp.c: Likewise.
6597         * setjmp/setjmp.c: Likewise.
6598         * signal/kill.c: Likewise.
6599         * signal/killpg.c: Likewise.
6600         * signal/raise.c: Likewise.
6601         * signal/sigaction.c: Likewise.
6602         * signal/sigaltstack.c: Likewise.
6603         * signal/sigblock.c: Likewise.
6604         * signal/sigignore.c: Likewise.
6605         * signal/sigintr.c: Likewise.
6606         * signal/signal.c: Likewise.
6607         * signal/sigpause.c: Likewise.
6608         * signal/sigpending.c: Likewise.
6609         * signal/sigqueue.c: Likewise.
6610         * signal/sigreturn.c: Likewise.
6611         * signal/sigset.c: Likewise.
6612         * signal/sigsetmask.c: Likewise.
6613         * signal/sigstack.c: Likewise.
6614         * signal/sigsuspend.c: Likewise.
6615         * signal/sigtimedwait.c: Likewise.
6616         * signal/sigvec.c: Likewise.
6617         * signal/sigwait.c: Likewise.
6618         * signal/sigwaitinfo.c: Likewise.
6619         * signal/sysv_signal.c: Likewise.
6620         * socket/accept.c: Likewise.
6621         * socket/accept4.c: Likewise.
6622         * socket/bind.c: Likewise.
6623         * socket/connect.c: Likewise.
6624         * socket/getpeername.c: Likewise.
6625         * socket/getsockname.c: Likewise.
6626         * socket/getsockopt.c: Likewise.
6627         * socket/isfdtype.c: Likewise.
6628         * socket/listen.c: Likewise.
6629         * socket/recv.c: Likewise.
6630         * socket/recvfrom.c: Likewise.
6631         * socket/recvmsg.c: Likewise.
6632         * socket/send.c: Likewise.
6633         * socket/sendmsg.c: Likewise.
6634         * socket/sendto.c: Likewise.
6635         * socket/setsockopt.c: Likewise.
6636         * socket/shutdown.c: Likewise.
6637         * socket/sockatmark.c: Likewise.
6638         * socket/socket.c: Likewise.
6639         * socket/socketpair.c: Likewise.
6640         * stdio-common/ctermid.c: Likewise.
6641         * stdio-common/cuserid.c: Likewise.
6642         * stdio-common/remove.c: Likewise.
6643         * stdio-common/rename.c: Likewise.
6644         * stdio-common/renameat.c: Likewise.
6645         * stdio-common/tempname.c: Likewise.
6646         * stdlib/getcontext.c: Likewise.
6647         * stdlib/makecontext.c: Likewise.
6648         * stdlib/setcontext.c: Likewise.
6649         * stdlib/swapcontext.c: Likewise.
6650         * stdlib/system.c: Likewise.
6651         * streams/fattach.c: Likewise.
6652         * streams/fdetach.c: Likewise.
6653         * streams/getmsg.c: Likewise.
6654         * streams/getpmsg.c: Likewise.
6655         * streams/putmsg.c: Likewise.
6656         * streams/putpmsg.c: Likewise.
6657         * sysdeps/unix/bsd/getpt.c: Likewise.
6658         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6659         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6660         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6662         Likewise.
6663         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6664         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6665         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6666         * sysvipc/msgctl.c: Likewise.
6667         * sysvipc/msgget.c: Likewise.
6668         * sysvipc/msgrcv.c: Likewise.
6669         * sysvipc/msgsnd.c: Likewise.
6670         * sysvipc/semctl.c: Likewise.
6671         * sysvipc/semget.c: Likewise.
6672         * sysvipc/semop.c: Likewise.
6673         * sysvipc/semtimedop.c: Likewise.
6674         * sysvipc/shmat.c: Likewise.
6675         * sysvipc/shmctl.c: Likewise.
6676         * sysvipc/shmdt.c: Likewise.
6677         * sysvipc/shmget.c: Likewise.
6678         * termios/tcdrain.c: Likewise.
6679         * termios/tcflow.c: Likewise.
6680         * termios/tcflush.c: Likewise.
6681         * termios/tcgetattr.c: Likewise.
6682         * termios/tcgetpgrp.c: Likewise.
6683         * termios/tcsendbrk.c: Likewise.
6684         * termios/tcsetattr.c: Likewise.
6685         * termios/tcsetpgrp.c: Likewise.
6686         * time/adjtime.c: Likewise.
6687         * time/clock.c: Likewise.
6688         * time/getitimer.c: Likewise.
6689         * time/gettimeofday.c: Likewise.
6690         * time/setitimer.c: Likewise.
6691         * time/settimeofday.c: Likewise.
6692         * time/stime.c: Likewise.
6693         * time/time.c: Likewise.
6694
6695 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6696
6697         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6698         /usr/old/bin.
6699
6700         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6701         instead of spaces.
6702         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6703
6704 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6705
6706         [BZ #14796]
6707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6708         FE_TONEAREST before applying Dekker multiplication and Knuth
6709         addition.  Clear inexact exceptions and check for exact zero
6710         results afterwards.
6711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6712         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6714         * math/libm-test.inc (fma_test): Add more tests.
6715         (fma_test_towardzero): Likewise.
6716         (fma_test_downward): Likewise.
6717         (fma_test_upward): Likewise.
6718         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6719         function.
6720         (libc_fesetround): New macro.
6721         (libc_fesetroundf): Likewise.
6722         (libc_fesetroundl): Likewise.
6723         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6724         function.
6725         (libc_fesetround_387): Likewise.
6726         (libc_fesetroundf): New macro.
6727         (libc_fesetround): Likewise.
6728         (libc_fesetroundl): Likewise.
6729         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6730         function.
6731         (libc_fesetroundf): New macro.
6732         (libc_fesetround): Likewise.
6733         (libc_fesetroundl): Likewise.
6734         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6735         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6736         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6737         libm_hidden_ver.
6738         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6739         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6740         libm_hidden_def.
6741         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6742         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6743         libm_hidden_ver.
6744         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6745         libm_hidden_def.
6746
6747         [BZ #3439]
6748         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6749         integer constant usable in #if and use that to give value to enum
6750         constant.
6751         (FE_DIVBYZERO): Likewise.
6752         (FE_UNDERFLOW): Likewise.
6753         (FE_OVERFLOW): Likewise.
6754         (FE_INVALID): Likewise.
6755         (FE_INVALID_SNAN): Likewise.
6756         (FE_INVALID_ISI): Likewise.
6757         (FE_INVALID_IDI): Likewise.
6758         (FE_INVALID_ZDZ): Likewise.
6759         (FE_INVALID_IMZ): Likewise.
6760         (FE_INVALID_COMPARE): Likewise.
6761         (FE_INVALID_SOFTWARE): Likewise.
6762         (FE_INVALID_SQRT): Likewise.
6763         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6764         (FE_TONEAREST): Likewise.
6765         (FE_TOWARDZERO): Likewise.
6766         (FE_UPWARD): Likewise.
6767         (FE_DOWNWARD): Likewise.
6768         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6769         (FE_DIVBYZERO): Likewise.
6770         (FE_OVERFLOW): Likewise.
6771         (FE_UNDERFLOW): Likewise.
6772         (FE_INEXACT): Likewise.
6773         (FE_TONEAREST): Likewise.
6774         (FE_DOWNWARD): Likewise.
6775         (FE_UPWARD): Likewise.
6776         (FE_TOWARDZERO): Likewise.
6777         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6778         (FE_UNDERFLOW): Likewise.
6779         (FE_OVERFLOW): Likewise.
6780         (FE_DIVBYZERO): Likewise.
6781         (FE_INVALID): Likewise.
6782         (FE_TONEAREST): Likewise.
6783         (FE_TOWARDZERO): Likewise.
6784         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6785         (FE_OVERFLOW): Likewise.
6786         (FE_UNDERFLOW): Likewise.
6787         (FE_DIVBYZERO): Likewise.
6788         (FE_INEXACT): Likewise.
6789         (FE_TONEAREST): Likewise.
6790         (FE_TOWARDZERO): Likewise.
6791         (FE_UPWARD): Likewise.
6792         (FE_DOWNWARD): Likewise.
6793         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6794         (FE_DIVBYZERO): Likewise.
6795         (FE_OVERFLOW): Likewise.
6796         (FE_UNDERFLOW): Likewise.
6797         (FE_INEXACT): Likewise.
6798         (FE_TONEAREST): Likewise.
6799         (FE_DOWNWARD): Likewise.
6800         (FE_UPWARD): Likewise.
6801         (FE_TOWARDZERO): Likewise.
6802
6803 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6804
6805         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6806
6807 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6808
6809         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6810         commands.  Quote $PWD.
6811         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6812         -x" by "export".
6813         (remove_newlines): Remove.
6814
6815 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6816
6817         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6818         * stdlib/stdlib.h (atof): Moved to ...
6819         * include/bits/stdlib-float.h: Here.  New file.
6820         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6821         * stdlib/bits/stdlib-float.h: New file.
6822         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6823         -mno-sse -mno-mmx.
6824         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6825         <xmmintrin.h>.
6826
6827 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6828
6829         * conform/conformtest.pl (@headers): Add fenv.h.
6830         * conform/data/fenv.h-data: New file.
6831         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6832         include of <math/fenv.h>.
6833
6834         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6835         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6836         && !UNIX98].  Enables tests for XOPEN2K8.
6837         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6838         POSIX2008]: Likewise.
6839
6840         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6841         (struct rusage): Do not expect type or its members.
6842
6843         [BZ #3439]
6844         * math/math.h (FP_NAN): Define macro to integer constant usable in
6845         #if and use that to give value to enum constant.
6846         (FP_INFINITE): Likewise.
6847         (FP_ZERO): Likewise.
6848         (FP_SUBNORMAL): Likewise.
6849         (FP_NORMAL): Likewise.
6850
6851 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6852
6853         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6854         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6855         arguments.
6856
6857 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6858
6859         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6860         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6861         autoconf-time if not.
6862         * configure.in: Remove AC_PREREQ.
6863
6864 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6865
6866         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6867         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6868         of the internal implementation.
6869
6870 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6871
6872         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6873         except include of <misc/sys/syslog.h>.
6874
6875 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6876
6877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6878         function returns with a NULL context exit with zero.
6879
6880 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6881
6882         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6883
6884 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6885
6886         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6887         (run_program_cmd): This.
6888         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6889         (tst_langinfo): New variable.  Use it.
6890
6891 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6892
6893         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6894         floating point opcodes.
6895
6896 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6897
6898         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6899         variable.
6900
6901         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6902
6903         * sysdeps/mach/hurd/powerpc: Remove directory.
6904         * sysdeps/mach/powerpc: Likewise.
6905
6906 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6907
6908         * scripts/check-local-headers.sh: Ignore c++ headers.
6909
6910 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6911
6912         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6913         __libc_cleanup_region_start argument.
6914
6915 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6916
6917         [BZ #14784]
6918         [BZ #14785]
6919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6920         x * y using scaling, not as x * y + z.
6921         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6923         * math/libm-test.inc (fma_test): Add more tests.
6924         (fma_test_towardzero): Likewise.
6925         (fma_test_downward): Likewise.
6926         (fma_test_upward): Likewise.
6927
6928 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6929
6930         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6931
6932 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6933
6934         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6935         New variable.
6936
6937 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6938
6939         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6940
6941 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6942
6943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6944         Fix sort order.
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6946         Likewise.
6947
6948 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6949
6950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6951         Fix the order of the list for glibc 2.17.
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6953         Likewise.
6954
6955 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6956
6957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6958
6959 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6960
6961         [BZ #14610]
6962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6963         for low part of x being zero before using __atanl (y).
6964         * math/libm-test.inc (atan2_test): Add another test.
6965
6966         * manual/install.texi (Configuring and compiling): Document
6967         general use of test-wrapper and test-wrapper-env.
6968         * INSTALL: Regenerated.
6969
6970         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6971         (__fma): Do not extract and scale down low bits on after-rounding
6972         systems when result rounded to normal precision would have normal
6973         exponent.
6974         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6975         (__fmal): Do not extract and scale down low bits on after-rounding
6976         systems when result rounded to normal precision would have normal
6977         exponent.
6978         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6979         (__fmal): Do not extract and scale down low bits on after-rounding
6980         systems when result rounded to normal precision would have normal
6981         exponent.
6982         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6983         macro.
6984         (fma_test): Add more tests.
6985         (fma_test_towardzero): Likewise.
6986         (fma_test_downward): Likewise.
6987         (fma_test_upward): Likewise.
6988
6989 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6990
6991         * sysdeps/i386/tininess.h: Renamed to ...
6992         * sysdeps/x86/tininess.h: This.
6993         * sysdeps/x86_64/tininess.h: Removed.
6994
6995 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6996
6997         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6998         input.  Use $(build-program-cmd).
6999         ($(objpfx)tst-array1-static.out): Likewise.
7000         ($(objpfx)tst-array2.out): Likewise.
7001         ($(objpfx)tst-array3.out): Likewise.
7002         ($(objpfx)tst-array4.out): Likewise.
7003         ($(objpfx)tst-array5.out): Likewise.
7004         ($(objpfx)tst-array5-static.out): Likewise.
7005
7006 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7007
7008         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7009         if defined.
7010
7011         * nss/nsswitch.h (nss_interface_function): Provide new
7012         macro for use with NSS functions.
7013         * grp/initgroups.c: Use new macro.
7014         * nss/getXXbyYY.c: Likewise.
7015         * nss/getXXbyYY_r.c: Likewise.
7016         * nss/getXXent.c: Likewise.
7017         * nss/getXXent_r.c: Likewise.
7018         * sysdeps/posix/getaddrinfo.c: Likewise.
7019
7020 2012-10-30  Andreas Jaeger  <aj@suse.de>
7021
7022         * po/ru.po: Update Russion translation from translation project.
7023
7024 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7025
7026         [BZ #14152]
7027         [BZ #14783]
7028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7029         result and shift together with sticky bit instead of replicating
7030         round-to-nearest rounding.
7031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7033         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7034         missing underflow exceptions.
7035         (fma_test_towardzero): Add more tests.
7036         (fma_test_downward): Likewise.
7037         (fma_test_upward): Likewise.
7038
7039         [BZ #14047]
7040         * sysdeps/generic/tininess.h: New file.
7041         * sysdeps/i386/tininess.h: Likewise.
7042         * sysdeps/sh/tininess.h: Likewise.
7043         * sysdeps/x86_64/tininess.h: Likewise.
7044         * stdlib/tst-strtod-underflow.c: Likewise.
7045         * stdlib/tst-tininess.c: Likewise.
7046         * stdlib/strtod_l.c: Include <tininess.h>.
7047         (round_and_return): Do not set errno for exact underflow cases.
7048         Force an underflow exception when setting errno for underflow.
7049         Determine underflow based on rounding to normal precision if
7050         TININESS_AFTER_ROUNDING.
7051         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7052         ERANGE for exact underflow cases.
7053         * stdlib/Makefile (tests): Add tst-tininess and
7054         tst-strtod-underflow.
7055         ($(objpfx)tst-tininess): Use $(link-libm).
7056         ($(objpfx)tst-strtod-underflow): Likewise.
7057
7058 2012-10-30  Andreas Jaeger  <aj@suse.de>
7059
7060         [BZ#14767]
7061         * elf/Makefile (tests): Remove conditional for have-initfini-array
7062         since this is now always required and the variable does not exist
7063         anymore.
7064         (tests-static): Likewise.
7065         (modules-names): Likewise.
7066
7067         * po/eo.po: Add Esperanto translation from translation project.
7068
7069         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7070         merged with constructor/destructor.
7071         (init_array): Likewise.
7072         * elf/tst-array2dep.c (fini_array): Likewise.
7073         (init_array): Likewise.
7074
7075 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7076
7077         * manual/message.texi: Delete @cartouche tags.
7078
7079 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7080
7081         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7082         EOPNOTSUPP.
7083         * sysdeps/mach/hurd/fsync.c: Likewise.
7084
7085         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7086         [_POSIX_REALTIME_SIGNALS]: Change condition to
7087         [_POSIX_REALTIME_SIGNALS > 0].
7088
7089 2012-10-27  Andreas Jaeger  <aj@suse.de>
7090
7091         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7092         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7094         [__WORDSIZE != 64]: Likewise.
7095
7096 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7097
7098         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7099         *  iconvdata/tst-tables.sh: Likewise.
7100
7101 2012-10-25  David S. Miller  <davem@davemloft.net>
7102
7103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7104         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7105         of strtoull.
7106
7107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7108         ifunc-impl-list.c
7109         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7110         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7111         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7112         file.
7113
7114 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7115
7116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7117         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7118         __getdirentries.
7119
7120 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7121             Jim Blandy  <jimb@codesourcery.com>
7122
7123         * scripts/cross-test-ssh.sh: New file.
7124         * manual/install.texi (Configuring and compiling): Document use of
7125         cross-test-ssh.sh.
7126         * INSTALL: Regenerated.
7127
7128 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7129
7130         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7131         EOPNOTSUPP.
7132
7133 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7134
7135         * Makeconfig (run-program-prefix): Fix comment.
7136
7137 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7138             Jim Blandy  <jimb@codesourcery.com>
7139
7140         * Makeconfig (test-wrapper): New variable,
7141         (test-wrapper-env): Likewise.
7142         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7143         (run-built-tests): Define to yes.
7144         (run-program-prefix): Use $(test-wrapper).
7145         (built-program-cmd): Likewise.
7146         * Rules (make-test-out): Use $(test-wrapper-env) and
7147         $(host-built-program-cmd).
7148         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7149         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7150         tst-pathopt.sh.
7151         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7152         $(test-wrapper-env) to tst-rtld-load-self.sh.
7153         ($(objpfx)order2.out): Use $(test-wrapper).
7154         ($(objpfx)tst-initorder.out): Likewise.
7155         ($(objpfx)tst-initorder2.out): Likewise.
7156         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7157         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7158         (test_wrapper_env): New variable.  Use it to run ld.so.
7159         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7160         Use it to run ld.so.
7161         (test_wrapper_env): Likewise.
7162         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7163         $(test-wrapper) to run-iconv-test.sh.
7164         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7165         (ICONV): Use $test_wrapper.
7166         * posix/Makefile ($(objpfx)globtest.out): Pass
7167         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7168         globtest.sh, not $(run-program-prefix).
7169         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7170         (test_wrapper): Likewise.
7171         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7172         set together with run_via_rtld_prefix.
7173         (run_program_prefix): Define in terms of test_wrapper and
7174         run_via_rtld_prefix.
7175
7176 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7177
7178         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7179         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7180         Targets removed.
7181
7182         [BZ #14743]
7183         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7184         Declare __clock_getres, __clock_gettime, __clock_settime,
7185         __clock_nanosleep, and __clock_getcpuclockid.
7186         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7187         Remove librt_hidden_def (clock_gettime).
7188         * sysdeps/unix/clock_gettime.c: Likewise.
7189         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7190         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7191         * rt/clock_getres.c: Define __clock_getres as an alias.
7192         * sysdeps/posix/clock_getres.c: Likewise.
7193         * rt/clock_settime.c: Define __clock_settime as an alias.
7194         * sysdeps/unix/clock_settime.c: Likewise.
7195         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7196         * sysdeps/unix/clock_nanosleep.c: Likewise.
7197         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7198         * rt/clock-compat.c: New file.
7199         * rt/Makefile (librt-routines): Add clock-compat and move
7200         $(clock-routines) to ...
7201         (routines): ... here, new variable.
7202         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7203         Don't add get_clockfreq here.
7204         * rt/Versions (libc: GLIBC_2.17): New version set.
7205         Add clock_* symbols here.
7206         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7207         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7208         (GLIBC_2.17): Add clock_* symbols.
7209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7220         * NEWS: Mention the move.
7221
7222         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7223         Use __open, __read, __close rather than their public counterparts.
7224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7225         (__get_clockfreq_via_cpuinfo): Likewise.
7226         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7227         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7228
7229         * config.h.in (HAVE_IFUNC): New #undef.
7230         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7231         was successful.
7232         * configure: Regenerated.
7233
7234 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7235
7236         * configure.in: Move READELF check to start of file.
7237         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7238         libc_cv_asm_gnu_indirect_function in the process.
7239         * configure: Regenerated.
7240
7241 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7242
7243         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7244         send the output to /dev/null.
7245         (libc_cv_cc_with_libunwind): Likewise.
7246         (libc_cv_as_noexecstack): Likewise.
7247         * configure: Regenerate.
7248
7249 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7250
7251         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7252
7253         * posix/globtest.sh (TMPDIR): Do not set.
7254         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7255         (testout): Likewise.
7256
7257 2012-10-24  Andreas Jaeger  <aj@suse.de>
7258
7259         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7260         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7261         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7262         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7263         posix_fadvise64, posix_fallocate64.
7264
7265         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7266         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7267         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7268         Likewise.
7269         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7270         Likewise.
7271         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7272
7273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7274         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7275         <bits/fcntl-linux.h>.
7276         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7277
7278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7279         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7280         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7281         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7282         [__WORDSIZE != 64]: Likewise.
7283
7284 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7285
7286         * Makeconfig (run-built-tests): New variable.
7287         * Rules [$(cross-compiling) = yes]: Change condition to
7288         [$(run-built-tests) = no].
7289         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7290         to [$(run-built-tests) = yes].
7291         * elf/Makefile [$(cross-compiling) = no]: Likewise
7292         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7293         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7294         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7295         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7296         * io/Makefile [$(cross-compiling) = no]: Likewise.
7297         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7298         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7299         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7300         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7301         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7302         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7303         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7304         * string/Makefile [$(cross-compiling) = no]: Likewise.
7305
7306         * posix/Makefile ($(objpfx)globtest.out): Pass
7307         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7308         $(rtld-installed-name).
7309         * posix/globtest.sh (elf_objpfx): Remove variable.
7310         (rtld_installed_name): Likewise.
7311         (library_path): Likewise.
7312         (run_program_prefix): New variable.  Use for running globtest
7313         binary.
7314
7315 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7316             Joseph Myers  <joseph@codesourcery.com>
7317
7318         * Makeconfig (host-built-program-cmd): New variable.
7319         * elf/Makefile (tst-stackguard1-ARGS): Use
7320         $(host-built-program-cmd).
7321         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7322         (tst-spawn-ARGS): Likewise.
7323         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7324
7325 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7326             Jim Blandy  <jimb@codesourcery.com>
7327
7328         * Makeconfig (run-via-rtld-prefix): New variable.
7329         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7330         (built-program-cmd): Likewise.
7331
7332 2012-10-22  Andreas Jaeger  <aj@suse.de>
7333
7334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7335         __O_RSYNC if it exists, otherwise to O_SYNC.
7336
7337 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7338             Joseph Myers  <joseph@codesourcery.com>
7339
7340         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7341         /dev/null.
7342         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7343         from /dev/null
7344         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7345         /dev/null.
7346
7347 2012-10-22  Andreas Jaeger  <aj@suse.de>
7348
7349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7350         Define always.
7351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7352
7353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7354         bits/fcntl-linux.h.
7355
7356         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7357         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7358
7359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7360         to __O_LARGEFILE.
7361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7362         to __O_LARGEFILE.
7363
7364 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7365             Joseph Myers  <joseph@codesourcery.com>
7366
7367         * config.make.in (NM): New variable.
7368
7369 2012-10-21  Andreas Jaeger  <aj@suse.de>
7370
7371         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7372         definitions and declarations that are provided by
7373         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7374
7375 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7376
7377         [BZ #14683]
7378         * elf/Makefile (tests-static): Add tst-leaks1-static.
7379         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7380         ($(objpfx)tst-leaks1-static): New rule.
7381         ($(objpfx)tst-leaks1-static-mem): Likewise.
7382         (tst-leaks1-static-ENV): New macro.
7383         * elf/dl-open.c (dl_open_worker): Check the main application
7384         only if SHARED is defined.
7385         * elf/tst-leaks1-static.c: New file.
7386
7387 2012-10-20  Andreas Jaeger  <aj@suse.de>
7388
7389         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7390         generic values for Linux.
7391         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7392         and declarations that are provided by <bits/fcntl-linux.h> and
7393         include <bits/fcntl-linux.h>.
7394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7395         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7396
7397 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7398
7399         * io/fcntl.h: Move include of <bits/types.h> to the top and
7400         include it unconditionally.
7401
7402 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7403
7404         * wcsmbs/Makefile (tests-ifunc): New variable.
7405         (tests): Add $(tests-ifunc).
7406         * wcsmbs/test-wcschr-ifunc.c: New file.
7407         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7408         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7409         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7410         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7411         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7412
7413         * string/Makefile (tests-ifunc): New variable.
7414         (tests): Add $(tests-ifunc).
7415         * string/test-memccpy.c (TEST_NAME): New macro.
7416         * string/test-memchr.c (TEST_NAME): Likewise.
7417         * string/test-memcmp.c (TEST_NAME): Likewise.
7418         * string/test-memcpy.c (TEST_NAME): Likewise.
7419         * string/test-memmem.c (TEST_NAME): Likewise.
7420         * string/test-memmove.c (TEST_NAME): Likewise.
7421         * string/test-memset.c (TEST_NAME): Likewise.
7422         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7423         * string/test-stpcpy.c (TEST_NAME): Likewise.
7424         * string/test-stpncpy.c (TEST_NAME): Likewise.
7425         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7426         * string/test-strcasestr.c (TEST_NAME): Likewise.
7427         * string/test-strcat.c (TEST_NAME): Likewise.
7428         * string/test-strchr.c (TEST_NAME): Likewise.
7429         * string/test-strcmp.c(TEST_NAME): Likewise.
7430         * string/test-strcpy.c (TEST_NAME): Likewise.
7431         * string/test-strcspn.c (TEST_NAME): Likewise.
7432         * string/test-strlen.c (TEST_NAME): Likewise.
7433         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7434         * string/test-strncmp.c (TEST_NAME): Likewise.
7435         * string/test-strncpy.c (TEST_NAME): Likewise.
7436         * string/test-strnlen.c (TEST_NAME): Likewise.
7437         * string/test-strpbrk.c (TEST_NAME): Likewise.
7438         * string/test-strrchr.c (TEST_NAME): Likewise.
7439         * string/test-strspn.c (TEST_NAME): Likewise.
7440         * string/test-strstr.c (TEST_NAME): Likewise.
7441         * string/test-bcopy-ifunc.c: New file.
7442         * string/test-bzero-ifunc.c: Likewise.
7443         * string/test-memccpy-ifunc.c: Likewise.
7444         * string/test-memchr-ifunc.c: Likewise.
7445         * string/test-memcmp-ifunc.c: Likewise.
7446         * string/test-memcpy-ifunc.c: Likewise.
7447         * string/test-memmem-ifunc.c: Likewise.
7448         * string/test-memmove-ifunc.c: Likewise.
7449         * string/test-mempcpy-ifunc.c: Likewise.
7450         * string/test-memset-ifunc.c: Likewise.
7451         * string/test-rawmemchr-ifunc.c: Likewise.
7452         * string/test-stpcpy-ifunc.c: Likewise.
7453         * string/test-stpncpy-ifunc.c: Likewise.
7454         * string/test-strcasecmp-ifunc.c: Likewise.
7455         * string/test-strcasestr-ifunc.c: Likewise.
7456         * string/test-strcat-ifunc.c: Likewise.
7457         * string/test-strchr-ifunc.c: Likewise.
7458         * string/test-strchrnul-ifunc.c: Likewise.
7459         * string/test-strcmp-ifunc.c: Likewise.
7460         * string/test-strcpy-ifunc.c: Likewise.
7461         * string/test-strcspn-ifunc.c: Likewise.
7462         * string/test-strlen-ifunc.c: Likewise.
7463         * string/test-strncasecmp-ifunc.c: Likewise.
7464         * string/test-strncat-ifunc.c: Likewise.
7465         * string/test-strncmp-ifunc.c: Likewise.
7466         * string/test-strncpy-ifunc.c: Likewise.
7467         * string/test-strnlen-ifunc.c: Likewise.
7468         * string/test-strpbrk-ifunc.c: Likewise.
7469         * string/test-strrchr-ifunc.c: Likewise.
7470         * string/test-strspn-ifunc.c: Likewise.
7471         * string/test-strstr-ifunc.c: Likewise.
7472
7473         * debug/Makefile (tests-ifunc): New variable.
7474         (tests): Add $(tests-ifunc).
7475         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7476         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7477         * debug/test-stpcpy_chk-ifunc.c: New file.
7478         * debug/test-strcpy_chk-ifunc.c: Likewise.
7479
7480 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7481
7482         [BZ #13601]
7483         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7484         header is not read in.
7485
7486 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7487
7488         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7489         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7490         directly.  Pass built executable to script as
7491         $(built-program-cmd).
7492         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7493         $testprogram without using LD_LIBRARY_PATH and $ldso.
7494
7495         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7496         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7497         $(rtld-installed-name).
7498         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7499         (rtld_installed_name): Likewise.
7500         (library_path): Likewise.
7501         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7502         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7503         $(run-program-prefix) to tst-tables.sh.
7504         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7505         it to run tst-table-from and tst-table-to.
7506         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7507         Pass it to tst-table.sh.
7508         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7509         $(run-program-prefix) to tst-gettext.sh.
7510         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7511         tst-translit.sh.
7512         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7513         tst-gettext2.sh.
7514         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7515         to run tst-gettext.
7516         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7517         to run tst-gettext2.
7518         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7519         to run tst-translit.
7520         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7521         $(run-program-prefix) to tst-mtrace.sh.
7522         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7523         to run tst-mtrace.
7524         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7525         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7526         $(rtld-installed-name).
7527         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7528         (rtld_installed_name): Likewise.
7529         (run_program_prefix): New variable.  Use it to run wordexp-test.
7530
7531         * Makeconfig (ARCH): Remove all definitions.
7532         (machine): Likewise.
7533         [ARCH]: Remove conditional code.
7534         [!objdir]: Give error.
7535         [!objdir] (objpfx): Remove.
7536         [!objdir] (common-objpfx): Likewise.
7537         [!objdir] (common-objdir): Likewise.
7538         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7539         AC_CONFIG_FILES call.
7540         * configure: Regenerated.
7541
7542         [BZ #13888]
7543         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7544         or TMPDIR.
7545         (testout): Likewise.
7546
7547         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7548         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7549         $(rtld-installed-name).
7550         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7551         (rtld_installed_name): Likwise.
7552         (runit): Remove function.
7553         (run_getconf): New variable,  Use it for running getconf binary.
7554
7555 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7556
7557         [BZ #14716]
7558         * string/test-memmem.c (check_result): New function.
7559         (do_one_test): Use it.
7560         (check1): New function.
7561         (test_main): Use it.
7562
7563 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7564
7565         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7566
7567 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7568
7569         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7570         (_G_LSEEK64): Likewise.
7571         (_G_MMAP64): Likewise.
7572         (_G_FSTAT64): Likewise.
7573         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7574         (_G_LSEEK64): Likewise.
7575         (_G_MMAP64): Likewise.
7576         (_G_FSTAT64): Likewise.
7577         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7578         unconditional.  Call __mmap64 directly.
7579         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7580         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7581         __lseek64 directly.
7582         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7583         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7584         __mmap64 directly.
7585         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7586         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7587         __lseek64 directly.
7588         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7589         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7590         __lseek64 directly.
7591         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7592         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7593         __lseek64 directly.
7594         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7595         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7596         __fxstat64 directly.
7597         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7598         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7599         unconditional.
7600         (freopen64) [!_G_OPEN64]: Remove conditional code.
7601         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7602         unconditional.
7603         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7604         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7605         unconditional.
7606         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7607         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7608         unconditional.
7609         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7610         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7611         unconditional.
7612         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7613         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7614         unconditional.
7615         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7616         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7617         unconditional.
7618         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7619         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7620         unconditional.
7621         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7622
7623 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7624
7625         [BZ #12140]
7626         * manual/memory.texi (Malloc Tunable Parameters): Add note
7627         about free list pointers overwriting some perturb bytes.
7628         Wording suggested by Roland McGrath.
7629
7630 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7631
7632         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7633         (lgamma_test): Likewise.
7634         (tgamma_test): Likewise.
7635
7636 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7637
7638         [BZ #14700]
7639         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7640         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7641
7642 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7643
7644         * NEWS: Mention BZ #14716.
7645         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7646         when removing AVAILABLE1_USES_J macro.
7647
7648 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7649
7650         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7651         (__bswap_64): __uint64_t for unsigned 64-bit int.
7652
7653 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7654
7655         * include/string.h (memmem): Declare libc hidden alias.
7656         * string/memmem.c (memmem): Define libc hidden alias.
7657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7658         __read, __close instead of open, read, close.
7659
7660 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7661
7662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7663         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7664         global and hidden.
7665         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7666         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7667         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7668         Likewise.
7669         (__rawmemchr_sse2): Likewise.
7670         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7671         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7672         (__strchr_sse2): Likewise.
7673         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7674         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7675         (__strcasecmp_sse2): Likewise.
7676         (__strncasecmp_sse2): Likewise.
7677         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7678         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7679         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7680         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7681         (__strrchr_sse2): Likewise.
7682         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7683         ifunc-impl-list.c.
7684         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7685         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7686         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7687         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7688         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7689         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7690         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7691         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7692         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7693         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7694         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7695         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7696         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7697         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7698         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7699         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7700         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7701         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7702         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7703         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7704         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7705         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7706         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7707         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7708         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7709         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7710         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7711         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7712         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7713         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7714
7715         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7716         global and hidden.
7717         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7718         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7719         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7720         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7721         Likewise.
7722         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7723         Likewise.
7724         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7725         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7726         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7727         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7728         ifunc-impl-list.c.
7729         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7730         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7731         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7732         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7733         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7734         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7735         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7736         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7737         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7738         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7739         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7740         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7741         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7742         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7743         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7744         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7745         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7746         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7747         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7748         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7749         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7750         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7751         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7752         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7753         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7754         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7755         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7756         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7757         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7758         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7759         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7760         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7761         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7762         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7763         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7764         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7765         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7766         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7767         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7768         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7769         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7770
7771         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7772         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7773         * include/ifunc-impl-list.h: New file.
7774         * misc/ifunc-impl-list.c: Likewise.
7775         * misc/Makefile (routines): Add ifunc-impl-list.
7776         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7777         * string/test-string.h: Include <ifunc-impl-list.h>.
7778         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7779         impl_array): New variables.
7780         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7781         are defined.
7782         (test_init): Call __libc_ifunc_impl_list to initialize
7783         func_list if TEST_IFUNC and TEST_NAME are defined.
7784
7785         * string/Makefile (strop-tests): Add bcopy and bzero.
7786         * string/test-bcopy.c: New file.
7787         * string/test-bzero.c: Likewise.
7788         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7789         defined.
7790         * string/test-memset.c: Support bzero test if TEST_BZERO is
7791         defined.
7792         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7793         __libc_memmove.
7794         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7795         __libc_memset.
7796         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7797         of memset.
7798
7799 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7800
7801         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7802         * configure: Regenerated.
7803
7804         * Makeconfig (+link-static-before-libc): Don't include
7805         $(link-static-libc).
7806
7807         * libio/libio.h (_IO_pos_t): Remove.
7808
7809 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7810
7811         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7812         McGrath.
7813
7814 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7815
7816         * crypt/crypt-entry.c: Include fips-private.h.
7817         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7818         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7819         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7820         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7821
7822 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7823
7824         * crypt/crypt-private.h: Include stdbool.h.
7825         (_ufc_setup_salt_r): Return bool.
7826         * crypt/crypt-entry.c: Include errno.h.
7827         (__crypt_r): Return NULL with EINVAL for bad salt.
7828         * crypt/crypt_util.c (bad_for_salt): New.
7829         (_ufc_setup_salt_r): Check that salt is long enough and within
7830         the specified alphabet.
7831         * crypt/badsalttest.c: New file.
7832         * crypt/Makefile (tests): Add it.
7833         ($(objpfx)badsalttest): New.
7834
7835 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7836
7837         * NEWS: Add entry for BZ #14602.
7838
7839 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7840
7841         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7842         type-generic.
7843         * math/libm-test.inc: Update comment listing what functions and
7844         macros are tested.
7845         (isgreater_test): New function.
7846         (isgreaterequal_test): Likewise.
7847         (isless_test): Likewise.
7848         (islessequal_test): Likewise.
7849         (islessgreater_test): Likewise.
7850         (isunordered_test): Likewise.
7851         (main): Call the new functions.
7852
7853 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7854
7855         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7856         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7857         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7858         * sysdeps/i386/configure: Regenerated.
7859         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7860         * sysdeps/mach/configure: Regenerated.
7861         * sysdeps/mach/hurd/configure: Regenerated.
7862         * sysdeps/powerpc/configure: Regenerated.
7863         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7864         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7865         * sysdeps/s390/s390-32/configure: Regenerated.
7866         * sysdeps/s390/s390-64/configure: Regenerated.
7867         * sysdeps/sh/configure: Regenerated.
7868         * sysdeps/sparc/configure: Regenerated.
7869         * sysdeps/unix/sysv/linux/configure: Regenerated.
7870         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7871         * sysdeps/x86_64/configure: Regenerated.
7872
7873         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7874         defined.  Don't check if MAP is NULL.
7875
7876 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7877
7878         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7879         (_G_stat64): Likewise.
7880         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7881         (_G_stat64): Likewise.
7882         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7883         instead of struct _G_stat64.
7884         * libio/fileops.c (mmap_remap_check): Likewise.
7885         (decide_maybe_mmap): Likewise.
7886         (_IO_new_file_seekoff): Likewise.
7887         (_IO_file_stat): Likewise.
7888         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7889         _G_off64_t.
7890         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7891         instead of struct _G_stat64.
7892         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7893
7894 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7895
7896         [BZ #14602]
7897         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7898         Replace with ...
7899         (CHECK_EOL): New macro.
7900         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7901         CHECK_EOL.
7902         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7903         Replace with CHECK_EOL.
7904         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7905         Replace with CHECK_EOL.
7906
7907 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7908
7909         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7910         type-generic.
7911         * math/libm-test.inc: Update comment listing what functions and
7912         macros are tested.
7913         (finite_test): New function.
7914         (isinf_test): Likewise.
7915         (isnan_test): Likewise.
7916         (fpclassify_test): Test subnormal input.
7917         (isfinite_test): Likewise.
7918         (isnormal_test): Likewise.
7919         (main): Call the new functions.
7920
7921 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7922
7923         [BZ #14660]
7924         * Makerules (%.dynsym): Force C locale when running
7925         $(OBJDUMP) --dynamic-syms.
7926
7927 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7928
7929         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7930         <stdint.h>.
7931
7932 2012-10-06  David S. Miller  <davem@davemloft.net>
7933
7934         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7935         upper 32-bits of the length value in %o2 since we use branch-on-register
7936         tests which consider the entire 64-bit register.
7937
7938 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7939
7940         * string/test-strstr.c (check2): Add a test for page boundary.
7941
7942 2012-10-05  David S. Miller  <davem@davemloft.net>
7943
7944         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7945         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7946         file.
7947         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7948         sysdep_routines.
7949         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7950         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7951         and bzero when HWCAP_SPARC_CRYPTO is present.
7952
7953 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7954
7955         [BZ #14602]
7956         * string/test-strstr.c (check2): New function.
7957         (test_main): Call check2.
7958
7959         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7960         and bug-strchr1.
7961         * string/bug-strcasestr1.c (do_test): Moved to ...
7962         * string/test-strcasestr.c (check1): Here.  New function.
7963         (do_one_test): Break out result checking code into ...
7964         (check_result): This.  New function.
7965         (do_one_test): Call check_result.
7966         (test_main): Call check1.
7967         * string/bug-strchr1.c (do_test): Moved to ...
7968         * string/test-strchr.c (check1): Here.  New function.
7969         (do_one_test): Break out result checking code into ...
7970         (check_result): This.  New function.
7971         (do_one_test): Call check_result.
7972         (test_main): Call check1.
7973         * string/bug-strstr1.c (main): Moved to ...
7974         * string/test-strstr.c (check1): Here.  New function.
7975         (do_one_test): Break out result checking code into ...
7976         (check_result): This.  New function.
7977         (do_one_test): Call check_result.
7978         (test_main): Call check1.
7979         * string/bug-strcasestr1.c: Removed.
7980         * string/bug-strchr1.c: Likewise.
7981         * string/bug-strstr1.c: Likewise.
7982
7983         * elf/Makefile (dl-routines): Add hwcaps.
7984         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7985         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7986         (_dl_important_hwcaps): Moved to ...
7987         * elf/dl-hwcaps.c: Here.  New file.
7988         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7989
7990         [BZ #14557]
7991         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7992         if IS_IN_rtld isn't defined.
7993
7994         * elf/dl-support.c (_dl_sysinfo_map): New.
7995         Include "get-dynamic-info.h" and "setup-vdso.h".
7996         (_dl_non_dynamic_init): Call setup_vdso.
7997         * elf/dynamic-link.h: Don't include <assert.h>.
7998         (elf_get_dynamic_info): Moved to ...
7999         * elf/get-dynamic-info.h: Here.  New file.
8000         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8001         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8002         * elf/setup-vdso.h: Here.  New file.
8003         * elf/rtld.c: Include "setup-vdso.h".
8004         (dl_main): Call setup_vdso.
8005
8006 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8007
8008         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8009         creal in comment listing functions tested.  List finite, isinf,
8010         isnan, isless, islessequal, isgreater, isgreaterequal,
8011         islessgreater, isunordered, lgamma_r and pow10 as functions and
8012         macros not tested.  Mention which functions not tested are aliases
8013         for other functions.  Fix typo.  Note that signs of NaNs are not
8014         tested.
8015
8016         * scripts/config.guess: Update from config.git.
8017         * scripts/config.sub: Likewise.
8018
8019 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8020
8021         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8022         * misc/madvise.c (madvise): Renamed to __madvise.
8023         Make madvise a weak alias.
8024         * include/sys/mman.h: Declare __madvise.
8025         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8026         * sysdeps/unix/syscalls.list
8027         (madvise): Make __madvise the strong name, and madvise a weak alias.
8028         * sysdeps/unix/sysv/linux/syscalls.list
8029         (madvise, mmap): Remove redundant entries.
8030         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8031         * malloc/malloc.c (mtrim): Likewise.
8032         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8033
8034 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8035
8036         * sysdeps/mach/hurd/dl-cache.c: File removed.
8037         * config.h.in (USE_LDCONFIG): New #undef.
8038         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8039         * configure: Regenerated.
8040         * elf/Makefile (dl-routines): Add dl-cache only under
8041         [$(use-ldconfig) = yes].
8042         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8043         cache on [USE_LDCONFIG].
8044         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8045         [USE_LDCONFIG].
8046         * elf/rtld.c (dl_main): Likewise.
8047
8048 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8049
8050         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8051         _SC_LEVEL4_CACHE_LINESIZE.
8052
8053 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8054
8055         * sysdeps/unix/bsd/confstr.h: File removed.
8056
8057 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8058
8059         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8060         sys/sdt-config.h.
8061
8062 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8063
8064         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8065         Make 'mapoff' field ElfW(Off) rather than off_t.
8066
8067 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8068
8069         * nscd/Makefile: Remove nscd-cflags and all its users.
8070         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8071         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8072
8073         [BZ #10631]
8074         * malloc.c (malloc_printerr): Clarify error message.
8075
8076 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8077
8078         [BZ #14648]
8079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8080         Set bit_FMA_Usable if FMA is supported.
8081         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8082         macro.
8083         (bit_FMA4_Usable): Updated.
8084         (index_FMA_Usable): New macro.
8085         (CPUID_FMA): Likewise
8086         (HAS_FMA): Defined with bit_FMA_Usable.
8087
8088 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8089
8090         * bits/types.h (__swblk_t): Type removed.
8091         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8092         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8093         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8094         (__SWBLK_T_TYPE): Likewise.
8095         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8096         (__SWBLK_T_TYPE): Likewise.
8097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8098         (__SWBLK_T_TYPE): Likewise.
8099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8100         (__SWBLK_T_TYPE): Likewise.
8101
8102 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8103             Honza Horak <hhorak@redhat.com>
8104
8105         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8106         (xdr_mapname): Use YPMAXMAP as maxsize.
8107         (xdr_peername): Use YPMAXPEER as maxsize.
8108         (xdr_keydat): Use YPAXRECORD as maxsize.
8109         (xdr_valdat): Use YPMAXRECORD as maxsize.
8110
8111 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8112
8113         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8114
8115         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8116         * csu/init-first.c: ... here.
8117         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8118         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8119         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8120         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8121         * sysdeps/i386/init-first.c: File removed.
8122         * sysdeps/sh/init-first.c: File removed.
8123
8124 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8125
8126         [BZ #14645]
8127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8128         if x * y might underflow to zero and z is zero.
8129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8131         * math/libm-test.inc (min_subnorm_value): New variable.
8132         (fma_test): Add more tests.
8133         (fma_test_towardzero): Likewise.
8134         (fma_test_downward): Likewise
8135         (fma_test_upward): Likewise.
8136         (initialize): Set min_subnorm_value.
8137
8138 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8139
8140         [BZ #14638]
8141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8142         0 + 0.
8143         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8144         mode for addition resulting in exact zero.
8145         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8147         exact 0 + 0.
8148         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8150         * math/libm-test.inc (fma_test): Add more tests.
8151         (fma_test_towardzero): New function.
8152         (fma_test_downward): Likewise.
8153         (fma_test_upward): Likewise.
8154         (main): Call the new functions.
8155
8156 2012-09-28  David S. Miller  <davem@davemloft.net>
8157
8158         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8159
8160 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8161
8162         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8163         instead of SIGALRM.
8164
8165         * sysdeps/gnu/_G_config.h: Moved to ...
8166         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8167         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8168         * sysdeps/generic/_G_config.h: ... here.
8169
8170         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8171
8172         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8173
8174         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8175         Conditionalize target on [libnss_test1.so-version].
8176
8177         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8178
8179         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8180         (elfobjdir): Move out of conditionals.
8181
8182         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8183         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8184         (__nss_lookup_function): Conditionalize label remove_from_tree on
8185         [!DO_STATIC_NSS || SHARED], matching its only use.
8186
8187 2012-09-28  David S. Miller  <davem@davemloft.net>
8188
8189         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8190         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8191         file.
8192         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8193         sysdep_routines.
8194         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8196         when HWCAP_SPARC_CRYPTO is present.
8197
8198 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8199
8200         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8201
8202 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8203
8204         [BZ #6530]
8205         * stdio-common/vfprintf.c (process_string_arg): Revert
8206         2000-07-22 change.
8207
8208 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8209
8210         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8211         for testcase.
8212         * stdio-common/tst-sprintf.c: Include <locale.h>
8213         (main): Test sprintf's handling of incomplete multibyte
8214         characters.
8215
8216 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8217
8218         * elf/dl-runtime.c (VERSYMIDX): Removed.
8219         * elf/dl-version.c (VERSYMIDX): Likewise.
8220         * elf/do-rel.h (VERSYMIDX): Likewise.
8221         (VALIDX): Likewise.
8222         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8223         * elf/rtld.c (VALIDX): Likewise.
8224         (ADDRIDX): Likewise.
8225         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8226         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8227         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8228         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8229         (VALIDX): Likewise.
8230         (ADDRIDX): Likewise.
8231
8232 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8233
8234         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8235
8236 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8237
8238         [BZ #11438]
8239         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8240         to global scope.
8241         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8242         addresses are in the same scope as 192.0.2/24.
8243         * posix/gai.conf: Document new scope table defaults.
8244
8245 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8246
8247         [BZ #5298]
8248         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8249         for ftell.  Compute offsets from write pointers instead.
8250         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8251
8252 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8253
8254         [BZ #14543]
8255         * libio/Makefile (tests): New test case tst-fseek.
8256         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8257         combination works in wide mode.
8258         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8259         state when the external buffer state changes.
8260
8261 2012-09-27  David S. Miller  <davem@davemloft.net>
8262
8263         [BZ #14376]
8264         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8265         pass reloc->r_addend in as the 'high' argument to
8266         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8267
8268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8269
8270 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8271
8272         * rt/tst-aio2.c: Include <pthread.h>.
8273         * rt/tst-aio3.c: Likewise.
8274
8275 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8276
8277         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8278
8279 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8280
8281         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8282         contents on [SHARED].
8283
8284 2012-09-26  Marek Polacek  <polacek@redhat.com>
8285
8286         [BZ #14530]
8287         [BZ #13741]
8288         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8289         for C++ and GCC <4.3 as well as for non GCC compilers.
8290
8291 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8292
8293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8294
8295 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8296
8297         * Makefile.in (all, install): Declare with .PHONY.
8298         Reported by Michael Hope <michael.hope@linaro.org>.
8299
8300 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8301
8302         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8303         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8304         system header.
8305         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8306         Likewise.
8307         (sydep_routines): Add the new and the internal functions.
8308         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8309         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8311         (GLIBC_2.17): Add the new function.
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8313         (GLIBC_2.17): Likewise.
8314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8315         (GLIBC_2.17): Likewise.
8316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8317         (GLIBC_2.17): Likewise.
8318         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8319
8320 2012-09-25  Alan Modra  <amodra@gmail.com>
8321
8322         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8323         Add release barrier before setting once_control to say
8324         initialisation is done.  Add hints on lwarx.  Use macro in
8325         place of isync.
8326         (clear_once_control): Add release barrier.
8327
8328 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8329
8330         [BZ #13629]
8331         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8332         specially.
8333         * math/s_clog10.c (__clog10): Likewise.
8334         * math/s_clog10f.c (__clog10f): Likewise.
8335         * math/s_clog10l.c (__clog10l): Likewise.
8336         * math/s_clogf.c (__clogf): Likewise.
8337         * math/s_clogl.c (__clogl): Likewise.
8338         * math/Makefile (libm-calls): Add x2y2m1.
8339         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8340         (__x2y2m1): Likewise.
8341         (__x2y2m1l): Likewise.
8342         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8343         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8346         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8347         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8348         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8349         * sysdeps/i386/fpu/libm-test-ulps: Update.
8350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8351
8352         [BZ #14621]
8353         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8354         int as type of variable DEPTH.
8355         (glob): Use size_t instead of int as type of variables NEWCOUNT
8356         and OLD_PATHC.
8357
8358 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8359
8360         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8361         Add s_sincosf-sse2.
8362         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8363         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8364         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8365         macros for using routine as __sincosf_ia32.
8366         Use macro for function declaration and weak_alias.
8367         * sysdeps/i386/fpu/libm-test-ulps: Update.
8368
8369         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8371
8372         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8373         subnormal argument.
8374         * math/s_cexpf.c (__cexpf): Likewise.
8375         * math/s_csinf.c (__csinf): Likewise.
8376         * math/s_csinhf.c (__csinhf): Likewise.
8377         * math/s_ctanf.c (__ctanf): Likewise.
8378         * math/s_ctanhf.c (__ctanhf): Likewise.
8379         * math/s_ccosh.c (__ccoshf): Likewise.
8380         * math/s_cexp.c (__cexpl): Likewise.
8381         * math/s_csin.c (__csin): Likewise.
8382         * math/s_csinh.c (__csinh): Likewise.
8383         * math/s_ctan.c (__ctan): Likewise.
8384         * math/s_ctanh.c (ctanh): Likewise.
8385         * math/s_ccoshl.c (__ccoshl): Likewise.
8386         * math/s_cexpl.c (__cexpl): Likewise.
8387         * math/s_csinl.c (__csinl): Likewise.
8388         * math/s_csinhl.c (__csinhl): Likewise.
8389         * math/s_ctanl.c (__ctanl): Likewise.
8390         * math/s_ctanhl.c (__ctanhl): Likewise.
8391
8392 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8393
8394         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8395         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8396         (_IO_off_t): Define to __off_t, not _G_off_t.
8397         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8398         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8399         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8400         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8401         type of __dummy and __dummy2 fields.
8402         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8403         (_G_ssize_t): Likewise.
8404         (_G_off_t): Likewise.
8405         (_G_pid_t): Likewise.
8406         (_G_uid_t): Likewise.
8407         (_G_wchar_t): Likewise.
8408         (_G_wint_t): Likewise.
8409         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8410         (_G_ssize_t): Likewise.
8411         (_G_off_t): Likewise.
8412         (_G_pid_t): Likewise.
8413         (_G_uid_t): Likewise.
8414         (_G_wchar_t): Likewise.
8415         (_G_wint_t): Likewise.
8416         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8417         (_G_ssize_t): Likewise.
8418         (_G_off_t): Likewise.
8419         (_G_pid_t): Likewise.
8420         (_G_uid_t): Likewise.
8421         (_G_wchar_t): Likewise.
8422         (_G_wint_t): Likewise.
8423
8424 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8425
8426         * malloc/arena.c: Include malloc-sysdep.h.
8427         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8428         is sufficient to shrink the heap or an unmap is needed.
8429         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8430         new function check_may_shrink_heap.
8431         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8432         new function check_may_shrink_heap.
8433
8434 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8435
8436         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8437         comments.
8438
8439 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8440
8441         * catgets/test-gencat.sh: Add "set -e".
8442         * elf/tst-pathopt.sh: Likewise.
8443         * grp/tst_fgetgrent.sh: Likewise.
8444         * iconvdata/run-iconv-test.sh: Likewise.
8445         * intl/tst-gettext.sh: Likewise.
8446         * intl/tst-gettext2.sh: Likewise.
8447         * intl/tst-gettext4.sh: Likewise.
8448         * intl/tst-gettext6.sh: Likewise.
8449         * intl/tst-translit.sh: Likewise.
8450         * io/ftwtest-sh: Likewise.
8451         * libio/test-freopen.sh: Likewise.
8452         * malloc/tst-mtrace.sh: Likewise.
8453         * posix/globtest.sh: Likewise.
8454         * posix/tst-getconf.sh: Likewise.
8455         * posix/wordexp-tst.sh: Likewise.
8456         * stdio-common/tst-printf.sh: Likewise.
8457         * stdio-common/tst-unbputc.sh: Likewise.
8458         * stdlib/tst-fmtmsg.sh: Likewise.
8459         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8460         * catgets/Makefile: Do not specify -e option when running
8461         testsuite shell scripts.
8462         * elf/Makefile: Likewise.
8463         * grp/Makefile: Likewise.
8464         * iconvdata/Makefile: Likewise.
8465         * intl/Makefile: Likewise.
8466         * io/Makefile: Likewise.
8467         * libio/Makefile: Likewise.
8468         * malloc/Makefile: Likewise.
8469         * posix/Makefile: Likewise.
8470         * stdio-common/Makefile: Likewise.
8471         * stdlib/Makefile: Likewise.
8472         * sysdeps/x86_64/Makefile: Likewise.
8473
8474         * io/ftwtest-sh: Add copyright header.
8475         * posix/globtest.sh: Likewise.
8476         * posix/tst-getconf.sh: Likewise.
8477         * posix/wordexp-tst.sh: Likewise.
8478         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8479
8480 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8481
8482         [BZ #13679]
8483         * Makeconfig (+link): Defined as $(+link-static) if
8484         $(build-shared) isn't yes.
8485         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8486         isn't yes.
8487         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8488
8489         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8490
8491         [BZ #14562]
8492         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8493         new chunk size with MALLOC_ALIGN_MASK.
8494
8495 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8496
8497         [BZ #5044]
8498         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8499         <rounding-mode.h>.
8500         (__printf_fphex): Determine rounding using get_rounding_mode and
8501         round_away.
8502         * stdio-common/tst-printf-round.c (struct hex_test): New
8503         structure.
8504         (hex_tests): New variable.
8505         (test_hex_in_one_mode): New function.
8506         (do_test): Also run tests for hex float output.
8507
8508 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8509
8510         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8511         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8512         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8513         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8514         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8515         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8516         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8517         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8518
8519 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8520
8521         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8522         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8523         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8524         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8525
8526 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8527
8528         [BZ #14579]
8529         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8530         mode only.
8531         * elf/tst-rtld-load-self.sh: New test.
8532         * elf/Makefile: Run it.
8533
8534 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8535
8536         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8537         (tst-writev-ENV): Remove.
8538         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8539
8540 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8541
8542         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8543
8544 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8545
8546         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8547         unconditional.
8548         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8549         Likewise.
8550         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8551         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8552         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8553         Likewise.
8554
8555 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8556
8557         [BZ #14587]
8558         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8559         * config.make.in (have-cpp-asm-debuginfo): Removed.
8560         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8561         * configure: Regenerated.
8562
8563 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8564
8565         [BZ #5044]
8566         * stdio-common/printf_fp.c: Include <stdbool.h> and
8567         <rounding-mode.h>.
8568         (___printf_fp): Determine rounding using get_rounding_mode and
8569         round_away.
8570         * stdio-common/tst-printf-round.c: New file.
8571         * stdio-common/Makefile (tests): Add tst-printf-round.
8572         (link-libm): New variable.
8573         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8574
8575 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8576
8577         [BZ #14576]
8578         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8579         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8580         Likewise.
8581         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8582         Likewise.
8583
8584 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8585
8586         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8587         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8588         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8589         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8590
8591 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8592
8593         [BZ #14518]
8594         * include/rounding-mode.h: New file.
8595         * sysdeps/generic/get-rounding-mode.h: Likewise.
8596         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8597         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8598         (MAX_VALUE): New macro.
8599         (MIN_VALUE): Likewise.
8600         (overflow_value): New function.
8601         (underflow_value): Likewise.
8602         (round_and_return): Use overflow_value and underflow_value to
8603         determine return values in overflow and underflow cases.  Use
8604         round_away to determine rounding depending on rounding mode.
8605         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8606         determine return values in overflow and underflow cases.
8607         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8608         (struct test_results): New structure.
8609         (struct test): Use struct test_results to store expected results
8610         for all rounding modes.
8611         (TEST): Include expected results for all rounding modes.
8612         (test_in_one_mode): New function.
8613         (do_test): Use test_in_one_mode to compute and check results.
8614         Check results for all rounding modes.
8615         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8616         $(link-libm).
8617
8618 2012-12-09  Allan McRae  <allan@archlinux.org>
8619
8620         * sysdeps/i386/fpu/libm-test-ulps: Update
8621
8622 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8623
8624         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8625         (_G_int32_t): Likewise.
8626         (_G_uint16_t): Likewise.
8627         (_G_uint32_t): Likewise.
8628         (_G_HAVE_BOOL): Likewise.
8629         (_G_HAVE_ATEXIT): Likewise.
8630         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8631         (_G_HAVE_IO_FILE_OPEN): Likewise.
8632         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8633         (_G_int32_t): Likewise.
8634         (_G_uint16_t): Likewise.
8635         (_G_uint32_t): Likewise.
8636         (_G_HAVE_BOOL): Likewise.
8637         (_G_HAVE_ATEXIT): Likewise.
8638         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8639         (_G_HAVE_IO_FILE_OPEN): Likewise.
8640         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8641         (_G_int32_t): Likewise.
8642         (_G_uint16_t): Likewise.
8643         (_G_uint32_t): Likewise.
8644         (_G_HAVE_BOOL): Likewise.
8645         (_G_HAVE_ATEXIT): Likewise.
8646         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8647         (_G_HAVE_IO_FILE_OPEN): Likewise.
8648
8649 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8650
8651         * csu/libc-tls.c: Update copyright years.
8652
8653 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8654
8655         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8656         [!_G_USING_THUNKS]: Remove conditional code.
8657         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8658         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8659
8660         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8661         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8662         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8663         (_G_VTABLE_LABEL_PREFIX): Likewise.
8664         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8665         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8666         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8667         (_G_VTABLE_LABEL_PREFIX): Likewise.
8668         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8669         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8670         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8671         (_G_VTABLE_LABEL_PREFIX): Likewise.
8672         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8673
8674 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8675
8676         * libio/Makefile: Include ../Makeconfig before tests.
8677         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8678         only if $(build-shared) is yes.
8679
8680         * iconv/gconv_db.c: Update copyright years.
8681
8682 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8683
8684         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8685         unwind info if defined PIC. Fix special cases description.
8686         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8687
8688         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8689         DP_HI_MASK entry.
8690         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8691
8692 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8693
8694         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8695
8696         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8697         is NULL.
8698
8699         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8700         (LDLIBS-tst-chk4): This.
8701         (LDFLAGS-tst-chk5): Renamed to ...
8702         (LDLIBS-tst-chk5): This.
8703         (LDFLAGS-tst-chk6): Renamed to ...
8704         (LDLIBS-tst-chk6): This.
8705         (LDFLAGS-tst-lfschk4): Renamed to ...
8706         (LDLIBS-tst-lfschk4): This.
8707         (LDFLAGS-tst-lfschk5): Renamed to ...
8708         (LDLIBS-tst-lfschk5): This.
8709         (LDFLAGS-tst-lfschk6): Renamed to ...
8710         (LDLIBS-tst-lfschk6): This.
8711
8712         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8713         on $(common-objpfx)soversions.mk.
8714
8715 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8716
8717         [BZ #10014]
8718         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8719         example host name.
8720
8721 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8722
8723         * malloc/arena.c (arena_get_retry): New function that gets
8724         another arena for the caller to try its request on.
8725         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8726         current arena cannot fulfill the request.
8727         (__libc_memalign): Likewise.
8728         (__libc_memalign): Likewise.
8729         (__libc_pvalloc): Likewise.
8730         (__libc_calloc): Likewise.
8731
8732 2012-09-05  John Tobey  <john.tobey@gmail.com>
8733
8734         [BZ #13542]
8735         * manual/arith.texi (Operations on Complex): Fix description
8736         of carg branch cut.
8737
8738 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8739
8740         [BZ #10014]
8741         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8742         host name.
8743
8744         [BZ #10038]
8745         * manual/memory.texi (Memory): Make order of menu items match
8746         order of sections.
8747
8748 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8749
8750         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8751         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8752         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8753
8754 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8755
8756         * csu/libc-tls.c (static_dtv): Renamed to ...
8757         (_dl_static_dtv): This.  Make it global.
8758         (_dl_initial_dtv): Removed.
8759         (__libc_setup_tls): Updated.
8760         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8761         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8762         DL_INITIAL_DTV.
8763
8764 2012-09-06  Petr Machata  <pmachata@redhat.com>
8765
8766         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8767         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8768         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8769         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8770
8771 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8772
8773         [BZ #14545]
8774         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8775         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8776         freeing dtv[-1].
8777
8778 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8779
8780         [BZ #14544]
8781         * Makeconfig (link-static-before-libc): Replace $(+prector)
8782         with $(+prectorT).
8783         (link-static-after-libc): Replace $(+postctor) with
8784         $(+postctorT).
8785         (link-bounded): Replace $(+prector)/$(+postctor) with
8786         $(+prectorT)/$(+postctorT).
8787         (+prectorT): New macro.
8788         (+postctorT): Likewise.
8789
8790 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8791
8792         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8793         (round_str): Handle values above the maximum for IBM long double
8794         as inexact.
8795         * stdlib/tst-strtod-round.c (tests): Regenerated.
8796
8797 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8798
8799         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8800         assembler flag.
8801         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8802         zarch_nohighgprs around the zarch optimized routines.
8803         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8804         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8806         for zarch.
8807
8808 2012-09-05  David S. Miller  <davem@davemloft.net>
8809
8810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8811
8812         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8813         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8814         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8815         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8816         entries.
8817
8818 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8819
8820         * malloc/arena.c: Fold copyright years.
8821         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8822
8823 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8824
8825         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8826
8827 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8828
8829         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8830
8831 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8832
8833         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8834         change internal state upon failure.
8835
8836 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8837
8838         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8839         * malloc/memusage.c (mmap): Likewise.
8840         (mmap64, mremap): Likewise.  Adjust name in comment.
8841
8842 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8843
8844         * libio/fileops.c: Fix typos in comments.
8845         * libio/oldfileops.c: Likewise.
8846         * libio/wfileops.c: Likewise.
8847
8848 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8849
8850         [BZ #1349]
8851         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8852         (tst-malloc-usable-ENV): Set environment for test case.
8853         * malloc/hooks.c (malloc_check_get_size): New function to get
8854         requested size.
8855         * malloc/malloc.c (musable): Use malloc_check_get_size.
8856         * malloc/tst-malloc-usable.c: New test case.
8857
8858 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8859
8860         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8861
8862 2012-09-05  Allan McRae  <allan@archlinux.org>
8863
8864         [BZ #13966]
8865         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8866         determine header location.
8867         * configure: Regenerated.
8868
8869 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8870
8871         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8872         float format.
8873         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8874         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8875         format.
8876         (test): Regenerate.
8877
8878 2012-09-04  David S. Miller  <davem@davemloft.net>
8879
8880         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8881         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8883
8884 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8885
8886         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8887         failures.
8888
8889         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8890
8891 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8892
8893         [BZ #9914]
8894         * libio/iogetdelim.c: Include <limits.h>.
8895         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8896         + len + 1 would overflow.
8897
8898 2012-09-03  Andreas Jaeger  <aj@suse.de>
8899
8900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8901         * sysdeps/i386/fpu/libm-test-ulps: Update.
8902
8903 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8904
8905         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8906         Add s_sinf-sse2, s_conf-sse2.
8907
8908         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8909         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8910         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8911         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8912
8913         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8914         for using routine as __sinf_ia32.
8915         Use macro for function declaration and weak_alias.
8916         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8917         for using routine as __cosf_ia32.
8918         Use macro for function declaration and weak_alias.
8919
8920         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8921         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8922
8923         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8924         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8926
8927         * math/libm-test.inc (cos_test): Add more test cases.
8928         (sin_test): Likewise.
8929         (sincos_test): Likewise.
8930
8931 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8932
8933         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8934         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8935         hidden.
8936         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8937
8938 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8939
8940         [BZ #14538]
8941         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8942         first element of the GOT.
8943         (elf_machine_load_address): Return the difference between
8944         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8945
8946 2012-09-01  Allan McRae  <allan@archlinux.org>
8947
8948         [BZ #13412]
8949         * configure.in (AWK): Require gawk version 3.0 or later.
8950         * configure: Regenerated.
8951
8952 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8953
8954         * sysdeps/unix/sysv/linux/kernel-features.h
8955         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8956         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8957         [__NR_clock_getres]: Make code unconditional.
8958         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8959         (clock_getcpuclockid): Remove code left unreachable by removal of
8960         conditionals.
8961         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8962         code unconditional.
8963         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8964         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8965         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8966         Make code unconditional.
8967         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8968         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8969         * sysdeps/unix/sysv/linux/clock_settime.c
8970         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8971         conditional code.
8972         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8973         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8974
8975 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8976
8977         [BZ #14476]
8978         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8979         scripts/test-installation.pl.
8980
8981         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8982         and $ld_so_version if it is set.
8983
8984 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8985
8986         [BZ #14516]
8987         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8988         failure if reading from procfs failed.
8989         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8990
8991 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8992
8993         * sysdeps/unix/sysv/linux/kernel-features.h
8994         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8995         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8996         Remove conditional code.
8997         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8998         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8999         Remove conditional code.
9000         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9001         * sysdeps/unix/sysv/linux/i386/fxstat.c
9002         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9003         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9004         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9005         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9006         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9007         * sysdeps/unix/sysv/linux/i386/lxstat.c
9008         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9009         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9010         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9011         Remove conditional code.
9012         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9013         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9014         Remove conditional code.
9015         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9016         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9017         <kernel-features.h>.
9018         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9019         Remove.
9020         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9021         Remove conditional code.
9022         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9023         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9024         Remove conditional.
9025
9026 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9027
9028         [BZ #5400]
9029         * NEWS: Add fixed bug number.
9030
9031 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9032
9033         [BZ #14519]
9034         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9035         underflowing exponent in case of negative sign.
9036         * stdlib/tst-strtod-round-data: Add more tests.
9037         * stdlib/tst-strtod-round.c (tests): Regenerated.
9038
9039         [BZ #3479]
9040         * stdlib/strtod_l.c (NDIG): Remove.
9041         (HEXNDIG): Likewise.
9042         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9043         smallest representable value.
9044         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9045         lie within an exact representation of 1/2 ulp of the result.
9046         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9047         unconditionally.
9048         (TENS_P9_IDX): Define unconditionally.
9049         (TENS_P9_SIZE): Likewise.
9050         (TENS_P10_IDX): Likewise.
9051         (TENS_P10_SIZE): Likewise.
9052         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9053         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9054         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9055         entries for 10^2^13 and 10^2^14.
9056         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9057         (TENS_P13_IDX): Define.
9058         (TENS_P13_SIZE): Likewise.
9059         (TENS_P14_IDX): Likewise.
9060         (TENS_P14_SIZE): Likewise.
9061         (_fpioconst_pow10): Change array size to
9062         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9063         unconditional.
9064         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9065         1024]: Add entries for 10^2^13 and 10^2^14.
9066         [LAST_POW10 > _LAST_POW10]: Remove #error.
9067         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9068         (_fpioconst_pow10): Change array size to
9069         FPIOCONST_POW10_ARRAY_SIZE.
9070         * stdlib/gen-fpioconst.c: New file.
9071         * stdlib/gen-tst-strtod-round.c: Likewise.
9072         * stdlib/tst-strtod-round-data: Likewise.
9073         * stdlib/tst-strtod-round.c: Likewise.
9074         * stdlib/Makefile (tests): Add tst-strtod-round.
9075
9076         [BZ #14459]
9077         * stdlib/strtod_l.c: Include <stdint.h>.
9078         (NDEBUG): Do not define.
9079         (round_and_return): Change EXPONENT parameter to type intmax_t.
9080         Rearrange calculations to avoid internal overflow possibilities.
9081         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9082         Rearrange calculations to avoid internal overflow possibilities.
9083         Assert that number fits inside MPNSIZE limbs.
9084         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9085         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9086         calculations and add assertions to avoid internal overflow
9087         possibilities.  Add casts to avoid signed/unsigned operations.
9088         * stdlib/tst-strtod-overflow.c: New file.
9089         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9090
9091 2012-08-25  Marek Polacek  <polacek@redhat.com>
9092
9093         * time/time.h: Fix some typos in comments.
9094
9095 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9096
9097         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9098         * posix/tst-rfc3484-2.c: Likewise.
9099         * posix/tst-rfc3484-3.c: Likewise.
9100
9101 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9102
9103         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9104         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9105
9106 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9107
9108         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9109         #include of fxstatat64.c.
9110
9111 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9112
9113         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9114         * shadow/getspent_r.c: Likewise.
9115         * shadow/getspnam.c: Likewise.
9116         * shadow/getspnam_r.c: Likewise.
9117         * gshadow/getsgent.c: Likewise.
9118         * gshadow/getsgent_r.c: Likewise.
9119         * gshadow/getsgnam.c: Likewise.
9120         * gshadow/getsgnam_r.c: Likewise.
9121         * inet/getnetbyad.c: Likewise.
9122         * inet/getnetbyad_r.c: Likewise.
9123         * inet/getnetbynm.c: Likewise.
9124         * inet/getnetbynm_r.c: Likewise.
9125         * inet/getnetent.c: Likewise.
9126         * inet/getnetent_r.c: Likewise.
9127         * inet/getproto.c: Likewise.
9128         * inet/getproto_r.c: Likewise.
9129         * inet/getprtent.c: Likewise.
9130         * inet/getprtent_r.c: Likewise.
9131         * inet/getprtname.c: Likewise.
9132         * inet/getprtname_r.c: Likewise.
9133         * inet/getrpcbyname.c: Likewise.
9134         * inet/getrpcbyname_r.c: Likewise.
9135         * inet/getrpcbynumber.c: Likewise.
9136         * inet/getrpcbynumber_r.c: Likewise.
9137         * inet/getrpcent.c: Likewise.
9138         * inet/getrpcent_r.c: Likewise.
9139         * inet/getaliasent.c: Likewise.
9140         * inet/getaliasent_r.c: Likewise.
9141         * inet/getaliasname.c: Likewise.
9142         * inet/getaliasname_r.c: Likewise.
9143         * nscd/getgrgid_r.c: Likewise.
9144         * nscd/getgrnam_r.c: Likewise.
9145         * nscd/gethstbyad_r.c: Likewise.
9146         * nscd/gethstbynm3_r.c: Likewise.
9147         * nscd/getpwnam_r.c: Likewise.
9148         * nscd/getpwuid_r.c: Likewise.
9149         * nscd/getsrvbynm_r.c: Likewise.
9150         * nscd/getsrvbypt_r.c: Likewise.
9151         * nscd/gai.c: Likewise.
9152
9153         * configure.in (build_nscd): New substituted variable, set
9154         by --disable-build-nscd and defaults to $use_nscd.
9155         * configure: Regenerated.
9156         * config.make.in (build-nscd): New substituted variable.
9157         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9158         Change conditional to require [$(build-nscd) = yes] as well.
9159         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9160
9161         [BZ# 13696]
9162         * configure.in (use_nscd): New substituted variable, set by
9163         --disable-nscd.  If enabled, define USE_NSCD.
9164         * configure: Regenerated.
9165         * config.h.in: Add USE_NSCD.
9166         * config.make.in (use-nscd): New substituted variable.
9167         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9168         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9169         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9170         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9171         (CFLAGS-getgrnam_r.c): Likewise.
9172         (CFLAGS-initgroups.c): Likewise.
9173         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9174         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9175         Variables removed.
9176         * inet/getnetgrent_r.c
9177         (nscd_setnetgrent): New function, broken out of ...
9178         (setnetgrent): ... here.  Call it.
9179         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9180         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9181         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9182         * nscd/Makefile (routines, aux): Move definitions after include of
9183         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9184         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9185         Conditionalize on [USE_NSCD].
9186         (is_nscd, nscd_init_cb): Likewise.
9187         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9188         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9189         * nss/nss_db/db-init.c: Likewise.
9190         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9191         [USE_NSCD].
9192         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9193         (make_request): Use it.
9194         (cache_valid_p): New function.
9195         (__check_pf): Use it.
9196         * NEWS: Add item for --disable-nscd.
9197
9198 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9199
9200         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9201         to support sed >= 4.2.1-20-ga9bf076.
9202         * configure: Regenerated.
9203
9204 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9205
9206         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9207         Conditionalize whole body on [IREL].
9208
9209 2012-08-22  Jeff Law <law@redhat.com>
9210
9211         [BZ #14505]
9212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9213         if the family is PF_UNSPEC.
9214
9215 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9216
9217         * Makerules (lib-version): Rename from V.
9218         (install-lib-nosubdir): Change V to lib-version.
9219
9220 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9221
9222         [BZ #14252]
9223         * powerpc32/power6/wcschr.c: New file.
9224         * powerpc32/power6/wcscpy.c: New file.
9225         * powerpc32/power6/wcsrchr.c: New file.
9226         * powerpc64/power6/wcschr.c: New file.
9227         * powerpc64/power6/wcscpy.c: New file.
9228         * powerpc64/power6/wcsrchr.c: New file.
9229
9230 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9231
9232         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9233         (two_way_short_needle): Use it.
9234         * string/strstr.c (AVAILABLE1_USES_J): Define.
9235         * string/strcasestr.c: Likewise.
9236
9237         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9238         array references.
9239         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9240
9241         [BZ #11607]
9242         * NEWS: Add an entry.
9243         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9244         define their defaults.
9245         (two_way_short_needle): Detect end-of-string on-the-fly.
9246         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9247         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9248         * string/bug-strcasestr1.c: New test.
9249         * string/Makefile: Run it.
9250
9251 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9252
9253         [BZ #11607]
9254         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9255         the first character.
9256
9257 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9258
9259         * csu/elf-init.c (__libc_csu_irel): Function removed.
9260         * csu/libc-start.c (apply_irel): New function.
9261         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9262
9263 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9264
9265         * sysdeps/unix/sysv/linux/kernel-features.h
9266         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9267         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9268         <kernel-features.h>.
9269         [__NR_fadvise64_64]: Make code unconditional.
9270         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9271         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9272         !__NR_fadvise64_64)]: Likewise.
9273         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9274         !__NR_fadvise64_64))]: Likewise.
9275         [__NR_fadvise64]: Make code unconditional.
9276         [!__NR_fadvise64]: Remove conditional code.
9277         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9278         <kernel-features.h>.
9279         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9280         unconditional.
9281         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9282         conditional code.
9283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9284         not include <kernel-features.h>.
9285         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9286         unconditional.
9287         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9288         conditional code.
9289         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9290         include <kernel-features.h>.
9291         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9292         unconditional.
9293         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9294         conditional code.
9295
9296 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9297
9298         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9299         slight instruction rearrangements per scrollpipe analysis.
9300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9301
9302 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9303
9304         * manual/syslog.texi (syslog; vsyslog, closelog):
9305         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9306         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9307
9308         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9309         DSOCAPS to match condition on defining it.
9310
9311 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9312
9313         * sysdeps/unix/sysv/linux/kernel-features.h
9314         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9316         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9317         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9319         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9320         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9322         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9323         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9324
9325         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9326         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9327
9328         * sysdeps/unix/sysv/linux/kernel-features.h
9329         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9330         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9331         unconditional.
9332         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9333         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9334         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9335         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9336         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9337         Make code unconditional.
9338         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9339         (__mmap64) [!__NR_mmap2]: Likewise.
9340         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9341         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9342         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9343         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9344         [__NR_mmap2]: Make code unconditional.
9345         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9346         (__mmap64) [!__NR_mmap2]: Likewise.
9347
9348 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9349
9350         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9351
9352 2012-08-18  Andreas Jaeger  <aj@suse.de>
9353
9354         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9355
9356 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9357
9358         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9359         * include/unistd.h (__have_sock_cloexec): Likewise.
9360         (__have_pipe2): Likewise.
9361         (__have_dup3): Likewise.
9362
9363 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9364
9365         [BZ #9685]
9366         * include/unistd.h (__have_pipe2): Change define into an extern int.
9367         (__have_dup3): Likewise.
9368         * socket/have_sock_cloexec.c: Include fcntl.h.
9369         (__have_pipe2): New variable.
9370         (__have_dup3): Likewise.
9371
9372 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9373
9374         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9375
9376 2012-08-17  Marek Polacek  <polacek@redhat.com>
9377
9378         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9379         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9380
9381 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9382
9383         * configure.in: Add AC_SUBST for sysheaders.
9384         * configure: Regenerated.
9385         * config.make.in (sysheaders): New substituted variable.
9386
9387         * sysdeps/unix/mkfifo.c: Moved ...
9388         * sysdeps/posix/mkfifo.c: ... here.
9389         * sysdeps/unix/mkfifoat.c: Moved ...
9390         * sysdeps/posix/mkfifoat.c: ... here.
9391
9392         * sysdeps/unix/utime.c: Moved ...
9393         * sysdeps/posix/utime.c: ... here.
9394
9395         * sysdeps/unix/time.c: Moved ...
9396         * sysdeps/posix/time.c: ... here.
9397         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9398         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9399
9400         * sysdeps/unix/nice.c: Moved ...
9401         * sysdeps/posix/nice.c: ... here.
9402
9403         * sysdeps/unix/alarm.c: Moved ...
9404         * sysdeps/posix/alarm.c: ... here.
9405
9406         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9407
9408 2012-08-17  Jeff Law <law@redhat.com>
9409
9410         * intl/Makefile (codeset_mo): New variable.
9411         ($(codeset_mo)): New target.
9412         (tst-codeset.out): Depend on that.  Remove explicit rule.
9413         (tst-gettext3.out, tst-gettext5.out): Likewise.
9414         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9415         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9416         * intl/tst-codeset.sh: Remove.
9417         * intl/tst-gettext3.sh: Likewise.
9418         * intl/tst-gettext5.sh: Likewise.
9419
9420 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9421
9422         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9423         * sysdeps/unix/syscalls.list: ... here.
9424
9425         * sysdeps/posix/getaddrinfo.c
9426         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9427         (gaiconf_init, gaiconf_reload): Use them.
9428         [!_STATBUF_ST_NSEC]
9429         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9430         Define using time_t rather than struct timespec.
9431
9432         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9433         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9434         Macros removed.
9435         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9436         [!NO_THREADS].
9437         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9438         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9439         Likewise.
9440
9441         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9442         __libc_cleanup_push argument.
9443
9444         * bits/param.h: New file.
9445         * misc/sys/param.h: New file.
9446         * include/sys/param.h: New file.
9447         * misc/Makefile (headers): Add bits/param.h.
9448         * sysdeps/generic/sys/param.h: File removed.
9449         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9450         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9451         * sysdeps/mach/hurd/bits/param.h: New file.
9452         * sysdeps/mach/hurd/sys/param.h: File removed.
9453
9454         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9455         last change.
9456
9457         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9458         [_IO_MTSAFE_IO].
9459         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9460         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9461         New macros.
9462
9463         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9464         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9465         rather than -D_IO_MTSAFE_IO conditionally.
9466         * stdio-common/Makefile (CPPFLAGS): Likewise.
9467         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9468         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9469         Use $(libio-mtsafe).
9470         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9471         of -D_IO_MTSAFE_IO.
9472         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9473         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9474         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9475         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9476         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9477         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9478         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9479         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9480         (CFLAGS-fread_u_chk.c): Likewise.
9481         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9482         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9483         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9484         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9485         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9486         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9487         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9488         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9489         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9490
9491         * libio/Makefile: Test [$(libc-reentrant) = yes]
9492         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9493
9494         * Makeconfig
9495         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9496         * sysdeps/pthread/configure: File removed.
9497         * sysdeps/pthread/Makeconfig: New file.
9498         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9499         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9500
9501 2012-08-16  Gary Benson  <gbenson@redhat.com>
9502
9503         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9504         unmapping the first object in a namespace.
9505
9506 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9507
9508         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9509         (__internal_setnetgrent): ... this.  Add internal_function to
9510         definition.  Add libc_hidden_def.
9511         (setnetgrent): Update caller.
9512         (internal_endnetgrent): Renamed to ...
9513         (__internal_endnetgrent): ... this.  Add internal_function to
9514         definition.  Add libc_hidden_def.
9515         (endnetgrent): Update caller.
9516         (internal_getnetgrent_r): Renamed to ...
9517         (__internal_getnetgrent_r): ... this.  Add internal_function to
9518         definition.  Add libc_hidden_def.
9519         (__getnetgrent_r): Update caller.
9520         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9521
9522 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9523
9524         * stdlib/longlong.h: Update from GCC.
9525
9526 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9527
9528         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9529         on _QL, which is set by umul_ppmm but never used.
9530         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9531         variables, which are set by GMP macros but never used.
9532         * stdio-common/_itowa.c (_itowa): Likewise.
9533         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9534         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9535
9536 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9537
9538         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9539         struct La_sh_regs is not constant.
9540         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9541         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9542         and struct La_sparc64_regs are not constant.
9543
9544 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9545
9546         * sysdeps/unix/sysv/linux/kernel-features.h
9547         (__ASSUME_POSIX_TIMERS): Remove.
9548         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9549         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9550         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9551         Make code unconditional.
9552         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9553         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9554         Make code unconditional.
9555         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9556         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9557         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9558         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9559         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9560         Make code unconditional.
9561         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9562         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9563         (__libc_missing_posix_timers): Remove.
9564
9565 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9566
9567         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9568         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9569
9570         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9571
9572         * elf/dl-sym.c: Include <stdlib.h>.
9573
9574         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9575         constants, which avoids warnings in 32-bit builds.
9576
9577         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9578         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9579
9580         * misc/lseek.c: File moved to ...
9581         * io/lseek.c: ... here.
9582
9583         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9584
9585         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9586         shifting LEN more than 31 bits at once.
9587
9588 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9589
9590         [BZ #14195]
9591         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9592         segmentation fault for a case of two empty input strings.
9593         * string/test-strncasecmp.c (check1): Renamed to...
9594         (bz12205): ...this.
9595         (bz14195): Add new testcase for two empty input strings and N > 0.
9596         (test_main): Call new testcase, adapt for renamed function.
9597
9598 2012-08-15  Andreas Jaeger  <aj@suse.de>
9599
9600         [BZ #14090]
9601         * crypt/md5test2.c: New test, based on test supplied by Serge
9602         Belyshev <belyshev@depni.sinp.msu.ru>.
9603         * crypt/Makefile (xtests): Add md5test-giant..
9604         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9605
9606 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9607
9608         [BZ #14090]
9609         * crypt/md5.c (md5_process_block): Don't assume the buffer
9610         length is less than 2**32.
9611         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9612         length is less than 2**64.
9613
9614 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9615
9616         * string/str-two-way.h: Include <sys/param.h>.
9617         (MAX): Macro removed.
9618
9619         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9620         Move #define and #undef of memmove to just before and after
9621         including <string.h>.
9622
9623         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9624         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9625         and after including <string.h>.  Move declarations of
9626         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9627         to before #include "string/memmove.c".
9628
9629         * include/dirent.h: Declare __getdirentries.
9630
9631         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9632         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9633
9634 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9635
9636         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9637         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9638         * sysdeps/i386/configure: Regenerated.
9639         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9640         STABS_CURRENT_FILE, and STABS_FUN.
9641         (END): Remove call to STABS_FUN_END.
9642         (STABS_CURRENT_FILE1): Delete.
9643         (STABS_CURRENT_FILE): Likewise.
9644         (STABS_FUN): Likewise.
9645         (STABS_FUN_END): Likewise.
9646         (STABS_FUN2): Likewise.
9647         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9648         * sysdeps/x86_64/configure: Regenerated.
9649
9650 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9651
9652         * elf/dl-open.c: Include <atomic.h>.
9653         * elf/dl-lookup.c: Likewise.
9654
9655 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9656
9657         * sysdeps/unix/sysv/linux/kernel-features.h
9658         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9659         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9660         unconditionally.
9661         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9662         unconditionally.
9663         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9664         condition on __ASSUME_CLONE_THREAD_FLAGS.
9665
9666 2012-08-14  Andreas Jaeger  <aj@suse.de>
9667
9668         * sysdeps/i386/fpu/libm-test-ulps: Update.
9669
9670 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9671
9672         * include/atomic.h (atomic_exchange_and_add): Split into ...
9673         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9674         New atomic macros.
9675
9676 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9677
9678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9679
9680 2012-08-13  Jeff Law <law@redhat.com>
9681
9682         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9683         null byte in the output string.
9684
9685 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9686
9687         * sysdeps/unix/sysv/linux/kernel-features.h
9688         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9689         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9690         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9691         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9692         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9693         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9694         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9695
9696 2012-08-09  Jeff Law <law@redhat.com>
9697
9698         [BZ #13939]
9699         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9700         When avoid_arena is set, don't retry in the that arena.  Pick the
9701         next one, whatever it might be.
9702         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9703         (arena_lock): Pass in new parameter to arena_get2.
9704         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9705         arena_get2.
9706         (__libc_malloc): Unify retrying after main arena failure with
9707         __libc_memalign version.
9708         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9709
9710 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9711
9712         [BZ #14166]
9713         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9714         to __redirect_strstr.
9715         (__strstr_sse42): Use typeof __redirect_strstr.
9716         (__strstr_ia32): Likewise.
9717         (__libc_strstr): New prototype.
9718         (strstr): Renamed to ...
9719         (__libc_strstr): This.
9720         (strstr): New strong alias of __libc_strstr.
9721         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9722         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9723         __redirect_time.
9724         Include <time.h>.
9725         (__libc_time): New prototype.
9726         (time_ifunc): Replace time with __libc_time.
9727         (time): New strong alias and hidden definition of __libc_time.
9728         (__GI_time): Remove strong alias.
9729         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9730         Include <stddef.h>.
9731         (memmove): Redefined to __redirect_memmove.
9732         (__memmove_sse2): Use typeof __redirect_memmove.
9733         (__memmove_ssse3): Likewise.
9734         (__memmove_ssse3_back): Likewise.
9735         (__libc_memmove): New prototype.
9736         (memmove): Renamed to ...
9737         (__libc_memmove): This.
9738         (memmove): New strong alias of __libc_memmove.
9739
9740 2012-08-08  Mark Salter  <msalter@redhat.com>
9741
9742         * elf/elf.h
9743         (R_MN10300_TLS_GD): Define.
9744         (R_MN10300_TLS_LD): Likewise.
9745         (R_MN10300_TLS_LDO): Likewise.
9746         (R_MN10300_TLS_GOTIE): Likewise.
9747         (R_MN10300_TLS_IE): Likewise.
9748         (R_MN10300_TLS_LE): Likewise.
9749         (R_MN10300_TLS_DTPMOD): Likewise.
9750         (R_MN10300_TLS_DTPOFF): Likewise.
9751         (R_MN10300_TLS_TPOFF): Likewise.
9752         (R_MN10300_SYM_DIFF): Likewise.
9753         (R_MN10300_ALIGN): Likewise.
9754         (R_MN10300_NUM): Update.
9755
9756 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9757
9758         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9759         Remove.
9760
9761 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9762
9763         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9764
9765         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9766         sysdeps/unix -> sysdeps/posix move.
9767         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9768
9769 2012-08-07      Allan McRae     <allan@archlinux.org>
9770
9771         [BZ #14303]
9772         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9773         (SUNOS_CPP): Likewise.
9774         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9775         not found.
9776         (open_input): Call CPP using execvp.
9777
9778 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9779
9780         * sysdeps/unix/sysv/linux/kernel-features.h
9781         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9782         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9783         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9784         (__ASSUME_WAITID_SYSCALL): Likewise.
9785         * sysdeps/unix/sysv/linux/dl-execstack.c
9786         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9787         code unconditional.
9788         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9789         conditional code.
9790         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9791         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9792         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9793         code.
9794         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9795         unconditional.
9796         [__ASSUME_WAITID_SYSCALL]: Likewise.
9797         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9798
9799 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9800
9801         * sysdeps/unix/closedir.c: Renamed to ...
9802         * sysdeps/posix/closedir.c: ... here.
9803         * sysdeps/unix/dirfd.c: Renamed to ...
9804         * sysdeps/posix/dirfd.c: ... here.
9805         * sysdeps/unix/dirstream.h: Renamed to ...
9806         * sysdeps/posix/dirstream.h: ... here.
9807         * sysdeps/unix/fdopendir.c: Renamed to ...
9808         * sysdeps/posix/fdopendir.c: ... here.
9809         * sysdeps/unix/opendir.c: Renamed to ...
9810         * sysdeps/posix/opendir.c: ... here.
9811         * sysdeps/unix/readdir.c: Renamed to ...
9812         * sysdeps/posix/readdir.c: ... here.
9813         * sysdeps/unix/readdir_r.c: Renamed to ...
9814         * sysdeps/posix/readdir_r.c: ... here.
9815         * sysdeps/unix/rewinddir.c: Renamed to ...
9816         * sysdeps/posix/rewinddir.c: ... here.
9817         * sysdeps/unix/seekdir.c: Renamed to ...
9818         * sysdeps/posix/seekdir.c: ... here.
9819         * sysdeps/unix/telldir.c: Renamed to ...
9820         * sysdeps/posix/telldir.c: ... here.
9821         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9822         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9823         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9824         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9825
9826         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9827         * bits/fcntl.h: ... here.
9828
9829         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9830         not 0.
9831         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9832         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9833         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9834         (struct flock): Move l_start, l_len to the beginning.
9835         Use __pid_t for l_pid.
9836         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9837         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9838         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9839         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9840         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9841         [__USE_LARGEFILE64] (struct flock64): New type.
9842         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9843
9844         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9845         * bits/dirent.h: ... here.
9846
9847         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9848         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9849
9850 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9851
9852         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9853         Change from 2.6.0 to 2.6.16.
9854         * sysdeps/unix/sysv/linux/configure: Regenerated.
9855         * sysdeps/unix/sysv/linux/kernel-features.h
9856         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9857         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9858         version.
9859         (__ASSUME_UTIMES): Likewise.
9860         (__ASSUME_CLONE_STOPPED): Remove.
9861         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9862         architectures, not kernel version.
9863         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9864         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9865         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9866         (__ASSUME_WAITID_SYSCALL): Likewise.
9867         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9868         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9869         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9870         refer to older versions.
9871
9872 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9873
9874         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9875         Define alphasort64 as an alias.
9876         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9877         Define versionsort64 as an alias.
9878         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9879         Define scandir64 as an alias.
9880         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9881         Define scandirat64 as an alias.
9882         * dirent/alphasort64.c (alphasort64):
9883         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9884         * dirent/versionsort64.c: Likewise.
9885         * dirent/scandir64.c: Likewise.
9886         * dirent/scandirat64.c: Likewise.
9887         * sysdeps/wordsize-64/alphasort.c: File removed.
9888         * sysdeps/wordsize-64/alphasort64.c: File removed.
9889         * sysdeps/wordsize-64/scandir.c: File removed.
9890         * sysdeps/wordsize-64/scandir64.c: File removed.
9891         * sysdeps/wordsize-64/scandirat.c: File removed.
9892         * sysdeps/wordsize-64/scandirat64.c: File removed.
9893         * sysdeps/wordsize-64/versionsort.c: File removed.
9894         * sysdeps/wordsize-64/versionsort64.c: File removed.
9895         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9896         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9897         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9898         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9899         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9900         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9901         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9902         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9903
9904         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9905         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9906         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9908         [defined __arch64__ || defined __sparcv9]
9909         (__INO_T_MATCHES_INO64_T): New macro.
9910         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9911         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9912         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9913         * sysdeps/unix/sysv/linux/bits/dirent.h
9914         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9915         (_DIRENT_MATCHES_DIRENT64): New macro.
9916
9917         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9918         Define lockf64 as an alias.
9919         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9920         Define fseeko64 as an alias.
9921         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9922         Define ftello64 as an alias.
9923         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9924         Define _IO_fgetpos64 and fgetpos64 as aliases.
9925         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9926         Define _IO_fsetpos64 and fsetpos64 as aliases.
9927         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9928         Conditionalize body on this.
9929         * libio/fseeko64.c: Likewise.
9930         * libio/ftello64.c: Likewise.
9931         * libio/iofgetpos64.c: Likewise.
9932         * libio/iofsetpos64.c: Likewise.
9933         * sysdeps/wordsize-64/lockf.c: File removed.
9934         * sysdeps/wordsize-64/lockf64.c: File removed.
9935         * sysdeps/wordsize-64/fseeko.c: File removed.
9936         * sysdeps/wordsize-64/fseeko64.c: File removed.
9937         * sysdeps/wordsize-64/ftello.c: File removed.
9938         * sysdeps/wordsize-64/ftello64.c: File removed.
9939         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9940         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9941         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9942         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9943         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9944         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9945         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9946         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9947         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9948         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9949         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9950         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9951         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9952         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9953
9954         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9956         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9958         [defined __arch64__ || defined __sparcv9]
9959         (__OFF_T_MATCHES_OFF64_T): New macro.
9960         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9961         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9963         (__OFF_T_MATCHES_OFF64_T): New macro.
9964
9965 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9966
9967         * stdlib/secure-getenv.c (__secure_getenv): Replace
9968         GLIBC_2_16 with GLIBC_2_17.
9969
9970 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9971
9972         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9973         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9974
9975 2012-08-03  David S. Miller  <davem@davemloft.net>
9976
9977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9978
9979 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9980
9981         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9982         Remove.
9983         (__ASSUME_CORRECT_SI_PID): Likewise.
9984         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9985         (__ASSUME_TMPFS_NAME): Likewise.
9986         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9987         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9988         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9989         (HAVE_AUX_SECURE): Make definition unconditional.
9990         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9991         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9992
9993 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9994
9995         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9996         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9997         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9998         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9999         __eloop_threshold instead of SYMLOOP_MAX.
10000
10001         * sysdeps/generic/eloop-threshold.h: New file.
10002         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10003         of MAXSYMLINKS.
10004         * elf/chroot_canon.c (chroot_canon): Likewise.
10005
10006 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10007
10008         [BZ #13717]
10009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10010         Change to 2.6.0 everywhere.
10011         * sysdeps/unix/sysv/linux/configure: Regenerated.
10012         * sysdeps/unix/sysv/linux/kernel-features.h
10013         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10014         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10015         kernel versions.
10016         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10017         (__ASSUME_FUTEX_REQUEUE): Remove.
10018         (__ASSUME_STATFS64): Define unconditionally.
10019         (__ASSUME_AT_SECURE): Likewise.
10020         (__ASSUME_CORRECT_SI_PID): Likewise.
10021         (__ASSUME_TGKILL): Define without depending on kernel version for
10022         i386.
10023         (__ASSUME_UTIMES): Likewise.
10024         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10025         kernel version.
10026         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10027         (__ASSUME_TMPFS_NAME): Likewise.
10028         * README: Update reference to Linux kernel versions.
10029
10030 2012-08-02  Marek Polacek  <polacek@redhat.com>
10031
10032         [BZ# 14150]
10033         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10034         libc_cv_asm_type_prefix with %.
10035         * configure: Regenerated.
10036         * include/libc-symbols.h: Remove comment about
10037         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10038         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10039         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10040         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10041         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10042         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10043         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10044         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10045         * elf/tst-unique2mod1.c: Likewise.
10046         * elf/tst-unique1mod2.c: Likewise.
10047         * elf/tst-unique1mod1.c: Likewise.
10048         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10049         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10050         Replace ASM_TYPE_DIRECTIVE with .type.
10051         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10052         * sysdeps/i386/sysdep.h: Likewise.
10053         * sysdeps/x86_64/sysdep.h: Likewise.
10054         * sysdeps/sh/sysdep.h: Likewise.
10055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10056         Do not define ASM_TYPE_DIRECTIVE.
10057         * sysdeps/powerpc/sysdep.h: Likewise.
10058         * sysdeps/powerpc/powerpc32/sysdep.h:
10059         Replace ASM_TYPE_DIRECTIVE with .type.
10060         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10061         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10062         * sysdeps/i386/fpu/e_powf.S: Likewise.
10063         * sysdeps/i386/fpu/e_expl.S: Likewise.
10064         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10065         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10066         * sysdeps/i386/fpu/e_pow.S: Likewise.
10067         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10068         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10069         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10070         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10071         * sysdeps/i386/fpu/e_log2.S: Likewise.
10072         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10073         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10074         * sysdeps/i386/fpu/e_powl.S: Likewise.
10075         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10076         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10077         * sysdeps/i386/fpu/e_logl.S: Likewise.
10078         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10079         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10080         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10081         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10082         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10083         * sysdeps/i386/fpu/e_log.S: Likewise.
10084         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10085         * sysdeps/i386/fpu/e_logf.S: Likewise.
10086         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10087         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10088         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10089         * sysdeps/i386/fpu/e_log10.S: Likewise.
10090         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10091         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10092         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10093         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10094         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10095         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10096         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10097         * sysdeps/i386/i686/strtok.S: Likewise.
10098         * sysdeps/i386/i386-mcount.S: Likewise.
10099         * sysdeps/i386/strtok.S: Likewise.
10100         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10101         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10102         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10103         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10104         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10105         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10106         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10107         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10108         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10109         * sysdeps/x86_64/_mcount.S: Likewise.
10110         * sysdeps/x86_64/strtok.S: Likewise.
10111         * sysdeps/sh/_mcount.S: Likewise.
10112
10113 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10114
10115         * libio/iofopen.c: Include <fcntl.h>.
10116         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10117         (_IO_fopen64, fopen64): Define as aliases.
10118         * libio/iofopen64.c: Include <fcntl.h>.
10119         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10120         Conditionalize body on this.
10121         * sysdeps/wordsize-64/iofopen.c: File removed.
10122         * sysdeps/wordsize-64/iofopen64.c: File removed.
10123
10124 2012-08-01  Marek Polacek  <polacek@redhat.com>
10125
10126         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10127         Use dlfcn directly instead of a variable.
10128         (binfmt-subdir): Do not define.
10129         (dlfcn): Likewise.
10130
10131 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10132
10133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10134         Remove all definitions.
10135         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10136         <kernel-features.h>.
10137         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10138         (miss_F_GETOWN_EX): Remove all definitions.
10139         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10140         macro definition.
10141         [!__ASSUME_FCNTL64]: Remove conditional code.
10142         [__ASSUME_FCNTL64]: Make code unconditional.
10143         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10144         <kernel-features.h>.
10145         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10146         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10147         (lockf64) [__NR_fcntl64]: Make code unconditional.
10148         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10149
10150         * sysdeps/unix/sysv/linux/kernel-features.h
10151         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10152         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10153         Make code unconditional.
10154         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10155         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10157         [__NR_vfork]: Make code unconditional.
10158         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10159         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10161         [__NR_vfork]: Make code unconditional.
10162         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10163         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10164
10165 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10166
10167         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10168         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10169
10170         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10171         Define mkstemp64 as an alias.
10172         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10173         Define mkstemps64 as an alias.
10174         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10175         Define mkostemp64 as an alias.
10176         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10177         Define mkostemps64 as an alias.
10178         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10179         Conditionalize body on this.
10180         * misc/mkostemp64.c: Likewise.
10181         * misc/mkostemps64.c: Likewise.
10182         * misc/mkstemps64.c: Likewise.
10183         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10184         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10185         * sysdeps/wordsize-64/mkostemp.c: File removed.
10186         * sysdeps/wordsize-64/mkstemp.c: File removed.
10187         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10188         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10189         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10190         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10191
10192         [BZ #14138]
10193         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10194         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10195         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10196         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10197
10198         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10199         compat_symbol macros from <shlib-compat.h> rather than the underlying
10200         default_symbol_version and symbol_version macros, so that DEFAULT
10201         lines in shlib-versions are respected.
10202         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10203
10204 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10205
10206         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10207         Declare with warn_unused_result.
10208         (setgid, setregid, setegid, setresgid): Likewise.
10209         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10210         Likewise.
10211         * WUR-REPORT: Remove set*id functions.
10212
10213 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10214
10215         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10216
10217 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10218
10219         * include/sys/socket.h (__libc_accept, __libc_accept4):
10220         Add attribute_hidden.
10221         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10222
10223         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10224         use of PTR_MANGLE.
10225         * inet/getnetgrent_r.c (setup): Likewise.
10226
10227         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10228
10229 2012-07-31  David S. Miller  <davem@davemloft.net>
10230
10231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10232
10233 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10234
10235         [BZ #13629]
10236         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10237         value between 1.0 and 2.0 and smaller part has absolute value less
10238         than 1.0.
10239         * math/s_clog10.c (__clog10): Likewise.
10240         * math/s_clog10f.c (__clog10f): Likewise.
10241         * math/s_clog10l.c (__clog10l): Likewise.
10242         * math/s_clogf.c (__clogf): Likewise.
10243         * math/s_clogl.c (__clogl): Likewise.
10244         * math/libm-test.inc (clog_test): Add more tests.
10245         (clog10_test): Likewise.
10246         * sysdeps/i386/fpu/libm-test-ulps: Update.
10247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10248
10249 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10250
10251         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10252         Exit with zero in case no suitable GID is found, and write a
10253         message to standard error.
10254
10255 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10256
10257         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10258         rather than to 1.
10259         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10260         (MAXPATHLEN): Removed.
10261         (NOGROUP, NODEV): New macros.
10262         (setbit, clrbit, isset, isclr): New macros.
10263         (howmany, roundup, powerof2): New macros.
10264         (DEV_BSIZE): New macro.
10265
10266         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10267         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10268
10269         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10270         definition on [!__NO_LONG_DOUBLE_MATH].
10271
10272         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10273         PTR_MANGLE and PTR_DEMANGLE.
10274
10275         * socket/accept4.c (accept4): Rename to __libc_accept4.
10276         Define accept4 as a weak alias.
10277
10278         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10279         on [_DIRENT_HAVE_D_TYPE].
10280         * io/ftw.c (ftw_dir): Likewise.
10281
10282         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10283
10284         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10285
10286         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10287         Use the BSD numbers rather than the arbitrary ones we had.
10288         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10289         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10290         (SIGXCPU, SIGXFSZ): New macros.
10291         (_NSIG): Now 32.
10292
10293         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10294         initializer on [_LIBC_REENTRANT].
10295
10296         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10297         definitions inside [_POSIX_MAPPED_FILES].
10298
10299         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10300
10301         * dirent/opendir.c: Include <fcntl.h>.
10302
10303         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10304         (__libc_getspecific): Likewise.
10305         (__libc_key_create): Likewise.
10306
10307         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10308         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10309         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10310         (tmpfile64): Define as alias.
10311         * sysdeps/wordsize-64/tmpfile.c: File removed.
10312         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10314         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10315
10316         * stdio-common/vfscanf.c: Include <stdbool.h>.
10317         * nss/makedb.c: Likewise.
10318         * stdio-common/_i18n_number.h: Likewise.
10319         * argp/argp-help.c: Likewise.
10320         * posix/wordexp.c: Likewise.
10321         * sysdeps/posix/spawni.c: Likewise.
10322         * nss/nss_files/files-initgroups.c: Likewise.
10323         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10324         * nss/nss_files/files-initgroups.c: Likewise.
10325         * nss/nss_db/db-netgrp.c: Likewise.
10326         * nss/nss_db/db-initgroups.c: Likewise.
10327         * io/fchmodat.c: Include <sys/stat.h>.
10328
10329         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10330         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10331
10332         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10333         [HAVE_MMAP].
10334
10335         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10336         Add multiple inclusion protection.
10337
10338 2012-07-27  David S. Miller  <davem@davemloft.net>
10339
10340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10341
10342 2012-07-27  Gary Benson  <gbenson@redhat.com>
10343
10344         [BZ #14298]
10345         * elf/rtld.c: Include <stap-probe.h>.
10346         (dl_main): Added static probes "init_start" and "init_complete".
10347         * elf/dl-load.c: Include <stap-probe.h>.
10348         (lose): Take new parameter "nsid".
10349         Added static probe "map_failed".
10350         (_dl_map_object_from_fd): Pass namespace id to lose.
10351         Added static probe "map_start".
10352         (open_verify): Pass namespace id to lose.
10353         * elf/dl-open.c: Include <stap-probe.h>.
10354         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10355         and "reloc_complete".
10356         * elf/dl-close.c: Include <stap-probe.h>.
10357         (_dl_close_worker): Added static probes "unmap_start" and
10358         "unmap_complete".
10359         * elf/rtld-debugger-interface.txt: New file documenting the above.
10360
10361 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10362
10363         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10364         rather than a string variable.
10365         * sunrpc/rpc_main.c (h_output): Likewise.
10366         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10367
10368 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10369
10370         * inet/check_native.c: New file.
10371
10372 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10373
10374         [BZ #13629]
10375         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10376         if larger part has absolute value 1.0.
10377         * math/s_clog10.c (__clog10): Likewise.
10378         * math/s_clog10f.c (__clog10f): Likewise.
10379         * math/s_clog10l.c (__clog10l): Likewise.
10380         * math/s_clogf.c (__clogf): Likewise.
10381         * math/s_clogl.c (__clogl): Likewise.
10382         * math/libm-test.inc (clog_test): Add more tests.
10383         (clog10_test): Likewise.
10384         * sysdeps/i386/fpu/libm-test-ulps: Update.
10385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10386
10387         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10388         (pltexit): Likewise.
10389         (La_regs): Likewise.
10390         (La_retval): Likewise.
10391         (int_retval): Likewise.
10392         Update #error for removed macros to refer only to definitions in
10393         tst-audit.h.
10394         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10395         macro.
10396         (pltexit): Likewise.
10397         (La_regs): Likewise.
10398         (La_retval): Likewise.
10399         (int_retval): Likewise.
10400         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10401         macro.
10402         (pltexit): Likewise.
10403         (La_regs): Likewise.
10404         (La_retval): Likewise.
10405         (int_retval): Likewise.
10406         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10407         macro.
10408         (pltexit): Likewise.
10409         (La_regs): Likewise.
10410         (La_retval): Likewise.
10411         (int_retval): Likewise.
10412         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10413         macro.
10414         (pltexit): Likewise.
10415         (La_regs): Likewise.
10416         (La_retval): Likewise.
10417         (int_retval): Likewise.
10418         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10419         macro.
10420         (pltexit): Likewise.
10421         (La_regs): Likewise.
10422         (La_retval): Likewise.
10423         (int_retval): Likewise.
10424         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10425         macro.
10426         (pltexit): Likewise.
10427         (La_regs): Likewise.
10428         (La_retval): Likewise.
10429         (int_retval): Likewise.
10430         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10431         macro definitions in tst-audit.h.
10432         * sysdeps/i386/tst-audit.h: New file.
10433         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10434         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10435         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10436         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10437         * sysdeps/sh/tst-audit.h: Likewise.
10438         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10439         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10440         * sysdeps/x86_64/tst-audit.h: Likewise.
10441
10442 2012-07-26  Andreas Jaeger  <aj@suse.de>
10443
10444         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10445         ptrace.
10446
10447         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10448         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10449         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10450         PTRACE_O_MASK.
10451         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10452         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10453         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10454
10455         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10456         value.
10457
10458         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10459         _sigsys.
10460         (si_call_addr, si_syscall, si_arch): Define new macro.
10461         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10462         _sigsys.
10463         (si_call_addr, si_syscall, si_arch): Define new marcro.
10464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10465         _sigsys.
10466         (si_call_addr, si_syscall, si_arch): Define new macro.
10467         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10468         _sigsys.
10469         (si_call_addr, si_syscall, si_arch): Define new macro.
10470
10471 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10472
10473         [BZ #13717]
10474         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10475         Change to 2.4.21 where previously 2.4.1.
10476         * sysdeps/unix/sysv/linux/configure: Regenerated.
10477         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10478         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10479         Linux kernel version.
10480         (__ASSUME_STD_AUXV): Remove.
10481         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10482         kernel version.
10483         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10484         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10485         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10486         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10487         (__ASSUME_NETLINK_SUPPORT): Likewise.
10488         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10489         (__no_netlink_support): Remove conditional definition.
10490         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10491         Remove.
10492         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10493         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10494         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10495         (if_nameindex_ioctl): Remove.
10496         (if_nameindex_netlink): Do not handle __no_netlink_support.
10497         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10498         code.
10499         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10500         Remove conditional code.
10501         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10502         code.
10503         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10504         unconditional.
10505         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10506         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10507         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10508         Remove.
10509         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10510         [!__ASSUME_STD_AUXV]: Remove conditional code.
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10512         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10513         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10515         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10516         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10517         code.
10518         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10520         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10521         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10522         conditional code.
10523         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10525         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10526         code.
10527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10528         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10529         conditional code.
10530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10531         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10532         code unconditional.
10533         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10534         conditional code.
10535         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10536         unconditional.
10537         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10538         conditional code.
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10540         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10541         unconditional.
10542         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10543         conditional code.
10544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10545         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10546         code unconditional.
10547         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10548         conditional code.
10549         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10550         unconditional.
10551         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10552         conditional code.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10554         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10555         code unconditional.
10556         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10557         conditional code.
10558         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10559         unconditional.
10560         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10561         conditional code.
10562
10563 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10564
10565         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10566         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10567         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10568         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10569         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10570         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10572         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10573         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10574         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10575         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10576         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10577         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10578         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10579         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10580         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10581         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10582         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10583         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10584         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10585         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10586         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10587         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10588
10589 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10590
10591         * Versions.def: Add GLIBC_2.17.
10592         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10593         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10594         Introduce __libc_secure_getenv.
10595         * stdlib/Versions (2.17): Add secure_getenv
10596         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10597         * stdlib/secure-getenv.c: Rename __secure_getenv to
10598         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10599         symbol __secure_getenv for GLIBC_2.0.
10600         * stdlib/tst-secure-getenv.c: New.
10601         * stdlib/Makefile (tests): Add testcase.
10602         * manual/startup.texi (Environment Access): Document
10603         secure_getenv.
10604         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10605         __libc_secure_getenv.
10606         * inet/ruserpass.c (ruserpass): Likewise.
10607         * malloc/mtrace.c (mtrace): Likewise.
10608         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10609         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10610         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10611         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10612         HAVE_SECURE_GETENV.
10613         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10614         __secure_getenv to __libc_secure_getenv.
10615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10617         Likewise.
10618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10619         Likewise.
10620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10627
10628 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10629
10630         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10631         (struct La_i86_retval): Likewise.
10632         (struct La_x86_64_regs): Likewise.
10633         (struct La_x86_64_retval): Likewise.
10634         (struct La_x32_regs): Likewise.
10635         (struct La_x32_retval): Likewise.
10636         (struct La_ppc32_regs): Likewise.
10637         (struct La_ppc32_retval): Likewise.
10638         (struct La_ppc64_regs): Likewise.
10639         (struct La_ppc64_retval): Likewise.
10640         (struct La_sh_regs): Likewise.
10641         (struct La_sh_retval): Likewise.
10642         (struct La_s390_32_regs): Likewise.
10643         (struct La_s390_32_retval): Likewise.
10644         (struct La_s390_64_regs): Likewise.
10645         (struct La_s390_64_retval): Likewise.
10646         (struct La_sparc32_regs): Likewise.
10647         (struct La_sparc32_retval): Likewise.
10648         (struct La_sparc64_regs): Likewise.
10649         (struct La_sparc64_retval): Likewise.
10650         (struct audit_ifaces): Remove architecture-specific pltenter and
10651         pltexit members.
10652         * sysdeps/i386/ldsodefs.h: New file.
10653         * sysdeps/powerpc/ldsodefs.h: Likewise.
10654         * sysdeps/s390/ldsodefs.h: Likewise.
10655         * sysdeps/sh/ldsodefs.h: Likewise.
10656         * sysdeps/sparc/ldsodefs.h: Likewise.
10657         * sysdeps/x86_64/ldsodefs.h: Likewise.
10658
10659 2012-07-25  Marek Polacek  <polacek@redhat.com>
10660
10661         [BZ #6808]
10662         * math/libm-test.inc (yn_test): Add another test.
10663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10664         to ERANGE when the result is +-Inf.
10665         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10666         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10667         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10668         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10669
10670 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10671
10672         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10673         equal to 0.
10674         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10675         clock_t.
10676         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10677
10678 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10679
10680         * configure.in <sysdeps resolving>: Correct printing
10681         Implies_before.
10682         * configure: Regenerate.
10683
10684 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10685
10686         * math/w_ilogb.c: Include <limits.h>.
10687         * math/w_ilogbl.c: Likewise.
10688
10689 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10690
10691         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10692         va_copy.  Document allowing for unavailable va_copy only as
10693         pre-C99 compatibility.
10694         * manual/string.texi (Copying and Concatenation): Use va_copy
10695         instead of __va_copy in concat example.
10696
10697 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10698
10699         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10700         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10701         it if not null.
10702
10703         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10704         with O_NOLINK passed to __file_name_lookup.
10705
10706         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10707         with O_NOLINK passed to __file_name_lookup.
10708
10709         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10710         negative N or less than NGIDS.
10711
10712         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10713         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10714         enough.  Use memcpy instead of strncpy.
10715
10716 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10717
10718         * elf/Makefile (check-data): Remove.
10719         (localplt.data): New vpath directive.
10720         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10721         instead of $(check-data).
10722         * scripts/data/localplt-generic.data: Move to ...
10723         * sysdeps/generic/localplt.data: ... here.
10724         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10725         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10726         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10728         ... here.
10729         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10731         ... here.
10732         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10734         ... here.
10735         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10737         ... here.
10738         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10740         ... here.
10741         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10743         ... here.
10744
10745 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10746
10747         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10748         PPC32 and PPC64 files.
10749         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10750         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10751
10752 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10753
10754         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10755         __makecontext_ret to ...
10756         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10757         ... here and call exit if uc_link is NULL.  New file.
10758         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10759         __makecontext_ret.S.
10760         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10761         __makecontext_ret to ...
10762         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10763         ... here and call exit if uc_link is NULL.  New file.
10764         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10765         __makecontext_ret.S.
10766
10767 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10768
10769         * elf/elf.h (R_390_IRELATIVE): New definition.
10770         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10771         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10772         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10774         (elf_machine_lazy_rel): Likewise.
10775         * sysdeps/s390/dl-irel.h: New file.
10776         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10777         * sysdeps/s390/s390-64/memset.S: New asm code.
10778         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10779         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10780         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10781         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10782         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10783         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10784         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10785         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10786         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10787         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10788         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10789         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10790         * sysdeps/s390/s390-32/memset.S: New asm code.
10791         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10792
10793 2012-07-17  Marek Polacek  <polacek@redhat.com>
10794
10795         [BZ #14349]
10796         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10797         * sysdeps/s390/s390-64/configure.in: Likewise.
10798         * sysdeps/sparc/configure.in: Likewise.
10799         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10800         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10801         * sysdeps/i386/configure.in: Likewise.
10802         * sysdeps/x86_64/configure.in: Likewise.
10803         * sysdeps/sh/configure.in: Likewise.
10804         * sysdeps/s390/s390-32/configure: Regenerated.
10805         * sysdeps/s390/s390-64/configure: Likewise.
10806         * sysdeps/x86_64/configure: Likewise.
10807         * sysdeps/sh/configure: Likewise.
10808         * sysdeps/powerpc/powerpc64/configure: Likewise.
10809         * sysdeps/powerpc/powerpc32/configure: Likewise.
10810         * sysdeps/sparc/configure: Likwise.
10811         * sysdeps/i386/configure: Likewise.
10812
10813         * elf/dl-open.c: Comment fixes.
10814
10815 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10816
10817         * Makefile [CXX] (check-data): Remove.
10818         [CXX] (c++-types.data): New vpath directive.
10819         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10820         vpath.  Do not allow for C++ type data being missing.
10821         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10822         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10823         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10824         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10825         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10826         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10827         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10829         ... here.
10830         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10832         ... here.
10833         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10835         ... here.
10836         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10838         ... here.
10839         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10841         ... here.
10842         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10844         ... here.
10845         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10847         ... here.
10848         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10850
10851         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10852         definitions to architecture-specific files.
10853         (TLS_IE): Likewise.
10854         (TLS_LD): Likewise.
10855         (TLS_GD): Likewise.
10856         * sysdeps/i386/tls-macros.h: New file.
10857         * sysdeps/powerpc/tls-macros.h: Likewise.
10858         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10859         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10860         * sysdeps/sh/tls-macros.h: Likewise.
10861         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10862         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10863         * sysdeps/x86_64/tls-macros.h: Likewise.
10864
10865 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10866
10867         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10868         zero value for regular exit case.
10869
10870         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10871         (__start_context): Preserve zero value for regular exit case.
10872
10873 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10874             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10875
10876         * manual/setjmp.texi (setcontext): Clarify normal process
10877         termination when uc_link is the null pointer.
10878         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10879         exit call.
10880
10881 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10882
10883         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10884         preprocessor.  Test for each exception mask separately.
10885
10886 2012-07-16  Andreas Jaeger  <aj@suse.de>
10887
10888         * po/ru.po: Update from translation team.
10889
10890 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10891
10892         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10893         equal to 0.
10894         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10895         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10896         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10897         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10899
10900 2012-07-13  Andreas Jaeger  <aj@suse.de>
10901
10902         * po/fr.po: Update from translation team.
10903
10904 2012-07-12  Marek Polacek  <polacek@redhat.com>
10905
10906         [BZ #14173]
10907         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10908         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10909         loop condition.
10910
10911 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10912
10913         [BZ #13717]
10914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10915         Change to 2.4.1 where previously 2.4.0.
10916         * sysdeps/unix/sysv/linux/configure: Regenerated.
10917         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10918         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10919         version.
10920         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10921         (__ASSUME_AT_CLKTCK): Remove.
10922         (__ASSUME_AT_PAGESIZE): Likewise.
10923         (__ASSUME_AT_XID): Likewise.
10924         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10925         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10926         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10927         unconditionally.
10928         (HAVE_AUX_PAGESIZE): Likewise.
10929         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10930         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10931         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10932
10933 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10934
10935         [BZ #14307]
10936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10937         the temporary buffer used to invoke __gethostbyname2_r,
10938         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10939         host_data / struct gaih_addrtuple.
10940         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10941         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10942         header file nss/nsswitch.h.
10943         * nss/nsswitch.h (global scope): Add definition of implementation
10944         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10945         resolv/nss_dns/dns-host.c).
10946
10947 2012-07-11  Andreas Jaeger  <aj@suse.de>
10948
10949         * po/fr.po: Update from translation team.
10950
10951         * po/sv.po: Update from translation team
10952         * po/fr.po: Another update from translation team.
10953
10954 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10955
10956         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10957         for subnormals or multiply small sinh result by itself.
10958         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10960
10961 2012-07-11  David S. Miller  <davem@davemloft.net>
10962
10963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10964
10965 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10966
10967         [BZ #14347]
10968         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10969         (INTERNAL_MARK): Shift it here.
10970
10971 2012-07-10  Marek Polacek  <polacek@redhat.com>
10972
10973         [BZ #14151]
10974         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10975         libc_cv_asm_global_directive with .globl.
10976         * configure: Regenerated.
10977         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10978         with .globl.
10979         * sysdeps/i386/configure: Regenerated.
10980         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10981         with .globl.
10982         * sysdeps/x86_64/configure: Regenerated.
10983         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10984         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10985         * elf/tst-unique2mod2.c: Likewise.
10986         * elf/tst-unique2mod1.c: Likewise.
10987         * elf/tst-unique1mod2.c: Likewise.
10988         * elf/tst-unique1mod1.c: Likewise.
10989         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10990         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10991         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10992         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10993         * sysdeps/mach/sysdep.h: Likewise.
10994         * sysdeps/i386/sysdep.h: Likewise.
10995         * sysdeps/i386/i386-mcount.S: Likewise.
10996         * sysdeps/x86_64/_mcount.S: Likewise.
10997         * sysdeps/x86_64/sysdep.h: Likewise.
10998         * sysdeps/sh/_mcount.S: Likewise.
10999         * sysdeps/sh/sysdep.h: Likewise.
11000         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11001         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11002         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11003         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11004         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11005         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11006         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11007         * locale/localeinfo.h: Likewise.
11008         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11009         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11010
11011 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11012
11013         [BZ #14336]
11014         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11015         system".
11016         * manual/message.texi (The Uniforum approach): Likewise.
11017         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11018         (glibc iconv Implementation): Likewise.
11019
11020 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11021
11022         [BZ #14337]
11023         * math/s_clog.c (__clog): Avoid scaling a value down where that
11024         could result in underflow.
11025         * math/s_clog10.c (__clog10): Likewise.
11026         * math/s_clog10f.c (__clog10f): Likewise.
11027         * math/s_clog10l.c (__clog10l): Likewise.
11028         * math/s_clogf.c (__clogf): Likewise.
11029         * math/s_clogl.c (__clogl): Likewise.
11030         * math/libm-test.inc (clog_test): Add more tests.
11031         (clog10_test): Likewise.
11032         * sysdeps/i386/fpu/libm-test-ulps: Update.
11033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11034
11035 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11036
11037         [BZ #14283]
11038         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11039         by 7 not 8 to examine high bit of fractional part.
11040
11041         [BZ #14042]
11042         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11043         for call to __mcount_internal.
11044         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11045         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11046         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11047
11048 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11049
11050         [BZ #14154]
11051         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11052         approximation for values within 0x1p-13f of an odd multiple of
11053         pi/4.
11054         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11055         exception.  Add more tests.
11056         * sysdeps/i386/fpu/libm-test-ulps: Update.
11057
11058         [BZ #6778]
11059         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11060         inputs and return -1 for them.  Do not check for +Inf in case not
11061         reachable for +Inf.
11062         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11063         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11065         and return -1 for them.  Do not check for +Inf in case not
11066         reachable for +Inf.
11067         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11068         define.
11069         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11070         and return -1 for them.  Do not check for +Inf in case not
11071         reachable for +Inf.
11072         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11073         spurious underflow.
11074         * sysdeps/i386/fpu/libm-test-ulps: Update.
11075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11076
11077 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11078
11079         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11080
11081 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11082
11083         [BZ #14157]
11084         [BZ #14331]
11085         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11086         could result in spurious underflow.  Scale down values above
11087         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11088         * math/s_csqrtf.c (__csqrtf): Likewise.
11089         * math/s_csqrtl.c (__csqrtl): Likewise.
11090         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11091         spurious underflow.
11092         * sysdeps/i386/fpu/libm-test-ulps: Update.
11093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11094
11095 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11096
11097         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11098         xopen-msg.sed.
11099         * catgets/xopen-msg.awk: New file.
11100         * catgets/xopen-msg.sed: Removed.
11101
11102         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11103         po2text.sed.
11104         * intl/po2test.awk: New file.
11105         * intl/po2test.sed: Removed.
11106
11107 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11108
11109         [BZ #14328]
11110         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11111         or multiply small sinh result by itself.
11112         * math/s_ctanf.c (__ctanf): Likewise.
11113         * math/s_ctanh.c (__ctanh): Likewise.
11114         * math/s_ctanhf.c (__ctanhf): Likewise.
11115         * math/s_ctanhl.c (__ctanhl): Likewise.
11116         * math/s_ctanl.c (__ctanl): Likewise.
11117         * math/libm-test.inc (ctan_test_tonearest): New function.
11118         (ctan_test_towardzero): Likewise.
11119         (ctan_test_downward): Likewise.
11120         (ctan_test_upward): Likewise.
11121         (ctanh_test_tonearest): Likewise.
11122         (ctanh_test_towardzero): Likewise.
11123         (ctanh_test_downward): Likewise.
11124         (ctanh_test_upward): Likewise.
11125         (main): Call these new functions.
11126         * sysdeps/i386/fpu/libm-test-ulps: Update.
11127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11128
11129 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11130
11131         * .gitignore: Delete /ports entry.
11132
11133 2012-07-03  Andreas Jaeger  <aj@suse.de>
11134
11135         * po/bg.po: Update from translation team.
11136         * po/cs.po: Likewise.
11137         * po/de.po: Likewise.
11138         * po/hr.po: Likewise.
11139         * po/nl.pl: Likewise.
11140         * po/pl.po: Likewise.
11141         * po/vi.po: Likewise.
11142
11143 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11144
11145         * Makeconfig [!+link] (+link-before-libc): New variable.
11146         [!+link] (+link-after-libc): Likewise.
11147         [!+link] (+link-tests): Likewise.
11148         [!+link] (+link): Define in terms of $(+link-before-libc) and
11149         $(+link-after-libc).
11150         [!+link-static] (+link-static-before-libc): New variable.
11151         [!+link-static] (+link-static-after-libc): Likewise.
11152         [!+link-static] (+link-static-tests): Likewise.
11153         [!+link-static] (+link-static): Define in terms of
11154         $(+link-static-before-libc) and $(+link-static-after-libc).
11155         [build-shared] (link-libc-before-gnulib): New variable.
11156         [build-shared] (link-libc-tests): Likewise.
11157         [build-shared] (link-libc): Define in terms of
11158         $(link-libc-before-gnulib).
11159         [!build-shared] (link-libc-tests): New variable.
11160         (link-libc-static-tests): New variable.
11161         [!gnulib] (gnulib-arch): New variable.
11162         [!gnulib] (gnulib-tests): Likewise.
11163         [!gnulib] (static-gnulib-arch): Likewise.
11164         [!gnulib] (static-gnulib-tests): Likewise.
11165         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11166         Define with "=" instead of ":=".
11167         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11168         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11169         * Rules (binaries-all-notests): New variable.
11170         (binaries-all-tests): Likewise.
11171         (binaries-static-notests): Likewise.
11172         (binaries-static-tests): Likewise.
11173         (binaries-all): Define using $(binaries-all-notests) and
11174         $(binaries-all-tests).
11175         (binaries-static): Define using $(binaries-static-notests) and
11176         $(binaries-static-tests).
11177         (binaries-shared-tests): New variable.
11178         (binaries-shared-notests): Likewise.
11179         (binaries-shared): Remove variable.
11180         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11181         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11182         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11183         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11184         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11185         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11186         * elf/Makefile (sln-modules): New variable.
11187         (extra-objs): Add $(sln-modules:=.o).
11188         (ldconfig-modules): Add static-stubs.
11189         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11190         * elf/static-stubs.c: New file.
11191
11192         [BZ #14283]
11193         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11194         by 7 not 8 to examine high bit of fractional part.  Use volatile
11195         variables when splitting into final array of floats if
11196         __FLT_EVAL_METHOD__ != 0.
11197         * math/libm-test.inc (cos_test): Add another test.
11198         (sin_test): Likewise.
11199         * sysdeps/i386/fpu/libm-test-ulps: Update.
11200
11201         [BZ #14273]
11202         * math/libm-test.inc (cosh_test): Add more tests.
11203
11204         * version.h (RELEASE): Set to "development".
11205         (VERSION): Set to "2.16.90".
11206
11207 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11208
11209         * NEWS: Update copyright. Remove last-updated date.
11210         Mention math library bug fixes and timezone data changes.
11211         * README: Mention GNU/Hurd, x32, and HPPA support status.
11212
11213 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11214
11215         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11216
11217 2012-06-27  Andreas Jaeger  <aj@suse.de>
11218
11219         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11220
11221 2012-06-25  Andreas Jaeger  <aj@suse.de>
11222
11223         * sysdeps/s390/fpu/libm-test-ulps: Update.
11224
11225 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11226             Thomas Schwinge  <thomas@codesourcery.com>
11227
11228         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11229         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11231         fanotify_mark.
11232
11233 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11234
11235         * sysdeps/mach/start.c: Remove file.
11236         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11237         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11238         * sysdeps/sh/init-first.c: Likewise.
11239
11240         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11241         registers for frame unwinding purposes, add CFI directives.
11242         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11243         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11244         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11245         Likewise.
11246
11247         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11248         __fortify_fail returning.
11249         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11250
11251         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11252         sysdeps/sh/____longjmp_chk.S.
11253         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11254         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11255         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11256         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11257
11258         * sysdeps/sh/abort-instr.h: New file.
11259         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11260         process in case exit returns.
11261
11262         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11263         initialize the GOT register before use.
11264
11265         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11266         calculation of ARGC > 4.
11267
11268         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11269         meaningful names to some local labels.
11270
11271 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11272             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11273
11274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11275         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11276         (__arch_compare_and_exchange_val_16_acq): Likewise.
11277         (__arch_compare_and_exchange_val_32_acq): Likewise.
11278         (atomic_exchange_and_add): Fix gUSA sequence.
11279         (atomic_add): Likewise.
11280         (atomic_add_negative): Likewise.
11281         (atomic_add_zero): Likewise.
11282         (atomic_bit_test_set): Likewise.
11283
11284 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11285
11286         [BZ #13579]
11287         * include/link.h (struct link_map): Add l_free_initfini.
11288         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11289         l_initfini.
11290         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11291         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11292         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11293         set.
11294
11295 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11296
11297         * configure.in: Use AC_LANG_SOURCE.
11298         * configure: Regenerate.
11299
11300 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11301
11302         * configure.in (libc_cv_localstatedir): New substituted variable.
11303         * configure: Regenerated.
11304         * config.make.in (localstatedir): New variable, substituted from
11305         libc_cv_localstatedir.
11306         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11307         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11308         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11309         * sysdeps/gnu/configure: Regenerated.
11310
11311 2012-06-21  Jeff Law  <law@redhat.com>
11312
11313         [BZ #14277]
11314         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11315         free.  Simplify list management for _LIBC case.
11316
11317 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11318
11319         [BZ #14273]
11320         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11321         Clear sign bit of 64-bit integer value before comparing against
11322         overflow value.
11323
11324         * sysdeps/mach/configure: Regenerated.
11325
11326 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11327
11328         [BZ #14278]
11329         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11330
11331 2012-06-21  Jeff Law  <law@redhat.com>
11332
11333         [BZ #13882]
11334         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11335         uint16_t for elements in the "seen" array to avoid char overflows.
11336         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11337         * elf/dl-open.c (dl_open_worker): Likewise.
11338
11339 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11340
11341         * scripts/list-sources.sh: Scan PORTS for translations.
11342         * po/libc.pot: Regenerated.
11343
11344 2012-06-21  Andreas Jaeger  <aj@suse.de>
11345
11346         [BZ #12194]
11347         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11348         warning.
11349         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11350         * bits/byteswap-16.h (__bswap_16): Likewise.
11351         * bits/byteswap.h (__bswap_constant_16): Likewise.
11352
11353 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11354
11355         [BZ #14117]
11356         * sysdeps/i386/fpu_control.h: Removed.
11357         * sysdeps/x86_64/fpu_control.h: Moved to ...
11358         * sysdeps/x86/fpu_control.h: Here.
11359
11360         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11361         (_FPU_SETCW): Likewise.
11362
11363 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11364
11365         [BZ #14117]
11366         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11367         * sysdeps/x86/fpu/bits/mathinline.h: This.
11368         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11369
11370         [BZ #14050]
11371         [BZ #14117]
11372         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11373         functions if __x86_64__ is defined.
11374
11375 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11376
11377         * string/endian.h: Add !__ASSEMBLER__ condition for including
11378         conversion interfaces.
11379
11380 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11381
11382         [BZ #14241]
11383         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11384         of ABS(x) in calculating zero to negative powers other than odd
11385         integers.
11386         * math/libm-test.inc (pow_test): Add more tests.
11387
11388 2012-06-15  Andreas Jaeger  <aj@suse.de>
11389
11390         * manual/contrib.texi (Contributors): Update entry of Liubov
11391         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11392         Machado Filho.
11393
11394 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11395
11396         * string/string.h: Add __wur to GNU version of strerror_r.
11397
11398 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11399
11400         [BZ #14229]
11401         * string/Makefile (tests): Add tst-strtok_r.
11402         * string/tst-strtok_r.c: New file.
11403         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11404         RAX_LP/RDX_LP on SAVE_PTR.
11405
11406 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11407
11408         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11409
11410 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11411
11412         * libm_test.inc (csqrt_test): Allow more spurious underflow
11413         exceptions.
11414         (j0_test): Likewise.
11415         (j1_test): Likewise.
11416         (y0_test): Likewise.
11417         (y1_test): Likewise.
11418
11419 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11420
11421         * po/Makefile (libc.pot): Use UTF-8 charset.
11422
11423 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11424
11425         [BZ #14210]
11426         Suppress sign-conversion warning from FD_SET.
11427         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11428         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11429         not unsigned long int.
11430         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11431
11432 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11433
11434         [BZ #14050]
11435         [BZ #14117]
11436         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11437         __extern_always_inline instead of __extern_inline.
11438         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11439         (__signbit): Likewise.
11440         (__signbitl): Support C++ namespace.
11441         (lrintf): New inline function.
11442         (lrint): Likewise.
11443         (llrintf): Likewise.
11444         (llrint): Likewise.
11445         (fmaxf): Likewise.
11446         (fmax): Likewise.
11447         (fminf): Likewise.
11448         (fmin): Likewise.
11449         (rint): Likewise.
11450         (rintf): Likewise.
11451         (ceil): Likewise.
11452         (ceilf): Likewise.
11453         (floor): Likewise.
11454         (floorf): Likewise.
11455         (nearbyint): Likewise.
11456         (nearbyintf): Likewise.
11457
11458 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11459
11460         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11461         non-default versions.
11462
11463 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11464
11465         [BZ #14218]
11466         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11467
11468 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11469
11470         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11471         (FE_UPWARD, FE_DOWNWARD): Don't define.
11472         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11473         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11474
11475         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11476         reading it.
11477         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11478         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11479
11480 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11481
11482         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11483         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11484         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11485         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11486
11487 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11488
11489         [BZ #14117]
11490         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11491         * sysdeps/i386/fpu/Implies: New file.
11492         * sysdeps/x86_64/fpu/Implies: Likewise.
11493         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11494         * sysdeps/x86/fpu/bits/fenv.h: This.
11495
11496         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11497         __SSE_MATH__.
11498
11499 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11500
11501         [BZ #14134]
11502         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11503         character 0xffff that matches the last element of the
11504         conversion table.
11505
11506 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11507
11508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11509         fmodl commit.
11510
11511 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11512
11513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11514         values higher than 25.6283.
11515
11516 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11517
11518         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11519         subnormal exponent extraction and add some __builtin_expect.
11520         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11521         Fix for subnormal mantissa calculation.
11522
11523 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11524
11525         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11526         cpu2 is -1 and errno is not ENOSYS.
11527
11528 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11529
11530         [BZ #14117]
11531         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11532         * sysdeps/x86/bits/string.h: This.
11533         * sysdeps/x86_64/bits/string.h: Removed.
11534
11535         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11536         if not compiling for x86-64, but compiling for >= i486.
11537
11538         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11539         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11540
11541         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11542         New macro from Linux kernel 3.4.0.
11543         (FP_XSTATE_MAGIC2): Likewise.
11544         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11545         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11546         (struct _fpx_sw_bytes): New struct.
11547         (struct _xsave_hdr): Likewise.
11548         (struct _ymmh_state): Likewise.
11549         (struct _xstate): Likewise.
11550
11551         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11552         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11553         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11554         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11555         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11556         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11557
11558         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11559         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11560         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11561         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11562         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11563         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11564
11565 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11566
11567         [BZ #13743]
11568         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11569         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11570         (sysdep_headers): Include sys/platform/ppc.h.
11571         * sysdeps/powerpc/test-gettimebase.c: Test for
11572         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11573         * manual/Makefile (appendices): Include platform.texi.
11574         * manual/contrib.texi (Contributors): Update @node pointers.
11575         * manual/maint.texi (Maintenance): Likewise.
11576         (Platform): New node.
11577         * manual/platform.texi: New file.  Document the new features.
11578
11579 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11580             Jakub Jelinek  <jakub@redhat.com>
11581
11582         [BZ #14188]
11583         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11584         where __builtin_expect is unavailable.
11585
11586 2012-06-03  David S. Miller  <davem@davemloft.net>
11587
11588         * stdlib/longlong.h: Updated from GCC.
11589
11590 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11591
11592         [BZ #14042]
11593         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11594         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11595         __mcount_internal.
11596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11597         (GLIBC_2.16): Likewise.
11598
11599 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11600
11601         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11602
11603 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11604
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11606         (default-abi): New variable.
11607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11608         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11609         variable.
11610         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11611         Likewise.
11612         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11613         Likewise.
11614         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11615         Likewise.
11616
11617         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11618         definition.  Document in comment.
11619
11620 2012-06-01  David S. Miller  <davem@davemloft.net>
11621
11622         * stdlib/longlong.h: Updated from GCC.
11623
11624 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11625
11626         [BZ #14117]
11627         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11628         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11629         sys/debugreg.h sys/io.h here.
11630         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11631         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11632         sys/io.h.
11633         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11634         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11635         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11636         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11637         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11638         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11639
11640         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11641         Define only if __x86_64__ is defined.
11642
11643 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11644
11645         [BZ #14048]
11646         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11647         Use int64_t for variable i.
11648         * math/libm-test.inc (fmod_test): Add more tests.
11649
11650         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11651         z computation is not scheduled after fetestexcept.
11652         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11653         Use math_force_eval instead of asm to ensure calculation scheduled
11654         before exception test.
11655         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11656         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11657
11658 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11659
11660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11661         computation is not scheduled after fetestexcept.
11662
11663 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11664
11665         [BZ #14117]
11666         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11667         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11668
11669 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11670
11671         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11672         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11673
11674 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11675
11676         [BZ #14117]
11677         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11678         <bits/wordsize.h>.
11679         (__WCHAR_MIN): Support __WORDSIZE == 64.
11680         (__WCHAR_MAX): Likewise.
11681
11682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11684
11685         [BZ #14183]
11686         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11687         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11688
11689         [BZ #14117]
11690         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11691         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11692
11693         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11694         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11695
11696         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11697         Defined to 1 if __x86_64__ isn't defined.
11698         (_STAT_VER_LINUX_OLD): New.
11699         (st_atime): Remove duplicate.
11700         (st_mtime): Likewise.
11701         (st_ctime): Likewise.
11702
11703 2012-05-31  David S. Miller  <davem@davemloft.net>
11704
11705         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11706         entries.
11707
11708 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11709
11710         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11711         gen-libm-test.pl.
11712
11713         [BZ #14132]
11714         * elf/dl-reloc.c: Include <_itoa.h>.
11715         (_dl_reloc_bad_type): Remove use of INTUSE.
11716         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11717         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11718         * stdio-common/psiginfo.c (psiginfo): Likewise.
11719         * stdio-common/psignal.c (psignal): Likewise.
11720         * string/strsignal.c (strsignal): Likewise.
11721         * include/signal.h (_sys_siglist): Declare hidden proto.
11722         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11723         INTVARDEF with libc_hidden_data_def.
11724         * stdio-common/itoa-udigits.c: Likewise.
11725         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11726         (_itoa_lower_digits_internal): Remove declaration.
11727         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11728         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11729         (_sys_sigabbrev_internal): Remove aliases.
11730         (_sys_siglist): Define hidden alias.
11731
11732 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11733
11734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11735         bits/sysctl.h.
11736
11737 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11738
11739         [BZ #14117]
11740         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11741         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11742
11743         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11744         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11745         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11746         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11747         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11748         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11749
11750         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11751         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11752         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11753
11754         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11755         with __addr.
11756         (insw): Likewise.
11757         (insl): Likewise.
11758         (outsb): Likewise.
11759         (outsw): Likewise.
11760         (outsl): Likewise.
11761
11762         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11763         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11764         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11765
11766         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11767         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11768         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11769         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11770         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11771         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11772
11773         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11774         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11775
11776         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11777         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11778
11779         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11780         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11781         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11782
11783         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11784         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11785         to ...
11786         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11787
11788         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11789         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11790         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11791
11792         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11793         for x86-64.
11794         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11795
11796 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11797
11798         * math/math.h (M_El): Use two more decimal places.
11799         (M_LOG2El): Likewise.
11800         (M_LOG10El): Likewise.
11801         (M_LN2l): Likewise.
11802         (M_LN10l): Likewise.
11803         (M_PIl): Likewise.
11804         (M_PI_2l): Likewise.
11805         (M_PI_4l): Likewise.
11806         (M_1_PIl): Likewise.
11807         (M_2_PIl): Likewise.
11808         (M_2_SQRTPIl): Likewise.
11809         (M_SQRT2l): Likewise.
11810         (M_SQRT1_2l): Likewise.
11811
11812 2012-05-31  David S. Miller  <davem@davemloft.net>
11813
11814         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11815         values between float registers.
11816         * sysdeps/sparc/sparc64/memset.S: Likewise.
11817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11818
11819 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11820
11821         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11822         -D_FORTIFY_SOURCE=1.
11823         (CPPFLAGS-tst-longjmp_chk.c): Define.
11824         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11825         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11826         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11827         CFLAGS-tst-wchar-h.c.
11828
11829 2012-05-31  Marek Polacek  <polacek@redhat.com>
11830
11831         [BZ #14132]
11832         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11833         __endmntent_internal): Remove declaration.
11834         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11835         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11836         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11837
11838 2012-05-30  David S. Miller  <davem@davemloft.net>
11839
11840         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11841         (___Q_simulate_exceptions): Use real FP ops rather than writing
11842         into the %fsr.
11843         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11844         Likewise.
11845
11846 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11847
11848         [BZ #14117]
11849         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11850         * sysdeps/x86/bits/xtitypes.h: This.
11851
11852         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11853         * sysdeps/x86/bits/wordsize.h: This.
11854
11855         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11856         * sysdeps/x86/bits/huge_vall.h: This.
11857
11858         * sysdeps/i386/bits/select.h: Removed.
11859         * sysdeps/x86_64/bits/select.h: Renamed to ...
11860         * sysdeps/x86/bits/select.h: This.
11861
11862         * sysdeps/i386/bits/setjmp.h: Removed.
11863         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11864         * sysdeps/x86/bits/setjmp.h: This.
11865
11866         * sysdeps/i386/bits/mathdef.h: Removed.
11867         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11868         * sysdeps/x86/bits/mathdef.h: This.
11869
11870 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11871
11872         [BZ #14132]
11873         * include/sys/socket.h (__connect_internal)
11874         (__libc_sa_len_internal): Remove declaration.
11875         (__connect, __libc_sa_len): Declare hidden_proto.
11876         (SA_LEN): Remove use of INTUSE.
11877         * socket/connect.c: Add libc_hidden_def.
11878         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11879         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11880         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11881         alias.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11883         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11884         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11885         of adding _internal alias.
11886
11887 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11888
11889         [BZ #14117]
11890         * sysdeps/i386/bits/link.h: Removed.
11891         * sysdeps/i386/bits/linkmap.h: Likewise.
11892         * sysdeps/x86_64/bits/link.h: Renamed to ...
11893         * sysdeps/x86/bits/link.h: This.
11894         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11895         * sysdeps/x86/bits/linkmap.h: This.
11896
11897         * sysdeps/i386/bits/endian.h: Removed.
11898         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11899         * sysdeps/x86/bits/endian.h: This.
11900
11901         * sysdeps/i386/bits/byteswap.h: Removed.
11902         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11903         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11904         * sysdeps/x86/bits/byteswap.h: This.
11905         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11906         * sysdeps/x86/bits/byteswap-16.h: This.
11907         * sysdeps/i386/Implies: Add x86.
11908         * sysdeps/x86_64/Implies: Likewise.
11909
11910 2012-05-30  David S. Miller  <davem@davemloft.net>
11911
11912         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11913         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11914         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11915         (FP_TRAPPING_EXCEPTIONS): Define.
11916         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11917         (FP_TRAPPING_EXCEPTIONS): Define.
11918         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11919         subnormals only when inexact has been signalled or underflow
11920         exceptions are enabled.
11921         (_FP_PACK_CANONICAL): Likewise.
11922
11923 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11924
11925         [BZ #14183]
11926         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11927         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11928
11929 2012-05-30  Richard Henderson  <rth@twiddle.net>
11930
11931         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11932         with #ifndef NOT_IN_libc.
11933
11934         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11935         marked to avoid plt entry.
11936
11937 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11938
11939         [BZ #14112]
11940         * Makeconfig (default-abi): New macro.
11941         (abi-includes): Likewise.
11942         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11943         $(abi-$(default-abi)-lib-soname) for soname if defined.
11944         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11945         abi-variants.
11946         * Makefile (installed-stubs): Likewise.
11947         * include/stubs-biarch.h: Removed.
11948         * scripts/lib-names.awk: Only handle one library at a time.
11949         * scripts/soversions.awk: Remove WORDSIZE support.
11950         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11951         entries.
11952         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11953         Removed.
11954         (syscall-list-default-condition): Likewise.
11955         (syscall-list-default-condition): Likewise.
11956         (syscall-list-includes): Likewise.
11957         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11958         syscall-list-* with abi-*.  Handle undefined abi-variants.
11959         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11960         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11961         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11962         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11963         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11964         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11965         Removed.
11966         (syscall-list-32-options): Likewise.
11967         (syscall-list-32-condition): Likewise.
11968         (syscall-list-64-options): Likewise.
11969         (syscall-list-64-condition): Likewise.
11970         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11971         macro.
11972         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11973         Renamed to ...
11974         (abi-*): This.
11975         (abi-64-ld-soname): New macro.
11976         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11977         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11978         Renamed to ...
11979         (abi-*): This.
11980         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11981         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11982
11983 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11984
11985         * sysdeps/unix/sysv/linux/kernel-features.h
11986         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11987         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11988         include <kernel-features.h>.
11989         [!__NR_ftruncate64]: Remove conditional code.
11990         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11991         [__NR_ftruncate64]: Make code unconditional.
11992         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11993         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11994         include <kernel-features.h>.
11995         [!__NR_ftruncate64]: Remove conditional code.
11996         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11997         [__NR_ftruncate64]: Make code unconditional.
11998         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12000         include <kernel-features.h>.
12001         [!__NR_ftruncate64]: Remove conditional code.
12002         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12003         [__NR_ftruncate64]: Make code unconditional.
12004         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12006         include <kernel-features.h>.
12007         [!__NR_ftruncate64]: Remove conditional code.
12008         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12009         [__NR_ftruncate64]: Make code unconditional.
12010         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12011
12012         * configure.in (libc_cv_fpie): Weaken to a compile test using
12013         LIBC_TRY_CC_OPTION.
12014         * configure: Regenerated.
12015
12016 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12017
12018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12022         Refreshed.
12023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12029         Refreshed.
12030
12031 2012-05-27  David S. Miller  <davem@davemloft.net>
12032
12033         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12034         (___Q_zero): New.
12035         (__Q_simulate_exceptions): Return void.  Change to simulate
12036         exceptions by writing into the %fsr.
12037         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12038         (__Qp_handle_exceptions): Likewise.
12039         (numbers): Delete.
12040         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12041         __Qp_handle_exceptions.
12042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12043         __Qp_handle_exceptions.
12044         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12045         as unused and give dummy FP_RND_NEAREST initializer.
12046         (FP_INHIBIT_RESULTS): Define.
12047         (___Q_simulate_exceptions): Update declaration.
12048         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12049         formatting.
12050         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12051         as unused and give dummy FP_RND_NEAREST initializer.
12052         (__Qp_handle_exceptions): Update declaration.
12053         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12054         formatting.
12055
12056 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12057
12058         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12059         the temporary FPU control word.
12060         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12061         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12062         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12063         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12064         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12065         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12066         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12067         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12068         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12069         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12070         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12071
12072 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12073
12074         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12075         fields.
12076
12077 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12078
12079         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12080         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12081         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12082         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12083         Likewise.
12084         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12085         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12086         Likewise.
12087
12088 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12089
12090         * po/h.po: Update from translation team.
12091
12092 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12093
12094         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12095
12096         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12097         handling of denormals.
12098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12099         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12100         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12101         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12102         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12105         Likewise.
12106
12107 2012-05-26  Marek Polacek  <polacek@redhat.com>
12108
12109         [BZ #14152]
12110         * math/libm-test.inc (fma_test): Don't always expect underflow
12111         exception.
12112
12113 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12114
12115         [BZ #12416]
12116         * elf/tst-execstack.c: Include stackinfo.h.
12117         (do_test): Adjust test case to ensure that pthread_getattr_np
12118         behaviour remains the same after marking stack executable.
12119
12120 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12121
12122         * sysdeps/unix/sysv/linux/kernel-features.h
12123         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12124         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12125         kernel-features.h.
12126         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12127         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12128         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12129         kernel-features.h.
12130         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12131         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12132
12133 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12134
12135         * configure.in: Define the default includes to being none.
12136         * configure: Regenerated.
12137
12138 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12139
12140         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12141         * sysdeps/x86_64/setjmp.S: Likewise.
12142         * sysdeps/i386/bsd-setjmp.S: Likewise.
12143         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12144         * sysdeps/i386/setjmp.S: Likewise.
12145         * sysdeps/i386/__longjmp.S: Likewise.
12146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12147         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12148
12149         * include/stap-probe.h: New file.
12150         * configure.in: Handle --enable-systemtap.
12151         * configure: Regenerated.
12152         * config.h.in (USE_STAP_PROBE): New #undef.
12153         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12154         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12155         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12156
12157 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12158
12159         [BZ #13717]
12160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12161         to 2.4.0 where earlier.
12162         * sysdeps/unix/sysv/linux/configure: Regenerated.
12163         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12164         <kernel-features.h>.
12165         [__ASSUME_32BITUIDS]: Make code unconditional.
12166         [!__ASSUME_32BITUIDS]: Remove conditional code.
12167         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12168         <kernel-features.h>.
12169         [__ASSUME_32BITUIDS]: Make code unconditional.
12170         [!__ASSUME_32BITUIDS]: Remove conditional code.
12171         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12172         [__ASSUME_32BITUIDS]: Make code unconditional.
12173         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12174         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12175         <kernel-features.h>.
12176         [__ASSUME_32BITUIDS]: Make code unconditional.
12177         [!__ASSUME_32BITUIDS]: Remove conditional code.
12178         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12179         <kernel-features.h>.
12180         [__ASSUME_32BITUIDS]: Make code unconditional.
12181         [!__ASSUME_32BITUIDS]: Remove conditional code.
12182         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12183         <kernel-features.h>.
12184         [__ASSUME_32BITUIDS]: Make code unconditional.
12185         [!__ASSUME_32BITUIDS]: Remove conditional code.
12186         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12187         <kernel-features.h>.
12188         [__ASSUME_32BITUIDS]: Make code unconditional.
12189         [!__ASSUME_32BITUIDS]: Remove conditional code.
12190         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12191         <kernel-features.h>.
12192         [__ASSUME_32BITUIDS]: Make code unconditional.
12193         [!__ASSUME_32BITUIDS]: Remove conditional code.
12194         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12195         <kernel-features.h>.
12196         [__ASSUME_32BITUIDS]: Make code unconditional.
12197         [!__ASSUME_32BITUIDS]: Remove conditional code.
12198         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12199         <kernel-features.h>.
12200         [__ASSUME_32BITUIDS]: Make code unconditional.
12201         [!__ASSUME_32BITUIDS]: Remove conditional code.
12202         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12203         <kernel-features.h>.
12204         [__ASSUME_32BITUIDS]: Make code unconditional.
12205         [!__ASSUME_32BITUIDS]: Remove conditional code.
12206         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12207         <kernel-features.h>.
12208         [__ASSUME_32BITUIDS]: Make code unconditional.
12209         [!__ASSUME_32BITUIDS]: Remove conditional code.
12210         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12211         <kernel-features.h>.
12212         [__ASSUME_32BITUIDS]: Make code unconditional.
12213         [!__ASSUME_32BITUIDS]: Remove conditional code.
12214         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12215         <kernel-features.h>.
12216         [__NR_setresgid] (__setresgid): Do not declare.
12217         [__ASSUME_32BITUIDS]: Make code unconditional.
12218         [!__ASSUME_32BITUIDS]: Remove conditional code.
12219         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12220         <kernel-features.h>.
12221         [__NR_setresuid] (__setresuid): Do not declare.
12222         [__ASSUME_32BITUIDS]: Make code unconditional.
12223         [!__ASSUME_32BITUIDS]: Remove conditional code.
12224         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
12249         <kernel-features.h>.
12250         [__ASSUME_32BITUIDS]: Make code unconditional.
12251         [!__ASSUME_32BITUIDS]: Remove conditional code.
12252         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12253         <kernel-features.h>.
12254         [__ASSUME_32BITUIDS]: Make code unconditional.
12255         [!__ASSUME_32BITUIDS]: Remove conditional code.
12256         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12257         <kernel-features.h>.
12258         [__ASSUME_32BITUIDS]: Make code unconditional.
12259         [!__ASSUME_32BITUIDS]: Remove conditional code.
12260         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12261         <kernel-features.h>.
12262         [__ASSUME_32BITUIDS]: Make code unconditional.
12263         [!__ASSUME_32BITUIDS]: Remove conditional code.
12264         * sysdeps/unix/sysv/linux/kernel-features.h
12265         (__ASSUME_SETRESUID_SYSCALL): Remove.
12266         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12267         (__ASSUME_32BITUIDS): Likewise.
12268         (__ASSUME_LDT_WORKS): Likewise.
12269         (__ASSUME_O_DIRECTORY): Likewise.
12270         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12271         architecture but not kernel version.
12272         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12273         (__ASSUME_MMAP2_SYSCALL): Likewise.
12274         (__ASSUME_STAT64_SYSCALL): Likewise.
12275         (__ASSUME_IPC64): Likewise.
12276         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12277         <kernel-features.h>.
12278         [__ASSUME_32BITUIDS]: Make code unconditional.
12279         [!__ASSUME_32BITUIDS]: Remove conditional code.
12280         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12281         <kernel-features.h>.
12282         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12283         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12284         132096]: Remove conditional code.
12285         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12286         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
12295         <kernel-features.h>.
12296         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12297         unconditional.
12298         (__setresgid): Do not declare.
12299         [__ASSUME_32BITUIDS]: Make code unconditional.
12300         [!__ASSUME_32BITUIDS]: Remove conditional code.
12301         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12302         <kernel-features.h>.
12303         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12304         unconditional.
12305         (__setresuid): Do not declare.
12306         [__ASSUME_32BITUIDS]: Make code unconditional.
12307         [!__ASSUME_32BITUIDS]: Remove conditional code.
12308         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12309         <kernel-features.h>.
12310         [__ASSUME_32BITUIDS]: Make code unconditional.
12311         [!__ASSUME_32BITUIDS]: Remove conditional code.
12312         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12313         <kernel-features.h>.
12314         [__ASSUME_32BITUIDS]: Make code unconditional.
12315         [!__ASSUME_32BITUIDS]: Remove conditional code.
12316
12317 2012-05-25  Richard Henderson  <rth@twiddle.net>
12318
12319         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12320         dl_hwcap to ifunc resolver.
12321         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12322         elf_ifunc_invoke.
12323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12324         dl_hwcap to ifunc resolver.
12325         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12326
12327 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12328
12329         [BZ #14153]
12330         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12331         for |x| <= 2**-26, not 2**-57.
12332         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12333         exception.
12334
12335 2012-05-24  Jeff Law  <law@redhat.com>
12336
12337         * stdio-common/Makefile (tests): Add bug25.
12338         * stdio-common/bug25.c: New test.
12339
12340 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12341
12342         [BZ #13576]
12343         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12344         multiple of MALLOC_ALIGNMENT in size.
12345         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12346
12347 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12348
12349         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12350         Require >= 256.
12351         (FILENAME_MAX): Use macro-int-constant.
12352         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12353         (_IOFBF): Use macro-int-constant.
12354         (_IOLBF): Likewise.
12355         (_IONBF): Likewise.
12356         (SEEK_CUR): Likewise.
12357         (SEEK_END): Likewise.
12358         (SEEK_SET): Likewise.
12359         (TMP_MAX): Likewise.
12360         (EOF): Use macro-int-constant.  Require < 0.
12361         (NULL): Use macro-constant.  Require == 0.
12362         (stdin): Require type to be FILE *.
12363         (stdout): Likewise.
12364         (stderr): Likewise.
12365         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12366         macro-int-constant.
12367         (EXIT_SUCCESS): Likewise.
12368         (NULL): Use macro-constant.  Require == 0.
12369         (RAND_MAX): Use macro-int-constant.
12370         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12371         [C99-based standards] (strtof): Require function.
12372         [C99-based standards] (strtold): Likewise.
12373         [C99-based standards] (strtoll): Likewise.
12374         [C99-based standards] (strtoull): Likewise.
12375         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12376         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12377         [ISO || ISO99 || ISO11] (math.h): Likewise.
12378         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12379         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12380         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12381
12382 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12383
12384         [BZ #14132]
12385         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12386         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12387         * intl/dgettext.c (DCGETTEXT): Likewise.
12388         * intl/gettext.c (DCGETTEXT): Likewise.
12389         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12390         * posix/regex_internal.h (gettext): Likewise.
12391         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12392         Remove declaration.
12393         * include/argz.h (__argz_count_internal)
12394         (__argz_stringify_internal): Remove declaration.
12395         (__argz_count, __argz_stringify): Declare hidden proto.
12396         * intl/dcgettext.c: Remove use of INTDEF.
12397         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12398         * string/argz-stringify.c: Likewise.
12399         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12400         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12401         Declare hidden proto.
12402         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12403         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12404         Declare hidden proto.
12405         * include/stdio.h (__asprintf_internal): Don't declare.
12406         (__asprintf): Don't define as macro.  Declare hidden proto.
12407         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12408         (__fsetlocking): Declare hidden proto.
12409         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12410         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12411         hidden proto.
12412         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12413         (_IO_setlinebuf): Remove use of INTUSE.
12414         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12415         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12416         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12417         Remove declaration.
12418         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12419         (_IO_do_flush): Remove use of INTUSE.
12420         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12421         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12422         (_IO_adjust_column, _IO_least_wmarker)
12423         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12424         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12425         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12426         (_IO_default_doallocate, _IO_wdefault_doallocate)
12427         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12428         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12429         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12430         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12431         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12432         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12433         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12434         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12435         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12436         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12437         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12438         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12439         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12440         proto.
12441         (_IO_flush_all_internal, _IO_adjust_column_internal)
12442         (_IO_default_uflow_internal, _IO_default_finish_internal)
12443         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12444         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12445         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12446         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12447         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12448         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12449         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12450         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12451         (_IO_file_close_internal, _IO_file_close_it_internal)
12452         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12453         (_IO_file_init_internal, _IO_file_attach_internal)
12454         (_IO_file_fopen_internal, _IO_file_read_internal)
12455         (_IO_file_sync_internal, _IO_file_seek_internal)
12456         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12457         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12458         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12459         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12460         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12461         (_IO_list_all_internal, _IO_link_in_internal)
12462         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12463         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12464         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12465         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12466         (_IO_do_write_internal, _IO_padn_internal)
12467         (_IO_getline_info_internal, _IO_getline_internal)
12468         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12469         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12470         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12471         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12472         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12473         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12474         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12475         with libc_hidden_ver, remove use of INTUSE.
12476         * libio/genops.c: Likewise.
12477         * libio/freopen.c: Likewise.
12478         * libio/freopen64.c: Likewise.
12479         * libio/iofclose.c: Likewise.
12480         * libio/iofdopen.c: Likewise.
12481         * libio/iofflush.c: Likewise.
12482         * libio/iofflush_u.c: Likewise.
12483         * libio/iofgets.c: Likewise.
12484         * libio/iofgets_u.c: Likewise.
12485         * libio/iofopen.c: Likewise.
12486         * libio/iofopncook.c: Likewise.
12487         * libio/iofread.c: Likewise.
12488         * libio/iofread_u.c: Likewise.
12489         * libio/ioftell.c: Likewise.
12490         * libio/iofwrite.c: Likewise.
12491         * libio/iogetline.c: Likewise.
12492         * libio/iogets.c: Likewise.
12493         * libio/iogetwline.c: Likewise.
12494         * libio/iopadn.c: Likewise.
12495         * libio/iopopen.c: Likewise.
12496         * libio/ioseekoff.c: Likewise.
12497         * libio/ioseekpos.c: Likewise.
12498         * libio/iosetbuffer.c: Likewise.
12499         * libio/iosetvbuf.c: Likewise.
12500         * libio/ioungetc.c: Likewise.
12501         * libio/ioungetwc.c: Likewise.
12502         * libio/iovdprintf.c: Likewise.
12503         * libio/iovsprintf.c: Likewise.
12504         * libio/iovsscanf.c: Likewise.
12505         * libio/memstream.c: Likewise.
12506         * libio/obprintf.c: Likewise.
12507         * libio/oldfileops.c: Likewise.
12508         * libio/oldiofclose.c: Likewise.
12509         * libio/oldiofdopen.c: Likewise.
12510         * libio/oldiofopen.c: Likewise.
12511         * libio/oldiopopen.c: Likewise.
12512         * libio/oldstdfiles.c: Likewise.
12513         * libio/putc.c: Likewise.
12514         * libio/setbuf.c: Likewise.
12515         * libio/setlinebuf.c: Likewise.
12516         * libio/stdfiles.c: Likewise.
12517         * libio/strops.c: Likewise.
12518         * libio/vasprintf.c: Likewise.
12519         * libio/vscanf.c: Likewise.
12520         * libio/vsnprintf.c: Likewise.
12521         * libio/vswprintf.c: Likewise.
12522         * libio/wfiledoalloc.c: Likewise.
12523         * libio/wfileops.c: Likewise.
12524         * libio/wgenops.c: Likewise.
12525         * libio/wmemstream.c: Likewise.
12526         * libio/wstrops.c: Likewise.
12527         * libio/__fpurge.c: Likewise.
12528         * libio/__fsetlocking.c: Likewise.
12529         * assert/assert.c: Likewise.
12530         * debug/fgets_chk.c: Likewise.
12531         * debug/fgets_u_chk.c: Likewise.
12532         * debug/fread_chk.c: Likewise.
12533         * debug/fread_u_chk.c: Likewise.
12534         * debug/gets_chk.c: Likewise.
12535         * debug/obprintf_chk.c: Likewise.
12536         * debug/vasprintf_chk.c: Likewise.
12537         * debug/vdprintf_chk.c: Likewise.
12538         * debug/vsnprintf_chk.c: Likewise.
12539         * debug/vsprintf_chk.c: Likewise.
12540         * malloc/mtrace.c: Likewise.
12541         * misc/error.c: Likewise.
12542         * misc/syslog.c: Likewise.
12543         * stdio-common/asprintf.c: Likewise.
12544         * stdio-common/fxprintf.c: Likewise.
12545         * stdio-common/getw.c: Likewise.
12546         * stdio-common/isoc99_fscanf.c: Likewise.
12547         * stdio-common/isoc99_scanf.c: Likewise.
12548         * stdio-common/isoc99_vfscanf.c: Likewise.
12549         * stdio-common/isoc99_vscanf.c: Likewise.
12550         * stdio-common/isoc99_vsscanf.c: Likewise.
12551         * stdio-common/printf-prs.c: Likewise.
12552         * stdio-common/printf_fp.c: Likewise.
12553         * stdio-common/printf_fphex.c: Likewise.
12554         * stdio-common/printf_size.c: Likewise.
12555         * stdio-common/putw.c: Likewise.
12556         * stdio-common/scanf.c: Likewise.
12557         * stdio-common/sprintf.c: Likewise.
12558         * stdio-common/tmpfile.c: Likewise.
12559         * stdio-common/vfprintf.c: Likewise.
12560         * stdio-common/vfscanf.c: Likewise.
12561         * stdlib/strfmon_l.c: Likewise.
12562         * sunrpc/openchild.c: Likewise.
12563         * sunrpc/xdr_stdio.c: Likewise.
12564         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12565         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12566
12567 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12568
12569         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12570
12571         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12572         in the third column, to generate for the shared library an IFUNC
12573         that uses _dl_vdso_vsym.
12574         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12575         * Makeconfig (object-suffixes-noshared): New variable.
12576
12577         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12578         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12579         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12580         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12581
12582         [BZ #14132]
12583         * include/sys/time.h (__gettimeofday): Remove macro.
12584         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12585         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12586         Remove INTDEF.
12587         (__gettimeofday): Add libc_hidden_def.
12588         (gettimeofday): Add libc_hidden_weak.
12589         * sysdeps/mach/gettimeofday.c: Likewise.
12590         * sysdeps/posix/gettimeofday.c: Likewise.
12591         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12592         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12593         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12594         (__gettimeofday_internal): Remove strong_alias.
12595         (__gettimeofday): Add libc_hidden_def.
12596         (gettimeofday): Add libc_hidden_weak.
12597         * sysdeps/unix/syscalls.list (gettimeofday):
12598         Remove __gettimeofday_internal alias.
12599
12600 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12601             H.J. Lu  <hongjiu.lu@intel.com>
12602
12603         [BZ #12495]
12604         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12605         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12606         (largebin_index_32_big): New.
12607         (largebin_index): Use it for 16-byte alignment.
12608         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12609         correction with front_misalign.
12610
12611 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12612
12613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12615         Likewise.
12616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12619         Likewise.
12620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12621         Likewise.
12622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12623         Likewise.
12624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12625         Likewise.
12626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12627         Likewise.
12628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12629         Likewise.
12630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12631         Likewise.
12632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12633         Likewise.
12634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12635         Likewise.
12636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12637         Likewise.
12638
12639         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12640         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12641
12642 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12643
12644         [BZ #10846]
12645         [BZ #14036]
12646         * math/libm-test.inc (exp_test): Add test from bug 14036.
12647         (pow_test): Add test from bug 10846.
12648
12649         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12650         and other flags.
12651         (special_function): Do not include flags in test name.
12652         (parse_args): Likewise.
12653         * sysdeps/i386/fpu/libm-test-ulps: Update.
12654         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12655         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12656         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12658
12659         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12660         exceptions.
12661         * math/libm-test.inc ("Philosophy"): Update comment about
12662         exception testing.
12663         (UNDERFLOW_EXCEPTION): New macro.
12664         (UNDERFLOW_EXCEPTION_OK): Likewise.
12665         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12666         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12667         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12668         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12669         (INVALID_EXCEPTION_OK): Update value.
12670         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12671         (OVERFLOW_EXCEPTION_OK): Likewise.
12672         (IGNORE_ZERO_INF_SIGN): Likewise.
12673         (test_exceptions): Handle underflow exceptions.
12674         (acos_test): Update for underflow exception expectations.
12675         (cexp_test): Likewise.
12676         (clog_test): Likewise.
12677         (clog10_test): Likewise.
12678         (csqrt_test): Likewise.
12679         (ctan_test): Likewise.
12680         (ctanh_test): Likewise.
12681         (exp_test): Likewise.
12682         (exp10_test): Likewise.
12683         (exp2_test): Likewise.
12684         (expm1_test): Likewise.
12685         (fma_test): Likewise.
12686         (j0_test): Likewise.
12687         (jn_test): Likewise.
12688         (nexttoward_test): Likewise.
12689         (pow_test): Likewise.
12690         (scalbn_test): Likewise.
12691         (scalbln_test): Likewise.
12692         (tan_test): Likewise.
12693         (y1_test): Likewise.
12694         * sysdeps/i386/fpu/libm-test-ulps: Update.
12695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12696
12697 2012-05-23  David S. Miller  <davem@davemloft.net>
12698
12699         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12700         (__libc_sigaction): Remove unused local variables.
12701
12702 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12703
12704         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12705
12706 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12707
12708         mktime: avoid signed integer overflow
12709         * time/mktime.c (__mktime_internal): Do not mishandle the case
12710         where diff == INT_MIN.
12711
12712         mktime: simplify computation of average
12713         * time/mktime.c (ranged_convert): Use new time_t_avg function
12714         instead of rolling our own (probably-slower) code.
12715
12716         mktime: do not assume signed right shift propagates sign bit
12717         * time/mktime.c (isdst_differ): New static function.
12718         (__mktime_internal): No need to normalize tm_isdst now.
12719         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12720         tm_isdst values.
12721
12722         mktime: merge another wrapv change from gnulib
12723         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12724         from some compilers.
12725
12726         mktime: remove incorrect attempt at unusual arithmetics
12727         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12728         The code didn't really work on such machines anyway.
12729         (TYPE_MINIMUM): Assume two's complement.
12730         (twos_complement_arithmetic): Verify that long_int and time_t
12731         are two's complement (or unsigned, in the latter case).
12732
12733         mktime: check signed shifts on long_int and time_t, too
12734         * time/mktime.c (SHR): Check that shifts work as desired
12735         on the types long_int and time_t too, as SHR is used on
12736         such types.
12737
12738         mktime: do not assume 'long' is wide enough
12739         * time/mktime.c (verify): Move decl up.
12740         (long_int): New type.
12741         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12742         to remove assumption in the code that 'long' is wide enough to
12743         store year values.  This assumption is not true on x32 and on
12744         some non-glibc platforms.
12745
12746         mktime: merge wrapv change from gnulib
12747         * time/mktime.c (WRAPV): New macro.
12748         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12749         (guess_time_tm, __mktime_internal): Do not assume that signed
12750         integer overflow wraps around; modern compilers generate code
12751         where this assumption is no longer valid.
12752
12753 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12754
12755         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12756         Replace "jmp L(pseudo_end)" with "ret".
12757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12758         Likewise.
12759
12760 2012-05-23  Andreas Jaeger  <aj@suse.de>
12761
12762         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12763         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12764
12765 2012-05-23  Andreas Jaeger  <aj@suse.de>
12766             Maximilian Attems  <max@stro.at>
12767
12768         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12769         New macros.
12770
12771 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12772
12773         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12774         code so that pseudo_end is just ret and the stack pointer is
12775         correct also for static library in error case.
12776
12777 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12778
12779         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12780         move to syscalls.list.
12781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12785
12786         * manual/install.texi (Running make install): Do not mention Linux
12787         kernel version for which pt_chown is not needed.
12788         (Linux): Do not mention problems with nscd with 2.0 kernels.
12789         * INSTALL: Regenerated.
12790
12791 2012-05-23  Andreas Jaeger  <aj@suse.de>
12792
12793         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12794         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12795         macro.
12796         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12797         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12798         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12799         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12800         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12801         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12802         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12803         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12804         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12805         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12806         * sysdeps/unix/sysv/linux/bits/in.h
12807         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12808
12809 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12810
12811         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12812         (PREPARE_VERSION): Just use assert instead, it will be elided
12813         under [NDEBUG] anyway.
12814
12815 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12816
12817         * sysdeps/unix/sysv/linux/Makefile: Include
12818         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12819         (sysdep_routines): Remove sysctl.
12820         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12821         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12822         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12823         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12824         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12825
12826 2012-05-22  Andreas Jaeger  <aj@suse.de>
12827
12828         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12829         that pseudo_end is just ret and the stack pointer is correct also
12830         for static library in error case.
12831
12832 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12833
12834         [BZ #14122]
12835         * nss/nsswitch.c (defconfig_entries): New variable.
12836         (__nss_database_lookup): Don't leak defconfig entries.
12837         (nss_parse_service_list): Don't leak on error paths.
12838         (free_database_entries): New function.
12839         (free_defconfig): New function.
12840         (free_mem): Move common code to free_database_entries.
12841
12842 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12843
12844         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12845         Add arch_prctl.
12846         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12847
12848         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12849         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12851         New macro.
12852         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12853         (INTERNAL_SYSCALL_TYPES): Likewise.
12854         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12855         (LOAD_REGS_TYPES_[1-6]): Likewise.
12856         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12857         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12858
12859 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12860
12861         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12862         copysignl for GLIBC_2_0.
12863         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12864         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12865         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12866         logbl for GLIBC_2_0.
12867         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12868         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12869
12870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12871
12872         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12873         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12874
12875         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12876         Use "neg %eax".
12877
12878         * time/mktime.c: Update copyright years.
12879
12880 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12881
12882         mktime: merge comment-quoting-style change from gnulib
12883         * time/mktime.c: Quote 'like this' in comments.
12884         The GNU coding standards suggest that we no longer quote `like this',
12885         as "`" and "'" are typically rendered asymmetrically nowadays.
12886         The typical gnulib style is to quote 'like this' when quoting
12887         code, and "like this" when quoting English.
12888
12889         * time/mktime.c (compile-command): Add "-I.".
12890
12891         mktime: merge mktime-internal.h change from gnulib
12892         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12893
12894         mktime: merge time_r change from gnulib
12895         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12896
12897         mktime: merge DEBUG change from gnulib
12898         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12899         case system <time.h> has a #define.
12900
12901         mktime: merge <sys/types.h> change from gnulib
12902         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12903         since <time.t> is now guaranteed to define time_t.
12904
12905         mktime: merge HAVE_CONFIG_H change from gnulib
12906         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12907
12908 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12909
12910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12911         Use "neg %eax".
12912
12913         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12914         __rlim_t cast.
12915         (struct rusage): Use anonymous union to pad each field to
12916         __syscall_slong_t.
12917
12918 2012-05-21  David S. Miller  <davem@davemloft.net>
12919
12920         * Makefules (o-iterator): Remove .s cases.
12921         (compile-command.s): Delete.
12922         (COMPILE.s): Delete.
12923         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12924
12925 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12926
12927         * configure.in (libc_cv_predef_stack_protector): Only consider
12928         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12929         * configure: Regenerated.
12930
12931 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12932
12933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12934         New macro.  Use R*LP on int and pointer.
12935         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12936         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12937         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12938         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12939
12940         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12941         [__WORDSIZE_TIME64_COMPAT32] instead of
12942         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12943         (struct utmp): Likewise.
12944         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12945         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12946         Renamed to ...
12947         (__WORDSIZE_TIME64_COMPAT32): This.
12948         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12949         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12950         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12951         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12952         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12953         (__WORDSIZE_TIME64_COMPAT32): New macro.
12954
12955 2012-05-21  Andreas Jaeger  <aj@suse.de>
12956
12957         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12958         only if [SHARED]. Add prototype for __wcschr_ia32.
12959
12960 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12961
12962         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12963         of %rbp unmolested in the jmp_buf while mangling the low bits.
12964         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12965         unmolested high bits of %rbp while demangling the low bits.
12966         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12967
12968 2012-05-21  Andreas Jaeger  <aj@suse.de>
12969
12970         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12971         * sunrpc/svc_simple.c: Use it for registerrpc.
12972         * sunrpc/xcrypt.c: Use it for passwd2des.
12973
12974         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12975
12976 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12977
12978         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12979         Don't define if [__SYSCALL_WORDSIZE != 32].
12980         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12981         New macro.
12982
12983 2012-05-21  Bruno Haible  <bruno@clisp.org>
12984             Andreas Jaeger  <aj@suse.de>
12985
12986         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12987         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12988         inptr and inend for must_buffer_ch.
12989         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12990         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12991         * stdio-common/Makefile (tests): Remove bug15.
12992         (bug15-ENV): Remove macro.
12993         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12994         anymore.
12995
12996 2012-05-19  Andreas Jaeger  <aj@suse.de>
12997             Roland McGrath  <roland@hack.frob.com>
12998
12999         * manual/contrib.texi: Completely rewritten. It contains now an
13000         alphabetical list of contributors and their contributions.
13001
13002 2012-05-21  Richard Henderson  <rth@twiddle.net>
13003
13004         * misc/getauxval.c (__getauxval): Use unsigned long int.
13005         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13006         (getauxval): Use unsigned long int.
13007
13008 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13009
13010         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13011
13012 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13013
13014         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13015         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13016         __alignof__ (long double).
13017
13018 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13019
13020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13021
13022 2012-05-20  Richard Henderson  <rth@twiddle.net>
13023
13024         * misc/getauxval.c: New file.
13025         * misc/sys/auxv.h: New file.
13026         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13027         (routines): Add getauxval.
13028         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13029         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13030         * elf/dl-sysdep.c (_dl_auxv): Remove.
13031         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13032         * elf/dl-support.c (_dl_auxv): New variable.
13033         (_dl_aux_init): Initialize it.
13034         * manual/startup.texi (Auxiliary Vector): New node.
13035         * sysdeps/generic/bits/hwcap.h: New file.
13036         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13037         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13038         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13039         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13040         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13041         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13043         Update.
13044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13047         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13052
13053 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13054
13055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13056
13057 2012-05-19  David S. Miller  <davem@davemloft.net>
13058
13059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13060
13061 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13062
13063         [BZ #14123]
13064         * math/s_ccosh.c: Include <float.h>
13065         (__ccosh): Avoid internal overflow calculating sinh and cosh
13066         values before multiplying by sin and cos values.
13067         * math/s_ccoshf.c: Likewise.
13068         * math/s_ccoshl.c: Likewise.
13069         * math/s_csin.c: Likewise.
13070         * math/s_csinf.c: Likewise.
13071         * math/s_csinl.c: Likewise.
13072         * math/s_csinh.c: Likewise.
13073         * math/s_csinhf.c: Likewise.
13074         * math/s_csinhl.c: Likewise.
13075         * math/libm-test.inc (ccos_test): Add more tests.
13076         (ccosh_test): Likewise.
13077         (csin_test): Likewise.
13078         (csinh_test): Likewise.
13079         * sysdeps/i386/fpu/libm-test-ulps: Update.
13080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13081
13082 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13083
13084         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13085         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13086
13087         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13088
13089 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13090
13091         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13092         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13093         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13094         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13095         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13096         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13097         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13098         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13099         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13100         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13101         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13102         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13103         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13104         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13105         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13106         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13107         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13108         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13109         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13110         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13111         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13112         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13113         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13114         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13115         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13116         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13117         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13118         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13119         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13120         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13121         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13122
13123 2012-05-18  Andreas Jaeger  <aj@suse.de>
13124
13125         * csu/.gitignore: Delete.
13126
13127 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13128
13129         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13130         (timex): Use __syscall_slong_t.
13131
13132 2012-05-18  Andreas Jaeger  <aj@suse.de>
13133             Carlos O'Donell  <carlos_odonell@mentor.com>
13134
13135         * manual/install.texi (Configuring and compiling): Update
13136         description about files modified in the source directory.
13137         * INSTALL: Regenerated.
13138
13139 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13140
13141         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13142         value.  Use "or" to set return value to -1.
13143         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13144         negate return value.
13145
13146 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13147
13148         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13149         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13150         failure if the compiler has Graphite support disabled.
13151         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13152         Likewise.
13153         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13154         CFLAGS-memmove.c): Likewise.
13155         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13156         Likewise.
13157
13158 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13159
13160         * sysdeps/x86_64/x32/_itoa.h: New file.
13161
13162         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13163         getdents system call only if kernel and user dirents have the
13164         same d_ino and d_off.
13165
13166         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13167         LLONG_MAX != LONG_MAX.
13168         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13169         (_fitoa_word): Likewise.
13170
13171         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13172         years.
13173         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13174         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13175         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13176
13177         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13178         include <bits/wordsize.h>.  Check __x86_64__ instead of
13179         __WORDSIZE.
13180         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13181         if __x86_64__ is defined.  Use anonymous union on fpstate.
13182
13183         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13184         anonymous union.
13185
13186 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13187
13188         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13189         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13190         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13191         Refer to _rtld_local_ro instead of _rtld_global_ro.
13192         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13193         Likewise.
13194         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13195         Likewise.
13196         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13197         Likewise.
13198         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13199         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13200         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13201
13202         * sysdeps/powerpc/powerpc32/dl-machine.c
13203         (__elf_machine_runtime_setup) [PROF]: Don't reference
13204         _dl_prof_resolve.
13205
13206 2012-05-18  Andreas Jaeger  <aj@suse.de>
13207
13208         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13209         function only available for GCCs before 3.4 since GCC 3.4
13210         introduced a builtin.
13211         (lrint): Likewise.
13212         (llrintf): Likewise.
13213         (llrint): Likewise.
13214         (fmaxf): Likewise.
13215         (fmax): Likewise.
13216         (fminf): Likewise.
13217         (fmin): Likewise.
13218         (rint): Likewise.
13219         (rintf): Likewise.
13220         (nearbyint): Likewise.
13221         (nearbyintf): Likewise.
13222         (ceil): Likewise.
13223         (ceilf): Likewise.
13224         (floor): Likewise.
13225         (floorf): Likewise.
13226
13227 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13228
13229         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13230         on both fields and cast pointer to __syscall_ulong_t.
13231
13232         * bits/types.h (__fsword_t): New type.
13233         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13234         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13235         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13236         (__FSWORD_T_TYPE): Likewise.
13237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13238         (__FSWORD_T_TYPE): Likewise.
13239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13240         (__FSWORD_T_TYPE): Likewise.
13241         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13242         (__FSWORD_T_TYPE): Likewise.
13243         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13244         __SWORD_TYPE with __fsword_t.
13245         (statfs64): Likewise.
13246
13247 2012-05-17  David S. Miller  <davem@davemloft.net>
13248
13249         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13250
13251 2012-05-17  Andreas Jaeger  <aj@suse.de>
13252
13253         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13254         warning.
13255
13256 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13257
13258         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13259
13260 2012-05-17  Andreas Jaeger  <aj@suse.de>
13261
13262         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13263         when it is used.
13264
13265 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13266
13267         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13268
13269 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13270
13271         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13272         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13273
13274 2012-05-17  Andreas Jaeger  <aj@suse.de>
13275             Carlos O'Donell  <carlos_odonell@mentor.com>
13276
13277         [BZ #14059]
13278         * sysdeps/x86_64/multiarch/init-arch.h
13279         (bit_YMM_Usable): Rename to...
13280         (bit_AVX_Usable): ... this.
13281         (bit_FMA4_Usable): New macro.
13282         (bit_XMM_state): New macro.
13283         (bit_YMM_state): New macro.
13284         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13285         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13286         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13287         (CPUID_OSXSAVE): New macro.
13288         (CPUID_AVX): New macro.
13289         (CPUID_FMA4): New macro.
13290         (index_YMM_Usable): Rename to...
13291         (index_AVX_Usable): ... this.
13292         (HAS_AVX): Use HAS_ARCH_FEATURE.
13293         (HAS_FMA4): Likewise.
13294         (HAS_YMM_USABLE): Remove.
13295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13296         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13297         are present.
13298         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13299         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13300         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13301         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13302         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13303
13304 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13305
13306         * math/libm-test.c: Support platforms without multiple rounding modes.
13307         * math/bug-nextafter.c: Support platforms without FP exceptions.
13308         * math/bug-nexttoward.c: Likewise.
13309         * math/test-fenv.c: Likewise.
13310         * math/test-misc.c: Likewise.
13311         * stdlib/bug-getcontext.c: Likewise.
13312
13313 2012-05-17  Andreas Jaeger  <aj@suse.de>
13314
13315         * manual/examples/search.c (critter_cmp): Change signature to
13316         avoid warnings.
13317         * manual/string.texi (Collation Functions): Likewise.
13318
13319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13320
13321         * bits/types.h: Fold copyright years.
13322         * bits/typesizes.h: Likewise.
13323         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13327         * time/time.h: Likewise.
13328
13329 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13330
13331         [BZ #208]
13332         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13333         in instead of returning them.  Return void.
13334         (__libc_mallinfo): Accumulate over all arenas.
13335         (__malloc_stats): Adjust for change in int_mallinfo interface.
13336
13337 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13338
13339         [BZ #10375]
13340         * configure.in (NM): Add AC_CHECK_TOOL for it.
13341         (libc_extra_cflags): New substituted variable.
13342         Check for -fstack-protector being used implicitly.
13343         * configure: Regenerated.
13344         * config.make.in (config-extra-cflags): New variable,
13345         gets @libc_extra_cflags@.
13346         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13347
13348         [BZ #10375]
13349         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13350         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13351         * configure: Regenerated.
13352         * config.make.in (CPPUNDEFS): New substituted variable.
13353         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13354         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13355         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13356
13357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13358
13359         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13360         (mq_attr): Use __syscall_slong_t.
13361
13362 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13363
13364         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13365         Check __x86_64__ instead of __WORDSIZE.
13366         (_STAT_VER_LINUX): Likewise.
13367         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13368         __syscall_ulong_t and __syscall_slong_t.
13369         (stat64): Likewise.
13370
13371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13372
13373         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13374
13375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13376
13377         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13378
13379 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13380
13381         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13382         __syscall_ulong_t.
13383
13384         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13385         include <bits/wordsize.h>.  Check __x86_64__ instead of
13386         __WORDSIZE.
13387         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13388         defined.
13389         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13390
13391         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13392         include <bits/wordsize.h>.  Check __x86_64__ instead of
13393         __WORDSIZE.
13394         (user_regs_struct): Use "__extension__ unsigned long long"
13395         instead of "unsigned long" if __x86_64__ is defined.
13396         (user): Likewise.  Pad after pointer field if __ILP32__ is
13397         defined.
13398
13399 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13400
13401         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13402         versions 5 to 9.
13403         * configure: Regenerated.
13404         * manual/install.texi (texinfo): Increase version requirement to
13405         4.5 or later.
13406         * INSTALL: Regenerated.
13407
13408         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13409
13410 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13411
13412         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13413
13414         * sysdeps/x86_64/x32/ffs.c: New file.
13415
13416         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13417         __syscall_ulong_t.
13418         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13419         defined.  Use __syscall_ulong_t.
13420         (shminfo): Use __syscall_ulong_t.
13421         (shm_info): Likewise.
13422
13423         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13424         __syscall_ulong_t.
13425
13426         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13427         <bits/wordsize.h>.
13428         (msgqnum_t): Use __syscall_ulong_t.
13429         (msglen_t): Likewise.
13430         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13431         __syscall_ulong_t.
13432
13433         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13434         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13435
13436         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13437
13438         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13439         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13440
13441         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13442         __syscall_slong_t.
13443
13444         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13445         include <bits/wordsize.h>.  Check __x86_64__ instead of
13446         __WORDSIZE.
13447
13448         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13449         "unsigned long long int" if __x86_64__ is defined.
13450         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13451
13452         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13453         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13454         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13455
13456         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13457         <stdint.h>.
13458         (GET_PC): Cast to uintptr_t first.
13459         (GET_FRAME): Likewise.
13460         (GET_STACK): Likewise.
13461
13462         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13463         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13464         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13465         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13466         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13467         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13468         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13469         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13470         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13471         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13472         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13473         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13475         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13476         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13477         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13478         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13479         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13480         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13481         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13482         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13483         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13484         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13485         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13486         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13487         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13488         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13489         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13490         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13491
13492 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13493
13494         * Makerules (+depfiles): Also collect depfiles from .oS in
13495         $(extra-objs).
13496         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13497         .oS, $(libnldbl-routines)).
13498
13499         * Makerules (native-compile-mkdep-flags): Define.
13500         * sunrpc/Makefile (extra-objs): Add $(addprefix
13501         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13502         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13503         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13504         calling $(make-target-directory).
13505
13506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13507
13508         * bits/types.h (__snseconds_t): Removed.
13509         * time/time.h (struct timespec): Replace __snseconds_t with
13510         __syscall_slong_t.
13511         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13512         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13513         Likewise.
13514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13515         (__SNSECONDS_T_TYPE): Likewise.
13516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13517         (__SNSECONDS_T_TYPE): Likewise.
13518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13519         (__SNSECONDS_T_TYPE): Likewise.
13520
13521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13522
13523         * sysdeps/mach/hurd/bits/typesizes.h
13524         (__SYSCALL_SLONG_TYPE): New macro.
13525         (__SYSCALL_ULONG_TYPE): Likewise.
13526
13527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13528
13529         * bits/types.h (__syscall_slong_t): New type.
13530         (__syscall_ulong_t): Likewise.
13531
13532         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13533         (__SYSCALL_ULONG_TYPE): Likewise.
13534         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13535         (__SYSCALL_SLONG_TYPE): Likewise.
13536         (__SYSCALL_ULONG_TYPE): Likewise.
13537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13538         (__SYSCALL_SLONG_TYPE): Likewise.
13539         (__SYSCALL_ULONG_TYPE): Likewise.
13540         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13541         (__SYSCALL_SLONG_TYPE): Likewise.
13542         (__SYSCALL_ULONG_TYPE): Likewise.
13543
13544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13545
13546         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13547         Add sigaltstack-offsets.sym.
13548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13549         <sigaltstack-offsets.h>.
13550         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13551         longjmp_msg pointer.
13552         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13553         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13554         signal stack.
13555         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13556
13557 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13558
13559         * elf/stackguard-macros.h: Remove file.
13560         * sysdeps/generic/stackguard-macros.h: New file.
13561         * sysdeps/i386/stackguard-macros.h: Likewise.
13562         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13563         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13564         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13565         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13566         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13567         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13568         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13569         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13570         <elf/stackguard-macros.h>.
13571
13572         [BZ #14109]
13573         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13574         __aligned__ in attribute.
13575         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13576         (gregset_t): Likewise.
13577
13578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13579
13580         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13581         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13582         * sysdeps/x86_64/x32/Implies-after: New file.
13583
13584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13585
13586         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13587         and access return value for _dl_profile_fixup.  Use R10_LP to
13588         load frame size.
13589
13590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13591
13592         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13593
13594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13595
13596         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13597         * sysdeps/x86_64/x32/sysdep.h: New file.
13598
13599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13600
13601         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13602         * sysdeps/x86_64/setjmp.S: Likewise.
13603
13604 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13605
13606         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13607         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13608         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13609         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13610         remove unused global constant.
13611
13612 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13613
13614         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13615         include of <not-cancel.h>.
13616
13617 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13618
13619         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13620
13621 2012-05-15  Jeff Law  <law@redhat.com>
13622             Andreas Jaeger  <aj@suse.de>
13623
13624         [BZ #13594]
13625         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13626         out from...
13627         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13628         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13629         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13630         code changing __hst_map_handle.map.
13631
13632 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13633
13634         * configure.in (sysnames): Look for Implies-before and Implies-after
13635         files.
13636         * configure: Regenerated.
13637
13638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13639
13640         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13641         8-byte data alignment with LP_SIZE alignment.
13642
13643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13644
13645         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13646         into R10_LP.
13647
13648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13649
13650         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13651
13652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13653
13654         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13655         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13656         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13657         Likewise.
13658         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13659
13660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13661
13662         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13663         (stackinfo_sub_sp): Likewise.
13664
13665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13666
13667         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13668         RAX_LP.
13669
13670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13671
13672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13673         into R*_LP.
13674
13675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13676
13677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13678         sizes into R*_LP.
13679
13680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13681
13682         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13683
13684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13685
13686         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13687         into R11_LP and load __x86_64_shared_cache_size_half into
13688         R8_LP.
13689
13690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13691
13692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13693         R8_LP.
13694
13695 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13696
13697         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13698         logb for POWER7.
13699         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13700         logbf for POWER7.
13701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13702         logbl for POWER7.
13703         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13704         powerpc32/power7/fpu/s_logb.c via #include.
13705         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13706         powerpc32/power7/fpu/s_logbf.c via #include.
13707         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13708         powerpc32/power7/fpu/s_logbl.c via #include.
13709
13710 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13711
13712         * README.libm: Remove file.
13713
13714 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13715
13716         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13717         count for x32.  Use R*_LP and omit operand-size suffix.
13718
13719 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13720
13721         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13722         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13723         * sysdeps/x86_64/x32/shlib-versions: New file.
13724
13725 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13726
13727         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13728         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13729         Use _dl_fatal_printf instead.
13730
13731 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13732
13733         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13734         set if not set by the user.  Do not allow for being unset.
13735         * sysdeps/unix/sysv/linux/configure: Regenerated.
13736
13737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13738
13739         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13740         the `q' suffix from lea and replace .quad with ASM_ADDR.
13741
13742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13743
13744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13745         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13746         instead of $17.
13747         (PTR_DEMANGLE): Likewise.
13748
13749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13750
13751         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13752         (LP_OP): Likewise.
13753         (ASM_ADDR): Likewise.
13754         (RAX_LP): Likewise.
13755         (RBP_LP): Likewise.
13756         (RBX_LP): Likewise.
13757         (RCX_LP): Likewise.
13758         (RDI_LP): Likewise.
13759         (RSI_LP): Likewise.
13760         (RSP_LP): Likewise.
13761         (R8_LP): Likewise.
13762         (R9_LP): Likewise.
13763         (R10_LP): Likewise.
13764         (R10_LP): Likewise.
13765         (R11_LP): Likewise.
13766         (R12_LP): Likewise.
13767         (R13_LP): Likewise.
13768         (R14_LP): Likewise.
13769         (R15_LP): Likewise.
13770
13771 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13772
13773         * sysdeps/x86_64/x32/dl-machine.h: New file.
13774
13775 2012-05-14  Andreas Jaeger  <aj@suse.de>
13776
13777         * manual/Makefile (subdir): Remove export of subdir.
13778         (all): Remove target.
13779         (.PHONY): Remove all from list.
13780         (mkinstalldirs): Remove.
13781         (.PHONY): Remove installdirs from list.
13782         ($(inst_infodir)/libc.info): Use make-target-directory.
13783         (installdirs): Remove.
13784         (subdir_%): Remove.
13785         (glibc-targets): Remove.
13786         (lib): Remove.
13787         (stubs): Remove.
13788         ($(objpfx)stubs ../po/manual.pot): Remove.
13789         ($(objpfx)stamp%): Remove.
13790         (make-target-directory): Remove.
13791         (subdir_install): Remove.
13792         (routines): Remove.
13793         (aux): Remove.
13794         (sources): Remove.
13795         (objects): Remove.
13796         (headers): Remove.
13797
13798         [BZ #13750]
13799         * manual/.gitignore: Remove, it's not needed anymore.
13800         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13801         all files in it.
13802         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13803         directory.
13804         (texis): Renamed to $(objpfx)texis.
13805         (texis-path): New, contains path to generated files.
13806         (chapters.%): Use texis-path for complete path, add extra argument
13807         libc-texinfo.sh.
13808         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13809         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13810         (summary,texi, stamp-summary): Use complete path of
13811         files. Generate files in build dir.
13812         (dir-add.texi): Build in build dir.
13813         (libm-err.texi,stamp-libm-err): Likewise.
13814         (version.texi, stamp-version): Likewise.
13815         (.%c.texi): Likewise.
13816         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13817         (mostlyclean): Remove target.
13818         (realclean): Remove target.
13819         (generated): Add new variable with contents from mostlyclean and
13820         realclean, remove entries duplicated in common-mostlyclean, add
13821         stamp-libm-err and stamp-version.
13822         (generated-dirs): Add libc directory.
13823         ($(inst_infodir)/libc.info): Install files from build dir.
13824
13825         * manual/install.texi (Configuring and compiling): Adjust since
13826         the info files are not part of the tar ball anymore.
13827
13828 2012-05-14  Andreas Jaeger  <aj@suse.de>
13829
13830         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13831         variable.
13832
13833 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13834
13835         [BZ #13717]
13836         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13837         to 2.2.0 where earlier.
13838         * sysdeps/unix/sysv/linux/configure: Regenerated.
13839         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13840         Remove conditional code.
13841         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13842         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13843         Remove conditional code.
13844         [!__NR_lchown]: Likewise.
13845         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13846         [__NR_lchown]: Likewise.
13847         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13848         comment referencing __ASSUME_LCHOWN_SYSCALL.
13849         * sysdeps/unix/sysv/linux/i386/sigaction.c
13850         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13851         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13852         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13853         Remove conditional code.
13854         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13855         (__protocol_available): Remove #if 0 code.
13856         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13857         conditional code.
13858         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13859         * sysdeps/unix/sysv/linux/kernel-features.h
13860         (__ASSUME_GETCWD_SYSCALL): Don't define.
13861         (__ASSUME_REALTIME_SIGNALS): Likewise.
13862         (__ASSUME_PREAD_SYSCALL): Likewise.
13863         (__ASSUME_PWRITE_SYSCALL): Likewise.
13864         (__ASSUME_POLL_SYSCALL): Likewise.
13865         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13866         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13867         non-SPARC.
13868         (__ASSUME_SIOCGIFNAME): Don't define.
13869         (__ASSUME_MSG_NOSIGNAL): Likewise.
13870         (__ASSUME_SENDFILE): Define unconditionally.
13871         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13872         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13873         conditional code.
13874         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13875         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13876         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13877         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13878         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13879         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13880         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13882         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13883         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13885         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13888         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13889         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13891         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13892         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13894         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13895         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13897         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13900         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13903         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13905         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13906         Remove conditional code.
13907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13908         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13909         Remove conditional code.
13910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13911         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13912         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13913         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13914         Remove conditional code.
13915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13916         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13917         Remove conditional code.
13918         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13919         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13920         Remove conditional code.
13921         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13922         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13923         Remove conditional code.
13924         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13925         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13926         Remove conditional code.
13927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13928         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13929         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13931         * sysdeps/unix/sysv/linux/sigaction.c
13932         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13933         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13934         * sysdeps/unix/sysv/linux/sigpending.c
13935         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13936         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13937         * sysdeps/unix/sysv/linux/sigprocmask.c
13938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13940         * sysdeps/unix/sysv/linux/sigsuspend.c
13941         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13942         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13943         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13944         (__libc_missing_rt_sigs): Remove.
13945         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13946         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13947         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13948         Remove conditional code.
13949         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13950         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13951         return 1.
13952         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13953         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13954         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13955         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13956
13957 2012-05-14  Andreas Jaeger  <aj@suse.de>
13958
13959         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13960         it's not used in glibc.
13961         (__coshm1): Likewise.
13962         (__acosh1p): Likewise.
13963         (__sgn): Likewise.
13964
13965         * manual/string.texi (Copying and Concatenation): Add missing
13966         variable in concat example.
13967         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13968
13969 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13970
13971         [BZ #14103]
13972         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13973         __builtin_clzl with __builtin_clzll.
13974
13975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13976
13977         [BZ #14104]
13978         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13979         libc_freeres_ptr.
13980
13981 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13982
13983         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13984         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13985         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13986         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13987
13988 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13989
13990         * NEWS: Update ia64 info.
13991
13992 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13993
13994         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13995         used as bcopy.
13996
13997 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13998
13999         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14000         * sysdeps/unix/syscalls.list (dup3): Likewise.
14001         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14002         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14003
14004 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14005
14006         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14007         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14008
14009 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14010
14011         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14012         thread pointer.
14013         (TLS_IE): Use mov/add instead of movq/addq to load thread
14014         pointer.
14015         (TLS_GD_PREFIX): New.
14016         (TLS_GD): Use it.
14017
14018 2012-05-11  David S. Miller  <davem@davemloft.net>
14019
14020         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14021         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14022         (_FPU_SETCW): Likewise.
14023
14024 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14025
14026         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14027         is 32-byte aligned.
14028
14029 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14030
14031         [BZ #11837]
14032         * iconvdata/gb18030.c: Update tables.
14033         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14034         characters specially.
14035         (BODY for TO_LOOP): Add encoding of missing ranges.
14036
14037 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14038
14039         [BZ #13673]
14040         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14041         * sysdeps/mach/hurd/dup3.c: Likewise.
14042         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14043         * sysdeps/powerpc/memmove.c:: Likewise.
14044
14045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14046
14047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14048         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14049
14050 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14051
14052         * elf/elf.h (R_X86_64_RELATIVE64): New.
14053         (R_X86_64_NUM): Updated.
14054         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14055         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14056         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14057         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14058         tst-quad1pie tst-quad2pie
14059         (modules-names): Add tst-quadmod1 tst-quadmod2.
14060         ($(objpfx)tst-quad1): New dependency.
14061         ($(objpfx)tst-quad2): Likewise.
14062         ($(objpfx)tst-quad1pie): Likewise.
14063         ($(objpfx)tst-quad2pie): Likewise.
14064         * sysdeps/x86_64/tst-quad1.c: New file.
14065         * sysdeps/x86_64/tst-quad1pie.c: New file.
14066         * sysdeps/x86_64/tst-quad2.c: Likewise.
14067         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14068         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14069         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14070         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14071         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14072
14073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14074
14075         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14076         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14077         * streams/stropts.h (t_scalar_t): Define type.
14078
14079         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14080         (_PATH_PRESERVE): Set to "/var/lib".
14081         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14082
14083         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14084         instead of int.
14085
14086         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14087         if __dir_mkfile succeeded.
14088
14089         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14090         checking for _hurd_dtablesize.  Unlock it right after having
14091         finished _hurd_dtable allocation.
14092
14093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14094
14095         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14096         * sysdeps/mach/hurd/configure: Regenerated.
14097         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14098         special-casing to...
14099         * sysdeps/gnu/configure.in: ... this new file.
14100         * sysdeps/unix/sysv/linux/configure: Regenerated.
14101         * sysdeps/gnu/configure: New generated file.
14102
14103         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14104         for Linux: use nsec instead of usec, as well as:
14105         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14106         members of type struct timespec.
14107         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14108         New macros.
14109         (struct stat64): Likewise.
14110         (_STATBUF_ST_NSEC): New macro.
14111         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14112
14113         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14114         __strtoul_internal rather than strtoul.
14115
14116 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14117
14118         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14119         and reject them.
14120
14121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14122
14123         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14124         which preserves existing values.
14125         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14126
14127 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14128
14129         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14130         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14131         greater than FD_SETSIZE.
14132
14133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14134
14135         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14136         allocated, call __vm_protect to finish enabling the existing space, and
14137         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14138         allocate the remainder.
14139
14140 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14141
14142         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14143         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14144
14145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14146
14147         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14148         sysdeps/mach/hurd/readlink.c.
14149
14150         * posix/tst-sysconf.c (posix_options): Only use
14151         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14152         _POSIX_SYNCHRONIZED_IO when they are defined
14153         * sysdeps/mach/hurd/bits/posix_opt.h:
14154         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14155         (_XOPEN_REALTIME): Undefine macro.
14156         (_XOPEN_REALTIME_THREADS): Undefine macro.
14157         (_XOPEN_SHM): Undefine macro.
14158         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14159         macro to -1.
14160         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14161         macro to -1.
14162         (_POSIX_ASYNC_IO): Undefine macro.
14163         (_POSIX_PRIORITIZED_IO): Undefine macro.
14164         (_POSIX_SPIN_LOCKS): Define macro to -1.
14165
14166         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14167         SA_NODEFER, SA_RESETHAND.
14168         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14169         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14170         F_DUPFD_CLOEXEC.
14171
14172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14173
14174         * elf/Makefile (pldd-modules): Define unconditionally.
14175
14176 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14177
14178         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14179
14180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14181
14182         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14183         Return ENOENT when name is empty.
14184         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14185
14186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14187
14188         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14189
14190         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14191
14192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14193
14194         Fix mlock in all cases except non-readable pages.
14195         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14196         instead of VM_PROT_ALL as parameter to __vm_wire function.
14197
14198         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14199         (__mkdir): When path is `/', just fail with EEXIST.
14200         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14201
14202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14203
14204         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14205         <sys/uio.h> (for writev).
14206         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14207         and <sys/param.h> (for MIN).
14208
14209 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14210
14211         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14212         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14213         if interrupted.
14214
14215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14216
14217         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14218         Depend on against $(link-rpcuserlibs).
14219
14220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14221
14222         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14223         (__libc_stack_end): Do not use attribute_relro.
14224         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14225         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14226         to libthread-provided value.
14227         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14228         attribute_relro.
14229
14230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14231
14232         [BZ #3748]
14233         * bits/libc-lock.h (__libc_once_get): New macro.
14234         * sysdeps/mach/bits/libc-lock.h: Likewise.
14235         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14236         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14237         instead of using implementation details.
14238
14239         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14240         * libio/freopen.c: Likewise.
14241         * libio/freopen64.c: Likewise.
14242         * misc/syslog.c: Likewise.
14243         * nscd/connections.c: Likewise.
14244         * nscd/netgroupcache.c: Likewise.
14245         * sysdeps/posix/getcwd.c: Likewise.
14246
14247 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14248
14249         * math/w_ilogbf.c: Add #include <limits.h>.
14250
14251 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14252
14253         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14254         path instead of returning without unlocking.
14255
14256         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14257         immediate-write ioctls.
14258         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14259
14260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14261
14262         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14263         __builtin_frame_address instead of making assumptions about the
14264         location of the return address relative to DATA.  Force early load of
14265         the return address.
14266         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14267         __builtin_frame_address.
14268
14269         dup3 for GNU Hurd.
14270         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14271         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14272         implement dup3 and do some further code clean-ups.
14273         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14274         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14275
14276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14277
14278         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14279
14280         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14281         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14282         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14283         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14284         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14285         d->port.lock.
14286
14287         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14288         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14289         when handler == SIG_ERR, not when handler != SIG_ERR.
14290
14291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14292
14293         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14294         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14295         definitions.
14296
14297         accept4 for GNU Hurd.
14298         * include/sys/socket.h (__libc_accept4): New prototype.
14299         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14300         to implement __libc_accept4.
14301         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14302         __libc_accept4.
14303         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14304
14305         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14306         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14307         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14308         signal-defines.sym.
14309
14310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14311
14312         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14313
14314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14315
14316         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14317         assertion on O_CLOEXEC flag.
14318         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14319         * hurd/intern-fd.c: Likewise.
14320         * hurd/port2fd.c: Likewise.
14321
14322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14323
14324         [BZ #3906]
14325         * bits/in.h (IPV6_PKTINFO): Define new macro.
14326         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14327
14328 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14329
14330         [BZ #13954]
14331         [BZ #13955]
14332         [BZ #13956]
14333         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14334         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14335         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14336         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14338         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14339         * math/libm-test.inc (logb_test) : Additional logb tests.
14340
14341 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14342             Andreas Jaeger  <aj@suse.de>
14343
14344         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14345         * configure: Regenerated.
14346         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14347         * config.make.in (link-obsolete-rpc): New substituted variable.
14348         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14349         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14350         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14351         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14352         so that libc.a contains the symbols.
14353         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14354         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14355         * sunrpc/auth_none.c: Likewise.
14356         * sunrpc/auth_unix.c: Likewise.
14357         * sunrpc/authdes_prot.c: Likewise.
14358         * sunrpc/authuxprot.c: Likewise.
14359         * sunrpc/clnt_gen.c: Likewise.
14360         * sunrpc/clnt_perr.c: Likewise.
14361         * sunrpc/clnt_raw.c: Likewise.
14362         * sunrpc/clnt_simp.c: Likewise.
14363         * sunrpc/clnt_tcp.c: Likewise.
14364         * sunrpc/clnt_udp.c: Likewise.
14365         * sunrpc/clnt_unix.c: Likewise.
14366         * sunrpc/des_crypt.c: Likewise.
14367         * sunrpc/des_soft.c: Likewise.
14368         * sunrpc/get_myaddr.c: Likewise.
14369         * sunrpc/key_call.c: Likewise.
14370         * sunrpc/key_prot.c: Likewise.
14371         * sunrpc/netname.c: Likewise.
14372         * sunrpc/pm_getmaps.c: Likewise.
14373         * sunrpc/pm_getport.c: Likewise.
14374         * sunrpc/pmap_clnt.c: Likewise.
14375         * sunrpc/pmap_prot.c: Likewise.
14376         * sunrpc/pmap_prot2.c: Likewise.
14377         * sunrpc/pmap_rmt.c: Likewise.
14378         * sunrpc/publickey.c: Likewise.
14379         * sunrpc/rpc_cmsg.c: Likewise.
14380         * sunrpc/rpc_common.c: Likewise.
14381         * sunrpc/rpc_dtable.c: Likewise.
14382         * sunrpc/rpc_prot.c: Likewise.
14383         * sunrpc/rpc_thread.c: Likewise.
14384         * sunrpc/rtime.c: Likewise.
14385         * sunrpc/svc.c: Likewise.
14386         * sunrpc/svc_auth.c: Likewise.
14387         * sunrpc/svc_raw.c: Likewise.
14388         * sunrpc/svc_run.c: Likewise.
14389         * sunrpc/svc_tcp.c: Likewise.
14390         * sunrpc/svc_udp.c: Likewise.
14391         * sunrpc/svc_unix.c: Likewise.
14392         * sunrpc/svcauth_des.c: Likewise.
14393         * sunrpc/xcrypt.c: Likewise.
14394         * sunrpc/xdr.c: Likewise.
14395         * sunrpc/xdr_array.c: Likewise.
14396         * sunrpc/xdr_float.c: Likewise.
14397         * sunrpc/xdr_intXX_t.c: Likewise.
14398         * sunrpc/xdr_mem.c: Likewise.
14399         * sunrpc/xdr_rec.c: Likewise.
14400         * sunrpc/xdr_ref.c: Likewise.
14401         * sunrpc/xdr_sizeof.c: Likewise.
14402         * sunrpc/xdr_stdio.c: Likewise.
14403
14404 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14405
14406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14407         change.  Update copyright years.
14408
14409 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14410
14411         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14412
14413 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14414             Joseph Myers  <joseph@codesourcery.com>
14415             Paul Pluzhnikov  <ppluzhnikov@google.com>
14416
14417         [BZ #14012]
14418         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14419         requiring rpcgen.
14420         [cross-compiling] (extra-libs): Likewise.
14421         [cross-compiling] (extra-libs-others): Likewise.
14422         [cross-compiling] (librpcsvc-routines): Likewise.
14423         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14424         [cross-compiling] (omit-deps): Likewise.
14425         (sunrpc-CPPFLAGS): New variable.
14426         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14427         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14428         (cross-rpcgen-objs): New variable.
14429         (extra-objs): Append $(cross-rpcgen-objs).
14430         ($(cross-rpcgen-objs)): New rule.
14431         ($(objpfx)cross-rpcgen): Likewise.
14432         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14433         comment.
14434         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14435         ($(objpfx)x%.stmp): Likewise.
14436         * sunrpc/proto.h [IS_IN_build] (_): Define.
14437         [IS_IN_build] (_libc_intl_domainname): Likewise.
14438
14439 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14440
14441         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14442         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14443         and R_X86_64_TPOFF64.
14444
14445 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14446
14447         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14448         sysdeps/unix/sysv/syscalls.list.
14449         (stime): Likewise.
14450         (utime): Likewise.
14451         * sysdeps/unix/sysv/syscalls.list: Remove file.
14452
14453 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14454
14455         [BZ #3440]
14456         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14457         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14458         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14459         (__LC_IDENTIFICATION): Make these macros useful in #if
14460         expressions, as required by C99.
14461
14462 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14463
14464         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14465         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14466         after this.
14467
14468 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14469
14470         * stdlib/longlong.h: Updated from GCC.
14471
14472 2012-05-09  Andreas Jaeger  <aj@suse.de>
14473
14474         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14475         default is first entry.
14476         (run_mode): Set type.
14477         (main): Remove informal message about syslog.
14478         (options): Fix typo.
14479
14480         [BZ #14053]
14481         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14482         to asm.
14483         (lrint): Likewise.
14484         (llrintf): Likewise.
14485         (llrint): Likewise.
14486         (rint): Likewise.
14487         (rintf): Likewise.
14488         (nearbyint): Likewise.
14489         (nearbyintf): Likewise.
14490
14491 2012-05-09  Andreas Jaeger  <aj@suse.de>
14492             Pedro Alves  <palves@redhat.com>
14493
14494         * nscd/nscd.c (run_mode): Use enum.
14495         (main): Cleanup coding style issue.
14496
14497 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14498             Andreas Jaeger  <aj@suse.de>
14499
14500         * nscd/nscd.c (go_background): Replaced with...
14501         (run_mode): ... this.
14502         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14503         (options): Add -F --foreground.
14504         (main): Implement it.
14505         (parse_opt): Parse it.
14506
14507 2012-05-09  Andreas Jaeger  <aj@suse.de>
14508
14509         [BZ #14083]
14510         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14511         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14512         -Wconversion warning.
14513         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14514         Likewise.
14515
14516 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14517
14518         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14519         == 0.
14520         (LC_ALL): Use macro-int-constant.
14521         (LC_COLLATE): Likewise.
14522         (LC_CTYPE): Likewise.
14523         (LC_MESSAGES): Likewise.
14524         (LC_MONETARY): Likewise.
14525         (LC_NUMERIC): Likewise.
14526         (LC_TIME): Likewise.
14527         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14528         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14530         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14531         Specify type.
14532         [C99-based standards] (float_t): Expect type.
14533         [C99-based standards] (double_t): Expect type.
14534         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14535         type.
14536         [C99-based standards] (HUGE_VALL): Likewise.
14537         [C99-based standards] (INFINITY): Likewise.
14538         [C99-based standards] (NAN): Likewise.
14539         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14540         [C99-based standards] (FP_NAN): Likewise.
14541         [C99-based standards] (FP_NORMAL): Likewise.
14542         [C99-based standards] (FP_SUBNORMAL): Likewise.
14543         [C99-based standards] (FP_ZERO): Likewise.
14544         [C99-based standards] (FP_FAST_FMA): Use
14545         optional-macro-int-constant.  Specify type.  Require == 1.
14546         [C99-based standards] (FP_FAST_FMAF): Likewise.
14547         [C99-based standards] (FP_FAST_FMAL): Likewise.
14548         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14549         [C99-based standards] (FP_ILOGBNAN): Likewise.
14550         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14551         Specify type.
14552         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14553         [C99-based standards] (math_errhandling): Specify type.
14554         [ISO99 || ISO11] (signgam): Do not allow.
14555         [non-C99-based standards] (copysignf): Do not allow.
14556         [non-C99-based standards] (exp2f): Likewise.
14557         [non-C99-based standards] (log2f): Likewise.
14558         [non-C99-based standards] (modff): Allow.
14559         [non-C99-based standards] (erff): Do not allow.
14560         [non-C99-based standards] (erfcf): Likewise.
14561         [non-C99-based standards] (gammaf): Likewise.
14562         [non-C99-based standards] (hypotf): Likewise.
14563         [non-C99-based standards] (j0f): Likewise.
14564         [non-C99-based standards] (j1f): Likewise.
14565         [non-C99-based standards] (jnf): Likewise.
14566         [non-C99-based standards] (lgammaf): Likewise.
14567         [non-C99-based standards] (tgammaf): Likewise.
14568         [non-C99-based standards] (y0f): Likewise.
14569         [non-C99-based standards] (y1f): Likewise.
14570         [non-C99-based standards] (ynf): Likewise.
14571         [non-C99-based standards] (isnanf): Likewise.
14572         [non-C99-based standards] (acoshf): Likewise.
14573         [non-C99-based standards] (asinhf): Likewise.
14574         [non-C99-based standards] (atanhf): Likewise.
14575         [non-C99-based standards] (cbrtf): Likewise.
14576         [non-C99-based standards] (expm1f): Likewise.
14577         [non-C99-based standards] (ilogbf): Likewise.
14578         [non-C99-based standards] (log1pf): Likewise.
14579         [non-C99-based standards] (logbf): Likewise.
14580         [non-C99-based standards] (nextafterf): Likewise.
14581         [non-C99-based standards] (remainderf): Likewise.
14582         [non-C99-based standards] (rintf): Likewise.
14583         [non-C99-based standards] (scalbf): Likewise.
14584         [non-C99-based standards] (copysignl): Likewise.
14585         [non-C99-based standards] (exp2l): Likewise.
14586         [non-C99-based standards] (log2l): Likewise.
14587         [non-C99-based standards] (modfl): Allow.
14588         [non-C99-based standards] (erfl): Do not allow.
14589         [non-C99-based standards] (erfcl): Likewise.
14590         [non-C99-based standards] (gammal): Likewise.
14591         [non-C99-based standards] (hypotl): Likewise.
14592         [non-C99-based standards] (j0l): Likewise.
14593         [non-C99-based standards] (j1l): Likewise.
14594         [non-C99-based standards] (jnl): Likewise.
14595         [non-C99-based standards] (lgammal): Likewise.
14596         [non-C99-based standards] (tgammal): Likewise.
14597         [non-C99-based standards] (y0l): Likewise.
14598         [non-C99-based standards] (y1l): Likewise.
14599         [non-C99-based standards] (ynl): Likewise.
14600         [non-C99-based standards] (isnanl): Likewise.
14601         [non-C99-based standards] (acoshl): Likewise.
14602         [non-C99-based standards] (asinhl): Likewise.
14603         [non-C99-based standards] (atanhl): Likewise.
14604         [non-C99-based standards] (cbrtl): Likewise.
14605         [non-C99-based standards] (expm1l): Likewise.
14606         [non-C99-based standards] (ilogbl): Likewise.
14607         [non-C99-based standards] (log1pl): Likewise.
14608         [non-C99-based standards] (logbl): Likewise.
14609         [non-C99-based standards] (nextafterl): Likewise.
14610         [non-C99-based standards] (remainderl): Likewise.
14611         [non-C99-based standards] (rintl): Likewise.
14612         [non-C99-based standards] (scalbl): Likewise.
14613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14614         [non-C99-based standards] (FP_*): Do not allow.
14615         [C99-based standards] (FP_*): Change to
14616         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14617         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14618         allow.
14619         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14620         (SIG_ERR): Likewise.
14621         [X/Open-based standards] (SIG_HOLD): Likewise.
14622         (SIG_IGN): Likewise.
14623         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14624         positive value.
14625         (SIGFPE): Likewise.
14626         (SIGILL): Likewise.
14627         (SIGINT): Likewise.
14628         (SIGSEGV): Likewise.
14629         (SIGTER): Likewise.
14630         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14631         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14632         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14633         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14634         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14635         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14636         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14637         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14638         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14639         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14640         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14641         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14642         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14643         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14644         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14645         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14646         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14647         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14648         [X/Open-based standards] (SIGTRAP): Likewise.
14649         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14650         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14651         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14652         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14653         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14654         allow.
14655
14656 2012-05-08  Ian Wienand  <ianw@vmware.com>
14657
14658         [BZ #14080]
14659         * time/tzset.c (__tzset_parse_tz): Update default rules for
14660         daylight time changes in the Energy Policy Act of 2005.
14661
14662 2012-05-09  Andreas Jaeger  <aj@suse.de>
14663
14664         [BZ #13983]
14665         * elf/ldconfig.c (parse_conf): Change string to make clear that
14666         ldconfig only issued a warning if ld.so.conf does not exist.
14667
14668 2012-05-08  David S. Miller  <davem@davemloft.net>
14669
14670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14671         movxtod instead of popping the value on the stack.
14672
14673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14674
14675 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14676
14677         * config.h.in: Add HAVE_ARM_PCS_VFP.
14678
14679 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14680
14681         [BZ #13979]
14682         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14683         checking but the checks are disabled for any reason.
14684
14685 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14686
14687         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14688         and ELF64_R_TYPE with ELFW(R_TYPE).
14689
14690 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14691
14692         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14693         (ulimit): Likewise.
14694
14695         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14696         (settimeofday): Likewise.
14697
14698 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14699
14700         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14701         a struct th_u2 inside the union, and move tu_block/tu_code into
14702         a new th_u3 union of tu_block/tu_code inside of that.  Move
14703         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14704         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14705         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14706         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14707         (th_stuff): Change to th_u1.tu_stuff.
14708         (th_data): Define.
14709         (th_msg): Change to th_u1.th_u2.tu_data.
14710
14711 2012-05-07  David S. Miller  <davem@davemloft.net>
14712
14713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14714
14715         [BZ #14074]
14716         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14717         (SETUP_PIC_REG): Use it.
14718         (SETUP_PIC_REG_LEAF): Use it.
14719
14720 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14721
14722         [BZ #13885]
14723         [BZ #13923]
14724         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14725         USE_AS_EXPM1L.
14726         (EXPL_FINITE): Likewise.
14727         (FLDLOG): Likewise.
14728         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14729         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14730         e_expl.S.
14731         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14732         USE_AS_EXPM1L.
14733         (EXPL_FINITE): Likewise.
14734         (FLDLOG): Likewise.
14735         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14736         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14737         e_expl.S.
14738         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14739         test of -max_value argument for long double.
14740         * sysdeps/i386/fpu/libm-test-ulps: Update.
14741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14742
14743 2012-05-06  David S. Miller  <davem@davemloft.net>
14744
14745         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14746         quad soft-float symbols whose references which are compiler
14747         generated.
14748         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14749
14750 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14751
14752         [BZ #13884]
14753         [BZ #13914]
14754         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14755         USE_AS_EXP10L.
14756         (EXPL_FINITE): Likewise.
14757         (FLDLOG): Likewise.
14758         (c0): Likewise.
14759         (c1): Likewise.
14760         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14761         Adjust comments for base varying.
14762         (__expl_finite): Change alias to EXPL_FINITE.
14763         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14764         e_expl.S.
14765         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14766         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14767         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14768         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14769         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14770         USE_AS_EXP10L.
14771         (EXPL_FINITE): Likewise.
14772         (FLDLOG): Likewise.
14773         (c0): Likewise.
14774         (c1): Likewise.
14775         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14776         Adjust comments for base varying.
14777         (__expl_finite): Change alias to EXPL_FINITE.
14778         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14779         tests for bugs.
14780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14781
14782         [BZ #14064]
14783         * math/libm-test.inc (check_float_internal): Correct ulp
14784         calculation for subnormal expected results.
14785
14786 2012-05-06  Andreas Jaeger  <aj@suse.de>
14787
14788         * Makeconfig (+math-flags): New, set to -frounding-math.
14789         (+cflags): Add +math-flags so that all of glibc gets compiled with
14790         it.
14791
14792         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14793
14794 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14795
14796         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14797         Disable one test.
14798
14799         [BZ #13787]
14800         [BZ #13922]
14801         [BZ #14036]
14802         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14803         (__ieee754_expl): Allow for and saturate large arguments.
14804         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14805         (u_threshold): Likewise.
14806         (__exp): Call __ieee754_exp before checking for overflow and
14807         underflow.
14808         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14809         (u_threshold): Likewise.
14810         (__expf): Call __ieee754_expf before checking for overflow and
14811         underflow.
14812         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14813         (u_threshold): Likewise.
14814         (__expl): Call __ieee754_expl before checking for overflow and
14815         underflow.
14816         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14817         (__ieee754_expl): Allow for and saturate large arguments.
14818         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14819         missing overflow exception on overflow.
14820         (expm1_test): Do not allow missing overflow exception on overflow.
14821
14822         * sysdeps/i386/fpu/e_expl.c: Move to ...
14823         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14824         rather than using inline asm.
14825         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14826         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14827         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14828
14829         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14830         (nice): Likewise.
14831         (poll): Likewise.
14832         (signal): Likewise.
14833         (time): Likewise.
14834         (times): Likewise.
14835
14836 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14837
14838         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14839         sysdeps/unix/common/syscalls.list.
14840         (fchmod): Likewise.
14841         (fchown): Likewise.
14842         (ftruncate): Likewise.
14843         (getrusage): Likewise.
14844         (gettimeofday): Likewise.
14845         (setpgid): Likewise.
14846         (setregid): Likewise.
14847         (setreuid): Likewise.
14848         (sigaction): Likewise.
14849         (truncate): Likewise.
14850         (vhangup): Likewise.
14851         * sysdeps/unix/common/syscalls.list: Remove file.
14852         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14853         * sysdeps/unix/sysv/linux/Implies: Likewise.
14854
14855 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14856
14857         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14859         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14860         Moved to ...
14861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14862         Here.
14863         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14864         to ...
14865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14866         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14867         to ...
14868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14869         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14870         to ...
14871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14872         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14873         to ...
14874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14875         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14876         to ...
14877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14878         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14879         to ...
14880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14881         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14882         to ...
14883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14884         Here.
14885         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14886         to ...
14887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14888         Here.
14889         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14890         to ...
14891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14892         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14893         Moved to ...
14894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14895         Here.
14896         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14897         to ...
14898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14899
14900 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14901
14902         * sysdeps/unix/common/bits/dirent.h: Remove file.
14903         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14904
14905         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14906         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14907         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14908         * sysdeps/unix/bsd/isatty.c: Likewise.
14909         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14910         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14911         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14912
14913 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14914
14915         [BZ #13563]
14916         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14917         long double comparison inaccuracies.
14918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14920
14921 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14922
14923         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14925
14926 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14927
14928         [BZ #14049]
14929         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14930         nonzero digits before rounding a hex value.
14931         * stdlib/tst-strtod.c (tests): Add another test.
14932
14933 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14934
14935         * sysdeps/s390/fpu/libm-test-ulps: Update.
14936
14937 2012-05-03  Andreas Jaeger  <aj@suse.de>
14938
14939         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14940         does not get optimized out.
14941         (malloc_opt_barrier): New.
14942
14943 2012-05-03  Andreas Jaeger  <aj@suse.de>
14944             Roland McGrath  <roland@hack.frob.com>
14945
14946         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14947         intermediate file deletion.
14948         (generated): Add .symlist files.
14949
14950 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14951
14952         [BZ #13775]
14953         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14954         Redirect under this condition.
14955         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14956         [__USE_GNU] (__dprintf_chk): Not under this condition.
14957         [__USE_GNU] (__vdprintf_chk): Likewise.
14958         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14959         under this condition.
14960         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14961         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14962         [__USE_XOPEN2K8] (vdprintf): Likewise.
14963         [__USE_GNU] (__dprintf_chk): Not under this condition.
14964         [__USE_GNU] (__vdprintf_chk): Likewise.
14965         [__USE_GNU] (dprintf): Likewise.
14966         [__USE_GNU] (vdprintf): Likewise.
14967
14968 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14969
14970         * elf/Makefile (common-generated): Set this instead of generated for
14971         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14972         $(all-built-dso)-derived lists.
14973
14974 2012-05-03  Andreas Jaeger  <aj@suse.de>
14975
14976         * sysdeps/i386/fpu/libm-test-ulps: Update.
14977
14978         * FAQ: Removed.
14979         * FAQ.in: Likewise.
14980         * scripts/gen-FAQ.pl: Likewise.
14981         * manual/install.texi (Installation): Point to online location of
14982         FAQ.
14983         * Makefile (files-for-dist): Remove FAQ.
14984         (FAQ): Remove.
14985
14986 2012-05-02  Allan McRae  <allan@archlinux.org>
14987
14988         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14989         (LDFLAGS-reldepmod5.so): Likewise.
14990         (LDFLAGS-reldep6mod1.so): Likewise.
14991         (LDFLAGS-reldep6mod4.so): Likewise.
14992         (LDFLAGS-reldep8mod3.so): Likewise.
14993         (LDFLAGS-unload4mod1.so): Likewise.
14994         (LDFLAGS-unload4mod2.so): Likewise.
14995         (LDFLAGS-tst-initorder): Likewise.
14996         (LDFLAGS-tst-initordera2.so): Likewise.
14997         (LDFLAGS-tst-initordera3.so): Likewise.
14998         (LDFLAGS-tst-initordera4.so): Likewise.
14999         (LDFLAGS-tst-initorderb2.so): Likewise.
15000         (LDFLAGS-noload): Likewise.
15001         (LDFLAGS-next): Likewise.
15002         (LDFLAGS-order2mod1.so): Likewise.
15003         (LDFLAGS-order2mod2.so): Likewise.
15004         (LDFLAGS-tst-initorder2): Likewise.
15005         (LDFLAGS-tst-initorder2a.so): Likewise.
15006         (LDFLAGS-tst-initorder2b.so): Likewise.
15007         (LDFLAGS-tst-initorder2c.so): Likewise.
15008         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15009
15010 2012-05-02  David S. Miller  <davem@davemloft.net>
15011
15012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15013
15014 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15015
15016         [BZ #14055]
15017         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15018
15019 2012-05-02  Andreas Jaeger  <aj@suse.de>
15020
15021         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15022         since we manipulate rounding mode.
15023         (CPPFLAGS-test-idouble.c): Likewise.
15024         (CPPFLAGS-test-ifloat.c): Likewise.
15025         (CFLAGS-test-ldouble.c): Likewise.
15026         (CFLAGS-test-double.c): Likewise.
15027         (CFLAGS-test-float.c): Likewise.
15028         (CFLAGS-test-misc.c): Likewise.
15029         (CFLAGS-test-test-fenv.c): Likewise.
15030
15031 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15032
15033         [BZ #2550]
15034         [BZ #2570]
15035         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15036         comparisons to determine direction to adjust input.
15037
15038 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15039
15040         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15041         output to the target.
15042
15043         * scripts/localplt.awk: New file.
15044         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15045         (check-localplt-CFLAGS): Variable removed.
15046         ($(all-built-dso:=.jmprel)): New static pattern rule.
15047         (generated): Add those targets.
15048         (localplt-built-dso): New variable.
15049         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15050
15051         * elf/check-localplt.c: File removed.
15052
15053         * scripts/check-execstack.awk: New file.
15054         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15055         (check-execstack-CFLAGS): Variable removed.
15056         ($(objpfx)check-execstack.h): Target removed.
15057         ($(objpfx)execstack-default): New target.
15058         (generated): Add that instead of check-execstack.h.
15059         ($(all-built-dso:=.phdr)): New static pattern rule.
15060         (generated): Add those targets.
15061         * elf/check-execstack.c: File removed.
15062
15063         * scripts/check-textrel.awk: New file.
15064         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15065         (check-textrel-CFLAGS): Variable removed.
15066         (all-built-dso): Use := to define.o
15067         ($(all-built-dso:=.dyn)): New static pattern rule.
15068         (generated): Add those targets.
15069         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15070         * config.make.in (READELF): New substituted variable.
15071         * elf/check-textrel.c: File removed.
15072
15073 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15074
15075         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15076         allow.
15077         * conform/data/ctype.h-data [C99-based standards] (isblank):
15078         Expect function.
15079         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15080         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15082         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15083         Specify type.  Require positive value.
15084         (EILSEQ): Likewise.
15085         (ERANGE): Likewise.
15086         [ISO || POSIX] (EILSEQ): Do not expect.
15087         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15088         Specify type.  Require positive value.
15089         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15090         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15091         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15092         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15093         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15094         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15095         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15096         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15097         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15098         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15099         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15100         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15101         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15102         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15103         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15104         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15105         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15106         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15107         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15108         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15109         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15110         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15111         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15112         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15113         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15114         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15115         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15116         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15117         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15118         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15119         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15120         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15121         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15122         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15123         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15124         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15125         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15126         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15127         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15128         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15129         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15130         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15131         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15132         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15133         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15134         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15135         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15136         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15137         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15138         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15139         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15140         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15141         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15142         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15143         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15144         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15145         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15146         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15147         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15148         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15149         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15150         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15151         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15152         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15153         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15154         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15155         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15156         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15157         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15158         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15159         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15160         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15161         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15162         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15163         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15164         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15165         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15166         Require >= 2.
15167         (FLT_ROUNDS): Expect as macro, not constant.
15168         (FLT_MANT_DIG): Use macro-int-constant.
15169         (DBL_MANT_DIG): Likewise.
15170         (LDBL_MANT_DIG): Likewise.
15171         (FLT_DIG): Likewise.
15172         (DBL_DIG): Likewise.
15173         (LDBL_DIG): Likewise.
15174         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15175         (DBL_MIN_EXP): Likewise.
15176         (LDBL_MIN_EXP): Likewise.
15177         (FLT_MAX_EXP): Use macro-int-constant.
15178         (DBL_MAX_EXP): Likewise.
15179         (LDBL_MAX_EXP): Likewise.
15180         (FLT_MAX_10_EXP): Likewise.
15181         (DBL_MAX_10_EXP): Likewise.
15182         (LDBL_MAX_10_EXP): Likewise.
15183         (FLT_MAX): Use macro-constant.
15184         (DBL_MAX): Likewise.
15185         (LDBL_MAX): Likewise.
15186         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15187         (DBL_EPSILON): Likewise.
15188         (LDBL_EPSILON): Likewise.
15189         (FLT_MIN): Likewise.
15190         (DBL_MIN): Likewise.
15191         (LDBL_MIN): Likewise.
15192         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15193         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15194         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15195         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15196         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15197         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15198         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15199         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15200         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15201         [ISO11] (FLT_TRUE_MIN): Likewise.
15202         [ISO11] (LDBL_TRUE_MIN): Likewise.
15203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15204         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15205         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15206         (SCHAR_MAX): Likewise.
15207         (UCHAR_MAX): Likewise.
15208         (CHAR_MIN): Likewise.
15209         (CHAR_MAX): Likewise.
15210         (MB_LEN_MAX): Use macro-int-constant.
15211         (SHRT_MIN): Use macro-int-constant.  Specify type.
15212         (SHRT_MAX): Likewise.
15213         (USHRT_MAX): Likewise.
15214         (INT_MAX): Likewise.
15215         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15216         bound negative.
15217         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15218         bound with "U".
15219         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15220         bound with "L".
15221         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15222         bound negative.  Suffix upper bound with "L".
15223         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15224         bound with "UL".
15225         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15226         Specify type.
15227         [C99-based standards] (LLONG_MAX): Likewise.
15228         [C99-based standards] (ULLONG_MAX): Likewise.
15229         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15230         == 0.
15231         [ISO11] (max_align_t): Require type.
15232         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15233
15234         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15235         from $CFLAGS, without defining away __attribute__ calls.
15236         (checknamespace): Use $CFLAGS_namespace.
15237
15238         * conform/conformtest.pl (@keywords): Only include C99 keywords
15239         for standards based on C99 or C11.
15240
15241         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15242         Disable tests.
15243         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15244         UNIX98]: Likewise.
15245
15246         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15247         usability of symbols in #if.
15248
15249         * conform/conformtest.pl: If macro or constant types start
15250         "promoted:", expect the symbol to be of the following type
15251         promoted by the integer promotions.
15252
15253         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15254         in one place.  Also handle "macro-constant".
15255
15256         * conform/conformtest.pl: Only accept expected macro values with
15257         "==".  Parse all "macro" lines in one place.
15258         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15259
15260         * conform/conformtest.pl: Handle braced types on "constant" lines
15261         instead of handling "typed-constant".
15262         * conform/data/signal.h-data: Use "constant" instead of
15263         "typed-constant".
15264
15265         * conform/conformtest.pl: Handle "optional-" at start of lines in
15266         one place rather than duplicating several cases.  Handle each
15267         format of "macro" line with initial "optional-".
15268
15269         * conform/conformtest.pl: Only accept expected constant or
15270         optional-constant values with "==".  Parse all "constant" lines in
15271         one place.  Parse all "optional-constant" lines in one place.
15272         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15273         * conform/data/fmtmsg.h-data: Likewise.
15274         * conform/data/netinet/in.h-data: Likewise.
15275         * conform/data/tar.h-data: Likewise.
15276         * conform/data/limits.h-data: Use "==" form on "constant" and
15277         "optional-constant" lines.
15278
15279         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15280         Use -std=c99 for XOPEN2K.
15281         (@knownproblems): Remove.
15282         (newtoken): Don't check %isknown.
15283
15284         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15285         Do not expect macro.
15286         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15287         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15288         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15289         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15290         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15291         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15292         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15293         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15294         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15295         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15296         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15297         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15298         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15299         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15300         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15301         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15302         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15303         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15304         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15305         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15306         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15307         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15308         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15309         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15310         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15311         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15312         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15313         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15314         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15315         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15316         [XPG3] (acosh): Likewise.
15317         [XPG3] (asinh): Likewise.
15318         [XPG3] (atanh): Likewise.
15319         [XPG3] (cbrt): Likewise.
15320         [XPG3] (expm1): Likewise.
15321         [XPG3] (ilogb): Likewise.
15322         [XPG3] (log1p): Likewise.
15323         [XPG3] (logb): Likewise.
15324         [XPG3] (nextafter): Likewise.
15325         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15326         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15327         [XPG3] (remainder): Likewise.
15328         [XPG3] (rint): Likewise.
15329         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15330         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15331         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15332         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15333         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15334         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15335         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15336         [UNIX98 || XOPEN2K] (scalb): Expect.
15337         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15338         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15339         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15340         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15341         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15342         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15343         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15344         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15345         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15346         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15347         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15348         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15349         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15350         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15351         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15352         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15353         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15354         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15355         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15356         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15357         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15358         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15359         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15360         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15361         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15362         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15363         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15364         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15365         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15366         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15367         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15368         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15369         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15370         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15371         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15372         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15373         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15374         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15375         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15376         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15377         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15378         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15379         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15380         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15381         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15382         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15383         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15384         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15385         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15386         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15387         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15388         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15389         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15390         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15391         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15392         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15393         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15394         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15395         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15396         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15397         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15398         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15399         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15400         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15401         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15402         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15403         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15404         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15405         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15406         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15407         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15408         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15409         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15410         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15411         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15412         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15413         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15414         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15415         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15416         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15417         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15418         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15419         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15420         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15421         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15422         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15423         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15424         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15425         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15426         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15427         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15428         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15429         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15430         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15431         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15432         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15433         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15434         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15435         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15436         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15437         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15438         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15439         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15440         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15441         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15442         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15443         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15444         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15445         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15446         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15447         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15448         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15449         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15450         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15451         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15452         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15453         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15454         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15455         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15456         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15457         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15458         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15459         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15460         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15461         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15462         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15463         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15464         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15465         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15466         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15467         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15468         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15469         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15470         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15471         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15472         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15473         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15474
15475         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15476         _XOPEN_SOURCE_EXTENDED for XPG4.
15477
15478         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15479
15480         * Makeconfig (localtime): Remove variable.
15481         (inst_localtime-file): Likewise.
15482
15483 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15484
15485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15486         Update.
15487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15488         Update.
15489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15490         Update.
15491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15492         Update.
15493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15494         Update.
15495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15496         Update.
15497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15498         Update.
15499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15500         Update.
15501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15502         Update.
15503
15504 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15505
15506         [BZ #2550]
15507         [BZ #2570]
15508         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15509         comparisons to determine direction to adjust input.
15510         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15511         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15512         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15513         Likewise.
15514         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15515         Likewise.
15516         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15517         Likewise.
15518         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15519         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15520         Likewise.
15521         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15522         Likewise.
15523         * math/libm-test.inc (nexttoward_test): Add more tests.
15524
15525 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15526
15527         [BZ #14040]
15528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15529         in version GLIBC_2.1, not GLIBC_2.0.
15530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15531         Likewise.
15532
15533 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15534
15535         [BZ #13942]
15536         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15537         (1 - x) * (1 + x).
15538         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15539         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15540         * math/libm-test.inc (acos_test): Add more tests.
15541         (asin_test): Likewise.
15542         * sysdeps/i386/fpu/libm-test-ulps: Update.
15543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544
15545         [BZ #14034]
15546         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15547         of square root.
15548         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15549         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15550         * math/libm-test.inc (acos_test_tonearest): New function.
15551         (acos_test_towardzero): Likewise.
15552         (acos_test_downward): Likewise.
15553         (acos_test_upward): Likewise.
15554         (asin_test_tonearest): Likewise.
15555         (asin_test_towardzero): Likewise.
15556         (asin_test_downward): Likewise.
15557         (asin_test_upward): Likewise.
15558         (main): Call the new functions.
15559         * sysdeps/i386/fpu/libm-test-ulps: Update.
15560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15561
15562         [BZ #13884]
15563         [BZ #13924]
15564         * math/e_exp10.c: Include <float.h>.
15565         (__ieee754_exp10): Handle underflow here rather than multiplying
15566         large negative argument by M_LN10.
15567         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15568         of __ieee754_expf.
15569         * math/e_exp10l.c: Include <float.h>.
15570         (__ieee754_exp10l): Handle underflow here rather than multiplying
15571         large negative argument by M_LN10l.
15572         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15573         spurious overflow exception on underflow.
15574
15575 2012-04-29  Marek Polacek  <polacek@redhat.com>
15576
15577         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15578         (__fortify_function): New macro.
15579         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15580         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15581         __extern_always_inline.
15582         * libio/bits/stdio2.h: Likewise.
15583         * libio/bits/stdio.h: Likewise.
15584         * string/string.h: Likewise.
15585         * string/bits/string3.h: Likewise.
15586         * include/stdio.h: Likewise.
15587         * stdlib/bits/stdlib.h: Likewise.
15588         * stdlib/stdlib.h: Likewise.
15589         * rt/bits/mqueue2.h: Likewise.
15590         * rt/mqueue.h: Likewise.
15591         * posix/bits/unistd.h: Likewise.
15592         * posix/unistd.h: Likewise.
15593         * io/bits/poll2.h: Likewise.
15594         * io/bits/fcntl2.h: Likewise.
15595         * io/fcntl.h: Likewise.
15596         * io/sys/poll.h: Likewise.
15597         * misc/bits/syslog.h: Likewise.
15598         * misc/bits/syslog-ldbl.h: Likewise.
15599         * misc/sys/syslog.h: Likewise.
15600         * socket/bits/socket2.h: Likewise.
15601         * socket/sys/socket.h: Likewise.
15602         * debug/tst-chk1.c: Likewise.
15603         * wcsmbs/bits/wchar2.h: Likewise.
15604         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15605         * wcsmbs/wchar.h: Likewise.
15606
15607 2012-04-29  Andreas Jaeger  <aj@suse.de>
15608
15609         * Makerules (tests): Remove enable-check-abi protection.
15610         (check-abi-warn): Remove.
15611         (check-abi-%): Remove check-abi-warn usage.
15612
15613         * configure.in: Remove check-abi configure option.
15614         * configure: Regenerated.
15615         * config.make.in (enable-check-abi): Remove.
15616
15617 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15618
15619         [BZ #14033]
15620         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15621         double functions to double *_finite functions.
15622
15623         [BZ #13941]
15624         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15625         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15626         LDBL_MIN_EXP.
15627         * stdio-common/Makefile (tests): Add tst-sprintf3.
15628         * stdio-common/tst-sprintf3.c: New file.
15629
15630         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15631         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15632
15633 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15634
15635         * conform/conformtest.pl: Remove duplicate typed-constant
15636         handling.
15637
15638 2012-04-28  David S. Miller  <davem@davemloft.net>
15639
15640         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15641         (check-abi-%): Remove AWK script prerequisite and explicit
15642         abilist directory.
15643         (check-abi): Rewrite to just diff the symlist with the abilist.
15644         (config-tls, config-abi-config): Delete, no longer used.
15645         (update-abi-%): Remove AWK script and explicit abilist directory.
15646         (update-abi): Rewrite to simply compare and conditionally copy the
15647         symlist and the sysdep abilist file.  Remove update-abi-config
15648         checks.
15649         * abilist/ld.abilist: Remove.
15650         * abilist/libBrokenLocale.abilist: Remove.
15651         * abilist/libanl.abilist: Remove.
15652         * abilist/libcrypt.abilist: Remove.
15653         * abilist/libdl.abilist: Remove.
15654         * abilist/librt.abilist: Remove.
15655         * abilist/libthread_db.abilist: Remove.
15656         * abilist/libutil.abilist: Remove.
15657         * scripts/extract-abilist.awk: Remove.
15658         * scripts/merge-abilist.awk: Remove.
15659         * sysdeps/generic/libcidn.abilist: New file.
15660         * sysdeps/generic/libnss_compat.abilist: New file.
15661         * sysdeps/generic/libnss_db.abilist: New file.
15662         * sysdeps/generic/libnss_dns.abilist: New file.
15663         * sysdeps/generic/libnss_files.abilist: New file.
15664         * sysdeps/generic/libnss_hesiod.abilist: New file.
15665         * sysdeps/generic/libnss_nis.abilist: New file.
15666         * sysdeps/generic/libnss_nisplus.abilist: New file.
15667         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15668         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15669         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15670         file.
15671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15672         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15673         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15674         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15675         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15676         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15677         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15678         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15679         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15680         file.
15681         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15682         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15683         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15684         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15685         file.
15686         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15687         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15688         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15689         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15690         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15691         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15692         file.
15693         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15694         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15695         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15696         file.
15697         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15699         New file.
15700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15701         New file.
15702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15703         New file.
15704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15705         New file.
15706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15707         New file.
15708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15709         New file.
15710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15711         New file.
15712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15713         New file.
15714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15715         New file.
15716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15717         New file.
15718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15719         New file.
15720         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15721         New file.
15722         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15723         New file.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15725         file.
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15727         New file.
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15729         New file.
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15731         file.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15733         New file.
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15735         New file.
15736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15737         file.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15739         New file.
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15741         New file.
15742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15743         New file.
15744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15745         New file.
15746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15747         New file.
15748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15749         New file.
15750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15752         file.
15753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15754         New file.
15755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15756         file.
15757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15758         file.
15759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15760         file.
15761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15762         file.
15763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15764         file.
15765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15766         New file.
15767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15768         file.
15769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15770         file.
15771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15772         New file.
15773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15774         file.
15775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15777         file.
15778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15779         New file.
15780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15781         file.
15782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15783         file.
15784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15785         file.
15786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15787         file.
15788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15789         file.
15790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15791         New file.
15792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15793         file.
15794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15795         file.
15796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15797         New file.
15798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15799         file.
15800         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15801         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15802         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15803         file.
15804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15805         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15806         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15807         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15808         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15809         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15810         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15811         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15812         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15813         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15816         file.
15817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15818         New file.
15819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15820         file.
15821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15822         file.
15823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15824         file.
15825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15826         file.
15827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15828         file.
15829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15830         New file.
15831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15832         New file.
15833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15834         file.
15835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15836         New file.
15837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15838         file.
15839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15841         file.
15842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15843         New file.
15844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15845         file.
15846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15847         file.
15848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15849         file.
15850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15851         file.
15852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15853         file.
15854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15855         New file.
15856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15857         New file.
15858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15859         file.
15860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15861         New file.
15862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15863         file.
15864
15865 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15866
15867         * conform/conformtest.pl: Fix typo in handling typed-constant from
15868         allow-header.
15869
15870 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15871
15872         * README: Cut down references to pre-2.6 Linux kernels and
15873         Linuxthreads.  Update lists of configurations in libc and ports
15874         and sort alphabetically.  Say "or newer" with Linux kernel version
15875         requirements.
15876
15877         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15878
15879 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15880
15881         [BZ #887]
15882         * math/libm-test.inc (logb_test_downward): New test to expose
15883         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15884         rounding mode.
15885
15886 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15887
15888         [BZ #14027]
15889         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15890         to be done.
15891         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15892         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15893
15894 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15895
15896         * sysdeps/unix/i386/brk.S: Remove file.
15897         * sysdeps/unix/i386/dl-brk.S: Likewise.
15898         * sysdeps/unix/i386/pipe.S: Likewise.
15899         * sysdeps/unix/i386/sigreturn.S: Likewise.
15900         * sysdeps/unix/i386/syscall.S: Likewise.
15901         * sysdeps/unix/i386/vfork.S: Likewise.
15902         * sysdeps/unix/i386/wait.S: Likewise.
15903
15904         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15905         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15906
15907         * configure.in (arm*-none*): Do not allow without
15908         --enable-hacker-mode.
15909         (netbsd*): Remove case setting base_os.
15910         (386bsd*): Likewise.
15911         (freebsd*): Likewise.
15912         (bsdi*): Likewise.
15913         (osf*): Likewise.
15914         (sunos*): Likewise.
15915         (ultrix*): Likewise.
15916         (newsos*): Likewise.
15917         (dynix*): Likewise.
15918         (*bsd*): Likewise.
15919         (sysv*): Likewise.
15920         (isc*): Likewise.
15921         (esix*): Likewise.
15922         (sco*): Likewise.
15923         (minix*): Likewise.
15924         (irix4*): Likewise.
15925         (irix6*): Likewise.
15926         (solaris[2-9]*): Likewise.
15927         (none): Likewise.
15928         * configure: Regenerated.
15929
15930 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15931
15932         [BZ #11521]
15933         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15934         overflow or cancellation in calculating denominator.
15935         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15936         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15937         down expression to avoid unexpected rounding in newer GCCs.
15938         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15939
15940 2012-04-26  David S. Miller  <davem@davemloft.net>
15941
15942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15943         long-double compat symbols.
15944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15957
15958 2012-04-25  David S. Miller  <davem@davemloft.net>
15959
15960         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15961         HWCAP_* values only after the memory barriers have been defined.
15962         (atomic_full_barrier): Define.
15963         (atomic_read_barrier): Define.
15964         (atomic_write_barrier): Define.
15965
15966 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15967
15968         * shlib-versions: Add libgcc_s version information.
15969         * sysdeps/generic/libgcc_s.h: Remove.
15970         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15971         libgcc_s.h.
15972         * sysdeps/gnu/unwind-resume.c: Likewise.
15973         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15974
15975 2012-04-25  David S. Miller  <davem@davemloft.net>
15976
15977         * sysdeps/unix/sparc/brk.S: Delete.
15978         * sysdeps/unix/sparc/dl-brk.S: Delete.
15979         * sysdeps/unix/sparc/pipe.S: Delete.
15980         * sysdeps/unix/sparc/sysdep.S: Delete.
15981         * sysdeps/unix/sparc/sysdep.h: Delete.
15982         * sysdeps/unix/sparc/vfork.S: Delete.
15983         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15984         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15985         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15986         ret_ERRVAL, r0, r1, MOVE): Define.
15987         (JUMPTARGET): Remove.
15988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15989         sysdeps/unix/sparc/sysdep.h
15990         (ENTRY, END): Remove.
15991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15992
15993 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15994
15995         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15996         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15997         -DIS_IN_build.
15998
15999         * timezone/README: Update upstream location and email address for
16000         tzcode and tzdata.
16001         * timezone/zdump.c: Update from tzcode 2012b.
16002         * timezone/zic.c: Likewise.
16003
16004         * configure.in (libc_cv_as_needed): Remove test.
16005         * configure: Regenerated.
16006         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16007         conditional definition.
16008         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16009         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16010         * config.make.in (have-as-needed): Remove variable.
16011
16012 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16013             Paul Pluzhnikov  <ppluzhnikov@google.com>
16014
16015         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16016         strings correctly.
16017
16018 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16019
16020         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16021         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16022         * sysdeps/sh/strlen.S: Likewise.
16023
16024 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16025
16026         * sysdeps/unix/fork.S: Remove file.
16027         * sysdeps/unix/i386/fork.S: Likewise.
16028         * sysdeps/unix/sparc/fork.S: Likewise.
16029
16030         * sysdeps/unix/system.c: Remove file.
16031         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16032
16033         * sysdeps/unix/getegid.S: Remove file.
16034         * sysdeps/unix/geteuid.S: Likewise.
16035
16036 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16037
16038         * scripts/check-localplt.awk: New file.
16039         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16040         of diff.
16041         * scripts/data/localplt-generic.data: Add a comment.
16042
16043         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16044         NODE when __dir_mkfile failed.
16045         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16046         Reported by Ludovic Courtès <ludo@gnu.org>.
16047
16048 2012-04-24  Andreas Jaeger  <aj@suse.de>
16049
16050         * Makerules (common-clean): Also remove gen-as-const-headers
16051         files.
16052
16053 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16054
16055         * Makerules (native-compile): Do not change working directory for
16056         build.  Use $(OUTPUT_OPTION) in command.
16057         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16058
16059 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16060
16061         [BZ #13886]
16062         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16063         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16064         * math/libm-test.inc (floor_test): Add more tests.
16065         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16066
16067 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16068
16069         * sysdeps/unix/getdents.c: Remove file.
16070         * sysdeps/unix/sysv/getdents.c: Likewise.
16071         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16072
16073         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16074         sysdeps/unix/mman/syscalls.list.
16075         (mmap): Likewise.
16076         (mprotect): Likewise.
16077         (msync): Likewise.
16078         (munmap): Likewise.
16079         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16080         * sysdeps/unix/mman/syscalls.list: Remove.
16081         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16082
16083         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16084         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16085         * configure: Regenerated.
16086         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16087         $(libgcc_s_suffix).
16088         * config.make.in (libgcc_s_suffix): Remove variable.
16089
16090 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16091
16092         * sysdeps/unix/sysv/gethostname.c: Move to ...
16093         * sysdeps/posix/gethostname.c: ... here.
16094
16095         * sysdeps/unix/execve.S: Remove file.
16096
16097         * sysdeps/unix/_exit.S: Remove file.
16098
16099 2012-04-23  Andreas Jaeger  <aj@suse.de>
16100
16101         [BZ #13739]
16102         * manual/Makefile: Remove make dist support, there's no
16103         need for a stand-alone documentation tar ball.
16104         (TEXI2DVI): Define always, it's not in Makeconfig.
16105         (dist): Removed.
16106         (tar-it): Removed.
16107         (edition): Removed.
16108         (glibc-doc-$(edition).tar): Removed
16109         (%.Z): Removed.
16110         (%.gz): Removed.
16111         (%.uu): Removed.
16112         (ETAGS): Remove, it's in Makeconfig.
16113         (move-if-change): Remove, it's in Makeconfig.
16114
16115 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16116
16117         [BZ #13970]
16118         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16119         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16120         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16121         (strtod_l, strtof_l, strtold_l): Remove __wur.
16122         It is not necessarily an error to ignore strtol's return value.
16123         One can reliably look at the stored endptr to decide whether
16124         the number had valid syntax.
16125
16126 2012-04-21  Andreas Jaeger  <aj@suse.de>
16127
16128         [BZ #13739]
16129         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16130
16131 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16132
16133         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16134         * sysdeps/unix/sysv/Versions: Remove file.
16135
16136 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16137
16138         [BZ #13927]
16139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16140
16141 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16142
16143         [BZ #7064]
16144         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16145         version from __vm86.
16146
16147 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16148
16149         * sysdeps/unix/common/lxstat.c: Remove file.
16150         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16151
16152         * sysdeps/unix/sysv/Makefile: Remove file.
16153
16154         * sysdeps/unix/sysv/direct.h: Remove file.
16155
16156         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16157         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16158         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16159         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16160         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16161         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16162         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16163
16164         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16165
16166         * sysdeps/unix/xmknod.c: Remove file.
16167         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16168
16169         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16170
16171         * sysdeps/unix/sysv/i386/time.S: Remove file.
16172
16173         * sysdeps/unix/fxstat.c: Remove file.
16174         * sysdeps/unix/xstat.c: Likewise.
16175         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16176
16177         * sysdeps/unix/sysv/sigaction.c: Remove file.
16178
16179         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16180         (sysdep_headers): Remove variable.
16181         [termio.h not in sysdep_headers] (generated): Likewise.
16182         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16183         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16184         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16185         * sysdeps/unix/sysv/tcflow.c: Likewise.
16186         * sysdeps/unix/sysv/tcflush.c: Likewise.
16187         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16188         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16189         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16190         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16191         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16192
16193         * sysdeps/unix/siglist.c: Remove file.
16194
16195         * sysdeps/unix/getppid.S: Remove file.
16196
16197         * sysdeps/unix/mkdir.c: Remove file.
16198         * sysdeps/unix/rmdir.c: Likewise.
16199
16200 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16201
16202         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16203         ERR_MAX value.
16204         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16205         errlist-compat value.
16206
16207 2012-04-18  David S. Miller  <davem@davemloft.net>
16208
16209         * sysdeps/generic/memcopy.h (reg_char): Delete.
16210         * debug/strcat_chk.c: Use char, not reg_char.
16211         * debug/strcpy_chk.c: Likewise.
16212         * debug/strncat_chk.c: Likewise.
16213         * debug/strncpy_chk.c: Likewise.
16214         * string/memchr.c: Likewise.
16215         * string/memrchr.c: Likewise.
16216         * string/rawmemchr.c: Likewise.
16217         * string/strcat.c: Likewise.
16218         * string/strchr.c: Likewise.
16219         * string/strchrnul.c: Likewise.
16220         * string/strcmp.c: Likewise.
16221         * string/strcpy.c: Likewise.
16222         * string/strncat.c: Likewise.
16223         * string/strncmp.c: Likewise.
16224         * string/strncpy.c: Likewise.
16225
16226 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16227
16228         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16229         __builtin_memcopy is called when src and dest ranges are known to not
16230         overlap.
16231
16232 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16233
16234         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16235         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16236         fwd_align_merge macro call.
16237         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16238         bwd_align_merge macro call.
16239         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16240
16241 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16242
16243         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16244         bwd_align_merge macros.
16245         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16246         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16247         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16248
16249 2012-04-18  David S. Miller  <davem@davemloft.net>
16250
16251         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16252
16253 2012-04-18  Andreas Jaeger  <aj@suse.de>
16254
16255         [BZ# 6794]
16256         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16257         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16258         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16259
16260         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16261         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16262         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16263
16264         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16265         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16266         Adjust for changed ldbl-128 files.
16267
16268         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16269         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16270         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16271
16272 2012-04-17  David S. Miller  <davem@davemloft.net>
16273
16274         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16275
16276 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16277
16278         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16279         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16280         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16281         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16282         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16283         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16284
16285 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16286
16287         [BZ #6794]
16288         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16289         * math/libm-test.inc: Add ilogb errno and exception tests.
16290         * math/w_ilogb.c: New file: ilogb wrapper.
16291         * math/w_ilogbf.c: New file: ilogbf wrapper.
16292         * math/w_ilogbl.c: New file: ilogbl wrapper.
16293         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16294         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16295         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16296         exception being thrown with 0.0 as argument.
16297         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16298         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16299         exception being thrown with 0.0 as argument.
16300         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16301         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16302         exception being thrown with 0.0 as argument.
16303         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16304         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16305         exception being thrown with 0.0 as argument.
16306         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16307         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16308         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16309         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16310         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16311         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16312         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16313         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16314         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16315
16316 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16317
16318         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16319         with altivec.
16320
16321 2012-04-16  Marek Polacek  <polacek@redhat.com>
16322
16323         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16324
16325 2012-04-16  Marek Polacek  <polacek@redhat.com>
16326
16327         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16328         operands of fdivp instruction.
16329
16330 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16331
16332         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16333         * elf/tst-auditmod3b.c: Likewise.
16334         * elf/tst-auditmod4b.c: Likewise.
16335         * elf/tst-auditmod5b.c: Likewise.
16336         * elf/tst-auditmod6b.c: Likewise.
16337         * elf/tst-auditmod6c.c: Likewise.
16338         * elf/tst-auditmod7b.c: Likewise.
16339         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16340         * sysdeps/x86_64/preconfigure.in: Likewise.
16341         * sysdeps/x86_64/preconfigure: Regenerated.
16342
16343 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16344
16345         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16346         __ILP32__.
16347
16348 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16349
16350         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16351         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16352
16353 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16354
16355         [BZ #13973]
16356         * locale/iso-639.def: Fix gl language name. Spotted by
16357         Yaron Shahrabani.
16358
16359 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16360
16361         [BZ #2074]
16362         * libio/libio.h (__io_write_fn): Update comment.
16363
16364 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16365
16366         [BZ #2074]
16367         * stdio.texi (Hook Functions): The user provided writer function
16368         is not allowed to return -1.
16369
16370 2012-04-11  David S. Miller  <davem@davemloft.net>
16371
16372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16373
16374 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16375
16376         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16377         Add a leading slash to rtkaio.
16378
16379 2012-04-11  Jim Meyering  <meyering@redhat.com>
16380
16381         [BZ #11959]
16382         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16383         It is not necessarily an error to ignore fwrite's return
16384         value.  One can reliably use ferror to test for errors after
16385         the fact.
16386
16387 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16388
16389         * bits/types.h (__snseconds_t): New type.
16390         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16391
16392         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16394         (__SNSECONDS_T_TYPE): Likewise.
16395         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16396         (__SNSECONDS_T_TYPE): Likewise.
16397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16398         (__SNSECONDS_T_TYPE): Likewise.
16399
16400 2012-04-10  Andreas Jaeger  <aj@suse.de>
16401
16402         [BZ #2636]
16403         * manual/time.texi (Processor Time): Return type of times is
16404         elapsed real time since an arbitrary point in the past.
16405         (CPU Time): Move CLK_TCK from here...
16406         (Processor Time): ...to here.  Correct description.
16407         * manual/conf.texi (Constants for Sysconf): Correct description of
16408         _SC_CLK_TCK.
16409
16410 2012-04-10  David S. Miller  <davem@davemloft.net>
16411
16412         [BZ #13967]
16413         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16414         where the is a gap between DT_REL(A) and DT_JMPREL.
16415
16416 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16417
16418         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16419         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16420         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16421
16422 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16423
16424         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16425         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16426         (dl_main): Handle --inhibit-cache.
16427         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16428         _dl_inhibit_cache.
16429         * elf/dl-load.c (_dl_map_object): Use it.
16430         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16431
16432 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16433
16434         [BZ #13872]
16435         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16436         (__ieee754_powl): Saturate large exponents rather than testing for
16437         overflow of y*log2(x).
16438         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16439         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16440         exceptions.
16441
16442         [BZ #11521]
16443         * math/s_ctan.c: Include <float.h>.
16444         (__ctan): Avoid internal overflow or cancellation in calculating
16445         denominator.
16446         * math/s_ctanf.c: Likewise.
16447         * math/s_ctanl.c: Likewise.
16448         * math/s_ctanh.c: Likewise.
16449         * math/s_ctanhf.c: Likewise.
16450         * math/s_ctanhl.c: Likewise.
16451         * math/libm-test.inc (ctan_test): Add more tests.
16452         (ctanh_test): Likewise.
16453         * sysdeps/i386/fpu/libm-test-ulps: Update.
16454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16455
16456 2012-04-09  Andreas Jaeger  <aj@suse.de>
16457
16458         [BZ #6894]
16459         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16460         is an optional BSD extension.
16461
16462         [BZ #10254]
16463         * manual/stdio.texi (Opening Streams): Document additional fopen
16464         parameters.
16465
16466 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16467
16468         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16469         %eax without telling the compiler.
16470
16471 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16472
16473         [BZ # 13963]
16474         * manual/install.texi: Use sourceware.org.
16475
16476 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16477
16478         [BZ #13873]
16479         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16480         (__ieee754_pow): Generate overflow and underflow using huge*huge
16481         and tiny*tiny rather than just returning constant infinity or zero
16482         for large exponents.
16483         * math/libm-test.inc (pow_test): Require overflow exceptions for
16484         applicable cases of large exponents.
16485
16486         [BZ #706]
16487         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16488         (__ieee754_pow): Use iterative multiplication algorithm only for
16489         integer exponents with absolute value below 1024.  Check for odd
16490         integer exponents when using algorithm for real exponents.
16491         * math/libm-test.inc (pow_test): Add more tests.
16492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16493
16494 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16495
16496         [BZ #13705]
16497         * math/libm-test.inc (exp_test): Do not allow overflow exception
16498         on underflow test.
16499
16500 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16501
16502         [BZ #13705]
16503         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16504         instead of __kernel_standard_f.
16505
16506 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16507
16508         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16509         * sysdeps/x86_64/memset_chk.S: Likewise.
16510
16511 2012-04-08  Andreas Jaeger  <aj@suse.de>
16512
16513         [BZ #10153]
16514         * manual/startup.texi (Environment Access): Describe return value
16515         for putenv and setenv.
16516
16517         [BZ #6895]
16518         * manual/filesys.texi (Directory Entries): Add description for
16519         DT_LNK.
16520
16521         [BZ #6890]
16522         * manual/filesys.texi (Directory Entries): Clarify that it's file
16523         system not operating system in the description of DT_UNKNOWN.
16524
16525         [BZ #6578]
16526         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16527
16528 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16529
16530         [BZ #6649]
16531         * manual/llio.texi (Opening and Closing Files): Add cross
16532         reference to explain mode argument.
16533
16534 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16535
16536         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16537         * sysdeps/x86_64/memset_chk.S: Likewise.
16538
16539 2012-04-07  David S. Miller  <davem@davemloft.net>
16540
16541         * elf/elf.h (R_SPARC_WDISP10): Define.
16542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16543         R_SPARC_SIZE32.
16544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16545         R_SPARC_SIZE64 and R_SPARC_H34.
16546
16547 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16548
16549         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16550         conditions and remove no longer applicable assertion.
16551
16552 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16553
16554         * bits/byteswap.h: Include <features.h>.
16555         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16556         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16557
16558 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16559
16560         * bits/byteswap.h (__bswap_16): Removed.
16561         Include <bits/byteswap-16.h> to get __bswap_16.
16562         * sysdeps/i386/bits/byteswap.h: Likewise.
16563         * sysdeps/s390/bits/byteswap.h: Likewise.
16564         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16565         * bits/byteswap-16.h: New file.
16566         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16567         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16568         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16569         * string/Makefile (headers): Add bits/byteswap-16.h.
16570
16571 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16572
16573         [BZ #13895]
16574         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16575         extra indirection.
16576         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16577         * nss/tst-nss-static.c: New.
16578
16579 2012-04-06  Robert Millan  <rmh@gnu.org>
16580
16581         [BZ #6486]
16582         * manual/llio.texi (File Position Primitive): lseek
16583         refers to WHENCE when it really means OFFSET.
16584
16585 2012-04-06  Andreas Jaeger  <aj@suse.de>
16586
16587         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16588         strncmp declarations.
16589
16590         * abilist/libc.abilist: Add __poll and __ppoll.
16591
16592 2012-04-05  David S. Miller  <davem@davemloft.net>
16593
16594         * scripts/check-local-headers.sh: Accept a host triplet in the
16595         path matched by the exclude regexp.
16596
16597         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16598         definition.
16599         * sysdeps/powerpc/powerpc32/dl-machine.h
16600         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16601         * sysdeps/s390/s390-32/dl-machine.h
16602         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16603         * sysdeps/sparc/sparc32/dl-machine.h
16604         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16605         * sysdeps/sparc/sparc64/dl-machine.h
16606         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16607
16608         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16609         lazy binding.
16610         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16611         undefined symbol errors.
16612
16613         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16614         DT_NEEDED entries.
16615
16616 2012-04-05  Michael Matz  <matz@suse.de>
16617
16618         [BZ #13592]
16619         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16620
16621 2012-04-05  Andreas Jaeger  <aj@suse.de>
16622
16623         [BZ #13908]
16624         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16625         comment.
16626
16627 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16628
16629         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16630         which ROUND is no valid rounding mode.
16631
16632 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16633
16634         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16635         read again.
16636         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16637
16638 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16639
16640         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16641         an exception using FPU order intentionally.
16642
16643 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16644
16645         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16646         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16647         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16648         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16649
16650 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16651
16652         [BZ #12340]
16653         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16654         EINVAL when BUFLEN is too smal.
16655
16656 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16657
16658         [BZ #13553]
16659         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16660         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16661
16662 2012-04-03  Andreas Jaeger  <aj@suse.de>
16663
16664         [BZ #13938]
16665         * manual/setjmp.texi (System V contexts): Fix sentence.
16666
16667         [BZ #13926]
16668         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16669         New macro for this case.
16670         [!__GNUC__] (__bswap_64): New inline function for this case.
16671         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16672         * bits/byteswap.h: Likewise.
16673         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16674         ull, guard with __GLIBC_HAVE_LONG_LONG.
16675
16676         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16677         __GLIBC_HAVE_LONG_LONG.
16678
16679         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16680         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16681
16682 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16683
16684         [BZ #13691]
16685         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16686         inptr and inend, rather than using last_ch.
16687
16688 2012-04-02  David S. Miller  <davem@davemloft.net>
16689
16690         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16691         * stdio-common/printf-parse.h (read_int): Change return type to
16692         'int', return -1 on INT_MAX overflow.
16693         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16694         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16695         overflows INT_MAX.  Check for overflow of in-format-string precision
16696         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16697         SIZE_MAX not INT_MAX for integer overflow test.
16698         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16699         skip the construct in the format string but do not record anything.
16700         * stdio-common/bug22.c: Adjust to test both width/prevision
16701         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16702         explicitly for proper errno values.
16703
16704 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16705
16706         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16707         CHAR_MAX.
16708         * string/test-strcmp.c [! WIDE]: Likewise.
16709         * time/tst-mktime2.c: Likewise for INT_MAX.
16710         * string/test-string.h: #include <sys/param.h> for MIN.
16711
16712         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16713         * sysdeps/i386/init-first.c (init): Likewise.
16714         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16715         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16716         * sysdeps/sh/init-first.c (init): Likewise.
16717
16718 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16719
16720         * po/ru.po: Update from translation team.
16721         * po/vi.po: Likewise.
16722
16723 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16724
16725         * resolv/nss_dns/dns-host.c: Merge copyright years.
16726
16727 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16728
16729         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16730         Optimize memcpy with prefetch if
16731         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16732         src, dst pointers have unequal 16 byte alignments.
16733
16734 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16735
16736         [BZ #13928]
16737         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16738         from a CNAME entry and return the minimum ttl for the query.
16739         (gaih_getanswer_slice): Likewise.
16740
16741 2012-03-30  Jeff Law  <law@redhat.com>
16742
16743         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16744         due to long keys.
16745         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16746         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16747
16748         * resolv/nss_dns/dns-host.c: Update copyright year.
16749
16750 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16751
16752         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16753         requests to save a system call.  Fix check that all bytes are sent.
16754
16755         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16756         comments for sendmmsg.
16757
16758 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16759
16760         [BZ #13691]
16761         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16762         with only 1 character between 0x0041 and 0x01b0.
16763         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16764         * wcsmbs/tst-mbsnrtowcs.c: New file.
16765
16766 2012-03-29  David S. Miller  <davem@davemloft.net>
16767
16768         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16769         small copies by hand.
16770
16771 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16772
16773         [BZ #13761]
16774         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16775         _nss_compat_initgroups_dyn): Fall back to malloc/free
16776         for large group memberships.
16777
16778 2012-03-28  David S. Miller  <davem@davemloft.net>
16779
16780         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16781         that branches into memcpy.
16782         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16784         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16785         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16786         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16787         bits.
16788         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16789         implementation too.
16790         * sysdeps/sparc/mempcpy.S: New file.
16791
16792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16793         the IFUNC routine in the libc case.
16794         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16795
16796         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16797         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16798         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16799         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16800         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16801         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16802         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16803         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16804
16805         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16806         loop to 256 bytes instead of 64 bytes and fix test signedness.
16807
16808         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16809         * sysdeps/sparc/sparc32/Makefile: rather than here...
16810         * sysdeps/sparc/sparc64/Makefile: and here.
16811
16812 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16813
16814         * malloc/mallocbug.c: Avoid warnings about unused variables.
16815
16816 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16817
16818         [BZ #13760]
16819         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16820         in the right place. Discard and retry query if response is
16821         larger than input buffer size.
16822
16823 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16824
16825         [BZ #369]
16826         [BZ #2678]
16827         [BZ #3866]
16828         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16829         x for large integer exponent.
16830         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16831         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16832         sign of result as needed afterwards.
16833         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16834         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16835         result for underflowing pow the same as for overflow.
16836         (__kernel_standard_l): Handle powl overflow and underflow here
16837         rather than calling __kernel_standard.
16838         * math/libm-test.inc (pow_test): Add more tests.
16839
16840         [BZ #3868]
16841         [BZ #13879]
16842         [BZ #13910]
16843         [BZ #13911]
16844         [BZ #13912]
16845         [BZ #13913]
16846         [BZ #13915]
16847         [BZ #13916]
16848         [BZ #13917]
16849         [BZ #13918]
16850         [BZ #13919]
16851         [BZ #13920]
16852         [BZ #13921]
16853         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16854         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16855         (__kernel_standard_l): New function.
16856         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16857         __kernel_standard.
16858         * math/w_acosl.c (__acosl): Likewise.
16859         * math/w_asinl.c (__asinl): Likewise.
16860         * math/w_atan2l.c (__atan2l): Likewise.
16861         * math/w_atanhl.c (__atanhl): Likewise.
16862         * math/w_coshl.c (__coshl): Likewise.
16863         * math/w_exp10l.c (__exp10l): Likewise.
16864         * math/w_exp2l.c (__exp2l): Likewise.
16865         * math/w_fmodl.c (__fmodl): Likewise.
16866         * math/w_hypotl.c (__hypotl): Likewise.
16867         * math/w_j0l.c (__j0l, __y0l): Likewise.
16868         * math/w_j1l.c (__j1l, __y1l): Likewise.
16869         * math/w_jnl.c (__jnl, __ynl): Likewise.
16870         * math/w_lgammal.c (__lgammal): Likewise.
16871         * math/w_log10l.c (__log10l): Likewise.
16872         * math/w_log2l.c (__log2l): Likewise.
16873         * math/w_logl.c (__logl): Likewise.
16874         * math/w_powl.c (__powl): Likewise.
16875         * math/w_remainderl.c (__remainderl): Likewise.
16876         * math/w_scalbl.c (sysv_scalbl): Likewise.
16877         * math/w_sinhl.c (__sinhl): Likewise.
16878         * math/w_sqrtl.c (__sqrtl): Likewise.
16879         * math/w_tgammal.c (__tgammal): Likewise.
16880         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16881         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16882         * math/libm-test.inc (acos_test): Add more tests.
16883         (acosh_test): Likewise.
16884         (asin_test): Likewise.
16885         (atanh_test): Likewise.
16886         (exp_test): Likewise.
16887         (exp10_test): Likewise.
16888         (exp2_test): Likewise.
16889         (expm1_test): Likewise.
16890         (lgamma_test): Likewise.
16891         (log_test): Likewise.
16892         (log10_test): Likewise.
16893         (log1p_test): Likewise.
16894         (log2_test): Likewise.
16895         (pow_test): Do not allow some spurious overflow exceptions.
16896         (sqrt_test): Add more tests.
16897         (tgamma_test): Likewise.
16898         (y0_test): Likewise.
16899         (y1_test): Likewise.
16900         (yn_test): Likewise.
16901
16902 2012-03-27  Anton Blanchard  <anton@samba.org>
16903
16904         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16905         MAP_HUGETLB.
16906         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16907         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16909
16910 2012-03-27  David S. Miller  <davem@davemloft.net>
16911
16912         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16913
16914         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16915         have-as-vis3 check.
16916
16917 2012-03-27  Andreas Jaeger  <aj@suse.de>
16918
16919         * sysdeps/x86_64/elf/configure.in: Moved to ...
16920         * sysdeps/x86_64/configure.in: ... here.
16921         * sysdeps/x86_64/elf/start.S: Moved to ...
16922         * sysdeps/x86_64/start.S: ... here.
16923         * sysdeps/x86_64/elf/configure: Delete.
16924
16925         * sysdeps/x86_64/configure.in: Merge contents from
16926         sysdeps/i386/configure.in (without i686 check).
16927
16928         * sysdeps/i386/elf/Versions: Merge into ...
16929         * sysdeps/i386/Versions: ... this.
16930         * sysdeps/i386/elf/Versions: Delete file.
16931         * sysdeps/i386/elf/start.S: Moved to ...
16932         * sysdeps/i386/start.S: ...here.
16933         * sysdeps/i386/elf/configure.in: Merge into...
16934         * sysdeps/i386/configure.in: ...here.
16935         * sysdeps/i386/elf/configure.in: Delete file.
16936         * sysdeps/i386/elf/configure: Delete file.
16937
16938         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16939         * debug/backtracesyms.c: ... here.
16940         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16941         * debug/backtracesymsfd.c: ... here.
16942         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16943         * sysdeps/generic/ifunc-sel.h: ... here.
16944
16945         * sysdeps/unix/i386/start.c: Delete file.
16946         * sysdeps/unix/sparc/start.c: Delete file.
16947         * sysdeps/unix/start.c: Delete file.
16948
16949         * sysdeps/sh/elf/configure.in: Moved to ...
16950         * sysdeps/sh/configure.in: ... here.
16951         * sysdeps/sh/elf/start.S: Moved to ...
16952         * sysdeps/sh/start.S: ... here.
16953         * sysdeps/sh/elf/configure: Delete file.
16954
16955         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16956         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16957         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16958         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16959         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16960         * sysdeps/powerpc/powerpc64/start.S: here.
16961         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16962         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16963         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16964         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16965         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16966
16967         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16968         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16969         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16970         * sysdeps/powerpc/powerpc32/start.S: ... here.
16971         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16972         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16973         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16974
16975         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16976         * sysdeps/powerpc/ifunc-sel.h: ... here.
16977         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16978         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16979
16980         * sysdeps/sparc/elf/configure.in: Moved to ...
16981         * sysdeps/sparc/configure.in: ... here.
16982         * sysdeps/sparc/elf/configure: Delete file.
16983         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16984         * sysdeps/sparc/sparc32/start.S: ... here.
16985         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16986         * sysdeps/sparc/sparc64/start.S: ... here.
16987         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16988         * sysdeps/sparc/sparc32/Makefile: ... this.
16989         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16990         * sysdeps/sparc/sparc64/Makefile: ... this.
16991
16992         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16993         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16994         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16995         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16996         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16997         * sysdeps/s390/s390-32/setjmp.S: ... here.
16998         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16999         * sysdeps/s390/s390-32/configure.in: ... here.
17000         * sysdeps/s390/s390-32/elf/configure: Delete file.
17001         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17002         * sysdeps/s390/s390-32/start.S: ... here.
17003
17004         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17005         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17006         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17007         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17008         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17009         * sysdeps/s390/s390-64/setjmp.S: ... here.
17010         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17011         * sysdeps/s390/s390-64/configure.in: ... here
17012         * sysdeps/s390/s390-64/elf/configure: Delete file.
17013         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17014         * sysdeps/s390/s390-64/start.S: ... here.
17015         * sysdeps/s390/s390-64/elf/configure: Delete.
17016
17017         * configure.in: Remove support for elf directories in sysdeps.
17018
17019         * configure: Regenerated.
17020         * sysdeps/i386/configure: Regenerated.
17021         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17022         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17023         * sysdeps/s390/s390-32/configure: Regenerated.
17024         * sysdeps/s390/s390-64/configure: Regenerated.
17025         * sysdeps/sh/configure: Regenerated.
17026         * sysdeps/sparc/configure: Regenerated.
17027         * sysdeps/x86_64/configure: Regenerated.
17028
17029 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17030
17031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17032
17033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17034         denormal result into account.
17035
17036 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17037
17038         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17039         Reported by Allan McRae <allan@archlinux.org>.
17040
17041 2012-03-23  Jeff Law  <law@redhat.com>
17042
17043         * nss/getnssent.c (__nss_getent): Fix typo.
17044
17045 2012-03-23  David S. Miller  <davem@davemloft.net>
17046
17047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17048
17049 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17050
17051         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17052         to pad to uint64_t for each field.
17053         (dl_tls_index): Replace unsigned long with uint64_t.
17054
17055 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17056         Paul Pluzhnikov  <ppluzhnikov@google.com>
17057
17058         [BZ #6528]
17059         * grp/Makefile (otherlibs): Don't set it.
17060         * inet/Makefile (otherlibs): Likewise.
17061         * login/Makefile (otherlibs): Likewise.
17062         * nscd/Makefile (otherlibs): Likewise.
17063         * posix/Makefile (otherlibs): Likewise.
17064         * pwd/Makefile (otherlibs): Likewise.
17065         * rt/Makefile (otherlibs): Likewise.
17066         * sunrpc/Makefile (otherlibs): Likewise.
17067         * nss/Makefile (otherlibs): Likewise.
17068         Add libnss_files to routines and static-only-routines.
17069         ($(objpfx)getent): Remove rule.
17070         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17071         static-only-routines.
17072
17073 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17074
17075         [BZ #13892]
17076         * math/s_cexp.c: Include <float.h>.
17077         (__cexp): Handle exp result overflowing not necessarily
17078         overflowing both real and imaginary parts of result.
17079         * math/s_cexpf.c: Likewise.
17080         * math/s_cexpl.c: Likewise.
17081         * math/libm-test.inc (cexp_test): Add more tests.
17082         * sysdeps/i386/fpu/libm-test-ulps: Update.
17083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17084
17085 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17086
17087         * include/link.h (ELFW): New macro.
17088         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17089         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17090
17091 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17092
17093         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17094         with uint64_t.
17095
17096 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17097
17098         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17099         declaration.
17100         (struct La_x32_retval): Likewise.
17101
17102 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17103
17104         * sysdeps/x86_64/preconfigure.in: New file.
17105         * sysdeps/x86_64/preconfigure: New generated file.
17106
17107 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17108
17109         [BZ #13824]
17110         * math/e_exp2l.c: Include <float.h>.
17111         (__ieee754_exp2l): Handle overflow and underflow cases
17112         separately.  Only pass fractional part of argument to
17113         __ieee754_expl.
17114         * math/libm-test.inc (exp2_test): Add more tests.
17115
17116         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17117         negating x to take absolute value.
17118         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17119         Likewise.
17120         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17121         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17122         Likewise.
17123         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17124         computing low part if x was negated.
17125         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17126
17127 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17128
17129         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17130         la_x32_gnu_pltexit.
17131         (pltexit): Cast int_retval to ptrdiff_t.
17132         * elf/tst-auditmod3b.c: Likewise.
17133         * elf/tst-auditmod4b.c: Likewise.
17134         * elf/tst-auditmod5b.c: Likewise.
17135         * elf/tst-auditmod6b.c: Likewise.
17136         * elf/tst-auditmod6c.c: Likewise.
17137         * elf/tst-auditmod7b.c: Likewise.
17138
17139         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17140         and x32_gnu_pltexit.
17141
17142         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17143         __ELF_NATIVE_CLASS.
17144         (La_x32_regs): New macro.
17145         (La_x32_retval): Likewise.
17146         (la_x32_gnu_pltenter): New function prototype.
17147         (la_x32_gnu_pltexit): Likewise.
17148
17149 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17150
17151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17152         exponent.
17153
17154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17155
17156         * configure.in (libc_cv_cc_nofma): Check for option to disable
17157         generation of FMA instructions.
17158         * configure: Regenerate.
17159         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17160         * sysdeps/ieee754/dbl-64/Makefile: New file.
17161         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17162         Remove brandred-fma4.
17163         (CFLAGS-brandred-fma4.c): Remove.
17164         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17165         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17166         define.
17167         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17168         define.
17169
17170 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17171
17172         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17173         LLONG_MAX != LONG_MAX.
17174         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17175         (_fitoa_word): Likewise.
17176         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17177         LLONG_MAX != LONG_MAX.
17178         * stdio-common/_itowa.h: Include <_itoa.h>.
17179         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17180         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17181         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17182         only if not defined.
17183         (_ITOA_WORD_TYPE): Likewise.
17184         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17185         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17186
17187 2012-03-21  David S. Miller  <davem@davemloft.net>
17188
17189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17190
17191 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17192
17193         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17194         of x86_64 when setting libc_cv_slibdir, libdir and
17195         libc_cv_localedir.
17196         * sysdeps/unix/sysv/linux/configure: Regenerated.
17197
17198 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17199
17200         * manual/lang.texi (Old Varargs): Remove section.
17201         (How Variadic): Update menu.
17202         (va_start): Do not mention varargs.h.
17203
17204 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17205             Joseph Myers  <joseph@codesourcery.com>
17206
17207         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17208         link test.
17209         * configure: Regenerated.
17210
17211 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17212
17213         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17214         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17215         conformtest.pl
17216
17217 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17218
17219         * NOTES: Remove.
17220         * Makefile (files-for-dist): Remove NOTES.
17221         (NOTES): Remove rule.
17222         * README: Don't refer to NOTES.
17223         * manual/creature.texi: Don't include macros.texi.
17224         * manual/intro.texi (creature.texi): Remove comment referring to
17225         NOTES.
17226
17227         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17228         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17229         * configure: Regenerated.
17230         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17231         LIBC_TRY_CC_OPTION.
17232         (libc_cv_as_i686): Likewise.
17233         (libc_cv_cc_avx): Likewise.
17234         (libc_cv_cc_sse2avx): Likewise.
17235         (libc_cv_cc_fma4): Likewise.
17236         (libc_cv_cc_novzeroupper): Likewise.
17237         * sysdeps/i386/configure: Regenerated.
17238
17239         [BZ #13883]
17240         * sysdeps/i386/fpu/s_cexp.S: Remove.
17241         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17242         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17243         * math/libm-test.inc (cexp_test): Add more tests.
17244         * sysdeps/i386/fpu/libm-test-ulps: Update.
17245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17246
17247 2012-03-21  Allan McRae  <allan@archlinux.org>
17248
17249         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17250
17251 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17252
17253         [BZ #13871]
17254         * math/w_exp2.c: Do not include <float.h>.
17255         (o_threshold, u_threshold): Remove.
17256         (__exp2): Calculate result before checking finiteness and calling
17257         __kernel_standard.
17258         * math/w_exp2f.c: Likewise.
17259         * math/w_exp2l.c: Likewise.
17260         * math/libm-test.inc (exp2_test): Require overflow exception for
17261         1e6 input.
17262
17263         [BZ #3866]
17264         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17265         range of signed 64-bit integers before using fistpll.  Remove
17266         checks for whether integers fit in mantissa bits.
17267         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17268         the range of signed 32-bit integers before using fistpl.  Remove
17269         checks for whether integers fit in mantissa bits.
17270         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17271         (__ieee754_powl): Test for y outside the range of signed 64-bit
17272         integers before using fistpll.  Reduce 64-bit values to 63-bit
17273         ones as needed.
17274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17275         divide-by-zero is raised for zero to large negative powers.
17276         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17277         (__ieee754_powl): Test for y outside the range of signed 64-bit
17278         integers before using fistpll.  Reduce 64-bit values to 63-bit
17279         ones as needed.
17280         * math/libm-test.inc (pow_test): Add more tests.
17281
17282 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17283
17284         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17285         <stdio-common/_itoa.h>.
17286         * debug/segfault.c: Likewise.
17287         * elf/dl-cache.c: Likewise.
17288         * elf/dl-minimal.c: Likewise.
17289         * elf/dl-misc.c: Likewise.
17290         * elf/dl-sysdep.c: Likewise.
17291         * elf/dl-version.c: Likewise.
17292         * elf/rtld.c: Likewise.
17293         * hurd/hurdsock.c: Likewise.
17294         * hurd/lookup-retry.c: Likewise.
17295         * malloc/malloc.c: Likewise.
17296         * malloc/mtrace.c: Likewise.
17297         * nscd/nscd_getgr_r.c: Likewise.
17298         * nscd/nscd_getpw_r.c: Likewise.
17299         * nscd/nscd_getserv_r.c: Likewise.
17300         * posix/getopt_init.c: Likewise.
17301         * posix/wordexp.c: Likewise.
17302         * stdio-common/_itoa.c: Likewise.
17303         * stdio-common/printf_fphex.c: Likewise.
17304         * stdio-common/vfprintf.c: Likewise.
17305         * string/_strerror.c: Likewise.
17306         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17307         * sysdeps/i386/i686/hp-timing.h: Likewise.
17308         * sysdeps/mach/_strerror.c: Likewise.
17309         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17310         * sysdeps/mach/hurd/sethostid.c: Likewise.
17311         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17312         * sysdeps/mach/xpg-strerror.c: Likewise.
17313         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17314         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17315         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17316         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17317         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17318         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17319         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17320         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17321         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17322         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17323         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17324         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17325         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17326         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17327         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17328         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17329         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17330         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17331         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17332         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17333         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17334
17335         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17336
17337         * stdio-common/_itoa.h: Moved to ...
17338         * sysdeps/generic/_itoa.h: Here.
17339
17340         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17341
17342         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17343         instead of "_itoa.h" and "_itowa.h".
17344         * stdio-common/vfprintf.: Likewise.
17345
17346 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17347
17348         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17349         <bits/wordsize.h>.
17350         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17351         (__signbit): Likwise.
17352         (llrintf): Likwise.
17353         (llrint): Likwise.
17354
17355 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17356
17357         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17358         __WORDSIZE != 64.
17359
17360 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17361
17362         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17363         OVERFLOW_EXCEPTION_OK.
17364         * math/libm-test.inc ("Philosophy"): Update comment about
17365         exception testing.
17366         (OVERFLOW_EXCEPTION): Define.
17367         (OVERFLOW_EXCEPTION_OK): Likewise.
17368         (INVALID_EXCEPTION_OK): Renumber.
17369         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17370         (IGNORE_ZERO_INF_SIGN): Likewise.
17371         (test_exceptions): Handle FE_OVERFLOW.
17372         (exp10_test): Expect overflow exceptions.
17373         (exp2_test): Likewise.
17374         (expm1_test): Likewise.
17375         (nextafter_test): Likewise.
17376         (pow_test): Likewise.
17377         (scalbn_test): Likewise.
17378         (scalbln_test): Likewise.
17379
17380 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17381
17382         * sysdeps/x86_64/bits/atomic.h
17383         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17384         64bit integer.
17385         (atomic_exchange_acq): Likewise.
17386         (__arch_exchange_and_add_body): Likewise.
17387         (__arch_add_body): Likewise.
17388         (atomic_add_negative): Likewise.
17389         (atomic_add_zero): Likewise.
17390
17391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17392
17393         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17394         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17395
17396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17397
17398         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17399         Check __x86_64__ instead of __WORDSIZE.
17400
17401 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17402
17403         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17404
17405 2012-03-19  David S. Miller  <davem@davemloft.net>
17406
17407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17408
17409         * sysdeps/sparc/fpu/fenv_private.h: New file.
17410         * sysdeps/sparc/fpu/math_private.h: Use it.
17411         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17412         Remove.
17413         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17414         (libc_feholdexcept_setroundl): Remove.
17415         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17416         Remove.
17417         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17418         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17419
17420 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17421
17422         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17423         int64_t instead of long int.
17424         (INSERT_WORDS64): Likwise.
17425
17426 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17427
17428         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17429         _Unwind_GetCFA return to _Unwind_Ptr first.
17430
17431 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17432
17433         [BZ #13629]
17434         * math/s_clog.c: Include <float.h>.
17435         (__clog): Scale large or subnormal inputs.
17436         * math/s_clogf.c: Likewise.
17437         * math/s_clogl.c: Likewise.
17438         * math/s_clog10.c: Include <float.h>.
17439         (M_LOG10_2): Define.
17440         (__clog10): Scale large or subnormal inputs.
17441         * math/s_clog10f.c: Likewise.
17442         * math/s_clog10l.c: Likewise.
17443         * math/libm-test.inc (clog_test): Add more tests.
17444         (clog10_test): Likewise.
17445         * sysdeps/i386/fpu/libm-test-ulps: Update.
17446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17447
17448         [BZ #11451]
17449         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17450         x and y.
17451         * math/libm-test.inc (atan2_test): Add another test.
17452
17453         * Makerules (common-objdir-compile): Remove.
17454         * sysdeps/unix/Makefile (config-generated): Do not add
17455         $(unix-generated) to variable.
17456         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17457         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17458         Remove rule.
17459         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17460         Likewise.
17461         [generic bits/local_lim.h] (before-compile): Do not append to
17462         variable.
17463         [generic bits/local_lim.h] (common-generated): Likewise.
17464         [generic sys/param.h] (before-compile): Do not append to variable.
17465         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17466         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17467         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17468         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17469         include.
17470         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17471         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17472         [generic sys/param.h] ($(addprefix
17473         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17474         [generic sys/param.h] (common-generated): Do not append to
17475         variable.
17476         [generic sys/param.h] (sysdep_headers): Likewise.
17477         [generic bits/errno.h] (before-compile): Do not append to
17478         variable.
17479         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17480         rule.
17481         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17482         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17483         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17484         [generic bits/errno.h] (common-generated): Do not append to
17485         variable.
17486         [generic bits/ioctls.h] (before-compile): Do not append to
17487         variable.
17488         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17489         rule.
17490         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17491         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17492         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17493         rule.
17494         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17495         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17496         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17497         [generic bits/ioctls.h] (common-generated): Do not append to
17498         variable.
17499         [generic sys/syscall.h] (syscall.h): Remove variable.
17500         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17501         rule.
17502         [generic sys/syscall.h] (before-compile): Do not append to
17503         variable.
17504         [generic sys/syscall.h] (common-generated): Likewise.
17505         * sysdeps/unix/errnos-tmpl.c: Remove file.
17506         * sysdeps/unix/errnos.awk: Likewise.
17507         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17508         * sysdeps/unix/ioctls.awk: Likewise.
17509         * sysdeps/unix/mk-local_lim.c: Likewise.
17510         * sysdeps/unix/snarf-ioctls: Likewise.
17511
17512 2012-03-19  Richard Henderson  <rth@twiddle.net>
17513
17514         * sysdeps/i386/fpu/fenv_private.h: New file.
17515         * sysdeps/i386/fpu/math_private.h: Use it.
17516         (math_opt_barrier, math_force_eval): Remove.
17517         (libc_feholdexcept_setround_53bit): Remove.
17518         (libc_feupdateenv_53bit): Remove.
17519         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17520         (math_opt_barrier, math_force_eval): Remove.
17521         (libc_feholdexcept): Remove.
17522         (libc_feholdexcept_setround): Remove.
17523         (libc_fetestexcept, libc_fesetenv): Remove.
17524         (libc_feupdateenv_test): Remove.
17525         (libc_feupdateenv, libc_feholdsetround): Remove.
17526         (libc_feresetround): Remove.
17527
17528         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17529         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17530
17531         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17532         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17533         (libc_feupdateenv_testl): New.
17534         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17535         (libc_feupdateenv_testf): New.
17536         (libc_feupdateenv): Use libc_feupdateenv_test.
17537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17538         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17539
17540         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17541         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17542         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17543         (libc_feresetround_noex): New.
17544         (libc_feresetround_noexf): New.
17545         (libc_feresetround_noexl): New.
17546         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17547         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17548         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17549         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17550         SET_RESTORE_ROUND.
17551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17553         (__cos): Likewise.
17554         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17555         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17556         SET_RESTORE_ROUND_NOEX.
17557         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17558         SET_RESTORE_ROUND_NOEXF.
17559         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17560         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17561         (libc_feholdsetroundf): New.
17562         (libc_feresetround, libc_feresetroundf): New.
17563
17564         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17565         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17566         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17567
17568         * sysdeps/generic/math_private.h: Include <fenv.h>.
17569         (default_libc_feholdexcept): New.
17570         (default_libc_feholdexcept_setround): New.
17571         (default_libc_fesetenv, default_libc_feupdateenv): New.
17572         (libc_feholdexcept): Only define if undefined.
17573         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17574         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17575         (libc_feholdexcept_setroundl): Likewise.
17576         (libc_feholdexcept_setround_53bit): Likewise.
17577         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17578         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17579         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17580         (libc_feupdateenv_53bit): Likewise.
17581         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17582         (libc_feholdexcept): Convert from macro to inline function.
17583         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17584         (libc_fesetenv, libc_feupdateenv): Likewise.
17585
17586         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17587         not previously defined.
17588         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17589         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17590         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17591         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17592         * sysdeps/ieee754/flt-32/math_private.h: New file.
17593         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17594         math_private.h below SET_FLOAT_WORD.
17595         (__isnan, __isinf_ns, __finite): Remove.
17596         (__isnanf, __isinf_nsf, __finitef): Remove.
17597
17598 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17599
17600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17601
17602 2012-03-17  David S. Miller  <davem@davemloft.net>
17603
17604         [BZ #6471]
17605         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17606         for 2.16.
17607
17608 2012-03-16  David S. Miller  <davem@davemloft.net>
17609
17610         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17611         warnings.
17612
17613         [BZ #6471]
17614         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17615         properly.
17616         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17617         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17618         sysdep_routines when subdir is sysvipc.
17619         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17620         __getshmlba helper.
17621
17622         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17623
17624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17625
17626         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17627         [__LP64__].
17628
17629 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17630
17631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17632         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17633         (__lround): Renamed to ...
17634         (__llround): This.  Replace long int with long long int.
17635         Define lround functions as aliases of llround functions.
17636         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17637
17638 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17639
17640         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17641         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17642         adresses to uintptr_t.  Replace "long int" and "unsigned long
17643         int" with "greg_t" on va_arg.
17644
17645 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17646
17647         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17648         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17649
17650         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17651         Move e_machine check before EI_CLASS check.  Handle x32
17652         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17653         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17654         SKIP_EM_IA_64 and include
17655         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17656
17657         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17658         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17659         (add_system_dir): New macro.
17660
17661         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17662         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17663
17664 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17665
17666         [BZ #2551]
17667         [BZ #2552]
17668         [BZ #2553]
17669         [BZ #2554]
17670         [BZ #2562]
17671         [BZ #2563]
17672         [BZ #2565]
17673         [BZ #2566]
17674         [BZ #2576]
17675         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17676         (y0): Likewise.
17677         * math/w_j0f.c (j0f): Likewise.
17678         (y0f): Likewise.
17679         * math/w_j0l.c (__j0l): Likewise.
17680         (__y0l): Likewise.
17681         * math/w_j1.c (j1): Likewise.
17682         (y1): Likewise.
17683         * math/w_j1f.c (j1f): Likewise.
17684         (y1f): Likewise.
17685         * math/w_j1l.c (__j1l): Likewise.
17686         (__y1l): Likewise.
17687         * math/w_jn.c (jn): Likewise.
17688         (yn): Likewise.
17689         * math/w_jnf.c (jnf): Likewise.
17690         (ynf): Likewise.
17691         * math/w_jnl.c (__jnl): Likewise.
17692         (__ynl): Likewise.
17693         * math/libm-test.inc (j0_test): Add more tests.
17694         (j1_test): Likewise.
17695         (jn_test): Likewise.  Add trailing semicolon to existing test.
17696         (y0_test): Likewise.
17697         (y1_test): Likewise.
17698         * sysdeps/i386/fpu/libm-test-ulps: Update.
17699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17700
17701         [BZ #13851]
17702         [BZ #13854]
17703         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17704         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17705         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17706         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17707         (__tanl): Set errno for infinite argument.
17708         * sysdeps/i386/fpu/mptan.c: Remove.
17709         * sysdeps/i386/fpu/s_tan.S: Likewise.
17710         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17711         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17712         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17713         * math/libm-test.inc (tan_test): Add more tests and enable more
17714         tests for double and long double.
17715         * sysdeps/i386/fpu/libm-test-ulps: Update.
17716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717
17718 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17719
17720         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17721         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17722
17723 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17724
17725         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17726         * configure.in: Use it for both main tree and add-ons.
17727         * configure: Regenerated.
17728
17729 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17730
17731         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17732
17733 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17734
17735         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17736         in comment.
17737
17738         [BZ #13851]
17739         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17740         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17741         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17743         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17744         infinite argument.
17745         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17746         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17747         != 0 for prec == 2.
17748         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17749         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17750         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17751         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17752         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17753         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17754         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17755         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17756         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17757         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17758         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17759         * math/libm-test.inc (cos_test): Add more tests and enable more
17760         tests for long double.
17761         (sin_test): Likewise.
17762         (sincos_test): Likewise.
17763         * sysdeps/i386/fpu/libm-test-ulps: Update.
17764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17765
17766 2012-03-16  David S. Miller  <davem@davemloft.net>
17767
17768         * sysdeps/sparc/fpu/math_private.h: New file.
17769
17770 2012-03-15  David S. Miller  <davem@davemloft.net>
17771
17772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17773         file.
17774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17776         file.
17777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17782         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17783         sysdep routines.
17784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17785
17786         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17787         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17788
17789         * sysdeps/sparc/sparc-ifunc.h: New file.
17790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17791         sparc-ifunc.h
17792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17794         Likewise.
17795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17796         Likewise.
17797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17801         Likewise.
17802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17807         Likewise.
17808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17809         Likewise.
17810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17816         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17817         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17828         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17830         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17831         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17834
17835 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17836
17837         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17838         scaling.
17839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17840
17841 2012-03-15  Andreas Jaeger  <aj@suse.de>
17842
17843         [BZ #13852]
17844         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17845         ieee754/flt-32 implementation for sin, cos and sincos.
17846         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17847         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17848         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17849         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17850         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17851         ieee754/flt-32 implementation for tan.
17852
17853         * math/libm-test.inc (cos_test): Enable some large input tests for
17854         float as well
17855         (sin_test): Likewise.
17856         (sincos_test): Likewise.
17857         (tan_test): Add tests for large input.
17858
17859         * sysdeps/i386/fpu/libm-test-ulps: Update.
17860
17861 2012-03-15  Andreas Jaeger  <aj@suse.de>
17862
17863         [BZ #13658]
17864         * math/libm-test.inc (cos_test): Add more test cases.
17865         (sin_test): Likewise.
17866         (sincos_test): Likewise.
17867
17868 2012-03-15  Andreas Jaeger  <aj@suse.de>
17869
17870         [BZ #13837]
17871         * math/libm-test.inc (cos_test): Add a test case for large input
17872         value.
17873         (sin_test): Likewise.
17874         (sincos_test): Likewise.
17875
17876 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17877         Joseph Myers  <joseph@codesourcery.com>
17878
17879         [BZ #13658]
17880         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17881         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17882         * sysdeps/i386/fpu/branred.c: Likewise.
17883         * sysdeps/i386/fpu/dosincos.c: Likewise.
17884         * sysdeps/i386/fpu/mpa.c: Likewise.
17885         * sysdeps/i386/fpu/s_cos.S: Likewise.
17886         * sysdeps/i386/fpu/s_sin.S: Likewise.
17887         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17888         * sysdeps/i386/fpu/sincos32.c: Likewise.
17889
17890         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17891         Define.
17892         (libc_feupdateenv_53bit): Define.
17893         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17894         Define.
17895         (libc_feupdateenv_53bit): Define.
17896
17897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17898         53 bit (without extend i386 double precision).
17899
17900         * math/libm-test.inc (sincos_test): Add tests for large input.
17901         (sin): Likewise.
17902         (cos): Likewise.
17903
17904         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17905
17906 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17907
17908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17909
17910 2012-03-15  David S. Miller  <davem@davemloft.net>
17911
17912         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17913         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17914         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17915         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17928         file.
17929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17931         file.
17932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17934         file.
17935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17937         file.
17938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17939         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17940         fmin/fmax sysdep routines.
17941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17942
17943 2012-03-14  David S. Miller  <davem@davemloft.net>
17944
17945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17949         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17950         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17951         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17952         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17965         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17966         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17969         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17971         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17974         routines.
17975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17976         file.
17977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17979         file.
17980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17982         file.
17983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17985         file.
17986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17988         file.
17989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17991         file.
17992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17993         file.
17994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17995         file.
17996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17997         file.
17998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17999         New file.
18000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18001         file.
18002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18003         file.
18004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18006         file.
18007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18009         file.
18010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18012         file.
18013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18015         VIS3 routines.
18016
18017         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18018         New file.
18019
18020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18021
18022         * sysdeps/sparc/configure.in: New file.
18023         * sysdeps/sparc/configure: Generate.
18024         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18025         * configure: Regenerate.
18026         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18027         * config.make.in (have-as-vis3): New.
18028         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18029         available use -Av9d instead of -Av9a.
18030         * sysdeps/sparc/sparc64/Makefile: Likewise.
18031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18033         New file.
18034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18035         file.
18036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18037         New file.
18038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18039         file.
18040         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18041         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18043         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18044         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18045
18046         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18047         fzeros/fnegs to load 0x80000000 into a float register instead of
18048         using the stack.
18049         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18050
18051 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18052
18053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18054         bits/syscall.h.
18055         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18056         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18057         ($(inst_includedir)/bits/syscall.h): Remove rule.
18058         ($(objpfx)bits/syscall.d): Include instead of
18059         $(objpfx)syscall-list.d.
18060         (generated): Change syscall-list.h and syscall-list.d to
18061         bits/syscall.h and bits/syscall.d.
18062
18063 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18064
18065         [BZ #13846]
18066         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18067
18068 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18069
18070         [BZ #13841]
18071         * math/s_csqrt.c: Include <float.h>.
18072         (__csqrt): Scale large or subnormal inputs.
18073         * math/s_csqrtf.c: Likewise.
18074         * math/s_csqrtl.c: Likewise.
18075         * math/libm-test.inc (csqrt_test): Add more tests.
18076         * sysdeps/i386/fpu/libm-test-ulps: Update.
18077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18078
18079         [BZ #13840]
18080         * math/libm-test.inc (hypot_test): Add more tests.
18081
18082 2012-03-13  David S. Miller  <davem@davemloft.net>
18083
18084         [BZ #13840]
18085         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18086         double-precision for the calculation instead of scaling.
18087
18088 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18089
18090         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18091         manipulate bits before adding and subtracting TWO52[sx].
18092         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18093         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18094         Likewise.
18095         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18096
18097 2012-03-13  David S. Miller  <davem@davemloft.net>
18098
18099         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18100         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18102         rtld-global-offsets.h
18103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18104
18105         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18106         large parameters.
18107
18108         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18109
18110         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18111         'err' in the ifdef scope in which it is actually used.
18112
18113         * nss/nss_db/db-init.c: Include string.h
18114
18115 2012-03-12  David S. Miller  <davem@davemloft.net>
18116
18117         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18118         masking out of the most significant byte of random value used.
18119         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18120         Fix coding style in previous change.
18121
18122         * sysdeps/unix/sysv/linux/kernel-features.h
18123         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18124         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18125         expression.
18126         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18127         later.
18128
18129 2012-03-11  David S. Miller  <davem@davemloft.net>
18130
18131         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18132         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18133         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18134         for 'resultvar' otherwise things get truncated on 64-bit.
18135
18136         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18137         Fix masking out of the most significant byte of random value used.
18138
18139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18140
18141 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18142
18143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18144
18145 2012-03-09  David S. Miller  <davem@davemloft.net>
18146
18147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18148         variables with appropriate CPP guards.
18149         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18150         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18151         on resulting framesize and the management of the outregs buffer for pltexit.
18152         Preserve floating point return values across _dl_call_pltexit call.
18153         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18154         framesize and the management of the outregs buffer for pltexit.
18155         Preserve floating point return values across _dl_call_pltexit
18156         call.
18157         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18158         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18159         (print_exit): Fix format string for return register value.
18160
18161 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18162
18163         * sunrpc/Makefile (others): Add rpcgen.
18164         ($(objpfx)rpcgen): Remove special build rule and dependency on
18165         libc.
18166         * sunrpc/rpcgen.c: New file.
18167
18168 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18169
18170         [BZ #13673]
18171         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18172         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18173         * sysdeps/i386/crti.S: Likewise.
18174         * sysdeps/i386/crtn.S: Likewise.
18175         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18176         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18177         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18178         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18179         * sysdeps/sh/crti.S: Likewise.
18180         * sysdeps/sh/crtn.S: Likewise.
18181         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18182
18183         [BZ #13673]
18184         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18185         with URL.
18186         * locale/programs/locfile-kw.gperf: Likewise.
18187         * locale/programs/charmap-kw.h: Regenerated.
18188         * locale/programs/locfile-kw.h: Likewise.
18189
18190         [BZ #13673]
18191         * intl/plural.y: Replace FSF snail mail address with URL.
18192         * intl/plural.c: Regenerated.
18193
18194 2012-03-09  Richard Henderson  <rth@twiddle.net>
18195
18196         * include/math_private.h: Remove file.
18197         * math/math_private.h: Move file ...
18198         * sysdeps/generic/math_private.h: ... here.
18199
18200         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18201         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18202         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18203
18204         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18205         and <math_private.h>.
18206         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18207         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18208         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18209         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18210         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18211         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18212         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18214         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18215         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18216         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18217         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18218         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18219         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18220         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18221         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18222         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18223         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18224         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18225         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18227         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18228         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18229         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18230         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18231         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18232         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18233         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18234         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18235         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18236         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18237         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18238         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18239         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18240         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18241         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18242         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18243         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18244         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18245         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18246         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18247         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18248         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18249         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18250         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18251         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18252         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18253         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18254         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18255         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18256         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18257         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18258         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18259         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18260         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18261         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18262         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18263         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18264         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18265         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18266         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18267         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18268         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18269         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18270         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18279         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18281         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18284         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18285         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18286         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18287         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18288         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18289         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18290         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18291         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18293         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18294         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18295         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18296         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18297         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18298         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18299         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18300         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18301         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18302         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18303         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18304         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18305         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18306         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18307         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18308         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18309         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18310         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18311         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18312         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18313         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18314         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18316         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18317         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18318         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18319         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18320         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18321         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18322         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18323         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18324         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18325         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18326         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18327         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18328         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18329         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18330         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18332         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18333         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18334         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18335         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18336         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18337         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18338         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18339         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18340         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18341         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18342         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18343         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18344         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18345         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18346         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18347         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18348         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18349         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18350         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18351         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18352         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18353         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18354         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18355         * sysdeps/ieee754/k_standard.c: Likewise.
18356         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18357         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18358         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18359         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18360         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18361         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18362         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18363         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18364         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18365         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18366         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18367         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18368         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18369         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18370         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18371         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18372         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18373         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18374         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18375         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18376         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18377         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18378         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18379         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18380         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18381         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18382         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18383         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18428         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18429         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18430         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18433         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18437         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18438         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18439         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18440         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18441         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18446         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18447         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18449         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18450         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18452         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18453         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18454         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18455         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18456         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18457         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18458         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18459         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18460         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18461         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18466         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18467         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18472         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18475         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18476         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18477         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18478         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18479         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18480         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18481         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18483         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18484         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18485         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18486         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18488         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18489         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18491         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18493         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18494         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18495         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18496         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18497         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18498         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18499         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18500         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18501         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18504         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18506         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18510         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18511         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18512         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18513         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18514         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18515         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18516         * sysdeps/ieee754/s_lib_version.c: Likewise.
18517         * sysdeps/ieee754/s_matherr.c: Likewise.
18518         * sysdeps/ieee754/s_signgam.c: Likewise.
18519         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18520         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18521         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18522         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18523         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18524         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18525         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18526         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18527         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18528         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18529         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18530         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18531         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18532         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18533         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18534         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18535         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18536         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18537         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18540
18541 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18542
18543         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18544         * sunrpc/rpc_main.c: Likewise.
18545         * sunrpc/rpc_svcout.c: Likewise.
18546
18547 2012-03-09  David S. Miller  <davem@davemloft.net>
18548
18549         * include/math_private.h: New file.
18550
18551 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18552
18553         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18554         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18555         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18556         from <bits/socket_type.h>.
18557         (enum __socket_type): Don't define here.
18558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18560         bits/socket_type.h.
18561
18562         [BZ #13566]
18563         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18564         checking __USE_GNU.
18565
18566         * Makerules ($(inst_includedir)/%.h): New rule.
18567         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18568         (install-others): Remove variable setting.
18569         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18570
18571 2012-03-08  Richard Henderson  <rth@twiddle.net>
18572
18573         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18574         from macro to inline function; merge with the
18575         !__LIBC_INTERNAL_MATH_INLINES version.
18576         (__ieee754_sqrtf): Likewise.
18577
18578         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18579         to inline function.
18580         (__rintf, __floor, __floorf): Likewise.
18581
18582         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18583         macro to inline function.
18584         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18585
18586         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18587         not <math/math_private.h>.
18588
18589 2012-03-08  David S. Miller  <davem@davemloft.net>
18590
18591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18592         copyright year.
18593         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18594
18595 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18596
18597         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18598         normalization.
18599         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18600         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18601
18602 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18603
18604         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18605         be defined individually, they must be defined as a block.  Define
18606         S for printing a string instead of hidint the different by using a
18607         macro for adding the 'l'.
18608         * stdio-common/tst-fphex-wide.c: Adjust.
18609
18610 2012-03-07  Marek Polacek  <polacek@redhat.com>
18611
18612         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18613
18614 2012-03-08  Marek Polacek  <polacek@redhat.com>
18615
18616         [BZ #13806]
18617         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18618         * stdio-common/tst-fphex.c: Define a few macros to make the
18619         test reusable.  Use them.
18620         * stdio-common/tst-fphex-wide.c: New file.
18621
18622 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18623
18624         [BZ #6911]
18625         * manual/macros.texi (gnusystems): New macro.
18626         (nongnusystems): Likewise.
18627         (gnulinuxhurdsystems): Likewise.
18628         (gnuhurdsystems): Likewise..
18629         (gnulinuxsystems): Likewise.
18630         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18631         variants of the GNU system, not "GNU system".
18632         * manual/conf.texi: Likewise.
18633         * manual/errno.texi: Likewise.  Update example of errno macro
18634         expansion.
18635         * manual/filesys.texi: Likewise.
18636         (getumask): Document as specific to GNU/Hurd.
18637         * manual/install.texi: Likewise.  Reword some references to
18638         GNU/Linux.
18639         * manual/intro.texi: Likewise.
18640         * manual/io.texi: Likewise.
18641         (File Name Portability): Detail which constraints are inapplicable
18642         to all GNU systems and which are only inapplicable to GNU/Hurd.
18643         * manual/job.texi: Likewise.
18644         * manual/llio.texi: Likewise.
18645         (O_NOCTTY): Document as present on GNU/Linux.
18646         * manual/maint.texi: Likewise.
18647         * manual/memory.texi: Likewise.
18648         * manual/pattern.texi: Likewise.
18649         * manual/pipe.texi: Likewise.
18650         * manual/process.texi: Likewise.
18651         * manual/resource.texi: Likewise.
18652         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18653         child on GNU/Hurd.
18654         * manual/setjmp.texi: Likewise.
18655         * manual/signal.texi: Likewise.
18656         * manual/startup.texi: Likewise.
18657         * manual/stdio.texi: Likewise.
18658         * manual/terminal.texi: Likewise.
18659         (ONLCR): Document as POSIX.
18660         (OXTABS): Document availability on GNU/Linux as XTABS.
18661         (ONOEOT): Document availability separately from other bits.
18662         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18663         * manual/time.texi: Likewise.
18664         * manual/users.texi: Likewise.
18665         * INSTALL: Regenerated.
18666         * sysdeps/gnu/errlist.c: Regenerated.
18667
18668         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18669         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18670         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18671         puts.
18672         * configure: Regenerated.
18673
18674 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18675
18676         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18677         default includes instead of AC_HEADER_CHECK.
18678         * sysdeps/i386/configure: Regenerated.
18679
18680         [BZ #10716]
18681         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18682         * math/s_cacoshf.c (__cacoshf): Likewise.
18683         * math/s_cacoshl.c (__cacoshl): Likewise.
18684         * math/s_casinh.c (__casinh): Set signs of result from argument.
18685         * math/s_casinhf.c (__casinhf): Likewise.
18686         * math/s_casinhl.c (__casinhl): Likewise.
18687         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18688         (casinh_test): Add more tests.
18689         * sysdeps/i386/fpu/libm-test-ulps: Update.
18690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18691
18692 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18693
18694         * po/zh_TW.po: Update from translation team.
18695
18696         * login/Makefile (distribute): Remove variable.
18697         * catgets/Makefile: Likewise.
18698         * mach/Makefile: Likewise.
18699         * malloc/Makefile: Likewise.
18700         * misc/Makefile: Likewise.
18701         * iconv/Makefile: Likewise.
18702         * nscd/Makefile: Likewise.
18703         * hurd/Makefile: Likewise.
18704         * manual/Makefile: Likewise.
18705         * locale/Makefile: Likewise.
18706         * intl/Makefile: Likewise.
18707         * conform/Makefile: Likewise.
18708         * nss/Makefile: Likewise.
18709         * time/Makefile: Likewise.
18710         * soft-fp/Makefile: Likewise.
18711         * dirent/Makefile: Likewise.
18712         * gmon/Makefile: Likewise.
18713         * po/Makefile: Likewise.
18714         * rt/Makefile: Likewise.
18715         * socket/Makefile: Likewise.
18716         * math/Makefile: Likewise.
18717         * signal/Makefile: Likewise.
18718         * debug/Makefile: Likewise.
18719         * elf/Makefile: Likewise.
18720         * timezone/Makefile: Likewise.
18721         * stdlib/Makefile: Likewise.
18722         * iconvdata/Makefile: Likewise.
18723         * sunrpc/Makefile: Likewise.
18724         * io/Makefile: Likewise.
18725         * argp/Makefile: Likewise.
18726         * inet/Makefile: Likewise.
18727         * hesiod/Makefile: Likewise.
18728         * grp/Makefile: Likewise.
18729         * csu/Makefile: Likewise.
18730         * wctype/Makefile: Likewise.
18731         * crypt/Makefile: Likewise.
18732         * libio/Makefile: Likewise.
18733         * string/Makefile: Likewise.
18734         * nis/Makefile: Likewise.
18735         * resolv/Makefile: Likewise.
18736         * stdio-common/Makefile: Likewise.
18737         * wcsmbs/Makefile: Likewise.
18738         * dlfcn/Makefile: Likewise.
18739         * posix/Makefile: Likewise.
18740
18741         [BZ #6959]
18742         * timezone/Makefile: Don't install timezone files, just the programs
18743         and scripts.
18744
18745 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18746
18747         * nss/databases.def: Add missing gshadow entry.
18748
18749         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18750
18751 2012-03-06  Marek Polacek  <polacek@redhat.com>
18752
18753         [BZ #13726]
18754         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18755         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18756         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18757         * stdio-common/tst-long-dbl-fphex.c: New file.
18758
18759 2012-03-06  David S. Miller  <davem@davemloft.net>
18760
18761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18762         (set_obp_int): New function.
18763         (get_obp_int): New function.
18764         (__get_clockfreq_via_dev_openprom): Likewise.
18765         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18766         Avoid unused variable warnings on 'val' and use builtin_expect.
18767         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18768         __builtin_expect.
18769         (INLINE_CLONE_SYSCALL): Likewise.
18770
18771 2012-03-05  David S. Miller  <davem@davemloft.net>
18772
18773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18774
18775 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18776
18777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18778
18779         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18780         only for |x| >= 40.
18781         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18782
18783 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18784
18785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18786         Replace gettimeofday with __vdso_gettimeofday.
18787
18788         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18789         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18790         __vdso_clock_gettime and __vdso_getcpu.
18791
18792         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18793         time with __vdso_time.
18794
18795 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18796
18797         * manual/lang.texi (size_t): Note types to which size_t may be
18798         equivalent with the GNU C Library, but do not describe when
18799         differences between them are significant.
18800
18801 2012-03-05  Andreas Jaeger  <aj@suse.de>
18802
18803         * sysdeps/i386/fpu/libm-test-ulps: Update.
18804
18805 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18806
18807         [BZ #3976]
18808         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18809         (__ieee754_pow): Save and restore rounding mode and use
18810         round-to-nearest for main computations.
18811         * math/libm-test.inc (pow_test_tonearest): New function.
18812         (pow_test_towardzero): Likewise.
18813         (pow_test_downward): Likewise.
18814         (pow_test_upward): Likewise.
18815         (main): Call the new functions.
18816         * sysdeps/i386/fpu/libm-test-ulps: Update.
18817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18818
18819         [BZ #3976]
18820         * math/libm-test.inc (cosh_test_tonearest): New function.
18821         (cosh_test_towardzero): Likewise.
18822         (cosh_test_downward): Likewise.
18823         (cosh_test_upward): Likewise.
18824         (sinh_test_tonearest): Likewise.
18825         (sinh_test_towardzero): Likewise.
18826         (sinh_test_downward): Likewise.
18827         (sinh_test_upward): Likewise.
18828         (main): Call the new functions.
18829         * sysdeps/i386/fpu/libm-test-ulps: Update.
18830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18831
18832 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18833
18834         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18835         default stack guard is set in last bytes.
18836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18837
18838 2012-03-05  Kees Cook  <keescook@chromium.org>
18839
18840         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18841
18842         [BZ #13656]
18843         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18844         possibly allocate from heap instead of stack.
18845         * stdio-common/bug-vfprintf-nargs.c: New file.
18846         * stdio-common/Makefile (tests): Add nargs overflow test.
18847
18848 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18849
18850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18851
18852 2012-03-03  Marek Polacek  <polacek@redhat.com>
18853
18854         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18855         * math/math_private.h: Likewise.
18856         * stdlib/tst-strtod.c: Likewise.
18857         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18858         * sysdeps/x86_64/bits/atomic.h: Likewise.
18859
18860 2012-03-02  David S. Miller  <davem@davemloft.net>
18861
18862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18866         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18867         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18868         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18869         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18870
18871 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18872
18873         [BZ #13792]
18874         * manual/examples/README: New file, says the example source files
18875         can be used under GPL>=2.
18876         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18877         line containing just "*/".
18878         * manual/examples/add.c: Add copyright header (GPL>=2).
18879         * manual/examples/argp-ex1.c: Likewise.
18880         * manual/examples/argp-ex2.c: Likewise.
18881         * manual/examples/argp-ex3.c: Likewise.
18882         * manual/examples/argp-ex4.c: Likewise.
18883         * manual/examples/atexit.c: Likewise.
18884         * manual/examples/db.c: Likewise.
18885         * manual/examples/dir.c: Likewise.
18886         * manual/examples/dir2.c: Likewise.
18887         * manual/examples/execinfo.c: Likewise.
18888         * manual/examples/filecli.c: Likewise.
18889         * manual/examples/filesrv.c: Likewise.
18890         * manual/examples/fmtmsgexpl.c: Likewise.
18891         * manual/examples/genpass.c: Likewise.
18892         * manual/examples/inetcli.c: Likewise.
18893         * manual/examples/inetsrv.c: Likewise.
18894         * manual/examples/isockad.c: Likewise.
18895         * manual/examples/longopt.c: Likewise.
18896         * manual/examples/memopen.c: Likewise.
18897         * manual/examples/memstrm.c: Likewise.
18898         * manual/examples/mkfsock.c: Likewise.
18899         * manual/examples/mkisock.c: Likewise.
18900         * manual/examples/mygetpass.c: Likewise.
18901         * manual/examples/pipe.c: Likewise.
18902         * manual/examples/popen.c: Likewise.
18903         * manual/examples/rprintf.c: Likewise.
18904         * manual/examples/search.c: Likewise.
18905         * manual/examples/select.c: Likewise.
18906         * manual/examples/setjmp.c: Likewise.
18907         * manual/examples/sigh1.c: Likewise.
18908         * manual/examples/sigusr.c: Likewise.
18909         * manual/examples/stpcpy.c: Likewise.
18910         * manual/examples/strdupa.c: Likewise.
18911         * manual/examples/strftim.c: Likewise.
18912         * manual/examples/strncat.c: Likewise.
18913         * manual/examples/subopt.c: Likewise.
18914         * manual/examples/swapcontext.c: Likewise.
18915         * manual/examples/termios.c: Likewise.
18916         * manual/examples/testopt.c: Likewise.
18917         * manual/examples/testpass.c: Likewise.
18918         * manual/examples/timeval_subtract.c: Likewise.
18919
18920         [BZ #13792]
18921         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18922         function to ...
18923         * manual/timeval_subtract.c.texi: ... here, new file.
18924
18925 2012-03-02  David S. Miller  <davem@davemloft.net>
18926
18927         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18928
18929 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18930
18931         [BZ #3976]
18932         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18933         (__sin): Save and restore rounding mode and use round-to-nearest
18934         for all computations.
18935         (__cos): Save and restore rounding mode and use round-to-nearest
18936         for all computations.
18937         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18938         <fenv.h>.
18939         (tan): Save and restore rounding mode and use round-to-nearest for
18940         all computations.
18941         * math/libm-test.inc (cos_test_tonearest): New function.
18942         (cos_test_towardzero): Likewise.
18943         (cos_test_downward): Likewise.
18944         (cos_test_upward): Likewise.
18945         (sin_test_tonearest): Likewise.
18946         (sin_test_towardzero): Likewise.
18947         (sin_test_downward): Likewise.
18948         (sin_test_upward): Likewise.
18949         (tan_test_tonearest): Likewise.
18950         (tan_test_towardzero): Likewise.
18951         (tan_test_downward): Likewise.
18952         (tan_test_upward): Likewise.
18953         (main): Call the new functions.
18954         * sysdeps/i386/fpu/libm-test-ulps: Update.
18955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18956
18957         [BZ #10135]
18958         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18959         small n, then large n, before computing and testing k+n.
18960         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18961         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18962         Likewise.
18963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18964         Likewise.
18965         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18966         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18969         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18971         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18972         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18973         * math/libm-test.inc (scalbn_test): Add more tests.
18974         (scalbln_test): Likewise.
18975
18976         * manual/filesys.texi (mode_t): Describe constraints on size and
18977         signedness, not exact equivalence to a particular type.
18978         (ino_t): Likewise.
18979         (ino64_t): Likewise.
18980         (dev_t): Likewise.
18981         (nlink_t): Likewise.
18982         (blkcnt_t): Likewise.
18983         (blkcnt64_t): Likewise.
18984         * manual/llio.texi (off_t): Likewise.
18985
18986         [BZ #3976]
18987         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18988         (__ieee754_exp): Save and restore rounding mode and use
18989         round-to-nearest for all computations.
18990         * math/libm-test.inc (exp_test_tonearest): New function.
18991         (exp_test_towardzero): Likewise.
18992         (exp_test_downward): Likewise.
18993         (exp_test_upward): Likewise.
18994         (main): Call the new functions.
18995         * sysdeps/i386/fpu/libm-test-ulps: Update.
18996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18997
18998 2012-03-01  Chris Demetriou  <cgd@google.com>
18999
19000         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19001         have predictable order.
19002
19003 2012-03-01  David S. Miller  <davem@davemloft.net>
19004
19005         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19006
19007         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19008         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19009         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19010         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19011
19012         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19013         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19014         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19016         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19017         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19018         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19019         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19020         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19021
19022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19023
19024         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19025         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19026         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19027
19028         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19029         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19030         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19031         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19032         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19033         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19034         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19035         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19036         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19037         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19038         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19039         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19041         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19042         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19044         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19045         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19046         * sysdeps/sparc/elf/configure: Regenerated.
19047
19048 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19049
19050         * configure.in (AS, LD): Require binutils 2.20 or later.
19051         * configure: Regenerated.
19052         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19053         as required minimum version.
19054         * INSTALL: Regenerated.
19055
19056         [BZ #2541]
19057         [BZ #4108]
19058         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19059         before squaring exponent.
19060         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19061         bottom long double and 27 bits of top long double before squaring
19062         exponent.
19063         * math/libm-test.inc (erfc_test): Add more tests.
19064         * sysdeps/i386/fpu/libm-test-ulps: Update.
19065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067
19068 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19069
19070         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19071         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19072         containing bit-fields.
19073         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19074         * soft-fp/single.h (_FP_UNION_S): Likewise.
19075         * soft-fp/double.h (_FP_UNION_D): Likewise.
19076
19077 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19078
19079         [BZ #13786]
19080         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19081         not include ../strcmp.S.
19082         [USE_AS_STRNCASECMP_L]: Likewise.
19083         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19084         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19085         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19086         (__strncasecmp_l_ia32): Define as alias to
19087         __strncasecmp_l_nonascii.
19088
19089         [BZ #5794]
19090         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19091         * sysdeps/i386/fpu/libm-test-ulps: Update.
19092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19093
19094         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19096
19097 2012-02-29  Jeff Law  <law@redhat.com>
19098
19099         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19100         out of bounds read.
19101
19102 2012-02-29  Marek Polacek  <polacek@redhat.com>
19103
19104         [BZ #13706]
19105         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19106         * elf/Makefile: Add rules to run tst-unused-dep.out.
19107
19108 2012-02-28  David S. Miller  <davem@davemloft.net>
19109
19110         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19111         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19112         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19113         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19114         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19115         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19116
19117 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19118
19119         * math/libm-test.inc (llround_test): Move one test from
19120         lround_test.  Use TEST_f_L in moved test.
19121         (lround_test): Move misplaced test to llround_test.  Add testcase
19122         from bug 2561.
19123
19124 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19125
19126         * sysdeps/x86_64/fpu/e_expf.S: New file.
19127         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19128
19129 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19130
19131         [BZ #13637]
19132         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19133         of remain_len that may cause incomplete multi-byte character and
19134         false match.
19135         * posix/bug-regex33.c: New file.
19136         * posix/Makefile (tests): Add bug-regex33.
19137
19138 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19139
19140         * manual/macros.texi: New file.
19141         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19142         * manual/libc.texinfo: Include macros.texi.
19143         * manual/creatute.texi: Likewise.
19144         * manual/install.texi: Likewise.
19145         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19146         @glibcadj{} in references to the GNU C Library.
19147         * manual/charset.texi: Likewise.
19148         * manual/conf.texi: Likewise.
19149         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19150         when not using those macros.
19151         * manual/creature.texi: Likewise.
19152         * manual/crypt.texi: Likewise.
19153         * manual/errno.texi: Likewise.
19154         * manual/filesys.texi: Likewise.
19155         * manual/header.texi: Likewise.
19156         * manual/install.texi: Likewise.
19157         * manual/intro.texi: Likewise.
19158         * manual/io.texi: Likewise.
19159         * manual/job.texi: Likewise.
19160         * manual/lang.texi: Likewise.
19161         * manual/libc.texiinfo: Likewise.
19162         * manual/llio.texi: Likewise.
19163         * manual/locale.texi: Likewise.
19164         * manual/maint.texi: Likewise.
19165         * manual/math.texi: Likewise.
19166         * manual/memory.texi: Likewise.
19167         * manual/message.texi: Likewise.
19168         * manual/nss.texi: Likewise.
19169         * manual/pattern.texi: Likewise.
19170         * manual/process.texi: Likewise.
19171         * manual/resource.texi: Likewise.
19172         * manual/search.texi: Likewise.
19173         * manual/setjmp.texi: Likewise.
19174         * manual/signal.texi: Likewise.
19175         * manual/socket.texi: Likewise.
19176         * manual/startup.texi: Likewise.
19177         * manual/stdio.texi: Likewise.
19178         * manual/string.texi: Likewise.
19179         * manual/sysinfo.texi: Likewise.
19180         * manual/syslog.texi: Likewise.
19181         * manual/terminal.texi: Likewise.
19182         * manual/time.texi: Likewise.
19183         * manual/users.texi: Likewise.
19184         * INSTALL: Regenerated.
19185         * NOTES: Regenerated.
19186         * sysdeps/gnu/errlist.c: Regenerated.
19187
19188 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19189
19190         * include/dirent.h: Include <dirstream.h> before
19191         <dirent/dirent.h>.
19192
19193 2012-02-28  David S. Miller  <davem@davemloft.net>
19194
19195         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19196         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19197         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19198         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19199
19200 2012-02-27  David S. Miller  <davem@davemloft.net>
19201
19202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19204         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19205         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19206
19207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19208         frame pointer instead of stack pointer relative arg slot.
19209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19210         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19211         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19212
19213 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19214
19215         [BZ #3992]
19216         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19217
19218 2012-02-27  David S. Miller  <davem@davemloft.net>
19219
19220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19224         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19225         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19226         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19227         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19228
19229 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19230
19231         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19232         later.  Allow versions 5-9.
19233         * configure: Regenerated.
19234         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19235         required minimum version and 4.6 as recommended version.  Do not
19236         mention bugs in GCC 2.7 and 2.8.
19237         * INSTALL: Regenerated.
19238
19239 2012-02-27  David S. Miller  <davem@davemloft.net>
19240
19241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19245         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19246         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19247         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19248         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19249
19250         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19251         manipulate bits before adding and subtracting TWO112[sx].
19252         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19253
19254 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19255
19256         [BZ #13775]
19257         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19258         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19259         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19260         being in POSIX, because they are in 1003.1-2008.
19261
19262         * rt/tst-aio.c: Include <fcntl.h>.
19263         * rt/tst-aio7.c: Likewise.
19264         * rt/tst-aio64.c: Likewise.
19265
19266         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19267
19268 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19269
19270         * manual/install.texi (--with-headers): Describe headers as
19271         interface headers, not private headers.
19272         (Specific advice for GNU/Linux systems): Describe use of headers
19273         from "make headers_install", not private headers from older
19274         kernels.
19275         * INSTALL: Regenerated.
19276         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19277         Change to 2.6.19.
19278         * sysdeps/unix/sysv/linux/configure: Regenerated.
19279
19280         * manual/llio.texi (fclean): Remove documentation.
19281
19282         * manual/Makefile (libc-texi-generated): New variable.  Include
19283         version.texi.
19284         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19285         $(libc-texi-generated), not duplicated list of files.
19286         (version.texi, stamp-version): New rules.
19287         (realclean): Remove $(libc-texi-generated), not individual files
19288         from that list.  Do not remove dir-add.texinfo.
19289         * manual/libc.texinfo: Comment out uses of edition numbers and
19290         references to printed manual.  Remove last-updated dates.
19291         (EDITION): Comment out.
19292         (ISBN): Likewise.
19293         (VERSION, UPDATED): Remove.
19294         (version.texi): Include.
19295
19296 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19297
19298         * sysdeps/posix/spawni.c: Include <signal.h>.
19299         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19300         * sysdeps/pthread/aio_fsync.c: Likewise.
19301
19302 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19303
19304         * conform/Makefile (tests): Run only when not cross-compiling and
19305         when fast-check is not defined.
19306
19307         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19308         * conform/data/limits.h-data: Fixes for POSIX2008.
19309         * conform/run-conformtest.sh: Run all tests.
19310         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19311         headers.
19312         * include/bits/dlfcn.h: Likewise.
19313         * include/langinfo.h: Likewise.
19314         * include/monetary.h: Likewise.
19315         * include/sys/poll.h: Likewise.
19316
19317         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19318         for __USE_GNU.
19319         * posix/spawn.h: Define __need_sigset_t.
19320         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19321         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19322         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19323         to get sigevent_t only.
19324         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19325         only for __USE_GNU.
19326         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19327         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19328         process_vm_writev only for __USE_GNU.
19329         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19330
19331         * conform/Makefile: For now ignore errors from run-conformtest.
19332         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19333         POSIX to avoid namespace pollution.  Don't prepend headers.
19334         * conform/data/aio.h-data: Fixes for POSIX testing.
19335         * conform/data/fcntl.h-data: Likewise.
19336         * conform/data/glob.h-data: Likewise.
19337         * conform/data/grp.h-data: Likewise.
19338         * conform/data/pthread.h-data: Likewise.
19339         * conform/data/pwd.h-data: Likewise.
19340         * conform/data/signal.h-data: Likewise.
19341         * conform/data/spawn.h-data: Likewise.
19342         * conform/data/stdio.h-data: Likewise.
19343         * conform/data/stdlib.h-data: Likewise.
19344         * conform/data/stropts.h-data: Likewise.
19345         * conform/data/sys/mman.h-data: Likewise.
19346         * conform/data/sys/stat.h-data: Likewise.
19347         * conform/data/sys/types.h-data: Likewise.
19348         * conform/data/sys/wait.h-data: Likewise.
19349         * conform/data/time.h-data: Likewise.
19350         * conform/data/unistd.h-data: Likewise.
19351         * conform/data/utime.h-data: Likewise.
19352
19353         * io/sys/stat.h: fchmod was always in POSIX.
19354         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19355         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19356         * rt/aio.h: Define __need_timespec before including <time.h>.
19357         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19358         struct.  Add forward declaration of pthread_attr_t and use it in
19359         sigevent.
19360         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19361         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19362         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19363         always remove CLK_TCK definition.
19364
19365 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19366
19367         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19368
19369 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19370
19371         * conform/run-conformtest.sh: New file.
19372         * conform/Makefile: Run run-conformtest for tests.
19373         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19374         support.
19375
19376         * conform/data/uchar.h-data: New file.
19377         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19378         * conform/data/arpa/inet.h-data: Likewise.
19379         * conform/data/assert.h-data: Likewise.
19380         * conform/data/complex.h-data: Likewise.
19381         * conform/data/cpio.h-data: Likewise.
19382         * conform/data/ctype.h-data: Likewise.
19383         * conform/data/dirent.h-data: Likewise.
19384         * conform/data/dlfcn.h-data: Likewise.
19385         * conform/data/errno.h-data: Likewise.
19386         * conform/data/fcntl.h-data: Likewise.
19387         * conform/data/float.h-data: Likewise.
19388         * conform/data/fmtmsg.h-data: Likewise.
19389         * conform/data/fnmatch.h-data: Likewise.
19390         * conform/data/ftw.h-data: Likewise.
19391         * conform/data/glob.h-data: Likewise.
19392         * conform/data/grp.h-data: Likewise.
19393         * conform/data/iconv.h-data: Likewise.
19394         * conform/data/inttypes.h-data: Likewise.
19395         * conform/data/langinfo.h-data: Likewise.
19396         * conform/data/libgen.h-data: Likewise.
19397         * conform/data/limits.h-data: Likewise.
19398         * conform/data/locale.h-data: Likewise.
19399         * conform/data/math.h-data: Likewise.
19400         * conform/data/monetary.h-data: Likewise.
19401         * conform/data/mqueue.h-data: Likewise.
19402         * conform/data/ndbm.h-data: Likewise.
19403         * conform/data/net/if.h-data: Likewise.
19404         * conform/data/netdb.h-data: Likewise.
19405         * conform/data/netinet/in.h-data: Likewise.
19406         * conform/data/nl_types.h-data: Likewise.
19407         * conform/data/poll.h-data: Likewise.
19408         * conform/data/pthread.h-data: Likewise.
19409         * conform/data/pwd.h-data: Likewise.
19410         * conform/data/regex.h-data: Likewise.
19411         * conform/data/sched.h-data: Likewise.
19412         * conform/data/search.h-data: Likewise.
19413         * conform/data/semaphore.h-data: Likewise.
19414         * conform/data/setjmp.h-data: Likewise.
19415         * conform/data/signal.h-data: Likewise.
19416         * conform/data/spawn.h-data: Likewise.
19417         * conform/data/stdarg.h-data: Likewise.
19418         * conform/data/stdio.h-data: Likewise.
19419         * conform/data/stdlib.h-data: Likewise.
19420         * conform/data/string.h-data: Likewise.
19421         * conform/data/strings.h-data: Likewise.
19422         * conform/data/stropts.h-data: Likewise.
19423         * conform/data/sys/ipc.h-data: Likewise.
19424         * conform/data/sys/mman.h-data: Likewise.
19425         * conform/data/sys/msg.h-data: Likewise.
19426         * conform/data/sys/resource.h-data: Likewise.
19427         * conform/data/sys/select.h-data: Likewise.
19428         * conform/data/sys/sem.h-data: Likewise.
19429         * conform/data/sys/shm.h-data: Likewise.
19430         * conform/data/sys/socket.h-data: Likewise.
19431         * conform/data/sys/stat.h-data: Likewise.
19432         * conform/data/sys/statvfs.h-data: Likewise.
19433         * conform/data/sys/time.h-data: Likewise.
19434         * conform/data/sys/timeb.h-data: Likewise.
19435         * conform/data/sys/times.h-data: Likewise.
19436         * conform/data/sys/types.h-data: Likewise.
19437         * conform/data/sys/uio.h-data: Likewise.
19438         * conform/data/sys/un.h-data: Likewise.
19439         * conform/data/sys/utsname.h-data: Likewise.
19440         * conform/data/sys/wait.h-data: Likewise.
19441         * conform/data/syslog.h-data: Likewise.
19442         * conform/data/tar.h-data: Likewise.
19443         * conform/data/termios.h-data: Likewise.
19444         * conform/data/utime.h-data: Likewise.
19445         * conform/data/utmpx.h-data: Likewise.
19446         * conform/data/varargs.h-data: Likewise.
19447         * conform/data/wchar.h-data: Likewise.
19448         * conform/data/wctype.h-data: Likewise.
19449         * conform/data/wordexp.h-data: Likewise.
19450
19451         * include/stropts.h: New file.
19452         * include/uchar.h: New file.
19453         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19454         * include/assert.h: Likewise.
19455         * include/ctype.h: Likewise.
19456         * include/dirent.h: Likewise.
19457         * include/dlfcn.h: Likewise.
19458         * include/fcntl.h: Likewise.
19459         * include/fnmatch.h: Likewise.
19460         * include/glob.h: Likewise.
19461         * include/grp.h: Likewise.
19462         * include/libio.h: Likewise.
19463         * include/locale.h: Likewise.
19464         * include/math.h: Likewise.
19465         * include/net/if.h: Likewise.
19466         * include/netdb.h: Likewise.
19467         * include/netinet/in.h: Likewise.
19468         * include/pthread.h: Likewise.
19469         * include/pwd.h: Likewise.
19470         * include/regex.h: Likewise.
19471         * include/sched.h: Likewise.
19472         * include/search.h: Likewise.
19473         * include/setjmp.h: Likewise.
19474         * include/signal.h: Likewise.
19475         * include/stdio.h: Likewise.
19476         * include/stdlib.h: Likewise.
19477         * include/string.h: Likewise.
19478         * include/sys/cdefs.h: Likewise.
19479         * include/sys/mman.h: Likewise.
19480         * include/sys/msg.h: Likewise.
19481         * include/sys/resource.h: Likewise.
19482         * include/sys/select.h: Likewise.
19483         * include/sys/socket.h: Likewise.
19484         * include/sys/stat.h: Likewise.
19485         * include/sys/statvfs.h: Likewise.
19486         * include/sys/time.h: Likewise.
19487         * include/sys/times.h: Likewise.
19488         * include/sys/uio.h: Likewise.
19489         * include/sys/utsname.h: Likewise.
19490         * include/sys/wait.h: Likewise.
19491         * include/termios.h: Likewise.
19492         * include/time.h: Likewise.
19493         * include/ulimit.h: Likewise.
19494         * include/unistd.h: Likewise.
19495         * include/utime.h: Likewise.
19496         * include/wchar.h: Likewise.
19497         * include/wctype.h: Likewise.
19498         * include/wordexp.h: Likewise.
19499
19500         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19501
19502         * time/time.h: TIME_UTC must be a macro.
19503         Make timespec_get available for ISO C11 only as well.
19504
19505 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19506
19507         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19508         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19509
19510 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19511
19512         * configure.in: Use -o not -a in test for unsupported multi-arch.
19513
19514 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19515
19516         * manual/texinfo.tex: Update to version 2012-01-19.16.
19517
19518 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19519
19520         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19521
19522 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19523
19524         [BZ #13738]
19525         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19526         * manual/fdl-1.3.texi: New file.
19527         * manual/fdl-1.1.texi: File removed.
19528
19529         [BZ #13738]
19530         * manual/libc.texinfo (FDL_VERSION): New @set.
19531         Use it for mention of FDL in cover text.
19532         (Documentation License): Use it in @include file name.
19533
19534 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19535             Roland McGrath  <roland@hack.frob.com>
19536
19537         [BZ #5461]
19538         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19539         not LONG_LONG_MAX and LONG_LONG_MIN.
19540         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19541         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19542         name.
19543         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19544
19545 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19546
19547         [BZ #2547]
19548         [BZ #11365]
19549         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19550         manipulate bits before adding and subtracting TWO23[sx].
19551         * math/libm-test.inc (nearbyint_test): Add more tests.
19552
19553 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19554
19555         [BZ #2548]
19556         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19557         bits before adding and subtracting TWO23[sx].
19558         * math/libm-test.inc (rint_test): Add more tests.
19559         (rint_test_tonearest): Likewise.
19560         (rint_test_towardzero): Likewise.
19561         (rint_test_downward): Likewise.
19562         (rint_test_upward: Likewise.
19563
19564 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19565
19566         [BZ #10110]
19567         * include/stdc-predef.h: New file.  Extracted from features.h.
19568         * include/features.h: Include stdc-predef.h.
19569         * Makefile (headers): Add stdc-predef.h.
19570         * CONFORMANCE (Compiler limitations): Update.
19571
19572 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19573
19574         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19575
19576 2012-02-21  David S. Miller  <davem@davemloft.net>
19577
19578         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19579         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19580
19581 2012-02-20  David S. Miller  <davem@davemloft.net>
19582
19583         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19584         using a normal save/restore sequence, rather than allocating a
19585         dummy stack frame just to store a frame pointer and restore.
19586         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19587
19588 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19589
19590         * manual/install.texi: Fix stray word in line-wrapped comment.
19591
19592 2012-02-20  David S. Miller  <davem@davemloft.net>
19593
19594         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19595         both binutils and gcc support GOTDATA.
19596
19597         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19598         "rd %pc" in the PIC register setup sequences.
19599
19600         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19601         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19602         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19603         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19604         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19606         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19607         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19609         (SYSCALL_ERROR_HANDLER): Likewise.
19610         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19611         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19613         (SYSCALL_ERROR_HANDLER): Likewise.
19614
19615         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19616         (HAVE_GCC_GOTDATA): New.
19617         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19618         relocation support in both binutils and gcc.
19619         * sysdeps/sparc/elf/configure: Regenerate.
19620
19621         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19622         * sysdeps/sparc/sparc32/elf/configure: Delete.
19623         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19624         * sysdeps/sparc/sparc64/elf/configure: Delete.
19625         * sysdeps/sparc/elf/configure.in: New file.
19626         * sysdeps/sparc/elf/configure: Generate.
19627
19628         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19629         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19630         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19631         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19632         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19633
19634 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19635
19636         * manual/install.texi: Do not mention specific glibc version
19637         numbers.
19638         * manual/libc.texinfo (VERSION, UPDATED): Update.
19639         (@copying): Use @copyright{} and range of years.
19640
19641 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19642
19643         [BZ #13695]
19644         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19645         [crti.S not in sysdirs] (generated): Do not append.
19646         [crti.S not in sysdirs] (omit-deps): Likewise.
19647         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19648         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19649         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19650         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19651         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19652         Likewise.
19653         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19654         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19655         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19656         * csu/defs.awk: Remove file.
19657         * sysdeps/generic/initfini.c: Likewise.
19658         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19659         variable.
19660         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19661         Likewise.
19662
19663 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19664
19665         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19666         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19667         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19668         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19669         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19670         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19671         <bits/epoll.h>.
19672         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19673         (__EPOLL_PACKED): Define to empty if not defined by
19674         <bits/epoll.h>.
19675         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19677         bits/epoll.h.
19678
19679 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19680
19681         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19682         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19683         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19684         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19685         <bits/timerfd.h>.
19686         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19688         bits/timerfd.h.
19689
19690 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19691
19692         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19693         in C locale.
19694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19695         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19696         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698
19699 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19700
19701         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19702         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19703
19704 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19705
19706         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19707         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19708         defined.
19709         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19710         Likewise.
19711         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19712         entry for 2.16.
19713
19714 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19715
19716         * math/w_acos.c: Use non-signaling floating-point comparisons.
19717         * math/w_acosf.c: Likewise.
19718         * math/w_acosh.c: Likewise.
19719         * math/w_acoshf.c: Likewise.
19720         * math/w_acoshl.c: Likewise.
19721         * math/w_acosl.c: Likewise.
19722         * math/w_asin.c: Likewise.
19723         * math/w_asinf.c: Likewise.
19724         * math/w_asinl.c: Likewise.
19725         * math/w_atanh.c: Likewise.
19726         * math/w_atanhf.c: Likewise.
19727         * math/w_atanhl.c: Likewise.
19728         * math/w_exp2.c: Likewise.
19729         * math/w_exp2f.c: Likewise.
19730         * math/w_exp2l.c: Likewise.
19731         * math/w_j0.c: Likewise.
19732         * math/w_j0f.c: Likewise.
19733         * math/w_j0l.c: Likewise.
19734         * math/w_j1.c: Likewise.
19735         * math/w_j1f.c: Likewise.
19736         * math/w_j1l.c: Likewise.
19737         * math/w_jn.c: Likewise.
19738         * math/w_jnf.c: Likewise.
19739         * math/w_log.c: Likewise.
19740         * math/w_log10.c: Likewise.
19741         * math/w_log10f.c: Likewise.
19742         * math/w_log10l.c: Likewise.
19743         * math/w_log2.c: Likewise.
19744         * math/w_log2f.c: Likewise.
19745         * math/w_log2l.c: Likewise.
19746         * math/w_logf.c: Likewise.
19747         * math/w_logl.c: Likewise.
19748         * math/w_sqrt.c: Likewise.
19749         * math/w_sqrtf.c: Likewise.
19750         * math/w_sqrtl.c: Likewise.
19751         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19752         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19753         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19754         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19755         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19756
19757 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19758
19759         [BZ #9739]
19760         * manual/string.texi (strnlen): Use correct parameter name in
19761         equivalent expression.
19762
19763 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19764
19765         [BZ #11174]
19766         * manual/users.texi (seteuid): Consistently use neweuid for
19767         argument name.
19768
19769 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19770
19771         [BZ #13704]
19772         * manual/nss.texi (Services in the NSS configuration): Correct
19773         list of services in example configuration file.
19774
19775 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19776
19777         [BZ #11322]
19778         * manual/arith.texi: Remove statements about negative zero
19779         behaving identically to zero.
19780
19781 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19782
19783         [BZ #5993]
19784         * manual/install.texi: Do not document upgrading from libc5.
19785
19786 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19787
19788         [BZ #4596]
19789         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19790
19791 2012-02-18  David S. Miller  <davem@davemloft.net>
19792
19793         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19794         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19795         %o7 across the call.
19796         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19797         instead.
19798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19799         SETUP_PIC_REG_LEAF.
19800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19801         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19802         * sysdeps/sparc/crtn.S: Likewise.
19803
19804 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19805
19806         * aout/Makefile: Remove.
19807
19808 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19809
19810         [BZ #13058]
19811         * manual/examples/argp-ex1.c (main): Format definition in GNU
19812         style.
19813         * manual/examples/argp-ex2.c (main): Likewise.
19814         * manual/examples/argp-ex3.c (main): Likewise.
19815         * manual/examples/argp-ex4.c (main): Likewise.
19816         * manual/examples/longopt.c (main): Use new-style prototype
19817         definition.
19818         * manual/examples/strncat.c (main): Specify return type and use
19819         (void) for arguments.
19820         * manual/examples/subopt.c (main): Use char **argv argument.
19821
19822 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19823
19824         [BZ #5077]
19825         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19826         rounding modes.
19827
19828 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19829
19830         [BZ #6907]
19831         * manual/string.texi (strchr): Change when strchrnul is
19832         recommended.
19833
19834 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19835
19836         [BZ #174]
19837         * manual/locale.texi (setlocale): Document LOCPATH.
19838
19839 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19840
19841         [BZ #10210]
19842         * manual/process.texi (execle): Move @dots{} before last argument.
19843
19844 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19845
19846         [BZ #12047]
19847         * manual/charset.texi (Generic Charset Conversion): Fix typo
19848         (LC_TYPE -> LC_CTYPE).
19849
19850 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19851
19852         [BZ #5805]
19853         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19854         (scalbnf): Likewise.
19855         (scalbnl): Likewise.
19856         (scalbln): Likewise.
19857         (scalblnf): Likewise.
19858         (scalblnl): Likewise.
19859         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19860         (vwarnx): Likewise.
19861         (verr): Likewise.
19862         (verrx): Likewise.
19863         * manual/filesys.texi (telldir): Use braces around return type.
19864         * manual/llio.texi (mmap): Add space after comma.
19865         (mmap64): Likewise.
19866         * manual/math.texi (jn): Use @var{} on parameter names.
19867         (jnf): Likewise.
19868         (jnl): Likewise.
19869         (yn): Likewise.
19870         (ynf): Likewise.
19871         (ynl): Likewise.
19872         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19873         line.
19874         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19875         "...".
19876         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19877         (sched_get_priority_max): Likewise.
19878         * manual/signal.texi (sigvec): Add space after comma.
19879         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19880         names.
19881         (if_indextoname): Likewise.
19882         (if_freenameindex): Likewise.
19883         (sendto): Use ',' instead of '.' in prototype.
19884         * manual/startup.texi (syscall): Use @dots{} instead of literal
19885         "...".
19886         * manual/stdio.texi (__fpending): Separate initial words of
19887         paragraph from @deftypefun line.
19888         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19889         "...".
19890         (vsyslog): Use @var{} on parameter names.
19891         * manual/terminal.texi (stty): Use @var{} on parameter names.
19892         * manual/users.texi (getutmp): Use @var{} on parameter names.
19893         (getutmpx): Likewise.
19894
19895 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19896
19897         [BZ #6884]
19898         * manual/stdio.texi (fopen): Fix typos in description of
19899         ",ccs=STRING".
19900
19901 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19902
19903         [BZ #4026]
19904         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19905         get clock_id definition.
19906
19907 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19908
19909         [BZ #4822]
19910         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19911         (madvise): Cast every argument to void on its own.
19912
19913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19914
19915         [BZ #9902]
19916         * manual/startup.texi (Exit Status): Fix typo.
19917
19918 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19919
19920         [BZ #10140]
19921         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19922         * manual/examples/argp-ex2.c: Likewise.
19923         * manual/examples/argp-ex3.c: Likewise.
19924
19925 2012-02-16  Richard Henderson  <rth@redhat.com>
19926
19927         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19928         * sysdeps/s390/s390-32/initfini.c: Remove.
19929         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19930         * sysdeps/s390/s390-64/initfini.c: Remove.
19931
19932 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19933
19934         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19935         compiler output for sysdeps/generic/initfini.c.
19936         * sysdeps/sh/elf/initfini.c: Remove file.
19937
19938 2012-02-16  David S. Miller  <davem@davemloft.net>
19939
19940         [BZ #11494]
19941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19942
19943         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19944         * sysdeps/sparc/crti.S: New file.
19945         * sysdeps/sparc/crtn.S: New file.
19946         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19947         * sysdeps/sparc/sparc64/Makefile: Likewise.
19948
19949 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19950
19951         [BZ #3335]
19952         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19953
19954 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19955
19956         [BZ #4822]
19957         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19958
19959         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19960         (write, read, close): Likewise.
19961         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19962
19963 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19964
19965         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19966         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19967         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19968         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19969         <bits/signalfd.h>.
19970         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19972         bits/signalfd.h.
19973
19974 2012-02-14  Marek Polacek  <polacek@redhat.com>
19975
19976         * sysdeps/x86_64/crti.S: New file.
19977         * sysdeps/x86_64/crtn.S: New file.
19978         * sysdeps/x86_64/elf/initfini.c: Remove file.
19979
19980 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19981
19982         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19983         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19984         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19985         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19986         <bits/inotify.h>.
19987         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19989         bits/inotify.h.
19990
19991 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19992
19993         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19994         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19995         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19996         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19997         <bits/eventfd.h>.
19998         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20000         bits/eventfd.h.
20001
20002 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20003
20004         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20005         __feraiseexcept instead of feraiseexcept.
20006
20007         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20008         nanosleep invocations.
20009         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20010         strings, and add error checking for a nanosleep invocations.
20011
20012 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20013
20014         Replace FSF snail mail address with URLs, as per GNU coding standards.
20015         Most of the snail mail addresses were wrong anyway, and omitting
20016         them makes the source code easier to maintain.  Almost all of the
20017         changes are to license notices and to locale LC_IDENTIFICATION
20018         addresses, except for this one:
20019         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20020         not its snail mail address.
20021
20022 2012-02-09  Richard Henderson  <rth@twiddle.net>
20023
20024         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20025         of kernel-features.h.
20026
20027         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20028
20029 2012-02-08  Marek Polacek  <polacek@redhat.com>
20030
20031         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20032         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20033         * sysdeps/gnu/_G_config.h: Likewise.
20034         * sysdeps/generic/_G_config.h: Likewise.
20035
20036 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20037
20038         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20039         tests.
20040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20041
20042         * sysdeps/powerpc/powerpc32/crti.S: New file.
20043         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20044         * sysdeps/powerpc/powerpc64/crti.S: New file.
20045         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20046
20047         * Makeconfig (have-initfini): Don't set.
20048         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20049         * configure.in (nopic_initfini): Don't substitute.
20050         * config.h.in (HAVE_INITFINI): Don't #undef.
20051         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20052         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20053
20054 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20055
20056         Support crti.S and crtn.S provided directly by architectures.
20057         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20058         [crti.S in sysdirs] (omit-deps): Likewise.
20059         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20060         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20061         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20062         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20063         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20064         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20065         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20066         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20067         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20068         compiler output for sysdeps/generic/initfini.c.
20069         * sysdeps/i386/elf/Makefile: Remove file.
20070         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20071
20072 2012-02-07  Marek Polacek  <polacek@redhat.com>
20073
20074         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20075         * sysdeps/gnu/_G_config.h: Likewise.
20076         * sysdeps/mach/hurd/_G_config.h: Likewise.
20077
20078 2012-02-07  Marek Polacek  <polacek@redhat.com>
20079
20080         * math/Makefile (tests): Add tst-CMPLX2.
20081         * math/tst-CMPLX2.c: New file.
20082
20083 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20084
20085         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20086
20087         * math/libm-test.inc (jn_test): Add missing L suffix.
20088
20089 2012-02-06  Marek Polacek  <polacek@redhat.com>
20090
20091         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20092         * sysdeps/i386/fpu/e_powf.S: Likewise.
20093         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20094         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20095         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20096         * sysdeps/i386/fpu/e_pow.S: Likewise.
20097         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20098         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20099         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20100         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20101         * sysdeps/i386/fpu/e_log2.S: Likewise.
20102         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20103         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20104         * sysdeps/i386/fpu/e_powl.S: Likewise.
20105         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20106         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20107         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20108         * sysdeps/i386/fpu/e_logl.S: Likewise.
20109         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20110         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20111         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20112         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20113         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20114         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20115         * sysdeps/i386/fpu/e_log.S: Likewise.
20116         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20117         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20118         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20119         * sysdeps/i386/fpu/e_logf.S: Likewise.
20120         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20121         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20122         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20123         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20124         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20125         * sysdeps/i386/fpu/e_log10.S: Likewise.
20126         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20127         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20128         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20129         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20130         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20131         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20132         * sysdeps/i386/asm-syntax.h: Likewise.
20133         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20134         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20135         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20136         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20137         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20138         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20139         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20140         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20141         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20142         * sysdeps/powerpc/sysdep.h: Likewise.
20143         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20144         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20145
20146 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20147
20148         [BZ #411]
20149         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20150
20151 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20152
20153         * sysdeps/i386/sysdep.h: Include <features.h>.
20154         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20155         version.
20156
20157 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20158
20159         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20160         Define.
20161         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20162         LOAD_PIC_REG_STR.
20163
20164 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20165
20166         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20167         (SETUP_PIC_REG): Use GET_PC_THUNK.
20168         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20169         macro.
20170
20171 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20172
20173         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20174         for non-PIC compilation.
20175         (SETUP_PIC_REG): Add .p2align directive.
20176         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20177         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20180         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20183         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20184         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20185         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20186         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20189         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20190         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20191         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20194         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20195         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20196         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20197         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20198         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20199         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20200         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20202         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20204         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20205         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20206         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20207         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20208         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20209         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20210         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20211         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20212         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20213         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20214         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20215         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20216         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20217
20218 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20219
20220         * math/tst-CMPLX.c: Include <stdio.h>.
20221
20222 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20223
20224         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20225         float.
20226         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20227         * sysdeps/sparc/bits/mathdef.h: Likewise.
20228
20229 2012-01-31  Marek Polacek  <polacek@redhat.com>
20230
20231         * libio/libio.h: Don't define _PARAMS.
20232         * locale/programs/config.h: Don't define PARAMS.
20233         * stdlib/strtol_l.c: Likewise.
20234         (__strtol_l): Remove PARAMS from the prototype.
20235
20236 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20237
20238         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20239         names.  Just use the correct names.  Remove unnecessary wrapper
20240         functions.
20241         * malloc/arena.c: Likewise.
20242         * malloc/hooks.c: Likewise.
20243
20244         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20245         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20246         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20247
20248 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20249
20250         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20251         into tail calls.
20252         (update_get_addr): New function.
20253         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20254         GET_ADDR_MODULE parameter.
20255
20256 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20257
20258         * crypt/cert.c: Remove __STDC__ conditionals.
20259         * crypt/crypt-entry.c: Likewise.
20260         * crypt/crypt_util.c: Likewise.
20261         * libio/filedoalloc.c: Likewise.
20262         * libio/fileops.c: Likewise.
20263         * libio/genops.c: Likewise.
20264         * libio/iofclose.c: Likewise.
20265         * libio/iofdopen.c: Likewise.
20266         * libio/iofopen.c: Likewise.
20267         * libio/iofopen64.c: Likewise.
20268         * libio/iogetdelim.c: Likewise.
20269         * libio/iopopen.c: Likewise.
20270         * libio/obprintf.c: Likewise.
20271         * libio/oldfileops.c: Likewise.
20272         * libio/oldiofclose.c: Likewise.
20273         * libio/oldiofdopen.c: Likewise.
20274         * libio/oldiofopen.c: Likewise.
20275         * libio/oldiopopen.c: Likewise.
20276         * libio/wfiledoalloc.c: Likewise.
20277         * libio/wgenops.c: Likewise.
20278         * locale/programs/xmalloc.c: Likewise.
20279         * misc/syslog.c: Likewise.
20280         * stdio-common/xbug.c: Likewise.
20281         * string/memchr.c: Likewise.
20282         * string/memcmp.c: Likewise.
20283         * string/memrchr.c: Likewise.
20284         * string/rawmemchr.c: Likewise.
20285         * sysdeps/posix/getcwd.c: Likewise.
20286         * time/strftime_l.c: Likewise.
20287
20288 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20289
20290         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20291         * config.make.in (config-cflags-sse2avx): Define.
20292         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20293         Fix typo.
20294
20295 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20296
20297         * scripts/config.guess: Update from upstream config git repository.
20298         * scripts/config.sub: Likewise.
20299
20300 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20301
20302         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20303         (EM_NUM): Update.
20304         (R_TILEPRO_*, R_TILEGX_*): New macros.
20305
20306         * scripts/firstversions.awk: Fix bug in version range handling.
20307
20308         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20309
20310         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20311
20312         * include/sys/epoll.h: New file.
20313         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20314         libc_hidden_def.
20315
20316 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20317
20318         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20319         Avoid unnecessary __WORDSIZE == 64 test.
20320         (fmaxf): Use VEX format if possible.
20321         (fmax): Likewise.
20322         (fminf): Likewise.
20323         (fmin): Likewise.
20324
20325         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20326         * math/math_private.h: Remove libc_fegetround* and
20327         libc_fesetround*.
20328         * sysdeps/i386/configure.in: Check for -msse2avx.
20329         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20330         also if SSE2AVX is defined.
20331         Remove libc_fegetround* and libc_fesetround*.
20332         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20333         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20335         of HAS_YMM_USABLE.
20336         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20337         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20338         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20339         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20340         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20341
20342         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20343
20344 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20345
20346         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20347         size is not set.
20348         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20349
20350 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20351
20352         [BZ #13618]
20353         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20354         relocation.
20355         * Makeconfig (libm): Define.
20356         * elf/Makefile: Add rules to build and run tst-relsort1.
20357         * elf/tst-relsort1.c: New file.
20358         * elf/tst-relsort1mod1.c: New file.
20359         * elf/tst-relsort1mod2.c: New file.
20360
20361 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20362
20363         * math/s_ldexp.c: Remove __STDC__ conditionals.
20364         * math/s_ldexpf.c: Likewise.
20365         * math/s_ldexpl.c: Likewise.
20366         * math/s_nextafter.c: Likewise.
20367         * math/s_nexttowardf.c: Likewise.
20368         * math/s_significand.c: Likewise.
20369         * math/s_significandf.c: Likewise.
20370         * math/s_significandl.c: Likewise.
20371         * math/w_jnl.c: Likewise.
20372         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20373         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20374         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20375         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20376         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20377         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20378         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20379         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20381         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20382         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20383         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20384         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20385         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20386         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20387         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20388         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20389         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20390         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20391         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20392         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20393         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20394         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20395         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20396         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20397         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20398         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20399         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20400         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20401         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20402         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20403         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20404         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20405         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20406         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20407         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20408         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20409         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20410         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20411         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20412         * sysdeps/ieee754/k_standard.c: Likewise.
20413         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20414         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20415         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20416         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20417         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20418         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20420         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20421         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20422         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20423         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20424         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20425         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20426         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20427         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20428         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20429         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20430         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20433         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20434         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20435         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20436         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20437         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20438         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20441         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20442         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20445         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20446         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20449         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20450         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20451         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20452         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20453         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20455         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20456         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20461         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20462         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20466         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20469         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20474         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20475         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20476         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20477         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20478         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20479         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20480         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20482         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20483         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20484         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20485         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20487         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20488         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20489         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20490         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20491         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20492         * sysdeps/ieee754/s_matherr.c: Likewise.
20493         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20494         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20497
20498 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20499
20500         * crypt/md5.h: Remove __STDC__ conditionals.
20501         * libio/libioP.h: Likewise.
20502         * locale/programs/config.h: Likewise.
20503         * sysdeps/generic/sysdep.h: Likewise.
20504         * sysdeps/i386/asm-syntax.h: Likewise.
20505         * sysdeps/s390/asm-syntax.h: Likewise.
20506         * sysdeps/unix/sysdep.h: Likewise.
20507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20509
20510 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20511
20512         * libio/libio.h: Remove __STDC__ conditionals.
20513         * malloc/obstack.h: Likewise.
20514         * math/complex.h: Likewise.
20515         * math/math.h: Likewise.
20516         * sysdeps/generic/_G_config.h: Likewise.
20517         * sysdeps/gnu/_G_config.h: Likewise.
20518         * sysdeps/mach/hurd/_G_config.h: Likewise.
20519         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20520         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20521         * sysdeps/sparc/bits/mathdef.h: Likewise.
20522
20523 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20524
20525         [BZ #13583]
20526         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20527         Clean up HAS_* macros.
20528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20529         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20530         possible.
20531         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20532         HAS_AVX.
20533         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20534         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20535         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20536         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20537         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20538
20539 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20540
20541         * elf/tst-unique3.cc (gets): Remove declaration.
20542         * elf/tst-unique3lib.cc (gets): Likewise.
20543         * elf/tst-unique3lib2.cc (gets): Likewise.
20544         * elf/tst-unique4.cc (gets): Likewise.
20545
20546 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20547
20548         * include/stdio.h: Add C++ protection.  Add gets declarations and
20549         definitions.
20550         * debug/tst-chk1.c: Don't declare gets here.
20551         * stdio-common/tst-gets.c: Likewise.
20552
20553 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20554
20555         * posix/glob: Remove directory.
20556
20557 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20558
20559         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20560
20561 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20562
20563         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20564         of the non-standard EPFNOSUPPORT.
20565
20566 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20567
20568         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20569         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20570         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20571
20572 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20573
20574         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20575
20576 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20577
20578         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20579         transient errors.
20580         * nscd/grpcache.c (cache_addgr): Likewise.
20581         * nscd/hstcache.c (cache_addhst): Likewise.
20582         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20583         * nscd/pwdcache.c (cache_addpw): Likewise.
20584         * nscd/servicescache.c (cache_addserv): Likewise.
20585
20586 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20587
20588         * malloc/malloc.c: Various cleanups.
20589         * malloc/hooks.c: Likewise.
20590
20591         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20592         * stdlib/bug-fmtmsg1.c: New file.
20593
20594         * stdlib/fmtmsg.c (init): Add missing unlock.
20595         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20596
20597 2012-01-12  Marek Polacek  <polacek@redhat.com>
20598
20599         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20600         and _GNU_SOURCE.
20601
20602 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20603
20604         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20605         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20606         macro to ensure uniqueness of label name.
20607         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20608         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20609
20610 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20611
20612         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20613
20614         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20615         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20616         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20617         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20618
20619 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20620
20621         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20622
20623         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20624         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20625         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20626
20627         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20628
20629         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20630         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20631         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20632         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20633
20634         * math/bits/math-finite.h: Add ldexp support.
20635
20636 2012-01-10  Marek Polacek  <polacek@redhat.com>
20637
20638         * locale/programs/localedef.h (show_archive_content): Add noreturn
20639         attribute.
20640
20641 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20642
20643         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20644
20645 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20646
20647         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20648
20649         * io/Makefile (headers): Add bits/poll2.h.
20650
20651 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20652
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20654         typo #include statement.
20655
20656 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20657
20658         * include/sys/cdefs.h: Define __attribute_alloc_size.
20659         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20660         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20661         * elf/pldd.c: Likewise.
20662         * iconv/iconv_charmap.c: Likewise.
20663         * iconv/iconvconfig.c: Likewise.
20664         * iconv/strtab.c: Likewise.
20665         * locale/programs/locale.c: Likewise.
20666         * locale/programs/localedef.h: Likewise.
20667         * locale/programs/simple-hash.c: Likewise.
20668         * nscd/nscd.h: Likewise.
20669         * nss/makedb.c: Likewise.
20670         * sysdeps/generic/ldconfig.h: Likewise.
20671         * locale/programs/localedef.c: Remove xmalloc prototype.
20672         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20673
20674 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20675
20676         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20677         appropriate.
20678
20679 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20680
20681         * math/Makefile (tests): Add tst-CMPLX.
20682         * math/tst-CMPLX.c: New file.
20683
20684         * math/complex.h (CMPLXL): Fix typo.
20685
20686         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20687         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20688         GLIBC_2.16.
20689         * debug/tst-chk1.c: Add poll and ppoll tests.
20690         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20691         * include/sys/poll.h: Add hidden proto for ppoll.
20692         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20693         * sysdeps/mach/hurd/ppoll.c: Likewise.
20694         * io/ppoll.c: Likewise.
20695         * debug/poll_chk.c: New file.
20696         * debug/ppoll_chk.c: New file.
20697         * include/bits/poll2.h: New file.
20698         * io/bits/poll2.h: New file.
20699
20700         [BZ #1350]
20701         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20702
20703         * configure.in: static is always set to yes.  Remove.
20704         * config.make.in: Don't set build-static.
20705         * Makeconfig: Remove use of build-static.
20706         * dlfcn/Makefile: Likewise.
20707         * elf/Makefile: Likewise.
20708         * math/Makefile: Likewise.
20709         * misc/Makefile: Likewise.
20710         * nptl/Makefile: Likewise.
20711         * sysdeps/mach/hurd/Makefile: Likewise.
20712
20713         * configure.in: PWD_P is not used anymore.
20714         * config.make.in: Remove PWD_P entry.
20715
20716         * configure.in: Remove last remnants of RANLIB.
20717         No need to check for signed size_t anymore.
20718         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20719         and IA-64.
20720         Remove __builtin_expect test because we require at least gcc 3.4.
20721         * aclocal.m4: Likewise.
20722
20723         * wcsmbs/mbrtoc16.c: Implement using towc function.
20724         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20725         * wcsmbs/wcsmbsload.c: Likewise.
20726         * iconv/gconv_simple.c: Likewise.
20727         * iconv/gconv_int.h: Likewise.
20728         * iconv/gconv_builtin.h: Likewise.
20729         * iconv/iconv_prog.c: Remove CHAR16 handling.
20730
20731         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20732
20733         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20734
20735         * configure.in: Remove --with-elf and --enable-bounded options.
20736         Dont set base_machine for ia64.  More non-ELF conditions removed.
20737         Remove testing and setting of leading underscore information.
20738         * config.make.in (build-bounded): Set to no.
20739         * config.h.in: Remove NO_UNDERSCORES entry.
20740         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20741         them.
20742         * csu/start.c: Remove !NO_UNDERSCORE code.
20743         * locale/localeinfo.h: Likewise.
20744         * sysdeps/generic/machine-gmon.h: Likewise.
20745         * sysdeps/generic/sysdep.h: Likewise.
20746         * sysdeps/i386/sysdep.h: Likewise.
20747         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20748         * sysdeps/mach/sysdep.h: Likewise.
20749         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20750         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20751         * sysdeps/sh/sysdep.h: Likewise.
20752         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20753         * sysdeps/unix/i386/sysdep.S: Likewise.
20754         * sysdeps/unix/sparc/start.c: Likewise.
20755         * sysdeps/unix/sparc/sysdep.S: Likewise.
20756         * sysdeps/unix/sparc/sysdep.h: Likewise.
20757         * sysdeps/unix/start.c: Likewise.
20758         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20759         * sysdeps/x86_64/sysdep.h: Likewise.
20760
20761 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20762
20763         [BZ #13553]
20764         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20765         for non-gcc.
20766         * argp/argp-fmtstream.h: Use const instead __const.
20767         * argp/argp.h: Likewise.
20768         * assert/assert.h: Likewise.
20769         * bits/fenv.h: Likewise.
20770         * bits/sched.h: Likewise.
20771         * bits/sigset.h: Likewise.
20772         * bits/sigthread.h: Likewise.
20773         * catgets/nl_types.h: Likewise.
20774         * conform/data/pthread.h-data: Likewise.
20775         * crypt/crypt-private.h: Likewise.
20776         * crypt/crypt.h: Likewise.
20777         * crypt/crypt_util.c: Likewise.
20778         * ctype/ctype.h: Likewise.
20779         * debug/execinfo.h: Likewise.
20780         * debug/mbsnrtowcs_chk.c: Likewise.
20781         * debug/mbsrtowcs_chk.c: Likewise.
20782         * debug/wcsnrtombs_chk.c: Likewise.
20783         * debug/wcsrtombs_chk.c: Likewise.
20784         * debug/wcstombs_chk.c: Likewise.
20785         * dirent/dirent.h: Likewise.
20786         * dlfcn/dlfcn.h: Likewise.
20787         * elf/neededtest4.c: Likewise.
20788         * grp/grp.h: Likewise.
20789         * gshadow/gshadow.h: Likewise.
20790         * iconv/gconv.h: Likewise.
20791         * iconv/gconv_int.h: Likewise.
20792         * iconv/gconv_simple.c: Likewise.
20793         * iconv/iconv.h: Likewise.
20794         * iconv/loop.c: Likewise.
20795         * iconv/skeleton.c: Likewise.
20796         * include/aio.h: Likewise.
20797         * include/aliases.h: Likewise.
20798         * include/argz.h: Likewise.
20799         * include/arpa/inet.h: Likewise.
20800         * include/assert.h: Likewise.
20801         * include/dirent.h: Likewise.
20802         * include/dlfcn.h: Likewise.
20803         * include/execinfo.h: Likewise.
20804         * include/fcntl.h: Likewise.
20805         * include/fenv.h: Likewise.
20806         * include/glob.h: Likewise.
20807         * include/grp.h: Likewise.
20808         * include/libintl.h: Likewise.
20809         * include/mntent.h: Likewise.
20810         * include/netdb.h: Likewise.
20811         * include/pwd.h: Likewise.
20812         * include/rpc/netdb.h: Likewise.
20813         * include/sched.h: Likewise.
20814         * include/search.h: Likewise.
20815         * include/shadow.h: Likewise.
20816         * include/signal.h: Likewise.
20817         * include/stdio.h: Likewise.
20818         * include/stdlib.h: Likewise.
20819         * include/string.h: Likewise.
20820         * include/sys/socket.h: Likewise.
20821         * include/sys/stat.h: Likewise.
20822         * include/sys/statfs.h: Likewise.
20823         * include/sys/statvfs.h: Likewise.
20824         * include/sys/syslog.h: Likewise.
20825         * include/sys/time.h: Likewise.
20826         * include/sys/uio.h: Likewise.
20827         * include/time.h: Likewise.
20828         * include/unistd.h: Likewise.
20829         * include/utmp.h: Likewise.
20830         * include/wchar.h: Likewise.
20831         * include/wctype.h: Likewise.
20832         * inet/aliases.h: Likewise.
20833         * inet/arpa/inet.h: Likewise.
20834         * inet/netinet/ether.h: Likewise.
20835         * inet/netinet/in.h: Likewise.
20836         * intl/libintl.h: Likewise.
20837         * io/bits/fcntl2.h: Likewise.
20838         * io/fcntl.h: Likewise.
20839         * io/ftw.h: Likewise.
20840         * io/sys/poll.h: Likewise.
20841         * io/sys/stat.h: Likewise.
20842         * io/sys/statfs.h: Likewise.
20843         * io/sys/statvfs.h: Likewise.
20844         * io/utime.h: Likewise.
20845         * libio/bits/stdio.h: Likewise.
20846         * libio/bits/stdio2.h: Likewise.
20847         * libio/libio.h: Likewise.
20848         * libio/libioP.h: Likewise.
20849         * libio/stdio.h: Likewise.
20850         * locale/lc-ctype.c: Likewise.
20851         * locale/locale.h: Likewise.
20852         * login/utmp.h: Likewise.
20853         * malloc/arena.c: Likewise.
20854         * malloc/malloc.c: Likewise.
20855         * malloc/malloc.h: Likewise.
20856         * malloc/mcheck.c: Likewise.
20857         * malloc/mtrace.c: Likewise.
20858         * math/bits/mathcalls.h: Likewise.
20859         * math/fenv.h: Likewise.
20860         * math/math_private.h: Likewise.
20861         * misc/bits/error.h: Likewise.
20862         * misc/bits/syslog.h: Likewise.
20863         * misc/err.h: Likewise.
20864         * misc/error.h: Likewise.
20865         * misc/fstab.h: Likewise.
20866         * misc/mntent.h: Likewise.
20867         * misc/regexp.h: Likewise.
20868         * misc/search.h: Likewise.
20869         * misc/sgtty.h: Likewise.
20870         * misc/sys/mman.h: Likewise.
20871         * misc/sys/syslog.h: Likewise.
20872         * misc/sys/uio.h: Likewise.
20873         * misc/sys/xattr.h: Likewise.
20874         * misc/ttyent.h: Likewise.
20875         * nis/rpcsvc/ypclnt.h: Likewise.
20876         * nss/nss.h: Likewise.
20877         * posix/bits/unistd.h: Likewise.
20878         * posix/fnmatch.h: Likewise.
20879         * posix/glob.h: Likewise.
20880         * posix/sched.h: Likewise.
20881         * posix/spawn.h: Likewise.
20882         * posix/sys/wait.h: Likewise.
20883         * posix/unistd.h: Likewise.
20884         * posix/wordexp.h: Likewise.
20885         * pwd/pwd.h: Likewise.
20886         * resolv/netdb.h: Likewise.
20887         * resource/sys/resource.h: Likewise.
20888         * rt/aio.h: Likewise.
20889         * rt/bits/mqueue2.h: Likewise.
20890         * rt/mqueue.h: Likewise.
20891         * shadow/shadow.h: Likewise.
20892         * signal/signal.h: Likewise.
20893         * socket/send.c: Likewise.
20894         * socket/sendto.c: Likewise.
20895         * socket/sys/socket.h: Likewise.
20896         * stdio-common/printf.h: Likewise.
20897         * stdlib/bits/stdlib.h: Likewise.
20898         * stdlib/fmtmsg.h: Likewise.
20899         * stdlib/monetary.h: Likewise.
20900         * stdlib/stdlib.h: Likewise.
20901         * stdlib/ucontext.h: Likewise.
20902         * streams/stropts.h: Likewise.
20903         * string/argz.h: Likewise.
20904         * string/bits/string2.h: Likewise.
20905         * string/string.h: Likewise.
20906         * string/strings.h: Likewise.
20907         * sunrpc/rpc/auth.h: Likewise.
20908         * sunrpc/rpc/auth_des.h: Likewise.
20909         * sunrpc/rpc/clnt.h: Likewise.
20910         * sunrpc/rpc/netdb.h: Likewise.
20911         * sunrpc/rpc/pmap_clnt.h: Likewise.
20912         * sunrpc/rpc/xdr.h: Likewise.
20913         * sysdeps/generic/inttypes.h: Likewise.
20914         * sysdeps/generic/net/if.h: Likewise.
20915         * sysdeps/generic/sys/swap.h: Likewise.
20916         * sysdeps/gnu/net/if.h: Likewise.
20917         * sysdeps/gnu/utmpx.h: Likewise.
20918         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20919         * sysdeps/i386/i486/bits/string.h: Likewise.
20920         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20921         * sysdeps/s390/bits/string.h: Likewise.
20922         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20923         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20924         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20925         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20926         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20927         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20928         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20929         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20930         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20931         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20932         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20933         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20934         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20935         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20936         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20937         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20938         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20939         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20940         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20941         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20942         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20943         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20944         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20945         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20946         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20947         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20948         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20949         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20950         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20951         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20952         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20953         * sysvipc/sys/ipc.h: Likewise.
20954         * sysvipc/sys/msg.h: Likewise.
20955         * sysvipc/sys/sem.h: Likewise.
20956         * sysvipc/sys/shm.h: Likewise.
20957         * termios/termios.h: Likewise.
20958         * time/sys/time.h: Likewise.
20959         * time/time.h: Likewise.
20960         * wcsmbs/bits/wchar2.h: Likewise.
20961         * wcsmbs/uchar.h: Likewise.
20962         * wcsmbs/wchar.h: Likewise.
20963         * wctype/wctype.h: Likewise.
20964
20965         [BZ #13551]
20966         * Makeconfig: Remove all but ELF support including AIX support.
20967         * Makerules: Likewise.
20968         * config.h.in: Likewise.
20969         * config.make.in: Likewise.
20970         * configure: Likewise.
20971         * configure.in: Likewise.
20972         * csu/Makefile: Likewise.
20973         * csu/version.c: Likewise.
20974         * debug/Makefile: Likewise.
20975         * dlfcn/Makefile: Likewise.
20976         * elf/Makefile: Likewise.
20977         * extra-lib.mk: Likewise.
20978         * iconv/Makefile: Likewise.
20979         * include/libc-symbols.h: Likewise.
20980         * include/shlib-compat.h: Likewise.
20981         * resolv/Makefile: Likewise.
20982         * resolv/res_libc.c: Likewise.
20983         * rt/Makefile: Likewise.
20984         * sysdeps/i386/asm-syntax.h: Likewise.
20985         * sysdeps/i386/sysdep.h: Likewise.
20986         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20987         * sysdeps/mach/sysdep.h: Likewise.
20988         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20989         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20990         * sysdeps/s390/asm-syntax.h: Likewise.
20991         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20992         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20993         * sysdeps/sh/sysdep.h: Likewise.
20994         * sysdeps/unix/sparc/sysdep.h: Likewise.
20995         * sysdeps/wordsize-32/divdi3.c: Likewise.
20996         * sysdeps/x86_64/sysdep.h: Likewise.
20997
20998         * argp/Versions: Remove _argp_unlock_xxx.
20999
21000         [BZ #13559]
21001         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21002         * abilist/libBrokenLocale.abilist: Likewise.
21003         * abilist/libanl.abilist: Likewise.
21004         * abilist/libc.abilist: Likewise.
21005         * abilist/libcrypt.abilist: Likewise.
21006         * abilist/libdl.abilist: Likewise.
21007         * abilist/libm.abilist: Likewise.
21008         * abilist/libnsl.abilist: Likewise.
21009         * abilist/libpthread.abilist: Likewise.
21010         * abilist/libresolv.abilist: Likewise.
21011         * abilist/librt.abilist: Likewise.
21012         * abilist/libthread_db.abilist: Likewise.
21013         * abilist/libutil.abilist: Likewise.
21014         * abilist/libnss_db.abilist: New file.
21015
21016         * scripts/abilist.awk: Add support for indirect functions.
21017
21018         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21019
21020         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21021
21022         * shlib-versions: Remove entries for ports architectures.
21023
21024         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21025         files in ports.
21026         * elf/stackguard-macros.h: Remove support for IA-64.
21027         * elf/tst-auditmod1.c: Likewise.
21028         * sysdeps/generic/ldsodefs.h: Likewise.
21029
21030         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21031         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21032         configure files.
21033
21034         [BZ #13552]
21035         * configure.in: Remove --enable-omitfp support.
21036         * FAQ.in: Adjust.
21037         * config.make.in: Likewise.
21038         * Makeconfig: Likewise.
21039         * manual/install.texi: Likewise.
21040
21041         In case anyone cares, the IA-64 architecture could move to ports.
21042         * sysdeps/ia64/*: Removed.
21043         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21044         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21045
21046         [BZ #13555]
21047         * configure.in: Remove entries for unsupported architectures.
21048
21049         [BZ #13533]
21050         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21051         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21052         routines.
21053         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21054         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21055         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21056         fall back to using wcrtomb.
21057         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21058         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21059         renaming.
21060         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21061         * wcsmbs/tst-c16c32-1.c: New file.
21062
21063         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21064         local variable.
21065
21066         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21067
21068         * elf/tst-unique3.cc: Add explicit declaration of gets.
21069         * elf/tst-unique3lib.cc: Likewise.
21070         * elf/tst-unique3lib2.cc: Likewise.
21071         * elf/tst-unique4.cc: Likewise.
21072
21073         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21074
21075 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21076
21077         [BZ #13566]
21078         * assert/assert.h (static_assert): Don't define for C++.
21079         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21080         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21081
21082 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21083
21084         * iconv/loop.c (single loop): Fix assertion in storing of
21085         remaining bytes.
21086
21087         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21088
21089 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21090
21091         * posix/getconf.c: Update copyright year.
21092         * nss/getent.c: Likewise.
21093         * nss/makedb.c: Likewise.
21094         * iconv/iconvconfig.c: Likewise.
21095         * iconv/iconv_prog.c: Likewise.
21096         * elf/ldconfig.c: Likewise.
21097         * elf/pldd.c: Likewise.
21098         * elf/sotruss.ksh: Likewise.
21099         * catgets/gencat.c: Likewise.
21100         * csu/version.c: Likewise.
21101         * elf/ldd.bash.in: Likewise.
21102         * elf/sprof.c (print_version): Likewise.
21103         * locale/programs/locale.c: Likewise.
21104         * locale/programs/localedef.c: Likewise.
21105         * login/programs/pt_chown.c: Likewise.
21106         * nscd/nscd.c (print_version): Likewise.
21107         * debug/xtrace.sh: Likewise.
21108         * malloc/memusage.sh: Likewise.
21109         * malloc/mtrace.pl: Likewise.
21110         * debug/catchsegv.sh: Likewise.
21111
21112 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21113
21114         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21115         pure attribute.
21116
21117 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21118
21119         [BZ #13533]
21120         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21121         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21122         transformations.
21123         * iconv/gconv_int.h: Likewise.
21124         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21125         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21126         from libc for GLIBC_2.16.
21127         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21128         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21129         * wcsmbs/uchar.h: Really define mbstate_t.
21130         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21131         * wcsmbs/c16rtomb.c: New file.
21132         * wcsmbs/mbrtoc16.c: New file.
21133         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21134         for C/POSIX locale.
21135         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21136         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21137
21138         * wcsmbs/wchar.h: Add missing __restrict.
21139
21140 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21141
21142         [BZ #13532]
21143         * time/Makefile (routines): Add timespec_get.
21144         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21145         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21146         timespec for ISO C11.
21147         * time/timespec_get.c: New file.
21148         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21149         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21150
21151         [BZ #13531]
21152         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21153         * stdlib/stdlib.h: Declare aligned_alloc.
21154         * Versions.def: Add GLIBC_2.16 for libc.
21155         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21156
21157         [BZ 13527]
21158         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21159         ISO C11.
21160
21161         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21162         code.
21163
21164         [BZ #13528]
21165         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21166
21167         [BZ #13529]
21168         * assert/assert.h (static_assert): Define.
21169
21170         * version.h: Update for 2.16 development version.
21171
21172         [BZ #13526]
21173         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21174         _ISOC11_SOURCE.
21175
21176         * version.h (RELEASE): Bump for 2.15 release.
21177         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21178
21179         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21180         Patch by Marek Polacek <mpolacek@redhat.com>.
21181
21182         * bits/byteswap.h: Protect long long constants with __extension__.
21183         * sysdeps/i386/bits/byteswap.h: Likewise.
21184         * sysdeps/ia64/bits/byteswap.h: Likewise.
21185         * sysdeps/s390/bits/byteswap.h: Likewise.
21186         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21187
21188 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21189
21190         [BZ #13540]
21191         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21192         destination buffer.
21193         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21194
21195 2011-12-23  Marek Polacek  <polacek@redhat.com>
21196
21197         * elf/dl-addr.c (determine_info): Add inline keyword.
21198         * elf/tst-auditmod4b.c (check_avx): Likewise.
21199         * elf/tst-auditmod6b.c (check_avx): Likewise.
21200         * elf/tst-auditmod6c.c (check_avx): Likewise.
21201         * elf/tst-auditmod7b.c (check_avx): Likewise.
21202
21203 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21204
21205         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21206         !__SSE_MATH__.
21207
21208 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21209
21210         [BZ #13540]
21211         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21212         processing for last bytes.
21213
21214 2011-08-06  Bruno Haible  <bruno@clisp.org>
21215
21216         [BZ #13061]
21217         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21218         U+0385, not to U+1FEE.
21219
21220         [BZ #13062]
21221         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21222         entry for U+00A5 U+0301.
21223
21224 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21225
21226         [BZ #13166]
21227         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21228         buffer for the output is too small.
21229
21230         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21231         optimization.
21232
21233         [BZ #13185]
21234         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21235         SSE flags if possible.
21236
21237 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21238
21239         [BZ #13540]
21240         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21241         processing for last bytes.
21242
21243 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21244
21245         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21246         (syscall-list-default-options, syscall-list-default-condition)
21247         (syscall-list-includes): Define.
21248         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21249         list of ABIs and options and #if conditions for each ABI.  Do not
21250         handle common syscalls between ABIs specially.
21251         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21252         Remove.
21253         (syscall-list-variants, syscall-list-32bit-options)
21254         (syscall-list-32bit-condition, syscall-list-64bit-options)
21255         (syscall-list-64bit-condition): Define.
21256         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21257         (syscall-list-variants, syscall-list-32bit-options)
21258         (syscall-list-32bit-condition, syscall-list-64bit-options)
21259         (syscall-list-64bit-condition): Define.
21260         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21261         Remove.
21262         (syscall-list-variants, syscall-list-32bit-options)
21263         (syscall-list-32bit-condition, syscall-list-64bit-options)
21264         (syscall-list-64bit-condition): Define.
21265         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21266         Remove.
21267         (syscall-list-variants, syscall-list-32bit-options)
21268         (syscall-list-32bit-condition, syscall-list-64bit-options)
21269         (syscall-list-64bit-condition): Define.
21270
21271 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21272
21273         * locale/iso-639.def: Add brx entry.
21274
21275         [BZ #13328]
21276         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21277         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21278
21279         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21280         __feraiseexcept_renamed.
21281
21282 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21283
21284         [BZ #13538]
21285         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21286         EPOLLET with unsigned values.
21287         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21288         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21289
21290         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21291         to large cancellation.
21292         * math/s_cacoshf.c: Likewise.
21293         * math/s_cacoshl.c: Likewise.
21294
21295 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21296
21297         [BZ #13305]
21298         [BZ #12786]
21299         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21300         * math/s_cacoshf.c: Likewise.
21301         * math/s_cacoshl.c: Likewise.
21302
21303 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21304
21305         [BZ #13439]
21306         * iconv/gconv.h: Define __GCONV_SWAP.
21307         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21308         * iconvdata/utf-16.c: Likewise.
21309         * iconvdata/utf-32.c: Likewise.
21310
21311 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21312
21313         [BZ #13524]
21314         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21315         numerator after shifting it by one limb.
21316
21317 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21318
21319         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21320         under [__USE_EXTERN_INLINES].
21321
21322 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21323
21324         [BZ #13446]
21325         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21326
21327 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21328
21329         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21330         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21331         optimized code.
21332         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21333         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21334         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21335         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21336         for strncasecmp/strncasecmp_l compilation.
21337         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21338         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21339
21340 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21341
21342         [BZ #13484]
21343         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21344         of __asm__.
21345
21346 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21347
21348         [BZ #13506]
21349         * time/tzfile.c (__tzfile_read): Check values from file header.
21350
21351 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21352
21353         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21354         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21355         * powerpc/powerpc32/dl-start.S: Likewise.
21356         * powerpc/powerpc32/elf/start.S: Likewise.
21357         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21358         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21359         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21360         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21361         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21362         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21363         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21364         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21365         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21366         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21367         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21368         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21369         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21370         * powerpc/powerpc32/memset.S: Likewise.
21371         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21372         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21373         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21374         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21375         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21376         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21377         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21378         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21379         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21380         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21381         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21382         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21383         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21384
21385 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21386
21387         * math/libm-test.inc: Added more nearbyint tests.
21388         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21389         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21391         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21392
21393 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21394
21395         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21396         FD_CLOEXEC.
21397
21398 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21399
21400         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21401         Add wcscpy-ssse3 wcscpy-c.
21402         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21403         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21404         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21405         * sysdeps/x86_64/wcschr.S: New file.
21406         * sysdeps/x86_64/wcsrchr.S: New file.
21407         * string/test-strcmp.c: Remove checking of wcscmp function for
21408         wrong alignments.
21409         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21410         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21411         wcsrchr-sse2 wcsrchr-c.
21412         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21413         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21414         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21415         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21416         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21417         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21418         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21419         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21420         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21421         * wcsmbc/wcschr.c (WCSCHR): New macro.
21422
21423 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21424
21425         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21426         * wcsmbs/test-wcsrchr.c: New file.
21427         * string/test-strrchr.c: Add wcsrchr support.
21428         (WIDE): New macro.
21429         * wcsmbs/test-wcscpy.c: New file.
21430         * string/test-strcpy.c: Add wcscpy support.
21431         (WIDE): New macro.
21432
21433 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21434
21435         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21436         the inner loop.
21437
21438 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21439
21440         [BZ #13472]
21441         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21442
21443 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21444
21445         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21446         Minor optimizations.
21447
21448         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21449         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21450         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21451
21452 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21453
21454         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21455         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21456         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21457         for gcc to avoid warnings.
21458         * inet/Makefile (tests): Add tst-checks.
21459         * inet/tst-checks.c: New file.
21460
21461         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21462         warning.
21463
21464         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21465         __wmemcmp_sse2.
21466
21467         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21468         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21469
21470         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21471
21472 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21473
21474         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21475         problem.
21476
21477         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21478
21479 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21480
21481         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21482         conditional on GCC version.
21483         (__arch_compare_and_exchange_val_8_acq)
21484         (__arch_compare_and_exchange_val_16_acq)
21485         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21486         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21487         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21488
21489 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21490
21491         * sysdeps/sh/backtrace.c: New file.
21492
21493 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21494
21495         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21496         parenthesis.
21497
21498 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21499
21500         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21501         falling back to utime.
21502
21503 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21504
21505         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21506         expectations for float.
21507
21508 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21509
21510         * locale/weight.h (findidx): Add parameter len.
21511         * locale/weightwc.h (findidx): Likewise.
21512         * posix/fnmatch_loop.c (FCT): Adjust caller.
21513         * posix/regcomp.c (build_equiv_class): Likewise.
21514         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21515         * posix/regexec.c (check_node_accept_bytes): Likewise.
21516         * string/strcoll_l.c (STRCOLL): Likewise.
21517         * string/strxfrm_l.c (STRXFRM): Likewise.
21518
21519 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21520
21521         * Makefile.in: Remove CVSOPT handling.
21522         * configure.in: Remove use of AC_REVISION.
21523         * iconvdata/Makefile (distribute): No need to filter out CVS.
21524         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21525         handling.
21526
21527 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21528
21529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21530         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21531         [USE_AS_STRNCASECMP_L]: Likewise.
21532         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21533         NO_TLS_DIRECT_SEG_REFS.
21534         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21535         Fix argument offsets for non-PIC.
21536         [USE_AS_STRNCASECMP_L]: Likewise.
21537         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21538         NO_TLS_DIRECT_SEG_REFS.
21539
21540 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21541
21542         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21543         O_CLOEXEC.
21544         * locale/loadlocale.c (_nl_load_locale): Likewise.
21545
21546 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21547
21548         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21549         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21550         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21551         (SYSCALL_GETTIME): Set errno on error.
21552
21553         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21554         count references to noai6ai_cached.
21555
21556 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21557
21558         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21559
21560         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21561         FD_CLOEXEC for /proc/self/maps.
21562
21563         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21564         FD_CLOEXEC for /proc/meminfo.
21565
21566         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21567         gai.conf.
21568
21569         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21570         FD_CLOEXEC for given file.
21571
21572         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21573
21574         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21575         FD_CLOEXEC for /etc/hosts.
21576         (_gethtent): Likewise.
21577
21578         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21579
21580         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21581         cancellation and set FD_CLOEXEC for /etc/netgroup.
21582
21583         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21584         reading /etc/publickey.
21585
21586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21587         allow cancellation when reading /etc/group.
21588
21589         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21590         cancellation.
21591         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21592
21593         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21594         when using data file.
21595
21596         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21597
21598         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21599         (write_nis_obj): Use "c" and "e" in fopen.
21600
21601         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21602
21603         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21604
21605         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21606
21607         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21608
21609         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21610         locale.alias.
21611
21612         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21613
21614         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21615
21616         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21617
21618         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21619         file parsing and set FD_CLOEXEC.
21620
21621 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21622
21623         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21624
21625 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21626
21627         * malloc/arena.c (arena_get2): Don't call reused_arena when
21628         _int_new_arena failed.
21629
21630 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21631
21632         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21633         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21634         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21635         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21636         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21637         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21638         to compile strcasecmp and strncasecmp.
21639         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21640         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21641
21642         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21643
21644 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21645
21646         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21647         locale-defines.sym to gen-as-const-headers.
21648         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21649         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21651         to compile strcasecmp and strncasecmp.
21652         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21653         strcasecmp_l and strncasecmp_l.
21654         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21655         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21656         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21657         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21658         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21659         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21660         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21661         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21662         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21663         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21664         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21665
21666 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21667
21668         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21669         result of SYSDEP_GETTIME_CPU to retval.
21670         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21671         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21672
21673         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21674         variable.
21675
21676         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21677         mantissa words.
21678         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21679
21680         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21681         from unused variable.
21682
21683         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21684         DWARF definitions.
21685         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21686         for assembling.
21687
21688         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21689         over namespaces.
21690
21691         * sunrpc/rpc_prot.c (rejected): Fix case value.
21692
21693         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21694         unsigned long long int to avoid warnings in shift.
21695
21696         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21697         of use of trans.
21698         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21699         variable tmp.
21700
21701         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21702         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21703         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21704
21705         * nis/nis_table.c (nis_list): Use variable of correct type for
21706         result of __follow_path call.
21707
21708 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21709
21710         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21711         of math functions ceil, trunc, floor, round, and sqrt, when
21712         avaliable on the platform.
21713         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21714         name clash.
21715         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21716         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21717         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21718
21719 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21720
21721         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21722         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21723
21724 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21725
21726         * include/unistd.h: Fix __readlink return type.
21727         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21728
21729 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21730
21731         * stdlib/ucontext.h: Undo last change for makecontext.
21732
21733 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21734
21735         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21736
21737         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21738         * setjmp/setjmp.h: Mark functions as non-leaf.
21739         * setjmp/bits/setjmp2.h: Likewise.
21740         * stdlib/ucontext.h: Likewise.
21741
21742 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21743
21744         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21745         (reused_arena): Don't check arena limit.
21746         (arena_get2): Atomically check arena limit.
21747
21748 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21749
21750         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21751         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21752
21753         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21754         instructions.
21755
21756 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21757
21758         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21759         handler when locking.
21760
21761         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21762         Fix size of allocated buffer.
21763
21764 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21765
21766         [BZ #10103]
21767         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21768         declarations for long double functions.
21769         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21770
21771         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21772
21773 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21774
21775         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21776         installed.
21777
21778         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21779         is disabled.
21780
21781 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21782
21783         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21784
21785 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21786
21787         * include/alloca.h (stackinfo_alloca_round): Define.
21788         (extend_alloca): Use it.
21789         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21790         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21791         here.
21792
21793         * scripts/check-local-headers.sh: Ignore libaudit.h.
21794
21795         * nscd/Makefile (extra-objs): Make recursively expanded.
21796
21797 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21798
21799         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21800         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21801
21802         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21803         * posix/tst-rfc3484-2.c: Likewise.
21804         * posix/tst-rfc3484-3.c: Likewise.
21805
21806         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21807         process_vm_writev.
21808         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21809         process_vm_writev.
21810         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21811         process_vm_writev from libc using GLIBC_2.15 version.
21812
21813         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21814
21815 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21816
21817         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21818         stack usage.
21819
21820 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21821
21822         [BZ #13367]
21823         * nss/getent.c (initgroups_keys): Show error message in case no group
21824         names are given.
21825
21826         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21827         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21828         __bump_nl_timestamp.
21829         * nscd/connections (nscd_init): When host database is served open
21830         netlink socket and request notification about configuration changes.
21831         (main_loop_poll): Track netlink file descriptor and bump timestamp
21832         in case data becomes available.
21833         (main_loop_epoll): Likewise.
21834         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21835         (database_pers_head): Add extra_data fileds.
21836         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21837         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21838         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21839         Adjust caller.
21840         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21841         in6ai data, call __free_in6ai.
21842         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21843         Add -DHAVE_NETLINK.
21844         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21845         interface information.  Reuse previous data if netlink timestamp
21846         is not changed.
21847         (__bump_nl_timestamp): New function.
21848         (__free_in6ai): New function.
21849
21850 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21851
21852         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21853         close_not_cancel_no_status here.
21854         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21855
21856 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21857
21858         [BZ #13276]
21859         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21860         return value.
21861
21862         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21863         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21864         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21865
21866 2011-07-03  Andreas Jaeger  <aj@suse.de>
21867
21868         [BZ #10709]
21869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21870         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21871         * math/libm-test.inc (sin_test): Add test case.
21872
21873 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21874
21875         [BZ #13337]
21876         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21877         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21878
21879         * elf/chroot_canon.c (chroot_canon): Cleanups.
21880
21881         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21882
21883         [BZ #13335]
21884         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21885         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21886
21887         * string/test-strchr.c: Make usable for strchrnul testing.
21888         * string/test-strchrnul.c: New file.
21889         * string/Makefile (strop-tests): Add strchrnul.
21890
21891         * po/it.po: Update from translation team.
21892         * po/es.po: Likewise.
21893
21894 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21895
21896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21897         the three constants needed as parameters.  Drop the others.
21898         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21899         __m128i_strloadu_tolower.
21900         Create and initialize variable zero and use it in all the places
21901         where _mm_setzero_si128 was used.
21902
21903         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21904         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21905         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21906         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21907         anymore.
21908         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21909         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21910         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21911         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21912         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21913         __mpranred, __mptan.
21914         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21915         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21916         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21917         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21918         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21919         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21920         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21921         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21922         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21923
21924 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21925
21926         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21927         redefine if SHARED.
21928         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21929
21930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21931         wide char related routines to wcsmbs subdir.
21932
21933 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21934
21935         [BZ #13344]
21936         * misc/sys/cdefs.h (__THROWNL): Define.
21937         * posix/unistd.h: Use __THREADNL instead of __THREAD
21938         for memory synchronization functions.
21939
21940 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21941
21942         [BZ #13349]
21943         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21944         doesn't exist.
21945         * manual/stdio.texi (Obstack Streams): Node removed.
21946
21947 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21948
21949         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21950         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21951         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21952
21953         * math/math_private.h (math_force_eval): Allow non-addressable
21954         arguments.
21955         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21956
21957 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21958
21959         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21960         file is not needed.
21961
21962         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21964         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21965         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21966         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21967         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21968         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21969         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21970         Add AVX variants.
21971         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21972         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21973         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21974         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21975         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21976         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21977         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21978         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21979         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21980         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21981         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21982         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21983         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21984         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21985         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21986         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21987         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21988         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21989         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21990
21991         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21992         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21993
21994         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21995         place.  Use VEX encoding when compiling for AVX.
21996
21997 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21998
21999         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22000         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22001
22002         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22003
22004 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22005
22006         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22007         useless if() expression.
22008         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22009         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22010         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22011         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22012         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22013         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22014         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22015         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22016         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22017         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22018         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22019         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22020         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22021         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22022         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22023         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22024         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22025         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22026         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22027
22028         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22029
22030 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22031
22032         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22033         condition.
22034         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22035
22036 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22037
22038         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22039         .text section.  Avoid duplicate constants.
22040         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22042         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22045         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22048         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22049         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22050         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22051         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22052         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22053         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22054         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22055         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22056         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22057         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22058         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22059         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22060         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22061         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22062         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22063         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22064         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22065         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22066         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22067         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22068         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22069         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22070         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22071         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22072         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22073         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22074         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22075         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22076         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22077         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22078         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22079         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22080         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22081         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22082         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22083         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22084         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22085
22086 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22087
22088         * sysdeps/x86_64/dla.h: Move to ...
22089         * sysdeps/x86_64/fpu/dla.h: ...here.
22090         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22091         situations.  Use __builtin_fma only for gcc 4.6 and up.
22092
22093         * config.make.in: Add have-mfma4 entry.
22094         * configure.in: Substitute libc_cv_cc_fma4.
22095         * math/Makefile (dbl-only-routines): Add sincostab.
22096         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22097         Use __sincostab not sincos.
22098         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22099         name is a macro.
22100         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22104         using __copysign.
22105         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22106         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22107         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22108         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22109         and __inv.
22110         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22111         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22112         __copysign.
22113         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22114         define aliases when function name is a macro.
22115         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22116         sysdeps/ieee754/dbl-64/sincos.tbl.
22117         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22118         fma4-enabled routines.
22119         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22120         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22121         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22122         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22123         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22124         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22125         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22126         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22127         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22128         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22129         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22130         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22131         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22132         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22133         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22134         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22135         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22136         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22137         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22138         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22139         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22140         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22141         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22142         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22143         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22144         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22145         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22146         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22147         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22148         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22149
22150         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22151         rename.
22152         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22154         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22155         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22156         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22158         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22160
22161 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22162
22163         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22164
22165 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22166
22167         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22168
22169         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22170         prediction.
22171         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22172
22173         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22174         Remove unused variable magic_bits.
22175         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22176
22177         * string/strnlen.c: Define and use STRNLEN macro.
22178         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22179         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22180         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22181         * wcsmbs/wcslen.c: Define and use WCSLEN.
22182         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22183         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22184         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22185         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22186         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22187         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22188         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22189
22190 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22191
22192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22193         strnlen-sse2-no-bsf.
22194         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22195         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22196         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22197         Add strnlen support.
22198         (USE_AS_STRNLEN): New macro.
22199         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22200         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22201         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22202         * sysdeps/x86_64/wcslen.S: New file.
22203
22204 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22205
22206         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22207         XMM-moves are used for copying on small sizes.
22208
22209 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22210
22211         * wcsmbs/Makefile (strop-tests): Add wcschr.
22212         * wcsmbs/test-wcschr.c: New file.
22213         * string/test-strchr.c: Update.
22214         Add wcschr support.
22215         (WIDE): New macro.
22216
22217 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22218
22219         * wcsmbs/Makefile (strop-tests): Add wcslen.
22220         * wcsmbs/test-wcslen.c: New file.
22221         * string/test-strlen.c: Update.
22222         Add wcslen support.
22223         (WIDE): New macro.
22224
22225 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22226
22227         * po/it.po: Update from translation team.
22228
22229 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22230
22231         * sysdeps/x86_64/wcscmp.S: Update.
22232         Fix wrong comparison semantics.
22233         wcscmp shall use signed comparison not unsigned.
22234         Don't use substraction to avoid overflow bug.
22235         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22236         * wcsmbc/wcscmp.c: Likewise.
22237         * string/test-strcmp.c: Likewise.
22238         Add new tests to check cases with negative values.
22239
22240 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22241
22242         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22243         * sysdeps/x86_64/dla.h: ...here.  New file.
22244         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22245         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22249         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22250         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22251         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22252         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22253
22254 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22255
22256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22257         __ynl_finite aliases.
22258
22259 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22260
22261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22262
22263         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22264         define DLA_FMA.
22265         [DLA_FMA] (EMULV): Use DLA_FMA.
22266         [DLA_FMA] (MUL12): Use EMULV.
22267         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22268         that are not needed.
22269         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22271         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22272         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22275         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22276
22277 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22278
22279         * math/s_nan.c: Undef __nan.
22280         * math/s_nanf.c: Undef __nanf.
22281         * math/s_nanl.c: Undef __nanl.
22282         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22283         "math_private.h".
22284
22285 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22286
22287         * math/s_catan.c: Add branch predictions.
22288         * math/s_catanf.c: Likewise.
22289         * math/s_catanh.c: Likewise.
22290         * math/s_catanhf.c: Likewise.
22291         * math/s_catanhl.c: Likewise.
22292         * math/s_catanl.c: Likewise.
22293         * math/s_cexp.c: Likewise.
22294         * math/s_cexpf.c: Likewise.
22295         * math/s_cexpl.c: Likewise.
22296         * math/s_clog.c: Likewise.
22297         * math/s_clog10.c: Likewise.
22298         * math/s_clog10f.c: Likewise.
22299         * math/s_clog10l.c: Likewise.
22300         * math/s_clogf.c: Likewise.
22301         * math/s_clogl.c: Likewise.
22302         * math/s_csqrt.c: Likewise.
22303         * math/s_csqrtf.c: Likewise.
22304         * math/s_csqrtl.c: Likewise.
22305         * math/s_ctanf.c: Likewise.
22306         * math/s_ctanh.c: Likewise.
22307         * math/s_ctanhf.c: Likewise.
22308         * math/s_ctanhl.c: Likewise.
22309         * math/s_ctanl.c: Likewise.
22310
22311         * math/math_private.h: Define __nan, __nanf, __nanl.
22312         * math/s_cacosh.c: Include <math_private.h>.
22313         * math/s_cacoshl.c: Likewise.
22314         * math/s_casinh.c: Likewise.
22315         * math/s_casinhf.c: Likewise.
22316         * math/s_casinhl.c: Likewise.
22317         * math/s_ccos.c: Rely entire on ccosh.
22318         * math/s_ccosf.c: Rely entire on ccoshf.
22319         * math/s_ccosl.c: Rely entirely on ccoshl.
22320         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22321         Remove tests for FE_INVALID.
22322         * math/s_ccoshf.c: Likewise.
22323         * math/s_ccoshl.c: Likewise.
22324         * math/s_csin.c: Likewise.
22325         * math/s_csinf.c: Likewise.
22326         * math/s_csinh.c Likewise.
22327         * math/s_csinhf.c: Likewise.
22328         * math/s_csinhl.c: Likewise.
22329         * math/s_csinl.c: Likewise.
22330         * math/s_ctan.c: Likewise.
22331         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22332         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22333         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22334
22335 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22336
22337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22338         compilation problems.
22339
22340         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22341         __builtin_expect.
22342
22343 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22344
22345         * sysdeps/i386/configure.in: Test for -mfma4 option.
22346         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22347         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22348         COMMON_CPUID_INDEX_80000001.
22349         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22350         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22351         use it if FMA3 is not supported.
22352         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22353
22354         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22355         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22356
22357 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22358
22359         [BZ #12892]
22360         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22361         it would create a cycle with a link time dependency.
22362
22363 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22364
22365         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22366         instruction.
22367         * string/Makefile (strop-tests): Add rawmemchr.
22368         * string/test-rawmemchr.c: New file.
22369
22370         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22371         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22372         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22373         when compiling str{,n}casecmp and when AVX is available.  Hook up
22374         new optimized code in initializers.
22375
22376 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22377
22378         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22379         __feraiseexcept instead of feraiseexcept.
22380
22381 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22382
22383         * math/math_private.h: Define defaults for libc_fetestexcept and
22384         libc_feupdateenv.
22385         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22386         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22387         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22388         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22389         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22390         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22391         libc_fetestexcept and libc_feupdateenv.
22392
22393         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22394         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22395         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22396         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22397         libc_feholdexcept_setround.
22398
22399         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22400         Add s_nearbyint-c and s_nearbyintf-c.
22401         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22402         nearbyintf inlines.
22403         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22404         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22405         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22406         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22407
22408         * math/math_private.h: Define defaults for libc_fegetround,
22409         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22410         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22411         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22412         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22413         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22414         standard functions.
22415         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22416         Remove comments and hacks for old compiler versions.
22417         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22418         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22419         libc_feholdexceptl.
22420
22421 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22422
22423         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22424         (__feraiseexcept_renamed): Add __NTH.
22425         (feraiseexcept): Add __NTH.  Rename local variables to fix
22426         namespace violations.
22427
22428 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22429
22430         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22431
22432         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22433
22434         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22435         recently added interfaces.
22436         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22437
22438         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22439         about macro parameter expansion.
22440
22441         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22442         __NO_MATH_INLINES is defined.  Cleanups.
22443
22444         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22445         and __floorf is target has SSE4.1.
22446         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22447         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22448         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22449         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22450
22451         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22452         name.
22453         (floorf): Likewise.
22454
22455         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22456
22457 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22458
22459         * misc/sys/cdefs.h: Fix last change.
22460
22461         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22462         database lookup.
22463
22464 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22465
22466         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22467
22468         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22469         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22470         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22471         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22472         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22473         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22474         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22475         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22476         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22477         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22478         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22479         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22480         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22481         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22482         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22483         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22484         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22485         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22486         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22487         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22488         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22489         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22490
22491         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22492         ceil, ceilf, floor, floorf.
22493
22494         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22495         Perform IRELATIVE relocations last.
22496
22497         * elf/do-rel.h: Add another parameter nrelative, replacing the
22498         local variable with the same name.  Change name of the function
22499         to end in Rel or Rela (uppercase).
22500         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22501         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22502         elf_dynamic_do_##reloc function.
22503
22504 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22505
22506         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22507         is sufficient, at least on modern CPUs.
22508
22509         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22510
22511         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22512         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22513
22514         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22515         __expl_finite.
22516         * math/bits/math-finite.h: Add entries for exp.
22517         * math/e_expl.c: Add __*_finite alias.
22518         * sysdeps/i386/fpu/e_exp.S: Likewise.
22519         * sysdeps/i386/fpu/e_expf.S: Likewise.
22520         * sysdeps/i386/fpu/e_expl.c: Likewise.
22521         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22522         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22523         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22524         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22525         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22526         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22527         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22528
22529         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22530         is sufficient, at least on modern CPUs.
22531
22532         * ctype/ctype-info.c (__ctype_init): Define.
22533         * include/ctype.h (__ctype_init): Declare.
22534         (__ctype_b_loc): The variable is always initialized.
22535         (__ctype_toupper_loc): Likewise.
22536         (__ctype_tolower_loc): Likewise.
22537         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22538         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22539
22540 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22541
22542         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22543
22544         * configure.in: Also look in $cxxmachine/include for C++ system
22545         headers.
22546
22547 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22548
22549         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22550         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22551         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22552         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22553         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22554         (USE_AS_WMEMCMP): New macro.
22555         Fixing indents.
22556         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22557         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22558         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22559         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22560         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22561         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22562         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22563         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22564         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22565         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22566         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22567         (USE_AS_WMEMCMP): New macro.
22568         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22569         * sysdeps/string/test-memcmp.c: Update.
22570         Fix simple_wmemcmp.
22571         Add new tests.
22572         * wcsmbs/wmemcmp.c: Update.
22573         (WMEMCMP): New macro.
22574         Fix overflow bug.
22575
22576 2011-10-12  Andreas Jaeger  <aj@suse.de>
22577
22578         [BZ #13268]
22579         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22580
22581 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22582
22583         * libio/iofwide.c (do_length): Avoid warning.
22584
22585         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22586
22587 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22588
22589         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22590
22591         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22592         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22593         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22594         * sysdeps/i386/i686/fpu/e_log.S: New file.
22595         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22596         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22597
22598         * ctype/ctype.h: Add support for inlined isXXX functions when
22599         compiling C++ code.
22600
22601 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22602
22603         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22604
22605         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22606
22607 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22608
22609         [BZ #13291]
22610         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22611
22612 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22613
22614         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22615         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22616         feraiseexcept.
22617
22618         * sysdeps/x86_64/memrchr.S: Check for zero size.
22619
22620         * string/stratcliff.c: Add memrchr tests.
22621
22622 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22623
22624         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22625         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22626         rawmemchr-sse2 rawmemchr-sse2-bsf.
22627         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22628         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22629         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22630         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22631         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22632         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22633         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22634         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22635         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22636         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22637         * string/memrchr.c (MEMRCHR): New macro.
22638
22639 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22640
22641         Add integration with gcc's -ffinite-math-only and optimize wrapper
22642         functions in libm.
22643         * Versions.def: Define GLIBC_2.15 version for libm.
22644         * math/Makefile (headers): Add bits/math-finite.h.
22645         * math/bits/math-finite.h: New file.
22646         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22647         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22648         * math/e_acoshl.c: Add __*_finite alias.
22649         * math/e_acosl.c: Likewise.
22650         * math/e_asinl.c: Likewise.
22651         * math/e_atan2l.c: Likewise.
22652         * math/e_atanhl.c: Likewise.
22653         * math/e_coshl.c: Likewise.
22654         * math/e_exp10.c: Likewise.
22655         * math/e_exp10f.c: Likewise.
22656         * math/e_exp10l.c: Likewise.
22657         * math/e_exp2l.c: Likewise.
22658         * math/e_fmodl.c: Likewise.
22659         * math/e_gammal_r.c: Likewise.
22660         * math/e_hypotl.c: Likewise.
22661         * math/e_j0l.c: Likewise.
22662         * math/e_j1l.c: Likewise.
22663         * math/e_jnl.c: Likewise.
22664         * math/e_lgammal_r.c: Likewise.
22665         * math/e_log10l.c: Likewise.
22666         * math/e_log2l.c: Likewise.
22667         * math/e_logl.c: Likewise.
22668         * math/e_powl.c: Likewise.
22669         * math/e_sinhl.c: Likewise.
22670         * math/e_sqrtl.c: Likewise.
22671         * math/e_scalb.c: Completely rewritten and optimized.
22672         * math/e_scalbf.c: Likewise.
22673         * math/e_scalbl.c: Likewise.
22674         * math/w_acos.c: Likewise.
22675         * math/w_acosf.c: Likewise.
22676         * math/w_acosl.c: Likewise.
22677         * math/w_acosh.c: Likewise.
22678         * math/w_acoshf.c: Likewise.
22679         * math/w_acoshl.c: Likewise.
22680         * math/w_asin.c: Likewise.
22681         * math/w_asinf.c: Likewise.
22682         * math/w_asinl.c: Likewise.
22683         * math/w_atan2.c: Likewise.
22684         * math/w_atan2f.c: Likewise.
22685         * math/w_atan2l.c: Likewise.
22686         * math/w_atanh.c: Likewise.
22687         * math/w_atanhf.c: Likewise.
22688         * math/w_atanhl.c: Likewise.
22689         * math/w_exp10.c: Likewise.
22690         * math/w_exp10f.c: Likewise.
22691         * math/w_exp10l.c: Likewise.
22692         * math/w_fmod.c: Likewise.
22693         * math/w_fmodf.c: Likewise.
22694         * math/w_fmodl.c: Likewise.
22695         * math/w_j0.c: Likewise.
22696         * math/w_j0f.c: Likewise.
22697         * math/w_j0l.c: Likewise.
22698         * math/w_j1.c: Likewise.
22699         * math/w_j1f.c: Likewise.
22700         * math/w_j1l.c: Likewise.
22701         * math/w_jn.c: Likewise.
22702         * math/w_jnf.c: Likewise.
22703         * math/w_log.c: Likewise.
22704         * math/w_logf.c: Likewise.
22705         * math/w_logl.c: Likewise.
22706         * math/w_log10.c: Likewise.
22707         * math/w_log10f.c: Likewise.
22708         * math/w_log10l.c: Likewise.
22709         * math/w_log2.c: Likewise.
22710         * math/w_log2f.c: Likewise.
22711         * math/w_log2l.c: Likewise.
22712         * math/w_pow.c: Likewise.
22713         * math/w_powf.c: Likewise.
22714         * math/w_powl.c: Likewise.
22715         * math/w_remainder.c: Likewise.
22716         * math/w_remainderf.c: Likewise.
22717         * math/w_remainderl.c: Likewise.
22718         * math/w_scalb.c: Likewise.
22719         * math/w_scalbf.c: Likewise.
22720         * math/w_scalbl.c: Likewise.
22721         * math/w_sqrt.c: Likewise.
22722         * math/w_sqrtf.c: Likewise.
22723         * math/w_sqrtl.c: Likewise.
22724         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22725         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22726         used.
22727         * math/math_private.h: Declare __kernel_standard_f.
22728         * math/w_cosh.c: Remove cruft and optimize a bit.
22729         * math/w_coshf.c: Likewise.
22730         * math/w_coshl.c: Likewise.
22731         * math/w_exp2.c: Likewise.
22732         * math/w_exp2f.c: Likewise.
22733         * math/w_exp2l.c: Likewise.
22734         * math/w_hypot.c: Likewise.
22735         * math/w_hypotf.c: Likewise.
22736         * math/w_hypotl.c: Likewise.
22737         * math/w_lgamma.c: Likewise.
22738         * math/w_lgamma_r.c: Likewise.
22739         * math/w_lgammaf.c: Likewise.
22740         * math/w_lgammaf_r.c: Likewise.
22741         * math/w_lgammal.c: Likewise.
22742         * math/w_lgammal_r.c: Likewise.
22743         * math/w_sinh.c: Likewise.
22744         * math/w_sinhf.c: Likewise.
22745         * math/w_sinhl.c: Likewise.
22746         * math/w_tgamma.c: Likewise.
22747         * math/w_tgammaf.c: Likewise.
22748         * math/w_tgammal.c: Likewise.
22749         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22750         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22751         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22752         Minor optimizations.  Pretty printing.  Remove cruft.
22753         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22754         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22755         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22756         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22757         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22758         * sysdeps/i386/fpu/e_asin.S: Likewise.
22759         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22760         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22761         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22762         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22763         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22764         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22765         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22766         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22767         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22768         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22769         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22770         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22771         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22772         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22773         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22774         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22775         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22776         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22777         * sysdeps/i386/fpu/e_log.S: Likewise.
22778         * sysdeps/i386/fpu/e_log10.S: Likewise.
22779         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22780         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22781         * sysdeps/i386/fpu/e_log2.S: Likewise.
22782         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22783         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22784         * sysdeps/i386/fpu/e_logf.S: Likewise.
22785         * sysdeps/i386/fpu/e_logl.S: Likewise.
22786         * sysdeps/i386/fpu/e_pow.S: Likewise.
22787         * sysdeps/i386/fpu/e_powf.S: Likewise.
22788         * sysdeps/i386/fpu/e_powl.S: Likewise.
22789         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22790         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22791         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22792         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22793         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22794         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22795         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22796         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22797         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22799         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22801         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22806         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22807         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22808         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22809         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22810         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22811         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22812         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22813         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22814         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22815         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22816         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22818         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22819         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22820         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22821         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22822         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22823         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22824         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22825         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22826         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22827         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22828         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22829         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22830         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22831         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22832         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22833         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22834         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22835         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22836         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22837         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22838         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22839         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22840         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22841         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22842         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22843         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22844         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22845         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22846         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22847         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22848         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22849         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22850         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22851         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22853         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22854         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22855         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22856         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22857         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22858         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22859         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22860         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22861         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22862         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22863         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22864         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22865         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22866         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22867         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22868         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22869         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22870         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22871         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22872         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22873         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22874         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22875         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22876         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22877         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22878         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22879         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22880         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22881         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22882         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22883         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22884         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22885         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22886         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22887         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22888         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22889         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22890         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22891         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22892         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22893         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22894         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22895         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22896         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22897         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22898         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22899         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22900         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22901         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22902         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22903         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22904         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22905         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22906         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22907         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22908         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22909         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22910         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22911         (__isnanf): Likewise.
22912         (__isinf_ns): Likewise.
22913         (__isinf_nsf): Likewise.
22914         (__finite): Likewise.
22915         (__finitef): Likewise.
22916         (__ieee754_sqrt): Define as macro.
22917         (__ieee754_sqrtf): Define as macro.
22918         (__ieee754_sqrtl): Define as macro.
22919         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22920         inlined copy.
22921         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22922         __FINITE_MATH_ONLY__ consistent.
22923         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22924
22925 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22926
22927         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22928         of rawmemchr.
22929
22930         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22931
22932 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22933
22934         * po/ja.po: Update from translation team.
22935
22936 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22937
22938         * locale/programs/locarchive.c (prepare_address_space): New function.
22939         (create_archive, enlarge_archive, open_archive): Use it.
22940
22941         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22942         inside [SHARED], where it is used.
22943
22944         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22945
22946         * nss/getent.c (netgroup_keys): Remove unused variable.
22947         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22948
22949 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22950
22951         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22952         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22954         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22955         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22956         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22957         * math/Makefile (libm-calls): Add s_isinf_ns.
22958         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22959         * math/multc3.c: Likewise.
22960         * math/s_casin.c: Likewise.
22961         * math/s_casinf.c: Likewise.
22962         * math/s_casinl.c: Likewise.
22963         * math/s_ccos.c: Likewise.
22964         * math/s_ccosf.c: Likewise.
22965         * math/s_ccosl.c: Likewise.
22966         * math/s_ctan.c: Likewise.
22967         * math/s_ctanf.c: Likewise.
22968         * math/s_ctanh.c: Likewise.
22969         * math/s_ctanhf.c: Likewise.
22970         * math/s_ctanhl.c: Likewise.
22971         * math/s_ctanl.c: Likewise.
22972         * math/w_fmod.c: Likewise.
22973         * math/w_fmodf.c: Likewise.
22974         * math/w_fmodl.c: Likewise.
22975         * math/w_remainder.c: Likewise.
22976         * math/w_remainderf.c: Likewise.
22977         * math/w_remainderl.c: Likewise.
22978         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22979         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22980         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22981         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22982         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22983         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22984         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22985         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22986
22987         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22988         of the number.
22989         * stdio-common/printf_fphex.c: Likewise.
22990         * stdio-common/printf_size.c: Likewise.
22991
22992         * math/e_exp10.c: Include math_private.h using <...> not "...".
22993         * math/e_exp10f.c: Likewise.
22994         * math/e_exp10l.c: Likewise.
22995         * math/e_exp2l.c: Likewise.
22996         * math/e_j0l.c: Likewise.
22997         * math/e_j1l.c: Likewise.
22998         * math/e_jnl.c: Likewise.
22999         * math/e_lgammal_r.c: Likewise.
23000         * math/e_rem_pio2l.c: Likewise.
23001         * math/e_scalb.c: Likewise.
23002         * math/e_scalbf.c: Likewise.
23003         * math/e_scalbl.c: Likewise.
23004         * math/k_cosl.c: Likewise.
23005         * math/k_sinl.c: Likewise.
23006         * math/k_tanl.c: Likewise.
23007         * math/s_cacoshf.c: Likewise.
23008         * math/s_catan.c: Likewise.
23009         * math/s_catanf.c: Likewise.
23010         * math/s_catanh.c: Likewise.
23011         * math/s_catanhf.c: Likewise.
23012         * math/s_catanhl.c: Likewise.
23013         * math/s_catanl.c: Likewise.
23014         * math/s_ccosh.c: Likewise.
23015         * math/s_ccoshf.c: Likewise.
23016         * math/s_ccoshl.c: Likewise.
23017         * math/s_cexp.c: Likewise.
23018         * math/s_cexpf.c: Likewise.
23019         * math/s_cexpl.c: Likewise.
23020         * math/s_clog.c: Likewise.
23021         * math/s_clog10.c: Likewise.
23022         * math/s_clog10f.c: Likewise.
23023         * math/s_clog10l.c: Likewise.
23024         * math/s_clogf.c: Likewise.
23025         * math/s_clogl.c: Likewise.
23026         * math/s_csin.c: Likewise.
23027         * math/s_csinf.c: Likewise.
23028         * math/s_csinh.c: Likewise.
23029         * math/s_csinhf.c: Likewise.
23030         * math/s_csinhl.c: Likewise.
23031         * math/s_csinl.c: Likewise.
23032         * math/s_csqrt.c: Likewise.
23033         * math/s_csqrtf.c: Likewise.
23034         * math/s_csqrtl.c: Likewise.
23035         * math/s_ctan.c: Likewise.
23036         * math/s_ctanf.c: Likewise.
23037         * math/s_ctanh.c: Likewise.
23038         * math/s_ctanhf.c: Likewise.
23039         * math/s_ctanhl.c: Likewise.
23040         * math/s_ctanl.c: Likewise.
23041         * math/s_ldexp.c: Likewise.
23042         * math/s_ldexpf.c: Likewise.
23043         * math/s_ldexpl.c: Likewise.
23044         * math/s_significand.c: Likewise.
23045         * math/s_significandf.c: Likewise.
23046         * math/s_significandl.c: Likewise.
23047         * math/w_acos.c: Likewise.
23048         * math/w_acosf.c: Likewise.
23049         * math/w_acosh.c: Likewise.
23050         * math/w_acoshf.c: Likewise.
23051         * math/w_acoshl.c: Likewise.
23052         * math/w_acosl.c: Likewise.
23053         * math/w_asin.c: Likewise.
23054         * math/w_asinf.c: Likewise.
23055         * math/w_asinl.c: Likewise.
23056         * math/w_atan2.c: Likewise.
23057         * math/w_atan2f.c: Likewise.
23058         * math/w_atan2l.c: Likewise.
23059         * math/w_atanh.c: Likewise.
23060         * math/w_atanhf.c: Likewise.
23061         * math/w_atanhl.c: Likewise.
23062         * math/w_cosh.c: Likewise.
23063         * math/w_coshf.c: Likewise.
23064         * math/w_coshl.c: Likewise.
23065         * math/w_dremf.c: Likewise.
23066         * math/w_exp10.c: Likewise.
23067         * math/w_exp10f.c: Likewise.
23068         * math/w_exp10l.c: Likewise.
23069         * math/w_exp2.c: Likewise.
23070         * math/w_exp2f.c: Likewise.
23071         * math/w_fmod.c: Likewise.
23072         * math/w_fmodf.c: Likewise.
23073         * math/w_fmodl.c: Likewise.
23074         * math/w_hypot.c: Likewise.
23075         * math/w_hypotf.c: Likewise.
23076         * math/w_hypotl.c: Likewise.
23077         * math/w_j0.c: Likewise.
23078         * math/w_j0f.c: Likewise.
23079         * math/w_j0l.c: Likewise.
23080         * math/w_j1.c: Likewise.
23081         * math/w_j1f.c: Likewise.
23082         * math/w_j1l.c: Likewise.
23083         * math/w_jn.c: Likewise.
23084         * math/w_jnf.c: Likewise.
23085         * math/w_jnl.c: Likewise.
23086         * math/w_lgamma.c: Likewise.
23087         * math/w_lgamma_r.c: Likewise.
23088         * math/w_lgammaf.c: Likewise.
23089         * math/w_lgammaf_r.c: Likewise.
23090         * math/w_lgammal.c: Likewise.
23091         * math/w_lgammal_r.c: Likewise.
23092         * math/w_log.c: Likewise.
23093         * math/w_log10.c: Likewise.
23094         * math/w_log10f.c: Likewise.
23095         * math/w_log10l.c: Likewise.
23096         * math/w_log2.c: Likewise.
23097         * math/w_log2f.c: Likewise.
23098         * math/w_log2l.c: Likewise.
23099         * math/w_logf.c: Likewise.
23100         * math/w_logl.c: Likewise.
23101         * math/w_pow.c: Likewise.
23102         * math/w_powf.c: Likewise.
23103         * math/w_powl.c: Likewise.
23104         * math/w_remainder.c: Likewise.
23105         * math/w_remainderf.c: Likewise.
23106         * math/w_remainderl.c: Likewise.
23107         * math/w_scalb.c: Likewise.
23108         * math/w_scalbf.c: Likewise.
23109         * math/w_scalbl.c: Likewise.
23110         * math/w_sinh.c: Likewise.
23111         * math/w_sinhf.c: Likewise.
23112         * math/w_sinhl.c: Likewise.
23113         * math/w_sqrt.c: Likewise.
23114         * math/w_sqrtf.c: Likewise.
23115         * math/w_sqrtl.c: Likewise.
23116         * math/w_tgamma.c: Likewise.
23117         * math/w_tgammaf.c: Likewise.
23118         * math/w_tgammal.c: Likewise.
23119
23120         * po/ja.po: Update from translation team.
23121
23122 2011-09-29  Andreas Jaeger  <aj@suse.de>
23123
23124         [BZ #13179]
23125         * sunrpc/netname.c (netname2host): Fix logic.
23126
23127         [BZ #6779]
23128         [BZ #6783]
23129         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23130         correctly.
23131         * math/w_remainder.c (__remainder): Likewise.
23132         * math/w_remainderf.c (__remainderf): Likewise.
23133         * math/libm-test.inc (remainder_test): Add test cases.
23134
23135 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23136
23137         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23138         sdiv_qrnnd.
23139
23140 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23141
23142         * string/test-memcmp.c: Avoid unncessary #defines.
23143         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23144
23145 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23146
23147         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23148         Use new sse2 version for core i3 - i7 as it's faster
23149         than sse42 version.
23150         (bit_Prefer_PMINUB_for_stringop): New.
23151         * sysdeps/x86_64/rawmemchr.S: Update.
23152         Replace with faster SSE2 version.
23153         * sysdeps/x86_64/memrchr.S: New file.
23154         * sysdeps/x86_64/memchr.S: Update.
23155         Replace with faster SSE2 version.
23156
23157 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23158
23159         * elf/dl-load.c (lose): Add cast to avoid warning.
23160
23161 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23162
23163         * po/ca.po: Update from translation team.
23164
23165         * inet/getnetgrent_r.c: Hook up nscd.
23166         * nscd/Makefile (routines): Add nscd_netgroup.
23167         (nscd-modules): Add netgroupcache.
23168         (CFLAGS-netgroupcache.c): Define.
23169         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23170         (cache_search): Add const to second parameter.
23171         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23172         INNETGR.
23173         (dbs): Add netgrdb entry.
23174         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23175         (verify_persistent_db): Handle netgrdb.
23176         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23177         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23178         GETFDNETGR.
23179         (netgroup_response_header): Define.
23180         (innetgroup_response_header): Define.
23181         (datahead): Add netgroup_response_header and innetgroup_response_header
23182         elements.
23183         * nscd/nscd.conf: Add entries for netgroup cache.
23184         * nscd/nscd.h (dbtype): Add netgrdb.
23185         (_PATH_NSCD_NETGROUP_DB): Define.
23186         (netgroup_iov_disabled): Declare.
23187         (xmalloc, xcalloc, xrealloc): Move declarations here.
23188         (cache_search): Adjust prototype.
23189         Add netgroup-related prototypes.
23190         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23191         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23192         (__nscd_innetgr): Declare.
23193         * nscd/selinux.c (perms): Use access_vector_t as element type and
23194         add netgroup-related initializers.
23195         * nscd/netgroupcache.c: New file.
23196         * nscd/nscd_netgroup.c: New file.
23197         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23198         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23199         For four parameters use innetgr.
23200         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23201         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23202         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23203         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23204
23205         * nscd/connections.c (register_traced_file): Don't register file
23206         for disabled databases.
23207
23208 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23209
23210         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23211
23212         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23213         from tree and freeing node.
23214
23215 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23216
23217         * nss/nsswitch.c (__nss_database_lookup): Handle
23218         nss_parse_service_list out of memory case.
23219
23220 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23221
23222         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23223         out of memory case.
23224
23225 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23226
23227         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23228         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23229         pass it down.
23230         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23231         elf_machine_rela, elf_machine_lazy_rel.
23232         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23233         (ELF_DYNAMIC_DO_REL): Likewise.
23234         (ELF_DYNAMIC_DO_RELA): Likewise.
23235         (ELF_DYNAMIC_RELOCATE): Likewise.
23236         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23237         to ELF_DYNAMIC_DO_REL.
23238         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23239         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23240         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23241         elf_machine_rela.
23242         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23243         skip_ifunc, don't call ifunc function if non-zero.
23244         (elf_machine_rela): Likewise.
23245         (elf_machine_lazy_rel): Likewise.
23246         (elf_machine_lazy_rela): Likewise.
23247         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23248         (elf_machine_lazy_rel): Likewise.
23249         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23250         Likewise.
23251         (elf_machine_lazy_rel): Likewise.
23252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23253         Likewise.
23254         (elf_machine_lazy_rel): Likewise.
23255         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23256         (elf_machine_lazy_rel): Likewise.
23257         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23258         (elf_machine_lazy_rel): Likewise.
23259         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23260         (elf_machine_lazy_rel): Likewise.
23261         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23262         (elf_machine_lazy_rel): Likewise.
23263         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23264         (elf_machine_lazy_rel): Likewise.
23265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23266         (elf_machine_lazy_rel): Likewise.
23267
23268 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23269
23270         * nss/nss_files/files-init.c (_nss_files_init): Use static
23271         initialization for all the *_traced_file variables.
23272
23273 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23274
23275         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23276
23277 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23278
23279         [BZ #13226]
23280         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23281
23282 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23283
23284         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23285         Reread the line before reparsing it.
23286
23287 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23288
23289         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23290
23291 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23292             Maxim Kuvyrkov  <maxim@codesourcery.com>
23293             Joseph Myers  <joseph@codesourcery.com>
23294
23295         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23296         if needed for __stack_chk_guard.
23297
23298 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23299
23300         * sysdeps/posix/spawni.c (script_execute): Always define it.
23301         It will be optimized away if unused.
23302         (maybe_script_execute): New function.
23303         (__spawni): Call it.
23304
23305         * Makerules: Don't include tls.make.
23306         (config-tls): Always set to thread.
23307         * tls.make.c: File removed.
23308
23309 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23310
23311         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23312         * config.make.in (CPPFLAGS-config): New substituted variable.
23313
23314 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23315
23316         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23317
23318         [BZ #13192]
23319         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23320         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23321
23322 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23323
23324         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23325         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23326         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23327         (CALL_FAIL): Likewise.
23328         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23329         (CALL_FAIL): Macro removed.
23330         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23331
23332 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23333
23334         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23335         for __FINITE_MATH_ONLY__ == 1.
23336
23337 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23338
23339         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23340         __ieee754_sqrt instead of sqrt.
23341         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23342         __ieee754_sqrtf instead of sqrtf.
23343         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23344         __floorf instead of floorf.
23345         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23346         __floorf, __truncf instead of floorf, truncf.
23347
23348 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23349
23350         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23351
23352         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23353         __extern_always_inline.
23354         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23355         32-bit.
23356
23357 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23358
23359         * elf/rtld.c (dl_main): Also relocate in dependency order when
23360         doing symbol dependency testing.
23361
23362 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23363
23364         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23365         Always define `refsym'.
23366
23367 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23368
23369         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23370         (__FD_ELT): Renamed from __FDELT.
23371         * misc/bits/select2.h (__FD_ELT): Likewise.
23372         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23373         __FD_MASK instead of __FDELT, __FDMASK.
23374         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23375         Likewise.
23376         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23377         Likewise.
23378
23379         * elf/Makefile (gen-ldd): Fix pattern.
23380
23381         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23382         (init_tls): Likewise.
23383
23384 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23385
23386         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23387
23388 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23389
23390         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23391         `struct cmsghdr *' instead of `void *'.
23392         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23393         Likewise.
23394
23395 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23396
23397         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23398         if non-absolute.
23399         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23400         ldd_rewrite_script.
23401
23402 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23403
23404         * configure.in: Remove --with-tls option.
23405         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23406         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23407         out in case it is missing.
23408         * sysdeps/ia64/elf/configure.in: Likewise.
23409         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23410         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23411         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23412         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23413         * sysdeps/sh/elf/configure.in: Likewise.
23414         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23415         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23416         * sysdeps/x86_64/elf/configure.in: Likewise.
23417         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23418         * sysdeps/mach/hurd/tls.h: Likewise.
23419
23420         [BZ #13067]
23421         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23422
23423         [BZ #13090]
23424         * configure.in: Fix use of AC_INIT.
23425
23426         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23427
23428 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23429
23430         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23431         __set_errno.
23432         * malloc/hooks.c: Likewise.
23433
23434         [BZ #11929]
23435         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23436         variables statically.
23437         (narenas): Initialize.
23438         (list_lock): Initialize.
23439         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23440         initializtion of main_arena and list_lock.  Small cleanups.
23441         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23442         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23443         Add initializers to main_arena and mp_.
23444         (malloc_state): Remove pagesize member.  Change all users to use
23445         GLRO(dl_pagesize).
23446
23447         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23448         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23449         is always initialized.
23450
23451         * malloc/malloc.c: Removed unused configurations and dead code.
23452         * malloc/arena.c: Likewise.
23453         * malloc/hooks.c: Likewise.
23454         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23455
23456         * include/tls.h: Removed.  USE___THREAD must always be defined.
23457         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23458         * elf/dl-libc.c: Likewise.
23459         * elf/dl-tsd.c: Likewise.
23460         * include/errno.h: Likewise.
23461         * include/netdb.h: Likewise.
23462         * include/resolv.h: Likewise.
23463         * inet/herrno-loc.c: Likewise.
23464         * inet/herrno.c: Likewise.
23465         * malloc/arena.c: Likewise.
23466         * malloc/hooks.c: Likewise.
23467         * malloc/malloc.c: Likewise.
23468         * resolv/res-state.c: Likewise.
23469         * resolv/res_libc.c: Likewise.
23470         * sysdeps/i386/dl-machine.h: Likewise.
23471         * sysdeps/ia64/dl-machine.h: Likewise.
23472         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23473         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23474         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23475         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23476         * sysdeps/sh/dl-machine.h: Likewise.
23477         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23478         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23479         * sysdeps/unix/i386/sysdep.S: Likewise.
23480         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23481         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23486         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23487         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23490         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23491         * sysdeps/x86_64/dl-machine.h: Likewise.
23492         * tls.make.c: Likewise.
23493
23494         * configure.in: Remove --with-__thread option.  Make tests for
23495         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23496         tls_model attribute fail if no support is available.  Remove
23497         USE_IN_LIBIO.
23498         * Makeconfig: Adjust for dropped configure option.  All features are
23499         now mandatory.
23500         * Makerules: Likewise.
23501         * Versions.def: Likewise.
23502         * argp/argp-fmtstream.c: Likewise.
23503         * argp/argp-fmtstream.h: Likewise.
23504         * argp/argp-help.c: Likewise.
23505         * assert/assert.c: Likewise.
23506         * config.h.in: Likewise.
23507         * config.make.in: Likewise.
23508         * configure: Likewise.
23509         * configure.in: Likewise.
23510         * csu/Versions: Likewise.
23511         * csu/init.c: Likewise.
23512         * elf/tst-audit2.c: Likewise.
23513         * elf/tst-tls10.c: Likewise.
23514         * elf/tst-tls10.h: Likewise.
23515         * elf/tst-tls11.c: Likewise.
23516         * elf/tst-tls12.c: Likewise.
23517         * elf/tst-tls14.c: Likewise.
23518         * elf/tst-tlsmod11.c: Likewise.
23519         * elf/tst-tlsmod12.c: Likewise.
23520         * elf/tst-tlsmod13.c: Likewise.
23521         * elf/tst-tlsmod13a.c: Likewise.
23522         * elf/tst-tlsmod14a.c: Likewise.
23523         * elf/tst-tlsmod15b.c: Likewise.
23524         * elf/tst-tlsmod16a.c: Likewise.
23525         * elf/tst-tlsmod16b.c: Likewise.
23526         * elf/tst-tlsmod7.c: Likewise.
23527         * elf/tst-tlsmod8.c: Likewise.
23528         * elf/tst-tlsmod9.c: Likewise.
23529         * gmon/gmon.c: Likewise.
23530         * grp/fgetgrent_r.c: Likewise.
23531         * grp/putgrent.c: Likewise.
23532         * hurd/fopenport.c: Likewise.
23533         * include/libc-symbols.h: Likewise.
23534         * include/tls.h: Likewise.
23535         * intl/gettextP.h: Likewise.
23536         * intl/loadinfo.h: Likewise.
23537         * locale/global-locale.c: Likewise.
23538         * locale/localeinfo.h: Likewise.
23539         * mach/devstream.c: Likewise.
23540         * malloc/arena.c: Likewise.
23541         * malloc/set-freeres.c: Likewise.
23542         * misc/err.c: Likewise.
23543         * misc/getttyent.c: Likewise.
23544         * misc/mntent_r.c: Likewise.
23545         * posix/getopt.c: Likewise.
23546         * posix/wordexp.c: Likewise.
23547         * pwd/fgetpwent_r.c: Likewise.
23548         * resolv/Versions: Likewise.
23549         * resolv/res_hconf.c: Likewise.
23550         * shadow/fgetspent_r.c: Likewise.
23551         * shadow/putspent.c: Likewise.
23552         * stdio-common/printf_fphex.c: Likewise.
23553         * stdio-common/tmpfile.c: Likewise.
23554         * stdlib/abort.c: Likewise.
23555         * stdlib/fmtmsg.c: Likewise.
23556         * sunrpc/auth_unix.c: Likewise.
23557         * sunrpc/clnt_perr.c: Likewise.
23558         * sunrpc/clnt_tcp.c: Likewise.
23559         * sunrpc/clnt_udp.c: Likewise.
23560         * sunrpc/clnt_unix.c: Likewise.
23561         * sunrpc/openchild.c: Likewise.
23562         * sunrpc/svc_simple.c: Likewise.
23563         * sunrpc/svc_tcp.c: Likewise.
23564         * sunrpc/svc_udp.c: Likewise.
23565         * sunrpc/svc_unix.c: Likewise.
23566         * sunrpc/xdr.c: Likewise.
23567         * sunrpc/xdr_array.c: Likewise.
23568         * sunrpc/xdr_rec.c: Likewise.
23569         * sunrpc/xdr_ref.c: Likewise.
23570         * sunrpc/xdr_stdio.c: Likewise.
23571
23572 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23573
23574         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23575
23576 2011-07-03  Andreas Jaeger  <aj@suse.de>
23577
23578         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23579         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23580         regenerate with gen-libm-tests.pl.
23581
23582 2010-05-12  Petr Baudis  <pasky@suse.cz>
23583
23584         [BZ #11589]
23585         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23586         around j0() zero points by switching to j1().
23587         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23588         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23590         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23591
23592 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23593
23594         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23595         instead of 0.
23596         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23597         instead of 0.
23598         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23599         Patch in part by Pavel Roskin <proski@gnu.org>.
23600
23601         [BZ #13138]
23602         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23603         realloc.
23604         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23605         Free memory block if necessary.
23606
23607         [BZ #12847]
23608         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23609         be NULL.  Don't lock in this case.
23610
23611 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23612
23613         * elf/elf.h (ELFOSABI_GNU): New macro.
23614         (ELFOSABI_LINUX): Define to that.
23615
23616 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23617
23618         * string/strncat.c (strncat): Undef the symbol in case it has been
23619         defined in bits/string.h.
23620
23621 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23622
23623         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23624
23625         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23626         link map.
23627
23628 2011-08-17  Andreas Jaeger  <aj@suse.de>
23629
23630         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23631
23632 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23633             Ian Lance Taylor  <iant@google.com>
23634
23635         * math/libm-test.inc (lround_test): New testcase.
23636         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23637
23638 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23639
23640         * Makefile: Remove support for automatic cvs check-ins.
23641         * Makerules: Likewise.
23642         * config.make.in: Likewise.
23643         * configure.in: Likewise.
23644         * intl/Makefile: Likewise.
23645         * locale/Makefile: Likewise.
23646         * po/Makefile: Likewise.
23647         * posix/Makefile: Likewise.
23648         * sysdeps/gnu/Makefile: Likewise.
23649         * sysdeps/mach/hurd/Makefile: Likewise.
23650         * sysdeps/sparc/sparc32/Makefile: Likewise.
23651
23652         [BZ #13118]
23653         * posix/Makefile (bug-regex32-ENV): Define.
23654         Patch by John Stanley <jpsinthemix@verizon.net>.
23655
23656         * misc/Makefile (headers): Add bits/select2.h.
23657         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23658         * misc/bits/select2.h: New file.
23659         * include/bits/select2.h: New file.
23660         * debug/Makefile (routines): Add fdelt_chk.
23661         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23662         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23663         FD_ISSET.
23664         * debug/fdelt_chk.c: New file.
23665
23666         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23667         * wcsmbs/test-wmemcmp.c: Likewise.
23668         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23669         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23670
23671 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23672
23673         * string/Makefile (strop-tests): Add memcmp.
23674         * string/test-wmemcmp.c: New file.
23675         * string/test-memcmp.c: Add wmemcmp support.
23676
23677 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23678
23679         [BZ #13153]
23680         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23681         2011-07-19 change.
23682
23683         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23684         garbage value in a __mach_port_mod_refs call in the cases of the
23685         task-self and thread-self ports.
23686
23687 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23688
23689         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23690
23691 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23692
23693         * elf/dl-load.c (lose): Check for non-null L.
23694
23695 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23696
23697         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23698
23699         * elf/dl-libc.c (dlerror_run): Pass back error code from
23700         dl_catch_error.
23701
23702         [BZ #13123]
23703         * elf/dl-load.c (lose): Free l_origin if it is valid.
23704
23705         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23706         names.
23707         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23708         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23709         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23710         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23711         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23712         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23713
23714 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23715
23716         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23717         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23718         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23719         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23720         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23721         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23722         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23723         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23724         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23725         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23726
23727 2011-08-15  Alan Modra  <amodra@gmail.com>
23728
23729         [BZ #13092]
23730         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23731         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23732         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23733         ppc_mcount to static-only-routines.
23734         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23735         __mcount_internal.
23736         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23737         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23738
23739 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23740
23741         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23742         for finite and infinity parameters.
23743
23744 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23745
23746         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23747         and add nop instructions for throughput optimization.
23748         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23749
23750 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23751
23752         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23753         aligned copy for power7 with vector-scalar instructions.
23754         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23755
23756 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23757
23758         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23759         AVX check.
23760
23761 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23762
23763         [BZ #13144]
23764         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23765         last change.
23766
23767 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23768
23769         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23770         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23771         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23772         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23773         clock_gettime.
23774
23775 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23776
23777         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23778         Forgot to demangle the pointer.
23779
23780         * sysdeps/i386/sysdep.h: Define atom_text_section.
23781         * sysdeps/x86_64/sysdep.h: Likewise.
23782         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23783         section with atom_text_section.
23784         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23785         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23786         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23787         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23788         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23789
23790         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23791         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23792         already be defined.  Change to take two parameters and don't assign
23793         result to variable.  Adjust all users.
23794         Define INTERNAL_GETTIME if not already defined.
23795         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23796         call.
23797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23798         HAVE_CLOCK_GETTIME_VSYSCALL.
23799         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23800
23801         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23802         gettimeofday vsyscall, just use time.
23803
23804 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23805
23806         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23807         <errno.h>.
23808
23809 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23810
23811         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23812         syscall on x86-64.
23813         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23814         syscall.
23815         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23816         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23817         syscall if possible.
23818
23819 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23820
23821         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23822         e_ident.  Don't pass to find_mapsXX.
23823         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23824
23825 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23826
23827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23828         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23829         * sysdeps/x86_64/multiarch/strchr.S: Update.
23830         Check bit_slow_BSF bit.
23831         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23832         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23833         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23834
23835 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23836
23837         [BZ #13134]
23838         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23839         before glibc 2.15.
23840         (tryshell): Define.
23841         (__spawni): Change last parameter to be flag.  Test
23842         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23843         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23844         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23845         * posix/spawni.c: Likewise.
23846         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23847         * posix/spawnp.c: Likewise.  Change normal version to use
23848         SPAWN_XFLAGS_USE_PATH.
23849         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23850         SPAWN_XFLAGS_TRY_SHELL.
23851
23852         [BZ #13150]
23853         * posix/glob.h: Remove gcc 1.x support.
23854
23855         [BZ #13068]
23856         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23857
23858 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23859
23860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23861         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23862         strrchr-sse2-bsf
23863         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23864         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23865         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23866         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23867         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23868         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23869
23870 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23871
23872         * sysdeps/x86_64/wcscmp.S: New file.
23873
23874         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23875         wcscmp-c wcscmp-sse2
23876         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23877         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23878         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23879         * wcsmbs/wcscmp.c: Allow renaming.
23880
23881 2011-09-05  David S. Miller  <davem@davemloft.net>
23882
23883         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23884         stack slot, rather than the struct return pointer slot.
23885         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23886         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23888         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23889
23890 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23891
23892         * po/ja.po: Update from translation team.
23893
23894         [BZ #13144]
23895         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23896         kernel in 64-bit binaries.
23897
23898 2011-09-01  David S. Miller  <davem@davemloft.net>
23899
23900         * elf/elf.h (HWCAP_SPARC_*): Move to..
23901         * sysdeps/sparc/sysdep.h: this new file and add new values.
23902         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23903         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23904         _DL_HWCAP_COUNT to 24.
23905         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23906         entries.
23907         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23908         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23909         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23911         instead of magic constants.
23912         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23913
23914 2011-08-31  David S. Miller  <davem@davemloft.net>
23915
23916         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23917         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23918         Reimplement to do errno handling inline.
23919         (SYSCALL_ERROR_HANDLER): New macro.
23920         (__SYSCALL_STRING): Do not do errno handling in asm.
23921         (__CLONE_SYSCALL_STRING): Delete.
23922         (__INTERNAL_SYSCALL_STRING): Delete.
23923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23924         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23925         (PSEUDO): Reimplement to do errno handling inline.
23926         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23927         (SYSCALL_ERROR_HANDLER): New macro.
23928         (__SYSCALL_STRING): Do not do errno handling in asm.
23929         (__CLONE_SYSCALL_STRING): Delete.
23930         (__INTERNAL_SYSCALL_STRING): Delete.
23931         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23932         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23933         i386.
23934         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23935         (inline_syscall*): Add 'err' argument.
23936         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23937         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23938         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23939         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23940
23941         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23942         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23943
23944 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23945
23946         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23947
23948 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23949
23950         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23951         directive.
23952
23953 2011-08-24  David S. Miller  <davem@davemloft.net>
23954
23955         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23956
23957 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23958
23959         * elf/Makefile: Add rules to build and run unload8 test.
23960         * elf/unload8.c: New file.
23961         * elf/unload8mod1.c: New file.
23962         * elf/unload8mod1x.c: New file.
23963         * elf/unload8mod2.c: New file.
23964         * elf/unload8mod3.c: New file.
23965
23966         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23967         it wasn't used.
23968
23969 2011-08-23  David S. Miller  <davem@davemloft.net>
23970
23971         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23972         subtract stack bias.
23973         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23974         %sp not %fp in calculations.
23975         (_JMPBUF_UNWINDS_ADJ): Likewise.
23976
23977         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23978         (aio_suspend): Call it to force an exception region around the
23979         AIO_MISC_WAIT() invocation.
23980
23981 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23982
23983         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23984         backslash.
23985
23986 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23987
23988         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23989         protection macro.
23990         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23991         and <dl-machine.h>.
23992         (Elf64_FuncDesc): Remove.
23993
23994 2011-08-22  David S. Miller  <davem@davemloft.net>
23995
23996         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23997         sigaltstack check, add missing cfi directives.
23998         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23999         missing cfi directives, and sigaltstack handling.
24000
24001 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24002
24003         [BZ #11724]
24004         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24005         object is seen twice.
24006         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24007
24008         * elf/Makefile (distribute): Add tst-initorder2.c.
24009         (tests): Add tst-initorder2.
24010         (modules-names): Add tst-initorder2a tst-initorder2b
24011         tst-initorder2c tst-initorder2d.  Add rules to build them.
24012         ($(objpfx)tst-initorder2.out): New rule.
24013         * elf/tst-initorder2.c: New file.
24014         * elf/tst-initorder2.exp: New file.
24015
24016 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24017
24018         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24019
24020         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24021         dependencies back to end of function.
24022
24023         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24024         $(elfobjdir)/ld.so.
24025
24026 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24027
24028         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24029         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24030         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24031         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24032         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24033         of __vdso_gettimeofday.
24034         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24035         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24036         attribute_hidden.
24037         (_libc_vdso_platform_setup): Remove initialization of
24038         __vdso_gettimeofday and __vdso_time.
24039
24040 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24041
24042         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24043         and fgetc_unlocked.
24044         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24045         getc_unlocked.
24046
24047         * elf/dl-open.c (add_to_global): Report additions to the global scope
24048         for LD_DEBUG=scopes.
24049         (dl_open_worker): Also print scope of newly loaded dependencies.
24050         (_dl_show_scope): Indicate if there is no scope.
24051
24052         [BZ #13114]
24053         * stdio-common/Makefile (tests): Add bug24.
24054         * stdio-common/bug24.c: New file.
24055
24056 2011-08-19  Andreas Jaeger  <aj@suse.de>
24057
24058         [BZ #13114]
24059         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24060         non-existant file when using close-on-exec mode.
24061
24062 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24063
24064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24065         the very first instruction.
24066
24067         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24068         the CFI state in the end.
24069         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24070         inclusion of dl-trampoline.h.
24071         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24072
24073 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24074
24075         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24076         expectations for long double.
24077
24078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24079         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24080
24081 2011-08-14  David S. Miller  <davem@davemloft.net>
24082
24083         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24084         artificual limit depends upon the system page size.
24085
24086 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24087
24088         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24089         * resolv/Makefile: Define CFLAGS-libresolv.
24090
24091 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24092
24093         * nss/makedb.c (compute_tables): Make variables used in nested
24094         function static.
24095
24096 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24097
24098         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24099         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24100         if buffer was too small.
24101
24102         * elf/pldd.c (main): Attach to all threads in the process.
24103         Rewrite /proc handling to use *at functions.
24104
24105 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24106
24107         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24108         specifies first scope to show.
24109         (dl_open_worker): Update callers.  Move printing scope of new
24110         object to before the relocation.
24111         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24112         * sysdeps/generic/ldsodefs.h: Update declaration.
24113
24114         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24115         string for the scope number.
24116
24117 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24118
24119         * nscd/servicescache.c (cache_addserv): Make sure written is always
24120         initialized.
24121
24122 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24123
24124         * sysdeps/i386/i486/bits/atomic.h
24125         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24126         statement expression, so as to suppress "set but not used" warning.
24127         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24128
24129         * string/strncat.c (STRNCAT): Use prototype definition.
24130
24131         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24132         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24133         -Iprograms here.
24134         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24135         (localedef-modules): Add localedef.
24136         (locale-modules): Add locale.
24137
24138         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24139         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24140         to avoid a warning.
24141
24142 2011-08-14  David S. Miller  <davem@davemloft.net>
24143
24144         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24145         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24146
24147 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24148
24149         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24150         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24151         * elf/rtld.c (dl_main): Set l_name of vDSO.
24152         Call _dl_show_scope when DL_DEBUG_SCOPES.
24153         (process_dl_debug): Recognize scopes flag and also set it for all.
24154         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24155         Declare _dl_show_scope.
24156
24157         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24158         (do_dlopen): Pass caller_dlopen to dl_open.
24159         (__libc_dlopen_mode): Initialize caller_dlopen.
24160
24161         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24162         of libc.  Make tolower call locale-independent.  Optimize a bit by
24163         using isdigit instead of isalnum.
24164         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24165
24166 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24167
24168         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24169         was a dependency or dynamically loaded.
24170
24171 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24172
24173         * intl/l10nflist.c: Allow architecture-specific pop function.
24174         * sysdeps/x86_64/l10nflist.c: New file.
24175
24176         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24177         classification.
24178
24179 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24180
24181         * include/dirent.h: Add libc_hidden_proto for scandirat and
24182         scandirat64.  Don't declare __scandirat64.
24183         * dirent/scandirat.c: Add libc_hidden_def.
24184         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24185         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24186
24187 2011-08-10  David S. Miller  <davem@davemloft.net>
24188
24189         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24190         enum.
24191         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24192         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24193         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24194
24195 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24196
24197         * Versions.def [libc]: Add GLIBC_2.15.
24198         * dirent/Makefile (routines): Add scandirat and scandirat64.
24199         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24200         GLIBC_2.15.
24201         * dirent/dirent.h: Declare scandirat and scandirat64.
24202         * dirent/scandirat.c: New file.
24203         * dirent/scandirat64.c: New file.
24204         * sysdeps/wordsize-64/scandirat.c: New file.
24205         * sysdeps/wordsize-64/scandirat64.c: New file.
24206         * dirent/opendir.c: Define opendirat.
24207         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24208         using scandirat.
24209         * dirent/scandir64.c: Adjust for scandir.c change.
24210         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24211         __scandirat64, and __scandir_cancel_handler.
24212         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24213         additional parameter and use openat instead of open (outside of ld.so).
24214         Add new __opendir as wrapper around __opendirat.
24215         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24216         here without requiring old scandirat implementation.
24217
24218 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24219
24220         * dirent/scandir.c (cancel_handler): Renamed to
24221         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24222         defined.  Adjust users.
24223         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24224         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24225
24226 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24227
24228         * string/test-string.h (IMPL): Use __STRING to expand name and then
24229         stringify it.
24230
24231         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24232         of cleanups.
24233
24234 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24235
24236         * string/Makefile: Update.
24237         (strop-tests): Append strncat.
24238         * string/test-wcscmp.c: New file.
24239         New comprehensive test for wcscmp.
24240         * string/test-strcmp.c: Update.
24241         (WIDE): New define.
24242
24243 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24244
24245         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24246         line.
24247
24248 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24249
24250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24251         encoding to ACE if AI_IDN.
24252
24253 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24254
24255         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24256         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24257
24258 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24259
24260         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24261         Fix overflow bug in strncat.
24262         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24263
24264         * string/test-strncat.c: Update.
24265         Add new tests for checking overflow bugs.
24266
24267 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24268
24269         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24270         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24271         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24272         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24273         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24274         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24275         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24276         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24277         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24278
24279         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24280         (USE_AS_STRCAT): Define.
24281         Add strcat and strncat support.
24282         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24283
24284 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24285
24286         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24287         __n bigger than INT_MAX+1.
24288         (__strncmp_g): Likewise.
24289
24290 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24291
24292         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24293         * libio/stido.h: Likewise.
24294
24295         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24296         (AF_NFC): Define.
24297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24298         (AF_NFC): Define.
24299
24300         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24301         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24302         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24303         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24304         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24305
24306         [BZ #13021]
24307         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24308         installed.
24309
24310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24311         typo.
24312         (_dl_x86_64_save_sse): Likewise.
24313
24314 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24315
24316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24317         OSXSAVE.
24318         (_dl_x86_64_save_sse): Likewise.
24319
24320         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24321
24322         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24323
24324 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24325
24326         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24327         change.
24328         (_dl_x86_64_save_sse): Use correct AVX check.
24329
24330 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24331
24332         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24333         bug in strncpy/strncat.
24334         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24335
24336 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24337
24338         * string/tester.c (test_strcat): Add tests for different alignments
24339         of source and destination.
24340         (test_strncat): Likewise.
24341
24342 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24343
24344         [BZ #12852]
24345         * posix/glob.c (glob): Check passed in values before using them in
24346         expressions to avoid some overflows.
24347         (glob_in_dir): Likewise.
24348
24349         [BZ #13007]
24350         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24351         check for AVX enablement so that we don't crash with old kernels and
24352         new hardware.
24353         * elf/tst-audit4.c: Add same checks here.
24354         * elf/tst-audit6.c: Likewise.
24355
24356         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24357
24358 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24359
24360         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24361
24362 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24363
24364         * po/cs.po: Update from translation team.
24365         * po/bg.po: Likewise.
24366
24367 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24368
24369         * misc/sys/cdefs.h: Add support for const attribute.
24370         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24371         to gnu_dev_{major,minor,makedev} functions.
24372
24373 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24374
24375         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24376
24377 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24378
24379         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24380         strlen results.
24381
24382 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24383
24384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24385         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24386         register in order to avoid conflicts with the soft frame pointer
24387         being held in r11 when necessary.
24388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24389         (INTERNAL_VSYSCALL_NCS): Likewise.
24390
24391 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24392
24393         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24394         * elf/dl-fini.c (_dl_fini): Adjust caller.
24395         * elf/dl-close.c (_dl_close_worker): Likewise.
24396         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24397
24398 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24399
24400         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24401         "aux_cache->nlibs < 0".
24402
24403         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24404         in the reload-count case.
24405
24406 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24407
24408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24409         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24410         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24411         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24412         * sysdeps/x86_64/multiarch/strcat.S: New file.
24413         * sysdeps/x86_64/multiarch/strncat.S: New file.
24414         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24415         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24416         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24417         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24418         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24419         (USE_AS_STRCAT): Define.
24420         Add strcat and strncat support.
24421         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24422         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24423         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24424         * string/strncat.c: Update.
24425         (USE_AS_STRNCAT): Define.
24426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24427         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24428         and i7.
24429         * sysdeps/x86_64/multiarch/init-arch.h
24430         (bit_Prefer_PMINUB_for_stringop): New.
24431         (index_Prefer_PMINUB_for_stringop): Likewise.
24432         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24433         bit_Prefer_PMINUB_for_stringop.
24434
24435 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24436
24437         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24438         buffer64.
24439         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24440         of casting of buffer.
24441         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24442         buffer32 and buffer64.
24443         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24444         writes instead of casting of buffer.
24445         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24446         buffer32.
24447         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24448         casting of buffer.
24449
24450 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24451
24452         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24453
24454 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24455
24456         * nscd/nscd.c (termination_handler): Don't do anything for a database
24457         if it has not yet been initialized.
24458
24459 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24460
24461         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24462
24463 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24464
24465         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24466
24467 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24468
24469         * po/nl.po: Update from translation team.
24470         * po/sv.po: Likewise.
24471
24472 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24473
24474         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24475         now disallowed by GCC.
24476
24477         * configure.in (use-default-link): Default to yes if a test -shared
24478         link meets our qualifications.
24479         * configure: Regenerated.
24480
24481         * config.make.in (output-format): New variable.
24482         * configure.in: Check for ld --print-output-format support.
24483         * configure: Regenerated.
24484         * Makerules ($(common-objpfx)format.lds)
24485         [$(output-format) != unknown]: Just use $(output-format),
24486         instead of the linker-script munging.
24487
24488 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24489
24490         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24491         of $(common-objpfx)shlib.lds.
24492         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24493
24494         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24495         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24496
24497         * configure.in (-z relro check): Adjust test code to add a large
24498         writable data section after it.
24499         * configure: Regenerated.
24500
24501 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24502
24503         * configure.in (-z relro check): Fix test code to make the variable
24504         truly const.
24505         * configure: Regenerated.
24506
24507 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24508
24509         * nscd/nscd.h (struct traced_file): Define.
24510         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24511         elements.  Add traced_files.
24512         (inotify_fd): Declare.
24513         (register_traced_file): Declare.
24514         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24515         (inotify_fd): Export.
24516         (resolv_conf_descr): Remove.
24517         (nscd_init): Move inotify descriptor creation to main.
24518         Don't register files for notification here.
24519         (register_traced_file): New function.
24520         (invalidate_cache): Don't use reset_res to determine whether to call
24521         res_init, go through the list of registered files.
24522         (main_loop_poll): The inotify descriptors are now stored in the
24523         structures for the traced files.
24524         (main_loop_epoll): Likewise
24525         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24526         to __nss_disable_nscd.
24527         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24528         for a database anymore.  Check the records for all the registered
24529         files instead.
24530         * nss/Makefile (libnss_files-routines): Add files-init.
24531         (libnss_db-routines): Add db-init.
24532         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24533         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24534         * nss/nss_db/db-init.c: New file.
24535         * nss/nss_files/files-init.c: New file.
24536         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24537         __nss_lookup_function.
24538         (__nss_lookup_function): Call nss_load_library.
24539         (nss_load_all_libraries): New function.
24540         (__nss_disable_nscd): Take parameter with callback function for files
24541         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24542         used for the cached services.
24543         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24544         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24545         options for features to all the files in nscd.
24546
24547         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24548
24549 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24550
24551         * csu/elf-init.c (__libc_csu_init): Comment typo.
24552
24553 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24554
24555         * po/pl.po: Update from translation team.
24556         * po/ja.po: Likewise.
24557         * po/ru.po: Likewise.
24558         * po/ko.po: Likewise.
24559         * po/fr.po: Likewise.
24560
24561 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24562
24563         * configure.in (.ctors/.dtors header and trailer check):
24564         Use an empirical test on a built program.
24565         * configure: Regenerated.
24566
24567         * configure.in (-z relro check): Use an empirical test on a built DSO.
24568         Detect, but do not require, on ia64.
24569         * configure: Regenerated.
24570
24571         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24572         Update tests that use readelf to use $READELF instead.
24573         * configure: Regenerated.
24574
24575 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24576
24577         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24578         if the result is not used.
24579
24580 2011-07-05  Andreas Jaeger  <aj@suse.de>
24581
24582         [BZ#9696]
24583         * stdlib/tst-strtod.c: Add testcase.
24584
24585 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24586
24587         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24588         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24589         The latter has a higher limit.  Take additional parameter to pass to
24590         the new function.
24591         (__pathconf): Pass file to __statfs_link_max.
24592         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24593         __statfs_link_max.
24594         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24595         __statfs_link_max.
24596
24597         [BZ #12868]
24598         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24599         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24600         Handle Lustre.
24601         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24602         (__statfs_filesize_max): Likewise.
24603         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24604
24605 2011-07-05  Andreas Jaeger  <aj@suse.de>
24606
24607         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24608
24609 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24610
24611         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24612         `status' variable.
24613         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24614         Likewise.
24615
24616 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24617
24618         * Makefile (strop-tests): Add strncat.
24619         * string/test-strncat.c: New file.
24620
24621 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24622
24623         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24624
24625 2011-06-21  Andreas Jaeger  <aj@suse.de>
24626
24627         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24628         Copy rule from iconvdata/Makefile.
24629
24630 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24631
24632         [BZ #12922]
24633         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24634         but no long options are defined, just return 'W'.
24635
24636 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24637
24638         [BZ #9696]
24639         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24640
24641 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24642
24643         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24644         netgroups to read.
24645         (innetgr): Likewise.
24646
24647 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24648
24649         * config.make.in (install_root): Default to $(DESTDIR).
24650
24651 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24652
24653         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24654
24655 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24656
24657         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24658
24659         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24660         containing directory rather than embedding absolute directory names.
24661
24662         * scripts/check-local-headers.sh: Rewritten using awk.
24663         Match by word, not by line.  Print error messages for matches.
24664         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24665
24666         * Makerules [shlib-lds-flags empty]:
24667         ($(common-objpfx)libc_pic.opts): New target.
24668         ($(common-objpfx)libc_pic.os.clean): New target.
24669         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24670
24671         * config.make.in (OBJCOPY): New variable.
24672         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24673         * configure: Regenerated.
24674
24675         * config.make.in (use-default-link): New variable.
24676         * configure.in (use_default_link): Grok --with-default-link to set it.
24677         * configure: Regenerated.
24678         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24679         (shlib-lds, shlib-lds-flags): Define to empty.
24680
24681         * Makerules (shlib-lds): New variable.
24682         (shlib-lds-flags): New variable.
24683         (build-shlib, build-moduile, build-module-asneeded): Use it.
24684         ($(common-objpfx)libc.so): Use $(shlib-lds).
24685         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24686         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24687
24688         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24689         DT_FLAGS/DT_FLAGS_1 with zero flags.
24690
24691         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24692         linker script munging.
24693
24694 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24695
24696         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24697         as 128-bit value.
24698         * crypt/sha512.c (sha512_process_block): Perform total addition using
24699         128-bit if possible.
24700         (__sha512_finish_ctx): Likewise.
24701         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24702         as 64-bit value.
24703         * crypt/sha256.c (SWAP64): Define.
24704         (sha256_process_block): Perform total addition using 64-bit if
24705         possible.
24706         (__sha256_finish_ctx): Likewise.
24707
24708 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24709
24710         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24711         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24712         * nscd/hstcache.c (cache_addhst): Likewise.
24713         * nscd/grpcache.c (cache_addgr): Likewise.
24714         * nscd/aicache.c (addhstaiX): Likewise
24715         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24716
24717 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24718
24719         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24720         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24721         * nscd/hstcache.c (cache_addhst): Likewise.
24722         * nscd/grpcache.c (cache_addgr): Likewise.
24723         * nscd/aicache.c (addhstaiX): Likewise
24724
24725 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24726
24727         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24728         domain only when needed.
24729
24730 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24731
24732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24733         is always restored.
24734
24735 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24736
24737         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24738         are re-adding the entry.
24739         * nscd/servicescache.c (cache_addserv): Likewise.
24740
24741 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24742
24743         * sysdeps/generic/dl-irel.h: fix protection against multiple
24744         inclusions.
24745         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24746
24747 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24748
24749         [BZ #12935]
24750         * malloc/memusage.sh: Fix quoting in message.
24751         * debug/xtrace.sh: Likewise.
24752
24753         * configure.in: Remove support for --experimental-malloc option, make
24754         it the default.
24755         * config.make.in: Likewise.
24756         * malloc/Makefile: Likewise.
24757
24758 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24759
24760         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24761         two-byte characters.
24762
24763 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24764
24765         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24766         AC_CACHE_CHECK invocation.
24767         * configure: Regenerated.
24768
24769         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24770
24771 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24772
24773         [BZ #12350]
24774         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24775         bit from old_res_options.
24776
24777         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24778
24779         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24780         value type for setfct.
24781
24782 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24783
24784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24785         __gettimeofday instead of gettimeofday.
24786
24787 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24788
24789         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24790
24791 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24792
24793         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24794
24795         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24796         info.
24797
24798 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24799
24800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24801         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24802         strcpy-sse2-unaligned strncpy-sse2-unaligned
24803         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24804         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24805         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24806         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24807         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24808         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24809         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24810         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24811         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24812         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24813         (STRCPY): Support SSE2 and SSSE3 versions.
24814
24815 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24816
24817         [BZ #12874]
24818         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24819         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24820         kernels which artificially limit size of requests.
24821
24822 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24823
24824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24825         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24826         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24827         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24828         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24829         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24830         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24831         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24832         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24833         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24834         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24835         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24836         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24837         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24838         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24840         Enable unaligned load optimization for Intel Core i3, i5 and i7
24841         processors.
24842         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24843         Define.
24844         (index_Fast_Unaligned_Load): Define.
24845         (HAS_FAST_UNALIGNED_LOAD): Define.
24846
24847 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24848
24849         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24850
24851 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24852
24853         [BZ #12907]
24854         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24855         until it is clear that the information is realy needed.
24856         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24857
24858 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24859
24860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24861
24862 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24863
24864         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24865         /sys/devices/system/cpu/online if it is usable.
24866
24867         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24868         reading the information from the /proc filesystem to once a second.
24869
24870 2011-06-21  Andreas Jaeger  <aj@suse.de>
24871
24872         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24873         NULL after inclusion of kernel headers.
24874
24875 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24876
24877         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24878         calls to internal_setent.
24879
24880         [BZ #12885]
24881         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24882         addresses using gethostbyname4_r ignore IPv4 addresses.
24883
24884         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24885         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24886
24887         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24888
24889 2011-06-20  David S. Miller  <davem@davemloft.net>
24890
24891         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24892         inclusions.
24893         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24894
24895         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24896         (elf_irel): Use it.
24897         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24898         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24899         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24900         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24901         * sysdeps/x86_64/dl-irel.h: Likewise.
24902
24903         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24904         * elf/dl-sym.c: Likewise.
24905
24906 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24907
24908         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24909         need to dereference resplen2.
24910
24911 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24912
24913         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24914
24915 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24916
24917         * Makeconfig: Define vardbdir and inst_vardbdir.
24918         * nss/Makefile: Add rules to install db-Makefile.
24919
24920         * nss/nss_db/db-XXX.c: Cleanup.
24921
24922         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24923         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24924         GLIBC_PRIVATE.
24925         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24926         * nss/makedb.c: Implement -g option to specify that value strings
24927         are generated and should not be added to table iterated over for
24928         get*ent calls.
24929         * nss/nss_db/db-initgroups.c: New file.
24930
24931         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24932         interface.
24933
24934         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24935         (internal_getgrouplist): Adjust to name change.
24936         Update use_initgroups_entry if this is not the first call.
24937         * nss/databases.def: Add initgroups entry.
24938
24939         * nss/makedb.c (compute_tables): Check result of multiple hash table
24940         sizes to minimize maximum chain length.
24941
24942 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24943
24944         * Versions.def: Add entry for libnss_db.
24945         * shlib-versions: Likewise.
24946         * nss/Makefile: Add rules to build libnss_db.
24947         * nss/Versions: Add libnss_db information.  Organize libnss_files
24948         entries better.
24949         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24950         makedb progra.  Some minor improvements to generate smaller files.
24951         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24952         here from...
24953         * nss/makedb.c: ...here.
24954         Improve database format to be smaller and require less memory at
24955         runtime.
24956         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24957         db anymore.
24958         * nss/nss_db/db-netgrp.c: Likewise.
24959         * nss/nss_db/db-open.c: Likewise.
24960         * nss/nss_files/flies-XXX.x: Adjust comments.
24961         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24962         * nss/nss_files/files-grp.c: Likewise.
24963         * nss/nss_files/files-hosts.c: Likewise.
24964         * nss/nss_files/files-network.c: Likewise.
24965         * nss/nss_files/files-proto.c: Likewise.
24966         * nss/nss_files/files-pwd.c: Likewise.
24967         * nss/nss_files/files-rpc.c: Likewise.
24968         * nss/nss_files/files-service.c: Likewise.
24969         * nss/nss_files/files-sgrp.c: Likewise.
24970         * nss/nss_files/files-spwd.c: Likewise.
24971         * nss/nss_db/db-alias.c: Removed.
24972         * nss/nss_db/dummy-db.h: Removed.
24973
24974 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24975
24976         * nss/makedb.c: Rewritten to not use database library.
24977         * nss/Makefile: Update to build new makedb program.
24978
24979 2011-06-14  Andreas Jaeger  <aj@suse.de>
24980
24981         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24982         memset declaration.
24983
24984 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24985
24986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24987         tmpbuf.
24988
24989 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24990
24991         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24992         * elf/Makefile ($(objpfx)ld.so): Likewise.
24993
24994         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24995         Don't list ld.so twice in dependencies.
24996
24997         * posix/bug-regex31.c: Include <stdlib.h>.
24998
24999         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25000
25001         * nis/nss_compat/compat-spwd.c
25002         (getspent_next_nss_netgr): Remove unused variable.
25003         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25004
25005         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25006         nonmembers" output to use the right array.
25007
25008         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25009
25010         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25011
25012         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25013         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25014         * catgets/gencat.c (read_input_file): Likewise.
25015         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25016
25017         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25018         variable definition inside #if's controlling its use.
25019
25020         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25021
25022         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25023
25024         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25025
25026         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25027         unreachable code.
25028
25029         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25030
25031         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25032         * configure: Regenerated.
25033
25034         * Makerules: Revert last change.
25035         * elf/Makefile: Likewise.
25036
25037 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25038
25039         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25040         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25041         (reloc-link): Likewise.
25042
25043 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25044
25045         * elf/Makefile: Add rules to build pldd.
25046         * elf/pldd.c: New file.
25047         * elf/pldd-xx.c: New file.
25048
25049 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25050
25051         * version.h: Update for 2.15 development version.
25052
25053 2011-06-07  David S. Miller  <davem@davemloft.net>
25054
25055         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25056         ifuncs.
25057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25058         elf_machine_lazy_rel): Likewise.
25059         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25060         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25061         elf_machine_lazy_rel): Likewise.
25062         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25063         dl_hwcap via passed in argument.
25064         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25065         Likewise.
25066
25067 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25068
25069         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25070
25071 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25072
25073         [BZ #12849]
25074         * manual/fdl-1.1.texi: New file, verbatim from:
25075         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25076         * manual/lgpl-2.1.texi: New file, verbatim from:
25077         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25078         * manual/Makefile (licenses): New variable, list those new file names.
25079         (texis): Use it.
25080         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25081
25082         * manual/fdl.texi: File removed.
25083         * manual/lesser.texi: File removed.
25084         * manual/libc.texinfo (Copying, Documentation License):
25085         Use new @include file names, put @appendix directive before @include.
25086
25087 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25088
25089         [BZ #12841]
25090         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25091         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25092         (mq_open): Add __NTH.
25093
25094 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25095
25096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25097         Assume Intel Core i3/i5/i7 processor if AVX is available.
25098
25099 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25100
25101         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25102         typo.
25103
25104 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25105
25106         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25107         memory.  Use alloca_account.  Fix memory leak when retrying.
25108
25109 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25110
25111         * version.h (RELEASE): Bump for 2.14 release.
25112         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25113
25114         * config.make.in (RANLIB): Remove entry.
25115
25116 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25117
25118         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25119         (libc.pot): Work around missing support for .ksh extension in xgettext.
25120
25121         [BZ #12684]
25122         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25123         if both request failed.
25124         (send_dg): In case of server errors clear resplen or *resplen2.
25125
25126         [BZ #12454]
25127         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25128         when there are multiple maps.
25129         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25130         (_dl_fini): Remove test here.
25131
25132         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25133
25134 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25135
25136         [BZ #12350]
25137         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25138         bit from old_res_options.
25139         (gaih_inet): Likewise.
25140
25141         [BZ #11099]
25142         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25143         as signed.
25144
25145         * resolv/res_init.c (res_setoptions): Make the code more compact.
25146
25147         [BZ #11558]
25148         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25149         set RES_USEVC.
25150
25151         [BZ #11634]
25152         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25153
25154         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25155
25156         [BZ #11781]
25157         * malloc/malloc.h: Declare malloc hook variables as volatile.
25158
25159         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25160         in last patch.
25161
25162         [BZ #11799]
25163         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25164         raise in the comment.
25165         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25166         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25167         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25168
25169 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25170
25171         [BZ #12811]
25172         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25173         grow the buffers more if it already has to be sufficient.
25174         (build_wcs_upper_buffer): Likewise.
25175         * posix/regexec.c (check_matching): Likewise.
25176         (clean_state_log_if_needed): Likewise.
25177         (extend_buffers): Don't enlarge buffers beyond size of the input
25178         buffer.
25179         Patches mostly by Emil Wojak <emil@wojak.eu>.
25180         * posix/bug-regex32.c: New file.
25181         * posix/Makefile (tests): Add bug-regex32.
25182
25183         * locale/findlocale.c (_nl_find_locale): Return right away if
25184         _nl_explode_name failed.
25185         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25186
25187         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25188
25189         * debug/xtrace.sh: Unify messages.
25190         * malloc/memusage.sh: Likewise.
25191
25192         [BZ #12813]
25193         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25194         time symbol from vDSO.  Substitute with vsyscall if not available.
25195         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25196         __vdso_time.
25197
25198         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25199         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25200         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25201         Add sendmmsg and internal_sendmmsg.
25202         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25203         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25204         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25205
25206         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25207         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25208         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25209
25210 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25211
25212         [BZ #12813]
25213         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25214         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25215         available.
25216         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25217         __vdso_getcpu.
25218
25219         [BZ #12814]
25220         * iconvdata/Makefile (tests): Add bug-iconv9.
25221         * iconvdata/bug-iconv9.c: New file.
25222
25223 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25224
25225         [BZ #12814]
25226         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25227
25228 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25229
25230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25231         (struct user_regs_struct): Change intcs field back to cs.
25232
25233 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25234
25235         * po/ja.po: Update from translation team.
25236
25237 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25238
25239         [BZ #12795]
25240         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25241         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25242
25243 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25244
25245         * stdlib/longlong.h: Update from GCC.
25246
25247 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25248
25249         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25250         parameter name.
25251         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25252         Add parameter name.
25253         (__sysconf): Pass it down.
25254
25255 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25256
25257         [BZ #12671]
25258         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25259         some situations.
25260         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25261         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25262         add in in __libc_use_alloca calls.  Adjust callers.
25263         (glob): Use malloc in some situations.
25264
25265         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25266         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25267         pltexit.
25268
25269 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25270
25271         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25272         and CLOCK_BOOTTIME_ALARM.
25273
25274         [BZ #12782]
25275         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25276         is returned.
25277
25278         * string/_strerror.c (__strerror_r): Print negative errors as signed
25279         numbers.
25280
25281         [BZ #12777]
25282         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25283         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25284         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25285
25286         * configure.in: Fix typo in redirection and correct removal of test
25287         files in two cases.
25288
25289         [BZ #12788]
25290         * locale/setlocale.c (new_composite_name): Fix test to check for
25291         identical name of all categories.
25292
25293         [BZ #12792]
25294         * libio/filedoalloc.c (local_isatty): New function.
25295         (_IO_file_doallocate): Use local_isatty.
25296         * stdio-common/perror.c (perror): In case a new stream is used
25297         forward the stream error.
25298         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25299         error flag.
25300
25301 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25302
25303         [BZ #11869]
25304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25305         alloca.
25306         * include/alloca.h (extend_alloca_account): Define.
25307
25308         [BZ #11857]
25309         * posix/regex.h: Fix comments with documentation of user-accessible
25310         fields after compilation and describe correct free'ing of pattern
25311         after re_compile_pattern.
25312         Patch by Reuben Thomas <rrt@sc3d.org>.
25313
25314 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25315
25316         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25317         and -mno-altivec to prevent the compiler from using Altivec and/or
25318         VSX instructions when the corresponding registers are not available.
25319
25320 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25321
25322         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25323
25324 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25325
25326         * libio/freopen.c (freopen): Use __dup2, not dup2.
25327         * libio/freopen64.c (freopen64): Likewise.
25328
25329 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25330
25331         [BZ #12775]
25332         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25333         * math/Makefile (tests): Add test-powl.
25334         (CFLAGS-test-powl.c): Define.
25335         * math/test-powl.c: New file.
25336
25337 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25338
25339         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25340
25341 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25342
25343         [BZ #11837]
25344         * iconvdata/gb18030.c: Update to GB18020-2005.
25345
25346 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25347
25348         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25349         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25350         Patch by Aharon Robbins <arnold@skeeve.com>.
25351
25352         [BZ #11892]
25353         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25354         on the stack.
25355
25356         [BZ #11895]
25357         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25358         through underflows.
25359
25360         [BZ #12766]
25361         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25362         point to strings before performing equality test for error_one_per_line
25363         mode.
25364
25365         [BZ #11697]
25366         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25367
25368         [BZ #11820]
25369         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25370         (struct user_fpregs_struct): Avoid __uint*_t types.
25371
25372         [BZ #6420]
25373         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25374         symbol info.  Use it instead of calling _dl_addr locally.
25375         (lock_and_info): New function.
25376         (tr_freehook): Call lock_and_info and pass symbol info as additional
25377         parameter to tr_where.
25378         (tr_mallochook): Likewise.
25379         (tr_reallochook): Likewise.
25380         (tr_memalignhook): Likewise.
25381
25382         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25383         used and couldn't be at all thread-safe.
25384
25385 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25386
25387         * libio/freopen.c (freopen): Don't close old file descriptor
25388         before the new one is opened.  Instead dup the new file descriptor
25389         to the old one after the new stream is created.
25390         * libio/freopen64.c (freopen64): Likewise.
25391         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25392         * libio/fileops.c (_IO_new_file_close_it): Handle new
25393         _IO_FLAGS2_NOCLOSE flag.
25394         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25395         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25396         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25397         _IO_FLAGS2_NOCLOSE flag.
25398         * include/unistd.h: Add hidden_proto for dup3.
25399         Define __have_dup3.
25400         * io/dup3.c: Define hidden symbol.
25401         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25402
25403         [BZ #7101]
25404         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25405         when an incomplete long option is used.
25406         * posix/tst-getopt_long1.c: New file.
25407         * posix/Makefile (tests): Add tst-getopt_long1.
25408
25409         [BZ #10138]
25410         * scripts/config.guess: Update from autoconf-2.68.
25411         * scripts/config.sub: Likewise.
25412
25413         [BZ #10157]
25414         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25415         tests into ...
25416         (has_cpuclock): ...this.  New function.
25417         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25418         macro here based on has_cpuclock code.
25419
25420         [BZ #10149]
25421         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25422         First byte (not low byte) is now always NUL.
25423         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25424
25425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25426         Use non-cancelable interfaces.
25427
25428         [BZ #9809]
25429         * locale/iso-639.def: Add entry for Sorani.
25430
25431         [BZ #11901]
25432         * include/stdlib.h: Move include protection to the right place.
25433         Define abort_msg_s.  Declare __abort_msg with it.
25434         * stdlib/abort.c (__abort_msg): Adjust type.
25435         * assert/assert.c (__assert_fail_base): New function.  Majority
25436         of code from __assert_fail.  Allocate memory for __abort_msg with
25437         mmap.
25438         (__assert_fail): Now call __assert_fail_base.
25439         * assert/assert-perr.c: Remove bulk of implementation.  Use
25440         __assert_fail_base.
25441         * include/assert.hL Declare __assert_fail_base.
25442         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25443         mmap.
25444         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25445
25446 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25447
25448         [BZ #11952]
25449         [BZ #12453]
25450         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25451         until all modules are registered in the DTV.
25452         * elf/Makefile: Add rules to build and run tst-tls19.
25453         * elf/tst-tls19.c: New file.
25454         * elf/tst-tls19mod1.c: New file.
25455         * elf/tst-tls19mod2.c: New file.
25456         * elf/tst-tls19mod3.c: New file.
25457         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25458
25459         [BZ #12083]
25460         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25461         correctly.
25462
25463         [BZ #12601]
25464         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25465         two-byte sequence errors.
25466         * iconvdata/Makefile (tests): Add bug-iconv8.
25467         * iconvdata/bug-iconv8.c: New file.
25468
25469         [BZ #12626]
25470         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25471         buf2 definition.
25472
25473         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25474
25475         [BZ #12432]
25476         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25477         (dummy_getcfa): New function.
25478         (init): Get _Unwind_GetCFA address, use dummy if not found.
25479         (backtrace_helper): In recursion check, also check whether CFA changes.
25480         (__backtrace): Completely initialize arg.
25481
25482         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25483         storing incomplete byte sequence in state object.  Avoid testing for
25484         guaranteed too small input if we know there is enough data available.
25485
25486 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25487
25488         * Makeconfig (+link-pie): Indent.
25489         * Rules (binaries-pie): Define if $(have-fpie) and
25490         $(build-shared).
25491         (binaries-shared): Also filter out $(binaries-pie).
25492         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25493         * nscd/Makefile (others-pie): Add nscd.
25494         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25495         ($(objpfx)nscd): Remove command override.
25496         * login/Makefile (others-pie): Add pt_chown.
25497         ($(objpfx)pt_chown): Remove command override.
25498         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25499         remove command overrides.
25500
25501 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25502
25503         * libio/tst_putwc.c: Fix error messages.
25504
25505         [BZ #12724]
25506         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25507         currently writing and seek to current position when not.
25508         * libio/Makefile (tests): Add bug-fclose1.
25509         * libio/bug-fclose1.c: New file.
25510
25511 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25512
25513         [BZ #12511]
25514         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25515         don't set DF_1_NODELETE here.
25516         (do_lookup_x): When entering new entry test for copy relocation
25517         and if necessary set DF_1_NODELETE flag.
25518         * elf/tst-unique4.cc: New file.
25519         * elf/tst-unique4.h: New file.
25520         * elf/tst-unique4lib.cc: New file.
25521         * elf/Makefile: Add rules to build and run tst-unique4.
25522         Patch by Piotr Bury <pbury@goahead.com>.
25523
25524 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25525
25526         [BZ #12052]
25527         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25528
25529         [BZ #12625]
25530         * misc/mntent_r.c (addmntent): Flush the stream after the output
25531
25532         [BZ #12393]
25533         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25534         (is_trusted_path_normalize): Skip initial colon.  Append slash
25535         to empty buffer.  Duplicate is_trusted_path code but allow
25536         constructed patch to be prefix.
25537         (is_dst): Allow $ORIGIN followed by /.
25538         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25539         Correct testing of result of is_trusted_path_normalize
25540         (decompose_rpath): Fix warning.
25541
25542 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25543
25544         [BZ #11257]
25545         * grp/initgroups.c (internal_getgrouplist): When we found the service
25546         list through the initgroups entry in nsswitch.conf do not always
25547         continue on a successful lookup.  Don't always use the
25548         __nss_group_database value if it is set.
25549         * nss/nsswitch.conf (initgroups): Change action for successful db
25550         lookup to continue for compatibility.
25551
25552 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25553
25554         [BZ #11532]
25555         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25556         and CP774 modules.
25557         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25558         and CP774 modules.
25559         * iconvdata/tst-tables.sh: Likewise.
25560         * iconvdata/cp770.c: New file.
25561         * iconvdata/cp771.c: New file.
25562         * iconvdata/cp772.c: New file.
25563         * iconvdata/cp773.c: New file.
25564         * iconvdata/cp774.c: New file.
25565         * iconvdata/testdata/CP770: New file.
25566         * iconvdata/testdata/CP770..UTF8: New file.
25567         * iconvdata/testdata/CP771: New file.
25568         * iconvdata/testdata/CP771..UTF8: New file.
25569         * iconvdata/testdata/CP772: New file.
25570         * iconvdata/testdata/CP772..UTF8: New file.
25571         * iconvdata/testdata/CP773: New file.
25572         * iconvdata/testdata/CP773..UTF8: New file.
25573         * iconvdata/testdata/CP774: New file.
25574         * iconvdata/testdata/CP774..UTF8: New file.
25575
25576         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25577         END CHARMAP line.
25578         * iconvdata/gen-8bit-gap.sh: Likewise.
25579         * iconvdata/gen-8bit.sh: Likewise.
25580
25581         * locale/iso-639.def: Add ary entry.
25582
25583         [BZ #11258]
25584         * locale/C-translit.h.in: Add U20A1 transliteration.
25585
25586         [BZ #12178]
25587         * locale/iso-639.def: Add wae entry.
25588         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25589
25590         [BZ #12545]
25591         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25592         for n.
25593
25594         [BZ #12711]
25595         * locale/C-translit.h.in: Add entry for U20B9.
25596         Patch by pravin.d.s@gmail.com.
25597
25598 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25599
25600         [BZ #12713]
25601         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25602         ENAMETOOLONG use generic getcwd.
25603         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25604         in rtld.  Use *stat64.
25605         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25606         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25607         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25608         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25609         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25610         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25611         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25612         __fstatat64 macros.
25613         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25614         * dirent/rewinddir.c: Add libc_hidden_def.
25615         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25616         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25617
25618         * include/dirent.h (__alloc_dir): Add flags parameter.
25619         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25620         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25621         __alloc_dir.
25622         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25623         from fdopendir if O_CLOEXEC is already set.
25624
25625 2011-03-15  Alan Modra  <amodra@gmail.com>
25626
25627         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25628         l_tls_firstbyte_offset non-zero.  Save padding offset in
25629         l_tls_firstbyte_offset for later use.
25630         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25631         freeing static tls block.
25632
25633 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25634
25635         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25636         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25637         being defined by the kernel headers.
25638
25639 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25640
25641         [BZ #12734]
25642         * resolv/resolv.h: Define RES_NOTLDQUERY.
25643         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25644         no-tld-query and set RES_NOTLDQUERY.
25645         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25646         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25647         modern BIND to search name as TLD unless forbidden.
25648
25649 2011-05-07  Petr Baudis  <pasky@suse.cz>
25650             Ulrich Drepper  <drepper@gmail.com>
25651
25652         [BZ #12393]
25653         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25654         (is_trusted_path): ...to here.
25655         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25656         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25657         using is_trusted_path_normalize() in setuid scripts.
25658
25659 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25660
25661         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25662         __BEGIN/__END_DECLS.
25663
25664 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25665
25666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25667         NSS_STATUS_NOTFOUND if no record was found.
25668
25669 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25670
25671         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25672         (headers-not-in-tirpc): Remove rpc/netdb.h
25673         * resolv/netdb.h: Revert last change.
25674
25675 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25676
25677         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25678         circular dependency between libgcc.a and libc.a.
25679
25680 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25681
25682         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25683         * nis/Makefile: Don't install rpcsvc/*.
25684         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25685         instead of <rpc/types.h>.
25686         (MAXHOSTNAMELEN): Define.
25687
25688 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25689
25690         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25691
25692 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25693
25694         [BZ #12714]
25695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25696         gethostbyname4_r when IPv6 results are possible.
25697
25698 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25699
25700         [BZ #12723]
25701         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25702         _PC_PIPE_BUF handling.
25703
25704 2011-04-30  Bruno Haible  <bruno@clisp.org>
25705
25706         [BZ #12717]
25707         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25708         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25709         to 'int'.
25710         * inet/getnameinfo.c (getnameinfo): Likewise.
25711
25712 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25713
25714         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25715         to groups setting in database lookup.
25716         * nss/nsswitch.conf: Add initgroups entry.
25717
25718 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25719
25720         [BZ #12685]
25721         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25722         mode string.
25723         Patch by Eric Blake <eblake@redhat.com>.
25724
25725 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25726
25727         * sunrpc/Makefile (need-export-routines): Add svc_run.
25728         (routines): Remove svc_run.
25729         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25730         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25731         * sunrpc/svc_run.c (svc_run): Likewise.
25732         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25733
25734 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25735
25736         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25737         problem in reallocation in last patch.
25738
25739 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25740
25741         * sunrpc/Makefile: Move inclusion of Rules.
25742
25743 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25744
25745         * nss/nss_files/files-initgroups.c: New file.
25746         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25747         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25748         _nss_files_initgroups_dyn.
25749
25750 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25751
25752         * elf/elf.h (R_ARM_IRELATIVE): Define.
25753
25754 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25755
25756         * po/ru.po: Update from translation team.
25757
25758 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25759
25760         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25761         dependencies.
25762
25763 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25764
25765         [BZ #12653]
25766         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25767         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25768         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25769         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25770         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25771
25772 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25773
25774         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25775         differing bytes.
25776         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25777         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25778         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25779
25780 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25781
25782         [BZ #12420]
25783         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25784         storing it.
25785         * stdlib/bug-getcontext.c: New file.
25786         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25787
25788 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25789
25790         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25791         instructions into .machine "z9-109".
25792         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25793         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25794
25795 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25796
25797         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25798         between environment variables and auxiliary vector.
25799
25800 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25801
25802         * Makefile: Add rules to build linkobj/libc.so.
25803         * include/libc-symbols.h: Define libc_hidden_nolink.
25804         * include/rpc/auth.h: Mark functions which are to be hidden.
25805         * include/rpc/auth_des.h: Likewise.
25806         * include/rpc/auth_unix.h: Likewise.
25807         * include/rpc/clnt.h: Likewise.
25808         * include/rpc/des_crypt.h: Likewise.
25809         * include/rpc/key_prot.h: Likewise.
25810         * include/rpc/pmap_clnt.h: Likewise.
25811         * include/rpc/pmap_prot.h: Likewise.
25812         * include/rpc/pmap_rmt.h: Likewise.
25813         * include/rpc/rpc_msg.h: Likewise.
25814         * include/rpc/svc.h: Likewise.
25815         * include/rpc/svc_auth.h: Likewise.
25816         * include/rpc/xdr.h: Likewise.
25817         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25818         * nss/Makefile: Likewise.
25819         * sunrpc/Makefile: Don't install headers.  Build library with normal
25820         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25821         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25822         for the compat linking library.  Remove use of INTDEF/INTUSE.
25823         * sunrpc/auth_none.c: Likewise.
25824         * sunrpc/auth_unix.c: Likewise.
25825         * sunrpc/authdes_prot.c: Likewise.
25826         * sunrpc/authuxprot.c: Likewise.
25827         * sunrpc/clnt_gen.c: Likewise.
25828         * sunrpc/clnt_perr.c: Likewise.
25829         * sunrpc/clnt_raw.c: Likewise.
25830         * sunrpc/clnt_simp.c: Likewise.
25831         * sunrpc/clnt_tcp.c: Likewise.
25832         * sunrpc/clnt_udp.c: Likewise.
25833         * sunrpc/clnt_unix.c: Likewise.
25834         * sunrpc/des_crypt.c: Likewise.
25835         * sunrpc/des_soft.c: Likewise.
25836         * sunrpc/get_myaddr.c: Likewise.
25837         * sunrpc/key_call.c: Likewise.
25838         * sunrpc/key_prot.c: Likewise.
25839         * sunrpc/netname.c: Likewise.
25840         * sunrpc/pm_getmaps.c: Likewise.
25841         * sunrpc/pm_getport.c: Likewise.
25842         * sunrpc/pmap_clnt.c: Likewise.
25843         * sunrpc/pmap_prot.c: Likewise.
25844         * sunrpc/pmap_prot2.c: Likewise.
25845         * sunrpc/pmap_rmt.c: Likewise.
25846         * sunrpc/publickey.c: Likewise.
25847         * sunrpc/rpc_cmsg.c: Likewise.
25848         * sunrpc/rpc_common.c: Likewise.
25849         * sunrpc/rpc_dtable.c: Likewise.
25850         * sunrpc/rpc_prot.c: Likewise.
25851         * sunrpc/rpc_thread.c: Likewise.
25852         * sunrpc/rtime.c: Likewise.
25853         * sunrpc/svc.c: Likewise.
25854         * sunrpc/svc_auth.c: Likewise.
25855         * sunrpc/svc_authux.c: Likewise.
25856         * sunrpc/svc_raw.c: Likewise.
25857         * sunrpc/svc_run.c: Likewise.
25858         * sunrpc/svc_simple.c: Likewise.
25859         * sunrpc/svc_tcp.c: Likewise.
25860         * sunrpc/svc_udp.c: Likewise.
25861         * sunrpc/svc_unix.c: Likewise.
25862         * sunrpc/svcauth_des.c: Likewise.
25863         * sunrpc/xcrypt.c: Likewise.
25864         * sunrpc/xdr.c: Likewise.
25865         * sunrpc/xdr_array.c: Likewise.
25866         * sunrpc/xdr_float.c: Likewise.
25867         * sunrpc/xdr_intXX_t.c: Likewise.
25868         * sunrpc/xdr_mem.c: Likewise.
25869         * sunrpc/xdr_rec.c: Likewise.
25870         * sunrpc/xdr_ref.c: Likewise.
25871         * sunrpc/xdr_sizeof.c: Likewise.
25872         * sunrpc/xdr_stdio.c: Likewise.
25873
25874 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25875
25876         [BZ #12650]
25877         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25878         * sysdeps/ia64/dl-tls.h: Likewise.
25879         * sysdeps/powerpc/dl-tls.h: Likewise.
25880         * sysdeps/s390/dl-tls.h: Likewise.
25881         * sysdeps/sh/dl-tls.h: Likewise.
25882         * sysdeps/sparc/dl-tls.h: Likewise.
25883         * sysdeps/x86_64/dl-tls.h: Likewise.
25884         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25885
25886 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25887
25888         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25889         rpath element also skip the following colon.
25890         (expand_dynamic_string_token): Add is_path parameter and pass
25891         down to DL_DST_REQUIRED and _dl_dst_substitute.
25892         (decompose_rpath): Call expand_dynamic_string_token with
25893         non-zero is_path.  Ignore empty rpaths.
25894         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25895         with zero is_path.
25896
25897 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25898
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25900         Make cancelable.
25901
25902 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25903
25904         [BZ #12655]
25905         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25906         Patch by Filipe David Manana <fdmanana@apache.org>.
25907
25908 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25909
25910         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25911         Maintain aligned stack.
25912         (CHECK_RSP): Remove unused macro.
25913
25914 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25915
25916         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25917         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25918
25919 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25920
25921         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25922
25923         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25924
25925 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25926
25927         [BZ #12518]
25928         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25929         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25930         * sysdeps/x86_64/memmove.c: New file.
25931         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25932         (memcpy): Renamed to ...
25933         (__new_memcpy): This.
25934         (memcpy): Provide GLIBC_2_14 memcpy.
25935         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25936         (memcpy): Provide GLIBC_2_2_5 memcpy.
25937
25938 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25939
25940         [BZ #12631]
25941         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25942
25943 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25944
25945         * misc/syncfs.c: New file.
25946         * misc/Makefile (routines): Add syncfs.
25947         * posix/unistd.h: Declare syncfs.
25948         * sysdeps/unix/syscalls.list: Add syncfs.
25949
25950 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25951
25952         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25953         open_by_handle_at.
25954         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25955         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25957         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25959         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25961
25962 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25963
25964         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25965         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25966         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25967         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25968         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25971
25972         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25973         sync_file_range.c with -fexceptions.
25974         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25975         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25976         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25977         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25978         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25979         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25980         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25981         sync_file_range as cancellation point
25982         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25983         now a wrapper around __call_sync_file_range with cancellation handling.
25984         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25985         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25986         function name to __call_sync_file_range.
25987         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25988         Add call_sync_file_range.
25989
25990 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25991
25992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25993         bits/timex.h.
25994
25995 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25996
25997         * iconv/iconv.h: Fix typo in comment.
25998         * io/fcntl.h: Likewise.
25999         * libio/stdio.h: Likewise.
26000         * posix/spawn.h: Likewise.
26001         * posix/unistd.h: Likewise.
26002         * stdlib/stdlib.h: Likewise.
26003         * time/time.h: Likewise.
26004         * wcsmbs/wchar.h: Likewise.
26005
26006         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26007         open_by_handle): Add.
26008         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26009         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26010         Augment a few comments.
26011         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26013         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26014         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26016         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26017         open_by_handle.
26018
26019         * io/fcntl.h (AT_EMPTY_PATH): Define.
26020
26021 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26022
26023         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26024         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26025         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26026         to...
26027         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26028         * Versions.def: Add GLIBC_2.14.
26029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26030         Export.
26031
26032 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26033
26034         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26035         round counter.
26036         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26037
26038 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26039
26040         [BZ #12597]
26041         * string/test-strncmp.c (do_page_test): New function.
26042         (check2): Likewise.
26043         (test_main): Call check2.
26044         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26045
26046 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26047
26048         [BZ #12587]
26049         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26050         Handle cache information in CPU leaf 4.
26051         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26052
26053 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26054
26055         [BZ #12583]
26056         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26057         character representation.
26058         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26059
26060 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26061
26062         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26063         END(__isnan) to END(__isnanf) to match function entry point/label
26064         EALIGN(__isnanf,...).
26065
26066 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26067
26068         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26069
26070 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26071
26072         [BZ #12510]
26073         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26074         copy from the symbol referenced in the relocation to initialize the
26075         used variable.
26076         Patch by Piotr Bury <pbury@goahead.com>.
26077         * elf/Makefile: Add rules to build and tst-unique3.
26078         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26079         * elf/tst-unique3.cc: New file.
26080         * elf/tst-unique3.h: New file.
26081         * elf/tst-unique3lib.cc: New file.
26082         * elf/tst-unique3lib2.cc: New file.
26083
26084         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26085
26086 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26087
26088         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26089         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26090         to _start.
26091
26092 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26093
26094         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26095         to-be-loaded object along a path to loader is ld.so.
26096
26097 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26098             Ulrich Drepper  <drepper@gmail.com>
26099
26100         * sysdeps/x86_64/memset.S: After aligning destination, code
26101         branches to different locations depending on the value of
26102         misalignment, when multiarch is enabled. Fix this.
26103
26104 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26105
26106         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26107         Set _x86_64_preferred_memory_instruction for AMD processsors.
26108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26109         Set bit_Prefer_SSE_for_memop for AMD processors.
26110
26111 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26112
26113         * libio/fmemopen.c (fmemopen): Optimize a bit.
26114
26115 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26116
26117         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26118
26119 2011-03-03  Roland McGrath  <roland@redhat.com>
26120
26121         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26122
26123 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26124
26125         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26126         __bzero_ultra1 instead of __memset_ultra1.
26127
26128 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26129             Ulrich Drepper  <drepper@gmail.com>
26130
26131         [BZ #12509]
26132         * include/link.h (struct link_map): Add l_orig_initfini.
26133         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26134         returning unsuccessfully.
26135         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26136         close of a file loaded at startup, restore the original l_initfini
26137         list.
26138         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26139         list, store the pointer.
26140         * elf/Makefile ($(objpfx)noload-mem): New rule.
26141         (noload-ENV): Define.
26142         (tests): Add $(objpfx)noload-mem.
26143         * elf/noload.c: Include <memcheck.h>.
26144         (main): Call mtrace.  Close all opened handles.
26145
26146 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26147
26148         [BZ #12454]
26149         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26150         dependencies are missing.
26151
26152 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26153
26154         Fix __if_freereq crash: Unlike the generic version which uses free,
26155         Hurd needs munmap.
26156         * sysdeps/mach/hurd/ifreq.h: New file.
26157
26158 2011-01-27  Petr Baudis  <pasky@suse.cz>
26159             Ulrich Drepper  <drepper@gmail.com>
26160
26161         [BZ 12445]#
26162         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26163         to extend_alloca().
26164         * stdio-common/bug23.c: New file.
26165         * stdio-common/Makefile (tests): Add bug23.
26166
26167 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26168             Ulrich Drepper  <drepper@gmail.com>
26169
26170         [BZ #12489]
26171         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26172         before performing relro protection.  At old place add assertion
26173         to make sure nothing changed.
26174
26175 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26176             Glauber de Oliveira Costa  <glommer@gmail.com>
26177
26178         * elf/elf.h: Add new ARM TLS relocs.
26179
26180 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26181
26182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26183         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26184         cast from r3.
26185         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26186         'tests' variable.
26187         * sysdeps/wordsize-64/tst-writev.c: New file.
26188
26189 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26190
26191         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26192         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26193         insns in _dl_start to prevent a TOC reference before relocs are
26194         resolved.
26195
26196 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26197
26198         [BZ #12469]
26199         * Makeconfig: Remove RANLIB definition.
26200         * Makerules: Don't use RANLIB.
26201         * aclocal.m4: Remove ranlib test.
26202         * configure.in: No need to check for ranlib.
26203         * elf/rtld-Rules: Don't use RANLIB.
26204
26205 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26206
26207         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26208         protection macro.
26209         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26210         inclusion protection macro.
26211
26212         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26213         SIGRTMIN and SIGRTMAX and print information in that case only when
26214         SIGRTMIN is defined.
26215
26216 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26217
26218         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26219         arginfo fn returning -1.
26220
26221         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26222         and thousands string is zero terminated.
26223
26224 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26225
26226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26227         sysdeps/unix/sysv/linux/bits/socket.h.
26228
26229 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26230
26231         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26232         (__CPU_COUNT): Remove old macros.
26233         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26234         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26235         (__CPU_ALLOC, __CPU_FREE): Add macros.
26236         (__sched_cpualloc, __sched_cpufree): Add declarations.
26237
26238 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26239
26240         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26241         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26242         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26243         (readdhstai): Return value of addhstaiX call.
26244         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26245         (addgrbyX): Return value returned by cache_addgr.
26246         (readdgrbyname): Return value returned by addgrbyX.
26247         (readdgrbygid): Likewise.
26248         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26249         (addpwbyX): Return value returned by cache_addpw.
26250         (readdpwbyname): Return value returned by addhstbyX.
26251         (readdpwbyuid): Likewise.
26252         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26253         (addservbyX): Return value returned by cache_addserv.
26254         (readdservbyname): Return value returned by addservbyX:
26255         (readdservbyport): Likewise.
26256         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26257         (addhstbyX): Return value returned by cache_addhst.
26258         (readdhstbyname): Return value returned by addhstbyX.
26259         (readdhstbyaddr): Likewise.
26260         (readdhstbynamev6): Likewise.
26261         (readdhstbyaddrv6): Likewise.
26262         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26263         (readdinitgroups): Return value returned by addinitgroupsX.
26264         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26265         (prune_cache): Keep track of timeout value of re-added entries.
26266         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26267         * nscd/nscd.h: Adjust prototypes of readd* functions.
26268
26269 2011-02-04  Roland McGrath  <roland@redhat.com>
26270
26271         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26272         (nis_stats): Likewise.
26273         * nis/nis_modify.c (nis_modify): Likewise.
26274         * nis/nis_remove.c (nis_remove): Likewise.
26275         * nis/nis_add.c (nis_add): Likewise.
26276
26277         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26278
26279         * posix/fnmatch_loop.c: Add some consts.
26280
26281         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26282
26283 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26284
26285         [BZ #12460]
26286         * config.make.in (config-cflags-novzeroupper): Define.
26287         * configure.in: Substitute libc_cv_cc_novzeroupper.
26288         * elf/Makefile (AVX-CFLAGS): Define.
26289         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26290         (CFLAGS-tst-auditmod4a.c): Likewise.
26291         (CFLAGS-tst-auditmod4b.c): Likewise.
26292         (CFLAGS-tst-auditmod6b.c): Likewise.
26293         (CFLAGS-tst-auditmod6c.c): Likewise.
26294         (CFLAGS-tst-auditmod7b.c): Likewise.
26295         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26296
26297 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26298
26299         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26300         function to the callback.
26301         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26302
26303 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26304
26305         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26306         of errno.
26307
26308 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26309
26310         [BZ #11724]
26311         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26312         of constructors.
26313         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26314         of destructors.
26315         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26316
26317         [BZ #11724]
26318         * elf/Makefile: Add rules to build and run new test.
26319         * elf/tst-initorder.c: New file.
26320         * elf/tst-initorder.exp: New file.
26321         * elf/tst-initordera1.c: New file.
26322         * elf/tst-initordera2.c: New file.
26323         * elf/tst-initordera3.c: New file.
26324         * elf/tst-initordera4.c: New file.
26325         * elf/tst-initorderb1.c: New file.
26326         * elf/tst-initorderb2.c: New file.
26327         * elf/tst-order-a1.c: New file.
26328         * elf/tst-order-a2.c: New file.
26329         * elf/tst-order-a3.c: New file.
26330         * elf/tst-order-a4.c: New file.
26331         * elf/tst-order-b1.c: New file.
26332         * elf/tst-order-b2.c: New file.
26333         * elf/tst-order-main.c: New file.
26334         New test case by George Gensure <werkt0@gmail.com>.
26335
26336 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26337
26338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26339         decoding ACE if AI_CANONIDN.
26340
26341 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26342
26343         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26344
26345 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26346
26347         * version.h (RELEASE): Bump for 2.13 release.
26348         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26349
26350         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26351
26352         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26353         MADV_NOHUGEPAGE.
26354         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26355         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26356         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26357         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26358         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26359         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26360
26361         * posix/getconf.c: Update copyright year.
26362         * catgets/gencat.c: Likewise.
26363         * csu/version.c: Likewise.
26364         * debug/catchsegv.sh: Likewise.
26365         * debug/xtrace.sh: Likewise.
26366         * elf/ldconfig.c: Likewise.
26367         * elf/ldd.bash.in: Likewise.
26368         * elf/sprof.c (print_version): Likewise.
26369         * iconv/iconv_prog.c: Likewise.
26370         * iconv/iconvconfig.c: Likewise.
26371         * locale/programs/locale.c: Likewise.
26372         * locale/programs/localedef.c: Likewise.
26373         * malloc/memusage.sh: Likewise.
26374         * malloc/mtrace.pl: Likewise.
26375         * nscd/nscd.c (print_version): Likewise.
26376         * nss/getent.c: Likewise.
26377
26378         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26379         PF_CAIF, and PF_ALG.
26380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26381
26382 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26383
26384         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26385         (modules-names): Use them.
26386         (ifunc-test-modules, ifunc-pie-tests): Define.
26387         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26388         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26389         (test-extras): Likewise.
26390         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26391         $(compile-command.c).
26392         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26393         (all-built-dso): Define.
26394         (check-textrel.out, check-execstack.out): Depend on it.
26395
26396         * configure.in: Don't override --enable-multi-arch.
26397
26398 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26399
26400         [BZ #6812]
26401         * nscd/hstcache.c (tryagain): Define.
26402         (cache_addhst): Return tryagain not notfound for temporary errors.
26403         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26404         failed.
26405
26406 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26407
26408         [BZ #10563]
26409         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26410         to make the syscall.
26411         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26412
26413         [BZ #12378]
26414         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26415         and fall back to matching as normal character if the string ends before
26416         the matching ']' is found.  This is what POSIX requires.
26417         * posix/testfnm.c: Adjust test result.
26418         * posix/globtest.sh: Adjust test result.  Add new test.
26419         * posix/tst-fnmatch.input: Likewise.
26420         * posix/tst-fnmatch2.c: Add new test.
26421
26422 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26423
26424         * elf/Makefile (check-execstack): Revert last change.  Depend on
26425         check-execstack.h.
26426         (check-execstack.h): New target.
26427         (generated): Add check-execstack.h.
26428         * elf/check-execstack.c: Include "check-execstack.h".
26429         (main): Revert last change.
26430         (handle_file): Return zero if GNU_STACK is absent and
26431         DEFAULT_STACK_PERMS doesn't include PF_X.
26432
26433 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26434
26435         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26436         in child fails because the descriptor is already closed.
26437         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26438         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26439         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26440
26441         [BZ #12397]
26442         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26443         syscall.
26444
26445         [BZ #10484]
26446         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26447         temporary buffer used to handle multi lookups locally.
26448         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26449
26450 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26451
26452         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26453         loader is ld.so.
26454
26455 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26456
26457         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26458         alignment for SSE2.
26459
26460 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26461
26462         [BZ #12394]
26463         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26464         characters.  When rounding increased number of integer digits recompute
26465         number of groups.
26466         * stdio-common/tst-grouping.c: New file.
26467         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26468
26469 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26470
26471         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26472         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26473
26474         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26475         void.
26476         * bits/select.h: Likewise.
26477
26478 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26479
26480         * po/ja.po: Update from translation team.
26481
26482 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26483
26484         [BZ #11155]
26485         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26486         implementation just like for lxstat, fxstatat, et al.
26487
26488 2010-12-27  Jim Meyering  <meyering@redhat.com>
26489
26490         [BZ #12348]
26491         * posix/regexec.c (build_trtable): Return failure indication upon
26492         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26493
26494 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26495
26496         [BZ #12201]
26497         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26498         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26499         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26500         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26501
26502         [BZ #12207]
26503         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26504
26505         [BZ #12204]
26506         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26507         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26508
26509 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26510
26511         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26512         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26513         script has SORT_BY_INIT_PRIORITY.
26514         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26515         NO_CTORS_DTORS_SECTIONS is defined.
26516         * elf/soinit.c: Likewise.
26517         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26518         NO_CTORS_DTORS_SECTIONS is defined.
26519         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26520         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26521         * sysdeps/sh/init-first.c: Likewise.
26522         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26523
26524 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26525
26526         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26527         always use the slow path.
26528
26529 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26530
26531         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26532         similar rule which adds the sysdep directories to the header search in
26533         order to pick up the correct platform stackinfo.h.
26534         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26535         perform test if it is, otherwise return successfully without testing.
26536         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26537         DEFAULT_STACK_PERMS define in stackinfo.h.
26538         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26539         defined in stackinfo.h.
26540         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26541         DEFAULT_STACK_PERMS defined in stackinfo.h.
26542         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26543         * sysdeps/ia64/stackinfo.h: Likewise.
26544         * sysdeps/s390/stackinfo.h: Likewise.
26545         * sysdeps/sh/stackinfo.h: Likewise.
26546         * sysdeps/sparc/stackinfo.h: Likewise.
26547         * sysdeps/x86_64/stackinfo.h: Likewise.
26548         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26549         PF_X for powerpc64.  Retain PF_X for powerpc32.
26550
26551 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26552
26553         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26554         accurately.
26555         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26556         GETDENTS_64BIT_ALIGNED.
26557
26558 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26559
26560         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26561
26562 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26563
26564         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26565         _GNU_SOURCE.
26566
26567         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26568         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26569         Remove __restrict.
26570         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26571         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26572
26573 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26574
26575         [BZ #11655]
26576         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26577         are initialized.
26578
26579 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26580
26581         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26582
26583 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26584
26585         * po/it.po: Update from translation team.
26586
26587 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26588
26589         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26590         unused codes.
26591
26592 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26593
26594         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26595
26596 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26597
26598         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26599         specially.
26600         (gaih_getanswer_slice): Likewise.
26601
26602 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26603
26604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26605
26606 2010-05-31  Petr Baudis  <pasky@suse.cz>
26607
26608         [BZ #11149]
26609         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26610         silently even in the chroot mode.
26611
26612 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26613
26614         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26615         last patch a bit.  Pretty printing
26616
26617 2010-05-31  Petr Baudis <pasky@suse.cz>
26618
26619         [BZ #10085]
26620         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26621         initialization of skip_initgroups_dyn.
26622
26623 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26624
26625         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26626         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26627
26628 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26629
26630         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26631
26632 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26633
26634         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26635         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26636         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26637         ($(objpfx)tst-fnmatch-mem): New rule.
26638         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26639         * posix/tst-fnmatch.c (main): Call mtrace.
26640
26641 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26642
26643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26644         Support Intel processor model 6 and model 0x2c.
26645
26646 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26647
26648         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26649           signed comparison.
26650
26651 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26652
26653         [BZ #12205]
26654         * string/test-strncasecmp.c (check_result): New function.
26655         (do_one_test): Use it.
26656         (check1): New function.
26657         (test_main): Use it.
26658         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26659         Support strcasecmp and strncasecmp.
26660
26661 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26662
26663         [BZ #12194]
26664         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26665         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26666
26667 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26668
26669         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26670         IFUNC support.
26671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26672         memset-x86-64.
26673         * sysdeps/x86_64/multiarch/bzero.S: New file.
26674         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26675         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26676         * sysdeps/x86_64/multiarch/memset.S: New file.
26677         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26679         Set bit_Prefer_SSE_for_memop for Intel processors.
26680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26681         Define.
26682         (index_Prefer_SSE_for_memop): Define.
26683         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26684
26685 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26686
26687         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26688         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26689
26690 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26691
26692         [BZ #12191]
26693         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26694         (__x86_64_raw_data_cache_size_half): Likewise.
26695         (__x86_64_raw_shared_cache_size): Likewise.
26696         (__x86_64_raw_shared_cache_size_half): Likewise.
26697
26698         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26699         (__x86_64_raw_data_cache_size_half): Likewise.
26700         (__x86_64_raw_shared_cache_size): Likewise.
26701         (__x86_64_raw_shared_cache_size_half): Likewise.
26702         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26703         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26704         and __x86_64_raw_shared_cache_size_half.  Round
26705         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26706         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26707         to multiple of 256 bytes.
26708
26709 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26710
26711         [BZ #12167]
26712         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26713         of inacessible symlinks.  Verify result of symlink before returning it.
26714         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26715         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26716
26717 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26718
26719         * math/math.h (isinf): Fix typo in comment.
26720
26721 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26722
26723         * po/da.po: Update from translation team.
26724
26725 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26726
26727         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26728         is added to the list.
26729
26730 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26731             Ulrich Drepper  <drepper@gmail.com>
26732
26733         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26734         the global list here.  Move code to...
26735         (_dl_add_to_namespace_list): ...here.  New function.
26736         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26737         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26738         * elf/dl-load.c (lose): Don't remove the element from the list.
26739         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26740         (_dl_map_object): Likewise.
26741
26742 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26743
26744         [BZ #12159]
26745         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26746         into all bytes of SSE register.
26747         Patch by Richard Li <richardpku@gmail.com>.
26748
26749 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26750
26751         [BZ #12140]
26752         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26753         perturbing.
26754
26755 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26756
26757         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26758         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26759         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26760         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26762         submachine.
26763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26764
26765 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26766
26767         * include/dlfcn.h (__RTLD_SECURE): Define.
26768         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26769         mode & __RTLD_SECURE instead.
26770         (open_path): Rename preloaded parameter to secure.
26771         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26772         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26773         * elf/dl-deps.c (openaux): Likewise.
26774         * elf/rtld.c (struct map_args): Remove is_preloaded.
26775         (map_doit): Don't use it.
26776         (dl_main): Likewise.
26777         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26778         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26779
26780 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26781
26782         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26783         (sysd-rules-targets): Remove duplicates.
26784         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26785         rtld-%.$o dependency.
26786
26787 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26788
26789         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26790         _dl_map_object do it.
26791
26792 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26793
26794         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26795         fast fma builtins, define the macros in the C99 standard.
26796         (FP_FAST_FMAF): Likewise.
26797         (FP_FAST_FMAL): Likewise.
26798         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26799
26800         * bits/mathdef.h: Update copyright year.
26801         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26802
26803 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26804
26805         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26806         builtins, define the macros in the C99 standard.
26807         (FP_FAST_FMAF): Likewise.
26808         (FP_FAST_FMAL): Likewise.
26809         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26810         multiply/add.
26811         (FP_FAST_FMAF): Likewise.
26812
26813 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26814
26815         [BZ #3268]
26816         * math/libm-test.inc (fma_test): Some new testcases.
26817         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26818         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26819         y and infinite z.  Do multiplication by C already in long double.
26820         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26822         y and infinite z.  Do bitwise or of inexact bit into u.d.
26823         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26824         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26825         * sysdeps/i386/fpu/s_fma.S: Removed.
26826         * sysdeps/i386/fpu/s_fmal.S: Removed.
26827
26828 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26829
26830         [BZ #3268]
26831         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26833         computation is not scheduled after fetestexcept.  Fix value
26834         of minimum denormal long double.
26835
26836 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26837
26838         [BZ #3268]
26839         * math/libm-test.inc (fma_test): Add some more tests.
26840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26841         correctly.
26842
26843 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26844
26845         * scripts/data/localplt-s390-linux-gnu.data: New file.
26846         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26847
26848 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26849
26850         [BZ #3268]
26851         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26852         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26853         instead of dbl-64.
26854         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26855         inlines.
26856         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26858         if one of x and y is very large and the other is subnormal.
26859         * sysdeps/s390/fpu/s_fmaf.c: New file.
26860         * sysdeps/s390/fpu/s_fma.c: New file.
26861         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26862         * sysdeps/powerpc/fpu/s_fma.S: New file.
26863         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26864         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26865         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26866
26867 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26868
26869         [BZ #3268]
26870         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26871         fma tests.
26872         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26873         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26874         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26875         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26876         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26877         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26878         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26879
26880 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26881
26882         [BZ #12078]
26883         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26884         * posix/bug-regex31.input: Add test case.
26885
26886 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26887
26888         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26889         * posix/bug-regex31.input: New file.
26890
26891         [BZ #12078]
26892         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26893         (parse_sub_exp): Fix last change, use postorder.
26894
26895         * posix/bug-regex31.c: New file.
26896         * posix/Makefile: Add rules to build and run bug-regex31.
26897
26898         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26899
26900         [BZ #12078]
26901         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26902
26903         [BZ #12108]
26904         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26905         to have entries in sys_siglist.
26906
26907         [BZ #12093]
26908         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26909         be NULL.
26910
26911 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26912
26913         [BZ #3268]
26914         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26915         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26916         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26917         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26918         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26919         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26920         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26921         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26922         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26923         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26924         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26925         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26926         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26927         * math/ftestexcept.c (fetestexcept): Likewise.
26928         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26929         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26930         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26931         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26932         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26933         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26934         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26935
26936 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26937
26938         [BZ #12107]
26939         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26940         newline.
26941
26942 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26943
26944         * string/bug-strstr1.c: New file.
26945         * string/Makefile: Add rules to build and run bug-strstr1.
26946
26947 2010-10-05  Eric Blake  <eblake@redhat.com>
26948
26949         [BZ #12092]
26950         * string/str-two-way.h (two_way_long_needle): Always clear memory
26951         when skipping input due to the shift table.
26952
26953 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26954
26955         [BZ #12005]
26956         * malloc/mcheck.c: Handle large requests.
26957
26958         [BZ #12077]
26959         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26960         for strncmp and strncasecmp.
26961         * string/stratcliff.c: Add tests for strcmp and strncmp.
26962         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26963
26964 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26965
26966         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26967         __set_fpscr.
26968
26969 2010-09-30  Andreas Jaeger  <aj@suse.de>
26970
26971         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26972         (CGROUP_SUPER_MAGIC): Define.
26973         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26974         Handle btrfs and cgroup file systems.
26975         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26976         Likewise.
26977
26978 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26979
26980         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26981         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26982
26983 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26984
26985         [BZ #12067]
26986         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26987         trying to locate the ELF header.
26988
26989 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26990
26991         [BZ #11611]
26992         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26993         Mask out sign-bit copies when constructing f_fsid.
26994
26995 2010-09-24  Petr Baudis <pasky@suse.cz>
26996
26997         * debug/stack_chk_fail_local.c: Add missing licence exception.
26998         * debug/warning-nop.c: Likewise.
26999
27000 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27001
27002         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27003         implementing getdents64 using getdents syscall, set d_type if
27004         __ASSUME_GETDENTS32_D_TYPE.
27005
27006 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27007
27008         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27009         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27010
27011 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27012
27013         [BZ #12037]
27014         * posix/unistd.h: Undo change of feature selection for ftruncate from
27015         2010-01-11.
27016
27017 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27018
27019         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27020         detection.
27021
27022 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27023
27024         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27025         fanotify_mark.
27026         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27027
27028 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27029
27030         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27031         variables after CHECK_SP call.
27032         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27033
27034 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27035             Ulrich Drepper  <drepper@redhat.com>
27036
27037         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27038         re-relocationg ld.so.
27039         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27040         _dl_init_paths call.
27041         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27042         here anymore.
27043
27044 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27045
27046         * resolv/res_init.c (__res_vinit): Count the default server we added.
27047
27048 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27049             Ulrich Drepper  <drepper@redhat.com>
27050
27051         [BZ #11968]
27052         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27053         (____longjmp_chk): Use %ebx for saving value across system call.
27054         Add unwind info.
27055
27056 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27057
27058         * manual/Makefile: Don't mix pattern rules with normal rules.
27059
27060 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27061
27062         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27063         operation.
27064         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27065         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27066         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27067         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27068         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27069         Likewise.
27070
27071 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27072
27073         [BZ #11979]
27074         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27075         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27076
27077 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27078
27079         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27080         * sysdeps/x86_64/addmul_1.S: Likewise.
27081         * sysdeps/x86_64/lshift.S: Likewise.
27082         * sysdeps/x86_64/mul_1.S: Likewise.
27083         * sysdeps/x86_64/rshift.S: Likewise.
27084         * sysdeps/x86_64/sub_n.S: Likewise.
27085         * sysdeps/x86_64/submul_1.S: Likewise.
27086
27087 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27088
27089         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27090         Define __sched_param instead of SCHED_* and sched_param when
27091         <bits/sched.h> is included with __need_schedparam defined.
27092         * bits/sched.h [__need_schedparam]
27093         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27094         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27095         (__defined_schedparam): Define to 1.
27096         (__sched_param): New structure, identical to sched_param.
27097         (__need_schedparam): Undefine.
27098
27099 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27100
27101         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27102         (epoll_create1): Declare.
27103
27104         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27105
27106 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27107
27108         [BZ #7066]
27109         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27110         shifting retval into place.
27111
27112 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27113
27114         * nis/rpcsvc/nis.h: Update copyright notice.
27115         * nis/rpcsvc/nis.x: Likewise.
27116         * nis/rpcsvc/nis_callback.h: Likewise.
27117         * nis/rpcsvc/nis_callback.x: Likewise.
27118         * nis/rpcsvc/nis_object.x: Likewise.
27119         * nis/rpcsvc/nis_tags.h: Likewise.
27120         * nis/rpcsvc/yp.h: Likewise.
27121         * nis/rpcsvc/yp.x: Likewise.
27122         * nis/rpcsvc/ypupd.h: Likewise.
27123         * nis/yp_xdr.c: Likewise.
27124         * nis/ypupdate_xdr.c: Likewise.
27125
27126         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27127         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27128         (pmap_getport): Use __libc_rpc_getport.
27129         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27130         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27131         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27132
27133 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27134
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27136         fanotify_mark.
27137
27138 2010-08-27  Roland McGrath  <roland@redhat.com>
27139
27140         * sysdeps/i386/i686/multiarch/Makefile
27141         (CFLAGS-varshift.c): New variable.
27142
27143 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27144
27145         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27146         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27147
27148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27149
27150         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27151
27152 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27153
27154         * sysdeps/x86_64/strlen.S: Unroll the loop.
27155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27156         strlen-sse2 strlen-sse2-bsf.
27157         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27158         __strlen_no_bsf if bit_Slow_BSF is set.
27159         (__strlen_sse42): Removed.
27160         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27161         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27162
27163 2010-08-25  Roland McGrath  <roland@redhat.com>
27164
27165         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27166         * sysdeps/x86_64/multiarch/varshift.c: New file.
27167         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27168         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27169         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27170         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27171
27172 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27173
27174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27175         strlen-sse2 strlen-sse2-bsf.
27176         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27177         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27178         (__strlen_sse2): Removed.
27179         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27180         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27182         bit_Slow_BSF for Atom.
27183         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27184         (index_Slow_BSF): Define.
27185         (HAS_SLOW_BSF): Define.
27186
27187 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27188
27189         [BZ #10851]
27190         * resolv/res_init.c (__res_vinit): When no server address at all
27191         is given default to loopback.
27192
27193 2010-08-24  Roland McGrath  <roland@redhat.com>
27194
27195         * configure.in: Remove config-name.h generation.
27196         * configure: Regenerated.
27197         * config-name.in: File removed.
27198         * scripts/config-uname.sh: New file.
27199         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27200         ($(objdir)config-name.h): New target.
27201
27202         * sunrpc/rpc_parse.h: Avoid nested comment.
27203
27204 2010-08-24  Richard Henderson  <rth@redhat.com>
27205             Ulrich Drepper  <drepper@redhat.com>
27206             H.J. Lu  <hongjiu.lu@intel.com>
27207
27208         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27210         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27211         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27212         _mm_alignr_epi8 with _mm_loadu_si128.
27213         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27214         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27215         (__m128i_shift_right): Removed.
27216         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27217         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27218         * sysdeps/x86_64/multiarch/varshift.h: New file.
27219         * sysdeps/x86_64/multiarch/varshift.S: New file.
27220
27221 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27222
27223         * configure.in: Move assembler checks to before sysdep dir checking.
27224
27225 2010-08-20  Petr Baudis  <pasky@suse.cz>
27226
27227         * LICENSES: Sync the sunrpc license.
27228
27229 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27230
27231         * sunrpc/auth_des.c: Update copyright notice once again.
27232         * sunrpc/auth_none.c: Likewise.
27233         * sunrpc/auth_unix.c: Likewise.
27234         * sunrpc/authdes_prot.c: Likewise.
27235         * sunrpc/authuxprot.c: Likewise.
27236         * sunrpc/bindrsvprt.c: Likewise.
27237         * sunrpc/clnt_gen.c: Likewise.
27238         * sunrpc/clnt_perr.c: Likewise.
27239         * sunrpc/clnt_raw.c: Likewise.
27240         * sunrpc/clnt_simp.c: Likewise.
27241         * sunrpc/clnt_tcp.c: Likewise.
27242         * sunrpc/clnt_udp.c: Likewise.
27243         * sunrpc/clnt_unix.c: Likewise.
27244         * sunrpc/des_crypt.c: Likewise.
27245         * sunrpc/des_soft.c: Likewise.
27246         * sunrpc/get_myaddr.c: Likewise.
27247         * sunrpc/getrpcport.c: Likewise.
27248         * sunrpc/key_call.c: Likewise.
27249         * sunrpc/key_prot.c: Likewise.
27250         * sunrpc/openchild.c: Likewise.
27251         * sunrpc/pm_getmaps.c: Likewise.
27252         * sunrpc/pm_getport.c: Likewise.
27253         * sunrpc/pmap_clnt.c: Likewise.
27254         * sunrpc/pmap_prot.c: Likewise.
27255         * sunrpc/pmap_prot2.c: Likewise.
27256         * sunrpc/pmap_rmt.c: Likewise.
27257         * sunrpc/rpc/auth.h: Likewise.
27258         * sunrpc/rpc/auth_unix.h: Likewise.
27259         * sunrpc/rpc/clnt.h: Likewise.
27260         * sunrpc/rpc/des_crypt.h: Likewise.
27261         * sunrpc/rpc/key_prot.h: Likewise.
27262         * sunrpc/rpc/netdb.h: Likewise.
27263         * sunrpc/rpc/pmap_clnt.h: Likewise.
27264         * sunrpc/rpc/pmap_prot.h: Likewise.
27265         * sunrpc/rpc/pmap_rmt.h: Likewise.
27266         * sunrpc/rpc/rpc.h: Likewise.
27267         * sunrpc/rpc/rpc_des.h: Likewise.
27268         * sunrpc/rpc/rpc_msg.h: Likewise.
27269         * sunrpc/rpc/svc.h: Likewise.
27270         * sunrpc/rpc/svc_auth.h: Likewise.
27271         * sunrpc/rpc/types.h: Likewise.
27272         * sunrpc/rpc/xdr.h: Likewise.
27273         * sunrpc/rpc_clntout.c: Likewise.
27274         * sunrpc/rpc_cmsg.c: Likewise.
27275         * sunrpc/rpc_common.c: Likewise.
27276         * sunrpc/rpc_cout.c: Likewise.
27277         * sunrpc/rpc_dtable.c: Likewise.
27278         * sunrpc/rpc_hout.c: Likewise.
27279         * sunrpc/rpc_main.c: Likewise.
27280         * sunrpc/rpc_parse.c: Likewise.
27281         * sunrpc/rpc_parse.h: Likewise.
27282         * sunrpc/rpc_prot.c: Likewise.
27283         * sunrpc/rpc_sample.c: Likewise.
27284         * sunrpc/rpc_scan.c: Likewise.
27285         * sunrpc/rpc_scan.h: Likewise.
27286         * sunrpc/rpc_svcout.c: Likewise.
27287         * sunrpc/rpc_tblout.c: Likewise.
27288         * sunrpc/rpc_util.c: Likewise.
27289         * sunrpc/rpc_util.h: Likewise.
27290         * sunrpc/rpcinfo.c: Likewise.
27291         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27292         * sunrpc/rpcsvc/key_prot.x: Likewise.
27293         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27294         * sunrpc/rpcsvc/mount.x: Likewise.
27295         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27296         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27297         * sunrpc/rpcsvc/rex.x: Likewise.
27298         * sunrpc/rpcsvc/rstat.x: Likewise.
27299         * sunrpc/rpcsvc/rusers.x: Likewise.
27300         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27301         * sunrpc/rpcsvc/spray.x: Likewise.
27302         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27303         * sunrpc/rtime.c: Likewise.
27304         * sunrpc/svc.c: Likewise.
27305         * sunrpc/svc_auth.c: Likewise.
27306         * sunrpc/svc_authux.c: Likewise.
27307         * sunrpc/svc_raw.c: Likewise.
27308         * sunrpc/svc_run.c: Likewise.
27309         * sunrpc/svc_simple.c: Likewise.
27310         * sunrpc/svc_tcp.c: Likewise.
27311         * sunrpc/svc_udp.c: Likewise.
27312         * sunrpc/svc_unix.c: Likewise.
27313         * sunrpc/svcauth_des.c: Likewise.
27314         * sunrpc/xcrypt.c: Likewise.
27315         * sunrpc/xdr.c: Likewise.
27316         * sunrpc/xdr_array.c: Likewise.
27317         * sunrpc/xdr_float.c: Likewise.
27318         * sunrpc/xdr_mem.c: Likewise.
27319         * sunrpc/xdr_rec.c: Likewise.
27320         * sunrpc/xdr_ref.c: Likewise.
27321         * sunrpc/xdr_sizeof.c: Likewise.
27322         * sunrpc/xdr_stdio.c: Likewise.
27323
27324         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27325         handling.
27326
27327 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27328
27329         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27330
27331 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27332
27333         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27334         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27335         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27336         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27337         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27338         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27339         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27340         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27341         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27342         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27343         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27344         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27345         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27346         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27347
27348 2010-07-26  Anton Blanchard  <anton@samba.org>
27349
27350         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27351         * malloc/arena.c (heap_trim): Likewise.
27352
27353 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27354
27355         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27356         here.  Not...
27357         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27358         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27359
27360 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27361
27362         * sysdeps/i386/elf/Makefile: New file.
27363
27364 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27365
27366         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27367         from fanotify_init.
27368         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27369         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27370
27371 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27372
27373         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27374         of strncasecmp_l.
27375         * sysdeps/multiarch/strcmp.S: Likewise.
27376
27377 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27378
27379         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27380         strncase_l-nonascii.
27381         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27382         Add strncase_l-ssse3.
27383         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27384         * sysdeps/x86_64/strcmp.S: Likewise.
27385         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27386         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27387         * sysdeps/x86_64/strncase.S: New file.
27388         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27389         * sysdeps/x86_64/strncase_l.S: New file.
27390         * string/Makefile (strop-tests): Add strncasecmp.
27391         * string/test-strncasecmp.c: New file.
27392
27393         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27394         warning.
27395
27396         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27397         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27398
27399 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27400
27401         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27402
27403 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27404
27405         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27406         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27407         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27408
27409 2010-05-01  Alan Modra  <amodra@gmail.com>
27410
27411         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27412         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27413         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27414         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27415         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27416         tidying.  Don't tail-call __sigjmp_save for static lib.
27417         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27418         save location.
27419         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27420         (CALL_MCOUNT): Add eh info, and nop after bl.
27421         (TAIL_CALL_SYSCALL_ERROR): New macro.
27422         (PSEUDO_RET): Use it.
27423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27424         Correct save location of integer regs and cr.
27425         (_dl_profile_resolve): Correct cr save location.  Delete nops
27426         after bl when SHARED.  Reduce cfi size a little by better
27427         placement of cfi directives.
27428         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27429         make a stack frame.  Instead use parm save area as a temp.
27430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27431         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27433         Don't make a stack frame for parent, use parm save area.
27434         Increase child stack frame to 112 bytes.  Don't save unused reg,
27435         and adjust reg usage.  Set up cfi on error recovery and
27436         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27438         (__makecontext): Add dummy nop after jump to exit.
27439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27440         Use correct parm save area and cr save, reduce stack frame.
27441         Correct cfi for possible PSEUDO_RET frame setup.
27442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27443         Branch to local label emitted by PSEUDO_RET rather than
27444         __syscall_error.
27445
27446 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27447
27448         [BZ #11904]
27449         * locale/programs/locale.c (print_assignment): New function.
27450         (show_locale_vars): Use it.
27451
27452 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27453
27454         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27455         field.
27456         (struct statfs64): Likewise.
27457         (_STATFS_F_FLAGS): Define.
27458         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27459         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27460         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27461         (ST_VALID): Define locally.
27462         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27463         __statvfs_getflags, use the provided value.
27464         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27465         __ASSUME_STATFS_F_FLAGS.
27466
27467         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27468
27469         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27470         Add sys/fanotify.h.
27471         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27472         fanotify_mask for GLIBC_2.13.
27473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27474         fanotify_init and fanotify_mark.
27475         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27476         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27477
27478         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27479         Add prlimit.
27480         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27481         prlimit64 for GLIBC_2.13.
27482         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27483         prlimit64.
27484         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27485         syscall.
27486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27488         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27489         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27490         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27491         add prlimit alias.
27492         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27493
27494         [BZ #11903]
27495         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27496         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27497
27498         * nss/Makefile: Add rules to build and run tst-nss-test1.
27499         * shlib-versions: Add entry for libnss_test1.
27500         * nss/nss_test1.c: New file.
27501         * nss/tst-nss-test1.c: New file.
27502
27503         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27504         (__nss_configure_lookup): Set appropriate entry in
27505         __nss_configure_lookup to true.
27506         * nss/nsswitch.h: Define enum with indeces of databases in
27507         databases and __nss_database_custom arrays.  Declare
27508         __nss_database_custom.
27509         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27510         to avoid using nscd when custom rules are installed.
27511         * nss/getXXbyYY_r.c: Likewise.
27512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27513
27514         * nss/nss_files/files-parse.c: Whitespace fixes.
27515
27516 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27517
27518         [BZ #11883]
27519         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27520         * posix/fnmatch_loop.c: Likewise.
27521
27522 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27523
27524         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27525         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27526         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27527         * Versions.def [GLIBC_2.13]: Add.
27528
27529 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27530
27531         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27532         Also fail if tpwd after pwuid call is NULL.
27533
27534 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27535
27536         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27537         when converting to ms.
27538
27539 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27540
27541         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27542         EOPNOTSUPP errors with ENOTTY.
27543         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27544         EOPNOTSUPP errors with ENOTTY.
27545
27546 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27547
27548         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27549         Add strcasecmp_l-ssse3.
27550         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27551         strcasecmp.
27552         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27553         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27554         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27555
27556 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27557
27558         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27559
27560         * string/Makefile (strop-tests): Add strcasecmp.
27561         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27562         strcasecmp_l-nonascii.
27563         (gen-as-const-headers): Add locale-defines.sym.
27564         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27565         * sysdeps/x86_64/strcasecmp.S: New file.
27566         * sysdeps/x86_64/strcasecmp_l.S: New file.
27567         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27568         * sysdeps/x86_64/locale-defines.sym: New file.
27569         * string/test-strcasecmp.c: New file.
27570
27571         * string/test-strcasestr.c: Test both ends of the range of characters.
27572         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27573
27574 2010-07-29  Roland McGrath  <roland@redhat.com>
27575
27576         [BZ #11856]
27577         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27578
27579 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27580
27581         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27582         for ld.so.
27583
27584 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27585
27586         * manual/memory.texi (Malloc Tunable Parameters): Document
27587         M_PERTURB.
27588
27589 2010-07-26  Roland McGrath  <roland@redhat.com>
27590
27591         [BZ #11840]
27592         * configure.in (-fgnu89-inline check): Set and substitute
27593         gnu89_inline, not libc_cv_gnu89_inline.
27594         * configure: Regenerated.
27595         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27596
27597 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27598
27599         * string/test-strnlen.c: New file.
27600         * string/Makefile (strop-tests): Add strnlen.
27601         * string/tester.c (test_strnlen): Add a few more test cases.
27602         * string/tst-strlen.c: Better error reporting.
27603
27604         * sysdeps/x86_64/strnlen.S: New file.
27605
27606 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27607
27608         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27609         lower-latency instructions.
27610
27611 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27612
27613         * string/test-strcasestr.c: New file.
27614         * string/test-strstr.c: New file.
27615         * string/Makefile (strop-tests): Add strstr and strcasestr.
27616         * string/str-two-way.h: Don't undefine MAX.
27617         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27618
27619 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27620
27621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27622         strcasestr-nonascii.
27623         (CFLAGS-strcasestr-nonascii.c): Define.
27624         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27625         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27626         Remove unused attribute.
27627
27628 2010-07-20  Roland McGrath  <roland@redhat.com>
27629
27630         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27631         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27632         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27633         like LD_HWCAP_MASK can disable hwcaps.
27634
27635 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27636
27637         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27638
27639 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27640
27641         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27642         call in strcasestr.
27643         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27644         __strcasestr_sse42_nonascii.
27645         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27646         strcasestr-nonascii.c.
27647         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27648
27649 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27650
27651         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27652         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27653         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27654         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27655
27656 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27657
27658         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27659         fcntl.
27660
27661 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27662
27663         [BZ #11577]
27664         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27665         dl_signal_cerror.
27666
27667 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27668
27669         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27670         _PC_PIPE_BUF using F_GETPIPE_SZ.
27671
27672 2010-07-05  Roland McGrath  <roland@redhat.com>
27673
27674         * manual/arith.texi (Rounding Functions): Fix rint description
27675         implicit in round description.
27676
27677 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27678
27679         * elf/Makefile: Fix linking for a few tests to make recent linker
27680         happy.
27681
27682 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27683
27684         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27685         $(common-objpfx)libc_nonshared.a.
27686
27687 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27688
27689         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27690         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27691         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27692         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27693         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27694         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27695         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27696         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27711         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27712         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27713         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27714         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27715         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27716         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27717         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27718         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27719         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27720         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27721         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27722         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27737
27738 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27739
27740         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27741         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27742         * string/memmove.c (memmove): Renamed to ...
27743         (MEMMOVE): ...this.  Default to memmove.
27744         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27745         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27746         (END_CHK): Define.
27747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27748         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27749         mempcpy-ssse3-back memmove-ssse3-back.
27750         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27751         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27752         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27753         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27754         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27755         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27756         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27757         * sysdeps/x86_64/multiarch/memmove.c: New file.
27758         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27759         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27760         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27761         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27762         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27763         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27764         Define.
27765         (index_Fast_Copy_Backward): Define.
27766         (HAS_ARCH_FEATURE): Define.
27767         (HAS_FAST_REP_STRING): Define.
27768         (HAS_FAST_COPY_BACKWARD): Define.
27769
27770 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27771
27772         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27773         Restore proper fallback handling.
27774
27775 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27776
27777         [BZ #11701]
27778         * posix/group_member.c (__group_member): Correct checking loop.
27779
27780         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27781         OOM in getpwuid_r correctly.  Return error number when the caller
27782         should return, otherwise -1.
27783         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27784         call returning > 0 value.
27785         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27786
27787 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27788
27789         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27790         libc_nonshared.a from targets in modules-names.
27791
27792 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27793
27794         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27795         requires it.
27796
27797 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27798
27799         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27800         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27801         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27802         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27803
27804 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27805
27806         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27807
27808 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27809
27810         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27811         and F_GETPIPE_SZ.
27812         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27813         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27816         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27817         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27818
27819 2010-06-14  Roland McGrath  <roland@redhat.com>
27820
27821         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27822
27823 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27824
27825         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27826         __REDIRECT followed by __THROW.
27827         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27828         * posix/getopt.h (getopt): Likewise.
27829
27830 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27831
27832         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27833         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27834         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27835         in AT_FLAGS.
27836         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27837         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27838
27839 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27840
27841         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27842
27843 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27844
27845         [BZ #11640]
27846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27847         Properly check family and model.
27848
27849 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27850
27851         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27852
27853 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27854
27855         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27856
27857 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27858
27859         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27860         symbol reference.
27861
27862 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27863
27864         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27865         symbol reference.
27866
27867 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27868
27869         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27870         and internal_recvmmsg.
27871         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27872         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27873         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27874         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27875
27876         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27877         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27878         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27879
27880 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27881
27882         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27883
27884 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27885
27886         POWER7 optimizations.
27887         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27888         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27889
27890 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27891
27892         * version.h: Update for 2.13 development version.
27893
27894 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27895
27896         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27897         exceptions.  Return 0.
27898
27899 2010-05-07  Roland McGrath  <roland@redhat.com>
27900
27901         * elf/ldconfig.c (main): Add a const.
27902
27903 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27904
27905         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27906         (args_options): Add no-idn option.
27907         (ahosts_keys_int): Add idn_flags to ai_flags.
27908         (parse_option): Handle 'i' option to clear idn_flags.
27909
27910         * malloc/malloc.c (_int_free): Possible race in the most recently
27911         added check.  Only act on the data if no current modification
27912         happened.
27913
27914 See ChangeLog.17 for earlier changes.